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

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

{
  int iVar1;
  char cVar2;
  ushort uVar3;
  uint uVar4;
  char *pcVar5;
  int maxoutlen;
  int iVar6;
  ushort *puVar7;
  int iVar8;
  ushort *puVar9;
  int in_GS_OFFSET;
  char str [128];
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if ((op->verbose != 0) || ((op->do_raw == false && (op->do_hex == 0)))) {
    puts("Element statistics page (smc-3) [0x15]");
  }
  puVar7 = (ushort *)(resp + 4);
  maxoutlen = len + -4;
  do {
    if (maxoutlen < 4) {
LAB_00018580:
      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
        return true;
      }
                    /* WARNING: Subroutine does not return */
      __stack_chk_fail_local();
    }
    iVar8 = *(byte *)((int)puVar7 + 3) + 4;
    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);
    if (op->filter_given == false) {
LAB_000184a0:
      __printf_chk(1,"  Element address: %d\n",uVar4);
      uVar4 = *(uint *)(puVar7 + 2);
      __printf_chk(1,"    Number of places: %u\n",
                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);
      uVar4 = *(uint *)(puVar7 + 4);
      __printf_chk(1,"    Number of place retries: %u\n",
                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);
      uVar4 = *(uint *)(puVar7 + 6);
      __printf_chk(1,"    Number of picks: %u\n",
                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);
      uVar4 = *(uint *)(puVar7 + 8);
      __printf_chk(1,"    Number of pick retries: %u\n",
                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);
      uVar4 = *(uint *)(puVar7 + 10);
      __printf_chk(1,"    Number of determined volume identifiers: %u\n",
                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);
      uVar4 = *(uint *)(puVar7 + 0xc);
      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",
                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);
      if (op->do_pcb == false) {
        cVar2 = op->filter_given;
      }
      else {
        pcVar5 = get_pcb_str((uint)(byte)puVar7[1],str,maxoutlen);
        __printf_chk(1,&DAT_0002c460,pcVar5);
        cVar2 = op->filter_given;
      }
      if (cVar2 != '\0') goto LAB_00018580;
    }
    else if (op->filter == uVar4) {
      if (op->do_raw == false) {
        iVar6 = op->do_hex;
        if (iVar6 == 0) goto LAB_000184a0;
        if (iVar6 != 1) {
          iVar6 = -1;
        }
        hex2stdout(puVar7,iVar8,iVar6);
      }
      else {
        puVar9 = (ushort *)(iVar8 + (int)puVar7);
        do {
          uVar3 = *puVar7;
          puVar7 = (ushort *)((int)puVar7 + 1);
          putchar((uint)(byte)uVar3);
        } while (puVar9 != puVar7);
      }
      goto LAB_00018580;
    }
    maxoutlen = maxoutlen - iVar8;
    puVar7 = (ushort *)((int)puVar7 + iVar8);
  } while( true );
}



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

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

