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

void __regparm3 decode_supported_vpd(uint8_t *buff,int len,int do_hex)

{
  byte bVar1;
  char *pcVar2;
  uint uVar3;
  vpd_name *pvVar4;
  int *piVar5;
  int iVar6;
  int iVar7;
  byte *pbVar8;
  uint uVar9;
  
  if (do_hex == 0) {
    if (len < 4) {
      pr2serr("Supported VPD pages VPD page length too short=%d\n",len,buff,buff);
    }
    else {
      bVar1 = *buff;
      iVar7 = buff[3] + 4;
      if (len < iVar7) {
        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar7,len,
                bVar1 & 0x1f);
        iVar7 = len;
      }
      pbVar8 = buff + 4;
      puts("   Supported VPD pages:");
      if (iVar7 != 4) {
        do {
          uVar3 = (uint)*pbVar8;
          if (uVar3 - 0xb0 < 0x10) {
            uVar9 = 0;
            iVar6 = 0;
            piVar5 = &vpd_name_arr[0].peri_type;
            while( true ) {
              if ((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)) {
                pcVar2 = vpd_name_arr[iVar6].name;
                goto joined_r0x00018915;
              }
              iVar6 = iVar6 + 1;
              if (iVar6 == 0x20) break;
              uVar9 = piVar5[2];
              piVar5 = piVar5 + 3;
            }
            uVar9 = 0;
            iVar6 = 0;
            piVar5 = &vpd_name_arr[0].peri_type;
            while( true ) {
              if ((uVar3 == uVar9) && (*piVar5 == 0)) {
                pcVar2 = vpd_name_arr[iVar6].name;
                goto joined_r0x00018915;
              }
              iVar6 = iVar6 + 1;
              if (iVar6 == 0x20) break;
              uVar9 = piVar5[2];
              piVar5 = piVar5 + 3;
            }
LAB_00018920:
            __printf_chk(1,"     0x%x\n",uVar3);
          }
          else {
            pvVar4 = vpd_name_arr;
            iVar6 = 0;
            uVar9 = 0;
            while (pvVar4 = pvVar4 + 1, uVar3 != uVar9) {
              iVar6 = iVar6 + 1;
              if (iVar6 == 0x20) goto LAB_00018920;
              uVar9 = pvVar4->number;
            }
            pcVar2 = vpd_name_arr[iVar6].name;
joined_r0x00018915:
            if (pcVar2 == (char *)0x0) goto LAB_00018920;
            __printf_chk(1,"     0x%x\t%s\n",uVar3,pcVar2);
          }
          pbVar8 = pbVar8 + 1;
        } while (pbVar8 != buff + iVar7);
      }
    }
  }
  else {
    hex2stdout(buff,len,-(uint)(do_hex != 1),buff);
  }
  return;
}



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

void __regparm3 FUN_00018800(byte *param_1,int param_2,int param_3)

{
  byte bVar1;
  undefined *puVar2;
  uint uVar3;
  uint *puVar4;
  int iVar5;
  int iVar6;
  byte *pbVar7;
  uint uVar8;
  
  if (param_3 == 0) {
    if (param_2 < 4) {
      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);
    }
    else {
      bVar1 = *param_1;
      iVar6 = param_1[3] + 4;
      if (param_2 < iVar6) {
        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,
                bVar1 & 0x1f);
        iVar6 = param_2;
      }
      pbVar7 = param_1 + 4;
      puts("   Supported VPD pages:");
      if (iVar6 != 4) {
        do {
          uVar3 = (uint)*pbVar7;
          if (uVar3 - 0xb0 < 0x10) {
            uVar8 = 0;
            iVar5 = 0;
            puVar4 = &DAT_0002ac64;
            while( true ) {
              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {
                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];
                goto joined_r0x00018915;
              }
              iVar5 = iVar5 + 1;
              if (iVar5 == 0x20) break;
              uVar8 = puVar4[2];
              puVar4 = puVar4 + 3;
            }
            uVar8 = 0;
            iVar5 = 0;
            puVar4 = &DAT_0002ac64;
            while( true ) {
              if ((uVar3 == uVar8) && (*puVar4 == 0)) {
                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];
                goto joined_r0x00018915;
              }
              iVar5 = iVar5 + 1;
              if (iVar5 == 0x20) break;
              uVar8 = puVar4[2];
              puVar4 = puVar4 + 3;
            }
LAB_00018920:
            __printf_chk(1,"     0x%x\n",uVar3);
          }
          else {
            iVar5 = 0;
            uVar8 = 0;
            puVar4 = &DAT_0002ac6c;
            while (uVar3 != uVar8) {
              iVar5 = iVar5 + 1;
              if (iVar5 == 0x20) goto LAB_00018920;
              uVar8 = *puVar4;
              puVar4 = puVar4 + 3;
            }
            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];
joined_r0x00018915:
            if (puVar2 == (undefined *)0x0) goto LAB_00018920;
            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);
          }
          pbVar7 = pbVar7 + 1;
        } while (pbVar7 != param_1 + iVar6);
      }
    }
  }
  else {
    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);
  }
  return;
}


