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

zlib_table * __regparm3
zlib_mkonetab(int *codes,uchar *lengths,int nsyms,int pfx,int pfxbits,int bits)

{
  zlib_table *pzVar1;
  zlib_tableentry *pzVar2;
  uint uVar3;
  zlib_table *pzVar4;
  int iVar5;
  zlib_tableentry *pzVar6;
  zlib_tableentry *pzVar7;
  int iVar8;
  size_t n;
  uint uVar9;
  int in_stack_ffffffbc;
  
  pzVar1 = (zlib_table *)safemalloc(1,8);
  n = 1 << ((byte)pfxbits & 0x1f);
  uVar9 = n - 1;
  pzVar2 = (zlib_tableentry *)safemalloc(n,8);
  pzVar1->table = pzVar2;
  pzVar1->mask = uVar9;
  if (-1 < (int)uVar9) {
    pzVar6 = pzVar2;
    do {
      pzVar6->nbits = '\0';
      pzVar7 = pzVar6 + 1;
      pzVar6->code = -1;
      pzVar6->nexttable = (zlib_table *)0x0;
      pzVar6 = pzVar7;
    } while (pzVar7 != (zlib_tableentry *)(&pzVar2->nbits + (8 << ((byte)pfxbits & 0x1f))));
  }
  iVar8 = 0;
  do {
    while ((((int)(uint)lengths[iVar8] <= pfx ||
            (((1 << ((byte)pfx & 0x1f)) - 1U & codes[iVar8]) != nsyms)) ||
           (uVar3 = codes[iVar8] >> ((byte)pfx & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {
      iVar8 = iVar8 + 1;
      if (iVar8 == 0x120) goto LAB_00072e20;
    }
    do {
      pzVar6 = pzVar2 + uVar3;
      pzVar6->code = (short)iVar8;
      iVar5 = (uint)lengths[iVar8] - pfx;
      if ((int)(uint)pzVar6->nbits < iVar5) {
        pzVar6->nbits = (uchar)iVar5;
        iVar5 = (uint)lengths[iVar8] - pfx;
      }
      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));
    } while ((int)uVar3 <= (int)uVar9);
    iVar8 = iVar8 + 1;
  } while (iVar8 != 0x120);
LAB_00072e20:
  if (-1 < (int)uVar9) {
    iVar8 = 0;
    uVar3 = (uint)pzVar2->nbits;
    if ((int)uVar3 <= pfxbits) goto LAB_00072eb2;
    while( true ) {
      iVar5 = uVar3 - pfxbits;
      pzVar2->nbits = (byte)pfxbits;
      pzVar2->code = -1;
      uVar9 = iVar8 << ((byte)pfx & 0x1f);
      if (7 < iVar5) {
        iVar5 = 7;
      }
      iVar8 = iVar8 + 1;
      pzVar4 = zlib_mkonetab(codes,lengths,nsyms | uVar9,pfx + pfxbits,iVar5,in_stack_ffffffbc);
      pzVar2->nexttable = pzVar4;
      uVar9 = pzVar1->mask;
      if ((int)uVar9 < iVar8) break;
      while( true ) {
        pzVar2 = pzVar1->table + iVar8;
        uVar3 = (uint)pzVar2->nbits;
        if (pfxbits < (int)uVar3) break;
LAB_00072eb2:
        iVar8 = iVar8 + 1;
        if ((int)uVar9 < iVar8) {
          return pzVar1;
        }
      }
    }
  }
  return pzVar1;
}



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

uint * __regparm3 FUN_00072d00(int param_1,int param_2,uint param_3,int param_4,int param_5)

{
  uint *puVar1;
  byte *pbVar2;
  uint uVar3;
  undefined4 uVar4;
  int iVar5;
  byte *pbVar6;
  byte *pbVar7;
  int iVar8;
  uint uVar9;
  
  puVar1 = (uint *)FUN_0001fe90(1,8);
  iVar8 = 1 << ((byte)param_5 & 0x1f);
  uVar9 = iVar8 - 1;
  pbVar2 = (byte *)FUN_0001fe90(iVar8,8);
  puVar1[1] = (uint)pbVar2;
  *puVar1 = uVar9;
  if (-1 < (int)uVar9) {
    pbVar6 = pbVar2;
    do {
      *pbVar6 = 0;
      pbVar7 = pbVar6 + 8;
      pbVar6[2] = 0xff;
      pbVar6[3] = 0xff;
      pbVar6[4] = 0;
      pbVar6[5] = 0;
      pbVar6[6] = 0;
      pbVar6[7] = 0;
      pbVar6 = pbVar7;
    } while (pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)));
  }
  iVar8 = 0;
  do {
    while ((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||
            (uVar3 = *(uint *)(param_1 + iVar8 * 4),
            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||
           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {
      iVar8 = iVar8 + 1;
      if (iVar8 == 0x120) goto LAB_00072e20;
    }
    do {
      pbVar6 = pbVar2 + uVar3 * 8;
      *(short *)(pbVar6 + 2) = (short)iVar8;
      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;
      if ((int)(uint)*pbVar6 < iVar5) {
        *pbVar6 = (byte)iVar5;
        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;
      }
      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));
    } while ((int)uVar3 <= (int)uVar9);
    iVar8 = iVar8 + 1;
  } while (iVar8 != 0x120);
LAB_00072e20:
  if (-1 < (int)uVar9) {
    iVar8 = 0;
    uVar3 = (uint)*pbVar2;
    if ((int)uVar3 <= param_5) goto LAB_00072eb2;
    while( true ) {
      iVar5 = uVar3 - param_5;
      *pbVar2 = (byte)param_5;
      pbVar2[2] = 0xff;
      pbVar2[3] = 0xff;
      if (7 < iVar5) {
        iVar5 = 7;
      }
      iVar8 = iVar8 + 1;
      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);
      *(undefined4 *)(pbVar2 + 4) = uVar4;
      uVar9 = *puVar1;
      if ((int)uVar9 < iVar8) break;
      while( true ) {
        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);
        uVar3 = (uint)*pbVar2;
        if (param_5 < (int)uVar3) break;
LAB_00072eb2:
        iVar8 = iVar8 + 1;
        if ((int)uVar9 < iVar8) {
          return puVar1;
        }
      }
    }
  }
  return puVar1;
}