{
  int iVar1;
  char cVar2;
  ushort uVar3;
  uint uVar4;
  undefined4 uVar5;
  int iVar6;
  ushort *puVar7;
  int iVar8;
  ushort *puVar9;
  int in_GS_OFFSET;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if ((*(int *)(param_3 + 0x30) != 0) ||
     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))) {
    puts("Element statistics page (smc-3) [0x15]");
  }
  puVar7 = (ushort *)(param_1 + 4);
  param_2 = param_2 + -4;
  do {
    if (param_2 < 4) {
LAB_00018580:
      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
        return 1;
      }
                    /* WARNING: Subroutine does not return */
      FUN_00023f50();
    }
    iVar8 = *(byte *)((int)puVar7 + 3) + 4;
    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);
    if (*(char *)(param_3 + 9) == '\0') {
LAB_000184a0:
      __printf_chk(1,"  Element address: %d\n",uVar4);
      uVar4 = *(uint *)(puVar7 + 2);
      __printf_chk(1,"    Number of places: %u\n",
                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);
      uVar4 = *(uint *)(puVar7 + 4);
      __printf_chk(1,"    Number of place retries: %u\n",
                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);
      uVar4 = *(uint *)(puVar7 + 6);
      __printf_chk(1,"    Number of picks: %u\n",
                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);
      uVar4 = *(uint *)(puVar7 + 8);
      __printf_chk(1,"    Number of pick retries: %u\n",
                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);
      uVar4 = *(uint *)(puVar7 + 10);
      __printf_chk(1,"    Number of determined volume identifiers: %u\n",
                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);
      uVar4 = *(uint *)(puVar7 + 0xc);
      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",
                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);
      if (*(char *)(param_3 + 1) == '\0') {
        cVar2 = *(char *)(param_3 + 9);
      }
      else {
        uVar5 = FUN_00014e80();
        __printf_chk(1,&DAT_0002c460,uVar5);
        cVar2 = *(char *)(param_3 + 9);
      }
      if (cVar2 != '\0') goto LAB_00018580;
    }
    else if (*(uint *)(param_3 + 0x34) == uVar4) {
      if (*(char *)(param_3 + 3) == '\0') {
        iVar6 = *(int *)(param_3 + 0x20);
        if (iVar6 == 0) goto LAB_000184a0;
        if (iVar6 != 1) {
          iVar6 = -1;
        }
        hex2stdout(puVar7,iVar8,iVar6);
      }
      else {
        puVar9 = (ushort *)(iVar8 + (int)puVar7);
        do {
          uVar3 = *puVar7;
          puVar7 = (ushort *)((int)puVar7 + 1);
          putchar((uint)(byte)uVar3);
        } while (puVar9 != puVar7);
      }
      goto LAB_00018580;
    }
    param_2 = param_2 - iVar8;
    puVar7 = (ushort *)((int)puVar7 + iVar8);
  } while( true );
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013c20
ADD EBX,0x1fb17
SUB ESP,0xac
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x9c],EAX
XOR EAX,EAX
MOV EBP,dword ptr [ESP + 0xc8]
MOV ESI,dword ptr [ESP + 0xc0]
MOV EDX,dword ptr [EBP + 0x30]
TEST EDX,EDX
JNZ 0x000185ab
CMP byte ptr [EBP + 0x3],0x0
JZ 0x000185a0
MOV EAX,dword ptr [ESP + 0xc4]
ADD ESI,0x4
LEA ECX,[EAX + -0x4]
CMP ECX,0x3
JLE 0x00018580
LEA EAX,[EBX + 0xffff49b1]
MOV dword ptr [ESP + 0x8],EAX
LEA EAX,[EBX + 0xffff49c8]
MOV dword ptr [ESP + 0xc],EAX
JMP 0x0001846f
CMP byte ptr [EBP + 0x9],0x0
JNZ 0x00018580
SUB ECX,EDI
ADD ESI,EDI
CMP ECX,0x3
JLE 0x00018580
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 0x000184a0
CMP dword ptr [EBP + 0x34],EAX
JNZ 0x00018462
CMP byte ptr [EBP + 0x3],0x0
JNZ 0x000185c2
MOV EDX,dword ptr [EBP + 0x20]
TEST EDX,EDX
JNZ 0x000185e0
MOV dword ptr [ESP + 0x4],ECX
SUB ESP,0x4
PUSH EAX
PUSH dword ptr [ESP + 0x10]
PUSH 0x1
CALL 0x00012260
MOV EAX,dword ptr [ESI + 0x4]
ADD ESP,0xc
BSWAP EAX
PUSH EAX
PUSH dword ptr [ESP + 0x14]
PUSH 0x1
CALL 0x00012260
MOV EAX,dword ptr [ESI + 0x8]
ADD ESP,0xc
BSWAP EAX
PUSH EAX
LEA EAX,[EBX + 0xfffeecc4]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOV EAX,dword ptr [ESI + 0xc]
ADD ESP,0xc
BSWAP EAX
PUSH EAX
LEA EAX,[EBX + 0xffff49e2]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOV EAX,dword ptr [ESI + 0x10]
ADD ESP,0xc
BSWAP EAX
PUSH EAX
LEA EAX,[EBX + 0xfffeece8]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOV EAX,dword ptr [ESI + 0x14]
ADD ESP,0xc
BSWAP EAX
PUSH EAX
LEA EAX,[EBX + 0xfffeed08]
PUSH EAX
PUSH 0x1
CALL 0x00012260
MOV EAX,dword ptr [ESI + 0x18]
ADD ESP,0xc
BSWAP EAX
PUSH EAX
LEA EAX,[EBX + 0xfffeed3c]
PUSH EAX
PUSH 0x1
CALL 0x00012260
ADD ESP,0x10
CMP byte ptr [EBP + 0x1],0x0
MOV ECX,dword ptr [ESP + 0x4]
JZ 0x00018458
MOVZX EAX,byte ptr [ESI + 0x2]
LEA EDX,[ESP + 0x1c]
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
MOV ECX,dword ptr [ESP + 0x4]
JZ 0x00018462
LEA ESI,[ESI]
NOP
MOV EDX,dword ptr [ESP + 0x9c]
XOR EDX,dword ptr GS:[0x14]
MOV EAX,0x1
JNZ 0x000185fe
ADD ESP,0xac
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EBP + 0x20]
TEST EAX,EAX
JNZ 0x00018427
SUB ESP,0xc
LEA EAX,[EBX + 0xfffeec9c]
PUSH EAX
CALL 0x00012170
ADD ESP,0x10
JMP 0x00018427
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 0x000185c8
JMP 0x00018580
CMP EDX,0x1
MOV EAX,0xffffffff
CMOVNZ EDX,EAX
SUB ESP,0x4
PUSH EDX
PUSH EDI
PUSH ESI
CALL 0x00012130
ADD ESP,0x10
JMP 0x00018580
CALL 0x00023f50
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_000183e0(int param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  char cVar2;\n  ushort uVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  ushort *puVar7;\n  int iVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\n  \n  iVar1 = *(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("Element statistics page (smc-3) [0x15]");\n  }\n  puVar7 = (ushort *)(param_1 + 4);\n  param_2 = param_2 + -4;\n  do {\n    if (param_2 < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00023f50();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    param_2 = param_2 - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  } while( true );\n}\n\n" comment (function_definition "undefined4 FUN_000183e0(int param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  char cVar2;\n  ushort uVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  ushort *puVar7;\n  int iVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\n  \n  iVar1 = *(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("Element statistics page (smc-3) [0x15]");\n  }\n  puVar7 = (ushort *)(param_1 + 4);\n  param_2 = param_2 + -4;\n  do {\n    if (param_2 < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00023f50();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    param_2 = param_2 - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  } while( true );\n}" type_identifier (function_declarator "FUN_000183e0(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  int iVar1;\n  char cVar2;\n  ushort uVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  ushort *puVar7;\n  int iVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\n  \n  iVar1 = *(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("Element statistics page (smc-3) [0x15]");\n  }\n  puVar7 = (ushort *)(param_1 + 4);\n  param_2 = param_2 + -4;\n  do {\n    if (param_2 < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00023f50();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    param_2 = param_2 - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "ushort uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "ushort *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "ushort *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (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 ((*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))) {\n    puts("Element statistics page (smc-3) [0x15]");\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("Element statistics page (smc-3) [0x15]");\n  }" { (expression_statement "puts("Element statistics page (smc-3) [0x15]");" (call_expression "puts("Element statistics page (smc-3) [0x15]")" identifier (argument_list "("Element statistics page (smc-3) [0x15]")" ( (string_literal ""Element statistics page (smc-3) [0x15]"" " 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_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00023f50();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    param_2 = param_2 - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  } while( true );" do (compound_statement "{\n    if (param_2 < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00023f50();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    param_2 = param_2 - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  }" { (if_statement "if (param_2 < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00023f50();\n    }" if (parenthesized_expression "(param_2 < 4)" ( (binary_expression "param_2 < 4" identifier < number_literal) )) (compound_statement "{\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_00023f50();\n    }" { (labeled_statement "LAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }" statement_identifier : (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\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        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) }))) comment (expression_statement "FUN_00023f50();" (call_expression "FUN_00023f50()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar8 = *(byte *)((int)puVar7 + 3) + 4;" (assignment_expression "iVar8 = *(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 "uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);" (assignment_expression "uVar4 = (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_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\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_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }" { (labeled_statement "LAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);" statement_identifier : (expression_statement "__printf_chk(1,"  Element address: %d\n",uVar4);" (call_expression "__printf_chk(1,"  Element address: %d\n",uVar4)" identifier (argument_list "(1,"  Element address: %d\n",uVar4)" ( number_literal , (string_literal ""  Element address: %d\n"" " string_content escape_sequence ") , identifier ))) ;)) (expression_statement "uVar4 = *(uint *)(puVar7 + 2);" (assignment_expression "uVar4 = *(uint *)(puVar7 + 2)" identifier = (pointer_expression "*(uint *)(puVar7 + 2)" * (cast_expression "(uint *)(puVar7 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 2)" ( (binary_expression "puVar7 + 2" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" identifier (argument_list "(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" ( number_literal , (string_literal ""    Number of places: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar4 = *(uint *)(puVar7 + 4);" (assignment_expression "uVar4 = *(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,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" identifier (argument_list "(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" ( number_literal , (string_literal ""    Number of place retries: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar4 = *(uint *)(puVar7 + 6);" (assignment_expression "uVar4 = *(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,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" identifier (argument_list "(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" ( number_literal , (string_literal ""    Number of picks: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar4 = *(uint *)(puVar7 + 8);" (assignment_expression "uVar4 = *(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 pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" identifier (argument_list "(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" ( number_literal , (string_literal ""    Number of pick retries: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar4 = *(uint *)(puVar7 + 10);" (assignment_expression "uVar4 = *(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 determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" identifier (argument_list "(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" ( number_literal , (string_literal ""    Number of determined volume identifiers: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar4 = *(uint *)(puVar7 + 0xc);" (assignment_expression "uVar4 = *(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 unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" identifier (argument_list "(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" ( number_literal , (string_literal ""    Number of unreadable volume identifiers: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) ))) ;) (if_statement "if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }" if (parenthesized_expression "(*(char *)(param_3 + 1) == '\0')" ( (binary_expression "*(char *)(param_3 + 1) == '\0'" (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) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        cVar2 = *(char *)(param_3 + 9);\n      }" { (expression_statement "cVar2 = *(char *)(param_3 + 9);" (assignment_expression "cVar2 = *(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        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }" else (compound_statement "{\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }" { (expression_statement "uVar5 = FUN_00014e80();" (assignment_expression "uVar5 = FUN_00014e80()" identifier = (call_expression "FUN_00014e80()" identifier (argument_list "()" ( )))) ;) (expression_statement "__printf_chk(1,&DAT_0002c460,uVar5);" (call_expression "__printf_chk(1,&DAT_0002c460,uVar5)" identifier (argument_list "(1,&DAT_0002c460,uVar5)" ( number_literal , (pointer_expression "&DAT_0002c460" & identifier) , identifier ))) ;) (expression_statement "cVar2 = *(char *)(param_3 + 9);" (assignment_expression "cVar2 = *(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 (cVar2 != '\0') goto LAB_00018580;" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00018580;" goto statement_identifier ;)) }) (else_clause "else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }" else (if_statement "if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }" if (parenthesized_expression "(*(uint *)(param_3 + 0x34) == uVar4)" ( (binary_expression "*(uint *)(param_3 + 0x34) == uVar4" (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_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }" { (if_statement "if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\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_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,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_000184a0;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000184a0;" 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,iVar8,iVar6);" (call_expression "hex2stdout(puVar7,iVar8,iVar6)" identifier (argument_list "(puVar7,iVar8,iVar6)" ( identifier , identifier , identifier ))) ;) }) (else_clause "else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }" else (compound_statement "{\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }" { (expression_statement "puVar9 = (ushort *)(iVar8 + (int)puVar7);" (assignment_expression "puVar9 = (ushort *)(iVar8 + (int)puVar7)" identifier = (cast_expression "(ushort *)(iVar8 + (int)puVar7)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + (int)puVar7)" ( (binary_expression "iVar8 + (int)puVar7" identifier + (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (do_statement "do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);" do (compound_statement "{\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        }" { (expression_statement "uVar3 = *puVar7;" (assignment_expression "uVar3 = *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)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 "(puVar9 != puVar7)" ( (binary_expression "puVar9 != puVar7" identifier != identifier) )) ;) }))) (goto_statement "goto LAB_00018580;" goto statement_identifier ;) })))) (expression_statement "param_2 = param_2 - iVar8;" (assignment_expression "param_2 = param_2 - iVar8" identifier = (binary_expression "param_2 - iVar8" identifier - identifier)) ;) (expression_statement "puVar7 = (ushort *)((int)puVar7 + iVar8);" (assignment_expression "puVar7 = (ushort *)((int)puVar7 + iVar8)" identifier = (cast_expression "(ushort *)((int)puVar7 + iVar8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + iVar8)" ( (binary_expression "(int)puVar7 + iVar8" (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_element_stats_page(uint8_t *resp,int len,opts_t *op)\n\n{\n  int iVar1;\n  char cVar2;\n  ushort uVar3;\n  uint uVar4;\n  char *pcVar5;\n  int maxoutlen;\n  int iVar6;\n  ushort *puVar7;\n  int iVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\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("Element statistics page (smc-3) [0x15]");\n  }\n  puVar7 = (ushort *)(resp + 4);\n  maxoutlen = len + -4;\n  do {\n    if (maxoutlen < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return true;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (op->filter_given == false) {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (op->do_pcb == false) {\n        cVar2 = op->filter_given;\n      }\n      else {\n        pcVar5 = get_pcb_str((uint)(byte)puVar7[1],str,maxoutlen);\n        __printf_chk(1,&DAT_0002c460,pcVar5);\n        cVar2 = op->filter_given;\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (op->filter == uVar4) {\n      if (op->do_raw == false) {\n        iVar6 = op->do_hex;\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    maxoutlen = maxoutlen - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  } while( true );\n}\n\n" comment comment (function_definition "_Bool show_element_stats_page(uint8_t *resp,int len,opts_t *op)\n\n{\n  int iVar1;\n  char cVar2;\n  ushort uVar3;\n  uint uVar4;\n  char *pcVar5;\n  int maxoutlen;\n  int iVar6;\n  ushort *puVar7;\n  int iVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\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("Element statistics page (smc-3) [0x15]");\n  }\n  puVar7 = (ushort *)(resp + 4);\n  maxoutlen = len + -4;\n  do {\n    if (maxoutlen < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return true;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (op->filter_given == false) {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (op->do_pcb == false) {\n        cVar2 = op->filter_given;\n      }\n      else {\n        pcVar5 = get_pcb_str((uint)(byte)puVar7[1],str,maxoutlen);\n        __printf_chk(1,&DAT_0002c460,pcVar5);\n        cVar2 = op->filter_given;\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (op->filter == uVar4) {\n      if (op->do_raw == false) {\n        iVar6 = op->do_hex;\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    maxoutlen = maxoutlen - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  } while( true );\n}" type_identifier (function_declarator "show_element_stats_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  uint uVar4;\n  char *pcVar5;\n  int maxoutlen;\n  int iVar6;\n  ushort *puVar7;\n  int iVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\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("Element statistics page (smc-3) [0x15]");\n  }\n  puVar7 = (ushort *)(resp + 4);\n  maxoutlen = len + -4;\n  do {\n    if (maxoutlen < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return true;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (op->filter_given == false) {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (op->do_pcb == false) {\n        cVar2 = op->filter_given;\n      }\n      else {\n        pcVar5 = get_pcb_str((uint)(byte)puVar7[1],str,maxoutlen);\n        __printf_chk(1,&DAT_0002c460,pcVar5);\n        cVar2 = op->filter_given;\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (op->filter == uVar4) {\n      if (op->do_raw == false) {\n        iVar6 = op->do_hex;\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    maxoutlen = maxoutlen - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "ushort uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int maxoutlen;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "ushort *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "ushort *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (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("Element statistics page (smc-3) [0x15]");\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("Element statistics page (smc-3) [0x15]");\n  }" { (expression_statement "puts("Element statistics page (smc-3) [0x15]");" (call_expression "puts("Element statistics page (smc-3) [0x15]")" identifier (argument_list "("Element statistics page (smc-3) [0x15]")" ( (string_literal ""Element statistics page (smc-3) [0x15]"" " string_content ") ))) ;) })) (expression_statement "puVar7 = (ushort *)(resp + 4);" (assignment_expression "puVar7 = (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 "maxoutlen = len + -4;" (assignment_expression "maxoutlen = len + -4" identifier = (binary_expression "len + -4" identifier + number_literal)) ;) (do_statement "do {\n    if (maxoutlen < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return true;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (op->filter_given == false) {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (op->do_pcb == false) {\n        cVar2 = op->filter_given;\n      }\n      else {\n        pcVar5 = get_pcb_str((uint)(byte)puVar7[1],str,maxoutlen);\n        __printf_chk(1,&DAT_0002c460,pcVar5);\n        cVar2 = op->filter_given;\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (op->filter == uVar4) {\n      if (op->do_raw == false) {\n        iVar6 = op->do_hex;\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    maxoutlen = maxoutlen - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  } while( true );" do (compound_statement "{\n    if (maxoutlen < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return true;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (op->filter_given == false) {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (op->do_pcb == false) {\n        cVar2 = op->filter_given;\n      }\n      else {\n        pcVar5 = get_pcb_str((uint)(byte)puVar7[1],str,maxoutlen);\n        __printf_chk(1,&DAT_0002c460,pcVar5);\n        cVar2 = op->filter_given;\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (op->filter == uVar4) {\n      if (op->do_raw == false) {\n        iVar6 = op->do_hex;\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    maxoutlen = maxoutlen - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  }" { (if_statement "if (maxoutlen < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return true;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }" if (parenthesized_expression "(maxoutlen < 4)" ( (binary_expression "maxoutlen < 4" identifier < number_literal) )) (compound_statement "{\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return true;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }" { (labeled_statement "LAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return true;\n      }" statement_identifier : (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return true;\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        return true;\n      }" { (return_statement "return true;" return true ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar8 = *(byte *)((int)puVar7 + 3) + 4;" (assignment_expression "iVar8 = *(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 "uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);" (assignment_expression "uVar4 = (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 (op->filter_given == false) {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (op->do_pcb == false) {\n        cVar2 = op->filter_given;\n      }\n      else {\n        pcVar5 = get_pcb_str((uint)(byte)puVar7[1],str,maxoutlen);\n        __printf_chk(1,&DAT_0002c460,pcVar5);\n        cVar2 = op->filter_given;\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (op->filter == uVar4) {\n      if (op->do_raw == false) {\n        iVar6 = op->do_hex;\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\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_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (op->do_pcb == false) {\n        cVar2 = op->filter_given;\n      }\n      else {\n        pcVar5 = get_pcb_str((uint)(byte)puVar7[1],str,maxoutlen);\n        __printf_chk(1,&DAT_0002c460,pcVar5);\n        cVar2 = op->filter_given;\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }" { (labeled_statement "LAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);" statement_identifier : (expression_statement "__printf_chk(1,"  Element address: %d\n",uVar4);" (call_expression "__printf_chk(1,"  Element address: %d\n",uVar4)" identifier (argument_list "(1,"  Element address: %d\n",uVar4)" ( number_literal , (string_literal ""  Element address: %d\n"" " string_content escape_sequence ") , identifier ))) ;)) (expression_statement "uVar4 = *(uint *)(puVar7 + 2);" (assignment_expression "uVar4 = *(uint *)(puVar7 + 2)" identifier = (pointer_expression "*(uint *)(puVar7 + 2)" * (cast_expression "(uint *)(puVar7 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 2)" ( (binary_expression "puVar7 + 2" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" identifier (argument_list "(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" ( number_literal , (string_literal ""    Number of places: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar4 = *(uint *)(puVar7 + 4);" (assignment_expression "uVar4 = *(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,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" identifier (argument_list "(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" ( number_literal , (string_literal ""    Number of place retries: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar4 = *(uint *)(puVar7 + 6);" (assignment_expression "uVar4 = *(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,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" identifier (argument_list "(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" ( number_literal , (string_literal ""    Number of picks: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar4 = *(uint *)(puVar7 + 8);" (assignment_expression "uVar4 = *(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 pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" identifier (argument_list "(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" ( number_literal , (string_literal ""    Number of pick retries: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar4 = *(uint *)(puVar7 + 10);" (assignment_expression "uVar4 = *(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 determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" identifier (argument_list "(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" ( number_literal , (string_literal ""    Number of determined volume identifiers: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar4 = *(uint *)(puVar7 + 0xc);" (assignment_expression "uVar4 = *(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 unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" identifier (argument_list "(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" ( number_literal , (string_literal ""    Number of unreadable volume identifiers: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) ))) ;) (if_statement "if (op->do_pcb == false) {\n        cVar2 = op->filter_given;\n      }\n      else {\n        pcVar5 = get_pcb_str((uint)(byte)puVar7[1],str,maxoutlen);\n        __printf_chk(1,&DAT_0002c460,pcVar5);\n        cVar2 = op->filter_given;\n      }" if (parenthesized_expression "(op->do_pcb == false)" ( (binary_expression "op->do_pcb == false" (field_expression "op->do_pcb" identifier -> field_identifier) == false) )) (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        pcVar5 = get_pcb_str((uint)(byte)puVar7[1],str,maxoutlen);\n        __printf_chk(1,&DAT_0002c460,pcVar5);\n        cVar2 = op->filter_given;\n      }" else (compound_statement "{\n        pcVar5 = get_pcb_str((uint)(byte)puVar7[1],str,maxoutlen);\n        __printf_chk(1,&DAT_0002c460,pcVar5);\n        cVar2 = op->filter_given;\n      }" { (expression_statement "pcVar5 = get_pcb_str((uint)(byte)puVar7[1],str,maxoutlen);" (assignment_expression "pcVar5 = get_pcb_str((uint)(byte)puVar7[1],str,maxoutlen)" identifier = (call_expression "get_pcb_str((uint)(byte)puVar7[1],str,maxoutlen)" identifier (argument_list "((uint)(byte)puVar7[1],str,maxoutlen)" ( (cast_expression "(uint)(byte)puVar7[1]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)puVar7[1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar7[1]" identifier [ number_literal ]))) , identifier , identifier )))) ;) (expression_statement "__printf_chk(1,&DAT_0002c460,pcVar5);" (call_expression "__printf_chk(1,&DAT_0002c460,pcVar5)" identifier (argument_list "(1,&DAT_0002c460,pcVar5)" ( 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_00018580;" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00018580;" goto statement_identifier ;)) }) (else_clause "else if (op->filter == uVar4) {\n      if (op->do_raw == false) {\n        iVar6 = op->do_hex;\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }" else (if_statement "if (op->filter == uVar4) {\n      if (op->do_raw == false) {\n        iVar6 = op->do_hex;\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }" if (parenthesized_expression "(op->filter == uVar4)" ( (binary_expression "op->filter == uVar4" (field_expression "op->filter" identifier -> field_identifier) == identifier) )) (compound_statement "{\n      if (op->do_raw == false) {\n        iVar6 = op->do_hex;\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }" { (if_statement "if (op->do_raw == false) {\n        iVar6 = op->do_hex;\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\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        iVar6 = op->do_hex;\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }" { (expression_statement "iVar6 = op->do_hex;" (assignment_expression "iVar6 = op->do_hex" identifier = (field_expression "op->do_hex" identifier -> field_identifier)) ;) (if_statement "if (iVar6 == 0) goto LAB_000184a0;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000184a0;" 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,iVar8,iVar6);" (call_expression "hex2stdout(puVar7,iVar8,iVar6)" identifier (argument_list "(puVar7,iVar8,iVar6)" ( identifier , identifier , identifier ))) ;) }) (else_clause "else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }" else (compound_statement "{\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }" { (expression_statement "puVar9 = (ushort *)(iVar8 + (int)puVar7);" (assignment_expression "puVar9 = (ushort *)(iVar8 + (int)puVar7)" identifier = (cast_expression "(ushort *)(iVar8 + (int)puVar7)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + (int)puVar7)" ( (binary_expression "iVar8 + (int)puVar7" identifier + (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (do_statement "do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);" do (compound_statement "{\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        }" { (expression_statement "uVar3 = *puVar7;" (assignment_expression "uVar3 = *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)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 "(puVar9 != puVar7)" ( (binary_expression "puVar9 != puVar7" identifier != identifier) )) ;) }))) (goto_statement "goto LAB_00018580;" goto statement_identifier ;) })))) (expression_statement "maxoutlen = maxoutlen - iVar8;" (assignment_expression "maxoutlen = maxoutlen - iVar8" identifier = (binary_expression "maxoutlen - iVar8" identifier - identifier)) ;) (expression_statement "puVar7 = (ushort *)((int)puVar7 + iVar8);" (assignment_expression "puVar7 = (ushort *)((int)puVar7 + iVar8)" identifier = (cast_expression "(ushort *)((int)puVar7 + iVar8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + iVar8)" ( (binary_expression "(int)puVar7 + iVar8" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "undefined4 FUN_000183e0(int param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  char cVar2;\n  ushort uVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  ushort *puVar7;\n  int iVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\n  \n  iVar1 = *(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("Element statistics page (smc-3) [0x15]");\n  }\n  puVar7 = (ushort *)(param_1 + 4);\n  param_2 = param_2 + -4;\n  do {\n    if (param_2 < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    \n      FUN_00023f50();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    param_2 = param_2 - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  } while( true );\n}\n\n" (function_definition "undefined4 FUN_000183e0(int param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  char cVar2;\n  ushort uVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  ushort *puVar7;\n  int iVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\n  \n  iVar1 = *(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("Element statistics page (smc-3) [0x15]");\n  }\n  puVar7 = (ushort *)(param_1 + 4);\n  param_2 = param_2 + -4;\n  do {\n    if (param_2 < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    \n      FUN_00023f50();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    param_2 = param_2 - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  } while( true );\n}" type_identifier (function_declarator "FUN_000183e0(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  int iVar1;\n  char cVar2;\n  ushort uVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  ushort *puVar7;\n  int iVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\n  \n  iVar1 = *(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("Element statistics page (smc-3) [0x15]");\n  }\n  puVar7 = (ushort *)(param_1 + 4);\n  param_2 = param_2 + -4;\n  do {\n    if (param_2 < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    \n      FUN_00023f50();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    param_2 = param_2 - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "ushort uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "ushort *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "ushort *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (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 ((*(int *)(param_3 + 0x30) != 0) ||\n     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))) {\n    puts("Element statistics page (smc-3) [0x15]");\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("Element statistics page (smc-3) [0x15]");\n  }" { (expression_statement "puts("Element statistics page (smc-3) [0x15]");" (call_expression "puts("Element statistics page (smc-3) [0x15]")" identifier (argument_list "("Element statistics page (smc-3) [0x15]")" ( (string_literal ""Element statistics page (smc-3) [0x15]"" " 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_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    \n      FUN_00023f50();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    param_2 = param_2 - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  } while( true );" do (compound_statement "{\n    if (param_2 < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    \n      FUN_00023f50();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    param_2 = param_2 - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  }" { (if_statement "if (param_2 < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    \n      FUN_00023f50();\n    }" if (parenthesized_expression "(param_2 < 4)" ( (binary_expression "param_2 < 4" identifier < number_literal) )) (compound_statement "{\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    \n      FUN_00023f50();\n    }" { (labeled_statement "LAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }" statement_identifier : (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\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        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) }))) (expression_statement "FUN_00023f50();" (call_expression "FUN_00023f50()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar8 = *(byte *)((int)puVar7 + 3) + 4;" (assignment_expression "iVar8 = *(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 "uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);" (assignment_expression "uVar4 = (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_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\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_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }" { (labeled_statement "LAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);" statement_identifier : (expression_statement "__printf_chk(1,"  Element address: %d\n",uVar4);" (call_expression "__printf_chk(1,"  Element address: %d\n",uVar4)" identifier (argument_list "(1,"  Element address: %d\n",uVar4)" ( number_literal , (string_literal ""  Element address: %d\n"" " string_content escape_sequence ") , identifier ))) ;)) (expression_statement "uVar4 = *(uint *)(puVar7 + 2);" (assignment_expression "uVar4 = *(uint *)(puVar7 + 2)" identifier = (pointer_expression "*(uint *)(puVar7 + 2)" * (cast_expression "(uint *)(puVar7 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 2)" ( (binary_expression "puVar7 + 2" identifier + number_literal) ))))) ;) (expression_statement "__printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" identifier (argument_list "(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" ( number_literal , (string_literal ""    Number of places: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar4 = *(uint *)(puVar7 + 4);" (assignment_expression "uVar4 = *(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,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" identifier (argument_list "(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" ( number_literal , (string_literal ""    Number of place retries: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar4 = *(uint *)(puVar7 + 6);" (assignment_expression "uVar4 = *(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,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" identifier (argument_list "(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" ( number_literal , (string_literal ""    Number of picks: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar4 = *(uint *)(puVar7 + 8);" (assignment_expression "uVar4 = *(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 pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" identifier (argument_list "(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" ( number_literal , (string_literal ""    Number of pick retries: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar4 = *(uint *)(puVar7 + 10);" (assignment_expression "uVar4 = *(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 determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" identifier (argument_list "(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" ( number_literal , (string_literal ""    Number of determined volume identifiers: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) ))) ;) (expression_statement "uVar4 = *(uint *)(puVar7 + 0xc);" (assignment_expression "uVar4 = *(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 unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" identifier (argument_list "(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" ( number_literal , (string_literal ""    Number of unreadable volume identifiers: %u\n"" " string_content escape_sequence ") , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) ))) ;) (if_statement "if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }" if (parenthesized_expression "(*(char *)(param_3 + 1) == '\0')" ( (binary_expression "*(char *)(param_3 + 1) == '\0'" (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) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        cVar2 = *(char *)(param_3 + 9);\n      }" { (expression_statement "cVar2 = *(char *)(param_3 + 9);" (assignment_expression "cVar2 = *(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        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }" else (compound_statement "{\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }" { (expression_statement "uVar5 = FUN_00014e80();" (assignment_expression "uVar5 = FUN_00014e80()" identifier = (call_expression "FUN_00014e80()" identifier (argument_list "()" ( )))) ;) (expression_statement "__printf_chk(1,&DAT_0002c460,uVar5);" (call_expression "__printf_chk(1,&DAT_0002c460,uVar5)" identifier (argument_list "(1,&DAT_0002c460,uVar5)" ( number_literal , (pointer_expression "&DAT_0002c460" & identifier) , identifier ))) ;) (expression_statement "cVar2 = *(char *)(param_3 + 9);" (assignment_expression "cVar2 = *(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 (cVar2 != '\0') goto LAB_00018580;" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00018580;" goto statement_identifier ;)) }) (else_clause "else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }" else (if_statement "if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }" if (parenthesized_expression "(*(uint *)(param_3 + 0x34) == uVar4)" ( (binary_expression "*(uint *)(param_3 + 0x34) == uVar4" (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_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }" { (if_statement "if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\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_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,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_000184a0;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000184a0;" 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,iVar8,iVar6);" (call_expression "hex2stdout(puVar7,iVar8,iVar6)" identifier (argument_list "(puVar7,iVar8,iVar6)" ( identifier , identifier , identifier ))) ;) }) (else_clause "else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }" else (compound_statement "{\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }" { (expression_statement "puVar9 = (ushort *)(iVar8 + (int)puVar7);" (assignment_expression "puVar9 = (ushort *)(iVar8 + (int)puVar7)" identifier = (cast_expression "(ushort *)(iVar8 + (int)puVar7)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + (int)puVar7)" ( (binary_expression "iVar8 + (int)puVar7" identifier + (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (do_statement "do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);" do (compound_statement "{\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        }" { (expression_statement "uVar3 = *puVar7;" (assignment_expression "uVar3 = *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)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 "(puVar9 != puVar7)" ( (binary_expression "puVar9 != puVar7" identifier != identifier) )) ;) }))) (goto_statement "goto LAB_00018580;" goto statement_identifier ;) })))) (expression_statement "param_2 = param_2 - iVar8;" (assignment_expression "param_2 = param_2 - iVar8" identifier = (binary_expression "param_2 - iVar8" identifier - identifier)) ;) (expression_statement "puVar7 = (ushort *)((int)puVar7 + iVar8);" (assignment_expression "puVar7 = (ushort *)((int)puVar7 + iVar8)" identifier = (cast_expression "(ushort *)((int)puVar7 + iVar8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + iVar8)" ( (binary_expression "(int)puVar7 + iVar8" (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 ;) (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 { (return_statement return LIT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (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 (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)) ))) ;) (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) ))))) ;) }) (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_000183e0(int param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  char cVar2;\n  ushort uVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  ushort *puVar7;\n  int iVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\n  \n  iVar1 = *(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("Element statistics page (smc-3) [0x15]");\n  }\n  puVar7 = (ushort *)(param_1 + 4);\n  param_2 = param_2 + -4;\n  do {\n    if (param_2 < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    \n      FUN_00023f50();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    param_2 = param_2 - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  } while( true );\n}" (type_identifier "undefined4") (function_declarator "FUN_000183e0(int param_1,int param_2,int param_3)" (identifier "FUN_000183e0") (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  int iVar1;\n  char cVar2;\n  ushort uVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  ushort *puVar7;\n  int iVar8;\n  ushort *puVar9;\n  int in_GS_OFFSET;\n  \n  iVar1 = *(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("Element statistics page (smc-3) [0x15]");\n  }\n  puVar7 = (ushort *)(param_1 + 4);\n  param_2 = param_2 + -4;\n  do {\n    if (param_2 < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    \n      FUN_00023f50();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    param_2 = param_2 - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  } while( true );\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "ushort uVar3;" (type_identifier "ushort") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "ushort *puVar7;" (type_identifier "ushort") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "ushort *puVar9;" (type_identifier "ushort") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar1") (= "=") (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("Element statistics page (smc-3) [0x15]");\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("Element statistics page (smc-3) [0x15]");\n  }" ({ "{") (expression_statement "puts("Element statistics page (smc-3) [0x15]");" (call_expression "puts("Element statistics page (smc-3) [0x15]")" (identifier "puts") (argument_list "("Element statistics page (smc-3) [0x15]")" (( "(") (string_literal ""Element statistics page (smc-3) [0x15]"" (" """) (string_content "Element statistics page (smc-3) [0x15]") (" """)) () ")"))) (; ";")) (} "}"))) (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_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    \n      FUN_00023f50();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    param_2 = param_2 - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  } while( true );" (do "do") (compound_statement "{\n    if (param_2 < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    \n      FUN_00023f50();\n    }\n    iVar8 = *(byte *)((int)puVar7 + 3) + 4;\n    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);\n    if (*(char *)(param_3 + 9) == '\0') {\nLAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }\n    param_2 = param_2 - iVar8;\n    puVar7 = (ushort *)((int)puVar7 + iVar8);\n  }" ({ "{") (if_statement "if (param_2 < 4) {\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    \n      FUN_00023f50();\n    }" (if "if") (parenthesized_expression "(param_2 < 4)" (( "(") (binary_expression "param_2 < 4" (identifier "param_2") (< "<") (number_literal "4")) () ")")) (compound_statement "{\nLAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }\n                    \n      FUN_00023f50();\n    }" ({ "{") (labeled_statement "LAB_00018580:\n      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }" (statement_identifier "LAB_00018580") (: ":") (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar1") (== "==") (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        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))) (expression_statement "FUN_00023f50();" (call_expression "FUN_00023f50()" (identifier "FUN_00023f50") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar8 = *(byte *)((int)puVar7 + 3) + 4;" (assignment_expression "iVar8 = *(byte *)((int)puVar7 + 3) + 4" (identifier "iVar8") (= "=") (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 "uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);" (assignment_expression "uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8)" (identifier "uVar4") (= "=") (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_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }\n    else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\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_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);\n      uVar4 = *(uint *)(puVar7 + 2);\n      __printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 4);\n      __printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 6);\n      __printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 8);\n      __printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 10);\n      __printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      uVar4 = *(uint *)(puVar7 + 0xc);\n      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);\n      if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      if (cVar2 != '\0') goto LAB_00018580;\n    }" ({ "{") (labeled_statement "LAB_000184a0:\n      __printf_chk(1,"  Element address: %d\n",uVar4);" (statement_identifier "LAB_000184a0") (: ":") (expression_statement "__printf_chk(1,"  Element address: %d\n",uVar4);" (call_expression "__printf_chk(1,"  Element address: %d\n",uVar4)" (identifier "__printf_chk") (argument_list "(1,"  Element address: %d\n",uVar4)" (( "(") (number_literal "1") (, ",") (string_literal ""  Element address: %d\n"" (" """) (string_content "  Element address: %d") (escape_sequence "\n") (" """)) (, ",") (identifier "uVar4") () ")"))) (; ";"))) (expression_statement "uVar4 = *(uint *)(puVar7 + 2);" (assignment_expression "uVar4 = *(uint *)(puVar7 + 2)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(puVar7 + 2)" (* "*") (cast_expression "(uint *)(puVar7 + 2)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 2)" (( "(") (binary_expression "puVar7 + 2" (identifier "puVar7") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "__printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" (identifier "__printf_chk") (argument_list "(1,"    Number of places: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" (( "(") (number_literal "1") (, ",") (string_literal ""    Number of places: %u\n"" (" """) (string_content "    Number of places: %u") (escape_sequence "\n") (" """)) (, ",") (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" (identifier "uVar4") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" (( "(") (binary_expression "uVar4 & 0xff0000" (identifier "uVar4") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" (( "(") (binary_expression "uVar4 & 0xff00" (identifier "uVar4") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar4 << 0x18" (identifier "uVar4") (<< "<<") (number_literal "0x18"))) () ")"))) (; ";")) (expression_statement "uVar4 = *(uint *)(puVar7 + 4);" (assignment_expression "uVar4 = *(uint *)(puVar7 + 4)" (identifier "uVar4") (= "=") (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,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" (identifier "__printf_chk") (argument_list "(1,"    Number of place retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" (( "(") (number_literal "1") (, ",") (string_literal ""    Number of place retries: %u\n"" (" """) (string_content "    Number of place retries: %u") (escape_sequence "\n") (" """)) (, ",") (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" (identifier "uVar4") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" (( "(") (binary_expression "uVar4 & 0xff0000" (identifier "uVar4") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" (( "(") (binary_expression "uVar4 & 0xff00" (identifier "uVar4") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar4 << 0x18" (identifier "uVar4") (<< "<<") (number_literal "0x18"))) () ")"))) (; ";")) (expression_statement "uVar4 = *(uint *)(puVar7 + 6);" (assignment_expression "uVar4 = *(uint *)(puVar7 + 6)" (identifier "uVar4") (= "=") (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,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" (identifier "__printf_chk") (argument_list "(1,"    Number of picks: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" (( "(") (number_literal "1") (, ",") (string_literal ""    Number of picks: %u\n"" (" """) (string_content "    Number of picks: %u") (escape_sequence "\n") (" """)) (, ",") (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" (identifier "uVar4") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" (( "(") (binary_expression "uVar4 & 0xff0000" (identifier "uVar4") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" (( "(") (binary_expression "uVar4 & 0xff00" (identifier "uVar4") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar4 << 0x18" (identifier "uVar4") (<< "<<") (number_literal "0x18"))) () ")"))) (; ";")) (expression_statement "uVar4 = *(uint *)(puVar7 + 8);" (assignment_expression "uVar4 = *(uint *)(puVar7 + 8)" (identifier "uVar4") (= "=") (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 pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" (identifier "__printf_chk") (argument_list "(1,"    Number of pick retries: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" (( "(") (number_literal "1") (, ",") (string_literal ""    Number of pick retries: %u\n"" (" """) (string_content "    Number of pick retries: %u") (escape_sequence "\n") (" """)) (, ",") (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" (identifier "uVar4") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" (( "(") (binary_expression "uVar4 & 0xff0000" (identifier "uVar4") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" (( "(") (binary_expression "uVar4 & 0xff00" (identifier "uVar4") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar4 << 0x18" (identifier "uVar4") (<< "<<") (number_literal "0x18"))) () ")"))) (; ";")) (expression_statement "uVar4 = *(uint *)(puVar7 + 10);" (assignment_expression "uVar4 = *(uint *)(puVar7 + 10)" (identifier "uVar4") (= "=") (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 determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" (identifier "__printf_chk") (argument_list "(1,"    Number of determined volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 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 "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" (identifier "uVar4") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" (( "(") (binary_expression "uVar4 & 0xff0000" (identifier "uVar4") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" (( "(") (binary_expression "uVar4 & 0xff00" (identifier "uVar4") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar4 << 0x18" (identifier "uVar4") (<< "<<") (number_literal "0x18"))) () ")"))) (; ";")) (expression_statement "uVar4 = *(uint *)(puVar7 + 0xc);" (assignment_expression "uVar4 = *(uint *)(puVar7 + 0xc)" (identifier "uVar4") (= "=") (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 unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);" (call_expression "__printf_chk(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18)" (identifier "__printf_chk") (argument_list "(1,"    Number of unreadable volume identifiers: %u\n",\n                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 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 "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" (identifier "uVar4") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" (( "(") (binary_expression "uVar4 & 0xff0000" (identifier "uVar4") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" (( "(") (binary_expression "uVar4 & 0xff00" (identifier "uVar4") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar4 << 0x18" (identifier "uVar4") (<< "<<") (number_literal "0x18"))) () ")"))) (; ";")) (if_statement "if (*(char *)(param_3 + 1) == '\0') {\n        cVar2 = *(char *)(param_3 + 9);\n      }\n      else {\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }" (if "if") (parenthesized_expression "(*(char *)(param_3 + 1) == '\0')" (( "(") (binary_expression "*(char *)(param_3 + 1) == '\0'" (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")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        cVar2 = *(char *)(param_3 + 9);\n      }" ({ "{") (expression_statement "cVar2 = *(char *)(param_3 + 9);" (assignment_expression "cVar2 = *(char *)(param_3 + 9)" (identifier "cVar2") (= "=") (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        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }" (else "else") (compound_statement "{\n        uVar5 = FUN_00014e80();\n        __printf_chk(1,&DAT_0002c460,uVar5);\n        cVar2 = *(char *)(param_3 + 9);\n      }" ({ "{") (expression_statement "uVar5 = FUN_00014e80();" (assignment_expression "uVar5 = FUN_00014e80()" (identifier "uVar5") (= "=") (call_expression "FUN_00014e80()" (identifier "FUN_00014e80") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "__printf_chk(1,&DAT_0002c460,uVar5);" (call_expression "__printf_chk(1,&DAT_0002c460,uVar5)" (identifier "__printf_chk") (argument_list "(1,&DAT_0002c460,uVar5)" (( "(") (number_literal "1") (, ",") (pointer_expression "&DAT_0002c460" (& "&") (identifier "DAT_0002c460")) (, ",") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "cVar2 = *(char *)(param_3 + 9);" (assignment_expression "cVar2 = *(char *)(param_3 + 9)" (identifier "cVar2") (= "=") (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 (cVar2 != '\0') goto LAB_00018580;" (if "if") (parenthesized_expression "(cVar2 != '\0')" (( "(") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00018580;" (goto "goto") (statement_identifier "LAB_00018580") (; ";"))) (} "}")) (else_clause "else if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }" (else "else") (if_statement "if (*(uint *)(param_3 + 0x34) == uVar4) {\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }" (if "if") (parenthesized_expression "(*(uint *)(param_3 + 0x34) == uVar4)" (( "(") (binary_expression "*(uint *)(param_3 + 0x34) == uVar4" (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 "uVar4")) () ")")) (compound_statement "{\n      if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }\n      goto LAB_00018580;\n    }" ({ "{") (if_statement "if (*(char *)(param_3 + 3) == '\0') {\n        iVar6 = *(int *)(param_3 + 0x20);\n        if (iVar6 == 0) goto LAB_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,iVar6);\n      }\n      else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\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_000184a0;\n        if (iVar6 != 1) {\n          iVar6 = -1;\n        }\n        hex2stdout(puVar7,iVar8,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_000184a0;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000184a0;" (goto "goto") (statement_identifier "LAB_000184a0") (; ";"))) (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,iVar8,iVar6);" (call_expression "hex2stdout(puVar7,iVar8,iVar6)" (identifier "hex2stdout") (argument_list "(puVar7,iVar8,iVar6)" (( "(") (identifier "puVar7") (, ",") (identifier "iVar8") (, ",") (identifier "iVar6") () ")"))) (; ";")) (} "}")) (else_clause "else {\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }" (else "else") (compound_statement "{\n        puVar9 = (ushort *)(iVar8 + (int)puVar7);\n        do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);\n      }" ({ "{") (expression_statement "puVar9 = (ushort *)(iVar8 + (int)puVar7);" (assignment_expression "puVar9 = (ushort *)(iVar8 + (int)puVar7)" (identifier "puVar9") (= "=") (cast_expression "(ushort *)(iVar8 + (int)puVar7)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + (int)puVar7)" (( "(") (binary_expression "iVar8 + (int)puVar7" (identifier "iVar8") (+ "+") (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7"))) () ")")))) (; ";")) (do_statement "do {\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        } while (puVar9 != puVar7);" (do "do") (compound_statement "{\n          uVar3 = *puVar7;\n          puVar7 = (ushort *)((int)puVar7 + 1);\n          putchar((uint)(byte)uVar3);\n        }" ({ "{") (expression_statement "uVar3 = *puVar7;" (assignment_expression "uVar3 = *puVar7" (identifier "uVar3") (= "=") (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)uVar3);" (call_expression "putchar((uint)(byte)uVar3)" (identifier "putchar") (argument_list "((uint)(byte)uVar3)" (( "(") (cast_expression "(uint)(byte)uVar3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)uVar3" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar3"))) () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar9 != puVar7)" (( "(") (binary_expression "puVar9 != puVar7" (identifier "puVar9") (!= "!=") (identifier "puVar7")) () ")")) (; ";")) (} "}")))) (goto_statement "goto LAB_00018580;" (goto "goto") (statement_identifier "LAB_00018580") (; ";")) (} "}"))))) (expression_statement "param_2 = param_2 - iVar8;" (assignment_expression "param_2 = param_2 - iVar8" (identifier "param_2") (= "=") (binary_expression "param_2 - iVar8" (identifier "param_2") (- "-") (identifier "iVar8"))) (; ";")) (expression_statement "puVar7 = (ushort *)((int)puVar7 + iVar8);" (assignment_expression "puVar7 = (ushort *)((int)puVar7 + iVar8)" (identifier "puVar7") (= "=") (cast_expression "(ushort *)((int)puVar7 + iVar8)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + iVar8)" (( "(") (binary_expression "(int)puVar7 + iVar8" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (identifier "iVar8")) () ")")))) (; ";")) (} "}")) (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_12;
  type_3 uVar3;
  type_4 var_10;
  char *pcVar5;
  int var_5;
  int var_13;
  type_3 *var_9;
  int var_15;
  type_3 *var_17;
  int var_1;
  char str [128];
  
  var_6 = *(int *)(var_1 + 0x14);
  if ((op->verbose != 0) || ((op->do_raw == false && (op->do_hex == 0)))) {
    var_2("Element statistics page (smc-3) [0x15]");
  }
  var_9 = (type_3 *)(var_3 + 4);
  var_5 = var_4 + -4;
  do {
    if (var_5 < 4) {
LAB_00018580:
      if (var_6 == *(int *)(var_1 + 0x14)) {
        return true;
      }
                    /* WARNING: Subroutine does not return */
      var_7();
    }
    var_15 = *(type_5 *)((int)var_9 + 3) + 4;
    var_10 = (type_4)(type_3)(*var_9 << 8 | *var_9 >> 8);
    if (op->filter_given == false) {
LAB_000184a0:
      var_8(1,"  Element address: %d\n",var_10);
      var_10 = *(type_4 *)(var_9 + 2);
      var_8(1,"    Number of places: %u\n",
                   var_10 >> 0x18 | (var_10 & 0xff0000) >> 8 | (var_10 & 0xff00) << 8 | var_10 << 0x18);
      var_10 = *(type_4 *)(var_9 + 4);
      var_8(1,"    Number of place retries: %u\n",
                   var_10 >> 0x18 | (var_10 & 0xff0000) >> 8 | (var_10 & 0xff00) << 8 | var_10 << 0x18);
      var_10 = *(type_4 *)(var_9 + 6);
      var_8(1,"    Number of picks: %u\n",
                   var_10 >> 0x18 | (var_10 & 0xff0000) >> 8 | (var_10 & 0xff00) << 8 | var_10 << 0x18);
      var_10 = *(type_4 *)(var_9 + 8);
      var_8(1,"    Number of pick retries: %u\n",
                   var_10 >> 0x18 | (var_10 & 0xff0000) >> 8 | (var_10 & 0xff00) << 8 | var_10 << 0x18);
      var_10 = *(type_4 *)(var_9 + 10);
      var_8(1,"    Number of determined volume identifiers: %u\n",
                   var_10 >> 0x18 | (var_10 & 0xff0000) >> 8 | (var_10 & 0xff00) << 8 | var_10 << 0x18);
      var_10 = *(type_4 *)(var_9 + 0xc);
      var_8(1,"    Number of unreadable volume identifiers: %u\n",
                   var_10 >> 0x18 | (var_10 & 0xff0000) >> 8 | (var_10 & 0xff00) << 8 | var_10 << 0x18);
      if (op->do_pcb == false) {
        var_12 = op->filter_given;
      }
      else {
        pcVar5 = var_11((type_4)(type_5)var_9[1],str,var_5);
        var_8(1,&DAT_0002c460,pcVar5);
        var_12 = op->filter_given;
      }
      if (var_12 != '\0') goto LAB_00018580;
    }
    else if (op->filter == var_10) {
      if (op->do_raw == false) {
        var_13 = op->do_hex;
        if (var_13 == 0) goto LAB_000184a0;
        if (var_13 != 1) {
          var_13 = -1;
        }
        var_14(var_9,var_15,var_13);
      }
      else {
        var_17 = (type_3 *)(var_15 + (int)var_9);
        do {
          uVar3 = *var_9;
          var_9 = (type_3 *)((int)var_9 + 1);
          var_16((type_4)(type_5)uVar3);
        } while (var_17 != var_9);
      }
      goto LAB_00018580;
    }
    var_5 = var_5 - var_15;
    var_9 = (type_3 *)((int)var_9 + var_15);
  } 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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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 (return_statement (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (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 (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)))))) (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)))))))) 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)

{
  int iVar1;
  char cVar2;
  ushort uVar3;
  uint uVar4;
  undefined4 uVar5;
  int iVar6;
  ushort *puVar7;
  int iVar8;
  ushort *puVar9;
  int in_GS_OFFSET;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if ((*(int *)(param_3 + 0x30) != 0) ||
     ((*(char *)(param_3 + 3) == '\0' && (*(int *)(param_3 + 0x20) == 0)))) {
    puts("Element statistics page (smc-3) [0x15]");
  }
  puVar7 = (ushort *)(param_1 + 4);
  param_2 = param_2 + -4;
  do {
    if (param_2 < 4) {
LAB_00018580:
      if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
        return 1;
      }
                    /* WARNING: Subroutine does not return */
      FUN_00023f50();
    }
    iVar8 = *(byte *)((int)puVar7 + 3) + 4;
    uVar4 = (uint)(ushort)(*puVar7 << 8 | *puVar7 >> 8);
    if (*(char *)(param_3 + 9) == '\0') {
LAB_000184a0:
      __printf_chk(1,"  Element address: %d\n",uVar4);
      uVar4 = *(uint *)(puVar7 + 2);
      __printf_chk(1,"    Number of places: %u\n",
                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);
      uVar4 = *(uint *)(puVar7 + 4);
      __printf_chk(1,"    Number of place retries: %u\n",
                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);
      uVar4 = *(uint *)(puVar7 + 6);
      __printf_chk(1,"    Number of picks: %u\n",
                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);
      uVar4 = *(uint *)(puVar7 + 8);
      __printf_chk(1,"    Number of pick retries: %u\n",
                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);
      uVar4 = *(uint *)(puVar7 + 10);
      __printf_chk(1,"    Number of determined volume identifiers: %u\n",
                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);
      uVar4 = *(uint *)(puVar7 + 0xc);
      __printf_chk(1,"    Number of unreadable volume identifiers: %u\n",
                   uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18);
      if (*(char *)(param_3 + 1) == '\0') {
        cVar2 = *(char *)(param_3 + 9);
      }
      else {
        uVar5 = FUN_00014e80();
        __printf_chk(1,&DAT_0002c460,uVar5);
        cVar2 = *(char *)(param_3 + 9);
      }
      if (cVar2 != '\0') goto LAB_00018580;
    }
    else if (*(uint *)(param_3 + 0x34) == uVar4) {
      if (*(char *)(param_3 + 3) == '\0') {
        iVar6 = *(int *)(param_3 + 0x20);
        if (iVar6 == 0) goto LAB_000184a0;
        if (iVar6 != 1) {
          iVar6 = -1;
        }
        hex2stdout(puVar7,iVar8,iVar6);
      }
      else {
        puVar9 = (ushort *)(iVar8 + (int)puVar7);
        do {
          uVar3 = *puVar7;
          puVar7 = (ushort *)((int)puVar7 + 1);
          putchar((uint)(byte)uVar3);
        } while (puVar9 != puVar7);
      }
      goto LAB_00018580;
    }
    param_2 = param_2 - iVar8;
    puVar7 = (ushort *)((int)puVar7 + iVar8);
  } while( true );
}