PUSH EBP
PUSH EDI
MOV EDI,EAX
PUSH ESI
PUSH EBX
CALL 0x00015cc0
ADD EBX,0x126b5
SUB ESP,0x1c
TEST ECX,ECX
JNZ 0x00018967
CMP EDX,0x3
JLE 0x000189a3
MOVZX EAX,byte ptr [EAX]
MOVZX EBP,byte ptr [EDI + 0x3]
AND EAX,0x1f
ADD EBP,0x4
MOV dword ptr [ESP],EAX
CMP EDX,EBP
JL 0x00018982
SUB ESP,0xc
LEA EAX,[EBX + 0xffff25df]
LEA ESI,[EDI + 0x4]
PUSH EAX
CALL 0x000131d0
ADD ESP,0x10
LEA EAX,[EDI + EBP*0x1]
MOV dword ptr [ESP + 0x4],EAX
LEA EAX,[EBX + 0xffff2605]
MOV dword ptr [ESP + 0xc],EAX
LEA EAX,[EBX + 0xffff25f7]
MOV dword ptr [ESP + 0x8],EAX
CMP EBP,0x4
JZ 0x000188d4
LEA ESI,[ESI]
MOVZX EAX,byte ptr [ESI]
LEA EDX,[EAX + 0xffffff50]
CMP EDX,0xf
JBE 0x000188e0
LEA ECX,[EBX + 0xfffffdac]
XOR EDI,EDI
XOR EDX,EDX
JMP 0x000188a9
ADD EDX,0x1
CMP EDX,0x20
JZ 0x00018920
MOV EDI,dword ptr [ECX]
ADD ECX,0xc
CMP EAX,EDI
JNZ 0x00018898
LEA EDX,[EDX + EDX*0x2]
MOV EDX,dword ptr [EBX + EDX*0x4 + 0xfffffda8]
TEST EDX,EDX
JZ 0x00018920
PUSH EDX
PUSH EAX
PUSH dword ptr [ESP + 0x10]
PUSH 0x1
CALL 0x00013330
ADD ESP,0x10
ADD ESI,0x1
CMP ESI,dword ptr [ESP + 0x4]
JNZ 0x00018878
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EDX,[EBX + 0xfffffda4]
XOR EBP,EBP
XOR EDI,EDI
MOV ECX,EDX
JMP 0x000188fe
ADD EDI,0x1
ADD ECX,0xc
CMP EDI,0x20
JZ 0x00018938
MOV EBP,dword ptr [ECX + -0x4]
CMP EAX,EBP
JNZ 0x000188f0
MOV EBP,dword ptr [ESP]
CMP EBP,dword ptr [ECX]
JNZ 0x000188f0
LEA EDX,[EDI + EDI*0x2]
MOV EDX,dword ptr [EBX + EDX*0x4 + 0xfffffda8]
TEST EDX,EDX
JNZ 0x000188bb
LEA ESI,[ESI]
NOP
SUB ESP,0x4
PUSH EAX
PUSH dword ptr [ESP + 0x14]
PUSH 0x1
CALL 0x00013330
ADD ESP,0x10
JMP 0x000188cb
XOR EDI,EDI
XOR ECX,ECX
JMP 0x0001894e
ADD ECX,0x1
ADD EDX,0xc
CMP ECX,0x20
JZ 0x00018920
MOV EDI,dword ptr [EDX + -0x4]
CMP EAX,EDI
JNZ 0x00018940
MOV EDI,dword ptr [EDX]
TEST EDI,EDI
JNZ 0x00018940
LEA EDX,[ECX + ECX*0x2]
MOV EDX,dword ptr [EBX + EDX*0x4 + 0xfffffda8]
JMP 0x000188b7
PUSH EAX
XOR EAX,EAX
SUB ECX,0x1
SETNZ AL
NEG EAX
PUSH EAX
PUSH EDX
PUSH EDI
CALL 0x000131a0
ADD ESP,0x10
JMP 0x000188d4
PUSH EAX
LEA EAX,[EBX + 0xffff3aa8]
PUSH EDX
MOV dword ptr [ESP + 0xc],EDX
PUSH EBP
PUSH EAX
CALL 0x00013140
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x4]
MOV EBP,EDX
JMP 0x0001883d
PUSH EAX
PUSH EAX
LEA EAX,[EBX + 0xffff58a8]
PUSH EDX
PUSH EAX
CALL 0x00013140
ADD ESP,0x10
JMP 0x000188d4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00018800(byte *param_1,int param_2,int param_3)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  if (param_3 == 0) {\n    if (param_2 < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }\n    else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }\n  }\n  else {\n    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00018800(byte *param_1,int param_2,int param_3)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  if (param_3 == 0) {\n    if (param_2 < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }\n    else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }\n  }\n  else {\n    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00018800(byte *param_1,int param_2,int param_3)" identifier (parameter_list "(byte *param_1,int param_2,int param_3)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  if (param_3 == 0) {\n    if (param_2 < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }\n    else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }\n  }\n  else {\n    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (if_statement "if (param_3 == 0) {\n    if (param_2 < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }\n    else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }\n  }\n  else {\n    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_2 < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }\n    else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }\n  }" { (if_statement "if (param_2 < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }\n    else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }" if (parenthesized_expression "(param_2 < 4)" ( (binary_expression "param_2 < 4" identifier < number_literal) )) (compound_statement "{\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }" { (expression_statement "pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);" (call_expression "pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1)" identifier (argument_list "("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1)" ( (string_literal ""Supported VPD pages VPD page length too short=%d\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) }) (else_clause "else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }" else (compound_statement "{\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }" { (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar6 = param_1[3] + 4;" (assignment_expression "iVar6 = param_1[3] + 4" identifier = (binary_expression "param_1[3] + 4" (subscript_expression "param_1[3]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }" if (parenthesized_expression "(param_2 < iVar6)" ( (binary_expression "param_2 < iVar6" identifier < identifier) )) (compound_statement "{\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }" { (expression_statement "pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);" (call_expression "pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f)" identifier (argument_list "("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f)" ( (string_literal ""Supported VPD pages VPD page truncated, indicates %d, got %d\n"" " string_content escape_sequence ") , identifier , identifier , (binary_expression "bVar1 & 0x1f" identifier & number_literal) ))) ;) (expression_statement "iVar6 = param_2;" (assignment_expression "iVar6 = param_2" identifier = identifier) ;) })) (expression_statement "pbVar7 = param_1 + 4;" (assignment_expression "pbVar7 = param_1 + 4" identifier = (binary_expression "param_1 + 4" identifier + number_literal)) ;) (expression_statement "puts("   Supported VPD pages:");" (call_expression "puts("   Supported VPD pages:")" identifier (argument_list "("   Supported VPD pages:")" ( (string_literal ""   Supported VPD pages:"" " string_content ") ))) ;) (if_statement "if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }" if (parenthesized_expression "(iVar6 != 4)" ( (binary_expression "iVar6 != 4" identifier != number_literal) )) (compound_statement "{\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }" { (do_statement "do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);" do (compound_statement "{\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        }" { (expression_statement "uVar3 = (uint)*pbVar7;" (assignment_expression "uVar3 = (uint)*pbVar7" identifier = (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }" if (parenthesized_expression "(uVar3 - 0xb0 < 0x10)" ( (binary_expression "uVar3 - 0xb0 < 0x10" (binary_expression "uVar3 - 0xb0" identifier - number_literal) < number_literal) )) (compound_statement "{\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = &DAT_0002ac64;" (assignment_expression "puVar4 = &DAT_0002ac64" identifier = (pointer_expression "&DAT_0002ac64" & identifier)) ;) (while_statement "while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }" { (if_statement "if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }" if (parenthesized_expression "((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4))" ( (binary_expression "(uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)" (parenthesized_expression "(uVar3 == uVar8)" ( (binary_expression "uVar3 == uVar8" identifier == identifier) )) && (parenthesized_expression "((bVar1 & 0x1f) == *puVar4)" ( (binary_expression "(bVar1 & 0x1f) == *puVar4" (parenthesized_expression "(bVar1 & 0x1f)" ( (binary_expression "bVar1 & 0x1f" identifier & number_literal) )) == (pointer_expression "*puVar4" * identifier)) ))) )) (compound_statement "{\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }" { (expression_statement "puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];" (assignment_expression "puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3]" identifier = (subscript_expression "(&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3]" (parenthesized_expression "(&PTR_s_Supported_VPD_pages_0002ac68)" ( (pointer_expression "&PTR_s_Supported_VPD_pages_0002ac68" & identifier) )) [ (binary_expression "iVar5 * 3" identifier * number_literal) ])) ;) (goto_statement "goto joined_r0x00018915;" goto statement_identifier ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (if_statement "if (iVar5 == 0x20) break;" if (parenthesized_expression "(iVar5 == 0x20)" ( (binary_expression "iVar5 == 0x20" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar8 = puVar4[2];" (assignment_expression "uVar8 = puVar4[2]" identifier = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar4 + 3;" (assignment_expression "puVar4 = puVar4 + 3" identifier = (binary_expression "puVar4 + 3" identifier + number_literal)) ;) })) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = &DAT_0002ac64;" (assignment_expression "puVar4 = &DAT_0002ac64" identifier = (pointer_expression "&DAT_0002ac64" & identifier)) ;) (while_statement "while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }" { (if_statement "if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }" if (parenthesized_expression "((uVar3 == uVar8) && (*puVar4 == 0))" ( (binary_expression "(uVar3 == uVar8) && (*puVar4 == 0)" (parenthesized_expression "(uVar3 == uVar8)" ( (binary_expression "uVar3 == uVar8" identifier == identifier) )) && (parenthesized_expression "(*puVar4 == 0)" ( (binary_expression "*puVar4 == 0" (pointer_expression "*puVar4" * identifier) == number_literal) ))) )) (compound_statement "{\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }" { (expression_statement "puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];" (assignment_expression "puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3]" identifier = (subscript_expression "(&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3]" (parenthesized_expression "(&PTR_s_Supported_VPD_pages_0002ac68)" ( (pointer_expression "&PTR_s_Supported_VPD_pages_0002ac68" & identifier) )) [ (binary_expression "iVar5 * 3" identifier * number_literal) ])) ;) (goto_statement "goto joined_r0x00018915;" goto statement_identifier ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (if_statement "if (iVar5 == 0x20) break;" if (parenthesized_expression "(iVar5 == 0x20)" ( (binary_expression "iVar5 == 0x20" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar8 = puVar4[2];" (assignment_expression "uVar8 = puVar4[2]" identifier = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar4 + 3;" (assignment_expression "puVar4 = puVar4 + 3" identifier = (binary_expression "puVar4 + 3" identifier + number_literal)) ;) })) (labeled_statement "LAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);" statement_identifier : (expression_statement "__printf_chk(1,"     0x%x\n",uVar3);" (call_expression "__printf_chk(1,"     0x%x\n",uVar3)" identifier (argument_list "(1,"     0x%x\n",uVar3)" ( number_literal , (string_literal ""     0x%x\n"" " string_content escape_sequence ") , identifier ))) ;)) }) (else_clause "else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }" else (compound_statement "{\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = &DAT_0002ac6c;" (assignment_expression "puVar4 = &DAT_0002ac6c" identifier = (pointer_expression "&DAT_0002ac6c" & identifier)) ;) (while_statement "while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }" while (parenthesized_expression "(uVar3 != uVar8)" ( (binary_expression "uVar3 != uVar8" identifier != identifier) )) (compound_statement "{\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }" { (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (if_statement "if (iVar5 == 0x20) goto LAB_00018920;" if (parenthesized_expression "(iVar5 == 0x20)" ( (binary_expression "iVar5 == 0x20" identifier == number_literal) )) (goto_statement "goto LAB_00018920;" goto statement_identifier ;)) (expression_statement "uVar8 = *puVar4;" (assignment_expression "uVar8 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 3;" (assignment_expression "puVar4 = puVar4 + 3" identifier = (binary_expression "puVar4 + 3" identifier + number_literal)) ;) })) (expression_statement "puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];" (assignment_expression "puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3]" identifier = (subscript_expression "(&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3]" (parenthesized_expression "(&PTR_s_Supported_VPD_pages_0002ac68)" ( (pointer_expression "&PTR_s_Supported_VPD_pages_0002ac68" & identifier) )) [ (binary_expression "iVar5 * 3" identifier * number_literal) ])) ;) (labeled_statement "joined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;" statement_identifier : (if_statement "if (puVar2 == (undefined *)0x0) goto LAB_00018920;" if (parenthesized_expression "(puVar2 == (undefined *)0x0)" ( (binary_expression "puVar2 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00018920;" goto statement_identifier ;))) (expression_statement "__printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);" (call_expression "__printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2)" identifier (argument_list "(1,"     0x%x\t%s\n",uVar3,puVar2)" ( number_literal , (string_literal ""     0x%x\t%s\n"" " string_content escape_sequence string_content escape_sequence ") , identifier , identifier ))) ;) }))) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar7 != param_1 + iVar6)" ( (binary_expression "pbVar7 != param_1 + iVar6" identifier != (binary_expression "param_1 + iVar6" identifier + identifier)) )) ;) })) }))) }) (else_clause "else {\n    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);\n  }" else (compound_statement "{\n    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);\n  }" { (expression_statement "hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);" (call_expression "hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1)" identifier (argument_list "(param_1,param_2,-(uint)(param_3 != 1),param_1)" ( identifier , identifier , (unary_expression "-(uint)(param_3 != 1)" - (call_expression "(uint)(param_3 != 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_3 != 1)" ( (binary_expression "param_3 != 1" identifier != number_literal) )))) , identifier ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 decode_supported_vpd(uint8_t *buff,int len,int do_hex)\n\n{\n  byte bVar1;\n  char *pcVar2;\n  uint uVar3;\n  vpd_name *pvVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  byte *pbVar8;\n  uint uVar9;\n  \n  if (do_hex == 0) {\n    if (len < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",len,buff,buff);\n    }\n    else {\n      bVar1 = *buff;\n      iVar7 = buff[3] + 4;\n      if (len < iVar7) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar7,len,\n                bVar1 & 0x1f);\n        iVar7 = len;\n      }\n      pbVar8 = buff + 4;\n      puts("   Supported VPD pages:");\n      if (iVar7 != 4) {\n        do {\n          uVar3 = (uint)*pbVar8;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && (*piVar5 == 0)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            pvVar4 = vpd_name_arr;\n            iVar6 = 0;\n            uVar9 = 0;\n            while (pvVar4 = pvVar4 + 1, uVar3 != uVar9) {\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) goto LAB_00018920;\n              uVar9 = pvVar4->number;\n            }\n            pcVar2 = vpd_name_arr[iVar6].name;\njoined_r0x00018915:\n            if (pcVar2 == (char *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,pcVar2);\n          }\n          pbVar8 = pbVar8 + 1;\n        } while (pbVar8 != buff + iVar7);\n      }\n    }\n  }\n  else {\n    hex2stdout(buff,len,-(uint)(do_hex != 1),buff);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 decode_supported_vpd(uint8_t *buff,int len,int do_hex)\n\n{\n  byte bVar1;\n  char *pcVar2;\n  uint uVar3;\n  vpd_name *pvVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  byte *pbVar8;\n  uint uVar9;\n  \n  if (do_hex == 0) {\n    if (len < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",len,buff,buff);\n    }\n    else {\n      bVar1 = *buff;\n      iVar7 = buff[3] + 4;\n      if (len < iVar7) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar7,len,\n                bVar1 & 0x1f);\n        iVar7 = len;\n      }\n      pbVar8 = buff + 4;\n      puts("   Supported VPD pages:");\n      if (iVar7 != 4) {\n        do {\n          uVar3 = (uint)*pbVar8;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && (*piVar5 == 0)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            pvVar4 = vpd_name_arr;\n            iVar6 = 0;\n            uVar9 = 0;\n            while (pvVar4 = pvVar4 + 1, uVar3 != uVar9) {\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) goto LAB_00018920;\n              uVar9 = pvVar4->number;\n            }\n            pcVar2 = vpd_name_arr[iVar6].name;\njoined_r0x00018915:\n            if (pcVar2 == (char *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,pcVar2);\n          }\n          pbVar8 = pbVar8 + 1;\n        } while (pbVar8 != buff + iVar7);\n      }\n    }\n  }\n  else {\n    hex2stdout(buff,len,-(uint)(do_hex != 1),buff);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "decode_supported_vpd(uint8_t *buff,int len,int do_hex)" identifier (parameter_list "(uint8_t *buff,int len,int do_hex)" ( (parameter_declaration "uint8_t *buff" primitive_type (pointer_declarator "*buff" * identifier)) , (parameter_declaration "int len" primitive_type identifier) , (parameter_declaration "int do_hex" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  char *pcVar2;\n  uint uVar3;\n  vpd_name *pvVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  byte *pbVar8;\n  uint uVar9;\n  \n  if (do_hex == 0) {\n    if (len < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",len,buff,buff);\n    }\n    else {\n      bVar1 = *buff;\n      iVar7 = buff[3] + 4;\n      if (len < iVar7) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar7,len,\n                bVar1 & 0x1f);\n        iVar7 = len;\n      }\n      pbVar8 = buff + 4;\n      puts("   Supported VPD pages:");\n      if (iVar7 != 4) {\n        do {\n          uVar3 = (uint)*pbVar8;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && (*piVar5 == 0)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            pvVar4 = vpd_name_arr;\n            iVar6 = 0;\n            uVar9 = 0;\n            while (pvVar4 = pvVar4 + 1, uVar3 != uVar9) {\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) goto LAB_00018920;\n              uVar9 = pvVar4->number;\n            }\n            pcVar2 = vpd_name_arr[iVar6].name;\njoined_r0x00018915:\n            if (pcVar2 == (char *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,pcVar2);\n          }\n          pbVar8 = pbVar8 + 1;\n        } while (pbVar8 != buff + iVar7);\n      }\n    }\n  }\n  else {\n    hex2stdout(buff,len,-(uint)(do_hex != 1),buff);\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "vpd_name *pvVar4;" type_identifier (pointer_declarator "*pvVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (if_statement "if (do_hex == 0) {\n    if (len < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",len,buff,buff);\n    }\n    else {\n      bVar1 = *buff;\n      iVar7 = buff[3] + 4;\n      if (len < iVar7) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar7,len,\n                bVar1 & 0x1f);\n        iVar7 = len;\n      }\n      pbVar8 = buff + 4;\n      puts("   Supported VPD pages:");\n      if (iVar7 != 4) {\n        do {\n          uVar3 = (uint)*pbVar8;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && (*piVar5 == 0)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            pvVar4 = vpd_name_arr;\n            iVar6 = 0;\n            uVar9 = 0;\n            while (pvVar4 = pvVar4 + 1, uVar3 != uVar9) {\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) goto LAB_00018920;\n              uVar9 = pvVar4->number;\n            }\n            pcVar2 = vpd_name_arr[iVar6].name;\njoined_r0x00018915:\n            if (pcVar2 == (char *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,pcVar2);\n          }\n          pbVar8 = pbVar8 + 1;\n        } while (pbVar8 != buff + iVar7);\n      }\n    }\n  }\n  else {\n    hex2stdout(buff,len,-(uint)(do_hex != 1),buff);\n  }" if (parenthesized_expression "(do_hex == 0)" ( (binary_expression "do_hex == 0" identifier == number_literal) )) (compound_statement "{\n    if (len < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",len,buff,buff);\n    }\n    else {\n      bVar1 = *buff;\n      iVar7 = buff[3] + 4;\n      if (len < iVar7) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar7,len,\n                bVar1 & 0x1f);\n        iVar7 = len;\n      }\n      pbVar8 = buff + 4;\n      puts("   Supported VPD pages:");\n      if (iVar7 != 4) {\n        do {\n          uVar3 = (uint)*pbVar8;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && (*piVar5 == 0)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            pvVar4 = vpd_name_arr;\n            iVar6 = 0;\n            uVar9 = 0;\n            while (pvVar4 = pvVar4 + 1, uVar3 != uVar9) {\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) goto LAB_00018920;\n              uVar9 = pvVar4->number;\n            }\n            pcVar2 = vpd_name_arr[iVar6].name;\njoined_r0x00018915:\n            if (pcVar2 == (char *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,pcVar2);\n          }\n          pbVar8 = pbVar8 + 1;\n        } while (pbVar8 != buff + iVar7);\n      }\n    }\n  }" { (if_statement "if (len < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",len,buff,buff);\n    }\n    else {\n      bVar1 = *buff;\n      iVar7 = buff[3] + 4;\n      if (len < iVar7) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar7,len,\n                bVar1 & 0x1f);\n        iVar7 = len;\n      }\n      pbVar8 = buff + 4;\n      puts("   Supported VPD pages:");\n      if (iVar7 != 4) {\n        do {\n          uVar3 = (uint)*pbVar8;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && (*piVar5 == 0)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            pvVar4 = vpd_name_arr;\n            iVar6 = 0;\n            uVar9 = 0;\n            while (pvVar4 = pvVar4 + 1, uVar3 != uVar9) {\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) goto LAB_00018920;\n              uVar9 = pvVar4->number;\n            }\n            pcVar2 = vpd_name_arr[iVar6].name;\njoined_r0x00018915:\n            if (pcVar2 == (char *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,pcVar2);\n          }\n          pbVar8 = pbVar8 + 1;\n        } while (pbVar8 != buff + iVar7);\n      }\n    }" if (parenthesized_expression "(len < 4)" ( (binary_expression "len < 4" identifier < number_literal) )) (compound_statement "{\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",len,buff,buff);\n    }" { (expression_statement "pr2serr("Supported VPD pages VPD page length too short=%d\n",len,buff,buff);" (call_expression "pr2serr("Supported VPD pages VPD page length too short=%d\n",len,buff,buff)" identifier (argument_list "("Supported VPD pages VPD page length too short=%d\n",len,buff,buff)" ( (string_literal ""Supported VPD pages VPD page length too short=%d\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) }) (else_clause "else {\n      bVar1 = *buff;\n      iVar7 = buff[3] + 4;\n      if (len < iVar7) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar7,len,\n                bVar1 & 0x1f);\n        iVar7 = len;\n      }\n      pbVar8 = buff + 4;\n      puts("   Supported VPD pages:");\n      if (iVar7 != 4) {\n        do {\n          uVar3 = (uint)*pbVar8;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && (*piVar5 == 0)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            pvVar4 = vpd_name_arr;\n            iVar6 = 0;\n            uVar9 = 0;\n            while (pvVar4 = pvVar4 + 1, uVar3 != uVar9) {\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) goto LAB_00018920;\n              uVar9 = pvVar4->number;\n            }\n            pcVar2 = vpd_name_arr[iVar6].name;\njoined_r0x00018915:\n            if (pcVar2 == (char *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,pcVar2);\n          }\n          pbVar8 = pbVar8 + 1;\n        } while (pbVar8 != buff + iVar7);\n      }\n    }" else (compound_statement "{\n      bVar1 = *buff;\n      iVar7 = buff[3] + 4;\n      if (len < iVar7) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar7,len,\n                bVar1 & 0x1f);\n        iVar7 = len;\n      }\n      pbVar8 = buff + 4;\n      puts("   Supported VPD pages:");\n      if (iVar7 != 4) {\n        do {\n          uVar3 = (uint)*pbVar8;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && (*piVar5 == 0)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            pvVar4 = vpd_name_arr;\n            iVar6 = 0;\n            uVar9 = 0;\n            while (pvVar4 = pvVar4 + 1, uVar3 != uVar9) {\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) goto LAB_00018920;\n              uVar9 = pvVar4->number;\n            }\n            pcVar2 = vpd_name_arr[iVar6].name;\njoined_r0x00018915:\n            if (pcVar2 == (char *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,pcVar2);\n          }\n          pbVar8 = pbVar8 + 1;\n        } while (pbVar8 != buff + iVar7);\n      }\n    }" { (expression_statement "bVar1 = *buff;" (assignment_expression "bVar1 = *buff" identifier = (pointer_expression "*buff" * identifier)) ;) (expression_statement "iVar7 = buff[3] + 4;" (assignment_expression "iVar7 = buff[3] + 4" identifier = (binary_expression "buff[3] + 4" (subscript_expression "buff[3]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (len < iVar7) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar7,len,\n                bVar1 & 0x1f);\n        iVar7 = len;\n      }" if (parenthesized_expression "(len < iVar7)" ( (binary_expression "len < iVar7" identifier < identifier) )) (compound_statement "{\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar7,len,\n                bVar1 & 0x1f);\n        iVar7 = len;\n      }" { (expression_statement "pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar7,len,\n                bVar1 & 0x1f);" (call_expression "pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar7,len,\n                bVar1 & 0x1f)" identifier (argument_list "("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar7,len,\n                bVar1 & 0x1f)" ( (string_literal ""Supported VPD pages VPD page truncated, indicates %d, got %d\n"" " string_content escape_sequence ") , identifier , identifier , (binary_expression "bVar1 & 0x1f" identifier & number_literal) ))) ;) (expression_statement "iVar7 = len;" (assignment_expression "iVar7 = len" identifier = identifier) ;) })) (expression_statement "pbVar8 = buff + 4;" (assignment_expression "pbVar8 = buff + 4" identifier = (binary_expression "buff + 4" identifier + number_literal)) ;) (expression_statement "puts("   Supported VPD pages:");" (call_expression "puts("   Supported VPD pages:")" identifier (argument_list "("   Supported VPD pages:")" ( (string_literal ""   Supported VPD pages:"" " string_content ") ))) ;) (if_statement "if (iVar7 != 4) {\n        do {\n          uVar3 = (uint)*pbVar8;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && (*piVar5 == 0)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            pvVar4 = vpd_name_arr;\n            iVar6 = 0;\n            uVar9 = 0;\n            while (pvVar4 = pvVar4 + 1, uVar3 != uVar9) {\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) goto LAB_00018920;\n              uVar9 = pvVar4->number;\n            }\n            pcVar2 = vpd_name_arr[iVar6].name;\njoined_r0x00018915:\n            if (pcVar2 == (char *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,pcVar2);\n          }\n          pbVar8 = pbVar8 + 1;\n        } while (pbVar8 != buff + iVar7);\n      }" if (parenthesized_expression "(iVar7 != 4)" ( (binary_expression "iVar7 != 4" identifier != number_literal) )) (compound_statement "{\n        do {\n          uVar3 = (uint)*pbVar8;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && (*piVar5 == 0)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            pvVar4 = vpd_name_arr;\n            iVar6 = 0;\n            uVar9 = 0;\n            while (pvVar4 = pvVar4 + 1, uVar3 != uVar9) {\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) goto LAB_00018920;\n              uVar9 = pvVar4->number;\n            }\n            pcVar2 = vpd_name_arr[iVar6].name;\njoined_r0x00018915:\n            if (pcVar2 == (char *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,pcVar2);\n          }\n          pbVar8 = pbVar8 + 1;\n        } while (pbVar8 != buff + iVar7);\n      }" { (do_statement "do {\n          uVar3 = (uint)*pbVar8;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && (*piVar5 == 0)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            pvVar4 = vpd_name_arr;\n            iVar6 = 0;\n            uVar9 = 0;\n            while (pvVar4 = pvVar4 + 1, uVar3 != uVar9) {\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) goto LAB_00018920;\n              uVar9 = pvVar4->number;\n            }\n            pcVar2 = vpd_name_arr[iVar6].name;\njoined_r0x00018915:\n            if (pcVar2 == (char *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,pcVar2);\n          }\n          pbVar8 = pbVar8 + 1;\n        } while (pbVar8 != buff + iVar7);" do (compound_statement "{\n          uVar3 = (uint)*pbVar8;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && (*piVar5 == 0)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            pvVar4 = vpd_name_arr;\n            iVar6 = 0;\n            uVar9 = 0;\n            while (pvVar4 = pvVar4 + 1, uVar3 != uVar9) {\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) goto LAB_00018920;\n              uVar9 = pvVar4->number;\n            }\n            pcVar2 = vpd_name_arr[iVar6].name;\njoined_r0x00018915:\n            if (pcVar2 == (char *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,pcVar2);\n          }\n          pbVar8 = pbVar8 + 1;\n        }" { (expression_statement "uVar3 = (uint)*pbVar8;" (assignment_expression "uVar3 = (uint)*pbVar8" identifier = (binary_expression "(uint)*pbVar8" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar3 - 0xb0 < 0x10) {\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && (*piVar5 == 0)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            pvVar4 = vpd_name_arr;\n            iVar6 = 0;\n            uVar9 = 0;\n            while (pvVar4 = pvVar4 + 1, uVar3 != uVar9) {\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) goto LAB_00018920;\n              uVar9 = pvVar4->number;\n            }\n            pcVar2 = vpd_name_arr[iVar6].name;\njoined_r0x00018915:\n            if (pcVar2 == (char *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,pcVar2);\n          }" if (parenthesized_expression "(uVar3 - 0xb0 < 0x10)" ( (binary_expression "uVar3 - 0xb0 < 0x10" (binary_expression "uVar3 - 0xb0" identifier - number_literal) < number_literal) )) (compound_statement "{\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\n            uVar9 = 0;\n            iVar6 = 0;\n            piVar5 = &vpd_name_arr[0].peri_type;\n            while( true ) {\n              if ((uVar3 == uVar9) && (*piVar5 == 0)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "piVar5 = &vpd_name_arr[0].peri_type;" (assignment_expression "piVar5 = &vpd_name_arr[0].peri_type" identifier = (pointer_expression "&vpd_name_arr[0].peri_type" & (field_expression "vpd_name_arr[0].peri_type" (subscript_expression "vpd_name_arr[0]" identifier [ number_literal ]) . field_identifier))) ;) (while_statement "while( true ) {\n              if ((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              if ((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }" { (if_statement "if ((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }" if (parenthesized_expression "((uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5))" ( (binary_expression "(uVar3 == uVar9) && ((bVar1 & 0x1f) == *piVar5)" (parenthesized_expression "(uVar3 == uVar9)" ( (binary_expression "uVar3 == uVar9" identifier == identifier) )) && (parenthesized_expression "((bVar1 & 0x1f) == *piVar5)" ( (binary_expression "(bVar1 & 0x1f) == *piVar5" (parenthesized_expression "(bVar1 & 0x1f)" ( (binary_expression "bVar1 & 0x1f" identifier & number_literal) )) == (pointer_expression "*piVar5" * identifier)) ))) )) (compound_statement "{\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }" { (expression_statement "pcVar2 = vpd_name_arr[iVar6].name;" (assignment_expression "pcVar2 = vpd_name_arr[iVar6].name" identifier = (field_expression "vpd_name_arr[iVar6].name" (subscript_expression "vpd_name_arr[iVar6]" identifier [ identifier ]) . field_identifier)) ;) (goto_statement "goto joined_r0x00018915;" goto statement_identifier ;) })) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (if_statement "if (iVar6 == 0x20) break;" if (parenthesized_expression "(iVar6 == 0x20)" ( (binary_expression "iVar6 == 0x20" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar9 = piVar5[2];" (assignment_expression "uVar9 = piVar5[2]" identifier = (subscript_expression "piVar5[2]" identifier [ number_literal ])) ;) (expression_statement "piVar5 = piVar5 + 3;" (assignment_expression "piVar5 = piVar5 + 3" identifier = (binary_expression "piVar5 + 3" identifier + number_literal)) ;) })) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "piVar5 = &vpd_name_arr[0].peri_type;" (assignment_expression "piVar5 = &vpd_name_arr[0].peri_type" identifier = (pointer_expression "&vpd_name_arr[0].peri_type" & (field_expression "vpd_name_arr[0].peri_type" (subscript_expression "vpd_name_arr[0]" identifier [ number_literal ]) . field_identifier))) ;) (while_statement "while( true ) {\n              if ((uVar3 == uVar9) && (*piVar5 == 0)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              if ((uVar3 == uVar9) && (*piVar5 == 0)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) break;\n              uVar9 = piVar5[2];\n              piVar5 = piVar5 + 3;\n            }" { (if_statement "if ((uVar3 == uVar9) && (*piVar5 == 0)) {\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }" if (parenthesized_expression "((uVar3 == uVar9) && (*piVar5 == 0))" ( (binary_expression "(uVar3 == uVar9) && (*piVar5 == 0)" (parenthesized_expression "(uVar3 == uVar9)" ( (binary_expression "uVar3 == uVar9" identifier == identifier) )) && (parenthesized_expression "(*piVar5 == 0)" ( (binary_expression "*piVar5 == 0" (pointer_expression "*piVar5" * identifier) == number_literal) ))) )) (compound_statement "{\n                pcVar2 = vpd_name_arr[iVar6].name;\n                goto joined_r0x00018915;\n              }" { (expression_statement "pcVar2 = vpd_name_arr[iVar6].name;" (assignment_expression "pcVar2 = vpd_name_arr[iVar6].name" identifier = (field_expression "vpd_name_arr[iVar6].name" (subscript_expression "vpd_name_arr[iVar6]" identifier [ identifier ]) . field_identifier)) ;) (goto_statement "goto joined_r0x00018915;" goto statement_identifier ;) })) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (if_statement "if (iVar6 == 0x20) break;" if (parenthesized_expression "(iVar6 == 0x20)" ( (binary_expression "iVar6 == 0x20" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar9 = piVar5[2];" (assignment_expression "uVar9 = piVar5[2]" identifier = (subscript_expression "piVar5[2]" identifier [ number_literal ])) ;) (expression_statement "piVar5 = piVar5 + 3;" (assignment_expression "piVar5 = piVar5 + 3" identifier = (binary_expression "piVar5 + 3" identifier + number_literal)) ;) })) (labeled_statement "LAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);" statement_identifier : (expression_statement "__printf_chk(1,"     0x%x\n",uVar3);" (call_expression "__printf_chk(1,"     0x%x\n",uVar3)" identifier (argument_list "(1,"     0x%x\n",uVar3)" ( number_literal , (string_literal ""     0x%x\n"" " string_content escape_sequence ") , identifier ))) ;)) }) (else_clause "else {\n            pvVar4 = vpd_name_arr;\n            iVar6 = 0;\n            uVar9 = 0;\n            while (pvVar4 = pvVar4 + 1, uVar3 != uVar9) {\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) goto LAB_00018920;\n              uVar9 = pvVar4->number;\n            }\n            pcVar2 = vpd_name_arr[iVar6].name;\njoined_r0x00018915:\n            if (pcVar2 == (char *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,pcVar2);\n          }" else (compound_statement "{\n            pvVar4 = vpd_name_arr;\n            iVar6 = 0;\n            uVar9 = 0;\n            while (pvVar4 = pvVar4 + 1, uVar3 != uVar9) {\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) goto LAB_00018920;\n              uVar9 = pvVar4->number;\n            }\n            pcVar2 = vpd_name_arr[iVar6].name;\njoined_r0x00018915:\n            if (pcVar2 == (char *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,pcVar2);\n          }" { (expression_statement "pvVar4 = vpd_name_arr;" (assignment_expression "pvVar4 = vpd_name_arr" identifier = identifier) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (while_statement "while (pvVar4 = pvVar4 + 1, uVar3 != uVar9) {\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) goto LAB_00018920;\n              uVar9 = pvVar4->number;\n            }" while (parenthesized_expression "(pvVar4 = pvVar4 + 1, uVar3 != uVar9)" ( (comma_expression "pvVar4 = pvVar4 + 1, uVar3 != uVar9" (assignment_expression "pvVar4 = pvVar4 + 1" identifier = (binary_expression "pvVar4 + 1" identifier + number_literal)) , (binary_expression "uVar3 != uVar9" identifier != identifier)) )) (compound_statement "{\n              iVar6 = iVar6 + 1;\n              if (iVar6 == 0x20) goto LAB_00018920;\n              uVar9 = pvVar4->number;\n            }" { (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (if_statement "if (iVar6 == 0x20) goto LAB_00018920;" if (parenthesized_expression "(iVar6 == 0x20)" ( (binary_expression "iVar6 == 0x20" identifier == number_literal) )) (goto_statement "goto LAB_00018920;" goto statement_identifier ;)) (expression_statement "uVar9 = pvVar4->number;" (assignment_expression "uVar9 = pvVar4->number" identifier = (field_expression "pvVar4->number" identifier -> field_identifier)) ;) })) (expression_statement "pcVar2 = vpd_name_arr[iVar6].name;" (assignment_expression "pcVar2 = vpd_name_arr[iVar6].name" identifier = (field_expression "vpd_name_arr[iVar6].name" (subscript_expression "vpd_name_arr[iVar6]" identifier [ identifier ]) . field_identifier)) ;) (labeled_statement "joined_r0x00018915:\n            if (pcVar2 == (char *)0x0) goto LAB_00018920;" statement_identifier : (if_statement "if (pcVar2 == (char *)0x0) goto LAB_00018920;" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00018920;" goto statement_identifier ;))) (expression_statement "__printf_chk(1,"     0x%x\t%s\n",uVar3,pcVar2);" (call_expression "__printf_chk(1,"     0x%x\t%s\n",uVar3,pcVar2)" identifier (argument_list "(1,"     0x%x\t%s\n",uVar3,pcVar2)" ( number_literal , (string_literal ""     0x%x\t%s\n"" " string_content escape_sequence string_content escape_sequence ") , identifier , identifier ))) ;) }))) (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar8 != buff + iVar7)" ( (binary_expression "pbVar8 != buff + iVar7" identifier != (binary_expression "buff + iVar7" identifier + identifier)) )) ;) })) }))) }) (else_clause "else {\n    hex2stdout(buff,len,-(uint)(do_hex != 1),buff);\n  }" else (compound_statement "{\n    hex2stdout(buff,len,-(uint)(do_hex != 1),buff);\n  }" { (expression_statement "hex2stdout(buff,len,-(uint)(do_hex != 1),buff);" (call_expression "hex2stdout(buff,len,-(uint)(do_hex != 1),buff)" identifier (argument_list "(buff,len,-(uint)(do_hex != 1),buff)" ( identifier , identifier , (unary_expression "-(uint)(do_hex != 1)" - (call_expression "(uint)(do_hex != 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(do_hex != 1)" ( (binary_expression "do_hex != 1" identifier != number_literal) )))) , identifier ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00018800(byte *param_1,int param_2,int param_3)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  if (param_3 == 0) {\n    if (param_2 < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }\n    else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }\n  }\n  else {\n    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00018800(byte *param_1,int param_2,int param_3)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  if (param_3 == 0) {\n    if (param_2 < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }\n    else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }\n  }\n  else {\n    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00018800(byte *param_1,int param_2,int param_3)" identifier (parameter_list "(byte *param_1,int param_2,int param_3)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  if (param_3 == 0) {\n    if (param_2 < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }\n    else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }\n  }\n  else {\n    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (if_statement "if (param_3 == 0) {\n    if (param_2 < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }\n    else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }\n  }\n  else {\n    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_2 < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }\n    else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }\n  }" { (if_statement "if (param_2 < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }\n    else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }" if (parenthesized_expression "(param_2 < 4)" ( (binary_expression "param_2 < 4" identifier < number_literal) )) (compound_statement "{\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }" { (expression_statement "pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);" (call_expression "pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1)" identifier (argument_list "("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1)" ( (string_literal ""Supported VPD pages VPD page length too short=%d\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) }) (else_clause "else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }" else (compound_statement "{\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }" { (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar6 = param_1[3] + 4;" (assignment_expression "iVar6 = param_1[3] + 4" identifier = (binary_expression "param_1[3] + 4" (subscript_expression "param_1[3]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }" if (parenthesized_expression "(param_2 < iVar6)" ( (binary_expression "param_2 < iVar6" identifier < identifier) )) (compound_statement "{\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }" { (expression_statement "pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);" (call_expression "pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f)" identifier (argument_list "("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f)" ( (string_literal ""Supported VPD pages VPD page truncated, indicates %d, got %d\n"" " string_content escape_sequence ") , identifier , identifier , (binary_expression "bVar1 & 0x1f" identifier & number_literal) ))) ;) (expression_statement "iVar6 = param_2;" (assignment_expression "iVar6 = param_2" identifier = identifier) ;) })) (expression_statement "pbVar7 = param_1 + 4;" (assignment_expression "pbVar7 = param_1 + 4" identifier = (binary_expression "param_1 + 4" identifier + number_literal)) ;) (expression_statement "puts("   Supported VPD pages:");" (call_expression "puts("   Supported VPD pages:")" identifier (argument_list "("   Supported VPD pages:")" ( (string_literal ""   Supported VPD pages:"" " string_content ") ))) ;) (if_statement "if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }" if (parenthesized_expression "(iVar6 != 4)" ( (binary_expression "iVar6 != 4" identifier != number_literal) )) (compound_statement "{\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }" { (do_statement "do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);" do (compound_statement "{\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        }" { (expression_statement "uVar3 = (uint)*pbVar7;" (assignment_expression "uVar3 = (uint)*pbVar7" identifier = (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }" if (parenthesized_expression "(uVar3 - 0xb0 < 0x10)" ( (binary_expression "uVar3 - 0xb0 < 0x10" (binary_expression "uVar3 - 0xb0" identifier - number_literal) < number_literal) )) (compound_statement "{\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = &DAT_0002ac64;" (assignment_expression "puVar4 = &DAT_0002ac64" identifier = (pointer_expression "&DAT_0002ac64" & identifier)) ;) (while_statement "while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }" { (if_statement "if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }" if (parenthesized_expression "((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4))" ( (binary_expression "(uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)" (parenthesized_expression "(uVar3 == uVar8)" ( (binary_expression "uVar3 == uVar8" identifier == identifier) )) && (parenthesized_expression "((bVar1 & 0x1f) == *puVar4)" ( (binary_expression "(bVar1 & 0x1f) == *puVar4" (parenthesized_expression "(bVar1 & 0x1f)" ( (binary_expression "bVar1 & 0x1f" identifier & number_literal) )) == (pointer_expression "*puVar4" * identifier)) ))) )) (compound_statement "{\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }" { (expression_statement "puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];" (assignment_expression "puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3]" identifier = (subscript_expression "(&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3]" (parenthesized_expression "(&PTR_s_Supported_VPD_pages_0002ac68)" ( (pointer_expression "&PTR_s_Supported_VPD_pages_0002ac68" & identifier) )) [ (binary_expression "iVar5 * 3" identifier * number_literal) ])) ;) (goto_statement "goto joined_r0x00018915;" goto statement_identifier ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (if_statement "if (iVar5 == 0x20) break;" if (parenthesized_expression "(iVar5 == 0x20)" ( (binary_expression "iVar5 == 0x20" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar8 = puVar4[2];" (assignment_expression "uVar8 = puVar4[2]" identifier = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar4 + 3;" (assignment_expression "puVar4 = puVar4 + 3" identifier = (binary_expression "puVar4 + 3" identifier + number_literal)) ;) })) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = &DAT_0002ac64;" (assignment_expression "puVar4 = &DAT_0002ac64" identifier = (pointer_expression "&DAT_0002ac64" & identifier)) ;) (while_statement "while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }" { (if_statement "if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }" if (parenthesized_expression "((uVar3 == uVar8) && (*puVar4 == 0))" ( (binary_expression "(uVar3 == uVar8) && (*puVar4 == 0)" (parenthesized_expression "(uVar3 == uVar8)" ( (binary_expression "uVar3 == uVar8" identifier == identifier) )) && (parenthesized_expression "(*puVar4 == 0)" ( (binary_expression "*puVar4 == 0" (pointer_expression "*puVar4" * identifier) == number_literal) ))) )) (compound_statement "{\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }" { (expression_statement "puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];" (assignment_expression "puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3]" identifier = (subscript_expression "(&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3]" (parenthesized_expression "(&PTR_s_Supported_VPD_pages_0002ac68)" ( (pointer_expression "&PTR_s_Supported_VPD_pages_0002ac68" & identifier) )) [ (binary_expression "iVar5 * 3" identifier * number_literal) ])) ;) (goto_statement "goto joined_r0x00018915;" goto statement_identifier ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (if_statement "if (iVar5 == 0x20) break;" if (parenthesized_expression "(iVar5 == 0x20)" ( (binary_expression "iVar5 == 0x20" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar8 = puVar4[2];" (assignment_expression "uVar8 = puVar4[2]" identifier = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar4 + 3;" (assignment_expression "puVar4 = puVar4 + 3" identifier = (binary_expression "puVar4 + 3" identifier + number_literal)) ;) })) (labeled_statement "LAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);" statement_identifier : (expression_statement "__printf_chk(1,"     0x%x\n",uVar3);" (call_expression "__printf_chk(1,"     0x%x\n",uVar3)" identifier (argument_list "(1,"     0x%x\n",uVar3)" ( number_literal , (string_literal ""     0x%x\n"" " string_content escape_sequence ") , identifier ))) ;)) }) (else_clause "else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }" else (compound_statement "{\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = &DAT_0002ac6c;" (assignment_expression "puVar4 = &DAT_0002ac6c" identifier = (pointer_expression "&DAT_0002ac6c" & identifier)) ;) (while_statement "while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }" while (parenthesized_expression "(uVar3 != uVar8)" ( (binary_expression "uVar3 != uVar8" identifier != identifier) )) (compound_statement "{\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }" { (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (if_statement "if (iVar5 == 0x20) goto LAB_00018920;" if (parenthesized_expression "(iVar5 == 0x20)" ( (binary_expression "iVar5 == 0x20" identifier == number_literal) )) (goto_statement "goto LAB_00018920;" goto statement_identifier ;)) (expression_statement "uVar8 = *puVar4;" (assignment_expression "uVar8 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 3;" (assignment_expression "puVar4 = puVar4 + 3" identifier = (binary_expression "puVar4 + 3" identifier + number_literal)) ;) })) (expression_statement "puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];" (assignment_expression "puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3]" identifier = (subscript_expression "(&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3]" (parenthesized_expression "(&PTR_s_Supported_VPD_pages_0002ac68)" ( (pointer_expression "&PTR_s_Supported_VPD_pages_0002ac68" & identifier) )) [ (binary_expression "iVar5 * 3" identifier * number_literal) ])) ;) (labeled_statement "joined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;" statement_identifier : (if_statement "if (puVar2 == (undefined *)0x0) goto LAB_00018920;" if (parenthesized_expression "(puVar2 == (undefined *)0x0)" ( (binary_expression "puVar2 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00018920;" goto statement_identifier ;))) (expression_statement "__printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);" (call_expression "__printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2)" identifier (argument_list "(1,"     0x%x\t%s\n",uVar3,puVar2)" ( number_literal , (string_literal ""     0x%x\t%s\n"" " string_content escape_sequence string_content escape_sequence ") , identifier , identifier ))) ;) }))) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar7 != param_1 + iVar6)" ( (binary_expression "pbVar7 != param_1 + iVar6" identifier != (binary_expression "param_1 + iVar6" identifier + identifier)) )) ;) })) }))) }) (else_clause "else {\n    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);\n  }" else (compound_statement "{\n    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);\n  }" { (expression_statement "hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);" (call_expression "hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1)" identifier (argument_list "(param_1,param_2,-(uint)(param_3 != 1),param_1)" ( identifier , identifier , (unary_expression "-(uint)(param_3 != 1)" - (call_expression "(uint)(param_3 != 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_3 != 1)" ( (binary_expression "param_3 != 1" identifier != number_literal) )))) , identifier ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , IDENT , IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , IDENT , IDENT , (binary_expression IDENT & LIT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == (pointer_expression * IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ])) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ])) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , IDENT ))) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ])) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;))) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence ") , IDENT , IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + IDENT)) )) ;) })) }))) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) , IDENT ))) ;) }))) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00018800(byte *param_1,int param_2,int param_3)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  if (param_3 == 0) {\n    if (param_2 < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }\n    else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }\n  }\n  else {\n    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00018800(byte *param_1,int param_2,int param_3)" (identifier "FUN_00018800") (parameter_list "(byte *param_1,int param_2,int param_3)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (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  byte bVar1;\n  undefined *puVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  int iVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  if (param_3 == 0) {\n    if (param_2 < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }\n    else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }\n  }\n  else {\n    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);\n  }\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint *puVar4;" (type_identifier "uint") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (if_statement "if (param_3 == 0) {\n    if (param_2 < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }\n    else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }\n  }\n  else {\n    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_2 < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }\n    else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }\n  }" ({ "{") (if_statement "if (param_2 < 4) {\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }\n    else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }" (if "if") (parenthesized_expression "(param_2 < 4)" (( "(") (binary_expression "param_2 < 4" (identifier "param_2") (< "<") (number_literal "4")) () ")")) (compound_statement "{\n      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);\n    }" ({ "{") (expression_statement "pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);" (call_expression "pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1)" (identifier "pr2serr") (argument_list "("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1)" (( "(") (string_literal ""Supported VPD pages VPD page length too short=%d\n"" (" """) (string_content "Supported VPD pages VPD page length too short=%d") (escape_sequence "\n") (" """)) (, ",") (identifier "param_2") (, ",") (identifier "param_1") (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }" (else "else") (compound_statement "{\n      bVar1 = *param_1;\n      iVar6 = param_1[3] + 4;\n      if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }\n      pbVar7 = param_1 + 4;\n      puts("   Supported VPD pages:");\n      if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }\n    }" ({ "{") (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar6 = param_1[3] + 4;" (assignment_expression "iVar6 = param_1[3] + 4" (identifier "iVar6") (= "=") (binary_expression "param_1[3] + 4" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (+ "+") (number_literal "4"))) (; ";")) (if_statement "if (param_2 < iVar6) {\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }" (if "if") (parenthesized_expression "(param_2 < iVar6)" (( "(") (binary_expression "param_2 < iVar6" (identifier "param_2") (< "<") (identifier "iVar6")) () ")")) (compound_statement "{\n        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);\n        iVar6 = param_2;\n      }" ({ "{") (expression_statement "pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f);" (call_expression "pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f)" (identifier "pr2serr") (argument_list "("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,\n                bVar1 & 0x1f)" (( "(") (string_literal ""Supported VPD pages VPD page truncated, indicates %d, got %d\n"" (" """) (string_content "Supported VPD pages VPD page truncated, indicates %d, got %d") (escape_sequence "\n") (" """)) (, ",") (identifier "iVar6") (, ",") (identifier "param_2") (, ",") (binary_expression "bVar1 & 0x1f" (identifier "bVar1") (& "&") (number_literal "0x1f")) () ")"))) (; ";")) (expression_statement "iVar6 = param_2;" (assignment_expression "iVar6 = param_2" (identifier "iVar6") (= "=") (identifier "param_2")) (; ";")) (} "}"))) (expression_statement "pbVar7 = param_1 + 4;" (assignment_expression "pbVar7 = param_1 + 4" (identifier "pbVar7") (= "=") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "puts("   Supported VPD pages:");" (call_expression "puts("   Supported VPD pages:")" (identifier "puts") (argument_list "("   Supported VPD pages:")" (( "(") (string_literal ""   Supported VPD pages:"" (" """) (string_content "   Supported VPD pages:") (" """)) () ")"))) (; ";")) (if_statement "if (iVar6 != 4) {\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }" (if "if") (parenthesized_expression "(iVar6 != 4)" (( "(") (binary_expression "iVar6 != 4" (identifier "iVar6") (!= "!=") (number_literal "4")) () ")")) (compound_statement "{\n        do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);\n      }" ({ "{") (do_statement "do {\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        } while (pbVar7 != param_1 + iVar6);" (do "do") (compound_statement "{\n          uVar3 = (uint)*pbVar7;\n          if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }\n          pbVar7 = pbVar7 + 1;\n        }" ({ "{") (expression_statement "uVar3 = (uint)*pbVar7;" (assignment_expression "uVar3 = (uint)*pbVar7" (identifier "uVar3") (= "=") (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar7"))) (; ";")) (if_statement "if (uVar3 - 0xb0 < 0x10) {\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }\n          else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }" (if "if") (parenthesized_expression "(uVar3 - 0xb0 < 0x10)" (( "(") (binary_expression "uVar3 - 0xb0 < 0x10" (binary_expression "uVar3 - 0xb0" (identifier "uVar3") (- "-") (number_literal "0xb0")) (< "<") (number_literal "0x10")) () ")")) (compound_statement "{\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\n            uVar8 = 0;\n            iVar5 = 0;\n            puVar4 = &DAT_0002ac64;\n            while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }\nLAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);\n          }" ({ "{") (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = &DAT_0002ac64;" (assignment_expression "puVar4 = &DAT_0002ac64" (identifier "puVar4") (= "=") (pointer_expression "&DAT_0002ac64" (& "&") (identifier "DAT_0002ac64"))) (; ";")) (while_statement "while( true ) {\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }" ({ "{") (if_statement "if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }" (if "if") (parenthesized_expression "((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4))" (( "(") (binary_expression "(uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)" (parenthesized_expression "(uVar3 == uVar8)" (( "(") (binary_expression "uVar3 == uVar8" (identifier "uVar3") (== "==") (identifier "uVar8")) () ")")) (&& "&&") (parenthesized_expression "((bVar1 & 0x1f) == *puVar4)" (( "(") (binary_expression "(bVar1 & 0x1f) == *puVar4" (parenthesized_expression "(bVar1 & 0x1f)" (( "(") (binary_expression "bVar1 & 0x1f" (identifier "bVar1") (& "&") (number_literal "0x1f")) () ")")) (== "==") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) () ")"))) () ")")) (compound_statement "{\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }" ({ "{") (expression_statement "puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];" (assignment_expression "puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3]" (identifier "puVar2") (= "=") (subscript_expression "(&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3]" (parenthesized_expression "(&PTR_s_Supported_VPD_pages_0002ac68)" (( "(") (pointer_expression "&PTR_s_Supported_VPD_pages_0002ac68" (& "&") (identifier "PTR_s_Supported_VPD_pages_0002ac68")) () ")")) ([ "[") (binary_expression "iVar5 * 3" (identifier "iVar5") (* "*") (number_literal "3")) (] "]"))) (; ";")) (goto_statement "goto joined_r0x00018915;" (goto "goto") (statement_identifier "joined_r0x00018915") (; ";")) (} "}"))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar5 == 0x20) break;" (if "if") (parenthesized_expression "(iVar5 == 0x20)" (( "(") (binary_expression "iVar5 == 0x20" (identifier "iVar5") (== "==") (number_literal "0x20")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar8 = puVar4[2];" (assignment_expression "uVar8 = puVar4[2]" (identifier "uVar8") (= "=") (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar4 = puVar4 + 3;" (assignment_expression "puVar4 = puVar4 + 3" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 3" (identifier "puVar4") (+ "+") (number_literal "3"))) (; ";")) (} "}"))) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = &DAT_0002ac64;" (assignment_expression "puVar4 = &DAT_0002ac64" (identifier "puVar4") (= "=") (pointer_expression "&DAT_0002ac64" (& "&") (identifier "DAT_0002ac64"))) (; ";")) (while_statement "while( true ) {\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n              if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) break;\n              uVar8 = puVar4[2];\n              puVar4 = puVar4 + 3;\n            }" ({ "{") (if_statement "if ((uVar3 == uVar8) && (*puVar4 == 0)) {\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }" (if "if") (parenthesized_expression "((uVar3 == uVar8) && (*puVar4 == 0))" (( "(") (binary_expression "(uVar3 == uVar8) && (*puVar4 == 0)" (parenthesized_expression "(uVar3 == uVar8)" (( "(") (binary_expression "uVar3 == uVar8" (identifier "uVar3") (== "==") (identifier "uVar8")) () ")")) (&& "&&") (parenthesized_expression "(*puVar4 == 0)" (( "(") (binary_expression "*puVar4 == 0" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\n                goto joined_r0x00018915;\n              }" ({ "{") (expression_statement "puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];" (assignment_expression "puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3]" (identifier "puVar2") (= "=") (subscript_expression "(&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3]" (parenthesized_expression "(&PTR_s_Supported_VPD_pages_0002ac68)" (( "(") (pointer_expression "&PTR_s_Supported_VPD_pages_0002ac68" (& "&") (identifier "PTR_s_Supported_VPD_pages_0002ac68")) () ")")) ([ "[") (binary_expression "iVar5 * 3" (identifier "iVar5") (* "*") (number_literal "3")) (] "]"))) (; ";")) (goto_statement "goto joined_r0x00018915;" (goto "goto") (statement_identifier "joined_r0x00018915") (; ";")) (} "}"))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar5 == 0x20) break;" (if "if") (parenthesized_expression "(iVar5 == 0x20)" (( "(") (binary_expression "iVar5 == 0x20" (identifier "iVar5") (== "==") (number_literal "0x20")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar8 = puVar4[2];" (assignment_expression "uVar8 = puVar4[2]" (identifier "uVar8") (= "=") (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar4 = puVar4 + 3;" (assignment_expression "puVar4 = puVar4 + 3" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 3" (identifier "puVar4") (+ "+") (number_literal "3"))) (; ";")) (} "}"))) (labeled_statement "LAB_00018920:\n            __printf_chk(1,"     0x%x\n",uVar3);" (statement_identifier "LAB_00018920") (: ":") (expression_statement "__printf_chk(1,"     0x%x\n",uVar3);" (call_expression "__printf_chk(1,"     0x%x\n",uVar3)" (identifier "__printf_chk") (argument_list "(1,"     0x%x\n",uVar3)" (( "(") (number_literal "1") (, ",") (string_literal ""     0x%x\n"" (" """) (string_content "     0x%x") (escape_sequence "\n") (" """)) (, ",") (identifier "uVar3") () ")"))) (; ";"))) (} "}")) (else_clause "else {\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }" (else "else") (compound_statement "{\n            iVar5 = 0;\n            uVar8 = 0;\n            puVar4 = &DAT_0002ac6c;\n            while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }\n            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];\njoined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;\n            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);\n          }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = &DAT_0002ac6c;" (assignment_expression "puVar4 = &DAT_0002ac6c" (identifier "puVar4") (= "=") (pointer_expression "&DAT_0002ac6c" (& "&") (identifier "DAT_0002ac6c"))) (; ";")) (while_statement "while (uVar3 != uVar8) {\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }" (while "while") (parenthesized_expression "(uVar3 != uVar8)" (( "(") (binary_expression "uVar3 != uVar8" (identifier "uVar3") (!= "!=") (identifier "uVar8")) () ")")) (compound_statement "{\n              iVar5 = iVar5 + 1;\n              if (iVar5 == 0x20) goto LAB_00018920;\n              uVar8 = *puVar4;\n              puVar4 = puVar4 + 3;\n            }" ({ "{") (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar5 == 0x20) goto LAB_00018920;" (if "if") (parenthesized_expression "(iVar5 == 0x20)" (( "(") (binary_expression "iVar5 == 0x20" (identifier "iVar5") (== "==") (number_literal "0x20")) () ")")) (goto_statement "goto LAB_00018920;" (goto "goto") (statement_identifier "LAB_00018920") (; ";"))) (expression_statement "uVar8 = *puVar4;" (assignment_expression "uVar8 = *puVar4" (identifier "uVar8") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "puVar4 = puVar4 + 3;" (assignment_expression "puVar4 = puVar4 + 3" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 3" (identifier "puVar4") (+ "+") (number_literal "3"))) (; ";")) (} "}"))) (expression_statement "puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];" (assignment_expression "puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3]" (identifier "puVar2") (= "=") (subscript_expression "(&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3]" (parenthesized_expression "(&PTR_s_Supported_VPD_pages_0002ac68)" (( "(") (pointer_expression "&PTR_s_Supported_VPD_pages_0002ac68" (& "&") (identifier "PTR_s_Supported_VPD_pages_0002ac68")) () ")")) ([ "[") (binary_expression "iVar5 * 3" (identifier "iVar5") (* "*") (number_literal "3")) (] "]"))) (; ";")) (labeled_statement "joined_r0x00018915:\n            if (puVar2 == (undefined *)0x0) goto LAB_00018920;" (statement_identifier "joined_r0x00018915") (: ":") (if_statement "if (puVar2 == (undefined *)0x0) goto LAB_00018920;" (if "if") (parenthesized_expression "(puVar2 == (undefined *)0x0)" (( "(") (binary_expression "puVar2 == (undefined *)0x0" (identifier "puVar2") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00018920;" (goto "goto") (statement_identifier "LAB_00018920") (; ";")))) (expression_statement "__printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);" (call_expression "__printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2)" (identifier "__printf_chk") (argument_list "(1,"     0x%x\t%s\n",uVar3,puVar2)" (( "(") (number_literal "1") (, ",") (string_literal ""     0x%x\t%s\n"" (" """) (string_content "     0x%x") (escape_sequence "\t") (string_content "%s") (escape_sequence "\n") (" """)) (, ",") (identifier "uVar3") (, ",") (identifier "puVar2") () ")"))) (; ";")) (} "}")))) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" (identifier "pbVar7") (= "=") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar7 != param_1 + iVar6)" (( "(") (binary_expression "pbVar7 != param_1 + iVar6" (identifier "pbVar7") (!= "!=") (binary_expression "param_1 + iVar6" (identifier "param_1") (+ "+") (identifier "iVar6"))) () ")")) (; ";")) (} "}"))) (} "}")))) (} "}")) (else_clause "else {\n    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);\n  }" (else "else") (compound_statement "{\n    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);\n  }" ({ "{") (expression_statement "hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);" (call_expression "hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1)" (identifier "hex2stdout") (argument_list "(param_1,param_2,-(uint)(param_3 != 1),param_1)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (unary_expression "-(uint)(param_3 != 1)" (- "-") (call_expression "(uint)(param_3 != 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_3 != 1)" (( "(") (binary_expression "param_3 != 1" (identifier "param_3") (!= "!=") (number_literal "1")) () ")")))) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(uint8_t *var_6,int var_2,int var_1)

{
  type_1 var_5;
  char *var_15;
  type_2 var_9;
  type_3 *var_14;
  int *var_12;
  int var_11;
  int var_4;
  type_1 *var_8;
  type_2 var_10;
  
  if (var_1 == 0) {
    if (var_2 < 4) {
      var_3("Supported VPD pages VPD page length too short=%d\n",var_2,var_6,var_6);
    }
    else {
      var_5 = *var_6;
      var_4 = var_6[3] + 4;
      if (var_2 < var_4) {
        var_3("Supported VPD pages VPD page truncated, indicates %d, got %d\n",var_4,var_2,
                var_5 & 0x1f);
        var_4 = var_2;
      }
      var_8 = var_6 + 4;
      var_7("   Supported VPD pages:");
      if (var_4 != 4) {
        do {
          var_9 = (type_2)*var_8;
          if (var_9 - 0xb0 < 0x10) {
            var_10 = 0;
            var_11 = 0;
            var_12 = &vpd_name_arr[0].peri_type;
            while( true ) {
              if ((var_9 == var_10) && ((var_5 & 0x1f) == *var_12)) {
                var_15 = vpd_name_arr[var_11].name;
                goto joined_r0x00018915;
              }
              var_11 = var_11 + 1;
              if (var_11 == 0x20) break;
              var_10 = var_12[2];
              var_12 = var_12 + 3;
            }
            var_10 = 0;
            var_11 = 0;
            var_12 = &vpd_name_arr[0].peri_type;
            while( true ) {
              if ((var_9 == var_10) && (*var_12 == 0)) {
                var_15 = vpd_name_arr[var_11].name;
                goto joined_r0x00018915;
              }
              var_11 = var_11 + 1;
              if (var_11 == 0x20) break;
              var_10 = var_12[2];
              var_12 = var_12 + 3;
            }
LAB_00018920:
            var_13(1,"     0x%x\n",var_9);
          }
          else {
            var_14 = vpd_name_arr;
            var_11 = 0;
            var_10 = 0;
            while (var_14 = var_14 + 1, var_9 != var_10) {
              var_11 = var_11 + 1;
              if (var_11 == 0x20) goto LAB_00018920;
              var_10 = var_14->number;
            }
            var_15 = vpd_name_arr[var_11].name;
joined_r0x00018915:
            if (var_15 == (char *)0x0) goto LAB_00018920;
            var_13(1,"     0x%x\t%s\n",var_9,var_15);
          }
          var_8 = var_8 + 1;
        } while (var_8 != var_6 + var_4);
      }
    }
  }
  else {
    var_16(var_6,var_2,-(type_2)(var_1 != 1),var_6);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence)) (identifier) (identifier) (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence)) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (pointer_expression argument: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (identifier) right: (number_literal))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (identifier) right: (number_literal))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (identifier) right: (number_literal))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence)) (identifier) (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))))))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (unary_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (identifier))))))) (return_statement))))

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