PUSH EBP
PUSH EDI
MOV EDI,EDX
PUSH ESI
MOV ESI,0x1
PUSH EBX
CALL 0x00015ff0
ADD EBX,0x54060
SUB ESP,0x34
MOV dword ptr [ESP + 0x1c],ECX
MOV dword ptr [ESP + 0x18],EAX
PUSH 0x8
PUSH 0x1
CALL 0x0001fe90
MOVZX ECX,byte ptr [ESP + 0x50]
MOV dword ptr [ESP + 0x28],EAX
MOV EBP,EAX
MOV EAX,ESI
SHL EAX,CL
MOVZX ECX,byte ptr [ESP + 0x54]
SUB EAX,0x1
SHL ESI,CL
MOV dword ptr [ESP + 0x2c],EAX
POP EAX
POP EDX
PUSH 0x8
PUSH ESI
SUB ESI,0x1
CALL 0x0001fe90
MOV dword ptr [ESP + 0x14],ESI
ADD ESP,0x10
MOV dword ptr [EBP + 0x4],EAX
MOV dword ptr [EBP],ESI
TEST ESI,ESI
JS 0x00072d92
MOVZX ECX,byte ptr [ESP + 0x44]
MOV EBX,0x8
MOV EDX,EAX
SHL EBX,CL
ADD EBX,EAX
LEA ESI,[ESI]
MOV ECX,0xffffffff
MOV byte ptr [EDX],0x0
ADD EDX,0x8
MOV word ptr [EDX + -0x6],CX
MOV dword ptr [EDX + -0x4],0x0
CMP EDX,EBX
JNZ 0x00072d78
XOR EBX,EBX
MOV dword ptr [ESP + 0x8],EAX
MOV ESI,dword ptr [ESP + 0x40]
JMP 0x00072dab
ADD EBX,0x1
CMP EBX,0x120
JZ 0x00072e20
MOVZX EAX,byte ptr [EDI + EBX*0x1]
CMP ESI,EAX
JGE 0x00072da0
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [EAX + EBX*0x4]
AND EDX,EAX
CMP EDX,dword ptr [ESP + 0x14]
JNZ 0x00072da0
MOV ECX,ESI
MOV EDX,dword ptr [ESP + 0x4]
SAR EAX,CL
AND EAX,EDX
CMP EDX,EAX
JL 0x00072da0
MOV word ptr [ESP + 0xe],BX
LEA ESI,[ESI]
MOV ECX,dword ptr [ESP + 0x8]
LEA EDX,[ECX + EAX*0x8]
MOVZX ECX,word ptr [ESP + 0xe]
MOVZX EBP,byte ptr [EDX]
MOV word ptr [EDX + 0x2],CX
MOVZX ECX,byte ptr [EDI + EBX*0x1]
SUB ECX,ESI
CMP EBP,ECX
JGE 0x00072e05
MOV byte ptr [EDX],CL
MOVZX ECX,byte ptr [EDI + EBX*0x1]
SUB ECX,ESI
MOV EDX,0x1
SHL EDX,CL
ADD EAX,EDX
CMP dword ptr [ESP + 0x4],EAX
JGE 0x00072de0
ADD EBX,0x1
CMP EBX,0x120
JNZ 0x00072dab
NOP
MOV EDX,dword ptr [ESP + 0x4]
MOV EAX,dword ptr [ESP + 0x8]
TEST EDX,EDX
JS 0x00072eb9
XOR EBX,EBX
MOV ESI,dword ptr [ESP + 0x40]
ADD ESI,dword ptr [ESP + 0x44]
MOV dword ptr [ESP + 0x8],EDI
MOV dword ptr [ESP + 0x4],ESI
LEA ESI,[EAX + EBX*0x8]
MOV EDI,dword ptr [ESP + 0x44]
MOV EBP,0x7
MOVZX EAX,byte ptr [ESI]
CMP EDI,EAX
JGE 0x00072eb2
MOV ECX,EDI
MOV EDX,0xffffffff
SUB EAX,EDI
SUB ESP,0x8
MOV byte ptr [ESI],CL
MOVZX ECX,byte ptr [ESP + 0x48]
MOV word ptr [ESI + 0x2],DX
MOV EDX,EBX
SHL EDX,CL
MOV ECX,dword ptr [ESP + 0x1c]
OR ECX,EDX
CMP EAX,0x7
CMOVG EAX,EBP
ADD EBX,0x1
PUSH EAX
PUSH dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [ESP + 0x20]
CALL 0x00072d00
MOV dword ptr [ESI + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x28]
ADD ESP,0x10
MOV EDX,dword ptr [EAX]
CMP EBX,EDX
JG 0x00072eb9
MOV EAX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EAX + 0x4]
LEA ESI,[EAX + EBX*0x8]
MOVZX EAX,byte ptr [ESI]
CMP EDI,EAX
JL 0x00072e55
ADD EBX,0x1
CMP EBX,EDX
JLE 0x00072ea1
MOV EAX,dword ptr [ESP + 0x18]
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint * __regparm3 FUN_00072d00(int param_1,int param_2,uint param_3,int param_4,int param_5)\n\n{\n  uint *puVar1;\n  byte *pbVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  int iVar8;\n  uint uVar9;\n  \n  puVar1 = (uint *)FUN_0001fe90(1,8);\n  iVar8 = 1 << ((byte)param_5 & 0x1f);\n  uVar9 = iVar8 - 1;\n  pbVar2 = (byte *)FUN_0001fe90(iVar8,8);\n  puVar1[1] = (uint)pbVar2;\n  *puVar1 = uVar9;\n  if (-1 < (int)uVar9) {\n    pbVar6 = pbVar2;\n    do {\n      *pbVar6 = 0;\n      pbVar7 = pbVar6 + 8;\n      pbVar6[2] = 0xff;\n      pbVar6[3] = 0xff;\n      pbVar6[4] = 0;\n      pbVar6[5] = 0;\n      pbVar6[6] = 0;\n      pbVar6[7] = 0;\n      pbVar6 = pbVar7;\n    } while (pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)));\n  }\n  iVar8 = 0;\n  do {\n    while ((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }\n    do {\n      pbVar6 = pbVar2 + uVar3 * 8;\n      *(short *)(pbVar6 + 2) = (short)iVar8;\n      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x120);\nLAB_00072e20:\n  if (-1 < (int)uVar9) {\n    iVar8 = 0;\n    uVar3 = (uint)*pbVar2;\n    if ((int)uVar3 <= param_5) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }\n  }\n  return puVar1;\n}\n\n" comment (ERROR "uint * __regparm3 FUN_00072d00(int param_1,int param_2,uint param_3,int param_4,int param_5)" (binary_expression "uint * __regparm3 FUN_00072d00(int param_1,int param_2,uint param_3,int param_4,int param_5)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_00072d00(int param_1,int param_2,uint param_3,int param_4,int param_5)" identifier (argument_list "(int param_1,int param_2,uint param_3,int param_4,int param_5)" ( (ERROR "int" identifier) identifier , (ERROR "int" identifier) identifier , (ERROR "uint" identifier) identifier , (ERROR "int" identifier) identifier , (ERROR "int" identifier) identifier ))))) (compound_statement "{\n  uint *puVar1;\n  byte *pbVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  int iVar8;\n  uint uVar9;\n  \n  puVar1 = (uint *)FUN_0001fe90(1,8);\n  iVar8 = 1 << ((byte)param_5 & 0x1f);\n  uVar9 = iVar8 - 1;\n  pbVar2 = (byte *)FUN_0001fe90(iVar8,8);\n  puVar1[1] = (uint)pbVar2;\n  *puVar1 = uVar9;\n  if (-1 < (int)uVar9) {\n    pbVar6 = pbVar2;\n    do {\n      *pbVar6 = 0;\n      pbVar7 = pbVar6 + 8;\n      pbVar6[2] = 0xff;\n      pbVar6[3] = 0xff;\n      pbVar6[4] = 0;\n      pbVar6[5] = 0;\n      pbVar6[6] = 0;\n      pbVar6[7] = 0;\n      pbVar6 = pbVar7;\n    } while (pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)));\n  }\n  iVar8 = 0;\n  do {\n    while ((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }\n    do {\n      pbVar6 = pbVar2 + uVar3 * 8;\n      *(short *)(pbVar6 + 2) = (short)iVar8;\n      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x120);\nLAB_00072e20:\n  if (-1 < (int)uVar9) {\n    iVar8 = 0;\n    uVar3 = (uint)*pbVar2;\n    if ((int)uVar3 <= param_5) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }\n  }\n  return puVar1;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (expression_statement "puVar1 = (uint *)FUN_0001fe90(1,8);" (assignment_expression "puVar1 = (uint *)FUN_0001fe90(1,8)" identifier = (cast_expression "(uint *)FUN_0001fe90(1,8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001fe90(1,8)" identifier (argument_list "(1,8)" ( number_literal , number_literal ))))) ;) (expression_statement "iVar8 = 1 << ((byte)param_5 & 0x1f);" (assignment_expression "iVar8 = 1 << ((byte)param_5 & 0x1f)" identifier = (binary_expression "1 << ((byte)param_5 & 0x1f)" number_literal << (parenthesized_expression "((byte)param_5 & 0x1f)" ( (binary_expression "(byte)param_5 & 0x1f" (cast_expression "(byte)param_5" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "uVar9 = iVar8 - 1;" (assignment_expression "uVar9 = iVar8 - 1" identifier = (binary_expression "iVar8 - 1" identifier - number_literal)) ;) (expression_statement "pbVar2 = (byte *)FUN_0001fe90(iVar8,8);" (assignment_expression "pbVar2 = (byte *)FUN_0001fe90(iVar8,8)" identifier = (cast_expression "(byte *)FUN_0001fe90(iVar8,8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001fe90(iVar8,8)" identifier (argument_list "(iVar8,8)" ( identifier , number_literal ))))) ;) (expression_statement "puVar1[1] = (uint)pbVar2;" (assignment_expression "puVar1[1] = (uint)pbVar2" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = (cast_expression "(uint)pbVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*puVar1 = uVar9;" (assignment_expression "*puVar1 = uVar9" (pointer_expression "*puVar1" * identifier) = identifier) ;) (if_statement "if (-1 < (int)uVar9) {\n    pbVar6 = pbVar2;\n    do {\n      *pbVar6 = 0;\n      pbVar7 = pbVar6 + 8;\n      pbVar6[2] = 0xff;\n      pbVar6[3] = 0xff;\n      pbVar6[4] = 0;\n      pbVar6[5] = 0;\n      pbVar6[6] = 0;\n      pbVar6[7] = 0;\n      pbVar6 = pbVar7;\n    } while (pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)));\n  }" if (parenthesized_expression "(-1 < (int)uVar9)" ( (binary_expression "-1 < (int)uVar9" number_literal < (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    pbVar6 = pbVar2;\n    do {\n      *pbVar6 = 0;\n      pbVar7 = pbVar6 + 8;\n      pbVar6[2] = 0xff;\n      pbVar6[3] = 0xff;\n      pbVar6[4] = 0;\n      pbVar6[5] = 0;\n      pbVar6[6] = 0;\n      pbVar6[7] = 0;\n      pbVar6 = pbVar7;\n    } while (pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)));\n  }" { (expression_statement "pbVar6 = pbVar2;" (assignment_expression "pbVar6 = pbVar2" identifier = identifier) ;) (do_statement "do {\n      *pbVar6 = 0;\n      pbVar7 = pbVar6 + 8;\n      pbVar6[2] = 0xff;\n      pbVar6[3] = 0xff;\n      pbVar6[4] = 0;\n      pbVar6[5] = 0;\n      pbVar6[6] = 0;\n      pbVar6[7] = 0;\n      pbVar6 = pbVar7;\n    } while (pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)));" do (compound_statement "{\n      *pbVar6 = 0;\n      pbVar7 = pbVar6 + 8;\n      pbVar6[2] = 0xff;\n      pbVar6[3] = 0xff;\n      pbVar6[4] = 0;\n      pbVar6[5] = 0;\n      pbVar6[6] = 0;\n      pbVar6[7] = 0;\n      pbVar6 = pbVar7;\n    }" { (expression_statement "*pbVar6 = 0;" (assignment_expression "*pbVar6 = 0" (pointer_expression "*pbVar6" * identifier) = number_literal) ;) (expression_statement "pbVar7 = pbVar6 + 8;" (assignment_expression "pbVar7 = pbVar6 + 8" identifier = (binary_expression "pbVar6 + 8" identifier + number_literal)) ;) (expression_statement "pbVar6[2] = 0xff;" (assignment_expression "pbVar6[2] = 0xff" (subscript_expression "pbVar6[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar6[3] = 0xff;" (assignment_expression "pbVar6[3] = 0xff" (subscript_expression "pbVar6[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar6[4] = 0;" (assignment_expression "pbVar6[4] = 0" (subscript_expression "pbVar6[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar6[5] = 0;" (assignment_expression "pbVar6[5] = 0" (subscript_expression "pbVar6[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar6[6] = 0;" (assignment_expression "pbVar6[6] = 0" (subscript_expression "pbVar6[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar6[7] = 0;" (assignment_expression "pbVar6[7] = 0" (subscript_expression "pbVar6[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar6 = pbVar7;" (assignment_expression "pbVar6 = pbVar7" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)))" ( (binary_expression "pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f))" identifier != (binary_expression "pbVar2 + (8 << ((byte)param_5 & 0x1f))" identifier + (parenthesized_expression "(8 << ((byte)param_5 & 0x1f))" ( (binary_expression "8 << ((byte)param_5 & 0x1f)" number_literal << (parenthesized_expression "((byte)param_5 & 0x1f)" ( (binary_expression "(byte)param_5 & 0x1f" (cast_expression "(byte)param_5" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )))) )) ;) })) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n    while ((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }\n    do {\n      pbVar6 = pbVar2 + uVar3 * 8;\n      *(short *)(pbVar6 + 2) = (short)iVar8;\n      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x120);" do (compound_statement "{\n    while ((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }\n    do {\n      pbVar6 = pbVar2 + uVar3 * 8;\n      *(short *)(pbVar6 + 2) = (short)iVar8;\n      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);\n    iVar8 = iVar8 + 1;\n  }" { (while_statement "while ((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }" while (parenthesized_expression "((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3)))" ( (parenthesized_expression "(((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))" ( (binary_expression "((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3)" (parenthesized_expression "((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3))" ( (binary_expression "(int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)" (binary_expression "(int)(uint)*(byte *)(param_2 + iVar8) <= param_4" (binary_expression "(int)(uint)*(byte *)(param_2 + iVar8)" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)(param_2 + iVar8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar8)" ( (binary_expression "param_2 + iVar8" identifier + identifier) )))) <= identifier) || (parenthesized_expression "(uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)" ( (comma_expression "uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3" (assignment_expression "uVar3 = *(uint *)(param_1 + iVar8 * 4)" identifier = (pointer_expression "*(uint *)(param_1 + iVar8 * 4)" * (cast_expression "(uint *)(param_1 + iVar8 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar8 * 4)" ( (binary_expression "param_1 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) ))))) , (binary_expression "((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3" (parenthesized_expression "((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3)" ( (binary_expression "(1 << ((byte)param_4 & 0x1f)) - 1U & uVar3" (binary_expression "(1 << ((byte)param_4 & 0x1f)) - 1U" (parenthesized_expression "(1 << ((byte)param_4 & 0x1f))" ( (binary_expression "1 << ((byte)param_4 & 0x1f)" number_literal << (parenthesized_expression "((byte)param_4 & 0x1f)" ( (binary_expression "(byte)param_4 & 0x1f" (cast_expression "(byte)param_4" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )) - number_literal) & identifier) )) != identifier)) ))) )) || (parenthesized_expression "(uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3)" ( (comma_expression "uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3" (assignment_expression "uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9" identifier = (binary_expression "(int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9" (binary_expression "(int)uVar3 >> ((byte)param_4 & 0x1f)" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> (parenthesized_expression "((byte)param_4 & 0x1f)" ( (binary_expression "(byte)param_4 & 0x1f" (cast_expression "(byte)param_4" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) & identifier)) , (binary_expression "(int)uVar9 < (int)uVar3" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier))) ))) )) )) (compound_statement "{\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }" { (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if (iVar8 == 0x120) goto LAB_00072e20;" if (parenthesized_expression "(iVar8 == 0x120)" ( (binary_expression "iVar8 == 0x120" identifier == number_literal) )) (goto_statement "goto LAB_00072e20;" goto statement_identifier ;)) })) (do_statement "do {\n      pbVar6 = pbVar2 + uVar3 * 8;\n      *(short *)(pbVar6 + 2) = (short)iVar8;\n      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);" do (compound_statement "{\n      pbVar6 = pbVar2 + uVar3 * 8;\n      *(short *)(pbVar6 + 2) = (short)iVar8;\n      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    }" { (expression_statement "pbVar6 = pbVar2 + uVar3 * 8;" (assignment_expression "pbVar6 = pbVar2 + uVar3 * 8" identifier = (binary_expression "pbVar2 + uVar3 * 8" identifier + (binary_expression "uVar3 * 8" identifier * number_literal))) ;) (expression_statement "*(short *)(pbVar6 + 2) = (short)iVar8;" (assignment_expression "*(short *)(pbVar6 + 2) = (short)iVar8" (pointer_expression "*(short *)(pbVar6 + 2)" * (cast_expression "(short *)(pbVar6 + 2)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar6 + 2)" ( (binary_expression "pbVar6 + 2" identifier + number_literal) )))) = (cast_expression "(short)iVar8" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;" (assignment_expression "iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar8) - param_4" (binary_expression "(uint)*(byte *)(param_2 + iVar8)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar8)" ( (binary_expression "param_2 + iVar8" identifier + identifier) )))) - identifier)) ;) (if_statement "if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }" if (parenthesized_expression "((int)(uint)*pbVar6 < iVar5)" ( (binary_expression "(int)(uint)*pbVar6 < iVar5" (binary_expression "(int)(uint)*pbVar6" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * identifier) < identifier) )) (compound_statement "{\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }" { (expression_statement "*pbVar6 = (byte)iVar5;" (assignment_expression "*pbVar6 = (byte)iVar5" (pointer_expression "*pbVar6" * identifier) = (cast_expression "(byte)iVar5" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (expression_statement "iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;" (assignment_expression "iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar8) - param_4" (binary_expression "(uint)*(byte *)(param_2 + iVar8)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar8)" ( (binary_expression "param_2 + iVar8" identifier + identifier) )))) - identifier)) ;) })) (expression_statement "uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));" (assignment_expression "uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f))" identifier = (binary_expression "uVar3 + (1 << ((byte)iVar5 & 0x1f))" identifier + (parenthesized_expression "(1 << ((byte)iVar5 & 0x1f))" ( (binary_expression "1 << ((byte)iVar5 & 0x1f)" number_literal << (parenthesized_expression "((byte)iVar5 & 0x1f)" ( (binary_expression "(byte)iVar5 & 0x1f" (cast_expression "(byte)iVar5" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )))) ;) }) while (parenthesized_expression "((int)uVar3 <= (int)uVar9)" ( (binary_expression "(int)uVar3 <= (int)uVar9" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 != 0x120)" ( (binary_expression "iVar8 != 0x120" identifier != number_literal) )) ;) (labeled_statement "LAB_00072e20:\n  if (-1 < (int)uVar9) {\n    iVar8 = 0;\n    uVar3 = (uint)*pbVar2;\n    if ((int)uVar3 <= param_5) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }\n  }" statement_identifier : (if_statement "if (-1 < (int)uVar9) {\n    iVar8 = 0;\n    uVar3 = (uint)*pbVar2;\n    if ((int)uVar3 <= param_5) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }\n  }" if (parenthesized_expression "(-1 < (int)uVar9)" ( (binary_expression "-1 < (int)uVar9" number_literal < (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    iVar8 = 0;\n    uVar3 = (uint)*pbVar2;\n    if ((int)uVar3 <= param_5) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }\n  }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = (uint)*pbVar2;" (assignment_expression "uVar3 = (uint)*pbVar2" identifier = (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if ((int)uVar3 <= param_5) goto LAB_00072eb2;" if (parenthesized_expression "((int)uVar3 <= param_5)" ( (binary_expression "(int)uVar3 <= param_5" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )) (goto_statement "goto LAB_00072eb2;" goto statement_identifier ;)) (while_statement "while( true ) {\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }" { (expression_statement "iVar5 = uVar3 - param_5;" (assignment_expression "iVar5 = uVar3 - param_5" identifier = (binary_expression "uVar3 - param_5" identifier - identifier)) ;) (expression_statement "*pbVar2 = (byte)param_5;" (assignment_expression "*pbVar2 = (byte)param_5" (pointer_expression "*pbVar2" * identifier) = (cast_expression "(byte)param_5" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (expression_statement "pbVar2[2] = 0xff;" (assignment_expression "pbVar2[2] = 0xff" (subscript_expression "pbVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar2[3] = 0xff;" (assignment_expression "pbVar2[3] = 0xff" (subscript_expression "pbVar2[3]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (7 < iVar5) {\n        iVar5 = 7;\n      }" if (parenthesized_expression "(7 < iVar5)" ( (binary_expression "7 < iVar5" number_literal < identifier) )) (compound_statement "{\n        iVar5 = 7;\n      }" { (expression_statement "iVar5 = 7;" (assignment_expression "iVar5 = 7" identifier = number_literal) ;) })) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = FUN_00072d00(param_4 + param_5,iVar5);" (assignment_expression "uVar4 = FUN_00072d00(param_4 + param_5,iVar5)" identifier = (call_expression "FUN_00072d00(param_4 + param_5,iVar5)" identifier (argument_list "(param_4 + param_5,iVar5)" ( (binary_expression "param_4 + param_5" identifier + identifier) , identifier )))) ;) (expression_statement "*(undefined4 *)(pbVar2 + 4) = uVar4;" (assignment_expression "*(undefined4 *)(pbVar2 + 4) = uVar4" (pointer_expression "*(undefined4 *)(pbVar2 + 4)" * (cast_expression "(undefined4 *)(pbVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar2 + 4)" ( (binary_expression "pbVar2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar9 = *puVar1;" (assignment_expression "uVar9 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (if_statement "if ((int)uVar9 < iVar8) break;" if (parenthesized_expression "((int)uVar9 < iVar8)" ( (binary_expression "(int)uVar9 < iVar8" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) (break_statement "break;" break ;)) (while_statement "while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }" { (expression_statement "pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);" (assignment_expression "pbVar2 = (byte *)(puVar1[1] + iVar8 * 8)" identifier = (cast_expression "(byte *)(puVar1[1] + iVar8 * 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1[1] + iVar8 * 8)" ( (binary_expression "puVar1[1] + iVar8 * 8" (subscript_expression "puVar1[1]" identifier [ number_literal ]) + (binary_expression "iVar8 * 8" identifier * number_literal)) )))) ;) (expression_statement "uVar3 = (uint)*pbVar2;" (assignment_expression "uVar3 = (uint)*pbVar2" identifier = (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (param_5 < (int)uVar3) break;" if (parenthesized_expression "(param_5 < (int)uVar3)" ( (binary_expression "param_5 < (int)uVar3" identifier < (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00072eb2:\n        iVar8 = iVar8 + 1;" statement_identifier : (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;)) (if_statement "if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }" if (parenthesized_expression "((int)uVar9 < iVar8)" ( (binary_expression "(int)uVar9 < iVar8" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) (compound_statement "{\n          return puVar1;\n        }" { (return_statement "return puVar1;" return identifier ;) })) })) })) }))) (return_statement "return puVar1;" return identifier ;) }))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nzlib_table * __regparm3\nzlib_mkonetab(int *codes,uchar *lengths,int nsyms,int pfx,int pfxbits,int bits)\n\n{\n  zlib_table *pzVar1;\n  zlib_tableentry *pzVar2;\n  uint uVar3;\n  zlib_table *pzVar4;\n  int iVar5;\n  zlib_tableentry *pzVar6;\n  zlib_tableentry *pzVar7;\n  int iVar8;\n  size_t n;\n  uint uVar9;\n  int in_stack_ffffffbc;\n  \n  pzVar1 = (zlib_table *)safemalloc(1,8);\n  n = 1 << ((byte)pfxbits & 0x1f);\n  uVar9 = n - 1;\n  pzVar2 = (zlib_tableentry *)safemalloc(n,8);\n  pzVar1->table = pzVar2;\n  pzVar1->mask = uVar9;\n  if (-1 < (int)uVar9) {\n    pzVar6 = pzVar2;\n    do {\n      pzVar6->nbits = '\0';\n      pzVar7 = pzVar6 + 1;\n      pzVar6->code = -1;\n      pzVar6->nexttable = (zlib_table *)0x0;\n      pzVar6 = pzVar7;\n    } while (pzVar7 != (zlib_tableentry *)(&pzVar2->nbits + (8 << ((byte)pfxbits & 0x1f))));\n  }\n  iVar8 = 0;\n  do {\n    while ((((int)(uint)lengths[iVar8] <= pfx ||\n            (((1 << ((byte)pfx & 0x1f)) - 1U & codes[iVar8]) != nsyms)) ||\n           (uVar3 = codes[iVar8] >> ((byte)pfx & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }\n    do {\n      pzVar6 = pzVar2 + uVar3;\n      pzVar6->code = (short)iVar8;\n      iVar5 = (uint)lengths[iVar8] - pfx;\n      if ((int)(uint)pzVar6->nbits < iVar5) {\n        pzVar6->nbits = (uchar)iVar5;\n        iVar5 = (uint)lengths[iVar8] - pfx;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x120);\nLAB_00072e20:\n  if (-1 < (int)uVar9) {\n    iVar8 = 0;\n    uVar3 = (uint)pzVar2->nbits;\n    if ((int)uVar3 <= pfxbits) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - pfxbits;\n      pzVar2->nbits = (byte)pfxbits;\n      pzVar2->code = -1;\n      uVar9 = iVar8 << ((byte)pfx & 0x1f);\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      pzVar4 = zlib_mkonetab(codes,lengths,nsyms | uVar9,pfx + pfxbits,iVar5,in_stack_ffffffbc);\n      pzVar2->nexttable = pzVar4;\n      uVar9 = pzVar1->mask;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pzVar2 = pzVar1->table + iVar8;\n        uVar3 = (uint)pzVar2->nbits;\n        if (pfxbits < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return pzVar1;\n        }\n      }\n    }\n  }\n  return pzVar1;\n}\n\n" comment (ERROR "zlib_table * __regparm3\nzlib_mkonetab(int *codes,uchar *lengths,int nsyms,int pfx,int pfxbits,int bits)" (binary_expression "zlib_table * __regparm3\nzlib_mkonetab(int *codes,uchar *lengths,int nsyms,int pfx,int pfxbits,int bits)" identifier * (ERROR "__regparm3" identifier) (call_expression "zlib_mkonetab(int *codes,uchar *lengths,int nsyms,int pfx,int pfxbits,int bits)" identifier (argument_list "(int *codes,uchar *lengths,int nsyms,int pfx,int pfxbits,int bits)" ( (binary_expression "int *codes" identifier * identifier) , (binary_expression "uchar *lengths" identifier * identifier) , (ERROR "int" identifier) identifier , identifier (ERROR "pfx" identifier) , (ERROR "int" identifier) identifier , (ERROR "int" identifier) identifier ))))) (compound_statement "{\n  zlib_table *pzVar1;\n  zlib_tableentry *pzVar2;\n  uint uVar3;\n  zlib_table *pzVar4;\n  int iVar5;\n  zlib_tableentry *pzVar6;\n  zlib_tableentry *pzVar7;\n  int iVar8;\n  size_t n;\n  uint uVar9;\n  int in_stack_ffffffbc;\n  \n  pzVar1 = (zlib_table *)safemalloc(1,8);\n  n = 1 << ((byte)pfxbits & 0x1f);\n  uVar9 = n - 1;\n  pzVar2 = (zlib_tableentry *)safemalloc(n,8);\n  pzVar1->table = pzVar2;\n  pzVar1->mask = uVar9;\n  if (-1 < (int)uVar9) {\n    pzVar6 = pzVar2;\n    do {\n      pzVar6->nbits = '\0';\n      pzVar7 = pzVar6 + 1;\n      pzVar6->code = -1;\n      pzVar6->nexttable = (zlib_table *)0x0;\n      pzVar6 = pzVar7;\n    } while (pzVar7 != (zlib_tableentry *)(&pzVar2->nbits + (8 << ((byte)pfxbits & 0x1f))));\n  }\n  iVar8 = 0;\n  do {\n    while ((((int)(uint)lengths[iVar8] <= pfx ||\n            (((1 << ((byte)pfx & 0x1f)) - 1U & codes[iVar8]) != nsyms)) ||\n           (uVar3 = codes[iVar8] >> ((byte)pfx & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }\n    do {\n      pzVar6 = pzVar2 + uVar3;\n      pzVar6->code = (short)iVar8;\n      iVar5 = (uint)lengths[iVar8] - pfx;\n      if ((int)(uint)pzVar6->nbits < iVar5) {\n        pzVar6->nbits = (uchar)iVar5;\n        iVar5 = (uint)lengths[iVar8] - pfx;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x120);\nLAB_00072e20:\n  if (-1 < (int)uVar9) {\n    iVar8 = 0;\n    uVar3 = (uint)pzVar2->nbits;\n    if ((int)uVar3 <= pfxbits) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - pfxbits;\n      pzVar2->nbits = (byte)pfxbits;\n      pzVar2->code = -1;\n      uVar9 = iVar8 << ((byte)pfx & 0x1f);\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      pzVar4 = zlib_mkonetab(codes,lengths,nsyms | uVar9,pfx + pfxbits,iVar5,in_stack_ffffffbc);\n      pzVar2->nexttable = pzVar4;\n      uVar9 = pzVar1->mask;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pzVar2 = pzVar1->table + iVar8;\n        uVar3 = (uint)pzVar2->nbits;\n        if (pfxbits < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return pzVar1;\n        }\n      }\n    }\n  }\n  return pzVar1;\n}" { (declaration "zlib_table *pzVar1;" type_identifier (pointer_declarator "*pzVar1" * identifier) ;) (declaration "zlib_tableentry *pzVar2;" type_identifier (pointer_declarator "*pzVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "zlib_table *pzVar4;" type_identifier (pointer_declarator "*pzVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "zlib_tableentry *pzVar6;" type_identifier (pointer_declarator "*pzVar6" * identifier) ;) (declaration "zlib_tableentry *pzVar7;" type_identifier (pointer_declarator "*pzVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "size_t n;" primitive_type identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int in_stack_ffffffbc;" primitive_type identifier ;) (expression_statement "pzVar1 = (zlib_table *)safemalloc(1,8);" (assignment_expression "pzVar1 = (zlib_table *)safemalloc(1,8)" identifier = (cast_expression "(zlib_table *)safemalloc(1,8)" ( (type_descriptor "zlib_table *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,8)" identifier (argument_list "(1,8)" ( number_literal , number_literal ))))) ;) (expression_statement "n = 1 << ((byte)pfxbits & 0x1f);" (assignment_expression "n = 1 << ((byte)pfxbits & 0x1f)" identifier = (binary_expression "1 << ((byte)pfxbits & 0x1f)" number_literal << (parenthesized_expression "((byte)pfxbits & 0x1f)" ( (binary_expression "(byte)pfxbits & 0x1f" (cast_expression "(byte)pfxbits" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "uVar9 = n - 1;" (assignment_expression "uVar9 = n - 1" identifier = (binary_expression "n - 1" identifier - number_literal)) ;) (expression_statement "pzVar2 = (zlib_tableentry *)safemalloc(n,8);" (assignment_expression "pzVar2 = (zlib_tableentry *)safemalloc(n,8)" identifier = (cast_expression "(zlib_tableentry *)safemalloc(n,8)" ( (type_descriptor "zlib_tableentry *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(n,8)" identifier (argument_list "(n,8)" ( identifier , number_literal ))))) ;) (expression_statement "pzVar1->table = pzVar2;" (assignment_expression "pzVar1->table = pzVar2" (field_expression "pzVar1->table" identifier -> field_identifier) = identifier) ;) (expression_statement "pzVar1->mask = uVar9;" (assignment_expression "pzVar1->mask = uVar9" (field_expression "pzVar1->mask" identifier -> field_identifier) = identifier) ;) (if_statement "if (-1 < (int)uVar9) {\n    pzVar6 = pzVar2;\n    do {\n      pzVar6->nbits = '\0';\n      pzVar7 = pzVar6 + 1;\n      pzVar6->code = -1;\n      pzVar6->nexttable = (zlib_table *)0x0;\n      pzVar6 = pzVar7;\n    } while (pzVar7 != (zlib_tableentry *)(&pzVar2->nbits + (8 << ((byte)pfxbits & 0x1f))));\n  }" if (parenthesized_expression "(-1 < (int)uVar9)" ( (binary_expression "-1 < (int)uVar9" number_literal < (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    pzVar6 = pzVar2;\n    do {\n      pzVar6->nbits = '\0';\n      pzVar7 = pzVar6 + 1;\n      pzVar6->code = -1;\n      pzVar6->nexttable = (zlib_table *)0x0;\n      pzVar6 = pzVar7;\n    } while (pzVar7 != (zlib_tableentry *)(&pzVar2->nbits + (8 << ((byte)pfxbits & 0x1f))));\n  }" { (expression_statement "pzVar6 = pzVar2;" (assignment_expression "pzVar6 = pzVar2" identifier = identifier) ;) (do_statement "do {\n      pzVar6->nbits = '\0';\n      pzVar7 = pzVar6 + 1;\n      pzVar6->code = -1;\n      pzVar6->nexttable = (zlib_table *)0x0;\n      pzVar6 = pzVar7;\n    } while (pzVar7 != (zlib_tableentry *)(&pzVar2->nbits + (8 << ((byte)pfxbits & 0x1f))));" do (compound_statement "{\n      pzVar6->nbits = '\0';\n      pzVar7 = pzVar6 + 1;\n      pzVar6->code = -1;\n      pzVar6->nexttable = (zlib_table *)0x0;\n      pzVar6 = pzVar7;\n    }" { (expression_statement "pzVar6->nbits = '\0';" (assignment_expression "pzVar6->nbits = '\0'" (field_expression "pzVar6->nbits" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pzVar7 = pzVar6 + 1;" (assignment_expression "pzVar7 = pzVar6 + 1" identifier = (binary_expression "pzVar6 + 1" identifier + number_literal)) ;) (expression_statement "pzVar6->code = -1;" (assignment_expression "pzVar6->code = -1" (field_expression "pzVar6->code" identifier -> field_identifier) = number_literal) ;) (expression_statement "pzVar6->nexttable = (zlib_table *)0x0;" (assignment_expression "pzVar6->nexttable = (zlib_table *)0x0" (field_expression "pzVar6->nexttable" identifier -> field_identifier) = (cast_expression "(zlib_table *)0x0" ( (type_descriptor "zlib_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pzVar6 = pzVar7;" (assignment_expression "pzVar6 = pzVar7" identifier = identifier) ;) }) while (parenthesized_expression "(pzVar7 != (zlib_tableentry *)(&pzVar2->nbits + (8 << ((byte)pfxbits & 0x1f))))" ( (binary_expression "pzVar7 != (zlib_tableentry *)(&pzVar2->nbits + (8 << ((byte)pfxbits & 0x1f)))" identifier != (cast_expression "(zlib_tableentry *)(&pzVar2->nbits + (8 << ((byte)pfxbits & 0x1f)))" ( (type_descriptor "zlib_tableentry *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&pzVar2->nbits + (8 << ((byte)pfxbits & 0x1f)))" ( (binary_expression "&pzVar2->nbits + (8 << ((byte)pfxbits & 0x1f))" (pointer_expression "&pzVar2->nbits" & (field_expression "pzVar2->nbits" identifier -> field_identifier)) + (parenthesized_expression "(8 << ((byte)pfxbits & 0x1f))" ( (binary_expression "8 << ((byte)pfxbits & 0x1f)" number_literal << (parenthesized_expression "((byte)pfxbits & 0x1f)" ( (binary_expression "(byte)pfxbits & 0x1f" (cast_expression "(byte)pfxbits" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) ))) )))) )) ;) })) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n    while ((((int)(uint)lengths[iVar8] <= pfx ||\n            (((1 << ((byte)pfx & 0x1f)) - 1U & codes[iVar8]) != nsyms)) ||\n           (uVar3 = codes[iVar8] >> ((byte)pfx & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }\n    do {\n      pzVar6 = pzVar2 + uVar3;\n      pzVar6->code = (short)iVar8;\n      iVar5 = (uint)lengths[iVar8] - pfx;\n      if ((int)(uint)pzVar6->nbits < iVar5) {\n        pzVar6->nbits = (uchar)iVar5;\n        iVar5 = (uint)lengths[iVar8] - pfx;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x120);" do (compound_statement "{\n    while ((((int)(uint)lengths[iVar8] <= pfx ||\n            (((1 << ((byte)pfx & 0x1f)) - 1U & codes[iVar8]) != nsyms)) ||\n           (uVar3 = codes[iVar8] >> ((byte)pfx & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }\n    do {\n      pzVar6 = pzVar2 + uVar3;\n      pzVar6->code = (short)iVar8;\n      iVar5 = (uint)lengths[iVar8] - pfx;\n      if ((int)(uint)pzVar6->nbits < iVar5) {\n        pzVar6->nbits = (uchar)iVar5;\n        iVar5 = (uint)lengths[iVar8] - pfx;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);\n    iVar8 = iVar8 + 1;\n  }" { (while_statement "while ((((int)(uint)lengths[iVar8] <= pfx ||\n            (((1 << ((byte)pfx & 0x1f)) - 1U & codes[iVar8]) != nsyms)) ||\n           (uVar3 = codes[iVar8] >> ((byte)pfx & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }" while (parenthesized_expression "((((int)(uint)lengths[iVar8] <= pfx ||\n            (((1 << ((byte)pfx & 0x1f)) - 1U & codes[iVar8]) != nsyms)) ||\n           (uVar3 = codes[iVar8] >> ((byte)pfx & 0x1f) & uVar9, (int)uVar9 < (int)uVar3)))" ( (parenthesized_expression "(((int)(uint)lengths[iVar8] <= pfx ||\n            (((1 << ((byte)pfx & 0x1f)) - 1U & codes[iVar8]) != nsyms)) ||\n           (uVar3 = codes[iVar8] >> ((byte)pfx & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))" ( (binary_expression "((int)(uint)lengths[iVar8] <= pfx ||\n            (((1 << ((byte)pfx & 0x1f)) - 1U & codes[iVar8]) != nsyms)) ||\n           (uVar3 = codes[iVar8] >> ((byte)pfx & 0x1f) & uVar9, (int)uVar9 < (int)uVar3)" (parenthesized_expression "((int)(uint)lengths[iVar8] <= pfx ||\n            (((1 << ((byte)pfx & 0x1f)) - 1U & codes[iVar8]) != nsyms))" ( (binary_expression "(int)(uint)lengths[iVar8] <= pfx ||\n            (((1 << ((byte)pfx & 0x1f)) - 1U & codes[iVar8]) != nsyms)" (binary_expression "(int)(uint)lengths[iVar8] <= pfx" (cast_expression "(int)(uint)lengths[iVar8]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(uint)lengths[iVar8]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "lengths[iVar8]" identifier [ identifier ]))) <= identifier) || (parenthesized_expression "(((1 << ((byte)pfx & 0x1f)) - 1U & codes[iVar8]) != nsyms)" ( (binary_expression "((1 << ((byte)pfx & 0x1f)) - 1U & codes[iVar8]) != nsyms" (parenthesized_expression "((1 << ((byte)pfx & 0x1f)) - 1U & codes[iVar8])" ( (binary_expression "(1 << ((byte)pfx & 0x1f)) - 1U & codes[iVar8]" (binary_expression "(1 << ((byte)pfx & 0x1f)) - 1U" (parenthesized_expression "(1 << ((byte)pfx & 0x1f))" ( (binary_expression "1 << ((byte)pfx & 0x1f)" number_literal << (parenthesized_expression "((byte)pfx & 0x1f)" ( (binary_expression "(byte)pfx & 0x1f" (cast_expression "(byte)pfx" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )) - number_literal) & (subscript_expression "codes[iVar8]" identifier [ identifier ])) )) != identifier) ))) )) || (parenthesized_expression "(uVar3 = codes[iVar8] >> ((byte)pfx & 0x1f) & uVar9, (int)uVar9 < (int)uVar3)" ( (comma_expression "uVar3 = codes[iVar8] >> ((byte)pfx & 0x1f) & uVar9, (int)uVar9 < (int)uVar3" (assignment_expression "uVar3 = codes[iVar8] >> ((byte)pfx & 0x1f) & uVar9" identifier = (binary_expression "codes[iVar8] >> ((byte)pfx & 0x1f) & uVar9" (binary_expression "codes[iVar8] >> ((byte)pfx & 0x1f)" (subscript_expression "codes[iVar8]" identifier [ identifier ]) >> (parenthesized_expression "((byte)pfx & 0x1f)" ( (binary_expression "(byte)pfx & 0x1f" (cast_expression "(byte)pfx" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) & identifier)) , (binary_expression "(int)uVar9 < (int)uVar3" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier))) ))) )) )) (compound_statement "{\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }" { (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if (iVar8 == 0x120) goto LAB_00072e20;" if (parenthesized_expression "(iVar8 == 0x120)" ( (binary_expression "iVar8 == 0x120" identifier == number_literal) )) (goto_statement "goto LAB_00072e20;" goto statement_identifier ;)) })) (do_statement "do {\n      pzVar6 = pzVar2 + uVar3;\n      pzVar6->code = (short)iVar8;\n      iVar5 = (uint)lengths[iVar8] - pfx;\n      if ((int)(uint)pzVar6->nbits < iVar5) {\n        pzVar6->nbits = (uchar)iVar5;\n        iVar5 = (uint)lengths[iVar8] - pfx;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);" do (compound_statement "{\n      pzVar6 = pzVar2 + uVar3;\n      pzVar6->code = (short)iVar8;\n      iVar5 = (uint)lengths[iVar8] - pfx;\n      if ((int)(uint)pzVar6->nbits < iVar5) {\n        pzVar6->nbits = (uchar)iVar5;\n        iVar5 = (uint)lengths[iVar8] - pfx;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    }" { (expression_statement "pzVar6 = pzVar2 + uVar3;" (assignment_expression "pzVar6 = pzVar2 + uVar3" identifier = (binary_expression "pzVar2 + uVar3" identifier + identifier)) ;) (expression_statement "pzVar6->code = (short)iVar8;" (assignment_expression "pzVar6->code = (short)iVar8" (field_expression "pzVar6->code" identifier -> field_identifier) = (cast_expression "(short)iVar8" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "iVar5 = (uint)lengths[iVar8] - pfx;" (assignment_expression "iVar5 = (uint)lengths[iVar8] - pfx" identifier = (binary_expression "(uint)lengths[iVar8] - pfx" (cast_expression "(uint)lengths[iVar8]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "lengths[iVar8]" identifier [ identifier ])) - identifier)) ;) (if_statement "if ((int)(uint)pzVar6->nbits < iVar5) {\n        pzVar6->nbits = (uchar)iVar5;\n        iVar5 = (uint)lengths[iVar8] - pfx;\n      }" if (parenthesized_expression "((int)(uint)pzVar6->nbits < iVar5)" ( (binary_expression "(int)(uint)pzVar6->nbits < iVar5" (cast_expression "(int)(uint)pzVar6->nbits" ( (type_descriptor "int" primitive_type) ) (cast_expression "(uint)pzVar6->nbits" ( (type_descriptor "uint" type_identifier) ) (field_expression "pzVar6->nbits" identifier -> field_identifier))) < identifier) )) (compound_statement "{\n        pzVar6->nbits = (uchar)iVar5;\n        iVar5 = (uint)lengths[iVar8] - pfx;\n      }" { (expression_statement "pzVar6->nbits = (uchar)iVar5;" (assignment_expression "pzVar6->nbits = (uchar)iVar5" (field_expression "pzVar6->nbits" identifier -> field_identifier) = (cast_expression "(uchar)iVar5" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "iVar5 = (uint)lengths[iVar8] - pfx;" (assignment_expression "iVar5 = (uint)lengths[iVar8] - pfx" identifier = (binary_expression "(uint)lengths[iVar8] - pfx" (cast_expression "(uint)lengths[iVar8]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "lengths[iVar8]" identifier [ identifier ])) - identifier)) ;) })) (expression_statement "uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));" (assignment_expression "uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f))" identifier = (binary_expression "uVar3 + (1 << ((byte)iVar5 & 0x1f))" identifier + (parenthesized_expression "(1 << ((byte)iVar5 & 0x1f))" ( (binary_expression "1 << ((byte)iVar5 & 0x1f)" number_literal << (parenthesized_expression "((byte)iVar5 & 0x1f)" ( (binary_expression "(byte)iVar5 & 0x1f" (cast_expression "(byte)iVar5" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )))) ;) }) while (parenthesized_expression "((int)uVar3 <= (int)uVar9)" ( (binary_expression "(int)uVar3 <= (int)uVar9" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 != 0x120)" ( (binary_expression "iVar8 != 0x120" identifier != number_literal) )) ;) (labeled_statement "LAB_00072e20:\n  if (-1 < (int)uVar9) {\n    iVar8 = 0;\n    uVar3 = (uint)pzVar2->nbits;\n    if ((int)uVar3 <= pfxbits) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - pfxbits;\n      pzVar2->nbits = (byte)pfxbits;\n      pzVar2->code = -1;\n      uVar9 = iVar8 << ((byte)pfx & 0x1f);\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      pzVar4 = zlib_mkonetab(codes,lengths,nsyms | uVar9,pfx + pfxbits,iVar5,in_stack_ffffffbc);\n      pzVar2->nexttable = pzVar4;\n      uVar9 = pzVar1->mask;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pzVar2 = pzVar1->table + iVar8;\n        uVar3 = (uint)pzVar2->nbits;\n        if (pfxbits < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return pzVar1;\n        }\n      }\n    }\n  }" statement_identifier : (if_statement "if (-1 < (int)uVar9) {\n    iVar8 = 0;\n    uVar3 = (uint)pzVar2->nbits;\n    if ((int)uVar3 <= pfxbits) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - pfxbits;\n      pzVar2->nbits = (byte)pfxbits;\n      pzVar2->code = -1;\n      uVar9 = iVar8 << ((byte)pfx & 0x1f);\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      pzVar4 = zlib_mkonetab(codes,lengths,nsyms | uVar9,pfx + pfxbits,iVar5,in_stack_ffffffbc);\n      pzVar2->nexttable = pzVar4;\n      uVar9 = pzVar1->mask;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pzVar2 = pzVar1->table + iVar8;\n        uVar3 = (uint)pzVar2->nbits;\n        if (pfxbits < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return pzVar1;\n        }\n      }\n    }\n  }" if (parenthesized_expression "(-1 < (int)uVar9)" ( (binary_expression "-1 < (int)uVar9" number_literal < (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    iVar8 = 0;\n    uVar3 = (uint)pzVar2->nbits;\n    if ((int)uVar3 <= pfxbits) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - pfxbits;\n      pzVar2->nbits = (byte)pfxbits;\n      pzVar2->code = -1;\n      uVar9 = iVar8 << ((byte)pfx & 0x1f);\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      pzVar4 = zlib_mkonetab(codes,lengths,nsyms | uVar9,pfx + pfxbits,iVar5,in_stack_ffffffbc);\n      pzVar2->nexttable = pzVar4;\n      uVar9 = pzVar1->mask;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pzVar2 = pzVar1->table + iVar8;\n        uVar3 = (uint)pzVar2->nbits;\n        if (pfxbits < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return pzVar1;\n        }\n      }\n    }\n  }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = (uint)pzVar2->nbits;" (assignment_expression "uVar3 = (uint)pzVar2->nbits" identifier = (cast_expression "(uint)pzVar2->nbits" ( (type_descriptor "uint" type_identifier) ) (field_expression "pzVar2->nbits" identifier -> field_identifier))) ;) (if_statement "if ((int)uVar3 <= pfxbits) goto LAB_00072eb2;" if (parenthesized_expression "((int)uVar3 <= pfxbits)" ( (binary_expression "(int)uVar3 <= pfxbits" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )) (goto_statement "goto LAB_00072eb2;" goto statement_identifier ;)) (while_statement "while( true ) {\n      iVar5 = uVar3 - pfxbits;\n      pzVar2->nbits = (byte)pfxbits;\n      pzVar2->code = -1;\n      uVar9 = iVar8 << ((byte)pfx & 0x1f);\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      pzVar4 = zlib_mkonetab(codes,lengths,nsyms | uVar9,pfx + pfxbits,iVar5,in_stack_ffffffbc);\n      pzVar2->nexttable = pzVar4;\n      uVar9 = pzVar1->mask;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pzVar2 = pzVar1->table + iVar8;\n        uVar3 = (uint)pzVar2->nbits;\n        if (pfxbits < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return pzVar1;\n        }\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar5 = uVar3 - pfxbits;\n      pzVar2->nbits = (byte)pfxbits;\n      pzVar2->code = -1;\n      uVar9 = iVar8 << ((byte)pfx & 0x1f);\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      pzVar4 = zlib_mkonetab(codes,lengths,nsyms | uVar9,pfx + pfxbits,iVar5,in_stack_ffffffbc);\n      pzVar2->nexttable = pzVar4;\n      uVar9 = pzVar1->mask;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pzVar2 = pzVar1->table + iVar8;\n        uVar3 = (uint)pzVar2->nbits;\n        if (pfxbits < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return pzVar1;\n        }\n      }\n    }" { (expression_statement "iVar5 = uVar3 - pfxbits;" (assignment_expression "iVar5 = uVar3 - pfxbits" identifier = (binary_expression "uVar3 - pfxbits" identifier - identifier)) ;) (expression_statement "pzVar2->nbits = (byte)pfxbits;" (assignment_expression "pzVar2->nbits = (byte)pfxbits" (field_expression "pzVar2->nbits" identifier -> field_identifier) = (cast_expression "(byte)pfxbits" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (expression_statement "pzVar2->code = -1;" (assignment_expression "pzVar2->code = -1" (field_expression "pzVar2->code" identifier -> field_identifier) = number_literal) ;) (expression_statement "uVar9 = iVar8 << ((byte)pfx & 0x1f);" (assignment_expression "uVar9 = iVar8 << ((byte)pfx & 0x1f)" identifier = (binary_expression "iVar8 << ((byte)pfx & 0x1f)" identifier << (parenthesized_expression "((byte)pfx & 0x1f)" ( (binary_expression "(byte)pfx & 0x1f" (cast_expression "(byte)pfx" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (if_statement "if (7 < iVar5) {\n        iVar5 = 7;\n      }" if (parenthesized_expression "(7 < iVar5)" ( (binary_expression "7 < iVar5" number_literal < identifier) )) (compound_statement "{\n        iVar5 = 7;\n      }" { (expression_statement "iVar5 = 7;" (assignment_expression "iVar5 = 7" identifier = number_literal) ;) })) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "pzVar4 = zlib_mkonetab(codes,lengths,nsyms | uVar9,pfx + pfxbits,iVar5,in_stack_ffffffbc);" (assignment_expression "pzVar4 = zlib_mkonetab(codes,lengths,nsyms | uVar9,pfx + pfxbits,iVar5,in_stack_ffffffbc)" identifier = (call_expression "zlib_mkonetab(codes,lengths,nsyms | uVar9,pfx + pfxbits,iVar5,in_stack_ffffffbc)" identifier (argument_list "(codes,lengths,nsyms | uVar9,pfx + pfxbits,iVar5,in_stack_ffffffbc)" ( identifier , identifier , (binary_expression "nsyms | uVar9" identifier | identifier) , (binary_expression "pfx + pfxbits" identifier + identifier) , identifier , identifier )))) ;) (expression_statement "pzVar2->nexttable = pzVar4;" (assignment_expression "pzVar2->nexttable = pzVar4" (field_expression "pzVar2->nexttable" identifier -> field_identifier) = identifier) ;) (expression_statement "uVar9 = pzVar1->mask;" (assignment_expression "uVar9 = pzVar1->mask" identifier = (field_expression "pzVar1->mask" identifier -> field_identifier)) ;) (if_statement "if ((int)uVar9 < iVar8) break;" if (parenthesized_expression "((int)uVar9 < iVar8)" ( (binary_expression "(int)uVar9 < iVar8" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) (break_statement "break;" break ;)) (while_statement "while( true ) {\n        pzVar2 = pzVar1->table + iVar8;\n        uVar3 = (uint)pzVar2->nbits;\n        if (pfxbits < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return pzVar1;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pzVar2 = pzVar1->table + iVar8;\n        uVar3 = (uint)pzVar2->nbits;\n        if (pfxbits < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return pzVar1;\n        }\n      }" { (expression_statement "pzVar2 = pzVar1->table + iVar8;" (assignment_expression "pzVar2 = pzVar1->table + iVar8" identifier = (binary_expression "pzVar1->table + iVar8" (field_expression "pzVar1->table" identifier -> field_identifier) + identifier)) ;) (expression_statement "uVar3 = (uint)pzVar2->nbits;" (assignment_expression "uVar3 = (uint)pzVar2->nbits" identifier = (cast_expression "(uint)pzVar2->nbits" ( (type_descriptor "uint" type_identifier) ) (field_expression "pzVar2->nbits" identifier -> field_identifier))) ;) (if_statement "if (pfxbits < (int)uVar3) break;" if (parenthesized_expression "(pfxbits < (int)uVar3)" ( (binary_expression "pfxbits < (int)uVar3" identifier < (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00072eb2:\n        iVar8 = iVar8 + 1;" statement_identifier : (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;)) (if_statement "if ((int)uVar9 < iVar8) {\n          return pzVar1;\n        }" if (parenthesized_expression "((int)uVar9 < iVar8)" ( (binary_expression "(int)uVar9 < iVar8" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) (compound_statement "{\n          return pzVar1;\n        }" { (return_statement "return pzVar1;" return identifier ;) })) })) })) }))) (return_statement "return pzVar1;" return identifier ;) }))
(translation_unit "uint * __regparm3 FUN_00072d00(int param_1,int param_2,uint param_3,int param_4,int param_5)\n\n{\n  uint *puVar1;\n  byte *pbVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  int iVar8;\n  uint uVar9;\n  \n  puVar1 = (uint *)FUN_0001fe90(1,8);\n  iVar8 = 1 << ((byte)param_5 & 0x1f);\n  uVar9 = iVar8 - 1;\n  pbVar2 = (byte *)FUN_0001fe90(iVar8,8);\n  puVar1[1] = (uint)pbVar2;\n  *puVar1 = uVar9;\n  if (-1 < (int)uVar9) {\n    pbVar6 = pbVar2;\n    do {\n      *pbVar6 = 0;\n      pbVar7 = pbVar6 + 8;\n      pbVar6[2] = 0xff;\n      pbVar6[3] = 0xff;\n      pbVar6[4] = 0;\n      pbVar6[5] = 0;\n      pbVar6[6] = 0;\n      pbVar6[7] = 0;\n      pbVar6 = pbVar7;\n    } while (pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)));\n  }\n  iVar8 = 0;\n  do {\n    while ((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }\n    do {\n      pbVar6 = pbVar2 + uVar3 * 8;\n      *(short *)(pbVar6 + 2) = (short)iVar8;\n      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x120);\nLAB_00072e20:\n  if (-1 < (int)uVar9) {\n    iVar8 = 0;\n    uVar3 = (uint)*pbVar2;\n    if ((int)uVar3 <= param_5) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }\n  }\n  return puVar1;\n}\n\n" (ERROR "uint * __regparm3 FUN_00072d00(int param_1,int param_2,uint param_3,int param_4,int param_5)" (binary_expression "uint * __regparm3 FUN_00072d00(int param_1,int param_2,uint param_3,int param_4,int param_5)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_00072d00(int param_1,int param_2,uint param_3,int param_4,int param_5)" identifier (argument_list "(int param_1,int param_2,uint param_3,int param_4,int param_5)" ( (ERROR "int" identifier) identifier , (ERROR "int" identifier) identifier , (ERROR "uint" identifier) identifier , (ERROR "int" identifier) identifier , (ERROR "int" identifier) identifier ))))) (compound_statement "{\n  uint *puVar1;\n  byte *pbVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  int iVar8;\n  uint uVar9;\n  \n  puVar1 = (uint *)FUN_0001fe90(1,8);\n  iVar8 = 1 << ((byte)param_5 & 0x1f);\n  uVar9 = iVar8 - 1;\n  pbVar2 = (byte *)FUN_0001fe90(iVar8,8);\n  puVar1[1] = (uint)pbVar2;\n  *puVar1 = uVar9;\n  if (-1 < (int)uVar9) {\n    pbVar6 = pbVar2;\n    do {\n      *pbVar6 = 0;\n      pbVar7 = pbVar6 + 8;\n      pbVar6[2] = 0xff;\n      pbVar6[3] = 0xff;\n      pbVar6[4] = 0;\n      pbVar6[5] = 0;\n      pbVar6[6] = 0;\n      pbVar6[7] = 0;\n      pbVar6 = pbVar7;\n    } while (pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)));\n  }\n  iVar8 = 0;\n  do {\n    while ((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }\n    do {\n      pbVar6 = pbVar2 + uVar3 * 8;\n      *(short *)(pbVar6 + 2) = (short)iVar8;\n      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x120);\nLAB_00072e20:\n  if (-1 < (int)uVar9) {\n    iVar8 = 0;\n    uVar3 = (uint)*pbVar2;\n    if ((int)uVar3 <= param_5) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }\n  }\n  return puVar1;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (expression_statement "puVar1 = (uint *)FUN_0001fe90(1,8);" (assignment_expression "puVar1 = (uint *)FUN_0001fe90(1,8)" identifier = (cast_expression "(uint *)FUN_0001fe90(1,8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001fe90(1,8)" identifier (argument_list "(1,8)" ( number_literal , number_literal ))))) ;) (expression_statement "iVar8 = 1 << ((byte)param_5 & 0x1f);" (assignment_expression "iVar8 = 1 << ((byte)param_5 & 0x1f)" identifier = (binary_expression "1 << ((byte)param_5 & 0x1f)" number_literal << (parenthesized_expression "((byte)param_5 & 0x1f)" ( (binary_expression "(byte)param_5 & 0x1f" (cast_expression "(byte)param_5" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "uVar9 = iVar8 - 1;" (assignment_expression "uVar9 = iVar8 - 1" identifier = (binary_expression "iVar8 - 1" identifier - number_literal)) ;) (expression_statement "pbVar2 = (byte *)FUN_0001fe90(iVar8,8);" (assignment_expression "pbVar2 = (byte *)FUN_0001fe90(iVar8,8)" identifier = (cast_expression "(byte *)FUN_0001fe90(iVar8,8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001fe90(iVar8,8)" identifier (argument_list "(iVar8,8)" ( identifier , number_literal ))))) ;) (expression_statement "puVar1[1] = (uint)pbVar2;" (assignment_expression "puVar1[1] = (uint)pbVar2" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = (cast_expression "(uint)pbVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*puVar1 = uVar9;" (assignment_expression "*puVar1 = uVar9" (pointer_expression "*puVar1" * identifier) = identifier) ;) (if_statement "if (-1 < (int)uVar9) {\n    pbVar6 = pbVar2;\n    do {\n      *pbVar6 = 0;\n      pbVar7 = pbVar6 + 8;\n      pbVar6[2] = 0xff;\n      pbVar6[3] = 0xff;\n      pbVar6[4] = 0;\n      pbVar6[5] = 0;\n      pbVar6[6] = 0;\n      pbVar6[7] = 0;\n      pbVar6 = pbVar7;\n    } while (pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)));\n  }" if (parenthesized_expression "(-1 < (int)uVar9)" ( (binary_expression "-1 < (int)uVar9" number_literal < (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    pbVar6 = pbVar2;\n    do {\n      *pbVar6 = 0;\n      pbVar7 = pbVar6 + 8;\n      pbVar6[2] = 0xff;\n      pbVar6[3] = 0xff;\n      pbVar6[4] = 0;\n      pbVar6[5] = 0;\n      pbVar6[6] = 0;\n      pbVar6[7] = 0;\n      pbVar6 = pbVar7;\n    } while (pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)));\n  }" { (expression_statement "pbVar6 = pbVar2;" (assignment_expression "pbVar6 = pbVar2" identifier = identifier) ;) (do_statement "do {\n      *pbVar6 = 0;\n      pbVar7 = pbVar6 + 8;\n      pbVar6[2] = 0xff;\n      pbVar6[3] = 0xff;\n      pbVar6[4] = 0;\n      pbVar6[5] = 0;\n      pbVar6[6] = 0;\n      pbVar6[7] = 0;\n      pbVar6 = pbVar7;\n    } while (pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)));" do (compound_statement "{\n      *pbVar6 = 0;\n      pbVar7 = pbVar6 + 8;\n      pbVar6[2] = 0xff;\n      pbVar6[3] = 0xff;\n      pbVar6[4] = 0;\n      pbVar6[5] = 0;\n      pbVar6[6] = 0;\n      pbVar6[7] = 0;\n      pbVar6 = pbVar7;\n    }" { (expression_statement "*pbVar6 = 0;" (assignment_expression "*pbVar6 = 0" (pointer_expression "*pbVar6" * identifier) = number_literal) ;) (expression_statement "pbVar7 = pbVar6 + 8;" (assignment_expression "pbVar7 = pbVar6 + 8" identifier = (binary_expression "pbVar6 + 8" identifier + number_literal)) ;) (expression_statement "pbVar6[2] = 0xff;" (assignment_expression "pbVar6[2] = 0xff" (subscript_expression "pbVar6[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar6[3] = 0xff;" (assignment_expression "pbVar6[3] = 0xff" (subscript_expression "pbVar6[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar6[4] = 0;" (assignment_expression "pbVar6[4] = 0" (subscript_expression "pbVar6[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar6[5] = 0;" (assignment_expression "pbVar6[5] = 0" (subscript_expression "pbVar6[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar6[6] = 0;" (assignment_expression "pbVar6[6] = 0" (subscript_expression "pbVar6[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar6[7] = 0;" (assignment_expression "pbVar6[7] = 0" (subscript_expression "pbVar6[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar6 = pbVar7;" (assignment_expression "pbVar6 = pbVar7" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)))" ( (binary_expression "pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f))" identifier != (binary_expression "pbVar2 + (8 << ((byte)param_5 & 0x1f))" identifier + (parenthesized_expression "(8 << ((byte)param_5 & 0x1f))" ( (binary_expression "8 << ((byte)param_5 & 0x1f)" number_literal << (parenthesized_expression "((byte)param_5 & 0x1f)" ( (binary_expression "(byte)param_5 & 0x1f" (cast_expression "(byte)param_5" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )))) )) ;) })) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n    while ((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }\n    do {\n      pbVar6 = pbVar2 + uVar3 * 8;\n      *(short *)(pbVar6 + 2) = (short)iVar8;\n      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x120);" do (compound_statement "{\n    while ((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }\n    do {\n      pbVar6 = pbVar2 + uVar3 * 8;\n      *(short *)(pbVar6 + 2) = (short)iVar8;\n      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);\n    iVar8 = iVar8 + 1;\n  }" { (while_statement "while ((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }" while (parenthesized_expression "((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3)))" ( (parenthesized_expression "(((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))" ( (binary_expression "((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3)" (parenthesized_expression "((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3))" ( (binary_expression "(int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)" (binary_expression "(int)(uint)*(byte *)(param_2 + iVar8) <= param_4" (binary_expression "(int)(uint)*(byte *)(param_2 + iVar8)" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)(param_2 + iVar8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar8)" ( (binary_expression "param_2 + iVar8" identifier + identifier) )))) <= identifier) || (parenthesized_expression "(uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)" ( (comma_expression "uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3" (assignment_expression "uVar3 = *(uint *)(param_1 + iVar8 * 4)" identifier = (pointer_expression "*(uint *)(param_1 + iVar8 * 4)" * (cast_expression "(uint *)(param_1 + iVar8 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar8 * 4)" ( (binary_expression "param_1 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) ))))) , (binary_expression "((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3" (parenthesized_expression "((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3)" ( (binary_expression "(1 << ((byte)param_4 & 0x1f)) - 1U & uVar3" (binary_expression "(1 << ((byte)param_4 & 0x1f)) - 1U" (parenthesized_expression "(1 << ((byte)param_4 & 0x1f))" ( (binary_expression "1 << ((byte)param_4 & 0x1f)" number_literal << (parenthesized_expression "((byte)param_4 & 0x1f)" ( (binary_expression "(byte)param_4 & 0x1f" (cast_expression "(byte)param_4" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )) - number_literal) & identifier) )) != identifier)) ))) )) || (parenthesized_expression "(uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3)" ( (comma_expression "uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3" (assignment_expression "uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9" identifier = (binary_expression "(int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9" (binary_expression "(int)uVar3 >> ((byte)param_4 & 0x1f)" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) >> (parenthesized_expression "((byte)param_4 & 0x1f)" ( (binary_expression "(byte)param_4 & 0x1f" (cast_expression "(byte)param_4" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) & identifier)) , (binary_expression "(int)uVar9 < (int)uVar3" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier))) ))) )) )) (compound_statement "{\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }" { (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if (iVar8 == 0x120) goto LAB_00072e20;" if (parenthesized_expression "(iVar8 == 0x120)" ( (binary_expression "iVar8 == 0x120" identifier == number_literal) )) (goto_statement "goto LAB_00072e20;" goto statement_identifier ;)) })) (do_statement "do {\n      pbVar6 = pbVar2 + uVar3 * 8;\n      *(short *)(pbVar6 + 2) = (short)iVar8;\n      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);" do (compound_statement "{\n      pbVar6 = pbVar2 + uVar3 * 8;\n      *(short *)(pbVar6 + 2) = (short)iVar8;\n      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    }" { (expression_statement "pbVar6 = pbVar2 + uVar3 * 8;" (assignment_expression "pbVar6 = pbVar2 + uVar3 * 8" identifier = (binary_expression "pbVar2 + uVar3 * 8" identifier + (binary_expression "uVar3 * 8" identifier * number_literal))) ;) (expression_statement "*(short *)(pbVar6 + 2) = (short)iVar8;" (assignment_expression "*(short *)(pbVar6 + 2) = (short)iVar8" (pointer_expression "*(short *)(pbVar6 + 2)" * (cast_expression "(short *)(pbVar6 + 2)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar6 + 2)" ( (binary_expression "pbVar6 + 2" identifier + number_literal) )))) = (cast_expression "(short)iVar8" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;" (assignment_expression "iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar8) - param_4" (binary_expression "(uint)*(byte *)(param_2 + iVar8)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar8)" ( (binary_expression "param_2 + iVar8" identifier + identifier) )))) - identifier)) ;) (if_statement "if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }" if (parenthesized_expression "((int)(uint)*pbVar6 < iVar5)" ( (binary_expression "(int)(uint)*pbVar6 < iVar5" (binary_expression "(int)(uint)*pbVar6" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * identifier) < identifier) )) (compound_statement "{\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }" { (expression_statement "*pbVar6 = (byte)iVar5;" (assignment_expression "*pbVar6 = (byte)iVar5" (pointer_expression "*pbVar6" * identifier) = (cast_expression "(byte)iVar5" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (expression_statement "iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;" (assignment_expression "iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar8) - param_4" (binary_expression "(uint)*(byte *)(param_2 + iVar8)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar8)" ( (binary_expression "param_2 + iVar8" identifier + identifier) )))) - identifier)) ;) })) (expression_statement "uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));" (assignment_expression "uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f))" identifier = (binary_expression "uVar3 + (1 << ((byte)iVar5 & 0x1f))" identifier + (parenthesized_expression "(1 << ((byte)iVar5 & 0x1f))" ( (binary_expression "1 << ((byte)iVar5 & 0x1f)" number_literal << (parenthesized_expression "((byte)iVar5 & 0x1f)" ( (binary_expression "(byte)iVar5 & 0x1f" (cast_expression "(byte)iVar5" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )))) ;) }) while (parenthesized_expression "((int)uVar3 <= (int)uVar9)" ( (binary_expression "(int)uVar3 <= (int)uVar9" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 != 0x120)" ( (binary_expression "iVar8 != 0x120" identifier != number_literal) )) ;) (labeled_statement "LAB_00072e20:\n  if (-1 < (int)uVar9) {\n    iVar8 = 0;\n    uVar3 = (uint)*pbVar2;\n    if ((int)uVar3 <= param_5) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }\n  }" statement_identifier : (if_statement "if (-1 < (int)uVar9) {\n    iVar8 = 0;\n    uVar3 = (uint)*pbVar2;\n    if ((int)uVar3 <= param_5) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }\n  }" if (parenthesized_expression "(-1 < (int)uVar9)" ( (binary_expression "-1 < (int)uVar9" number_literal < (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    iVar8 = 0;\n    uVar3 = (uint)*pbVar2;\n    if ((int)uVar3 <= param_5) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }\n  }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = (uint)*pbVar2;" (assignment_expression "uVar3 = (uint)*pbVar2" identifier = (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if ((int)uVar3 <= param_5) goto LAB_00072eb2;" if (parenthesized_expression "((int)uVar3 <= param_5)" ( (binary_expression "(int)uVar3 <= param_5" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )) (goto_statement "goto LAB_00072eb2;" goto statement_identifier ;)) (while_statement "while( true ) {\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }" { (expression_statement "iVar5 = uVar3 - param_5;" (assignment_expression "iVar5 = uVar3 - param_5" identifier = (binary_expression "uVar3 - param_5" identifier - identifier)) ;) (expression_statement "*pbVar2 = (byte)param_5;" (assignment_expression "*pbVar2 = (byte)param_5" (pointer_expression "*pbVar2" * identifier) = (cast_expression "(byte)param_5" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (expression_statement "pbVar2[2] = 0xff;" (assignment_expression "pbVar2[2] = 0xff" (subscript_expression "pbVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar2[3] = 0xff;" (assignment_expression "pbVar2[3] = 0xff" (subscript_expression "pbVar2[3]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (7 < iVar5) {\n        iVar5 = 7;\n      }" if (parenthesized_expression "(7 < iVar5)" ( (binary_expression "7 < iVar5" number_literal < identifier) )) (compound_statement "{\n        iVar5 = 7;\n      }" { (expression_statement "iVar5 = 7;" (assignment_expression "iVar5 = 7" identifier = number_literal) ;) })) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = FUN_00072d00(param_4 + param_5,iVar5);" (assignment_expression "uVar4 = FUN_00072d00(param_4 + param_5,iVar5)" identifier = (call_expression "FUN_00072d00(param_4 + param_5,iVar5)" identifier (argument_list "(param_4 + param_5,iVar5)" ( (binary_expression "param_4 + param_5" identifier + identifier) , identifier )))) ;) (expression_statement "*(undefined4 *)(pbVar2 + 4) = uVar4;" (assignment_expression "*(undefined4 *)(pbVar2 + 4) = uVar4" (pointer_expression "*(undefined4 *)(pbVar2 + 4)" * (cast_expression "(undefined4 *)(pbVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar2 + 4)" ( (binary_expression "pbVar2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar9 = *puVar1;" (assignment_expression "uVar9 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (if_statement "if ((int)uVar9 < iVar8) break;" if (parenthesized_expression "((int)uVar9 < iVar8)" ( (binary_expression "(int)uVar9 < iVar8" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) (break_statement "break;" break ;)) (while_statement "while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }" { (expression_statement "pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);" (assignment_expression "pbVar2 = (byte *)(puVar1[1] + iVar8 * 8)" identifier = (cast_expression "(byte *)(puVar1[1] + iVar8 * 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1[1] + iVar8 * 8)" ( (binary_expression "puVar1[1] + iVar8 * 8" (subscript_expression "puVar1[1]" identifier [ number_literal ]) + (binary_expression "iVar8 * 8" identifier * number_literal)) )))) ;) (expression_statement "uVar3 = (uint)*pbVar2;" (assignment_expression "uVar3 = (uint)*pbVar2" identifier = (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (param_5 < (int)uVar3) break;" if (parenthesized_expression "(param_5 < (int)uVar3)" ( (binary_expression "param_5 < (int)uVar3" identifier < (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00072eb2:\n        iVar8 = iVar8 + 1;" statement_identifier : (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;)) (if_statement "if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }" if (parenthesized_expression "((int)uVar9 < iVar8)" ( (binary_expression "(int)uVar9 < iVar8" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) (compound_statement "{\n          return puVar1;\n        }" { (return_statement "return puVar1;" return identifier ;) })) })) })) }))) (return_statement "return puVar1;" return identifier ;) }))
(translation_unit (ERROR (binary_expression IDENT * (ERROR IDENT) (call_expression IDENT (argument_list ( (ERROR IDENT) IDENT , (ERROR IDENT) IDENT , (ERROR IDENT) IDENT , (ERROR IDENT) IDENT , (ERROR IDENT) IDENT ))))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) ))) )))) )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( IDENT ))) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) <= IDENT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) , (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) ))) )) - LIT) & IDENT) )) != IDENT)) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) ))) & IDENT)) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) 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 ;)) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( IDENT ))) * IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) - IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) ))) )))) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) <= IDENT) )) (goto_statement goto statement_identifier ;)) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + IDENT) , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < IDENT) )) (break_statement break ;)) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (break_statement break ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < IDENT) )) (compound_statement { (return_statement return IDENT ;) })) })) })) }))) (return_statement return IDENT ;) }))
(ERROR "uint * __regparm3 FUN_00072d00(int param_1,int param_2,uint param_3,int param_4,int param_5)" (binary_expression "uint * __regparm3 FUN_00072d00(int param_1,int param_2,uint param_3,int param_4,int param_5)" (identifier "uint") (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (call_expression "FUN_00072d00(int param_1,int param_2,uint param_3,int param_4,int param_5)" (identifier "FUN_00072d00") (argument_list "(int param_1,int param_2,uint param_3,int param_4,int param_5)" (( "(") (ERROR "int" (identifier "int")) (identifier "param_1") (, ",") (ERROR "int" (identifier "int")) (identifier "param_2") (, ",") (ERROR "uint" (identifier "uint")) (identifier "param_3") (, ",") (ERROR "int" (identifier "int")) (identifier "param_4") (, ",") (ERROR "int" (identifier "int")) (identifier "param_5") () ")"))))) (compound_statement "{\n  uint *puVar1;\n  byte *pbVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  int iVar8;\n  uint uVar9;\n  \n  puVar1 = (uint *)FUN_0001fe90(1,8);\n  iVar8 = 1 << ((byte)param_5 & 0x1f);\n  uVar9 = iVar8 - 1;\n  pbVar2 = (byte *)FUN_0001fe90(iVar8,8);\n  puVar1[1] = (uint)pbVar2;\n  *puVar1 = uVar9;\n  if (-1 < (int)uVar9) {\n    pbVar6 = pbVar2;\n    do {\n      *pbVar6 = 0;\n      pbVar7 = pbVar6 + 8;\n      pbVar6[2] = 0xff;\n      pbVar6[3] = 0xff;\n      pbVar6[4] = 0;\n      pbVar6[5] = 0;\n      pbVar6[6] = 0;\n      pbVar6[7] = 0;\n      pbVar6 = pbVar7;\n    } while (pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)));\n  }\n  iVar8 = 0;\n  do {\n    while ((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }\n    do {\n      pbVar6 = pbVar2 + uVar3 * 8;\n      *(short *)(pbVar6 + 2) = (short)iVar8;\n      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x120);\nLAB_00072e20:\n  if (-1 < (int)uVar9) {\n    iVar8 = 0;\n    uVar3 = (uint)*pbVar2;\n    if ((int)uVar3 <= param_5) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }\n  }\n  return puVar1;\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "byte *pbVar2;" (type_identifier "byte") (pointer_declarator "*pbVar2" (* "*") (identifier "pbVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (expression_statement "puVar1 = (uint *)FUN_0001fe90(1,8);" (assignment_expression "puVar1 = (uint *)FUN_0001fe90(1,8)" (identifier "puVar1") (= "=") (cast_expression "(uint *)FUN_0001fe90(1,8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001fe90(1,8)" (identifier "FUN_0001fe90") (argument_list "(1,8)" (( "(") (number_literal "1") (, ",") (number_literal "8") () ")"))))) (; ";")) (expression_statement "iVar8 = 1 << ((byte)param_5 & 0x1f);" (assignment_expression "iVar8 = 1 << ((byte)param_5 & 0x1f)" (identifier "iVar8") (= "=") (binary_expression "1 << ((byte)param_5 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)param_5 & 0x1f)" (( "(") (binary_expression "(byte)param_5 & 0x1f" (cast_expression "(byte)param_5" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "param_5")) (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar9 = iVar8 - 1;" (assignment_expression "uVar9 = iVar8 - 1" (identifier "uVar9") (= "=") (binary_expression "iVar8 - 1" (identifier "iVar8") (- "-") (number_literal "1"))) (; ";")) (expression_statement "pbVar2 = (byte *)FUN_0001fe90(iVar8,8);" (assignment_expression "pbVar2 = (byte *)FUN_0001fe90(iVar8,8)" (identifier "pbVar2") (= "=") (cast_expression "(byte *)FUN_0001fe90(iVar8,8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001fe90(iVar8,8)" (identifier "FUN_0001fe90") (argument_list "(iVar8,8)" (( "(") (identifier "iVar8") (, ",") (number_literal "8") () ")"))))) (; ";")) (expression_statement "puVar1[1] = (uint)pbVar2;" (assignment_expression "puVar1[1] = (uint)pbVar2" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(uint)pbVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "pbVar2"))) (; ";")) (expression_statement "*puVar1 = uVar9;" (assignment_expression "*puVar1 = uVar9" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "uVar9")) (; ";")) (if_statement "if (-1 < (int)uVar9) {\n    pbVar6 = pbVar2;\n    do {\n      *pbVar6 = 0;\n      pbVar7 = pbVar6 + 8;\n      pbVar6[2] = 0xff;\n      pbVar6[3] = 0xff;\n      pbVar6[4] = 0;\n      pbVar6[5] = 0;\n      pbVar6[6] = 0;\n      pbVar6[7] = 0;\n      pbVar6 = pbVar7;\n    } while (pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)));\n  }" (if "if") (parenthesized_expression "(-1 < (int)uVar9)" (( "(") (binary_expression "-1 < (int)uVar9" (number_literal "-1") (< "<") (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9"))) () ")")) (compound_statement "{\n    pbVar6 = pbVar2;\n    do {\n      *pbVar6 = 0;\n      pbVar7 = pbVar6 + 8;\n      pbVar6[2] = 0xff;\n      pbVar6[3] = 0xff;\n      pbVar6[4] = 0;\n      pbVar6[5] = 0;\n      pbVar6[6] = 0;\n      pbVar6[7] = 0;\n      pbVar6 = pbVar7;\n    } while (pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)));\n  }" ({ "{") (expression_statement "pbVar6 = pbVar2;" (assignment_expression "pbVar6 = pbVar2" (identifier "pbVar6") (= "=") (identifier "pbVar2")) (; ";")) (do_statement "do {\n      *pbVar6 = 0;\n      pbVar7 = pbVar6 + 8;\n      pbVar6[2] = 0xff;\n      pbVar6[3] = 0xff;\n      pbVar6[4] = 0;\n      pbVar6[5] = 0;\n      pbVar6[6] = 0;\n      pbVar6[7] = 0;\n      pbVar6 = pbVar7;\n    } while (pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)));" (do "do") (compound_statement "{\n      *pbVar6 = 0;\n      pbVar7 = pbVar6 + 8;\n      pbVar6[2] = 0xff;\n      pbVar6[3] = 0xff;\n      pbVar6[4] = 0;\n      pbVar6[5] = 0;\n      pbVar6[6] = 0;\n      pbVar6[7] = 0;\n      pbVar6 = pbVar7;\n    }" ({ "{") (expression_statement "*pbVar6 = 0;" (assignment_expression "*pbVar6 = 0" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar7 = pbVar6 + 8;" (assignment_expression "pbVar7 = pbVar6 + 8" (identifier "pbVar7") (= "=") (binary_expression "pbVar6 + 8" (identifier "pbVar6") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "pbVar6[2] = 0xff;" (assignment_expression "pbVar6[2] = 0xff" (subscript_expression "pbVar6[2]" (identifier "pbVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0xff")) (; ";")) (expression_statement "pbVar6[3] = 0xff;" (assignment_expression "pbVar6[3] = 0xff" (subscript_expression "pbVar6[3]" (identifier "pbVar6") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0xff")) (; ";")) (expression_statement "pbVar6[4] = 0;" (assignment_expression "pbVar6[4] = 0" (subscript_expression "pbVar6[4]" (identifier "pbVar6") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar6[5] = 0;" (assignment_expression "pbVar6[5] = 0" (subscript_expression "pbVar6[5]" (identifier "pbVar6") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar6[6] = 0;" (assignment_expression "pbVar6[6] = 0" (subscript_expression "pbVar6[6]" (identifier "pbVar6") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar6[7] = 0;" (assignment_expression "pbVar6[7] = 0" (subscript_expression "pbVar6[7]" (identifier "pbVar6") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar6 = pbVar7;" (assignment_expression "pbVar6 = pbVar7" (identifier "pbVar6") (= "=") (identifier "pbVar7")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)))" (( "(") (binary_expression "pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f))" (identifier "pbVar7") (!= "!=") (binary_expression "pbVar2 + (8 << ((byte)param_5 & 0x1f))" (identifier "pbVar2") (+ "+") (parenthesized_expression "(8 << ((byte)param_5 & 0x1f))" (( "(") (binary_expression "8 << ((byte)param_5 & 0x1f)" (number_literal "8") (<< "<<") (parenthesized_expression "((byte)param_5 & 0x1f)" (( "(") (binary_expression "(byte)param_5 & 0x1f" (cast_expression "(byte)param_5" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "param_5")) (& "&") (number_literal "0x1f")) () ")"))) () ")")))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    while ((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }\n    do {\n      pbVar6 = pbVar2 + uVar3 * 8;\n      *(short *)(pbVar6 + 2) = (short)iVar8;\n      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);\n    iVar8 = iVar8 + 1;\n  } while (iVar8 != 0x120);" (do "do") (compound_statement "{\n    while ((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }\n    do {\n      pbVar6 = pbVar2 + uVar3 * 8;\n      *(short *)(pbVar6 + 2) = (short)iVar8;\n      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);\n    iVar8 = iVar8 + 1;\n  }" ({ "{") (while_statement "while ((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }" (while "while") (parenthesized_expression "((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3)))" (( "(") (parenthesized_expression "(((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))" (( "(") (binary_expression "((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||\n           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3)" (parenthesized_expression "((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3))" (( "(") (binary_expression "(int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||\n            (uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)" (binary_expression "(int)(uint)*(byte *)(param_2 + iVar8) <= param_4" (binary_expression "(int)(uint)*(byte *)(param_2 + iVar8)" (cast_expression "(int)(uint)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")"))) (* "*") (cast_expression "(byte *)(param_2 + iVar8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar8)" (( "(") (binary_expression "param_2 + iVar8" (identifier "param_2") (+ "+") (identifier "iVar8")) () ")")))) (<= "<=") (identifier "param_4")) (|| "||") (parenthesized_expression "(uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)" (( "(") (comma_expression "uVar3 = *(uint *)(param_1 + iVar8 * 4),\n            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3" (assignment_expression "uVar3 = *(uint *)(param_1 + iVar8 * 4)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(param_1 + iVar8 * 4)" (* "*") (cast_expression "(uint *)(param_1 + iVar8 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar8 * 4)" (( "(") (binary_expression "param_1 + iVar8 * 4" (identifier "param_1") (+ "+") (binary_expression "iVar8 * 4" (identifier "iVar8") (* "*") (number_literal "4"))) () ")"))))) (, ",") (binary_expression "((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3" (parenthesized_expression "((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3)" (( "(") (binary_expression "(1 << ((byte)param_4 & 0x1f)) - 1U & uVar3" (binary_expression "(1 << ((byte)param_4 & 0x1f)) - 1U" (parenthesized_expression "(1 << ((byte)param_4 & 0x1f))" (( "(") (binary_expression "1 << ((byte)param_4 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)param_4 & 0x1f)" (( "(") (binary_expression "(byte)param_4 & 0x1f" (cast_expression "(byte)param_4" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "param_4")) (& "&") (number_literal "0x1f")) () ")"))) () ")")) (- "-") (number_literal "1U")) (& "&") (identifier "uVar3")) () ")")) (!= "!=") (identifier "param_3"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3)" (( "(") (comma_expression "uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3" (assignment_expression "uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9" (identifier "uVar3") (= "=") (binary_expression "(int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9" (binary_expression "(int)uVar3 >> ((byte)param_4 & 0x1f)" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (>> ">>") (parenthesized_expression "((byte)param_4 & 0x1f)" (( "(") (binary_expression "(byte)param_4 & 0x1f" (cast_expression "(byte)param_4" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "param_4")) (& "&") (number_literal "0x1f")) () ")"))) (& "&") (identifier "uVar9"))) (, ",") (binary_expression "(int)uVar9 < (int)uVar3" (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9")) (< "<") (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")))) () ")"))) () ")")) () ")")) (compound_statement "{\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x120) goto LAB_00072e20;\n    }" ({ "{") (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar8 == 0x120) goto LAB_00072e20;" (if "if") (parenthesized_expression "(iVar8 == 0x120)" (( "(") (binary_expression "iVar8 == 0x120" (identifier "iVar8") (== "==") (number_literal "0x120")) () ")")) (goto_statement "goto LAB_00072e20;" (goto "goto") (statement_identifier "LAB_00072e20") (; ";"))) (} "}"))) (do_statement "do {\n      pbVar6 = pbVar2 + uVar3 * 8;\n      *(short *)(pbVar6 + 2) = (short)iVar8;\n      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    } while ((int)uVar3 <= (int)uVar9);" (do "do") (compound_statement "{\n      pbVar6 = pbVar2 + uVar3 * 8;\n      *(short *)(pbVar6 + 2) = (short)iVar8;\n      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }\n      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));\n    }" ({ "{") (expression_statement "pbVar6 = pbVar2 + uVar3 * 8;" (assignment_expression "pbVar6 = pbVar2 + uVar3 * 8" (identifier "pbVar6") (= "=") (binary_expression "pbVar2 + uVar3 * 8" (identifier "pbVar2") (+ "+") (binary_expression "uVar3 * 8" (identifier "uVar3") (* "*") (number_literal "8")))) (; ";")) (expression_statement "*(short *)(pbVar6 + 2) = (short)iVar8;" (assignment_expression "*(short *)(pbVar6 + 2) = (short)iVar8" (pointer_expression "*(short *)(pbVar6 + 2)" (* "*") (cast_expression "(short *)(pbVar6 + 2)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar6 + 2)" (( "(") (binary_expression "pbVar6 + 2" (identifier "pbVar6") (+ "+") (number_literal "2")) () ")")))) (= "=") (cast_expression "(short)iVar8" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "iVar8"))) (; ";")) (expression_statement "iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;" (assignment_expression "iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4" (identifier "iVar5") (= "=") (binary_expression "(uint)*(byte *)(param_2 + iVar8) - param_4" (binary_expression "(uint)*(byte *)(param_2 + iVar8)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_2 + iVar8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar8)" (( "(") (binary_expression "param_2 + iVar8" (identifier "param_2") (+ "+") (identifier "iVar8")) () ")")))) (- "-") (identifier "param_4"))) (; ";")) (if_statement "if ((int)(uint)*pbVar6 < iVar5) {\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }" (if "if") (parenthesized_expression "((int)(uint)*pbVar6 < iVar5)" (( "(") (binary_expression "(int)(uint)*pbVar6 < iVar5" (binary_expression "(int)(uint)*pbVar6" (cast_expression "(int)(uint)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")"))) (* "*") (identifier "pbVar6")) (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\n        *pbVar6 = (byte)iVar5;\n        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;\n      }" ({ "{") (expression_statement "*pbVar6 = (byte)iVar5;" (assignment_expression "*pbVar6 = (byte)iVar5" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (= "=") (cast_expression "(byte)iVar5" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "iVar5"))) (; ";")) (expression_statement "iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;" (assignment_expression "iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4" (identifier "iVar5") (= "=") (binary_expression "(uint)*(byte *)(param_2 + iVar8) - param_4" (binary_expression "(uint)*(byte *)(param_2 + iVar8)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_2 + iVar8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar8)" (( "(") (binary_expression "param_2 + iVar8" (identifier "param_2") (+ "+") (identifier "iVar8")) () ")")))) (- "-") (identifier "param_4"))) (; ";")) (} "}"))) (expression_statement "uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));" (assignment_expression "uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f))" (identifier "uVar3") (= "=") (binary_expression "uVar3 + (1 << ((byte)iVar5 & 0x1f))" (identifier "uVar3") (+ "+") (parenthesized_expression "(1 << ((byte)iVar5 & 0x1f))" (( "(") (binary_expression "1 << ((byte)iVar5 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)iVar5 & 0x1f)" (( "(") (binary_expression "(byte)iVar5 & 0x1f" (cast_expression "(byte)iVar5" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "iVar5")) (& "&") (number_literal "0x1f")) () ")"))) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int)uVar3 <= (int)uVar9)" (( "(") (binary_expression "(int)uVar3 <= (int)uVar9" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (<= "<=") (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9"))) () ")")) (; ";")) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar8 != 0x120)" (( "(") (binary_expression "iVar8 != 0x120" (identifier "iVar8") (!= "!=") (number_literal "0x120")) () ")")) (; ";")) (labeled_statement "LAB_00072e20:\n  if (-1 < (int)uVar9) {\n    iVar8 = 0;\n    uVar3 = (uint)*pbVar2;\n    if ((int)uVar3 <= param_5) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }\n  }" (statement_identifier "LAB_00072e20") (: ":") (if_statement "if (-1 < (int)uVar9) {\n    iVar8 = 0;\n    uVar3 = (uint)*pbVar2;\n    if ((int)uVar3 <= param_5) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }\n  }" (if "if") (parenthesized_expression "(-1 < (int)uVar9)" (( "(") (binary_expression "-1 < (int)uVar9" (number_literal "-1") (< "<") (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9"))) () ")")) (compound_statement "{\n    iVar8 = 0;\n    uVar3 = (uint)*pbVar2;\n    if ((int)uVar3 <= param_5) goto LAB_00072eb2;\n    while( true ) {\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }\n  }" ({ "{") (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = (uint)*pbVar2;" (assignment_expression "uVar3 = (uint)*pbVar2" (identifier "uVar3") (= "=") (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar2"))) (; ";")) (if_statement "if ((int)uVar3 <= param_5) goto LAB_00072eb2;" (if "if") (parenthesized_expression "((int)uVar3 <= param_5)" (( "(") (binary_expression "(int)uVar3 <= param_5" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (<= "<=") (identifier "param_5")) () ")")) (goto_statement "goto LAB_00072eb2;" (goto "goto") (statement_identifier "LAB_00072eb2") (; ";"))) (while_statement "while( true ) {\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      iVar5 = uVar3 - param_5;\n      *pbVar2 = (byte)param_5;\n      pbVar2[2] = 0xff;\n      pbVar2[3] = 0xff;\n      if (7 < iVar5) {\n        iVar5 = 7;\n      }\n      iVar8 = iVar8 + 1;\n      uVar4 = FUN_00072d00(param_4 + param_5,iVar5);\n      *(undefined4 *)(pbVar2 + 4) = uVar4;\n      uVar9 = *puVar1;\n      if ((int)uVar9 < iVar8) break;\n      while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }\n    }" ({ "{") (expression_statement "iVar5 = uVar3 - param_5;" (assignment_expression "iVar5 = uVar3 - param_5" (identifier "iVar5") (= "=") (binary_expression "uVar3 - param_5" (identifier "uVar3") (- "-") (identifier "param_5"))) (; ";")) (expression_statement "*pbVar2 = (byte)param_5;" (assignment_expression "*pbVar2 = (byte)param_5" (pointer_expression "*pbVar2" (* "*") (identifier "pbVar2")) (= "=") (cast_expression "(byte)param_5" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "param_5"))) (; ";")) (expression_statement "pbVar2[2] = 0xff;" (assignment_expression "pbVar2[2] = 0xff" (subscript_expression "pbVar2[2]" (identifier "pbVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0xff")) (; ";")) (expression_statement "pbVar2[3] = 0xff;" (assignment_expression "pbVar2[3] = 0xff" (subscript_expression "pbVar2[3]" (identifier "pbVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0xff")) (; ";")) (if_statement "if (7 < iVar5) {\n        iVar5 = 7;\n      }" (if "if") (parenthesized_expression "(7 < iVar5)" (( "(") (binary_expression "7 < iVar5" (number_literal "7") (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\n        iVar5 = 7;\n      }" ({ "{") (expression_statement "iVar5 = 7;" (assignment_expression "iVar5 = 7" (identifier "iVar5") (= "=") (number_literal "7")) (; ";")) (} "}"))) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = FUN_00072d00(param_4 + param_5,iVar5);" (assignment_expression "uVar4 = FUN_00072d00(param_4 + param_5,iVar5)" (identifier "uVar4") (= "=") (call_expression "FUN_00072d00(param_4 + param_5,iVar5)" (identifier "FUN_00072d00") (argument_list "(param_4 + param_5,iVar5)" (( "(") (binary_expression "param_4 + param_5" (identifier "param_4") (+ "+") (identifier "param_5")) (, ",") (identifier "iVar5") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(pbVar2 + 4) = uVar4;" (assignment_expression "*(undefined4 *)(pbVar2 + 4) = uVar4" (pointer_expression "*(undefined4 *)(pbVar2 + 4)" (* "*") (cast_expression "(undefined4 *)(pbVar2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar2 + 4)" (( "(") (binary_expression "pbVar2 + 4" (identifier "pbVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "uVar9 = *puVar1;" (assignment_expression "uVar9 = *puVar1" (identifier "uVar9") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (if_statement "if ((int)uVar9 < iVar8) break;" (if "if") (parenthesized_expression "((int)uVar9 < iVar8)" (( "(") (binary_expression "(int)uVar9 < iVar8" (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9")) (< "<") (identifier "iVar8")) () ")")) (break_statement "break;" (break "break") (; ";"))) (while_statement "while( true ) {\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);\n        uVar3 = (uint)*pbVar2;\n        if (param_5 < (int)uVar3) break;\nLAB_00072eb2:\n        iVar8 = iVar8 + 1;\n        if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }\n      }" ({ "{") (expression_statement "pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);" (assignment_expression "pbVar2 = (byte *)(puVar1[1] + iVar8 * 8)" (identifier "pbVar2") (= "=") (cast_expression "(byte *)(puVar1[1] + iVar8 * 8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1[1] + iVar8 * 8)" (( "(") (binary_expression "puVar1[1] + iVar8 * 8" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (+ "+") (binary_expression "iVar8 * 8" (identifier "iVar8") (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "uVar3 = (uint)*pbVar2;" (assignment_expression "uVar3 = (uint)*pbVar2" (identifier "uVar3") (= "=") (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar2"))) (; ";")) (if_statement "if (param_5 < (int)uVar3) break;" (if "if") (parenthesized_expression "(param_5 < (int)uVar3)" (( "(") (binary_expression "param_5 < (int)uVar3" (identifier "param_5") (< "<") (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_00072eb2:\n        iVar8 = iVar8 + 1;" (statement_identifier "LAB_00072eb2") (: ":") (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";"))) (if_statement "if ((int)uVar9 < iVar8) {\n          return puVar1;\n        }" (if "if") (parenthesized_expression "((int)uVar9 < iVar8)" (( "(") (binary_expression "(int)uVar9 < iVar8" (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9")) (< "<") (identifier "iVar8")) () ")")) (compound_statement "{\n          return puVar1;\n        }" ({ "{") (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}")))) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}"))

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

type_1 * __regparm3
var_13(int *codes,type_5 *lengths,int var_6,int var_5,int var_12,int bits)

{
  type_1 *pzVar1;
  type_2 *var_9;
  type_3 var_10;
  type_1 *pzVar4;
  int var_11;
  type_2 *var_3;
  type_2 *var_4;
  int var_8;
  size_t var_2;
  type_3 var_7;
  int in_stack_ffffffbc;
  
  pzVar1 = (type_1 *)var_1(1,8);
  var_2 = 1 << ((type_4)var_12 & 0x1f);
  var_7 = var_2 - 1;
  var_9 = (type_2 *)var_1(var_2,8);
  pzVar1->table = var_9;
  pzVar1->mask = var_7;
  if (-1 < (int)var_7) {
    var_3 = var_9;
    do {
      var_3->nbits = '\0';
      var_4 = var_3 + 1;
      var_3->code = -1;
      var_3->nexttable = (type_1 *)0x0;
      var_3 = var_4;
    } while (var_4 != (type_2 *)(&var_9->nbits + (8 << ((type_4)var_12 & 0x1f))));
  }
  var_8 = 0;
  do {
    while ((((int)(type_3)lengths[var_8] <= var_5 ||
            (((1 << ((type_4)var_5 & 0x1f)) - 1U & codes[var_8]) != var_6)) ||
           (var_10 = codes[var_8] >> ((type_4)var_5 & 0x1f) & var_7, (int)var_7 < (int)var_10))) {
      var_8 = var_8 + 1;
      if (var_8 == 0x120) goto LAB_00072e20;
    }
    do {
      var_3 = var_9 + var_10;
      var_3->code = (short)var_8;
      var_11 = (type_3)lengths[var_8] - var_5;
      if ((int)(type_3)var_3->nbits < var_11) {
        var_3->nbits = (type_5)var_11;
        var_11 = (type_3)lengths[var_8] - var_5;
      }
      var_10 = var_10 + (1 << ((type_4)var_11 & 0x1f));
    } while ((int)var_10 <= (int)var_7);
    var_8 = var_8 + 1;
  } while (var_8 != 0x120);
LAB_00072e20:
  if (-1 < (int)var_7) {
    var_8 = 0;
    var_10 = (type_3)var_9->nbits;
    if ((int)var_10 <= var_12) goto LAB_00072eb2;
    while( true ) {
      var_11 = var_10 - var_12;
      var_9->nbits = (type_4)var_12;
      var_9->code = -1;
      var_7 = var_8 << ((type_4)var_5 & 0x1f);
      if (7 < var_11) {
        var_11 = 7;
      }
      var_8 = var_8 + 1;
      pzVar4 = var_13(codes,lengths,var_6 | var_7,var_5 + var_12,var_11,in_stack_ffffffbc);
      var_9->nexttable = pzVar4;
      var_7 = pzVar1->mask;
      if ((int)var_7 < var_8) break;
      while( true ) {
        var_9 = pzVar1->table + var_8;
        var_10 = (type_3)var_9->nbits;
        if (var_12 < (int)var_10) break;
LAB_00072eb2:
        var_8 = var_8 + 1;
        if ((int)var_7 < var_8) {
          return pzVar1;
        }
      }
    }
  }
  return pzVar1;
}


(translation_unit (ERROR (binary_expression left: (identifier) (ERROR (identifier)) right: (call_expression function: (identifier) arguments: (argument_list (ERROR (identifier)) (identifier) (ERROR (identifier)) (identifier) (ERROR (identifier)) (identifier) (ERROR (identifier)) (identifier) (ERROR (identifier)) (identifier))))) (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (identifier))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (identifier)) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))) right: (number_literal)) right: (identifier))) right: (identifier)))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) right: (identifier))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (identifier))) right: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))))))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))) consequence: (break_statement)) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (break_statement)) (labeled_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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))) consequence: (compound_statement (return_statement (identifier))))))))))) (return_statement (identifier))))

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

uint * __regparm3 MASKED(int param_1,int param_2,uint param_3,int param_4,int param_5)

{
  uint *puVar1;
  byte *pbVar2;
  uint uVar3;
  undefined4 uVar4;
  int iVar5;
  byte *pbVar6;
  byte *pbVar7;
  int iVar8;
  uint uVar9;
  
  puVar1 = (uint *)FUN_0001fe90(1,8);
  iVar8 = 1 << ((byte)param_5 & 0x1f);
  uVar9 = iVar8 - 1;
  pbVar2 = (byte *)FUN_0001fe90(iVar8,8);
  puVar1[1] = (uint)pbVar2;
  *puVar1 = uVar9;
  if (-1 < (int)uVar9) {
    pbVar6 = pbVar2;
    do {
      *pbVar6 = 0;
      pbVar7 = pbVar6 + 8;
      pbVar6[2] = 0xff;
      pbVar6[3] = 0xff;
      pbVar6[4] = 0;
      pbVar6[5] = 0;
      pbVar6[6] = 0;
      pbVar6[7] = 0;
      pbVar6 = pbVar7;
    } while (pbVar7 != pbVar2 + (8 << ((byte)param_5 & 0x1f)));
  }
  iVar8 = 0;
  do {
    while ((((int)(uint)*(byte *)(param_2 + iVar8) <= param_4 ||
            (uVar3 = *(uint *)(param_1 + iVar8 * 4),
            ((1 << ((byte)param_4 & 0x1f)) - 1U & uVar3) != param_3)) ||
           (uVar3 = (int)uVar3 >> ((byte)param_4 & 0x1f) & uVar9, (int)uVar9 < (int)uVar3))) {
      iVar8 = iVar8 + 1;
      if (iVar8 == 0x120) goto LAB_00072e20;
    }
    do {
      pbVar6 = pbVar2 + uVar3 * 8;
      *(short *)(pbVar6 + 2) = (short)iVar8;
      iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;
      if ((int)(uint)*pbVar6 < iVar5) {
        *pbVar6 = (byte)iVar5;
        iVar5 = (uint)*(byte *)(param_2 + iVar8) - param_4;
      }
      uVar3 = uVar3 + (1 << ((byte)iVar5 & 0x1f));
    } while ((int)uVar3 <= (int)uVar9);
    iVar8 = iVar8 + 1;
  } while (iVar8 != 0x120);
LAB_00072e20:
  if (-1 < (int)uVar9) {
    iVar8 = 0;
    uVar3 = (uint)*pbVar2;
    if ((int)uVar3 <= param_5) goto LAB_00072eb2;
    while( true ) {
      iVar5 = uVar3 - param_5;
      *pbVar2 = (byte)param_5;
      pbVar2[2] = 0xff;
      pbVar2[3] = 0xff;
      if (7 < iVar5) {
        iVar5 = 7;
      }
      iVar8 = iVar8 + 1;
      uVar4 = MASKED(param_4 + param_5,iVar5);
      *(undefined4 *)(pbVar2 + 4) = uVar4;
      uVar9 = *puVar1;
      if ((int)uVar9 < iVar8) break;
      while( true ) {
        pbVar2 = (byte *)(puVar1[1] + iVar8 * 8);
        uVar3 = (uint)*pbVar2;
        if (param_5 < (int)uVar3) break;
LAB_00072eb2:
        iVar8 = iVar8 + 1;
        if ((int)uVar9 < iVar8) {
          return puVar1;
        }
      }
    }
  }
  return puVar1;
}

