
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

_Bool show_mchanger_diag_data_page(uint8_t *resp,int len,opts_t *op)

{
  int iVar1;
  char cVar2;
  ushort uVar3;
  int iVar4;
  uint uVar5;
  undefined4 uVar6;
  char *pcVar7;
  int extraout_ECX;
  int extraout_ECX_00;
  int extraout_ECX_01;
  byte bVar8;
  int iVar9;
  ushort *puVar10;
  uint uVar11;
  ushort *puVar12;
  int in_GS_OFFSET;
  char b [80];
  char str [128];
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if ((op->verbose != 0) || ((op->do_raw == false && (op->do_hex == 0)))) {
    puts("Media changer diagnostics data page (smc-3) [0x16]");
  }
  puVar10 = (ushort *)(resp + 4);
  iVar4 = len + -4;
  do {
    if (iVar4 < 4) {
LAB_000196e0:
      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
        __stack_chk_fail_local();
      }
      return true;
    }
    uVar11 = *(byte *)((int)puVar10 + 3) + 4;
    uVar5 = (uint)(ushort)(*puVar10 << 8 | *puVar10 >> 8);
    if (op->filter_given == false) {
LAB_00019388:
      __printf_chk(1,"  Parameter code: %d\n",uVar5);
      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar10 + 5) >> 0x1f);
      bVar8 = *(byte *)((int)puVar10 + 5) & 0xf;
      uVar6 = sg_get_sense_key_str(bVar8,0x50,b);
      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar8,uVar6);
      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar10[3]);
      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar10 + 7));
      if (((byte)puVar10[3] != 0) || (*(byte *)((int)puVar10 + 7) != 0)) {
        uVar6 = sg_get_asc_ascq_str((byte)puVar10[3],*(byte *)((int)puVar10 + 7),0x50,b);
        __printf_chk(1,"      [%s]\n",uVar6);
      }
      uVar5 = *(uint *)(puVar10 + 4);
      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",
                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);
      uVar5 = *(uint *)(puVar10 + 6);
      __printf_chk(1,"    Product revision level: %u\n",
                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);
      uVar5 = *(uint *)(puVar10 + 8);
      __printf_chk(1,"    Number of moves: %u\n",
                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);
      uVar5 = *(uint *)(puVar10 + 10);
      __printf_chk(1,"    Number of pick: %u\n",
                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);
      uVar5 = *(uint *)(puVar10 + 0xc);
      __printf_chk(1,"    Number of pick retries: %u\n",
                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);
      uVar5 = *(uint *)(puVar10 + 0xe);
      __printf_chk(1,"    Number of places: %u\n",
                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);
      uVar5 = *(uint *)(puVar10 + 0x10);
      __printf_chk(1,"    Number of place retries: %u\n",
                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);
      uVar5 = *(uint *)(puVar10 + 0x12);
      __printf_chk(1,"    Number of determined volume identifiers: %u\n",
                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);
      uVar5 = *(uint *)(puVar10 + 0x14);
      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",
                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);
      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar10[0x16]);
      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar10 + 0x2d) & 0xf);
      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar10[0x17]);
      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 3 & 1);
      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 2 & 1);
      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 1 & 1);
      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar10 + 0x2f) & 1);
      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar10[0x18] << 8 | puVar10[0x18] >> 8)
      ;
      __printf_chk(1,"    Initial address: 0x%x\n",puVar10[0x19] << 8 | puVar10[0x19] >> 8);
      __printf_chk(1,"    Last successful address: 0x%x\n",puVar10[0x1a] << 8 | puVar10[0x1a] >> 8);
      __printf_chk(1,"    Destination address: 0x%x\n",puVar10[0x1b] << 8 | puVar10[0x1b] >> 8);
      iVar9 = extraout_ECX;
      if (uVar11 < 0x5c) {
LAB_00019330:
        cVar2 = op->do_pcb;
      }
      else {
        puts("    Volume tag information:");
        hex2stdout(puVar10 + 0x1c,0x24,0);
        iVar9 = extraout_ECX_00;
        if (uVar11 < 100) goto LAB_00019330;
        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar10[0x2e] & 0xf);
        puts("    Timestamp:");
        hex2stdout(puVar10 + 0x2f,6,1);
        cVar2 = op->do_pcb;
        iVar9 = extraout_ECX_01;
      }
      if (cVar2 == '\0') {
        cVar2 = op->filter_given;
      }
      else {
        pcVar7 = get_pcb_str((uint)(byte)puVar10[1],str,iVar9);
        __printf_chk(1,&DAT_0002c460,pcVar7);
        cVar2 = op->filter_given;
      }
      if (cVar2 != '\0') goto LAB_000196e0;
    }
    else if (op->filter == uVar5) {
      if (op->do_raw == false) {
        iVar9 = op->do_hex;
        if (iVar9 == 0) goto LAB_00019388;
        if (iVar9 != 1) {
          iVar9 = -1;
        }
        hex2stdout(puVar10,uVar11,iVar9);
      }
      else {
        puVar12 = (ushort *)(uVar11 + (int)puVar10);
        do {
          uVar3 = *puVar10;
          puVar10 = (ushort *)((int)puVar10 + 1);
          putchar((uint)(byte)uVar3);
        } while (puVar12 != puVar10);
      }
      goto LAB_000196e0;
    }
    iVar4 = iVar4 - uVar11;
    puVar10 = (ushort *)((int)puVar10 + uVar11);
  } while( true );
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 FUN_000192b0(int param_1,int param_2,int param_3)