void __regparm3 MASKED(byte *param_1,int param_2,int param_3)

{
  byte bVar1;
  undefined *puVar2;
  uint uVar3;
  uint *puVar4;
  int iVar5;
  int iVar6;
  byte *pbVar7;
  uint uVar8;
  
  if (param_3 == 0) {
    if (param_2 < 4) {
      pr2serr("Supported VPD pages VPD page length too short=%d\n",param_2,param_1,param_1);
    }
    else {
      bVar1 = *param_1;
      iVar6 = param_1[3] + 4;
      if (param_2 < iVar6) {
        pr2serr("Supported VPD pages VPD page truncated, indicates %d, got %d\n",iVar6,param_2,
                bVar1 & 0x1f);
        iVar6 = param_2;
      }
      pbVar7 = param_1 + 4;
      puts("   Supported VPD pages:");
      if (iVar6 != 4) {
        do {
          uVar3 = (uint)*pbVar7;
          if (uVar3 - 0xb0 < 0x10) {
            uVar8 = 0;
            iVar5 = 0;
            puVar4 = &DAT_0002ac64;
            while( true ) {
              if ((uVar3 == uVar8) && ((bVar1 & 0x1f) == *puVar4)) {
                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];
                goto joined_r0x00018915;
              }
              iVar5 = iVar5 + 1;
              if (iVar5 == 0x20) break;
              uVar8 = puVar4[2];
              puVar4 = puVar4 + 3;
            }
            uVar8 = 0;
            iVar5 = 0;
            puVar4 = &DAT_0002ac64;
            while( true ) {
              if ((uVar3 == uVar8) && (*puVar4 == 0)) {
                puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];
                goto joined_r0x00018915;
              }
              iVar5 = iVar5 + 1;
              if (iVar5 == 0x20) break;
              uVar8 = puVar4[2];
              puVar4 = puVar4 + 3;
            }
LAB_00018920:
            __printf_chk(1,"     0x%x\n",uVar3);
          }
          else {
            iVar5 = 0;
            uVar8 = 0;
            puVar4 = &DAT_0002ac6c;
            while (uVar3 != uVar8) {
              iVar5 = iVar5 + 1;
              if (iVar5 == 0x20) goto LAB_00018920;
              uVar8 = *puVar4;
              puVar4 = puVar4 + 3;
            }
            puVar2 = (&PTR_s_Supported_VPD_pages_0002ac68)[iVar5 * 3];
joined_r0x00018915:
            if (puVar2 == (undefined *)0x0) goto LAB_00018920;
            __printf_chk(1,"     0x%x\t%s\n",uVar3,puVar2);
          }
          pbVar7 = pbVar7 + 1;
        } while (pbVar7 != param_1 + iVar6);
      }
    }
  }
  else {
    hex2stdout(param_1,param_2,-(uint)(param_3 != 1),param_1);
  }
  return;
}