{
  char cVar1;
  ushort uVar2;
  uint uVar3;
  undefined4 uVar4;
  byte bVar5;
  int iVar6;
  ushort *puVar7;
  uint uVar8;
  ushort *puVar9;
  int in_GS_OFFSET;
  undefined1 local_f0 [208];
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x192b9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if ((*(int *)(param_3 + 0x30) != 0) ||
     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))) {
    puts("Media changer diagnostics data page (smc-3) [0x16]");
  }
  puVar7 = (ushort *)(param_1 + 4);
  param_2 = param_2 + -4;
  do {
    if (param_2 < 4) {
LAB_000196e0:
      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
        FUN_00023f50();
      }
      return 1;
    }
    uVar8 = *(byte *)((int)puVar7 + 3) + 4;
    uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);
    if (*(char *)(param_3 + 9) == '\0') {
LAB_00019388:
      __printf_chk(1,"  Parameter code: %d\n",uVar3);
      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);
      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;
      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);
      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);
      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);
      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));
      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {
        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);
        __printf_chk(1,"      [%s]\n",uVar4);
      }
      uVar3 = *(uint *)(puVar7 + 4);
      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",
                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
      uVar3 = *(uint *)(puVar7 + 6);
      __printf_chk(1,"    Product revision level: %u\n",
                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
      uVar3 = *(uint *)(puVar7 + 8);
      __printf_chk(1,"    Number of moves: %u\n",
                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
      uVar3 = *(uint *)(puVar7 + 10);
      __printf_chk(1,"    Number of pick: %u\n",
                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
      uVar3 = *(uint *)(puVar7 + 0xc);
      __printf_chk(1,"    Number of pick retries: %u\n",
                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
      uVar3 = *(uint *)(puVar7 + 0xe);
      __printf_chk(1,"    Number of places: %u\n",
                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
      uVar3 = *(uint *)(puVar7 + 0x10);
      __printf_chk(1,"    Number of place retries: %u\n",
                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
      uVar3 = *(uint *)(puVar7 + 0x12);
      __printf_chk(1,"    Number of determined volume identifiers: %u\n",
                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
      uVar3 = *(uint *)(puVar7 + 0x14);
      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",
                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);
      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);
      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);
      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);
      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);
      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);
      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);
      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);
      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);
      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);
      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);
      if (uVar8 < 0x5c) {
LAB_00019330:
        cVar1 = *(char *)(param_3 + 1);
      }
      else {
        puts("    Volume tag information:");
        hex2stdout(puVar7 + 0x1c,0x24,0);
        if (uVar8 < 100) goto LAB_00019330;
        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);
        puts("    Timestamp:");
        hex2stdout(puVar7 + 0x2f,6,1);
        cVar1 = *(char *)(param_3 + 1);
      }
      if (cVar1 == '\0') {
        cVar1 = *(char *)(param_3 + 9);
      }
      else {
        uVar4 = FUN_00014e80();
        __printf_chk(1,&DAT_0002c460,uVar4);
        cVar1 = *(char *)(param_3 + 9);
      }
      if (cVar1 != '\0') goto LAB_000196e0;
    }
    else if (*(uint *)(param_3 + 0x34) == uVar3) {
      if (*(char *)(param_3 + 3) == '\0') {
        iVar6 = *(int *)(param_3 + 0x20);
        if (iVar6 == 0) goto LAB_00019388;
        if (iVar6 != 1) {
          iVar6 = -1;
        }
        hex2stdout(puVar7,uVar8,iVar6);
      }
      else {
        puVar9 = (ushort *)(uVar8 + (int)puVar7);
        do {
          uVar2 = *puVar7;
          puVar7 = (ushort *)((int)puVar7 + 1);
          putchar((uint)(byte)uVar2);
        } while (puVar9 != puVar7);
      }
      goto LAB_000196e0;
    }
    param_2 = param_2 - uVar8;
    puVar7 = (ushort *)((int)puVar7 + uVar8);
  } while( true );
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013c20
ADD EBX,0x1ec47
SUB ESP,0x10c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0xfc],EAX
XOR EAX,EAX
MOV EBP,dword ptr [ESP + 0x128]
MOV ESI,dword ptr [ESP + 0x120]
MOV EDX,dword ptr [EBP + 0x30]
TEST EDX,EDX
JNZ 0x0001970b
CMP byte ptr [EBP + 0x3],0x0
JZ 0x00019700
MOV EAX,dword ptr [ESP + 0x124]
LEA ECX,[EBX + 0xffff4aa4]
ADD ESI,0x4
MOV dword ptr [ESP + 0x18],ECX
LEA ECX,[EBX + 0xffff4ae9]
SUB EAX,0x4
MOV dword ptr [ESP + 0x1c],ECX
MOV dword ptr [ESP + 0xc],EAX
CMP EAX,0x3
JG 0x00019357
JMP 0x000196e0
CMP byte ptr [EBP + 0x1],0x0
JNZ 0x000196b1
CMP byte ptr [EBP + 0x9],0x0
JNZ 0x000196e0
SUB dword ptr [ESP + 0xc],EDI
MOV EAX,dword ptr [ESP + 0xc]
ADD ESI,EDI
CMP EAX,0x3
JLE 0x000196e0
MOVZX EAX,word ptr [ESI]
MOVZX EDI,byte ptr [ESI + 0x3]
ROL AX,0x8
ADD EDI,0x4
CMP byte ptr [EBP + 0x9],0x0
MOVZX EAX,AX
JZ 0x00019388
CMP dword ptr [EBP + 0x34],EAX
JNZ 0x00019344
CMP byte ptr [EBP + 0x3],0x0
JNZ 0x00019722
MOV EDX,dword ptr [EBP + 0x20]
TEST EDX,EDX
JNZ 0x00019740
SUB ESP,0x4
PUSH EAX
PUSH dword ptr [ESP + 0x20]
PUSH 0x1
CALL 0x00012260
MOVSX EAX,byte ptr [ESI + 0x5]
ADD ESP,0xc
SHR EAX,0x1f
PUSH EAX
PUSH dword ptr [ESP + 0x24]
PUSH 0x1
CALL 0x00012260
ADD ESP,0xc
MOVZX EDX,byte ptr [ESI + 0x5]
LEA ECX,[ESP + 0x30]
PUSH ECX
AND EDX,0xf
MOV dword ptr [ESP + 0x1c],ECX
PUSH 0x50
PUSH EDX
MOV dword ptr [ESP + 0x20],EDX
CALL 0x00012100
PUSH EAX
MOV EDX,dword ptr [ESP + 0x24]
LEA EAX,[EBX + 0xffff4af9]
PUSH EDX
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOVZX EAX,byte ptr [ESI + 0x6]
ADD ESP,0x1c
PUSH EAX
LEA EAX,[EBX + 0xfffef0c0]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOVZX EAX,byte ptr [ESI + 0x7]
ADD ESP,0xc
PUSH EAX
LEA EAX,[EBX + 0xfffef0e4]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOVZX EAX,byte ptr [ESI + 0x6]
ADD ESP,0x10
MOVZX EDX,byte ptr [ESI + 0x7]
MOV ECX,dword ptr [ESP + 0x14]
TEST AL,AL
JNZ 0x00019423
TEST DL,DL
JZ 0x00019442
PUSH ECX
PUSH 0x50
PUSH EDX
PUSH EAX
CALL 0x00012290
ADD ESP,0xc
PUSH EAX
LEA EAX,[EBX + 0xffff47c0]
PUSH EAX
PUSH 0x1
CALL 0x00012260
ADD ESP,0x10
MOV EAX,dword ptr [ESI + 0x8]
SUB ESP,0x4
BSWAP EAX
PUSH EAX
LEA EAX,[EBX + 0xfffef110]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOV EAX,dword ptr [ESI + 0xc]
ADD ESP,0xc
BSWAP EAX
PUSH EAX
LEA EAX,[EBX + 0xfffef13c]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOV EAX,dword ptr [ESI + 0x10]
ADD ESP,0xc
BSWAP EAX
PUSH EAX
LEA EAX,[EBX + 0xffff4ba3]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOV EAX,dword ptr [ESI + 0x14]
ADD ESP,0xc
BSWAP EAX
PUSH EAX
LEA EAX,[EBX + 0xffff4bbc]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOV EAX,dword ptr [ESI + 0x18]
ADD ESP,0xc
BSWAP EAX
PUSH EAX
LEA EAX,[EBX + 0xfffeece8]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOV EAX,dword ptr [ESI + 0x1c]
ADD ESP,0xc
BSWAP EAX
PUSH EAX
LEA EAX,[EBX + 0xffff49c8]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOV EAX,dword ptr [ESI + 0x20]
ADD ESP,0xc
BSWAP EAX
PUSH EAX
LEA EAX,[EBX + 0xfffeecc4]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOV EAX,dword ptr [ESI + 0x24]
ADD ESP,0xc
BSWAP EAX
PUSH EAX
LEA EAX,[EBX + 0xfffeed08]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOV EAX,dword ptr [ESI + 0x28]
ADD ESP,0xc
BSWAP EAX
PUSH EAX
LEA EAX,[EBX + 0xfffeed3c]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOVZX EAX,byte ptr [ESI + 0x2c]
ADD ESP,0xc
PUSH EAX
LEA EAX,[EBX + 0xffff4b13]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOVZX EAX,byte ptr [ESI + 0x2d]
ADD ESP,0xc
AND EAX,0xf
PUSH EAX
LEA EAX,[EBX + 0xffff4b2d]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOVZX EAX,byte ptr [ESI + 0x2e]
ADD ESP,0xc
PUSH EAX
LEA EAX,[EBX + 0xfffef1fc]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOVZX EAX,byte ptr [ESI + 0x2f]
ADD ESP,0xc
SHR AL,0x3
AND EAX,0x1
PUSH EAX
LEA EAX,[EBX + 0xffff4bd4]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOVZX EAX,byte ptr [ESI + 0x2f]
ADD ESP,0xc
SHR AL,0x2
AND EAX,0x1
PUSH EAX
LEA EAX,[EBX + 0xffff4be2]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOVZX EAX,byte ptr [ESI + 0x2f]
ADD ESP,0xc
SHR AL,0x1
AND EAX,0x1
PUSH EAX
LEA EAX,[EBX + 0xffff4bef]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOVZX EAX,byte ptr [ESI + 0x2f]
ADD ESP,0xc
AND EAX,0x1
PUSH EAX
LEA EAX,[EBX + 0xffff4bfd]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOVZX EAX,word ptr [ESI + 0x30]
ADD ESP,0xc
ROL AX,0x8
MOVZX EAX,AX
PUSH EAX
LEA EAX,[EBX + 0xfffef220]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOVZX EAX,word ptr [ESI + 0x32]
ADD ESP,0xc
ROL AX,0x8
MOVZX EAX,AX
PUSH EAX
LEA EAX,[EBX + 0xffff4c0a]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOVZX EAX,word ptr [ESI + 0x34]
ADD ESP,0xc
ROL AX,0x8
MOVZX EAX,AX
PUSH EAX
LEA EAX,[EBX + 0xfffef244]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOVZX EAX,word ptr [ESI + 0x36]
ADD ESP,0xc
ROL AX,0x8
MOVZX EAX,AX
PUSH EAX
LEA EAX,[EBX + 0xfffef268]
PUSH EAX
PUSH 0x1
CALL 0x00012260
ADD ESP,0x10
CMP EDI,0x5b
JLE 0x00019330
SUB ESP,0xc
LEA EAX,[EBX + 0xffff4c25]
PUSH EAX
CALL 0x00012170
ADD ESP,0xc
LEA EAX,[ESI + 0x38]
PUSH 0x0
PUSH 0x24
PUSH EAX
CALL 0x00012130
ADD ESP,0x10
CMP EDI,0x63
JLE 0x00019330
MOVZX EAX,byte ptr [ESI + 0x5c]
SUB ESP,0x4
AND EAX,0xf
PUSH EAX
LEA EAX,[EBX + 0xffff4b47]
PUSH EAX
PUSH 0x1
CALL 0x00012260
LEA EAX,[EBX + 0xffff4b78]
MOV dword ptr [ESP],EAX
CALL 0x00012170
ADD ESP,0xc
LEA EAX,[ESI + 0x5e]
PUSH 0x1
PUSH 0x6
PUSH EAX
CALL 0x00012130
ADD ESP,0x10
CMP byte ptr [EBP + 0x1],0x0
JZ 0x0001933a
MOVZX EAX,byte ptr [ESI + 0x2]
LEA EDX,[ESP + 0x7c]
CALL 0x00014e80
SUB ESP,0x4
PUSH EAX
LEA EAX,[EBX + 0xffff4560]
PUSH EAX
PUSH 0x1
CALL 0x00012260
ADD ESP,0x10
CMP byte ptr [EBP + 0x9],0x0
JZ 0x00019344
LEA ESI,[ESI]
MOV ECX,dword ptr [ESP + 0xfc]
XOR ECX,dword ptr GS:[0x14]
MOV EAX,0x1
JNZ 0x0001975b
ADD ESP,0x10c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EBP + 0x20]
TEST EAX,EAX
JNZ 0x000192f7
SUB ESP,0xc
LEA EAX,[EBX + 0xfffef1c8]
PUSH EAX
CALL 0x00012170
ADD ESP,0x10
JMP 0x000192f7
ADD EDI,ESI
LEA ESI,[ESI]
MOVZX EAX,byte ptr [ESI]
SUB ESP,0xc
ADD ESI,0x1
PUSH EAX
CALL 0x00012230
ADD ESP,0x10
CMP EDI,ESI
JNZ 0x00019728
JMP 0x000196e0
CMP EDX,0x1
MOV EAX,0xffffffff
CMOVNZ EDX,EAX
SUB ESP,0x4
PUSH EDX
PUSH EDI
PUSH ESI
CALL 0x00012130
ADD ESP,0x10
JMP 0x000196e0
CALL 0x00023f50
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_000192b0(int param_1,int param_2,int param_3)\n\n{\n  char cVar1;\n  ushort uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  int iVar6;\n  ushort *puVar7;\n  uint uVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\n  undefined1 local_f0 [208];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x192b9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))) {\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }\n  puVar7 = (ushort *)(param_1 + 4);\n  param_2 = param_2 + -4;\n  do {\n    if (param_2 < 4) {\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00023f50();\n      }\n      return 1;\n    }\n    uVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }\n    param_2 = param_2 - uVar8;\n    puVar7 = (ushort *)((int)puVar7 + uVar8);\n  } while( true );\n}\n\n" comment (function_definition "undefined4 FUN_000192b0(int param_1,int param_2,int param_3)\n\n{\n  char cVar1;\n  ushort uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  int iVar6;\n  ushort *puVar7;\n  uint uVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\n  undefined1 local_f0 [208];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x192b9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))) {\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }\n  puVar7 = (ushort *)(param_1 + 4);\n  param_2 = param_2 + -4;\n  do {\n    if (param_2 < 4) {\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00023f50();\n      }\n      return 1;\n    }\n    uVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }\n    param_2 = param_2 - uVar8;\n    puVar7 = (ushort *)((int)puVar7 + uVar8);\n  } while( true );\n}" type_identifier (function_declarator "FUN_000192b0(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  ushort uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  int iVar6;\n  ushort *puVar7;\n  uint uVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\n  undefined1 local_f0 [208];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x192b9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))) {\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }\n  puVar7 = (ushort *)(param_1 + 4);\n  param_2 = param_2 + -4;\n  do {\n    if (param_2 < 4) {\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00023f50();\n      }\n      return 1;\n    }\n    uVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }\n    param_2 = param_2 - uVar8;\n    puVar7 = (ushort *)((int)puVar7 + uVar8);\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "ushort *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "ushort *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 local_f0 [208];" type_identifier (array_declarator "local_f0 [208]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x192b9;" (assignment_expression "uStack_14 = 0x192b9" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))) {\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }" if (parenthesized_expression "((*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0))))" ( (binary_expression "(*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))" (parenthesized_expression "(*(int *)(param_3 + 0x30) != 0)" ( (binary_expression "*(int *)(param_3 + 0x30) != 0" (pointer_expression "*(int *)(param_3 + 0x30)" * (cast_expression "(int *)(param_3 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x30)" ( (binary_expression "param_3 + 0x30" identifier + number_literal) )))) != number_literal) )) || (parenthesized_expression "((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))" ( (parenthesized_expression "(*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0))" ( (binary_expression "*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)" (binary_expression "*(char *)(param_3 + 3) == '\0'" (pointer_expression "*(char *)(param_3 + 3)" * (cast_expression "(char *)(param_3 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 3)" ( (binary_expression "param_3 + 3" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(*(int *)(param_3 + 0x20) == 0)" ( (binary_expression "*(int *)(param_3 + 0x20) == 0" (pointer_expression "*(int *)(param_3 + 0x20)" * (cast_expression "(int *)(param_3 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) == number_literal) ))) )) ))) )) (compound_statement "{\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }" { (expression_statement "puts("Media changer diagnostics data page (smc-3) [0x16]");" (call_expression "puts("Media changer diagnostics data page (smc-3) [0x16]")" identifier (argument_list "("Media changer diagnostics data page (smc-3) [0x16]")" ( (string_literal ""Media changer diagnostics data page (smc-3) [0x16]"" " string_content ") ))) ;) })) (expression_statement "puVar7 = (ushort *)(param_1 + 4);" (assignment_expression "puVar7 = (ushort *)(param_1 + 4)" identifier = (cast_expression "(ushort *)(param_1 + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) ;) (expression_statement "param_2 = param_2 + -4;" (assignment_expression "param_2 = param_2 + -4" identifier = (binary_expression "param_2 + -4" identifier + number_literal)) ;) (do_statement "do {\n    if (param_2 < 4) {\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00023f50();\n      }\n      return 1;\n    }\n    uVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }\n    param_2 = param_2 - uVar8;\n    puVar7 = (ushort *)((int)puVar7 + uVar8);\n  } while( true );" do (compound_statement "{\n    if (param_2 < 4) {\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00023f50();\n      }\n      return 1;\n    }\n    uVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }\n    param_2 = param_2 - uVar8;\n    puVar7 = (ushort *)((int)puVar7 + uVar8);\n  }" { (if_statement "if (param_2 < 4) {\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00023f50();\n      }\n      return 1;\n    }" if (parenthesized_expression "(param_2 < 4)" ( (binary_expression "param_2 < 4" identifier < number_literal) )) (compound_statement "{\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00023f50();\n      }\n      return 1;\n    }" { (labeled_statement "LAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00023f50();\n      }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00023f50();\n      }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_00023f50();\n      }" { comment (expression_statement "FUN_00023f50();" (call_expression "FUN_00023f50()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar8 = *(byte *)((int)puVar7 + 3) + 4;" (assignment_expression "uVar8 = *(byte *)((int)puVar7 + 3) + 4" identifier = (binary_expression "*(byte *)((int)puVar7 + 3) + 4" (pointer_expression "*(byte *)((int)puVar7 + 3)" * (cast_expression "(byte *)((int)puVar7 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 3)" ( (binary_expression "(int)puVar7 + 3" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal)) ;) (expression_statement "uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);" (assignment_expression "uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8)" identifier = (call_expression "(uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "(*puVar7 << 8 | *puVar7 >> 8)" ( (binary_expression "*puVar7 << 8 | *puVar7 >> 8" (binary_expression "*puVar7 << 8" (pointer_expression "*puVar7" * identifier) << number_literal) | (binary_expression "*puVar7 >> 8" (pointer_expression "*puVar7" * identifier) >> number_literal)) )))) ;) (if_statement "if (*(char *)(param_3 + 9) == '\0') {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }" if (parenthesized_expression "(*(char *)(param_3 + 9) == '\0')" ( (binary_expression "*(char *)(param_3 + 9) == '\0'" (pointer_expression "*(char *)(param_3 + 9)" * (cast_expression "(char *)(param_3 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 9)" ( (binary_expression "param_3 + 9" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }" { (labeled_statement "LAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);" statement_identifier : (expression_statement "__printf_chk(1,"  Parameter code: %d\n",uVar3);" (call_expression "__printf_chk(1,"  Parameter code: %d\n",uVar3)" identifier (argument_list "(1,"  Parameter code: %d\n",uVar3)" ( number_literal , (string_literal ""  Parameter code: %d\n"" " string_content escape_sequence ") , identifier ))) ;)) (expression_statement "__printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);" (call_expression "__printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f)" identifier (argument_list "(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f)" ( number_literal , (string_literal ""    Repeat: %d\n"" " string_content escape_sequence ") , (binary_expression "(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f" (binary_expression "(uint)(int)(char)*(byte *)((int)puVar7 + 5)" (call_expression "(uint)(int)(char)" (call_expression "(uint)(int)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(int)" ( identifier ))) (argument_list "(char)" ( identifier ))) * (cast_expression "(byte *)((int)puVar7 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 5)" ( (binary_expression "(int)puVar7 + 5" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) >> number_literal) ))) ;) (expression_statement "bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;" (assignment_expression "bVar5 = *(byte *)((int)puVar7 + 5) & 0xf" identifier = (binary_expression "*(byte *)((int)puVar7 + 5) & 0xf" (pointer_expression "*(byte *)((int)puVar7 + 5)" * (cast_expression "(byte *)((int)puVar7 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 5)" ( (binary_expression "(int)puVar7 + 5" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal)) ;) (expression_statement "uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);" (assignment_expression "uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0)" identifier = (call_expression "sg_get_sense_key_str(bVar5,0x50,local_f0)" identifier (argument_list "(bVar5,0x50,local_f0)" ( identifier , number_literal , identifier )))) ;) (expression_statement "__printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);" (call_expression "__printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4)" identifier (argument_list "(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4)" ( number_literal , (string_literal ""    Sense key: 0x%x [%s]\n"" " string_content escape_sequence ") , identifier , identifier ))) ;) (expression_statement "__printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);" (call_expression "__printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3])" identifier (argument_list "(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3])" ( number_literal , (string_literal ""    Additional sense code: 0x%x\n"" " string_content escape_sequence ") , (cast_expression "(byte)puVar7[3]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar7[3]" identifier [ number_literal ])) ))) ;) (expression_statement "__printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));" (call_expression "__printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7))" identifier (argument_list "(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7))" ( number_literal , (string_literal ""    Additional sense code qualifier: 0x%x\n"" " string_content escape_sequence ") , (pointer_expression "*(byte *)((int)puVar7 + 7)" * (cast_expression "(byte *)((int)puVar7 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 7)" ( (binary_expression "(int)puVar7 + 7" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (if_statement "if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }" if (parenthesized_expression "(((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0))" ( (binary_expression "((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)" (parenthesized_expression "((byte)puVar7[3] != 0)" ( (binary_expression "(byte)puVar7[3] != 0" (cast_expression "(byte)puVar7[3]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar7[3]" identifier [ number_literal ])) != number_literal) )) || (parenthesized_expression "(*(byte *)((int)puVar7 + 7) != 0)" ( (binary_expression "*(byte *)((int)puVar7 + 7) != 0" (pointer_expression "*(byte *)((int)puVar7 + 7)" * (cast_expression "(byte *)((int)puVar7 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 7)" ( (binary_expression "(int)puVar7 + 7" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }" { (expression_statement "uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);" (assignment_expression "uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0)" identifier = (call_expression "sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0)" identifier (argument_list "((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0)" ( (cast_expression "(byte)puVar7[3]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar7[3]" identifier [ number_literal ])) , (pointer_expression "*(byte *)((int)puVar7 + 7)" * (cast_expression "(byte *)((int)puVar7 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 7)" ( (binary_expression "(int)puVar7 + 7" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , number_literal , identifier )))) ;) (expression_statement "__printf_chk(1,"      [%s]\n",uVar4);" (call_expression "__printf_chk(1,"      [%s]\n",uVar4)" identifier (argument_list "(1,"      [%s]\n",uVar4)" ( number_literal , (string_literal ""      [%s]\n"" " string_content escape_sequence ") , identifier ))) ;) })) (expression_statement "uVar3 = *(uint *)(puVar7 + 4);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 4)" identifier = (pointer_expression "*(uint *)(puVar7 + 4)" * (cast_expression "(uint *)(puVar7 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 4)" ( (binary_expression "puVar7 + 4" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier (argument_list "(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( number_literal , (string_literal ""    Vendor specific code qualifier: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar3 = *(uint *)(puVar7 + 6);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 6)" identifier = (pointer_expression "*(uint *)(puVar7 + 6)" * (cast_expression "(uint *)(puVar7 + 6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 6)" ( (binary_expression "puVar7 + 6" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier (argument_list "(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( number_literal , (string_literal ""    Product revision level: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar3 = *(uint *)(puVar7 + 8);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 8)" identifier = (pointer_expression "*(uint *)(puVar7 + 8)" * (cast_expression "(uint *)(puVar7 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 8)" ( (binary_expression "puVar7 + 8" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier (argument_list "(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( number_literal , (string_literal ""    Number of moves: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar3 = *(uint *)(puVar7 + 10);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 10)" identifier = (pointer_expression "*(uint *)(puVar7 + 10)" * (cast_expression "(uint *)(puVar7 + 10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 10)" ( (binary_expression "puVar7 + 10" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier (argument_list "(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( number_literal , (string_literal ""    Number of pick: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar3 = *(uint *)(puVar7 + 0xc);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 0xc)" identifier = (pointer_expression "*(uint *)(puVar7 + 0xc)" * (cast_expression "(uint *)(puVar7 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xc)" ( (binary_expression "puVar7 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier (argument_list "(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( number_literal , (string_literal ""    Number of pick retries: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar3 = *(uint *)(puVar7 + 0xe);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 0xe)" identifier = (pointer_expression "*(uint *)(puVar7 + 0xe)" * (cast_expression "(uint *)(puVar7 + 0xe)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xe)" ( (binary_expression "puVar7 + 0xe" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier (argument_list "(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( number_literal , (string_literal ""    Number of places: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar3 = *(uint *)(puVar7 + 0x10);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 0x10)" identifier = (pointer_expression "*(uint *)(puVar7 + 0x10)" * (cast_expression "(uint *)(puVar7 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x10)" ( (binary_expression "puVar7 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier (argument_list "(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( number_literal , (string_literal ""    Number of place retries: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar3 = *(uint *)(puVar7 + 0x12);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 0x12)" identifier = (pointer_expression "*(uint *)(puVar7 + 0x12)" * (cast_expression "(uint *)(puVar7 + 0x12)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x12)" ( (binary_expression "puVar7 + 0x12" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier (argument_list "(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( number_literal , (string_literal ""    Number of determined volume identifiers: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar3 = *(uint *)(puVar7 + 0x14);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 0x14)" identifier = (pointer_expression "*(uint *)(puVar7 + 0x14)" * (cast_expression "(uint *)(puVar7 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x14)" ( (binary_expression "puVar7 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier (argument_list "(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( number_literal , (string_literal ""    Number of unreadable volume identifiers: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "__printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);" (call_expression "__printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16])" identifier (argument_list "(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16])" ( number_literal , (string_literal ""    Operation code: 0x%x\n"" " string_content escape_sequence ") , (cast_expression "(byte)puVar7[0x16]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar7[0x16]" identifier [ number_literal ])) ))) ;) (expression_statement "__printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);" (call_expression "__printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf)" identifier (argument_list "(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf)" ( number_literal , (string_literal ""    Service action: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "*(byte *)((int)puVar7 + 0x2d) & 0xf" (pointer_expression "*(byte *)((int)puVar7 + 0x2d)" * (cast_expression "(byte *)((int)puVar7 + 0x2d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 0x2d)" ( (binary_expression "(int)puVar7 + 0x2d" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) ))) ;) (expression_statement "__printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);" (call_expression "__printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17])" identifier (argument_list "(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17])" ( number_literal , (string_literal ""    Media changer error type: 0x%x\n"" " string_content escape_sequence ") , (cast_expression "(byte)puVar7[0x17]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar7[0x17]" identifier [ number_literal ])) ))) ;) (expression_statement "__printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);" (call_expression "__printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1)" identifier (argument_list "(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1)" ( number_literal , (string_literal ""    MTAV: %d\n"" " string_content escape_sequence ") , (binary_expression "*(byte *)((int)puVar7 + 0x2f) >> 3 & 1" (binary_expression "*(byte *)((int)puVar7 + 0x2f) >> 3" (pointer_expression "*(byte *)((int)puVar7 + 0x2f)" * (cast_expression "(byte *)((int)puVar7 + 0x2f)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 0x2f)" ( (binary_expression "(int)puVar7 + 0x2f" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) >> number_literal) & number_literal) ))) ;) (expression_statement "__printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);" (call_expression "__printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1)" identifier (argument_list "(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1)" ( number_literal , (string_literal ""    IAV: %d\n"" " string_content escape_sequence ") , (binary_expression "*(byte *)((int)puVar7 + 0x2f) >> 2 & 1" (binary_expression "*(byte *)((int)puVar7 + 0x2f) >> 2" (pointer_expression "*(byte *)((int)puVar7 + 0x2f)" * (cast_expression "(byte *)((int)puVar7 + 0x2f)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 0x2f)" ( (binary_expression "(int)puVar7 + 0x2f" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) >> number_literal) & number_literal) ))) ;) (expression_statement "__printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);" (call_expression "__printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1)" identifier (argument_list "(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1)" ( number_literal , (string_literal ""    LSAV: %d\n"" " string_content escape_sequence ") , (binary_expression "*(byte *)((int)puVar7 + 0x2f) >> 1 & 1" (binary_expression "*(byte *)((int)puVar7 + 0x2f) >> 1" (pointer_expression "*(byte *)((int)puVar7 + 0x2f)" * (cast_expression "(byte *)((int)puVar7 + 0x2f)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 0x2f)" ( (binary_expression "(int)puVar7 + 0x2f" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) >> number_literal) & number_literal) ))) ;) (expression_statement "__printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);" (call_expression "__printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1)" identifier (argument_list "(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1)" ( number_literal , (string_literal ""    DAV: %d\n"" " string_content escape_sequence ") , (binary_expression "*(byte *)((int)puVar7 + 0x2f) & 1" (pointer_expression "*(byte *)((int)puVar7 + 0x2f)" * (cast_expression "(byte *)((int)puVar7 + 0x2f)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 0x2f)" ( (binary_expression "(int)puVar7 + 0x2f" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) ))) ;) (expression_statement "__printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);" (call_expression "__printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8)" identifier (argument_list "(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8)" ( number_literal , (string_literal ""    Medium transport address: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "puVar7[0x18] << 8 | puVar7[0x18] >> 8" (binary_expression "puVar7[0x18] << 8" (subscript_expression "puVar7[0x18]" identifier [ number_literal ]) << number_literal) | (binary_expression "puVar7[0x18] >> 8" (subscript_expression "puVar7[0x18]" identifier [ number_literal ]) >> number_literal)) ))) ;) (expression_statement "__printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);" (call_expression "__printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8)" identifier (argument_list "(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8)" ( number_literal , (string_literal ""    Initial address: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "puVar7[0x19] << 8 | puVar7[0x19] >> 8" (binary_expression "puVar7[0x19] << 8" (subscript_expression "puVar7[0x19]" identifier [ number_literal ]) << number_literal) | (binary_expression "puVar7[0x19] >> 8" (subscript_expression "puVar7[0x19]" identifier [ number_literal ]) >> number_literal)) ))) ;) (expression_statement "__printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);" (call_expression "__printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8)" identifier (argument_list "(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8)" ( number_literal , (string_literal ""    Last successful address: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "puVar7[0x1a] << 8 | puVar7[0x1a] >> 8" (binary_expression "puVar7[0x1a] << 8" (subscript_expression "puVar7[0x1a]" identifier [ number_literal ]) << number_literal) | (binary_expression "puVar7[0x1a] >> 8" (subscript_expression "puVar7[0x1a]" identifier [ number_literal ]) >> number_literal)) ))) ;) (expression_statement "__printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);" (call_expression "__printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8)" identifier (argument_list "(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8)" ( number_literal , (string_literal ""    Destination address: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "puVar7[0x1b] << 8 | puVar7[0x1b] >> 8" (binary_expression "puVar7[0x1b] << 8" (subscript_expression "puVar7[0x1b]" identifier [ number_literal ]) << number_literal) | (binary_expression "puVar7[0x1b] >> 8" (subscript_expression "puVar7[0x1b]" identifier [ number_literal ]) >> number_literal)) ))) ;) (if_statement "if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }" if (parenthesized_expression "(uVar8 < 0x5c)" ( (binary_expression "uVar8 < 0x5c" identifier < number_literal) )) (compound_statement "{\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }" { (labeled_statement "LAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);" statement_identifier : (expression_statement "cVar1 = *(char *)(param_3 + 1);" (assignment_expression "cVar1 = *(char *)(param_3 + 1)" identifier = (pointer_expression "*(char *)(param_3 + 1)" * (cast_expression "(char *)(param_3 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 1)" ( (binary_expression "param_3 + 1" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }" else (compound_statement "{\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }" { (expression_statement "puts("    Volume tag information:");" (call_expression "puts("    Volume tag information:")" identifier (argument_list "("    Volume tag information:")" ( (string_literal ""    Volume tag information:"" " string_content ") ))) ;) (expression_statement "hex2stdout(puVar7 + 0x1c,0x24,0);" (call_expression "hex2stdout(puVar7 + 0x1c,0x24,0)" identifier (argument_list "(puVar7 + 0x1c,0x24,0)" ( (binary_expression "puVar7 + 0x1c" identifier + number_literal) , number_literal , number_literal ))) ;) (if_statement "if (uVar8 < 100) goto LAB_00019330;" if (parenthesized_expression "(uVar8 < 100)" ( (binary_expression "uVar8 < 100" identifier < number_literal) )) (goto_statement "goto LAB_00019330;" goto statement_identifier ;)) (expression_statement "__printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);" (call_expression "__printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf)" identifier (argument_list "(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf)" ( number_literal , (string_literal ""    Timestamp origin: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "(byte)puVar7[0x2e] & 0xf" (cast_expression "(byte)puVar7[0x2e]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar7[0x2e]" identifier [ number_literal ])) & number_literal) ))) ;) (expression_statement "puts("    Timestamp:");" (call_expression "puts("    Timestamp:")" identifier (argument_list "("    Timestamp:")" ( (string_literal ""    Timestamp:"" " string_content ") ))) ;) (expression_statement "hex2stdout(puVar7 + 0x2f,6,1);" (call_expression "hex2stdout(puVar7 + 0x2f,6,1)" identifier (argument_list "(puVar7 + 0x2f,6,1)" ( (binary_expression "puVar7 + 0x2f" identifier + number_literal) , number_literal , number_literal ))) ;) (expression_statement "cVar1 = *(char *)(param_3 + 1);" (assignment_expression "cVar1 = *(char *)(param_3 + 1)" identifier = (pointer_expression "*(char *)(param_3 + 1)" * (cast_expression "(char *)(param_3 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 1)" ( (binary_expression "param_3 + 1" identifier + number_literal) ))))) ;) }))) (if_statement "if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        cVar1 = *(char *)(param_3 + 9);\n      }" { (expression_statement "cVar1 = *(char *)(param_3 + 9);" (assignment_expression "cVar1 = *(char *)(param_3 + 9)" identifier = (pointer_expression "*(char *)(param_3 + 9)" * (cast_expression "(char *)(param_3 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 9)" ( (binary_expression "param_3 + 9" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }" else (compound_statement "{\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }" { (expression_statement "uVar4 = FUN_00014e80();" (assignment_expression "uVar4 = FUN_00014e80()" identifier = (call_expression "FUN_00014e80()" identifier (argument_list "()" ( )))) ;) (expression_statement "__printf_chk(1,&DAT_0002c460,uVar4);" (call_expression "__printf_chk(1,&DAT_0002c460,uVar4)" identifier (argument_list "(1,&DAT_0002c460,uVar4)" ( number_literal , (pointer_expression "&DAT_0002c460" & identifier) , identifier ))) ;) (expression_statement "cVar1 = *(char *)(param_3 + 9);" (assignment_expression "cVar1 = *(char *)(param_3 + 9)" identifier = (pointer_expression "*(char *)(param_3 + 9)" * (cast_expression "(char *)(param_3 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 9)" ( (binary_expression "param_3 + 9" identifier + number_literal) ))))) ;) }))) (if_statement "if (cVar1 != '\0') goto LAB_000196e0;" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000196e0;" goto statement_identifier ;)) }) (else_clause "else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }" else (if_statement "if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }" if (parenthesized_expression "(*(uint *)(param_3 + 0x34) == uVar3)" ( (binary_expression "*(uint *)(param_3 + 0x34) == uVar3" (pointer_expression "*(uint *)(param_3 + 0x34)" * (cast_expression "(uint *)(param_3 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x34)" ( (binary_expression "param_3 + 0x34" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }" { (if_statement "if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }" if (parenthesized_expression "(*(char *)(param_3 + 3) == '\0')" ( (binary_expression "*(char *)(param_3 + 3) == '\0'" (pointer_expression "*(char *)(param_3 + 3)" * (cast_expression "(char *)(param_3 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 3)" ( (binary_expression "param_3 + 3" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }" { (expression_statement "iVar6 = *(int *)(param_3 + 0x20);" (assignment_expression "iVar6 = *(int *)(param_3 + 0x20)" identifier = (pointer_expression "*(int *)(param_3 + 0x20)" * (cast_expression "(int *)(param_3 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) ))))) ;) (if_statement "if (iVar6 == 0) goto LAB_00019388;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00019388;" goto statement_identifier ;)) (if_statement "if (iVar6 != 1) {\n          iVar6 = -1;\n        }" if (parenthesized_expression "(iVar6 != 1)" ( (binary_expression "iVar6 != 1" identifier != number_literal) )) (compound_statement "{\n          iVar6 = -1;\n        }" { (expression_statement "iVar6 = -1;" (assignment_expression "iVar6 = -1" identifier = number_literal) ;) })) (expression_statement "hex2stdout(puVar7,uVar8,iVar6);" (call_expression "hex2stdout(puVar7,uVar8,iVar6)" identifier (argument_list "(puVar7,uVar8,iVar6)" ( identifier , identifier , identifier ))) ;) }) (else_clause "else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }" else (compound_statement "{\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }" { (expression_statement "puVar9 = (ushort *)(uVar8 + (int)puVar7);" (assignment_expression "puVar9 = (ushort *)(uVar8 + (int)puVar7)" identifier = (cast_expression "(ushort *)(uVar8 + (int)puVar7)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar8 + (int)puVar7)" ( (binary_expression "uVar8 + (int)puVar7" identifier + (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (do_statement "do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);" do (compound_statement "{\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        }" { (expression_statement "uVar2 = *puVar7;" (assignment_expression "uVar2 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar7 = (ushort *)((int)puVar7 + 1);" (assignment_expression "puVar7 = (ushort *)((int)puVar7 + 1)" identifier = (cast_expression "(ushort *)((int)puVar7 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 1)" ( (binary_expression "(int)puVar7 + 1" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "putchar((uint)(byte)uVar2);" (call_expression "putchar((uint)(byte)uVar2)" identifier (argument_list "((uint)(byte)uVar2)" ( (cast_expression "(uint)(byte)uVar2" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)uVar2" ( (type_descriptor "byte" type_identifier) ) identifier)) ))) ;) }) while (parenthesized_expression "(puVar9 != puVar7)" ( (binary_expression "puVar9 != puVar7" identifier != identifier) )) ;) }))) (goto_statement "goto LAB_000196e0;" goto statement_identifier ;) })))) (expression_statement "param_2 = param_2 - uVar8;" (assignment_expression "param_2 = param_2 - uVar8" identifier = (binary_expression "param_2 - uVar8" identifier - identifier)) ;) (expression_statement "puVar7 = (ushort *)((int)puVar7 + uVar8);" (assignment_expression "puVar7 = (ushort *)((int)puVar7 + uVar8)" identifier = (cast_expression "(ushort *)((int)puVar7 + uVar8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + uVar8)" ( (binary_expression "(int)puVar7 + uVar8" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\n_Bool show_mchanger_diag_data_page(uint8_t *resp,int len,opts_t *op)\n\n{\n  int iVar1;\n  char cVar2;\n  ushort uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  int extraout_ECX;\n  int extraout_ECX_00;\n  int extraout_ECX_01;\n  byte bVar8;\n  int iVar9;\n  ushort *puVar10;\n  uint uVar11;\n  ushort *puVar12;\n  int in_GS_OFFSET;\n  char b [80];\n  char str [128];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((op->verbose != 0) || ((op->do_raw == false && (op->do_hex == 0)))) {\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }\n  puVar10 = (ushort *)(resp + 4);\n  iVar4 = len + -4;\n  do {\n    if (iVar4 < 4) {\nLAB_000196e0:\n      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return true;\n    }\n    uVar11 = *(byte *)((int)puVar10 + 3) + 4;\n    uVar5 = (uint)(ushort)(*puVar10 << 8 | *puVar10 >> 8);\n    if (op->filter_given == false) {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar5);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar10 + 5) >> 0x1f);\n      bVar8 = *(byte *)((int)puVar10 + 5) & 0xf;\n      uVar6 = sg_get_sense_key_str(bVar8,0x50,b);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar8,uVar6);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar10[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar10 + 7));\n      if (((byte)puVar10[3] != 0) || (*(byte *)((int)puVar10 + 7) != 0)) {\n        uVar6 = sg_get_asc_ascq_str((byte)puVar10[3],*(byte *)((int)puVar10 + 7),0x50,b);\n        __printf_chk(1,"      [%s]\n",uVar6);\n      }\n      uVar5 = *(uint *)(puVar10 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar10[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar10 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar10[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar10 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar10[0x18] << 8 | puVar10[0x18] >> 8)\n      ;\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar10[0x19] << 8 | puVar10[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar10[0x1a] << 8 | puVar10[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar10[0x1b] << 8 | puVar10[0x1b] >> 8);\n      iVar9 = extraout_ECX;\n      if (uVar11 < 0x5c) {\nLAB_00019330:\n        cVar2 = op->do_pcb;\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar10 + 0x1c,0x24,0);\n        iVar9 = extraout_ECX_00;\n        if (uVar11 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar10[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar10 + 0x2f,6,1);\n        cVar2 = op->do_pcb;\n        iVar9 = extraout_ECX_01;\n      }\n      if (cVar2 == '\0') {\n        cVar2 = op->filter_given;\n      }\n      else {\n        pcVar7 = get_pcb_str((uint)(byte)puVar10[1],str,iVar9);\n        __printf_chk(1,&DAT_0002c460,pcVar7);\n        cVar2 = op->filter_given;\n      }\n      if (cVar2 != '\0') goto LAB_000196e0;\n    }\n    else if (op->filter == uVar5) {\n      if (op->do_raw == false) {\n        iVar9 = op->do_hex;\n        if (iVar9 == 0) goto LAB_00019388;\n        if (iVar9 != 1) {\n          iVar9 = -1;\n        }\n        hex2stdout(puVar10,uVar11,iVar9);\n      }\n      else {\n        puVar12 = (ushort *)(uVar11 + (int)puVar10);\n        do {\n          uVar3 = *puVar10;\n          puVar10 = (ushort *)((int)puVar10 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar12 != puVar10);\n      }\n      goto LAB_000196e0;\n    }\n    iVar4 = iVar4 - uVar11;\n    puVar10 = (ushort *)((int)puVar10 + uVar11);\n  } while( true );\n}\n\n" comment comment (function_definition "_Bool show_mchanger_diag_data_page(uint8_t *resp,int len,opts_t *op)\n\n{\n  int iVar1;\n  char cVar2;\n  ushort uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  int extraout_ECX;\n  int extraout_ECX_00;\n  int extraout_ECX_01;\n  byte bVar8;\n  int iVar9;\n  ushort *puVar10;\n  uint uVar11;\n  ushort *puVar12;\n  int in_GS_OFFSET;\n  char b [80];\n  char str [128];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((op->verbose != 0) || ((op->do_raw == false && (op->do_hex == 0)))) {\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }\n  puVar10 = (ushort *)(resp + 4);\n  iVar4 = len + -4;\n  do {\n    if (iVar4 < 4) {\nLAB_000196e0:\n      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return true;\n    }\n    uVar11 = *(byte *)((int)puVar10 + 3) + 4;\n    uVar5 = (uint)(ushort)(*puVar10 << 8 | *puVar10 >> 8);\n    if (op->filter_given == false) {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar5);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar10 + 5) >> 0x1f);\n      bVar8 = *(byte *)((int)puVar10 + 5) & 0xf;\n      uVar6 = sg_get_sense_key_str(bVar8,0x50,b);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar8,uVar6);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar10[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar10 + 7));\n      if (((byte)puVar10[3] != 0) || (*(byte *)((int)puVar10 + 7) != 0)) {\n        uVar6 = sg_get_asc_ascq_str((byte)puVar10[3],*(byte *)((int)puVar10 + 7),0x50,b);\n        __printf_chk(1,"      [%s]\n",uVar6);\n      }\n      uVar5 = *(uint *)(puVar10 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar10[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar10 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar10[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar10 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar10[0x18] << 8 | puVar10[0x18] >> 8)\n      ;\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar10[0x19] << 8 | puVar10[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar10[0x1a] << 8 | puVar10[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar10[0x1b] << 8 | puVar10[0x1b] >> 8);\n      iVar9 = extraout_ECX;\n      if (uVar11 < 0x5c) {\nLAB_00019330:\n        cVar2 = op->do_pcb;\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar10 + 0x1c,0x24,0);\n        iVar9 = extraout_ECX_00;\n        if (uVar11 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar10[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar10 + 0x2f,6,1);\n        cVar2 = op->do_pcb;\n        iVar9 = extraout_ECX_01;\n      }\n      if (cVar2 == '\0') {\n        cVar2 = op->filter_given;\n      }\n      else {\n        pcVar7 = get_pcb_str((uint)(byte)puVar10[1],str,iVar9);\n        __printf_chk(1,&DAT_0002c460,pcVar7);\n        cVar2 = op->filter_given;\n      }\n      if (cVar2 != '\0') goto LAB_000196e0;\n    }\n    else if (op->filter == uVar5) {\n      if (op->do_raw == false) {\n        iVar9 = op->do_hex;\n        if (iVar9 == 0) goto LAB_00019388;\n        if (iVar9 != 1) {\n          iVar9 = -1;\n        }\n        hex2stdout(puVar10,uVar11,iVar9);\n      }\n      else {\n        puVar12 = (ushort *)(uVar11 + (int)puVar10);\n        do {\n          uVar3 = *puVar10;\n          puVar10 = (ushort *)((int)puVar10 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar12 != puVar10);\n      }\n      goto LAB_000196e0;\n    }\n    iVar4 = iVar4 - uVar11;\n    puVar10 = (ushort *)((int)puVar10 + uVar11);\n  } while( true );\n}" type_identifier (function_declarator "show_mchanger_diag_data_page(uint8_t *resp,int len,opts_t *op)" identifier (parameter_list "(uint8_t *resp,int len,opts_t *op)" ( (parameter_declaration "uint8_t *resp" primitive_type (pointer_declarator "*resp" * identifier)) , (parameter_declaration "int len" primitive_type identifier) , (parameter_declaration "opts_t *op" type_identifier (pointer_declarator "*op" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  ushort uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  int extraout_ECX;\n  int extraout_ECX_00;\n  int extraout_ECX_01;\n  byte bVar8;\n  int iVar9;\n  ushort *puVar10;\n  uint uVar11;\n  ushort *puVar12;\n  int in_GS_OFFSET;\n  char b [80];\n  char str [128];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((op->verbose != 0) || ((op->do_raw == false && (op->do_hex == 0)))) {\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }\n  puVar10 = (ushort *)(resp + 4);\n  iVar4 = len + -4;\n  do {\n    if (iVar4 < 4) {\nLAB_000196e0:\n      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return true;\n    }\n    uVar11 = *(byte *)((int)puVar10 + 3) + 4;\n    uVar5 = (uint)(ushort)(*puVar10 << 8 | *puVar10 >> 8);\n    if (op->filter_given == false) {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar5);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar10 + 5) >> 0x1f);\n      bVar8 = *(byte *)((int)puVar10 + 5) & 0xf;\n      uVar6 = sg_get_sense_key_str(bVar8,0x50,b);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar8,uVar6);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar10[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar10 + 7));\n      if (((byte)puVar10[3] != 0) || (*(byte *)((int)puVar10 + 7) != 0)) {\n        uVar6 = sg_get_asc_ascq_str((byte)puVar10[3],*(byte *)((int)puVar10 + 7),0x50,b);\n        __printf_chk(1,"      [%s]\n",uVar6);\n      }\n      uVar5 = *(uint *)(puVar10 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar10[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar10 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar10[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar10 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar10[0x18] << 8 | puVar10[0x18] >> 8)\n      ;\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar10[0x19] << 8 | puVar10[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar10[0x1a] << 8 | puVar10[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar10[0x1b] << 8 | puVar10[0x1b] >> 8);\n      iVar9 = extraout_ECX;\n      if (uVar11 < 0x5c) {\nLAB_00019330:\n        cVar2 = op->do_pcb;\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar10 + 0x1c,0x24,0);\n        iVar9 = extraout_ECX_00;\n        if (uVar11 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar10[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar10 + 0x2f,6,1);\n        cVar2 = op->do_pcb;\n        iVar9 = extraout_ECX_01;\n      }\n      if (cVar2 == '\0') {\n        cVar2 = op->filter_given;\n      }\n      else {\n        pcVar7 = get_pcb_str((uint)(byte)puVar10[1],str,iVar9);\n        __printf_chk(1,&DAT_0002c460,pcVar7);\n        cVar2 = op->filter_given;\n      }\n      if (cVar2 != '\0') goto LAB_000196e0;\n    }\n    else if (op->filter == uVar5) {\n      if (op->do_raw == false) {\n        iVar9 = op->do_hex;\n        if (iVar9 == 0) goto LAB_00019388;\n        if (iVar9 != 1) {\n          iVar9 = -1;\n        }\n        hex2stdout(puVar10,uVar11,iVar9);\n      }\n      else {\n        puVar12 = (ushort *)(uVar11 + (int)puVar10);\n        do {\n          uVar3 = *puVar10;\n          puVar10 = (ushort *)((int)puVar10 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar12 != puVar10);\n      }\n      goto LAB_000196e0;\n    }\n    iVar4 = iVar4 - uVar11;\n    puVar10 = (ushort *)((int)puVar10 + uVar11);\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "ushort uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "int extraout_ECX_00;" primitive_type identifier ;) (declaration "int extraout_ECX_01;" primitive_type identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "ushort *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "ushort *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char b [80];" primitive_type (array_declarator "b [80]" identifier [ number_literal ]) ;) (declaration "char str [128];" primitive_type (array_declarator "str [128]" identifier [ number_literal ]) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((op->verbose != 0) || ((op->do_raw == false && (op->do_hex == 0)))) {\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }" if (parenthesized_expression "((op->verbose != 0) || ((op->do_raw == false && (op->do_hex == 0))))" ( (binary_expression "(op->verbose != 0) || ((op->do_raw == false && (op->do_hex == 0)))" (parenthesized_expression "(op->verbose != 0)" ( (binary_expression "op->verbose != 0" (field_expression "op->verbose" identifier -> field_identifier) != number_literal) )) || (parenthesized_expression "((op->do_raw == false && (op->do_hex == 0)))" ( (parenthesized_expression "(op->do_raw == false && (op->do_hex == 0))" ( (binary_expression "op->do_raw == false && (op->do_hex == 0)" (binary_expression "op->do_raw == false" (field_expression "op->do_raw" identifier -> field_identifier) == false) && (parenthesized_expression "(op->do_hex == 0)" ( (binary_expression "op->do_hex == 0" (field_expression "op->do_hex" identifier -> field_identifier) == number_literal) ))) )) ))) )) (compound_statement "{\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }" { (expression_statement "puts("Media changer diagnostics data page (smc-3) [0x16]");" (call_expression "puts("Media changer diagnostics data page (smc-3) [0x16]")" identifier (argument_list "("Media changer diagnostics data page (smc-3) [0x16]")" ( (string_literal ""Media changer diagnostics data page (smc-3) [0x16]"" " string_content ") ))) ;) })) (expression_statement "puVar10 = (ushort *)(resp + 4);" (assignment_expression "puVar10 = (ushort *)(resp + 4)" identifier = (cast_expression "(ushort *)(resp + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(resp + 4)" ( (binary_expression "resp + 4" identifier + number_literal) )))) ;) (expression_statement "iVar4 = len + -4;" (assignment_expression "iVar4 = len + -4" identifier = (binary_expression "len + -4" identifier + number_literal)) ;) (do_statement "do {\n    if (iVar4 < 4) {\nLAB_000196e0:\n      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return true;\n    }\n    uVar11 = *(byte *)((int)puVar10 + 3) + 4;\n    uVar5 = (uint)(ushort)(*puVar10 << 8 | *puVar10 >> 8);\n    if (op->filter_given == false) {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar5);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar10 + 5) >> 0x1f);\n      bVar8 = *(byte *)((int)puVar10 + 5) & 0xf;\n      uVar6 = sg_get_sense_key_str(bVar8,0x50,b);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar8,uVar6);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar10[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar10 + 7));\n      if (((byte)puVar10[3] != 0) || (*(byte *)((int)puVar10 + 7) != 0)) {\n        uVar6 = sg_get_asc_ascq_str((byte)puVar10[3],*(byte *)((int)puVar10 + 7),0x50,b);\n        __printf_chk(1,"      [%s]\n",uVar6);\n      }\n      uVar5 = *(uint *)(puVar10 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar10[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar10 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar10[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar10 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar10[0x18] << 8 | puVar10[0x18] >> 8)\n      ;\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar10[0x19] << 8 | puVar10[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar10[0x1a] << 8 | puVar10[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar10[0x1b] << 8 | puVar10[0x1b] >> 8);\n      iVar9 = extraout_ECX;\n      if (uVar11 < 0x5c) {\nLAB_00019330:\n        cVar2 = op->do_pcb;\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar10 + 0x1c,0x24,0);\n        iVar9 = extraout_ECX_00;\n        if (uVar11 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar10[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar10 + 0x2f,6,1);\n        cVar2 = op->do_pcb;\n        iVar9 = extraout_ECX_01;\n      }\n      if (cVar2 == '\0') {\n        cVar2 = op->filter_given;\n      }\n      else {\n        pcVar7 = get_pcb_str((uint)(byte)puVar10[1],str,iVar9);\n        __printf_chk(1,&DAT_0002c460,pcVar7);\n        cVar2 = op->filter_given;\n      }\n      if (cVar2 != '\0') goto LAB_000196e0;\n    }\n    else if (op->filter == uVar5) {\n      if (op->do_raw == false) {\n        iVar9 = op->do_hex;\n        if (iVar9 == 0) goto LAB_00019388;\n        if (iVar9 != 1) {\n          iVar9 = -1;\n        }\n        hex2stdout(puVar10,uVar11,iVar9);\n      }\n      else {\n        puVar12 = (ushort *)(uVar11 + (int)puVar10);\n        do {\n          uVar3 = *puVar10;\n          puVar10 = (ushort *)((int)puVar10 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar12 != puVar10);\n      }\n      goto LAB_000196e0;\n    }\n    iVar4 = iVar4 - uVar11;\n    puVar10 = (ushort *)((int)puVar10 + uVar11);\n  } while( true );" do (compound_statement "{\n    if (iVar4 < 4) {\nLAB_000196e0:\n      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return true;\n    }\n    uVar11 = *(byte *)((int)puVar10 + 3) + 4;\n    uVar5 = (uint)(ushort)(*puVar10 << 8 | *puVar10 >> 8);\n    if (op->filter_given == false) {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar5);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar10 + 5) >> 0x1f);\n      bVar8 = *(byte *)((int)puVar10 + 5) & 0xf;\n      uVar6 = sg_get_sense_key_str(bVar8,0x50,b);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar8,uVar6);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar10[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar10 + 7));\n      if (((byte)puVar10[3] != 0) || (*(byte *)((int)puVar10 + 7) != 0)) {\n        uVar6 = sg_get_asc_ascq_str((byte)puVar10[3],*(byte *)((int)puVar10 + 7),0x50,b);\n        __printf_chk(1,"      [%s]\n",uVar6);\n      }\n      uVar5 = *(uint *)(puVar10 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar10[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar10 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar10[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar10 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar10[0x18] << 8 | puVar10[0x18] >> 8)\n      ;\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar10[0x19] << 8 | puVar10[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar10[0x1a] << 8 | puVar10[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar10[0x1b] << 8 | puVar10[0x1b] >> 8);\n      iVar9 = extraout_ECX;\n      if (uVar11 < 0x5c) {\nLAB_00019330:\n        cVar2 = op->do_pcb;\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar10 + 0x1c,0x24,0);\n        iVar9 = extraout_ECX_00;\n        if (uVar11 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar10[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar10 + 0x2f,6,1);\n        cVar2 = op->do_pcb;\n        iVar9 = extraout_ECX_01;\n      }\n      if (cVar2 == '\0') {\n        cVar2 = op->filter_given;\n      }\n      else {\n        pcVar7 = get_pcb_str((uint)(byte)puVar10[1],str,iVar9);\n        __printf_chk(1,&DAT_0002c460,pcVar7);\n        cVar2 = op->filter_given;\n      }\n      if (cVar2 != '\0') goto LAB_000196e0;\n    }\n    else if (op->filter == uVar5) {\n      if (op->do_raw == false) {\n        iVar9 = op->do_hex;\n        if (iVar9 == 0) goto LAB_00019388;\n        if (iVar9 != 1) {\n          iVar9 = -1;\n        }\n        hex2stdout(puVar10,uVar11,iVar9);\n      }\n      else {\n        puVar12 = (ushort *)(uVar11 + (int)puVar10);\n        do {\n          uVar3 = *puVar10;\n          puVar10 = (ushort *)((int)puVar10 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar12 != puVar10);\n      }\n      goto LAB_000196e0;\n    }\n    iVar4 = iVar4 - uVar11;\n    puVar10 = (ushort *)((int)puVar10 + uVar11);\n  }" { (if_statement "if (iVar4 < 4) {\nLAB_000196e0:\n      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return true;\n    }" if (parenthesized_expression "(iVar4 < 4)" ( (binary_expression "iVar4 < 4" identifier < number_literal) )) (compound_statement "{\nLAB_000196e0:\n      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return true;\n    }" { (labeled_statement "LAB_000196e0:\n      if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }" statement_identifier : (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return true;" return true ;) })) (expression_statement "uVar11 = *(byte *)((int)puVar10 + 3) + 4;" (assignment_expression "uVar11 = *(byte *)((int)puVar10 + 3) + 4" identifier = (binary_expression "*(byte *)((int)puVar10 + 3) + 4" (pointer_expression "*(byte *)((int)puVar10 + 3)" * (cast_expression "(byte *)((int)puVar10 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 3)" ( (binary_expression "(int)puVar10 + 3" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal)) ;) (expression_statement "uVar5 = (uint)(ushort)(*puVar10 << 8 | *puVar10 >> 8);" (assignment_expression "uVar5 = (uint)(ushort)(*puVar10 << 8 | *puVar10 >> 8)" identifier = (call_expression "(uint)(ushort)(*puVar10 << 8 | *puVar10 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "(*puVar10 << 8 | *puVar10 >> 8)" ( (binary_expression "*puVar10 << 8 | *puVar10 >> 8" (binary_expression "*puVar10 << 8" (pointer_expression "*puVar10" * identifier) << number_literal) | (binary_expression "*puVar10 >> 8" (pointer_expression "*puVar10" * identifier) >> number_literal)) )))) ;) (if_statement "if (op->filter_given == false) {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar5);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar10 + 5) >> 0x1f);\n      bVar8 = *(byte *)((int)puVar10 + 5) & 0xf;\n      uVar6 = sg_get_sense_key_str(bVar8,0x50,b);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar8,uVar6);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar10[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar10 + 7));\n      if (((byte)puVar10[3] != 0) || (*(byte *)((int)puVar10 + 7) != 0)) {\n        uVar6 = sg_get_asc_ascq_str((byte)puVar10[3],*(byte *)((int)puVar10 + 7),0x50,b);\n        __printf_chk(1,"      [%s]\n",uVar6);\n      }\n      uVar5 = *(uint *)(puVar10 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar10[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar10 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar10[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar10 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar10[0x18] << 8 | puVar10[0x18] >> 8)\n      ;\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar10[0x19] << 8 | puVar10[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar10[0x1a] << 8 | puVar10[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar10[0x1b] << 8 | puVar10[0x1b] >> 8);\n      iVar9 = extraout_ECX;\n      if (uVar11 < 0x5c) {\nLAB_00019330:\n        cVar2 = op->do_pcb;\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar10 + 0x1c,0x24,0);\n        iVar9 = extraout_ECX_00;\n        if (uVar11 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar10[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar10 + 0x2f,6,1);\n        cVar2 = op->do_pcb;\n        iVar9 = extraout_ECX_01;\n      }\n      if (cVar2 == '\0') {\n        cVar2 = op->filter_given;\n      }\n      else {\n        pcVar7 = get_pcb_str((uint)(byte)puVar10[1],str,iVar9);\n        __printf_chk(1,&DAT_0002c460,pcVar7);\n        cVar2 = op->filter_given;\n      }\n      if (cVar2 != '\0') goto LAB_000196e0;\n    }\n    else if (op->filter == uVar5) {\n      if (op->do_raw == false) {\n        iVar9 = op->do_hex;\n        if (iVar9 == 0) goto LAB_00019388;\n        if (iVar9 != 1) {\n          iVar9 = -1;\n        }\n        hex2stdout(puVar10,uVar11,iVar9);\n      }\n      else {\n        puVar12 = (ushort *)(uVar11 + (int)puVar10);\n        do {\n          uVar3 = *puVar10;\n          puVar10 = (ushort *)((int)puVar10 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar12 != puVar10);\n      }\n      goto LAB_000196e0;\n    }" if (parenthesized_expression "(op->filter_given == false)" ( (binary_expression "op->filter_given == false" (field_expression "op->filter_given" identifier -> field_identifier) == false) )) (compound_statement "{\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar5);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar10 + 5) >> 0x1f);\n      bVar8 = *(byte *)((int)puVar10 + 5) & 0xf;\n      uVar6 = sg_get_sense_key_str(bVar8,0x50,b);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar8,uVar6);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar10[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar10 + 7));\n      if (((byte)puVar10[3] != 0) || (*(byte *)((int)puVar10 + 7) != 0)) {\n        uVar6 = sg_get_asc_ascq_str((byte)puVar10[3],*(byte *)((int)puVar10 + 7),0x50,b);\n        __printf_chk(1,"      [%s]\n",uVar6);\n      }\n      uVar5 = *(uint *)(puVar10 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      uVar5 = *(uint *)(puVar10 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar10[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar10 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar10[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar10 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar10[0x18] << 8 | puVar10[0x18] >> 8)\n      ;\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar10[0x19] << 8 | puVar10[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar10[0x1a] << 8 | puVar10[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar10[0x1b] << 8 | puVar10[0x1b] >> 8);\n      iVar9 = extraout_ECX;\n      if (uVar11 < 0x5c) {\nLAB_00019330:\n        cVar2 = op->do_pcb;\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar10 + 0x1c,0x24,0);\n        iVar9 = extraout_ECX_00;\n        if (uVar11 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar10[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar10 + 0x2f,6,1);\n        cVar2 = op->do_pcb;\n        iVar9 = extraout_ECX_01;\n      }\n      if (cVar2 == '\0') {\n        cVar2 = op->filter_given;\n      }\n      else {\n        pcVar7 = get_pcb_str((uint)(byte)puVar10[1],str,iVar9);\n        __printf_chk(1,&DAT_0002c460,pcVar7);\n        cVar2 = op->filter_given;\n      }\n      if (cVar2 != '\0') goto LAB_000196e0;\n    }" { (labeled_statement "LAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar5);" statement_identifier : (expression_statement "__printf_chk(1,"  Parameter code: %d\n",uVar5);" (call_expression "__printf_chk(1,"  Parameter code: %d\n",uVar5)" identifier (argument_list "(1,"  Parameter code: %d\n",uVar5)" ( number_literal , (string_literal ""  Parameter code: %d\n"" " string_content escape_sequence ") , identifier ))) ;)) (expression_statement "__printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar10 + 5) >> 0x1f);" (call_expression "__printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar10 + 5) >> 0x1f)" identifier (argument_list "(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar10 + 5) >> 0x1f)" ( number_literal , (string_literal ""    Repeat: %d\n"" " string_content escape_sequence ") , (binary_expression "(uint)(int)(char)*(byte *)((int)puVar10 + 5) >> 0x1f" (binary_expression "(uint)(int)(char)*(byte *)((int)puVar10 + 5)" (call_expression "(uint)(int)(char)" (call_expression "(uint)(int)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(int)" ( identifier ))) (argument_list "(char)" ( identifier ))) * (cast_expression "(byte *)((int)puVar10 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 5)" ( (binary_expression "(int)puVar10 + 5" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) >> number_literal) ))) ;) (expression_statement "bVar8 = *(byte *)((int)puVar10 + 5) & 0xf;" (assignment_expression "bVar8 = *(byte *)((int)puVar10 + 5) & 0xf" identifier = (binary_expression "*(byte *)((int)puVar10 + 5) & 0xf" (pointer_expression "*(byte *)((int)puVar10 + 5)" * (cast_expression "(byte *)((int)puVar10 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 5)" ( (binary_expression "(int)puVar10 + 5" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal)) ;) (expression_statement "uVar6 = sg_get_sense_key_str(bVar8,0x50,b);" (assignment_expression "uVar6 = sg_get_sense_key_str(bVar8,0x50,b)" identifier = (call_expression "sg_get_sense_key_str(bVar8,0x50,b)" identifier (argument_list "(bVar8,0x50,b)" ( identifier , number_literal , identifier )))) ;) (expression_statement "__printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar8,uVar6);" (call_expression "__printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar8,uVar6)" identifier (argument_list "(1,"    Sense key: 0x%x [%s]\n",bVar8,uVar6)" ( number_literal , (string_literal ""    Sense key: 0x%x [%s]\n"" " string_content escape_sequence ") , identifier , identifier ))) ;) (expression_statement "__printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar10[3]);" (call_expression "__printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar10[3])" identifier (argument_list "(1,"    Additional sense code: 0x%x\n",(byte)puVar10[3])" ( number_literal , (string_literal ""    Additional sense code: 0x%x\n"" " string_content escape_sequence ") , (cast_expression "(byte)puVar10[3]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar10[3]" identifier [ number_literal ])) ))) ;) (expression_statement "__printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar10 + 7));" (call_expression "__printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar10 + 7))" identifier (argument_list "(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar10 + 7))" ( number_literal , (string_literal ""    Additional sense code qualifier: 0x%x\n"" " string_content escape_sequence ") , (pointer_expression "*(byte *)((int)puVar10 + 7)" * (cast_expression "(byte *)((int)puVar10 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 7)" ( (binary_expression "(int)puVar10 + 7" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (if_statement "if (((byte)puVar10[3] != 0) || (*(byte *)((int)puVar10 + 7) != 0)) {\n        uVar6 = sg_get_asc_ascq_str((byte)puVar10[3],*(byte *)((int)puVar10 + 7),0x50,b);\n        __printf_chk(1,"      [%s]\n",uVar6);\n      }" if (parenthesized_expression "(((byte)puVar10[3] != 0) || (*(byte *)((int)puVar10 + 7) != 0))" ( (binary_expression "((byte)puVar10[3] != 0) || (*(byte *)((int)puVar10 + 7) != 0)" (parenthesized_expression "((byte)puVar10[3] != 0)" ( (binary_expression "(byte)puVar10[3] != 0" (cast_expression "(byte)puVar10[3]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar10[3]" identifier [ number_literal ])) != number_literal) )) || (parenthesized_expression "(*(byte *)((int)puVar10 + 7) != 0)" ( (binary_expression "*(byte *)((int)puVar10 + 7) != 0" (pointer_expression "*(byte *)((int)puVar10 + 7)" * (cast_expression "(byte *)((int)puVar10 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 7)" ( (binary_expression "(int)puVar10 + 7" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n        uVar6 = sg_get_asc_ascq_str((byte)puVar10[3],*(byte *)((int)puVar10 + 7),0x50,b);\n        __printf_chk(1,"      [%s]\n",uVar6);\n      }" { (expression_statement "uVar6 = sg_get_asc_ascq_str((byte)puVar10[3],*(byte *)((int)puVar10 + 7),0x50,b);" (assignment_expression "uVar6 = sg_get_asc_ascq_str((byte)puVar10[3],*(byte *)((int)puVar10 + 7),0x50,b)" identifier = (call_expression "sg_get_asc_ascq_str((byte)puVar10[3],*(byte *)((int)puVar10 + 7),0x50,b)" identifier (argument_list "((byte)puVar10[3],*(byte *)((int)puVar10 + 7),0x50,b)" ( (cast_expression "(byte)puVar10[3]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar10[3]" identifier [ number_literal ])) , (pointer_expression "*(byte *)((int)puVar10 + 7)" * (cast_expression "(byte *)((int)puVar10 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 7)" ( (binary_expression "(int)puVar10 + 7" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , number_literal , identifier )))) ;) (expression_statement "__printf_chk(1,"      [%s]\n",uVar6);" (call_expression "__printf_chk(1,"      [%s]\n",uVar6)" identifier (argument_list "(1,"      [%s]\n",uVar6)" ( number_literal , (string_literal ""      [%s]\n"" " string_content escape_sequence ") , identifier ))) ;) })) (expression_statement "uVar5 = *(uint *)(puVar10 + 4);" (assignment_expression "uVar5 = *(uint *)(puVar10 + 4)" identifier = (pointer_expression "*(uint *)(puVar10 + 4)" * (cast_expression "(uint *)(puVar10 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 4)" ( (binary_expression "puVar10 + 4" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);" (call_expression "__printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18)" identifier (argument_list "(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18)" ( number_literal , (string_literal ""    Vendor specific code qualifier: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar5 = *(uint *)(puVar10 + 6);" (assignment_expression "uVar5 = *(uint *)(puVar10 + 6)" identifier = (pointer_expression "*(uint *)(puVar10 + 6)" * (cast_expression "(uint *)(puVar10 + 6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 6)" ( (binary_expression "puVar10 + 6" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Product revision level: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);" (call_expression "__printf_chk(1,"    Product revision level: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18)" identifier (argument_list "(1,"    Product revision level: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18)" ( number_literal , (string_literal ""    Product revision level: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar5 = *(uint *)(puVar10 + 8);" (assignment_expression "uVar5 = *(uint *)(puVar10 + 8)" identifier = (pointer_expression "*(uint *)(puVar10 + 8)" * (cast_expression "(uint *)(puVar10 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 8)" ( (binary_expression "puVar10 + 8" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of moves: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);" (call_expression "__printf_chk(1,"    Number of moves: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18)" identifier (argument_list "(1,"    Number of moves: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18)" ( number_literal , (string_literal ""    Number of moves: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar5 = *(uint *)(puVar10 + 10);" (assignment_expression "uVar5 = *(uint *)(puVar10 + 10)" identifier = (pointer_expression "*(uint *)(puVar10 + 10)" * (cast_expression "(uint *)(puVar10 + 10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 10)" ( (binary_expression "puVar10 + 10" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of pick: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);" (call_expression "__printf_chk(1,"    Number of pick: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18)" identifier (argument_list "(1,"    Number of pick: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18)" ( number_literal , (string_literal ""    Number of pick: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar5 = *(uint *)(puVar10 + 0xc);" (assignment_expression "uVar5 = *(uint *)(puVar10 + 0xc)" identifier = (pointer_expression "*(uint *)(puVar10 + 0xc)" * (cast_expression "(uint *)(puVar10 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0xc)" ( (binary_expression "puVar10 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);" (call_expression "__printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18)" identifier (argument_list "(1,"    Number of pick retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18)" ( number_literal , (string_literal ""    Number of pick retries: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar5 = *(uint *)(puVar10 + 0xe);" (assignment_expression "uVar5 = *(uint *)(puVar10 + 0xe)" identifier = (pointer_expression "*(uint *)(puVar10 + 0xe)" * (cast_expression "(uint *)(puVar10 + 0xe)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0xe)" ( (binary_expression "puVar10 + 0xe" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of places: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);" (call_expression "__printf_chk(1,"    Number of places: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18)" identifier (argument_list "(1,"    Number of places: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18)" ( number_literal , (string_literal ""    Number of places: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar5 = *(uint *)(puVar10 + 0x10);" (assignment_expression "uVar5 = *(uint *)(puVar10 + 0x10)" identifier = (pointer_expression "*(uint *)(puVar10 + 0x10)" * (cast_expression "(uint *)(puVar10 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x10)" ( (binary_expression "puVar10 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of place retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);" (call_expression "__printf_chk(1,"    Number of place retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18)" identifier (argument_list "(1,"    Number of place retries: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18)" ( number_literal , (string_literal ""    Number of place retries: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar5 = *(uint *)(puVar10 + 0x12);" (assignment_expression "uVar5 = *(uint *)(puVar10 + 0x12)" identifier = (pointer_expression "*(uint *)(puVar10 + 0x12)" * (cast_expression "(uint *)(puVar10 + 0x12)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x12)" ( (binary_expression "puVar10 + 0x12" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);" (call_expression "__printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18)" identifier (argument_list "(1,"    Number of determined volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18)" ( number_literal , (string_literal ""    Number of determined volume identifiers: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar5 = *(uint *)(puVar10 + 0x14);" (assignment_expression "uVar5 = *(uint *)(puVar10 + 0x14)" identifier = (pointer_expression "*(uint *)(puVar10 + 0x14)" * (cast_expression "(uint *)(puVar10 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x14)" ( (binary_expression "puVar10 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18);" (call_expression "__printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18)" identifier (argument_list "(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18)" ( number_literal , (string_literal ""    Number of unreadable volume identifiers: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "__printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar10[0x16]);" (call_expression "__printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar10[0x16])" identifier (argument_list "(1,"    Operation code: 0x%x\n",(byte)puVar10[0x16])" ( number_literal , (string_literal ""    Operation code: 0x%x\n"" " string_content escape_sequence ") , (cast_expression "(byte)puVar10[0x16]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar10[0x16]" identifier [ number_literal ])) ))) ;) (expression_statement "__printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar10 + 0x2d) & 0xf);" (call_expression "__printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar10 + 0x2d) & 0xf)" identifier (argument_list "(1,"    Service action: 0x%x\n",*(byte *)((int)puVar10 + 0x2d) & 0xf)" ( number_literal , (string_literal ""    Service action: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "*(byte *)((int)puVar10 + 0x2d) & 0xf" (pointer_expression "*(byte *)((int)puVar10 + 0x2d)" * (cast_expression "(byte *)((int)puVar10 + 0x2d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 0x2d)" ( (binary_expression "(int)puVar10 + 0x2d" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) ))) ;) (expression_statement "__printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar10[0x17]);" (call_expression "__printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar10[0x17])" identifier (argument_list "(1,"    Media changer error type: 0x%x\n",(byte)puVar10[0x17])" ( number_literal , (string_literal ""    Media changer error type: 0x%x\n"" " string_content escape_sequence ") , (cast_expression "(byte)puVar10[0x17]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar10[0x17]" identifier [ number_literal ])) ))) ;) (expression_statement "__printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 3 & 1);" (call_expression "__printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 3 & 1)" identifier (argument_list "(1,"    MTAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 3 & 1)" ( number_literal , (string_literal ""    MTAV: %d\n"" " string_content escape_sequence ") , (binary_expression "*(byte *)((int)puVar10 + 0x2f) >> 3 & 1" (binary_expression "*(byte *)((int)puVar10 + 0x2f) >> 3" (pointer_expression "*(byte *)((int)puVar10 + 0x2f)" * (cast_expression "(byte *)((int)puVar10 + 0x2f)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 0x2f)" ( (binary_expression "(int)puVar10 + 0x2f" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) >> number_literal) & number_literal) ))) ;) (expression_statement "__printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 2 & 1);" (call_expression "__printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 2 & 1)" identifier (argument_list "(1,"    IAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 2 & 1)" ( number_literal , (string_literal ""    IAV: %d\n"" " string_content escape_sequence ") , (binary_expression "*(byte *)((int)puVar10 + 0x2f) >> 2 & 1" (binary_expression "*(byte *)((int)puVar10 + 0x2f) >> 2" (pointer_expression "*(byte *)((int)puVar10 + 0x2f)" * (cast_expression "(byte *)((int)puVar10 + 0x2f)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 0x2f)" ( (binary_expression "(int)puVar10 + 0x2f" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) >> number_literal) & number_literal) ))) ;) (expression_statement "__printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 1 & 1);" (call_expression "__printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 1 & 1)" identifier (argument_list "(1,"    LSAV: %d\n",*(byte *)((int)puVar10 + 0x2f) >> 1 & 1)" ( number_literal , (string_literal ""    LSAV: %d\n"" " string_content escape_sequence ") , (binary_expression "*(byte *)((int)puVar10 + 0x2f) >> 1 & 1" (binary_expression "*(byte *)((int)puVar10 + 0x2f) >> 1" (pointer_expression "*(byte *)((int)puVar10 + 0x2f)" * (cast_expression "(byte *)((int)puVar10 + 0x2f)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 0x2f)" ( (binary_expression "(int)puVar10 + 0x2f" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) >> number_literal) & number_literal) ))) ;) (expression_statement "__printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar10 + 0x2f) & 1);" (call_expression "__printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar10 + 0x2f) & 1)" identifier (argument_list "(1,"    DAV: %d\n",*(byte *)((int)puVar10 + 0x2f) & 1)" ( number_literal , (string_literal ""    DAV: %d\n"" " string_content escape_sequence ") , (binary_expression "*(byte *)((int)puVar10 + 0x2f) & 1" (pointer_expression "*(byte *)((int)puVar10 + 0x2f)" * (cast_expression "(byte *)((int)puVar10 + 0x2f)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 0x2f)" ( (binary_expression "(int)puVar10 + 0x2f" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) ))) ;) (expression_statement "__printf_chk(1,"    Medium transport address: 0x%x\n",puVar10[0x18] << 8 | puVar10[0x18] >> 8)\n      ;" (call_expression "__printf_chk(1,"    Medium transport address: 0x%x\n",puVar10[0x18] << 8 | puVar10[0x18] >> 8)" identifier (argument_list "(1,"    Medium transport address: 0x%x\n",puVar10[0x18] << 8 | puVar10[0x18] >> 8)" ( number_literal , (string_literal ""    Medium transport address: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "puVar10[0x18] << 8 | puVar10[0x18] >> 8" (binary_expression "puVar10[0x18] << 8" (subscript_expression "puVar10[0x18]" identifier [ number_literal ]) << number_literal) | (binary_expression "puVar10[0x18] >> 8" (subscript_expression "puVar10[0x18]" identifier [ number_literal ]) >> number_literal)) ))) ;) (expression_statement "__printf_chk(1,"    Initial address: 0x%x\n",puVar10[0x19] << 8 | puVar10[0x19] >> 8);" (call_expression "__printf_chk(1,"    Initial address: 0x%x\n",puVar10[0x19] << 8 | puVar10[0x19] >> 8)" identifier (argument_list "(1,"    Initial address: 0x%x\n",puVar10[0x19] << 8 | puVar10[0x19] >> 8)" ( number_literal , (string_literal ""    Initial address: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "puVar10[0x19] << 8 | puVar10[0x19] >> 8" (binary_expression "puVar10[0x19] << 8" (subscript_expression "puVar10[0x19]" identifier [ number_literal ]) << number_literal) | (binary_expression "puVar10[0x19] >> 8" (subscript_expression "puVar10[0x19]" identifier [ number_literal ]) >> number_literal)) ))) ;) (expression_statement "__printf_chk(1,"    Last successful address: 0x%x\n",puVar10[0x1a] << 8 | puVar10[0x1a] >> 8);" (call_expression "__printf_chk(1,"    Last successful address: 0x%x\n",puVar10[0x1a] << 8 | puVar10[0x1a] >> 8)" identifier (argument_list "(1,"    Last successful address: 0x%x\n",puVar10[0x1a] << 8 | puVar10[0x1a] >> 8)" ( number_literal , (string_literal ""    Last successful address: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "puVar10[0x1a] << 8 | puVar10[0x1a] >> 8" (binary_expression "puVar10[0x1a] << 8" (subscript_expression "puVar10[0x1a]" identifier [ number_literal ]) << number_literal) | (binary_expression "puVar10[0x1a] >> 8" (subscript_expression "puVar10[0x1a]" identifier [ number_literal ]) >> number_literal)) ))) ;) (expression_statement "__printf_chk(1,"    Destination address: 0x%x\n",puVar10[0x1b] << 8 | puVar10[0x1b] >> 8);" (call_expression "__printf_chk(1,"    Destination address: 0x%x\n",puVar10[0x1b] << 8 | puVar10[0x1b] >> 8)" identifier (argument_list "(1,"    Destination address: 0x%x\n",puVar10[0x1b] << 8 | puVar10[0x1b] >> 8)" ( number_literal , (string_literal ""    Destination address: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "puVar10[0x1b] << 8 | puVar10[0x1b] >> 8" (binary_expression "puVar10[0x1b] << 8" (subscript_expression "puVar10[0x1b]" identifier [ number_literal ]) << number_literal) | (binary_expression "puVar10[0x1b] >> 8" (subscript_expression "puVar10[0x1b]" identifier [ number_literal ]) >> number_literal)) ))) ;) (expression_statement "iVar9 = extraout_ECX;" (assignment_expression "iVar9 = extraout_ECX" identifier = identifier) ;) (if_statement "if (uVar11 < 0x5c) {\nLAB_00019330:\n        cVar2 = op->do_pcb;\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar10 + 0x1c,0x24,0);\n        iVar9 = extraout_ECX_00;\n        if (uVar11 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar10[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar10 + 0x2f,6,1);\n        cVar2 = op->do_pcb;\n        iVar9 = extraout_ECX_01;\n      }" if (parenthesized_expression "(uVar11 < 0x5c)" ( (binary_expression "uVar11 < 0x5c" identifier < number_literal) )) (compound_statement "{\nLAB_00019330:\n        cVar2 = op->do_pcb;\n      }" { (labeled_statement "LAB_00019330:\n        cVar2 = op->do_pcb;" statement_identifier : (expression_statement "cVar2 = op->do_pcb;" (assignment_expression "cVar2 = op->do_pcb" identifier = (field_expression "op->do_pcb" identifier -> field_identifier)) ;)) }) (else_clause "else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar10 + 0x1c,0x24,0);\n        iVar9 = extraout_ECX_00;\n        if (uVar11 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar10[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar10 + 0x2f,6,1);\n        cVar2 = op->do_pcb;\n        iVar9 = extraout_ECX_01;\n      }" else (compound_statement "{\n        puts("    Volume tag information:");\n        hex2stdout(puVar10 + 0x1c,0x24,0);\n        iVar9 = extraout_ECX_00;\n        if (uVar11 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar10[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar10 + 0x2f,6,1);\n        cVar2 = op->do_pcb;\n        iVar9 = extraout_ECX_01;\n      }" { (expression_statement "puts("    Volume tag information:");" (call_expression "puts("    Volume tag information:")" identifier (argument_list "("    Volume tag information:")" ( (string_literal ""    Volume tag information:"" " string_content ") ))) ;) (expression_statement "hex2stdout(puVar10 + 0x1c,0x24,0);" (call_expression "hex2stdout(puVar10 + 0x1c,0x24,0)" identifier (argument_list "(puVar10 + 0x1c,0x24,0)" ( (binary_expression "puVar10 + 0x1c" identifier + number_literal) , number_literal , number_literal ))) ;) (expression_statement "iVar9 = extraout_ECX_00;" (assignment_expression "iVar9 = extraout_ECX_00" identifier = identifier) ;) (if_statement "if (uVar11 < 100) goto LAB_00019330;" if (parenthesized_expression "(uVar11 < 100)" ( (binary_expression "uVar11 < 100" identifier < number_literal) )) (goto_statement "goto LAB_00019330;" goto statement_identifier ;)) (expression_statement "__printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar10[0x2e] & 0xf);" (call_expression "__printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar10[0x2e] & 0xf)" identifier (argument_list "(1,"    Timestamp origin: 0x%x\n",(byte)puVar10[0x2e] & 0xf)" ( number_literal , (string_literal ""    Timestamp origin: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "(byte)puVar10[0x2e] & 0xf" (cast_expression "(byte)puVar10[0x2e]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar10[0x2e]" identifier [ number_literal ])) & number_literal) ))) ;) (expression_statement "puts("    Timestamp:");" (call_expression "puts("    Timestamp:")" identifier (argument_list "("    Timestamp:")" ( (string_literal ""    Timestamp:"" " string_content ") ))) ;) (expression_statement "hex2stdout(puVar10 + 0x2f,6,1);" (call_expression "hex2stdout(puVar10 + 0x2f,6,1)" identifier (argument_list "(puVar10 + 0x2f,6,1)" ( (binary_expression "puVar10 + 0x2f" identifier + number_literal) , number_literal , number_literal ))) ;) (expression_statement "cVar2 = op->do_pcb;" (assignment_expression "cVar2 = op->do_pcb" identifier = (field_expression "op->do_pcb" identifier -> field_identifier)) ;) (expression_statement "iVar9 = extraout_ECX_01;" (assignment_expression "iVar9 = extraout_ECX_01" identifier = identifier) ;) }))) (if_statement "if (cVar2 == '\0') {\n        cVar2 = op->filter_given;\n      }\n      else {\n        pcVar7 = get_pcb_str((uint)(byte)puVar10[1],str,iVar9);\n        __printf_chk(1,&DAT_0002c460,pcVar7);\n        cVar2 = op->filter_given;\n      }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        cVar2 = op->filter_given;\n      }" { (expression_statement "cVar2 = op->filter_given;" (assignment_expression "cVar2 = op->filter_given" identifier = (field_expression "op->filter_given" identifier -> field_identifier)) ;) }) (else_clause "else {\n        pcVar7 = get_pcb_str((uint)(byte)puVar10[1],str,iVar9);\n        __printf_chk(1,&DAT_0002c460,pcVar7);\n        cVar2 = op->filter_given;\n      }" else (compound_statement "{\n        pcVar7 = get_pcb_str((uint)(byte)puVar10[1],str,iVar9);\n        __printf_chk(1,&DAT_0002c460,pcVar7);\n        cVar2 = op->filter_given;\n      }" { (expression_statement "pcVar7 = get_pcb_str((uint)(byte)puVar10[1],str,iVar9);" (assignment_expression "pcVar7 = get_pcb_str((uint)(byte)puVar10[1],str,iVar9)" identifier = (call_expression "get_pcb_str((uint)(byte)puVar10[1],str,iVar9)" identifier (argument_list "((uint)(byte)puVar10[1],str,iVar9)" ( (cast_expression "(uint)(byte)puVar10[1]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)puVar10[1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar10[1]" identifier [ number_literal ]))) , identifier , identifier )))) ;) (expression_statement "__printf_chk(1,&DAT_0002c460,pcVar7);" (call_expression "__printf_chk(1,&DAT_0002c460,pcVar7)" identifier (argument_list "(1,&DAT_0002c460,pcVar7)" ( number_literal , (pointer_expression "&DAT_0002c460" & identifier) , identifier ))) ;) (expression_statement "cVar2 = op->filter_given;" (assignment_expression "cVar2 = op->filter_given" identifier = (field_expression "op->filter_given" identifier -> field_identifier)) ;) }))) (if_statement "if (cVar2 != '\0') goto LAB_000196e0;" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000196e0;" goto statement_identifier ;)) }) (else_clause "else if (op->filter == uVar5) {\n      if (op->do_raw == false) {\n        iVar9 = op->do_hex;\n        if (iVar9 == 0) goto LAB_00019388;\n        if (iVar9 != 1) {\n          iVar9 = -1;\n        }\n        hex2stdout(puVar10,uVar11,iVar9);\n      }\n      else {\n        puVar12 = (ushort *)(uVar11 + (int)puVar10);\n        do {\n          uVar3 = *puVar10;\n          puVar10 = (ushort *)((int)puVar10 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar12 != puVar10);\n      }\n      goto LAB_000196e0;\n    }" else (if_statement "if (op->filter == uVar5) {\n      if (op->do_raw == false) {\n        iVar9 = op->do_hex;\n        if (iVar9 == 0) goto LAB_00019388;\n        if (iVar9 != 1) {\n          iVar9 = -1;\n        }\n        hex2stdout(puVar10,uVar11,iVar9);\n      }\n      else {\n        puVar12 = (ushort *)(uVar11 + (int)puVar10);\n        do {\n          uVar3 = *puVar10;\n          puVar10 = (ushort *)((int)puVar10 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar12 != puVar10);\n      }\n      goto LAB_000196e0;\n    }" if (parenthesized_expression "(op->filter == uVar5)" ( (binary_expression "op->filter == uVar5" (field_expression "op->filter" identifier -> field_identifier) == identifier) )) (compound_statement "{\n      if (op->do_raw == false) {\n        iVar9 = op->do_hex;\n        if (iVar9 == 0) goto LAB_00019388;\n        if (iVar9 != 1) {\n          iVar9 = -1;\n        }\n        hex2stdout(puVar10,uVar11,iVar9);\n      }\n      else {\n        puVar12 = (ushort *)(uVar11 + (int)puVar10);\n        do {\n          uVar3 = *puVar10;\n          puVar10 = (ushort *)((int)puVar10 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar12 != puVar10);\n      }\n      goto LAB_000196e0;\n    }" { (if_statement "if (op->do_raw == false) {\n        iVar9 = op->do_hex;\n        if (iVar9 == 0) goto LAB_00019388;\n        if (iVar9 != 1) {\n          iVar9 = -1;\n        }\n        hex2stdout(puVar10,uVar11,iVar9);\n      }\n      else {\n        puVar12 = (ushort *)(uVar11 + (int)puVar10);\n        do {\n          uVar3 = *puVar10;\n          puVar10 = (ushort *)((int)puVar10 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar12 != puVar10);\n      }" if (parenthesized_expression "(op->do_raw == false)" ( (binary_expression "op->do_raw == false" (field_expression "op->do_raw" identifier -> field_identifier) == false) )) (compound_statement "{\n        iVar9 = op->do_hex;\n        if (iVar9 == 0) goto LAB_00019388;\n        if (iVar9 != 1) {\n          iVar9 = -1;\n        }\n        hex2stdout(puVar10,uVar11,iVar9);\n      }" { (expression_statement "iVar9 = op->do_hex;" (assignment_expression "iVar9 = op->do_hex" identifier = (field_expression "op->do_hex" identifier -> field_identifier)) ;) (if_statement "if (iVar9 == 0) goto LAB_00019388;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00019388;" goto statement_identifier ;)) (if_statement "if (iVar9 != 1) {\n          iVar9 = -1;\n        }" if (parenthesized_expression "(iVar9 != 1)" ( (binary_expression "iVar9 != 1" identifier != number_literal) )) (compound_statement "{\n          iVar9 = -1;\n        }" { (expression_statement "iVar9 = -1;" (assignment_expression "iVar9 = -1" identifier = number_literal) ;) })) (expression_statement "hex2stdout(puVar10,uVar11,iVar9);" (call_expression "hex2stdout(puVar10,uVar11,iVar9)" identifier (argument_list "(puVar10,uVar11,iVar9)" ( identifier , identifier , identifier ))) ;) }) (else_clause "else {\n        puVar12 = (ushort *)(uVar11 + (int)puVar10);\n        do {\n          uVar3 = *puVar10;\n          puVar10 = (ushort *)((int)puVar10 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar12 != puVar10);\n      }" else (compound_statement "{\n        puVar12 = (ushort *)(uVar11 + (int)puVar10);\n        do {\n          uVar3 = *puVar10;\n          puVar10 = (ushort *)((int)puVar10 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar12 != puVar10);\n      }" { (expression_statement "puVar12 = (ushort *)(uVar11 + (int)puVar10);" (assignment_expression "puVar12 = (ushort *)(uVar11 + (int)puVar10)" identifier = (cast_expression "(ushort *)(uVar11 + (int)puVar10)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar11 + (int)puVar10)" ( (binary_expression "uVar11 + (int)puVar10" identifier + (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (do_statement "do {\n          uVar3 = *puVar10;\n          puVar10 = (ushort *)((int)puVar10 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar12 != puVar10);" do (compound_statement "{\n          uVar3 = *puVar10;\n          puVar10 = (ushort *)((int)puVar10 + 1);\n          putchar((uint)(byte)uVar3);\n        }" { (expression_statement "uVar3 = *puVar10;" (assignment_expression "uVar3 = *puVar10" identifier = (pointer_expression "*puVar10" * identifier)) ;) (expression_statement "puVar10 = (ushort *)((int)puVar10 + 1);" (assignment_expression "puVar10 = (ushort *)((int)puVar10 + 1)" identifier = (cast_expression "(ushort *)((int)puVar10 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + 1)" ( (binary_expression "(int)puVar10 + 1" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "putchar((uint)(byte)uVar3);" (call_expression "putchar((uint)(byte)uVar3)" identifier (argument_list "((uint)(byte)uVar3)" ( (cast_expression "(uint)(byte)uVar3" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)uVar3" ( (type_descriptor "byte" type_identifier) ) identifier)) ))) ;) }) while (parenthesized_expression "(puVar12 != puVar10)" ( (binary_expression "puVar12 != puVar10" identifier != identifier) )) ;) }))) (goto_statement "goto LAB_000196e0;" goto statement_identifier ;) })))) (expression_statement "iVar4 = iVar4 - uVar11;" (assignment_expression "iVar4 = iVar4 - uVar11" identifier = (binary_expression "iVar4 - uVar11" identifier - identifier)) ;) (expression_statement "puVar10 = (ushort *)((int)puVar10 + uVar11);" (assignment_expression "puVar10 = (ushort *)((int)puVar10 + uVar11)" identifier = (cast_expression "(ushort *)((int)puVar10 + uVar11)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar10 + uVar11)" ( (binary_expression "(int)puVar10 + uVar11" (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "undefined4 FUN_000192b0(int param_1,int param_2,int param_3)\n\n{\n  char cVar1;\n  ushort uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  int iVar6;\n  ushort *puVar7;\n  uint uVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\n  undefined1 local_f0 [208];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x192b9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))) {\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }\n  puVar7 = (ushort *)(param_1 + 4);\n  param_2 = param_2 + -4;\n  do {\n    if (param_2 < 4) {\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_00023f50();\n      }\n      return 1;\n    }\n    uVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }\n    param_2 = param_2 - uVar8;\n    puVar7 = (ushort *)((int)puVar7 + uVar8);\n  } while( true );\n}\n\n" (function_definition "undefined4 FUN_000192b0(int param_1,int param_2,int param_3)\n\n{\n  char cVar1;\n  ushort uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  int iVar6;\n  ushort *puVar7;\n  uint uVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\n  undefined1 local_f0 [208];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x192b9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))) {\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }\n  puVar7 = (ushort *)(param_1 + 4);\n  param_2 = param_2 + -4;\n  do {\n    if (param_2 < 4) {\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_00023f50();\n      }\n      return 1;\n    }\n    uVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }\n    param_2 = param_2 - uVar8;\n    puVar7 = (ushort *)((int)puVar7 + uVar8);\n  } while( true );\n}" type_identifier (function_declarator "FUN_000192b0(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  ushort uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  int iVar6;\n  ushort *puVar7;\n  uint uVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\n  undefined1 local_f0 [208];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x192b9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))) {\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }\n  puVar7 = (ushort *)(param_1 + 4);\n  param_2 = param_2 + -4;\n  do {\n    if (param_2 < 4) {\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_00023f50();\n      }\n      return 1;\n    }\n    uVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }\n    param_2 = param_2 - uVar8;\n    puVar7 = (ushort *)((int)puVar7 + uVar8);\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "ushort *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "ushort *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 local_f0 [208];" type_identifier (array_declarator "local_f0 [208]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x192b9;" (assignment_expression "uStack_14 = 0x192b9" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))) {\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }" if (parenthesized_expression "((*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0))))" ( (binary_expression "(*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))" (parenthesized_expression "(*(int *)(param_3 + 0x30) != 0)" ( (binary_expression "*(int *)(param_3 + 0x30) != 0" (pointer_expression "*(int *)(param_3 + 0x30)" * (cast_expression "(int *)(param_3 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x30)" ( (binary_expression "param_3 + 0x30" identifier + number_literal) )))) != number_literal) )) || (parenthesized_expression "((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))" ( (parenthesized_expression "(*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0))" ( (binary_expression "*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)" (binary_expression "*(char *)(param_3 + 3) == '\0'" (pointer_expression "*(char *)(param_3 + 3)" * (cast_expression "(char *)(param_3 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 3)" ( (binary_expression "param_3 + 3" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(*(int *)(param_3 + 0x20) == 0)" ( (binary_expression "*(int *)(param_3 + 0x20) == 0" (pointer_expression "*(int *)(param_3 + 0x20)" * (cast_expression "(int *)(param_3 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) )))) == number_literal) ))) )) ))) )) (compound_statement "{\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }" { (expression_statement "puts("Media changer diagnostics data page (smc-3) [0x16]");" (call_expression "puts("Media changer diagnostics data page (smc-3) [0x16]")" identifier (argument_list "("Media changer diagnostics data page (smc-3) [0x16]")" ( (string_literal ""Media changer diagnostics data page (smc-3) [0x16]"" " string_content ") ))) ;) })) (expression_statement "puVar7 = (ushort *)(param_1 + 4);" (assignment_expression "puVar7 = (ushort *)(param_1 + 4)" identifier = (cast_expression "(ushort *)(param_1 + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) ;) (expression_statement "param_2 = param_2 + -4;" (assignment_expression "param_2 = param_2 + -4" identifier = (binary_expression "param_2 + -4" identifier + number_literal)) ;) (do_statement "do {\n    if (param_2 < 4) {\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_00023f50();\n      }\n      return 1;\n    }\n    uVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }\n    param_2 = param_2 - uVar8;\n    puVar7 = (ushort *)((int)puVar7 + uVar8);\n  } while( true );" do (compound_statement "{\n    if (param_2 < 4) {\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_00023f50();\n      }\n      return 1;\n    }\n    uVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }\n    param_2 = param_2 - uVar8;\n    puVar7 = (ushort *)((int)puVar7 + uVar8);\n  }" { (if_statement "if (param_2 < 4) {\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_00023f50();\n      }\n      return 1;\n    }" if (parenthesized_expression "(param_2 < 4)" ( (binary_expression "param_2 < 4" identifier < number_literal) )) (compound_statement "{\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_00023f50();\n      }\n      return 1;\n    }" { (labeled_statement "LAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_00023f50();\n      }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_00023f50();\n      }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n        FUN_00023f50();\n      }" { (expression_statement "FUN_00023f50();" (call_expression "FUN_00023f50()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar8 = *(byte *)((int)puVar7 + 3) + 4;" (assignment_expression "uVar8 = *(byte *)((int)puVar7 + 3) + 4" identifier = (binary_expression "*(byte *)((int)puVar7 + 3) + 4" (pointer_expression "*(byte *)((int)puVar7 + 3)" * (cast_expression "(byte *)((int)puVar7 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 3)" ( (binary_expression "(int)puVar7 + 3" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal)) ;) (expression_statement "uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);" (assignment_expression "uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8)" identifier = (call_expression "(uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "(*puVar7 << 8 | *puVar7 >> 8)" ( (binary_expression "*puVar7 << 8 | *puVar7 >> 8" (binary_expression "*puVar7 << 8" (pointer_expression "*puVar7" * identifier) << number_literal) | (binary_expression "*puVar7 >> 8" (pointer_expression "*puVar7" * identifier) >> number_literal)) )))) ;) (if_statement "if (*(char *)(param_3 + 9) == '\0') {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }" if (parenthesized_expression "(*(char *)(param_3 + 9) == '\0')" ( (binary_expression "*(char *)(param_3 + 9) == '\0'" (pointer_expression "*(char *)(param_3 + 9)" * (cast_expression "(char *)(param_3 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 9)" ( (binary_expression "param_3 + 9" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }" { (labeled_statement "LAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);" statement_identifier : (expression_statement "__printf_chk(1,"  Parameter code: %d\n",uVar3);" (call_expression "__printf_chk(1,"  Parameter code: %d\n",uVar3)" identifier (argument_list "(1,"  Parameter code: %d\n",uVar3)" ( number_literal , (string_literal ""  Parameter code: %d\n"" " string_content escape_sequence ") , identifier ))) ;)) (expression_statement "__printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);" (call_expression "__printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f)" identifier (argument_list "(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f)" ( number_literal , (string_literal ""    Repeat: %d\n"" " string_content escape_sequence ") , (binary_expression "(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f" (binary_expression "(uint)(int)(char)*(byte *)((int)puVar7 + 5)" (call_expression "(uint)(int)(char)" (call_expression "(uint)(int)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(int)" ( identifier ))) (argument_list "(char)" ( identifier ))) * (cast_expression "(byte *)((int)puVar7 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 5)" ( (binary_expression "(int)puVar7 + 5" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) >> number_literal) ))) ;) (expression_statement "bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;" (assignment_expression "bVar5 = *(byte *)((int)puVar7 + 5) & 0xf" identifier = (binary_expression "*(byte *)((int)puVar7 + 5) & 0xf" (pointer_expression "*(byte *)((int)puVar7 + 5)" * (cast_expression "(byte *)((int)puVar7 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 5)" ( (binary_expression "(int)puVar7 + 5" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal)) ;) (expression_statement "uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);" (assignment_expression "uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0)" identifier = (call_expression "sg_get_sense_key_str(bVar5,0x50,local_f0)" identifier (argument_list "(bVar5,0x50,local_f0)" ( identifier , number_literal , identifier )))) ;) (expression_statement "__printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);" (call_expression "__printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4)" identifier (argument_list "(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4)" ( number_literal , (string_literal ""    Sense key: 0x%x [%s]\n"" " string_content escape_sequence ") , identifier , identifier ))) ;) (expression_statement "__printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);" (call_expression "__printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3])" identifier (argument_list "(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3])" ( number_literal , (string_literal ""    Additional sense code: 0x%x\n"" " string_content escape_sequence ") , (cast_expression "(byte)puVar7[3]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar7[3]" identifier [ number_literal ])) ))) ;) (expression_statement "__printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));" (call_expression "__printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7))" identifier (argument_list "(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7))" ( number_literal , (string_literal ""    Additional sense code qualifier: 0x%x\n"" " string_content escape_sequence ") , (pointer_expression "*(byte *)((int)puVar7 + 7)" * (cast_expression "(byte *)((int)puVar7 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 7)" ( (binary_expression "(int)puVar7 + 7" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (if_statement "if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }" if (parenthesized_expression "(((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0))" ( (binary_expression "((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)" (parenthesized_expression "((byte)puVar7[3] != 0)" ( (binary_expression "(byte)puVar7[3] != 0" (cast_expression "(byte)puVar7[3]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar7[3]" identifier [ number_literal ])) != number_literal) )) || (parenthesized_expression "(*(byte *)((int)puVar7 + 7) != 0)" ( (binary_expression "*(byte *)((int)puVar7 + 7) != 0" (pointer_expression "*(byte *)((int)puVar7 + 7)" * (cast_expression "(byte *)((int)puVar7 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 7)" ( (binary_expression "(int)puVar7 + 7" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }" { (expression_statement "uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);" (assignment_expression "uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0)" identifier = (call_expression "sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0)" identifier (argument_list "((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0)" ( (cast_expression "(byte)puVar7[3]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar7[3]" identifier [ number_literal ])) , (pointer_expression "*(byte *)((int)puVar7 + 7)" * (cast_expression "(byte *)((int)puVar7 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 7)" ( (binary_expression "(int)puVar7 + 7" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , number_literal , identifier )))) ;) (expression_statement "__printf_chk(1,"      [%s]\n",uVar4);" (call_expression "__printf_chk(1,"      [%s]\n",uVar4)" identifier (argument_list "(1,"      [%s]\n",uVar4)" ( number_literal , (string_literal ""      [%s]\n"" " string_content escape_sequence ") , identifier ))) ;) })) (expression_statement "uVar3 = *(uint *)(puVar7 + 4);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 4)" identifier = (pointer_expression "*(uint *)(puVar7 + 4)" * (cast_expression "(uint *)(puVar7 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 4)" ( (binary_expression "puVar7 + 4" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier (argument_list "(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( number_literal , (string_literal ""    Vendor specific code qualifier: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar3 = *(uint *)(puVar7 + 6);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 6)" identifier = (pointer_expression "*(uint *)(puVar7 + 6)" * (cast_expression "(uint *)(puVar7 + 6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 6)" ( (binary_expression "puVar7 + 6" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier (argument_list "(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( number_literal , (string_literal ""    Product revision level: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar3 = *(uint *)(puVar7 + 8);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 8)" identifier = (pointer_expression "*(uint *)(puVar7 + 8)" * (cast_expression "(uint *)(puVar7 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 8)" ( (binary_expression "puVar7 + 8" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier (argument_list "(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( number_literal , (string_literal ""    Number of moves: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar3 = *(uint *)(puVar7 + 10);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 10)" identifier = (pointer_expression "*(uint *)(puVar7 + 10)" * (cast_expression "(uint *)(puVar7 + 10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 10)" ( (binary_expression "puVar7 + 10" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier (argument_list "(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( number_literal , (string_literal ""    Number of pick: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar3 = *(uint *)(puVar7 + 0xc);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 0xc)" identifier = (pointer_expression "*(uint *)(puVar7 + 0xc)" * (cast_expression "(uint *)(puVar7 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xc)" ( (binary_expression "puVar7 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier (argument_list "(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( number_literal , (string_literal ""    Number of pick retries: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar3 = *(uint *)(puVar7 + 0xe);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 0xe)" identifier = (pointer_expression "*(uint *)(puVar7 + 0xe)" * (cast_expression "(uint *)(puVar7 + 0xe)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xe)" ( (binary_expression "puVar7 + 0xe" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier (argument_list "(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( number_literal , (string_literal ""    Number of places: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar3 = *(uint *)(puVar7 + 0x10);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 0x10)" identifier = (pointer_expression "*(uint *)(puVar7 + 0x10)" * (cast_expression "(uint *)(puVar7 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x10)" ( (binary_expression "puVar7 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier (argument_list "(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( number_literal , (string_literal ""    Number of place retries: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar3 = *(uint *)(puVar7 + 0x12);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 0x12)" identifier = (pointer_expression "*(uint *)(puVar7 + 0x12)" * (cast_expression "(uint *)(puVar7 + 0x12)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x12)" ( (binary_expression "puVar7 + 0x12" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier (argument_list "(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( number_literal , (string_literal ""    Number of determined volume identifiers: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar3 = *(uint *)(puVar7 + 0x14);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 0x14)" identifier = (pointer_expression "*(uint *)(puVar7 + 0x14)" * (cast_expression "(uint *)(puVar7 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x14)" ( (binary_expression "puVar7 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier (argument_list "(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( number_literal , (string_literal ""    Number of unreadable volume identifiers: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "__printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);" (call_expression "__printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16])" identifier (argument_list "(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16])" ( number_literal , (string_literal ""    Operation code: 0x%x\n"" " string_content escape_sequence ") , (cast_expression "(byte)puVar7[0x16]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar7[0x16]" identifier [ number_literal ])) ))) ;) (expression_statement "__printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);" (call_expression "__printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf)" identifier (argument_list "(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf)" ( number_literal , (string_literal ""    Service action: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "*(byte *)((int)puVar7 + 0x2d) & 0xf" (pointer_expression "*(byte *)((int)puVar7 + 0x2d)" * (cast_expression "(byte *)((int)puVar7 + 0x2d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 0x2d)" ( (binary_expression "(int)puVar7 + 0x2d" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) ))) ;) (expression_statement "__printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);" (call_expression "__printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17])" identifier (argument_list "(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17])" ( number_literal , (string_literal ""    Media changer error type: 0x%x\n"" " string_content escape_sequence ") , (cast_expression "(byte)puVar7[0x17]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar7[0x17]" identifier [ number_literal ])) ))) ;) (expression_statement "__printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);" (call_expression "__printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1)" identifier (argument_list "(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1)" ( number_literal , (string_literal ""    MTAV: %d\n"" " string_content escape_sequence ") , (binary_expression "*(byte *)((int)puVar7 + 0x2f) >> 3 & 1" (binary_expression "*(byte *)((int)puVar7 + 0x2f) >> 3" (pointer_expression "*(byte *)((int)puVar7 + 0x2f)" * (cast_expression "(byte *)((int)puVar7 + 0x2f)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 0x2f)" ( (binary_expression "(int)puVar7 + 0x2f" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) >> number_literal) & number_literal) ))) ;) (expression_statement "__printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);" (call_expression "__printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1)" identifier (argument_list "(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1)" ( number_literal , (string_literal ""    IAV: %d\n"" " string_content escape_sequence ") , (binary_expression "*(byte *)((int)puVar7 + 0x2f) >> 2 & 1" (binary_expression "*(byte *)((int)puVar7 + 0x2f) >> 2" (pointer_expression "*(byte *)((int)puVar7 + 0x2f)" * (cast_expression "(byte *)((int)puVar7 + 0x2f)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 0x2f)" ( (binary_expression "(int)puVar7 + 0x2f" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) >> number_literal) & number_literal) ))) ;) (expression_statement "__printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);" (call_expression "__printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1)" identifier (argument_list "(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1)" ( number_literal , (string_literal ""    LSAV: %d\n"" " string_content escape_sequence ") , (binary_expression "*(byte *)((int)puVar7 + 0x2f) >> 1 & 1" (binary_expression "*(byte *)((int)puVar7 + 0x2f) >> 1" (pointer_expression "*(byte *)((int)puVar7 + 0x2f)" * (cast_expression "(byte *)((int)puVar7 + 0x2f)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 0x2f)" ( (binary_expression "(int)puVar7 + 0x2f" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) >> number_literal) & number_literal) ))) ;) (expression_statement "__printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);" (call_expression "__printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1)" identifier (argument_list "(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1)" ( number_literal , (string_literal ""    DAV: %d\n"" " string_content escape_sequence ") , (binary_expression "*(byte *)((int)puVar7 + 0x2f) & 1" (pointer_expression "*(byte *)((int)puVar7 + 0x2f)" * (cast_expression "(byte *)((int)puVar7 + 0x2f)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 0x2f)" ( (binary_expression "(int)puVar7 + 0x2f" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) ))) ;) (expression_statement "__printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);" (call_expression "__printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8)" identifier (argument_list "(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8)" ( number_literal , (string_literal ""    Medium transport address: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "puVar7[0x18] << 8 | puVar7[0x18] >> 8" (binary_expression "puVar7[0x18] << 8" (subscript_expression "puVar7[0x18]" identifier [ number_literal ]) << number_literal) | (binary_expression "puVar7[0x18] >> 8" (subscript_expression "puVar7[0x18]" identifier [ number_literal ]) >> number_literal)) ))) ;) (expression_statement "__printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);" (call_expression "__printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8)" identifier (argument_list "(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8)" ( number_literal , (string_literal ""    Initial address: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "puVar7[0x19] << 8 | puVar7[0x19] >> 8" (binary_expression "puVar7[0x19] << 8" (subscript_expression "puVar7[0x19]" identifier [ number_literal ]) << number_literal) | (binary_expression "puVar7[0x19] >> 8" (subscript_expression "puVar7[0x19]" identifier [ number_literal ]) >> number_literal)) ))) ;) (expression_statement "__printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);" (call_expression "__printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8)" identifier (argument_list "(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8)" ( number_literal , (string_literal ""    Last successful address: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "puVar7[0x1a] << 8 | puVar7[0x1a] >> 8" (binary_expression "puVar7[0x1a] << 8" (subscript_expression "puVar7[0x1a]" identifier [ number_literal ]) << number_literal) | (binary_expression "puVar7[0x1a] >> 8" (subscript_expression "puVar7[0x1a]" identifier [ number_literal ]) >> number_literal)) ))) ;) (expression_statement "__printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);" (call_expression "__printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8)" identifier (argument_list "(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8)" ( number_literal , (string_literal ""    Destination address: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "puVar7[0x1b] << 8 | puVar7[0x1b] >> 8" (binary_expression "puVar7[0x1b] << 8" (subscript_expression "puVar7[0x1b]" identifier [ number_literal ]) << number_literal) | (binary_expression "puVar7[0x1b] >> 8" (subscript_expression "puVar7[0x1b]" identifier [ number_literal ]) >> number_literal)) ))) ;) (if_statement "if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }" if (parenthesized_expression "(uVar8 < 0x5c)" ( (binary_expression "uVar8 < 0x5c" identifier < number_literal) )) (compound_statement "{\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }" { (labeled_statement "LAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);" statement_identifier : (expression_statement "cVar1 = *(char *)(param_3 + 1);" (assignment_expression "cVar1 = *(char *)(param_3 + 1)" identifier = (pointer_expression "*(char *)(param_3 + 1)" * (cast_expression "(char *)(param_3 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 1)" ( (binary_expression "param_3 + 1" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }" else (compound_statement "{\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }" { (expression_statement "puts("    Volume tag information:");" (call_expression "puts("    Volume tag information:")" identifier (argument_list "("    Volume tag information:")" ( (string_literal ""    Volume tag information:"" " string_content ") ))) ;) (expression_statement "hex2stdout(puVar7 + 0x1c,0x24,0);" (call_expression "hex2stdout(puVar7 + 0x1c,0x24,0)" identifier (argument_list "(puVar7 + 0x1c,0x24,0)" ( (binary_expression "puVar7 + 0x1c" identifier + number_literal) , number_literal , number_literal ))) ;) (if_statement "if (uVar8 < 100) goto LAB_00019330;" if (parenthesized_expression "(uVar8 < 100)" ( (binary_expression "uVar8 < 100" identifier < number_literal) )) (goto_statement "goto LAB_00019330;" goto statement_identifier ;)) (expression_statement "__printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);" (call_expression "__printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf)" identifier (argument_list "(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf)" ( number_literal , (string_literal ""    Timestamp origin: 0x%x\n"" " string_content escape_sequence ") , (binary_expression "(byte)puVar7[0x2e] & 0xf" (cast_expression "(byte)puVar7[0x2e]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar7[0x2e]" identifier [ number_literal ])) & number_literal) ))) ;) (expression_statement "puts("    Timestamp:");" (call_expression "puts("    Timestamp:")" identifier (argument_list "("    Timestamp:")" ( (string_literal ""    Timestamp:"" " string_content ") ))) ;) (expression_statement "hex2stdout(puVar7 + 0x2f,6,1);" (call_expression "hex2stdout(puVar7 + 0x2f,6,1)" identifier (argument_list "(puVar7 + 0x2f,6,1)" ( (binary_expression "puVar7 + 0x2f" identifier + number_literal) , number_literal , number_literal ))) ;) (expression_statement "cVar1 = *(char *)(param_3 + 1);" (assignment_expression "cVar1 = *(char *)(param_3 + 1)" identifier = (pointer_expression "*(char *)(param_3 + 1)" * (cast_expression "(char *)(param_3 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 1)" ( (binary_expression "param_3 + 1" identifier + number_literal) ))))) ;) }))) (if_statement "if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        cVar1 = *(char *)(param_3 + 9);\n      }" { (expression_statement "cVar1 = *(char *)(param_3 + 9);" (assignment_expression "cVar1 = *(char *)(param_3 + 9)" identifier = (pointer_expression "*(char *)(param_3 + 9)" * (cast_expression "(char *)(param_3 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 9)" ( (binary_expression "param_3 + 9" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }" else (compound_statement "{\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }" { (expression_statement "uVar4 = FUN_00014e80();" (assignment_expression "uVar4 = FUN_00014e80()" identifier = (call_expression "FUN_00014e80()" identifier (argument_list "()" ( )))) ;) (expression_statement "__printf_chk(1,&DAT_0002c460,uVar4);" (call_expression "__printf_chk(1,&DAT_0002c460,uVar4)" identifier (argument_list "(1,&DAT_0002c460,uVar4)" ( number_literal , (pointer_expression "&DAT_0002c460" & identifier) , identifier ))) ;) (expression_statement "cVar1 = *(char *)(param_3 + 9);" (assignment_expression "cVar1 = *(char *)(param_3 + 9)" identifier = (pointer_expression "*(char *)(param_3 + 9)" * (cast_expression "(char *)(param_3 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 9)" ( (binary_expression "param_3 + 9" identifier + number_literal) ))))) ;) }))) (if_statement "if (cVar1 != '\0') goto LAB_000196e0;" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000196e0;" goto statement_identifier ;)) }) (else_clause "else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }" else (if_statement "if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }" if (parenthesized_expression "(*(uint *)(param_3 + 0x34) == uVar3)" ( (binary_expression "*(uint *)(param_3 + 0x34) == uVar3" (pointer_expression "*(uint *)(param_3 + 0x34)" * (cast_expression "(uint *)(param_3 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x34)" ( (binary_expression "param_3 + 0x34" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }" { (if_statement "if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }" if (parenthesized_expression "(*(char *)(param_3 + 3) == '\0')" ( (binary_expression "*(char *)(param_3 + 3) == '\0'" (pointer_expression "*(char *)(param_3 + 3)" * (cast_expression "(char *)(param_3 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 3)" ( (binary_expression "param_3 + 3" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }" { (expression_statement "iVar6 = *(int *)(param_3 + 0x20);" (assignment_expression "iVar6 = *(int *)(param_3 + 0x20)" identifier = (pointer_expression "*(int *)(param_3 + 0x20)" * (cast_expression "(int *)(param_3 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x20)" ( (binary_expression "param_3 + 0x20" identifier + number_literal) ))))) ;) (if_statement "if (iVar6 == 0) goto LAB_00019388;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00019388;" goto statement_identifier ;)) (if_statement "if (iVar6 != 1) {\n          iVar6 = -1;\n        }" if (parenthesized_expression "(iVar6 != 1)" ( (binary_expression "iVar6 != 1" identifier != number_literal) )) (compound_statement "{\n          iVar6 = -1;\n        }" { (expression_statement "iVar6 = -1;" (assignment_expression "iVar6 = -1" identifier = number_literal) ;) })) (expression_statement "hex2stdout(puVar7,uVar8,iVar6);" (call_expression "hex2stdout(puVar7,uVar8,iVar6)" identifier (argument_list "(puVar7,uVar8,iVar6)" ( identifier , identifier , identifier ))) ;) }) (else_clause "else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }" else (compound_statement "{\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }" { (expression_statement "puVar9 = (ushort *)(uVar8 + (int)puVar7);" (assignment_expression "puVar9 = (ushort *)(uVar8 + (int)puVar7)" identifier = (cast_expression "(ushort *)(uVar8 + (int)puVar7)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar8 + (int)puVar7)" ( (binary_expression "uVar8 + (int)puVar7" identifier + (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (do_statement "do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);" do (compound_statement "{\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        }" { (expression_statement "uVar2 = *puVar7;" (assignment_expression "uVar2 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar7 = (ushort *)((int)puVar7 + 1);" (assignment_expression "puVar7 = (ushort *)((int)puVar7 + 1)" identifier = (cast_expression "(ushort *)((int)puVar7 + 1)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 1)" ( (binary_expression "(int)puVar7 + 1" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "putchar((uint)(byte)uVar2);" (call_expression "putchar((uint)(byte)uVar2)" identifier (argument_list "((uint)(byte)uVar2)" ( (cast_expression "(uint)(byte)uVar2" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)uVar2" ( (type_descriptor "byte" type_identifier) ) identifier)) ))) ;) }) while (parenthesized_expression "(puVar9 != puVar7)" ( (binary_expression "puVar9 != puVar7" identifier != identifier) )) ;) }))) (goto_statement "goto LAB_000196e0;" goto statement_identifier ;) })))) (expression_statement "param_2 = param_2 - uVar8;" (assignment_expression "param_2 = param_2 - uVar8" identifier = (binary_expression "param_2 - uVar8" identifier - identifier)) ;) (expression_statement "puVar7 = (ushort *)((int)puVar7 + uVar8);" (assignment_expression "puVar7 = (ushort *)((int)puVar7 + uVar8)" identifier = (cast_expression "(ushort *)((int)puVar7 + uVar8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + uVar8)" ( (binary_expression "(int)puVar7 + uVar8" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) ))) )) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (binary_expression (binary_expression (pointer_expression * IDENT) << LIT) | (binary_expression (pointer_expression * IDENT) >> LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , IDENT ))) ;)) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (binary_expression (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( IDENT ))) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) >> LIT) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) & LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) != LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) , LIT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) & LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) >> LIT) & LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) >> LIT) & LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) >> LIT) & LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) & LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) << LIT) | (binary_expression (subscript_expression IDENT [ LIT ]) >> LIT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) << LIT) | (binary_expression (subscript_expression IDENT [ LIT ]) >> LIT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) << LIT) | (binary_expression (subscript_expression IDENT [ LIT ]) >> LIT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) << LIT) | (binary_expression (subscript_expression IDENT [ LIT ]) >> LIT)) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) & LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) }))) (goto_statement goto statement_identifier ;) })))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "undefined4 FUN_000192b0(int param_1,int param_2,int param_3)\n\n{\n  char cVar1;\n  ushort uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  int iVar6;\n  ushort *puVar7;\n  uint uVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\n  undefined1 local_f0 [208];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x192b9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))) {\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }\n  puVar7 = (ushort *)(param_1 + 4);\n  param_2 = param_2 + -4;\n  do {\n    if (param_2 < 4) {\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_00023f50();\n      }\n      return 1;\n    }\n    uVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }\n    param_2 = param_2 - uVar8;\n    puVar7 = (ushort *)((int)puVar7 + uVar8);\n  } while( true );\n}" (type_identifier "undefined4") (function_declarator "FUN_000192b0(int param_1,int param_2,int param_3)" (identifier "FUN_000192b0") (parameter_list "(int param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  char cVar1;\n  ushort uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  byte bVar5;\n  int iVar6;\n  ushort *puVar7;\n  uint uVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\n  undefined1 local_f0 [208];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x192b9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))) {\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }\n  puVar7 = (ushort *)(param_1 + 4);\n  param_2 = param_2 + -4;\n  do {\n    if (param_2 < 4) {\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_00023f50();\n      }\n      return 1;\n    }\n    uVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }\n    param_2 = param_2 - uVar8;\n    puVar7 = (ushort *)((int)puVar7 + uVar8);\n  } while( true );\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "ushort uVar2;" (type_identifier "ushort") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "byte bVar5;" (type_identifier "byte") (identifier "bVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "ushort *puVar7;" (type_identifier "ushort") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "ushort *puVar9;" (type_identifier "ushort") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined1 local_f0 [208];" (type_identifier "undefined1") (array_declarator "local_f0 [208]" (identifier "local_f0") ([ "[") (number_literal "208") (] "]")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x192b9;" (assignment_expression "uStack_14 = 0x192b9" (identifier "uStack_14") (= "=") (number_literal "0x192b9")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if ((*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))) {\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }" (if "if") (parenthesized_expression "((*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0))))" (( "(") (binary_expression "(*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))" (parenthesized_expression "(*(int *)(param_3 + 0x30) != 0)" (( "(") (binary_expression "*(int *)(param_3 + 0x30) != 0" (pointer_expression "*(int *)(param_3 + 0x30)" (* "*") (cast_expression "(int *)(param_3 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x30)" (( "(") (binary_expression "param_3 + 0x30" (identifier "param_3") (+ "+") (number_literal "0x30")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))" (( "(") (parenthesized_expression "(*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0))" (( "(") (binary_expression "*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)" (binary_expression "*(char *)(param_3 + 3) == '\0'" (pointer_expression "*(char *)(param_3 + 3)" (* "*") (cast_expression "(char *)(param_3 + 3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 3)" (( "(") (binary_expression "param_3 + 3" (identifier "param_3") (+ "+") (number_literal "3")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (&& "&&") (parenthesized_expression "(*(int *)(param_3 + 0x20) == 0)" (( "(") (binary_expression "*(int *)(param_3 + 0x20) == 0" (pointer_expression "*(int *)(param_3 + 0x20)" (* "*") (cast_expression "(int *)(param_3 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x20)" (( "(") (binary_expression "param_3 + 0x20" (identifier "param_3") (+ "+") (number_literal "0x20")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    puts("Media changer diagnostics data page (smc-3) [0x16]");\n  }" ({ "{") (expression_statement "puts("Media changer diagnostics data page (smc-3) [0x16]");" (call_expression "puts("Media changer diagnostics data page (smc-3) [0x16]")" (identifier "puts") (argument_list "("Media changer diagnostics data page (smc-3) [0x16]")" (( "(") (string_literal ""Media changer diagnostics data page (smc-3) [0x16]"" (" """) (string_content "Media changer diagnostics data page (smc-3) [0x16]") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar7 = (ushort *)(param_1 + 4);" (assignment_expression "puVar7 = (ushort *)(param_1 + 4)" (identifier "puVar7") (= "=") (cast_expression "(ushort *)(param_1 + 4)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (; ";")) (expression_statement "param_2 = param_2 + -4;" (assignment_expression "param_2 = param_2 + -4" (identifier "param_2") (= "=") (binary_expression "param_2 + -4" (identifier "param_2") (+ "+") (number_literal "-4"))) (; ";")) (do_statement "do {\n    if (param_2 < 4) {\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_00023f50();\n      }\n      return 1;\n    }\n    uVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }\n    param_2 = param_2 - uVar8;\n    puVar7 = (ushort *)((int)puVar7 + uVar8);\n  } while( true );" (do "do") (compound_statement "{\n    if (param_2 < 4) {\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_00023f50();\n      }\n      return 1;\n    }\n    uVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }\n    param_2 = param_2 - uVar8;\n    puVar7 = (ushort *)((int)puVar7 + uVar8);\n  }" ({ "{") (if_statement "if (param_2 < 4) {\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_00023f50();\n      }\n      return 1;\n    }" (if "if") (parenthesized_expression "(param_2 < 4)" (( "(") (binary_expression "param_2 < 4" (identifier "param_2") (< "<") (number_literal "4")) () ")")) (compound_statement "{\nLAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_00023f50();\n      }\n      return 1;\n    }" ({ "{") (labeled_statement "LAB_000196e0:\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_00023f50();\n      }" (statement_identifier "LAB_000196e0") (: ":") (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_00023f50();\n      }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n        FUN_00023f50();\n      }" ({ "{") (expression_statement "FUN_00023f50();" (call_expression "FUN_00023f50()" (identifier "FUN_00023f50") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "uVar8 = *(byte *)((int)puVar7 + 3) + 4;" (assignment_expression "uVar8 = *(byte *)((int)puVar7 + 3) + 4" (identifier "uVar8") (= "=") (binary_expression "*(byte *)((int)puVar7 + 3) + 4" (pointer_expression "*(byte *)((int)puVar7 + 3)" (* "*") (cast_expression "(byte *)((int)puVar7 + 3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + 3)" (( "(") (binary_expression "(int)puVar7 + 3" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (number_literal "3")) () ")")))) (+ "+") (number_literal "4"))) (; ";")) (expression_statement "uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);" (assignment_expression "uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8)" (identifier "uVar3") (= "=") (call_expression "(uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(ushort)" (( "(") (identifier "ushort") () ")"))) (argument_list "(*puVar7 << 8 | *puVar7 >> 8)" (( "(") (binary_expression "*puVar7 << 8 | *puVar7 >> 8" (binary_expression "*puVar7 << 8" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (<< "<<") (number_literal "8")) (| "|") (binary_expression "*puVar7 >> 8" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (>> ">>") (number_literal "8"))) () ")")))) (; ";")) (if_statement "if (*(char *)(param_3 + 9) == '\0') {\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }" (if "if") (parenthesized_expression "(*(char *)(param_3 + 9) == '\0')" (( "(") (binary_expression "*(char *)(param_3 + 9) == '\0'" (pointer_expression "*(char *)(param_3 + 9)" (* "*") (cast_expression "(char *)(param_3 + 9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 9)" (( "(") (binary_expression "param_3 + 9" (identifier "param_3") (+ "+") (number_literal "9")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\nLAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);\n      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);\n      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;\n      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);\n      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);\n      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);\n      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));\n      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }\n      uVar3 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0xe);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x10);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x12);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      uVar3 = *(uint *)(puVar7 + 0x14);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);\n      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);\n      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);\n      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);\n      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);\n      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);\n      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);\n      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);\n      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);\n      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);\n      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);\n      if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      if (cVar1 != '\0') goto LAB_000196e0;\n    }" ({ "{") (labeled_statement "LAB_00019388:\n      __printf_chk(1,"  Parameter code: %d\n",uVar3);" (statement_identifier "LAB_00019388") (: ":") (expression_statement "__printf_chk(1,"  Parameter code: %d\n",uVar3);" (call_expression "__printf_chk(1,"  Parameter code: %d\n",uVar3)" (identifier "__printf_chk") (argument_list "(1,"  Parameter code: %d\n",uVar3)" (( "(") (number_literal "1") (, ",") (string_literal ""  Parameter code: %d\n"" (" """) (string_content "  Parameter code: %d") (escape_sequence "\n") (" """)) (, ",") (identifier "uVar3") () ")"))) (; ";"))) (expression_statement "__printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);" (call_expression "__printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f)" (identifier "__printf_chk") (argument_list "(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f)" (( "(") (number_literal "1") (, ",") (string_literal ""    Repeat: %d\n"" (" """) (string_content "    Repeat: %d") (escape_sequence "\n") (" """)) (, ",") (binary_expression "(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f" (binary_expression "(uint)(int)(char)*(byte *)((int)puVar7 + 5)" (call_expression "(uint)(int)(char)" (call_expression "(uint)(int)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(int)" (( "(") (identifier "int") () ")"))) (argument_list "(char)" (( "(") (identifier "char") () ")"))) (* "*") (cast_expression "(byte *)((int)puVar7 + 5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + 5)" (( "(") (binary_expression "(int)puVar7 + 5" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (number_literal "5")) () ")")))) (>> ">>") (number_literal "0x1f")) () ")"))) (; ";")) (expression_statement "bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;" (assignment_expression "bVar5 = *(byte *)((int)puVar7 + 5) & 0xf" (identifier "bVar5") (= "=") (binary_expression "*(byte *)((int)puVar7 + 5) & 0xf" (pointer_expression "*(byte *)((int)puVar7 + 5)" (* "*") (cast_expression "(byte *)((int)puVar7 + 5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + 5)" (( "(") (binary_expression "(int)puVar7 + 5" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (number_literal "5")) () ")")))) (& "&") (number_literal "0xf"))) (; ";")) (expression_statement "uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);" (assignment_expression "uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0)" (identifier "uVar4") (= "=") (call_expression "sg_get_sense_key_str(bVar5,0x50,local_f0)" (identifier "sg_get_sense_key_str") (argument_list "(bVar5,0x50,local_f0)" (( "(") (identifier "bVar5") (, ",") (number_literal "0x50") (, ",") (identifier "local_f0") () ")")))) (; ";")) (expression_statement "__printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);" (call_expression "__printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4)" (identifier "__printf_chk") (argument_list "(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4)" (( "(") (number_literal "1") (, ",") (string_literal ""    Sense key: 0x%x [%s]\n"" (" """) (string_content "    Sense key: 0x%x [%s]") (escape_sequence "\n") (" """)) (, ",") (identifier "bVar5") (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "__printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);" (call_expression "__printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3])" (identifier "__printf_chk") (argument_list "(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3])" (( "(") (number_literal "1") (, ",") (string_literal ""    Additional sense code: 0x%x\n"" (" """) (string_content "    Additional sense code: 0x%x") (escape_sequence "\n") (" """)) (, ",") (cast_expression "(byte)puVar7[3]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "puVar7[3]" (identifier "puVar7") ([ "[") (number_literal "3") (] "]"))) () ")"))) (; ";")) (expression_statement "__printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));" (call_expression "__printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7))" (identifier "__printf_chk") (argument_list "(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7))" (( "(") (number_literal "1") (, ",") (string_literal ""    Additional sense code qualifier: 0x%x\n"" (" """) (string_content "    Additional sense code qualifier: 0x%x") (escape_sequence "\n") (" """)) (, ",") (pointer_expression "*(byte *)((int)puVar7 + 7)" (* "*") (cast_expression "(byte *)((int)puVar7 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + 7)" (( "(") (binary_expression "(int)puVar7 + 7" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (number_literal "7")) () ")")))) () ")"))) (; ";")) (if_statement "if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }" (if "if") (parenthesized_expression "(((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0))" (( "(") (binary_expression "((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)" (parenthesized_expression "((byte)puVar7[3] != 0)" (( "(") (binary_expression "(byte)puVar7[3] != 0" (cast_expression "(byte)puVar7[3]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "puVar7[3]" (identifier "puVar7") ([ "[") (number_literal "3") (] "]"))) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(byte *)((int)puVar7 + 7) != 0)" (( "(") (binary_expression "*(byte *)((int)puVar7 + 7) != 0" (pointer_expression "*(byte *)((int)puVar7 + 7)" (* "*") (cast_expression "(byte *)((int)puVar7 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + 7)" (( "(") (binary_expression "(int)puVar7 + 7" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (number_literal "7")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);\n        __printf_chk(1,"      [%s]\n",uVar4);\n      }" ({ "{") (expression_statement "uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);" (assignment_expression "uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0)" (identifier "uVar4") (= "=") (call_expression "sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0)" (identifier "sg_get_asc_ascq_str") (argument_list "((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0)" (( "(") (cast_expression "(byte)puVar7[3]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "puVar7[3]" (identifier "puVar7") ([ "[") (number_literal "3") (] "]"))) (, ",") (pointer_expression "*(byte *)((int)puVar7 + 7)" (* "*") (cast_expression "(byte *)((int)puVar7 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + 7)" (( "(") (binary_expression "(int)puVar7 + 7" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (number_literal "7")) () ")")))) (, ",") (number_literal "0x50") (, ",") (identifier "local_f0") () ")")))) (; ";")) (expression_statement "__printf_chk(1,"      [%s]\n",uVar4);" (call_expression "__printf_chk(1,"      [%s]\n",uVar4)" (identifier "__printf_chk") (argument_list "(1,"      [%s]\n",uVar4)" (( "(") (number_literal "1") (, ",") (string_literal ""      [%s]\n"" (" """) (string_content "      [%s]") (escape_sequence "\n") (" """)) (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = *(uint *)(puVar7 + 4);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 4)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(puVar7 + 4)" (* "*") (cast_expression "(uint *)(puVar7 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 4)" (( "(") (binary_expression "puVar7 + 4" (identifier "puVar7") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "__printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (identifier "__printf_chk") (argument_list "(1,"    Vendor specific code qualifier: 0x%x\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (( "(") (number_literal "1") (, ",") (string_literal ""    Vendor specific code qualifier: 0x%x\n"" (" """) (string_content "    Vendor specific code qualifier: 0x%x") (escape_sequence "\n") (" """)) (, ",") (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" (( "(") (binary_expression "uVar3 & 0xff0000" (identifier "uVar3") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" (( "(") (binary_expression "uVar3 & 0xff00" (identifier "uVar3") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar3 << 0x18" (identifier "uVar3") (<< "<<") (number_literal "0x18"))) () ")"))) (; ";")) (expression_statement "uVar3 = *(uint *)(puVar7 + 6);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 6)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(puVar7 + 6)" (* "*") (cast_expression "(uint *)(puVar7 + 6)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 6)" (( "(") (binary_expression "puVar7 + 6" (identifier "puVar7") (+ "+") (number_literal "6")) () ")"))))) (; ";")) (expression_statement "__printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (identifier "__printf_chk") (argument_list "(1,"    Product revision level: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (( "(") (number_literal "1") (, ",") (string_literal ""    Product revision level: %u\n"" (" """) (string_content "    Product revision level: %u") (escape_sequence "\n") (" """)) (, ",") (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" (( "(") (binary_expression "uVar3 & 0xff0000" (identifier "uVar3") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" (( "(") (binary_expression "uVar3 & 0xff00" (identifier "uVar3") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar3 << 0x18" (identifier "uVar3") (<< "<<") (number_literal "0x18"))) () ")"))) (; ";")) (expression_statement "uVar3 = *(uint *)(puVar7 + 8);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 8)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(puVar7 + 8)" (* "*") (cast_expression "(uint *)(puVar7 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 8)" (( "(") (binary_expression "puVar7 + 8" (identifier "puVar7") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "__printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (identifier "__printf_chk") (argument_list "(1,"    Number of moves: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (( "(") (number_literal "1") (, ",") (string_literal ""    Number of moves: %u\n"" (" """) (string_content "    Number of moves: %u") (escape_sequence "\n") (" """)) (, ",") (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" (( "(") (binary_expression "uVar3 & 0xff0000" (identifier "uVar3") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" (( "(") (binary_expression "uVar3 & 0xff00" (identifier "uVar3") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar3 << 0x18" (identifier "uVar3") (<< "<<") (number_literal "0x18"))) () ")"))) (; ";")) (expression_statement "uVar3 = *(uint *)(puVar7 + 10);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 10)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(puVar7 + 10)" (* "*") (cast_expression "(uint *)(puVar7 + 10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 10)" (( "(") (binary_expression "puVar7 + 10" (identifier "puVar7") (+ "+") (number_literal "10")) () ")"))))) (; ";")) (expression_statement "__printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (identifier "__printf_chk") (argument_list "(1,"    Number of pick: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (( "(") (number_literal "1") (, ",") (string_literal ""    Number of pick: %u\n"" (" """) (string_content "    Number of pick: %u") (escape_sequence "\n") (" """)) (, ",") (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" (( "(") (binary_expression "uVar3 & 0xff0000" (identifier "uVar3") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" (( "(") (binary_expression "uVar3 & 0xff00" (identifier "uVar3") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar3 << 0x18" (identifier "uVar3") (<< "<<") (number_literal "0x18"))) () ")"))) (; ";")) (expression_statement "uVar3 = *(uint *)(puVar7 + 0xc);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 0xc)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(puVar7 + 0xc)" (* "*") (cast_expression "(uint *)(puVar7 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0xc)" (( "(") (binary_expression "puVar7 + 0xc" (identifier "puVar7") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "__printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (identifier "__printf_chk") (argument_list "(1,"    Number of pick retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (( "(") (number_literal "1") (, ",") (string_literal ""    Number of pick retries: %u\n"" (" """) (string_content "    Number of pick retries: %u") (escape_sequence "\n") (" """)) (, ",") (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" (( "(") (binary_expression "uVar3 & 0xff0000" (identifier "uVar3") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" (( "(") (binary_expression "uVar3 & 0xff00" (identifier "uVar3") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar3 << 0x18" (identifier "uVar3") (<< "<<") (number_literal "0x18"))) () ")"))) (; ";")) (expression_statement "uVar3 = *(uint *)(puVar7 + 0xe);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 0xe)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(puVar7 + 0xe)" (* "*") (cast_expression "(uint *)(puVar7 + 0xe)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0xe)" (( "(") (binary_expression "puVar7 + 0xe" (identifier "puVar7") (+ "+") (number_literal "0xe")) () ")"))))) (; ";")) (expression_statement "__printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (identifier "__printf_chk") (argument_list "(1,"    Number of places: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (( "(") (number_literal "1") (, ",") (string_literal ""    Number of places: %u\n"" (" """) (string_content "    Number of places: %u") (escape_sequence "\n") (" """)) (, ",") (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" (( "(") (binary_expression "uVar3 & 0xff0000" (identifier "uVar3") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" (( "(") (binary_expression "uVar3 & 0xff00" (identifier "uVar3") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar3 << 0x18" (identifier "uVar3") (<< "<<") (number_literal "0x18"))) () ")"))) (; ";")) (expression_statement "uVar3 = *(uint *)(puVar7 + 0x10);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 0x10)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(puVar7 + 0x10)" (* "*") (cast_expression "(uint *)(puVar7 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0x10)" (( "(") (binary_expression "puVar7 + 0x10" (identifier "puVar7") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "__printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (identifier "__printf_chk") (argument_list "(1,"    Number of place retries: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (( "(") (number_literal "1") (, ",") (string_literal ""    Number of place retries: %u\n"" (" """) (string_content "    Number of place retries: %u") (escape_sequence "\n") (" """)) (, ",") (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" (( "(") (binary_expression "uVar3 & 0xff0000" (identifier "uVar3") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" (( "(") (binary_expression "uVar3 & 0xff00" (identifier "uVar3") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar3 << 0x18" (identifier "uVar3") (<< "<<") (number_literal "0x18"))) () ")"))) (; ";")) (expression_statement "uVar3 = *(uint *)(puVar7 + 0x12);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 0x12)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(puVar7 + 0x12)" (* "*") (cast_expression "(uint *)(puVar7 + 0x12)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0x12)" (( "(") (binary_expression "puVar7 + 0x12" (identifier "puVar7") (+ "+") (number_literal "0x12")) () ")"))))) (; ";")) (expression_statement "__printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (identifier "__printf_chk") (argument_list "(1,"    Number of determined volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (( "(") (number_literal "1") (, ",") (string_literal ""    Number of determined volume identifiers: %u\n"" (" """) (string_content "    Number of determined volume identifiers: %u") (escape_sequence "\n") (" """)) (, ",") (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" (( "(") (binary_expression "uVar3 & 0xff0000" (identifier "uVar3") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" (( "(") (binary_expression "uVar3 & 0xff00" (identifier "uVar3") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar3 << 0x18" (identifier "uVar3") (<< "<<") (number_literal "0x18"))) () ")"))) (; ";")) (expression_statement "uVar3 = *(uint *)(puVar7 + 0x14);" (assignment_expression "uVar3 = *(uint *)(puVar7 + 0x14)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(puVar7 + 0x14)" (* "*") (cast_expression "(uint *)(puVar7 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0x14)" (( "(") (binary_expression "puVar7 + 0x14" (identifier "puVar7") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "__printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (call_expression "__printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (identifier "__printf_chk") (argument_list "(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (( "(") (number_literal "1") (, ",") (string_literal ""    Number of unreadable volume identifiers: %u\n"" (" """) (string_content "    Number of unreadable volume identifiers: %u") (escape_sequence "\n") (" """)) (, ",") (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" (( "(") (binary_expression "uVar3 & 0xff0000" (identifier "uVar3") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" (( "(") (binary_expression "uVar3 & 0xff00" (identifier "uVar3") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar3 << 0x18" (identifier "uVar3") (<< "<<") (number_literal "0x18"))) () ")"))) (; ";")) (expression_statement "__printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);" (call_expression "__printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16])" (identifier "__printf_chk") (argument_list "(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16])" (( "(") (number_literal "1") (, ",") (string_literal ""    Operation code: 0x%x\n"" (" """) (string_content "    Operation code: 0x%x") (escape_sequence "\n") (" """)) (, ",") (cast_expression "(byte)puVar7[0x16]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "puVar7[0x16]" (identifier "puVar7") ([ "[") (number_literal "0x16") (] "]"))) () ")"))) (; ";")) (expression_statement "__printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);" (call_expression "__printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf)" (identifier "__printf_chk") (argument_list "(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf)" (( "(") (number_literal "1") (, ",") (string_literal ""    Service action: 0x%x\n"" (" """) (string_content "    Service action: 0x%x") (escape_sequence "\n") (" """)) (, ",") (binary_expression "*(byte *)((int)puVar7 + 0x2d) & 0xf" (pointer_expression "*(byte *)((int)puVar7 + 0x2d)" (* "*") (cast_expression "(byte *)((int)puVar7 + 0x2d)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + 0x2d)" (( "(") (binary_expression "(int)puVar7 + 0x2d" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (number_literal "0x2d")) () ")")))) (& "&") (number_literal "0xf")) () ")"))) (; ";")) (expression_statement "__printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);" (call_expression "__printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17])" (identifier "__printf_chk") (argument_list "(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17])" (( "(") (number_literal "1") (, ",") (string_literal ""    Media changer error type: 0x%x\n"" (" """) (string_content "    Media changer error type: 0x%x") (escape_sequence "\n") (" """)) (, ",") (cast_expression "(byte)puVar7[0x17]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "puVar7[0x17]" (identifier "puVar7") ([ "[") (number_literal "0x17") (] "]"))) () ")"))) (; ";")) (expression_statement "__printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);" (call_expression "__printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1)" (identifier "__printf_chk") (argument_list "(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1)" (( "(") (number_literal "1") (, ",") (string_literal ""    MTAV: %d\n"" (" """) (string_content "    MTAV: %d") (escape_sequence "\n") (" """)) (, ",") (binary_expression "*(byte *)((int)puVar7 + 0x2f) >> 3 & 1" (binary_expression "*(byte *)((int)puVar7 + 0x2f) >> 3" (pointer_expression "*(byte *)((int)puVar7 + 0x2f)" (* "*") (cast_expression "(byte *)((int)puVar7 + 0x2f)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + 0x2f)" (( "(") (binary_expression "(int)puVar7 + 0x2f" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (number_literal "0x2f")) () ")")))) (>> ">>") (number_literal "3")) (& "&") (number_literal "1")) () ")"))) (; ";")) (expression_statement "__printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);" (call_expression "__printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1)" (identifier "__printf_chk") (argument_list "(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1)" (( "(") (number_literal "1") (, ",") (string_literal ""    IAV: %d\n"" (" """) (string_content "    IAV: %d") (escape_sequence "\n") (" """)) (, ",") (binary_expression "*(byte *)((int)puVar7 + 0x2f) >> 2 & 1" (binary_expression "*(byte *)((int)puVar7 + 0x2f) >> 2" (pointer_expression "*(byte *)((int)puVar7 + 0x2f)" (* "*") (cast_expression "(byte *)((int)puVar7 + 0x2f)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + 0x2f)" (( "(") (binary_expression "(int)puVar7 + 0x2f" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (number_literal "0x2f")) () ")")))) (>> ">>") (number_literal "2")) (& "&") (number_literal "1")) () ")"))) (; ";")) (expression_statement "__printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);" (call_expression "__printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1)" (identifier "__printf_chk") (argument_list "(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1)" (( "(") (number_literal "1") (, ",") (string_literal ""    LSAV: %d\n"" (" """) (string_content "    LSAV: %d") (escape_sequence "\n") (" """)) (, ",") (binary_expression "*(byte *)((int)puVar7 + 0x2f) >> 1 & 1" (binary_expression "*(byte *)((int)puVar7 + 0x2f) >> 1" (pointer_expression "*(byte *)((int)puVar7 + 0x2f)" (* "*") (cast_expression "(byte *)((int)puVar7 + 0x2f)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + 0x2f)" (( "(") (binary_expression "(int)puVar7 + 0x2f" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (number_literal "0x2f")) () ")")))) (>> ">>") (number_literal "1")) (& "&") (number_literal "1")) () ")"))) (; ";")) (expression_statement "__printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);" (call_expression "__printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1)" (identifier "__printf_chk") (argument_list "(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1)" (( "(") (number_literal "1") (, ",") (string_literal ""    DAV: %d\n"" (" """) (string_content "    DAV: %d") (escape_sequence "\n") (" """)) (, ",") (binary_expression "*(byte *)((int)puVar7 + 0x2f) & 1" (pointer_expression "*(byte *)((int)puVar7 + 0x2f)" (* "*") (cast_expression "(byte *)((int)puVar7 + 0x2f)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + 0x2f)" (( "(") (binary_expression "(int)puVar7 + 0x2f" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (number_literal "0x2f")) () ")")))) (& "&") (number_literal "1")) () ")"))) (; ";")) (expression_statement "__printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);" (call_expression "__printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8)" (identifier "__printf_chk") (argument_list "(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8)" (( "(") (number_literal "1") (, ",") (string_literal ""    Medium transport address: 0x%x\n"" (" """) (string_content "    Medium transport address: 0x%x") (escape_sequence "\n") (" """)) (, ",") (binary_expression "puVar7[0x18] << 8 | puVar7[0x18] >> 8" (binary_expression "puVar7[0x18] << 8" (subscript_expression "puVar7[0x18]" (identifier "puVar7") ([ "[") (number_literal "0x18") (] "]")) (<< "<<") (number_literal "8")) (| "|") (binary_expression "puVar7[0x18] >> 8" (subscript_expression "puVar7[0x18]" (identifier "puVar7") ([ "[") (number_literal "0x18") (] "]")) (>> ">>") (number_literal "8"))) () ")"))) (; ";")) (expression_statement "__printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);" (call_expression "__printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8)" (identifier "__printf_chk") (argument_list "(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8)" (( "(") (number_literal "1") (, ",") (string_literal ""    Initial address: 0x%x\n"" (" """) (string_content "    Initial address: 0x%x") (escape_sequence "\n") (" """)) (, ",") (binary_expression "puVar7[0x19] << 8 | puVar7[0x19] >> 8" (binary_expression "puVar7[0x19] << 8" (subscript_expression "puVar7[0x19]" (identifier "puVar7") ([ "[") (number_literal "0x19") (] "]")) (<< "<<") (number_literal "8")) (| "|") (binary_expression "puVar7[0x19] >> 8" (subscript_expression "puVar7[0x19]" (identifier "puVar7") ([ "[") (number_literal "0x19") (] "]")) (>> ">>") (number_literal "8"))) () ")"))) (; ";")) (expression_statement "__printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);" (call_expression "__printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8)" (identifier "__printf_chk") (argument_list "(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8)" (( "(") (number_literal "1") (, ",") (string_literal ""    Last successful address: 0x%x\n"" (" """) (string_content "    Last successful address: 0x%x") (escape_sequence "\n") (" """)) (, ",") (binary_expression "puVar7[0x1a] << 8 | puVar7[0x1a] >> 8" (binary_expression "puVar7[0x1a] << 8" (subscript_expression "puVar7[0x1a]" (identifier "puVar7") ([ "[") (number_literal "0x1a") (] "]")) (<< "<<") (number_literal "8")) (| "|") (binary_expression "puVar7[0x1a] >> 8" (subscript_expression "puVar7[0x1a]" (identifier "puVar7") ([ "[") (number_literal "0x1a") (] "]")) (>> ">>") (number_literal "8"))) () ")"))) (; ";")) (expression_statement "__printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);" (call_expression "__printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8)" (identifier "__printf_chk") (argument_list "(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8)" (( "(") (number_literal "1") (, ",") (string_literal ""    Destination address: 0x%x\n"" (" """) (string_content "    Destination address: 0x%x") (escape_sequence "\n") (" """)) (, ",") (binary_expression "puVar7[0x1b] << 8 | puVar7[0x1b] >> 8" (binary_expression "puVar7[0x1b] << 8" (subscript_expression "puVar7[0x1b]" (identifier "puVar7") ([ "[") (number_literal "0x1b") (] "]")) (<< "<<") (number_literal "8")) (| "|") (binary_expression "puVar7[0x1b] >> 8" (subscript_expression "puVar7[0x1b]" (identifier "puVar7") ([ "[") (number_literal "0x1b") (] "]")) (>> ">>") (number_literal "8"))) () ")"))) (; ";")) (if_statement "if (uVar8 < 0x5c) {\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }\n      else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }" (if "if") (parenthesized_expression "(uVar8 < 0x5c)" (( "(") (binary_expression "uVar8 < 0x5c" (identifier "uVar8") (< "<") (number_literal "0x5c")) () ")")) (compound_statement "{\nLAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);\n      }" ({ "{") (labeled_statement "LAB_00019330:\n        cVar1 = *(char *)(param_3 + 1);" (statement_identifier "LAB_00019330") (: ":") (expression_statement "cVar1 = *(char *)(param_3 + 1);" (assignment_expression "cVar1 = *(char *)(param_3 + 1)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)(param_3 + 1)" (* "*") (cast_expression "(char *)(param_3 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 1)" (( "(") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1")) () ")"))))) (; ";"))) (} "}")) (else_clause "else {\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }" (else "else") (compound_statement "{\n        puts("    Volume tag information:");\n        hex2stdout(puVar7 + 0x1c,0x24,0);\n        if (uVar8 < 100) goto LAB_00019330;\n        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);\n        puts("    Timestamp:");\n        hex2stdout(puVar7 + 0x2f,6,1);\n        cVar1 = *(char *)(param_3 + 1);\n      }" ({ "{") (expression_statement "puts("    Volume tag information:");" (call_expression "puts("    Volume tag information:")" (identifier "puts") (argument_list "("    Volume tag information:")" (( "(") (string_literal ""    Volume tag information:"" (" """) (string_content "    Volume tag information:") (" """)) () ")"))) (; ";")) (expression_statement "hex2stdout(puVar7 + 0x1c,0x24,0);" (call_expression "hex2stdout(puVar7 + 0x1c,0x24,0)" (identifier "hex2stdout") (argument_list "(puVar7 + 0x1c,0x24,0)" (( "(") (binary_expression "puVar7 + 0x1c" (identifier "puVar7") (+ "+") (number_literal "0x1c")) (, ",") (number_literal "0x24") (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (uVar8 < 100) goto LAB_00019330;" (if "if") (parenthesized_expression "(uVar8 < 100)" (( "(") (binary_expression "uVar8 < 100" (identifier "uVar8") (< "<") (number_literal "100")) () ")")) (goto_statement "goto LAB_00019330;" (goto "goto") (statement_identifier "LAB_00019330") (; ";"))) (expression_statement "__printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);" (call_expression "__printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf)" (identifier "__printf_chk") (argument_list "(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf)" (( "(") (number_literal "1") (, ",") (string_literal ""    Timestamp origin: 0x%x\n"" (" """) (string_content "    Timestamp origin: 0x%x") (escape_sequence "\n") (" """)) (, ",") (binary_expression "(byte)puVar7[0x2e] & 0xf" (cast_expression "(byte)puVar7[0x2e]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "puVar7[0x2e]" (identifier "puVar7") ([ "[") (number_literal "0x2e") (] "]"))) (& "&") (number_literal "0xf")) () ")"))) (; ";")) (expression_statement "puts("    Timestamp:");" (call_expression "puts("    Timestamp:")" (identifier "puts") (argument_list "("    Timestamp:")" (( "(") (string_literal ""    Timestamp:"" (" """) (string_content "    Timestamp:") (" """)) () ")"))) (; ";")) (expression_statement "hex2stdout(puVar7 + 0x2f,6,1);" (call_expression "hex2stdout(puVar7 + 0x2f,6,1)" (identifier "hex2stdout") (argument_list "(puVar7 + 0x2f,6,1)" (( "(") (binary_expression "puVar7 + 0x2f" (identifier "puVar7") (+ "+") (number_literal "0x2f")) (, ",") (number_literal "6") (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "cVar1 = *(char *)(param_3 + 1);" (assignment_expression "cVar1 = *(char *)(param_3 + 1)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)(param_3 + 1)" (* "*") (cast_expression "(char *)(param_3 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 1)" (( "(") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (cVar1 == '\0') {\n        cVar1 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }" (if "if") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        cVar1 = *(char *)(param_3 + 9);\n      }" ({ "{") (expression_statement "cVar1 = *(char *)(param_3 + 9);" (assignment_expression "cVar1 = *(char *)(param_3 + 9)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)(param_3 + 9)" (* "*") (cast_expression "(char *)(param_3 + 9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 9)" (( "(") (binary_expression "param_3 + 9" (identifier "param_3") (+ "+") (number_literal "9")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }" (else "else") (compound_statement "{\n        uVar4 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar4);\n        cVar1 = *(char *)(param_3 + 9);\n      }" ({ "{") (expression_statement "uVar4 = FUN_00014e80();" (assignment_expression "uVar4 = FUN_00014e80()" (identifier "uVar4") (= "=") (call_expression "FUN_00014e80()" (identifier "FUN_00014e80") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "__printf_chk(1,&DAT_0002c460,uVar4);" (call_expression "__printf_chk(1,&DAT_0002c460,uVar4)" (identifier "__printf_chk") (argument_list "(1,&DAT_0002c460,uVar4)" (( "(") (number_literal "1") (, ",") (pointer_expression "&DAT_0002c460" (& "&") (identifier "DAT_0002c460")) (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "cVar1 = *(char *)(param_3 + 9);" (assignment_expression "cVar1 = *(char *)(param_3 + 9)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)(param_3 + 9)" (* "*") (cast_expression "(char *)(param_3 + 9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 9)" (( "(") (binary_expression "param_3 + 9" (identifier "param_3") (+ "+") (number_literal "9")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (cVar1 != '\0') goto LAB_000196e0;" (if "if") (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_000196e0;" (goto "goto") (statement_identifier "LAB_000196e0") (; ";"))) (} "}")) (else_clause "else if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }" (else "else") (if_statement "if (*(uint *)(param_3 + 0x34) == uVar3) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }" (if "if") (parenthesized_expression "(*(uint *)(param_3 + 0x34) == uVar3)" (( "(") (binary_expression "*(uint *)(param_3 + 0x34) == uVar3" (pointer_expression "*(uint *)(param_3 + 0x34)" (* "*") (cast_expression "(uint *)(param_3 + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x34)" (( "(") (binary_expression "param_3 + 0x34" (identifier "param_3") (+ "+") (number_literal "0x34")) () ")")))) (== "==") (identifier "uVar3")) () ")")) (compound_statement "{\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_000196e0;\n    }" ({ "{") (if_statement "if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }" (if "if") (parenthesized_expression "(*(char *)(param_3 + 3) == '\0')" (( "(") (binary_expression "*(char *)(param_3 + 3) == '\0'" (pointer_expression "*(char *)(param_3 + 3)" (* "*") (cast_expression "(char *)(param_3 + 3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 3)" (( "(") (binary_expression "param_3 + 3" (identifier "param_3") (+ "+") (number_literal "3")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_00019388;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,uVar8,iVar6);\n      }" ({ "{") (expression_statement "iVar6 = *(int *)(param_3 + 0x20);" (assignment_expression "iVar6 = *(int *)(param_3 + 0x20)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_3 + 0x20)" (* "*") (cast_expression "(int *)(param_3 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x20)" (( "(") (binary_expression "param_3 + 0x20" (identifier "param_3") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (if_statement "if (iVar6 == 0) goto LAB_00019388;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00019388;" (goto "goto") (statement_identifier "LAB_00019388") (; ";"))) (if_statement "if (iVar6 != 1) {\n          iVar6 = -1;\n        }" (if "if") (parenthesized_expression "(iVar6 != 1)" (( "(") (binary_expression "iVar6 != 1" (identifier "iVar6") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n          iVar6 = -1;\n        }" ({ "{") (expression_statement "iVar6 = -1;" (assignment_expression "iVar6 = -1" (identifier "iVar6") (= "=") (number_literal "-1")) (; ";")) (} "}"))) (expression_statement "hex2stdout(puVar7,uVar8,iVar6);" (call_expression "hex2stdout(puVar7,uVar8,iVar6)" (identifier "hex2stdout") (argument_list "(puVar7,uVar8,iVar6)" (( "(") (identifier "puVar7") (, ",") (identifier "uVar8") (, ",") (identifier "iVar6") () ")"))) (; ";")) (} "}")) (else_clause "else {\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }" (else "else") (compound_statement "{\n        puVar9 = (ushort *)(uVar8 + (int)puVar7);\n        do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);\n      }" ({ "{") (expression_statement "puVar9 = (ushort *)(uVar8 + (int)puVar7);" (assignment_expression "puVar9 = (ushort *)(uVar8 + (int)puVar7)" (identifier "puVar9") (= "=") (cast_expression "(ushort *)(uVar8 + (int)puVar7)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar8 + (int)puVar7)" (( "(") (binary_expression "uVar8 + (int)puVar7" (identifier "uVar8") (+ "+") (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7"))) () ")")))) (; ";")) (do_statement "do {\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        } while (puVar9 != puVar7);" (do "do") (compound_statement "{\n          uVar2 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar2);\n        }" ({ "{") (expression_statement "uVar2 = *puVar7;" (assignment_expression "uVar2 = *puVar7" (identifier "uVar2") (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "puVar7 = (ushort *)((int)puVar7 + 1);" (assignment_expression "puVar7 = (ushort *)((int)puVar7 + 1)" (identifier "puVar7") (= "=") (cast_expression "(ushort *)((int)puVar7 + 1)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + 1)" (( "(") (binary_expression "(int)puVar7 + 1" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "putchar((uint)(byte)uVar2);" (call_expression "putchar((uint)(byte)uVar2)" (identifier "putchar") (argument_list "((uint)(byte)uVar2)" (( "(") (cast_expression "(uint)(byte)uVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)uVar2" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar2"))) () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar9 != puVar7)" (( "(") (binary_expression "puVar9 != puVar7" (identifier "puVar9") (!= "!=") (identifier "puVar7")) () ")")) (; ";")) (} "}")))) (goto_statement "goto LAB_000196e0;" (goto "goto") (statement_identifier "LAB_000196e0") (; ";")) (} "}"))))) (expression_statement "param_2 = param_2 - uVar8;" (assignment_expression "param_2 = param_2 - uVar8" (identifier "param_2") (= "=") (binary_expression "param_2 - uVar8" (identifier "param_2") (- "-") (identifier "uVar8"))) (; ";")) (expression_statement "puVar7 = (ushort *)((int)puVar7 + uVar8);" (assignment_expression "puVar7 = (ushort *)((int)puVar7 + uVar8)" (identifier "puVar7") (= "=") (cast_expression "(ushort *)((int)puVar7 + uVar8)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + uVar8)" (( "(") (binary_expression "(int)puVar7 + uVar8" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (identifier "uVar8")) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

type_1 function_1(uint8_t *var_3,int var_4,type_2 *op)

{
  int var_6;
  char var_15;
  type_3 uVar3;
  int var_5;
  type_4 var_12;
  type_5 uVar6;
  char *pcVar7;
  int extraout_ECX;
  int extraout_ECX_00;
  int extraout_ECX_01;
  type_6 bVar8;
  int var_17;
  type_3 *var_11;
  type_4 var_13;
  type_3 *var_19;
  int var_1;
  char b [80];
  char str [128];
  
  var_6 = *(int *)(var_1 + 0x14);
  if ((op->verbose != 0) || ((op->do_raw == false && (op->do_hex == 0)))) {
    var_2("Media changer diagnostics data page (smc-3) [0x16]");
  }
  var_11 = (type_3 *)(var_3 + 4);
  var_5 = var_4 + -4;
  do {
    if (var_5 < 4) {
LAB_000196e0:
      if (var_6 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
        var_7();
      }
      return true;
    }
    var_13 = *(type_6 *)((int)var_11 + 3) + 4;
    var_12 = (type_4)(type_3)(*var_11 << 8 | *var_11 >> 8);
    if (op->filter_given == false) {
LAB_00019388:
      var_8(1,"  Parameter code: %d\n",var_12);
      var_8(1,"    Repeat: %d\n",(type_4)(int)(char)*(type_6 *)((int)var_11 + 5) >> 0x1f);
      bVar8 = *(type_6 *)((int)var_11 + 5) & 0xf;
      uVar6 = var_9(bVar8,0x50,b);
      var_8(1,"    Sense key: 0x%x [%s]\n",bVar8,uVar6);
      var_8(1,"    Additional sense code: 0x%x\n",(type_6)var_11[3]);
      var_8(1,"    Additional sense code qualifier: 0x%x\n",*(type_6 *)((int)var_11 + 7));
      if (((type_6)var_11[3] != 0) || (*(type_6 *)((int)var_11 + 7) != 0)) {
        uVar6 = var_10((type_6)var_11[3],*(type_6 *)((int)var_11 + 7),0x50,b);
        var_8(1,"      [%s]\n",uVar6);
      }
      var_12 = *(type_4 *)(var_11 + 4);
      var_8(1,"    Vendor specific code qualifier: 0x%x\n",
                   var_12 >> 0x18 | (var_12 & 0xff0000) >> 8 | (var_12 & 0xff00) << 8 | var_12 << 0x18);
      var_12 = *(type_4 *)(var_11 + 6);
      var_8(1,"    Product revision level: %u\n",
                   var_12 >> 0x18 | (var_12 & 0xff0000) >> 8 | (var_12 & 0xff00) << 8 | var_12 << 0x18);
      var_12 = *(type_4 *)(var_11 + 8);
      var_8(1,"    Number of moves: %u\n",
                   var_12 >> 0x18 | (var_12 & 0xff0000) >> 8 | (var_12 & 0xff00) << 8 | var_12 << 0x18);
      var_12 = *(type_4 *)(var_11 + 10);
      var_8(1,"    Number of pick: %u\n",
                   var_12 >> 0x18 | (var_12 & 0xff0000) >> 8 | (var_12 & 0xff00) << 8 | var_12 << 0x18);
      var_12 = *(type_4 *)(var_11 + 0xc);
      var_8(1,"    Number of pick retries: %u\n",
                   var_12 >> 0x18 | (var_12 & 0xff0000) >> 8 | (var_12 & 0xff00) << 8 | var_12 << 0x18);
      var_12 = *(type_4 *)(var_11 + 0xe);
      var_8(1,"    Number of places: %u\n",
                   var_12 >> 0x18 | (var_12 & 0xff0000) >> 8 | (var_12 & 0xff00) << 8 | var_12 << 0x18);
      var_12 = *(type_4 *)(var_11 + 0x10);
      var_8(1,"    Number of place retries: %u\n",
                   var_12 >> 0x18 | (var_12 & 0xff0000) >> 8 | (var_12 & 0xff00) << 8 | var_12 << 0x18);
      var_12 = *(type_4 *)(var_11 + 0x12);
      var_8(1,"    Number of determined volume identifiers: %u\n",
                   var_12 >> 0x18 | (var_12 & 0xff0000) >> 8 | (var_12 & 0xff00) << 8 | var_12 << 0x18);
      var_12 = *(type_4 *)(var_11 + 0x14);
      var_8(1,"    Number of unreadable volume identifiers: %u\n",
                   var_12 >> 0x18 | (var_12 & 0xff0000) >> 8 | (var_12 & 0xff00) << 8 | var_12 << 0x18);
      var_8(1,"    Operation code: 0x%x\n",(type_6)var_11[0x16]);
      var_8(1,"    Service action: 0x%x\n",*(type_6 *)((int)var_11 + 0x2d) & 0xf);
      var_8(1,"    Media changer error type: 0x%x\n",(type_6)var_11[0x17]);
      var_8(1,"    MTAV: %d\n",*(type_6 *)((int)var_11 + 0x2f) >> 3 & 1);
      var_8(1,"    IAV: %d\n",*(type_6 *)((int)var_11 + 0x2f) >> 2 & 1);
      var_8(1,"    LSAV: %d\n",*(type_6 *)((int)var_11 + 0x2f) >> 1 & 1);
      var_8(1,"    DAV: %d\n",*(type_6 *)((int)var_11 + 0x2f) & 1);
      var_8(1,"    Medium transport address: 0x%x\n",var_11[0x18] << 8 | var_11[0x18] >> 8)
      ;
      var_8(1,"    Initial address: 0x%x\n",var_11[0x19] << 8 | var_11[0x19] >> 8);
      var_8(1,"    Last successful address: 0x%x\n",var_11[0x1a] << 8 | var_11[0x1a] >> 8);
      var_8(1,"    Destination address: 0x%x\n",var_11[0x1b] << 8 | var_11[0x1b] >> 8);
      var_17 = extraout_ECX;
      if (var_13 < 0x5c) {
LAB_00019330:
        var_15 = op->do_pcb;
      }
      else {
        var_2("    Volume tag information:");
        var_14(var_11 + 0x1c,0x24,0);
        var_17 = extraout_ECX_00;
        if (var_13 < 100) goto LAB_00019330;
        var_8(1,"    Timestamp origin: 0x%x\n",(type_6)var_11[0x2e] & 0xf);
        var_2("    Timestamp:");
        var_14(var_11 + 0x2f,6,1);
        var_15 = op->do_pcb;
        var_17 = extraout_ECX_01;
      }
      if (var_15 == '\0') {
        var_15 = op->filter_given;
      }
      else {
        pcVar7 = var_16((type_4)(type_6)var_11[1],str,var_17);
        var_8(1,&DAT_0002c460,pcVar7);
        var_15 = op->filter_given;
      }
      if (var_15 != '\0') goto LAB_000196e0;
    }
    else if (op->filter == var_12) {
      if (op->do_raw == false) {
        var_17 = op->do_hex;
        if (var_17 == 0) goto LAB_00019388;
        if (var_17 != 1) {
          var_17 = -1;
        }
        var_14(var_11,var_13,var_17);
      }
      else {
        var_19 = (type_3 *)(var_13 + (int)var_11);
        do {
          uVar3 = *var_11;
          var_11 = (type_3 *)((int)var_11 + 1);
          var_18((type_4)(type_6)uVar3);
        } while (var_19 != var_11);
      }
      goto LAB_000196e0;
    }
    var_5 = var_5 - var_13;
    var_11 = (type_3 *)((int)var_11 + var_13);
  } while( true );
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(int param_1,int param_2,int param_3)

{
  char cVar1;
  ushort uVar2;
  uint uVar3;
  undefined4 uVar4;
  byte bVar5;
  int iVar6;
  ushort *puVar7;
  uint uVar8;
  ushort *puVar9;
  int in_GS_OFFSET;
  undefined1 local_f0 [208];
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x192b9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if ((*(int *)(param_3 + 0x30) != 0) ||
     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))) {
    puts("Media changer diagnostics data page (smc-3) [0x16]");
  }
  puVar7 = (ushort *)(param_1 + 4);
  param_2 = param_2 + -4;
  do {
    if (param_2 < 4) {
LAB_000196e0:
      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
        FUN_00023f50();
      }
      return 1;
    }
    uVar8 = *(byte *)((int)puVar7 + 3) + 4;
    uVar3 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);
    if (*(char *)(param_3 + 9) == '\0') {
LAB_00019388:
      __printf_chk(1,"  Parameter code: %d\n",uVar3);
      __printf_chk(1,"    Repeat: %d\n",(uint)(int)(char)*(byte *)((int)puVar7 + 5) >> 0x1f);
      bVar5 = *(byte *)((int)puVar7 + 5) & 0xf;
      uVar4 = sg_get_sense_key_str(bVar5,0x50,local_f0);
      __printf_chk(1,"    Sense key: 0x%x [%s]\n",bVar5,uVar4);
      __printf_chk(1,"    Additional sense code: 0x%x\n",(byte)puVar7[3]);
      __printf_chk(1,"    Additional sense code qualifier: 0x%x\n",*(byte *)((int)puVar7 + 7));
      if (((byte)puVar7[3] != 0) || (*(byte *)((int)puVar7 + 7) != 0)) {
        uVar4 = sg_get_asc_ascq_str((byte)puVar7[3],*(byte *)((int)puVar7 + 7),0x50,local_f0);
        __printf_chk(1,"      [%s]\n",uVar4);
      }
      uVar3 = *(uint *)(puVar7 + 4);
      __printf_chk(1,"    Vendor specific code qualifier: 0x%x\n",
                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
      uVar3 = *(uint *)(puVar7 + 6);
      __printf_chk(1,"    Product revision level: %u\n",
                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
      uVar3 = *(uint *)(puVar7 + 8);
      __printf_chk(1,"    Number of moves: %u\n",
                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
      uVar3 = *(uint *)(puVar7 + 10);
      __printf_chk(1,"    Number of pick: %u\n",
                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
      uVar3 = *(uint *)(puVar7 + 0xc);
      __printf_chk(1,"    Number of pick retries: %u\n",
                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
      uVar3 = *(uint *)(puVar7 + 0xe);
      __printf_chk(1,"    Number of places: %u\n",
                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
      uVar3 = *(uint *)(puVar7 + 0x10);
      __printf_chk(1,"    Number of place retries: %u\n",
                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
      uVar3 = *(uint *)(puVar7 + 0x12);
      __printf_chk(1,"    Number of determined volume identifiers: %u\n",
                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
      uVar3 = *(uint *)(puVar7 + 0x14);
      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",
                   uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
      __printf_chk(1,"    Operation code: 0x%x\n",(byte)puVar7[0x16]);
      __printf_chk(1,"    Service action: 0x%x\n",*(byte *)((int)puVar7 + 0x2d) & 0xf);
      __printf_chk(1,"    Media changer error type: 0x%x\n",(byte)puVar7[0x17]);
      __printf_chk(1,"    MTAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 3 & 1);
      __printf_chk(1,"    IAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 2 & 1);
      __printf_chk(1,"    LSAV: %d\n",*(byte *)((int)puVar7 + 0x2f) >> 1 & 1);
      __printf_chk(1,"    DAV: %d\n",*(byte *)((int)puVar7 + 0x2f) & 1);
      __printf_chk(1,"    Medium transport address: 0x%x\n",puVar7[0x18] << 8 | puVar7[0x18] >> 8);
      __printf_chk(1,"    Initial address: 0x%x\n",puVar7[0x19] << 8 | puVar7[0x19] >> 8);
      __printf_chk(1,"    Last successful address: 0x%x\n",puVar7[0x1a] << 8 | puVar7[0x1a] >> 8);
      __printf_chk(1,"    Destination address: 0x%x\n",puVar7[0x1b] << 8 | puVar7[0x1b] >> 8);
      if (uVar8 < 0x5c) {
LAB_00019330:
        cVar1 = *(char *)(param_3 + 1);
      }
      else {
        puts("    Volume tag information:");
        hex2stdout(puVar7 + 0x1c,0x24,0);
        if (uVar8 < 100) goto LAB_00019330;
        __printf_chk(1,"    Timestamp origin: 0x%x\n",(byte)puVar7[0x2e] & 0xf);
        puts("    Timestamp:");
        hex2stdout(puVar7 + 0x2f,6,1);
        cVar1 = *(char *)(param_3 + 1);
      }
      if (cVar1 == '\0') {
        cVar1 = *(char *)(param_3 + 9);
      }
      else {
        uVar4 = FUN_00014e80();
        __printf_chk(1,&DAT_0002c460,uVar4);
        cVar1 = *(char *)(param_3 + 9);
      }
      if (cVar1 != '\0') goto LAB_000196e0;
    }
    else if (*(uint *)(param_3 + 0x34) == uVar3) {
      if (*(char *)(param_3 + 3) == '\0') {
        iVar6 = *(int *)(param_3 + 0x20);
        if (iVar6 == 0) goto LAB_00019388;
        if (iVar6 != 1) {
          iVar6 = -1;
        }
        hex2stdout(puVar7,uVar8,iVar6);
      }
      else {
        puVar9 = (ushort *)(uVar8 + (int)puVar7);
        do {
          uVar2 = *puVar7;
          puVar7 = (ushort *)((int)puVar7 + 1);
          putchar((uint)(byte)uVar2);
        } while (puVar9 != puVar7);
      }
      goto LAB_000196e0;
    }
    param_2 = param_2 - uVar8;
    puVar7 = (ushort *)((int)puVar7 + uVar8);
  } while( true );
}

