
idx_t __regparm3 charclass_index(dfa *d,charclass *s)

{
  charclass_word *pcVar1;
  int iVar2;
  int iVar3;
  charclass_word *pcVar4;
  int iVar5;
  charclass *pcVar6;
  uint uVar7;
  uint uVar8;
  ptrdiff_t in_stack_ffffffcc;
  idx_t in_stack_ffffffd0;
  int local_2c;
  int local_28;
  charclass *local_24;
  
  local_28 = d->cindex;
  local_24 = d->charclasses;
  if (local_28 < 1) {
    iVar5 = 0;
    local_2c = 0;
  }
  else {
    local_2c = 0;
    pcVar6 = local_24;
    do {
      uVar7 = 0;
      uVar8 = 0;
      iVar5 = 0;
      do {
        pcVar1 = s->w + iVar5;
        iVar2 = iVar5 * 8;
        pcVar4 = pcVar6->w + iVar5;
        iVar3 = iVar5 * 8;
        iVar5 = iVar5 + 1;
        uVar7 = uVar7 | (uint)*pcVar1 ^ (uint)*pcVar4;
        uVar8 = uVar8 | *(uint *)((int)s->w + iVar2 + 4) ^ *(uint *)((int)pcVar6->w + iVar3 + 4);
      } while (iVar5 != 4);
      if (uVar8 == 0 && uVar7 == 0) {
        return local_2c;
      }
      local_2c = local_2c + 1;
      pcVar6 = pcVar6 + 1;
    } while (local_2c != local_28);
    iVar5 = local_2c * 0x20;
  }
  if (d->calloc <= local_28) {
    local_24 = (charclass *)
               xpalloc(local_24,(idx_t *)0x7ffffeeb,0x20,in_stack_ffffffcc,in_stack_ffffffd0);
    local_28 = d->cindex;
  }
  d->charclasses = local_24;
  d->cindex = local_28 + 1;
  *(int *)((int)local_24->w + iVar5) = (int)s->w[0];
  *(undefined4 *)((int)local_24->w + iVar5 + 4) = *(undefined4 *)((int)s->w + 4);
  *(int *)((int)local_24->w + iVar5 + 8) = (int)s->w[1];
  *(undefined4 *)((int)local_24->w + iVar5 + 0xc) = *(undefined4 *)((int)s->w + 0xc);
  *(int *)((int)local_24->w + iVar5 + 0x10) = (int)s->w[2];
  *(undefined4 *)((int)local_24->w + iVar5 + 0x14) = *(undefined4 *)((int)s->w + 0x14);
  *(int *)((int)local_24->w + iVar5 + 0x18) = (int)s->w[3];
  *(undefined4 *)((int)local_24->w + iVar5 + 0x1c) = *(undefined4 *)((int)s->w + 0x1c);
  return local_2c;
}



int __regparm3 FUN_00072350(int *param_1,undefined4 *param_2)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  uint uVar7;
  uint uVar8;
  int local_2c;
  int local_28;
  int local_24;
  
  local_28 = param_1[1];
  local_24 = *param_1;
  if (local_28 < 1) {
    iVar6 = 0;
    local_2c = 0;
  }
  else {
    local_2c = 0;
    iVar6 = local_24;
    do {
      uVar7 = 0;
      uVar8 = 0;
      iVar5 = 0;
      do {
        iVar3 = iVar5 * 2;
        iVar4 = iVar5 * 2;
        iVar2 = iVar5 * 8;
        iVar1 = iVar5 * 8;
        iVar5 = iVar5 + 1;
        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);
        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);
      } while (iVar5 != 4);
      if (uVar8 == 0 && uVar7 == 0) {
        return local_2c;
      }
      local_2c = local_2c + 1;
      iVar6 = iVar6 + 0x20;
    } while (local_2c != local_28);
    iVar6 = local_2c * 0x20;
  }
  if (param_1[2] <= local_28) {
    local_24 = FUN_00071f40(0x7ffffeeb,0x20);
    local_28 = param_1[1];
  }
  *param_1 = local_24;
  param_1[1] = local_28 + 1;
  *(undefined4 *)(local_24 + iVar6) = *param_2;
  *(undefined4 *)(local_24 + 4 + iVar6) = param_2[1];
  *(undefined4 *)(local_24 + 8 + iVar6) = param_2[2];
  *(undefined4 *)(local_24 + 0xc + iVar6) = param_2[3];
  *(undefined4 *)(local_24 + 0x10 + iVar6) = param_2[4];
  *(undefined4 *)(local_24 + 0x14 + iVar6) = param_2[5];
  *(undefined4 *)(local_24 + 0x18 + iVar6) = param_2[6];
  *(undefined4 *)(local_24 + 0x1c + iVar6) = param_2[7];
  return local_2c;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV ESI,dword ptr [EAX + 0x4]
MOV EBP,dword ptr [EAX]
MOV dword ptr [ESP + 0xc],EAX
TEST ESI,ESI
MOV dword ptr [ESP + 0x4],ESI
MOV dword ptr [ESP + 0x8],EBP
JLE 0x00072445
MOV dword ptr [ESP],0x0
MOV ESI,ESI
LEA EDI,[EDI]
XOR ESI,ESI
XOR EDI,EDI
XOR EAX,EAX
MOV EBX,dword ptr [EDX + EAX*0x8]
MOV ECX,dword ptr [EDX + EAX*0x8 + 0x4]
XOR EBX,dword ptr [EBP + EAX*0x8]
XOR ECX,dword ptr [EBP + EAX*0x8 + 0x4]
ADD EAX,0x1
OR ESI,EBX
OR EDI,ECX
CMP EAX,0x4
JNZ 0x00072386
OR EDI,ESI
JZ 0x0007240f
ADD dword ptr [ESP],0x1
ADD EBP,0x20
MOV EAX,dword ptr [ESP]
CMP EAX,dword ptr [ESP + 0x4]
JNZ 0x00072380
MOV ESI,EAX
SHL ESI,0x5
MOV EDI,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x4]
MOV EBX,EDX
CMP dword ptr [EDI + 0x8],EAX
JLE 0x0007241a
MOV EAX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [ESP + 0x8]
ADD EAX,0x1
MOV dword ptr [EDI],EDX
MOV dword ptr [EDI + 0x4],EAX
MOV EAX,dword ptr [EBX]
MOV dword ptr [EDX + ESI*0x1],EAX
MOV EAX,dword ptr [EBX + 0x4]
MOV dword ptr [EDX + ESI*0x1 + 0x4],EAX
MOV EAX,dword ptr [EBX + 0x8]
MOV dword ptr [EDX + ESI*0x1 + 0x8],EAX
MOV EAX,dword ptr [EBX + 0xc]
MOV dword ptr [EDX + ESI*0x1 + 0xc],EAX
MOV EAX,dword ptr [EBX + 0x10]
MOV dword ptr [EDX + ESI*0x1 + 0x10],EAX
MOV EAX,dword ptr [EBX + 0x14]
MOV dword ptr [EDX + ESI*0x1 + 0x14],EAX
MOV EAX,dword ptr [EBX + 0x18]
MOV dword ptr [EDX + ESI*0x1 + 0x18],EAX
MOV EAX,dword ptr [EBX + 0x1c]
MOV dword ptr [EDX + ESI*0x1 + 0x1c],EAX
MOV EAX,dword ptr [ESP]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
LEA EDX,[EDI + 0x8]
MOV ECX,0x1
PUSH 0x20
PUSH 0x7ffffeeb
MOV EAX,dword ptr [ESP + 0x18]
CALL 0x00071f40
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [EDI + 0x4]
MOV dword ptr [ESP + 0x14],EAX
ADD ESP,0x10
JMP 0x000723c9
XOR ESI,ESI
MOV dword ptr [ESP],0x0
JMP 0x000723ba
(translation_unit "int __regparm3 FUN_00072350(int *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  local_28 = param_1[1];\n  local_24 = *param_1;\n  if (local_28 < 1) {\n    iVar6 = 0;\n    local_2c = 0;\n  }\n  else {\n    local_2c = 0;\n    iVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);\n    iVar6 = local_2c * 0x20;\n  }\n  if (param_1[2] <= local_28) {\n    local_24 = FUN_00071f40(0x7ffffeeb,0x20);\n    local_28 = param_1[1];\n  }\n  *param_1 = local_24;\n  param_1[1] = local_28 + 1;\n  *(undefined4 *)(local_24 + iVar6) = *param_2;\n  *(undefined4 *)(local_24 + 4 + iVar6) = param_2[1];\n  *(undefined4 *)(local_24 + 8 + iVar6) = param_2[2];\n  *(undefined4 *)(local_24 + 0xc + iVar6) = param_2[3];\n  *(undefined4 *)(local_24 + 0x10 + iVar6) = param_2[4];\n  *(undefined4 *)(local_24 + 0x14 + iVar6) = param_2[5];\n  *(undefined4 *)(local_24 + 0x18 + iVar6) = param_2[6];\n  *(undefined4 *)(local_24 + 0x1c + iVar6) = param_2[7];\n  return local_2c;\n}\n\n" (function_definition "int __regparm3 FUN_00072350(int *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  local_28 = param_1[1];\n  local_24 = *param_1;\n  if (local_28 < 1) {\n    iVar6 = 0;\n    local_2c = 0;\n  }\n  else {\n    local_2c = 0;\n    iVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);\n    iVar6 = local_2c * 0x20;\n  }\n  if (param_1[2] <= local_28) {\n    local_24 = FUN_00071f40(0x7ffffeeb,0x20);\n    local_28 = param_1[1];\n  }\n  *param_1 = local_24;\n  param_1[1] = local_28 + 1;\n  *(undefined4 *)(local_24 + iVar6) = *param_2;\n  *(undefined4 *)(local_24 + 4 + iVar6) = param_2[1];\n  *(undefined4 *)(local_24 + 8 + iVar6) = param_2[2];\n  *(undefined4 *)(local_24 + 0xc + iVar6) = param_2[3];\n  *(undefined4 *)(local_24 + 0x10 + iVar6) = param_2[4];\n  *(undefined4 *)(local_24 + 0x14 + iVar6) = param_2[5];\n  *(undefined4 *)(local_24 + 0x18 + iVar6) = param_2[6];\n  *(undefined4 *)(local_24 + 0x1c + iVar6) = param_2[7];\n  return local_2c;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00072350(int *param_1,undefined4 *param_2)" identifier (parameter_list "(int *param_1,undefined4 *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  local_28 = param_1[1];\n  local_24 = *param_1;\n  if (local_28 < 1) {\n    iVar6 = 0;\n    local_2c = 0;\n  }\n  else {\n    local_2c = 0;\n    iVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);\n    iVar6 = local_2c * 0x20;\n  }\n  if (param_1[2] <= local_28) {\n    local_24 = FUN_00071f40(0x7ffffeeb,0x20);\n    local_28 = param_1[1];\n  }\n  *param_1 = local_24;\n  param_1[1] = local_28 + 1;\n  *(undefined4 *)(local_24 + iVar6) = *param_2;\n  *(undefined4 *)(local_24 + 4 + iVar6) = param_2[1];\n  *(undefined4 *)(local_24 + 8 + iVar6) = param_2[2];\n  *(undefined4 *)(local_24 + 0xc + iVar6) = param_2[3];\n  *(undefined4 *)(local_24 + 0x10 + iVar6) = param_2[4];\n  *(undefined4 *)(local_24 + 0x14 + iVar6) = param_2[5];\n  *(undefined4 *)(local_24 + 0x18 + iVar6) = param_2[6];\n  *(undefined4 *)(local_24 + 0x1c + iVar6) = param_2[7];\n  return local_2c;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "local_28 = param_1[1];" (assignment_expression "local_28 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "local_24 = *param_1;" (assignment_expression "local_24 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (local_28 < 1) {\n    iVar6 = 0;\n    local_2c = 0;\n  }\n  else {\n    local_2c = 0;\n    iVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);\n    iVar6 = local_2c * 0x20;\n  }" if (parenthesized_expression "(local_28 < 1)" ( (binary_expression "local_28 < 1" identifier < number_literal) )) (compound_statement "{\n    iVar6 = 0;\n    local_2c = 0;\n  }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) }) (else_clause "else {\n    local_2c = 0;\n    iVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);\n    iVar6 = local_2c * 0x20;\n  }" else (compound_statement "{\n    local_2c = 0;\n    iVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);\n    iVar6 = local_2c * 0x20;\n  }" { (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "iVar6 = local_24;" (assignment_expression "iVar6 = local_24" identifier = identifier) ;) (do_statement "do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);" do (compound_statement "{\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);" do (compound_statement "{\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      }" { (expression_statement "iVar3 = iVar5 * 2;" (assignment_expression "iVar3 = iVar5 * 2" identifier = (binary_expression "iVar5 * 2" identifier * number_literal)) ;) (expression_statement "iVar4 = iVar5 * 2;" (assignment_expression "iVar4 = iVar5 * 2" identifier = (binary_expression "iVar5 * 2" identifier * number_literal)) ;) (expression_statement "iVar2 = iVar5 * 8;" (assignment_expression "iVar2 = iVar5 * 8" identifier = (binary_expression "iVar5 * 8" identifier * number_literal)) ;) (expression_statement "iVar1 = iVar5 * 8;" (assignment_expression "iVar1 = iVar5 * 8" identifier = (binary_expression "iVar5 * 8" identifier * number_literal)) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);" (assignment_expression "uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2)" identifier = (binary_expression "uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2)" identifier | (binary_expression "param_2[iVar3] ^ *(uint *)(iVar6 + iVar2)" (subscript_expression "param_2[iVar3]" identifier [ identifier ]) ^ (pointer_expression "*(uint *)(iVar6 + iVar2)" * (cast_expression "(uint *)(iVar6 + iVar2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar2)" ( (binary_expression "iVar6 + iVar2" identifier + identifier) ))))))) ;) (expression_statement "uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);" (assignment_expression "uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1)" identifier = (binary_expression "uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1)" identifier | (binary_expression "param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1)" (subscript_expression "param_2[iVar4 + 1]" identifier [ (binary_expression "iVar4 + 1" identifier + number_literal) ]) ^ (pointer_expression "*(uint *)(iVar6 + 4 + iVar1)" * (cast_expression "(uint *)(iVar6 + 4 + iVar1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4 + iVar1)" ( (binary_expression "iVar6 + 4 + iVar1" (binary_expression "iVar6 + 4" identifier + number_literal) + identifier) ))))))) ;) }) while (parenthesized_expression "(iVar5 != 4)" ( (binary_expression "iVar5 != 4" identifier != number_literal) )) ;) (if_statement "if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }" if (parenthesized_expression "(uVar8 == 0 && uVar7 == 0)" ( (binary_expression "uVar8 == 0 && uVar7 == 0" (binary_expression "uVar8 == 0" identifier == number_literal) && (binary_expression "uVar7 == 0" identifier == number_literal)) )) (compound_statement "{\n        return local_2c;\n      }" { (return_statement "return local_2c;" return identifier ;) })) (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar6 + 0x20;" (assignment_expression "iVar6 = iVar6 + 0x20" identifier = (binary_expression "iVar6 + 0x20" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_2c != local_28)" ( (binary_expression "local_2c != local_28" identifier != identifier) )) ;) (expression_statement "iVar6 = local_2c * 0x20;" (assignment_expression "iVar6 = local_2c * 0x20" identifier = (binary_expression "local_2c * 0x20" identifier * number_literal)) ;) }))) (if_statement "if (param_1[2] <= local_28) {\n    local_24 = FUN_00071f40(0x7ffffeeb,0x20);\n    local_28 = param_1[1];\n  }" if (parenthesized_expression "(param_1[2] <= local_28)" ( (binary_expression "param_1[2] <= local_28" (subscript_expression "param_1[2]" identifier [ number_literal ]) <= identifier) )) (compound_statement "{\n    local_24 = FUN_00071f40(0x7ffffeeb,0x20);\n    local_28 = param_1[1];\n  }" { (expression_statement "local_24 = FUN_00071f40(0x7ffffeeb,0x20);" (assignment_expression "local_24 = FUN_00071f40(0x7ffffeeb,0x20)" identifier = (call_expression "FUN_00071f40(0x7ffffeeb,0x20)" identifier (argument_list "(0x7ffffeeb,0x20)" ( number_literal , number_literal )))) ;) (expression_statement "local_28 = param_1[1];" (assignment_expression "local_28 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) })) (expression_statement "*param_1 = local_24;" (assignment_expression "*param_1 = local_24" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_28 + 1;" (assignment_expression "param_1[1] = local_28 + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "local_28 + 1" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(local_24 + iVar6) = *param_2;" (assignment_expression "*(undefined4 *)(local_24 + iVar6) = *param_2" (pointer_expression "*(undefined4 *)(local_24 + iVar6)" * (cast_expression "(undefined4 *)(local_24 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + iVar6)" ( (binary_expression "local_24 + iVar6" identifier + identifier) )))) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*(undefined4 *)(local_24 + 4 + iVar6) = param_2[1];" (assignment_expression "*(undefined4 *)(local_24 + 4 + iVar6) = param_2[1]" (pointer_expression "*(undefined4 *)(local_24 + 4 + iVar6)" * (cast_expression "(undefined4 *)(local_24 + 4 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 4 + iVar6)" ( (binary_expression "local_24 + 4 + iVar6" (binary_expression "local_24 + 4" identifier + number_literal) + identifier) )))) = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(local_24 + 8 + iVar6) = param_2[2];" (assignment_expression "*(undefined4 *)(local_24 + 8 + iVar6) = param_2[2]" (pointer_expression "*(undefined4 *)(local_24 + 8 + iVar6)" * (cast_expression "(undefined4 *)(local_24 + 8 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 8 + iVar6)" ( (binary_expression "local_24 + 8 + iVar6" (binary_expression "local_24 + 8" identifier + number_literal) + identifier) )))) = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(local_24 + 0xc + iVar6) = param_2[3];" (assignment_expression "*(undefined4 *)(local_24 + 0xc + iVar6) = param_2[3]" (pointer_expression "*(undefined4 *)(local_24 + 0xc + iVar6)" * (cast_expression "(undefined4 *)(local_24 + 0xc + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0xc + iVar6)" ( (binary_expression "local_24 + 0xc + iVar6" (binary_expression "local_24 + 0xc" identifier + number_literal) + identifier) )))) = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(local_24 + 0x10 + iVar6) = param_2[4];" (assignment_expression "*(undefined4 *)(local_24 + 0x10 + iVar6) = param_2[4]" (pointer_expression "*(undefined4 *)(local_24 + 0x10 + iVar6)" * (cast_expression "(undefined4 *)(local_24 + 0x10 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x10 + iVar6)" ( (binary_expression "local_24 + 0x10 + iVar6" (binary_expression "local_24 + 0x10" identifier + number_literal) + identifier) )))) = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(local_24 + 0x14 + iVar6) = param_2[5];" (assignment_expression "*(undefined4 *)(local_24 + 0x14 + iVar6) = param_2[5]" (pointer_expression "*(undefined4 *)(local_24 + 0x14 + iVar6)" * (cast_expression "(undefined4 *)(local_24 + 0x14 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x14 + iVar6)" ( (binary_expression "local_24 + 0x14 + iVar6" (binary_expression "local_24 + 0x14" identifier + number_literal) + identifier) )))) = (subscript_expression "param_2[5]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(local_24 + 0x18 + iVar6) = param_2[6];" (assignment_expression "*(undefined4 *)(local_24 + 0x18 + iVar6) = param_2[6]" (pointer_expression "*(undefined4 *)(local_24 + 0x18 + iVar6)" * (cast_expression "(undefined4 *)(local_24 + 0x18 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x18 + iVar6)" ( (binary_expression "local_24 + 0x18 + iVar6" (binary_expression "local_24 + 0x18" identifier + number_literal) + identifier) )))) = (subscript_expression "param_2[6]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(local_24 + 0x1c + iVar6) = param_2[7];" (assignment_expression "*(undefined4 *)(local_24 + 0x1c + iVar6) = param_2[7]" (pointer_expression "*(undefined4 *)(local_24 + 0x1c + iVar6)" * (cast_expression "(undefined4 *)(local_24 + 0x1c + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x1c + iVar6)" ( (binary_expression "local_24 + 0x1c + iVar6" (binary_expression "local_24 + 0x1c" identifier + number_literal) + identifier) )))) = (subscript_expression "param_2[7]" identifier [ number_literal ])) ;) (return_statement "return local_2c;" return identifier ;) })))
(translation_unit "idx_t __regparm3 charclass_index(dfa *d,charclass *s)\n\n{\n  charclass_word *pcVar1;\n  int iVar2;\n  int iVar3;\n  charclass_word *pcVar4;\n  int iVar5;\n  charclass *pcVar6;\n  uint uVar7;\n  uint uVar8;\n  ptrdiff_t in_stack_ffffffcc;\n  idx_t in_stack_ffffffd0;\n  int local_2c;\n  int local_28;\n  charclass *local_24;\n  \n  local_28 = d->cindex;\n  local_24 = d->charclasses;\n  if (local_28 < 1) {\n    iVar5 = 0;\n    local_2c = 0;\n  }\n  else {\n    local_2c = 0;\n    pcVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        pcVar1 = s->w + iVar5;\n        iVar2 = iVar5 * 8;\n        pcVar4 = pcVar6->w + iVar5;\n        iVar3 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | (uint)*pcVar1 ^ (uint)*pcVar4;\n        uVar8 = uVar8 | *(uint *)((int)s->w + iVar2 + 4) ^ *(uint *)((int)pcVar6->w + iVar3 + 4);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      pcVar6 = pcVar6 + 1;\n    } while (local_2c != local_28);\n    iVar5 = local_2c * 0x20;\n  }\n  if (d->calloc <= local_28) {\n    local_24 = (charclass *)\n               xpalloc(local_24,(idx_t *)0x7ffffeeb,0x20,in_stack_ffffffcc,in_stack_ffffffd0);\n    local_28 = d->cindex;\n  }\n  d->charclasses = local_24;\n  d->cindex = local_28 + 1;\n  *(int *)((int)local_24->w + iVar5) = (int)s->w[0];\n  *(undefined4 *)((int)local_24->w + iVar5 + 4) = *(undefined4 *)((int)s->w + 4);\n  *(int *)((int)local_24->w + iVar5 + 8) = (int)s->w[1];\n  *(undefined4 *)((int)local_24->w + iVar5 + 0xc) = *(undefined4 *)((int)s->w + 0xc);\n  *(int *)((int)local_24->w + iVar5 + 0x10) = (int)s->w[2];\n  *(undefined4 *)((int)local_24->w + iVar5 + 0x14) = *(undefined4 *)((int)s->w + 0x14);\n  *(int *)((int)local_24->w + iVar5 + 0x18) = (int)s->w[3];\n  *(undefined4 *)((int)local_24->w + iVar5 + 0x1c) = *(undefined4 *)((int)s->w + 0x1c);\n  return local_2c;\n}\n\n" (function_definition "idx_t __regparm3 charclass_index(dfa *d,charclass *s)\n\n{\n  charclass_word *pcVar1;\n  int iVar2;\n  int iVar3;\n  charclass_word *pcVar4;\n  int iVar5;\n  charclass *pcVar6;\n  uint uVar7;\n  uint uVar8;\n  ptrdiff_t in_stack_ffffffcc;\n  idx_t in_stack_ffffffd0;\n  int local_2c;\n  int local_28;\n  charclass *local_24;\n  \n  local_28 = d->cindex;\n  local_24 = d->charclasses;\n  if (local_28 < 1) {\n    iVar5 = 0;\n    local_2c = 0;\n  }\n  else {\n    local_2c = 0;\n    pcVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        pcVar1 = s->w + iVar5;\n        iVar2 = iVar5 * 8;\n        pcVar4 = pcVar6->w + iVar5;\n        iVar3 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | (uint)*pcVar1 ^ (uint)*pcVar4;\n        uVar8 = uVar8 | *(uint *)((int)s->w + iVar2 + 4) ^ *(uint *)((int)pcVar6->w + iVar3 + 4);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      pcVar6 = pcVar6 + 1;\n    } while (local_2c != local_28);\n    iVar5 = local_2c * 0x20;\n  }\n  if (d->calloc <= local_28) {\n    local_24 = (charclass *)\n               xpalloc(local_24,(idx_t *)0x7ffffeeb,0x20,in_stack_ffffffcc,in_stack_ffffffd0);\n    local_28 = d->cindex;\n  }\n  d->charclasses = local_24;\n  d->cindex = local_28 + 1;\n  *(int *)((int)local_24->w + iVar5) = (int)s->w[0];\n  *(undefined4 *)((int)local_24->w + iVar5 + 4) = *(undefined4 *)((int)s->w + 4);\n  *(int *)((int)local_24->w + iVar5 + 8) = (int)s->w[1];\n  *(undefined4 *)((int)local_24->w + iVar5 + 0xc) = *(undefined4 *)((int)s->w + 0xc);\n  *(int *)((int)local_24->w + iVar5 + 0x10) = (int)s->w[2];\n  *(undefined4 *)((int)local_24->w + iVar5 + 0x14) = *(undefined4 *)((int)s->w + 0x14);\n  *(int *)((int)local_24->w + iVar5 + 0x18) = (int)s->w[3];\n  *(undefined4 *)((int)local_24->w + iVar5 + 0x1c) = *(undefined4 *)((int)s->w + 0x1c);\n  return local_2c;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "charclass_index(dfa *d,charclass *s)" identifier (parameter_list "(dfa *d,charclass *s)" ( (parameter_declaration "dfa *d" type_identifier (pointer_declarator "*d" * identifier)) , (parameter_declaration "charclass *s" type_identifier (pointer_declarator "*s" * identifier)) ))) (compound_statement "{\n  charclass_word *pcVar1;\n  int iVar2;\n  int iVar3;\n  charclass_word *pcVar4;\n  int iVar5;\n  charclass *pcVar6;\n  uint uVar7;\n  uint uVar8;\n  ptrdiff_t in_stack_ffffffcc;\n  idx_t in_stack_ffffffd0;\n  int local_2c;\n  int local_28;\n  charclass *local_24;\n  \n  local_28 = d->cindex;\n  local_24 = d->charclasses;\n  if (local_28 < 1) {\n    iVar5 = 0;\n    local_2c = 0;\n  }\n  else {\n    local_2c = 0;\n    pcVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        pcVar1 = s->w + iVar5;\n        iVar2 = iVar5 * 8;\n        pcVar4 = pcVar6->w + iVar5;\n        iVar3 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | (uint)*pcVar1 ^ (uint)*pcVar4;\n        uVar8 = uVar8 | *(uint *)((int)s->w + iVar2 + 4) ^ *(uint *)((int)pcVar6->w + iVar3 + 4);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      pcVar6 = pcVar6 + 1;\n    } while (local_2c != local_28);\n    iVar5 = local_2c * 0x20;\n  }\n  if (d->calloc <= local_28) {\n    local_24 = (charclass *)\n               xpalloc(local_24,(idx_t *)0x7ffffeeb,0x20,in_stack_ffffffcc,in_stack_ffffffd0);\n    local_28 = d->cindex;\n  }\n  d->charclasses = local_24;\n  d->cindex = local_28 + 1;\n  *(int *)((int)local_24->w + iVar5) = (int)s->w[0];\n  *(undefined4 *)((int)local_24->w + iVar5 + 4) = *(undefined4 *)((int)s->w + 4);\n  *(int *)((int)local_24->w + iVar5 + 8) = (int)s->w[1];\n  *(undefined4 *)((int)local_24->w + iVar5 + 0xc) = *(undefined4 *)((int)s->w + 0xc);\n  *(int *)((int)local_24->w + iVar5 + 0x10) = (int)s->w[2];\n  *(undefined4 *)((int)local_24->w + iVar5 + 0x14) = *(undefined4 *)((int)s->w + 0x14);\n  *(int *)((int)local_24->w + iVar5 + 0x18) = (int)s->w[3];\n  *(undefined4 *)((int)local_24->w + iVar5 + 0x1c) = *(undefined4 *)((int)s->w + 0x1c);\n  return local_2c;\n}" { (declaration "charclass_word *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "charclass_word *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "charclass *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "ptrdiff_t in_stack_ffffffcc;" primitive_type identifier ;) (declaration "idx_t in_stack_ffffffd0;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "charclass *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "local_28 = d->cindex;" (assignment_expression "local_28 = d->cindex" identifier = (field_expression "d->cindex" identifier -> field_identifier)) ;) (expression_statement "local_24 = d->charclasses;" (assignment_expression "local_24 = d->charclasses" identifier = (field_expression "d->charclasses" identifier -> field_identifier)) ;) (if_statement "if (local_28 < 1) {\n    iVar5 = 0;\n    local_2c = 0;\n  }\n  else {\n    local_2c = 0;\n    pcVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        pcVar1 = s->w + iVar5;\n        iVar2 = iVar5 * 8;\n        pcVar4 = pcVar6->w + iVar5;\n        iVar3 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | (uint)*pcVar1 ^ (uint)*pcVar4;\n        uVar8 = uVar8 | *(uint *)((int)s->w + iVar2 + 4) ^ *(uint *)((int)pcVar6->w + iVar3 + 4);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      pcVar6 = pcVar6 + 1;\n    } while (local_2c != local_28);\n    iVar5 = local_2c * 0x20;\n  }" if (parenthesized_expression "(local_28 < 1)" ( (binary_expression "local_28 < 1" identifier < number_literal) )) (compound_statement "{\n    iVar5 = 0;\n    local_2c = 0;\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) }) (else_clause "else {\n    local_2c = 0;\n    pcVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        pcVar1 = s->w + iVar5;\n        iVar2 = iVar5 * 8;\n        pcVar4 = pcVar6->w + iVar5;\n        iVar3 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | (uint)*pcVar1 ^ (uint)*pcVar4;\n        uVar8 = uVar8 | *(uint *)((int)s->w + iVar2 + 4) ^ *(uint *)((int)pcVar6->w + iVar3 + 4);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      pcVar6 = pcVar6 + 1;\n    } while (local_2c != local_28);\n    iVar5 = local_2c * 0x20;\n  }" else (compound_statement "{\n    local_2c = 0;\n    pcVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        pcVar1 = s->w + iVar5;\n        iVar2 = iVar5 * 8;\n        pcVar4 = pcVar6->w + iVar5;\n        iVar3 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | (uint)*pcVar1 ^ (uint)*pcVar4;\n        uVar8 = uVar8 | *(uint *)((int)s->w + iVar2 + 4) ^ *(uint *)((int)pcVar6->w + iVar3 + 4);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      pcVar6 = pcVar6 + 1;\n    } while (local_2c != local_28);\n    iVar5 = local_2c * 0x20;\n  }" { (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "pcVar6 = local_24;" (assignment_expression "pcVar6 = local_24" identifier = identifier) ;) (do_statement "do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        pcVar1 = s->w + iVar5;\n        iVar2 = iVar5 * 8;\n        pcVar4 = pcVar6->w + iVar5;\n        iVar3 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | (uint)*pcVar1 ^ (uint)*pcVar4;\n        uVar8 = uVar8 | *(uint *)((int)s->w + iVar2 + 4) ^ *(uint *)((int)pcVar6->w + iVar3 + 4);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      pcVar6 = pcVar6 + 1;\n    } while (local_2c != local_28);" do (compound_statement "{\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        pcVar1 = s->w + iVar5;\n        iVar2 = iVar5 * 8;\n        pcVar4 = pcVar6->w + iVar5;\n        iVar3 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | (uint)*pcVar1 ^ (uint)*pcVar4;\n        uVar8 = uVar8 | *(uint *)((int)s->w + iVar2 + 4) ^ *(uint *)((int)pcVar6->w + iVar3 + 4);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      pcVar6 = pcVar6 + 1;\n    }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n        pcVar1 = s->w + iVar5;\n        iVar2 = iVar5 * 8;\n        pcVar4 = pcVar6->w + iVar5;\n        iVar3 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | (uint)*pcVar1 ^ (uint)*pcVar4;\n        uVar8 = uVar8 | *(uint *)((int)s->w + iVar2 + 4) ^ *(uint *)((int)pcVar6->w + iVar3 + 4);\n      } while (iVar5 != 4);" do (compound_statement "{\n        pcVar1 = s->w + iVar5;\n        iVar2 = iVar5 * 8;\n        pcVar4 = pcVar6->w + iVar5;\n        iVar3 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | (uint)*pcVar1 ^ (uint)*pcVar4;\n        uVar8 = uVar8 | *(uint *)((int)s->w + iVar2 + 4) ^ *(uint *)((int)pcVar6->w + iVar3 + 4);\n      }" { (expression_statement "pcVar1 = s->w + iVar5;" (assignment_expression "pcVar1 = s->w + iVar5" identifier = (binary_expression "s->w + iVar5" (field_expression "s->w" identifier -> field_identifier) + identifier)) ;) (expression_statement "iVar2 = iVar5 * 8;" (assignment_expression "iVar2 = iVar5 * 8" identifier = (binary_expression "iVar5 * 8" identifier * number_literal)) ;) (expression_statement "pcVar4 = pcVar6->w + iVar5;" (assignment_expression "pcVar4 = pcVar6->w + iVar5" identifier = (binary_expression "pcVar6->w + iVar5" (field_expression "pcVar6->w" identifier -> field_identifier) + identifier)) ;) (expression_statement "iVar3 = iVar5 * 8;" (assignment_expression "iVar3 = iVar5 * 8" identifier = (binary_expression "iVar5 * 8" identifier * number_literal)) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = uVar7 | (uint)*pcVar1 ^ (uint)*pcVar4;" (assignment_expression "uVar7 = uVar7 | (uint)*pcVar1 ^ (uint)*pcVar4" identifier = (binary_expression "uVar7 | (uint)*pcVar1 ^ (uint)*pcVar4" identifier | (binary_expression "(uint)*pcVar1 ^ (uint)*pcVar4" (binary_expression "(uint)*pcVar1" (parenthesized_expression "(uint)" ( identifier )) * identifier) ^ (binary_expression "(uint)*pcVar4" (parenthesized_expression "(uint)" ( identifier )) * identifier)))) ;) (expression_statement "uVar8 = uVar8 | *(uint *)((int)s->w + iVar2 + 4) ^ *(uint *)((int)pcVar6->w + iVar3 + 4);" (assignment_expression "uVar8 = uVar8 | *(uint *)((int)s->w + iVar2 + 4) ^ *(uint *)((int)pcVar6->w + iVar3 + 4)" identifier = (binary_expression "uVar8 | *(uint *)((int)s->w + iVar2 + 4) ^ *(uint *)((int)pcVar6->w + iVar3 + 4)" identifier | (binary_expression "*(uint *)((int)s->w + iVar2 + 4) ^ *(uint *)((int)pcVar6->w + iVar3 + 4)" (pointer_expression "*(uint *)((int)s->w + iVar2 + 4)" * (cast_expression "(uint *)((int)s->w + iVar2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)s->w + iVar2 + 4)" ( (binary_expression "(int)s->w + iVar2 + 4" (binary_expression "(int)s->w + iVar2" (cast_expression "(int)s->w" ( (type_descriptor "int" primitive_type) ) (field_expression "s->w" identifier -> field_identifier)) + identifier) + number_literal) )))) ^ (pointer_expression "*(uint *)((int)pcVar6->w + iVar3 + 4)" * (cast_expression "(uint *)((int)pcVar6->w + iVar3 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar6->w + iVar3 + 4)" ( (binary_expression "(int)pcVar6->w + iVar3 + 4" (binary_expression "(int)pcVar6->w + iVar3" (cast_expression "(int)pcVar6->w" ( (type_descriptor "int" primitive_type) ) (field_expression "pcVar6->w" identifier -> field_identifier)) + identifier) + number_literal) ))))))) ;) }) while (parenthesized_expression "(iVar5 != 4)" ( (binary_expression "iVar5 != 4" identifier != number_literal) )) ;) (if_statement "if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }" if (parenthesized_expression "(uVar8 == 0 && uVar7 == 0)" ( (binary_expression "uVar8 == 0 && uVar7 == 0" (binary_expression "uVar8 == 0" identifier == number_literal) && (binary_expression "uVar7 == 0" identifier == number_literal)) )) (compound_statement "{\n        return local_2c;\n      }" { (return_statement "return local_2c;" return identifier ;) })) (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_2c != local_28)" ( (binary_expression "local_2c != local_28" identifier != identifier) )) ;) (expression_statement "iVar5 = local_2c * 0x20;" (assignment_expression "iVar5 = local_2c * 0x20" identifier = (binary_expression "local_2c * 0x20" identifier * number_literal)) ;) }))) (if_statement "if (d->calloc <= local_28) {\n    local_24 = (charclass *)\n               xpalloc(local_24,(idx_t *)0x7ffffeeb,0x20,in_stack_ffffffcc,in_stack_ffffffd0);\n    local_28 = d->cindex;\n  }" if (parenthesized_expression "(d->calloc <= local_28)" ( (binary_expression "d->calloc <= local_28" (field_expression "d->calloc" identifier -> field_identifier) <= identifier) )) (compound_statement "{\n    local_24 = (charclass *)\n               xpalloc(local_24,(idx_t *)0x7ffffeeb,0x20,in_stack_ffffffcc,in_stack_ffffffd0);\n    local_28 = d->cindex;\n  }" { (expression_statement "local_24 = (charclass *)\n               xpalloc(local_24,(idx_t *)0x7ffffeeb,0x20,in_stack_ffffffcc,in_stack_ffffffd0);" (assignment_expression "local_24 = (charclass *)\n               xpalloc(local_24,(idx_t *)0x7ffffeeb,0x20,in_stack_ffffffcc,in_stack_ffffffd0)" identifier = (cast_expression "(charclass *)\n               xpalloc(local_24,(idx_t *)0x7ffffeeb,0x20,in_stack_ffffffcc,in_stack_ffffffd0)" ( (type_descriptor "charclass *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xpalloc(local_24,(idx_t *)0x7ffffeeb,0x20,in_stack_ffffffcc,in_stack_ffffffd0)" identifier (argument_list "(local_24,(idx_t *)0x7ffffeeb,0x20,in_stack_ffffffcc,in_stack_ffffffd0)" ( identifier , (cast_expression "(idx_t *)0x7ffffeeb" ( (type_descriptor "idx_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal , identifier , identifier ))))) ;) (expression_statement "local_28 = d->cindex;" (assignment_expression "local_28 = d->cindex" identifier = (field_expression "d->cindex" identifier -> field_identifier)) ;) })) (expression_statement "d->charclasses = local_24;" (assignment_expression "d->charclasses = local_24" (field_expression "d->charclasses" identifier -> field_identifier) = identifier) ;) (expression_statement "d->cindex = local_28 + 1;" (assignment_expression "d->cindex = local_28 + 1" (field_expression "d->cindex" identifier -> field_identifier) = (binary_expression "local_28 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)((int)local_24->w + iVar5) = (int)s->w[0];" (assignment_expression "*(int *)((int)local_24->w + iVar5) = (int)s->w[0]" (pointer_expression "*(int *)((int)local_24->w + iVar5)" * (cast_expression "(int *)((int)local_24->w + iVar5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24->w + iVar5)" ( (binary_expression "(int)local_24->w + iVar5" (cast_expression "(int)local_24->w" ( (type_descriptor "int" primitive_type) ) (field_expression "local_24->w" identifier -> field_identifier)) + identifier) )))) = (cast_expression "(int)s->w[0]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "s->w[0]" (field_expression "s->w" identifier -> field_identifier) [ number_literal ]))) ;) (expression_statement "*(undefined4 *)((int)local_24->w + iVar5 + 4) = *(undefined4 *)((int)s->w + 4);" (assignment_expression "*(undefined4 *)((int)local_24->w + iVar5 + 4) = *(undefined4 *)((int)s->w + 4)" (pointer_expression "*(undefined4 *)((int)local_24->w + iVar5 + 4)" * (cast_expression "(undefined4 *)((int)local_24->w + iVar5 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24->w + iVar5 + 4)" ( (binary_expression "(int)local_24->w + iVar5 + 4" (binary_expression "(int)local_24->w + iVar5" (cast_expression "(int)local_24->w" ( (type_descriptor "int" primitive_type) ) (field_expression "local_24->w" identifier -> field_identifier)) + identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)s->w + 4)" * (cast_expression "(undefined4 *)((int)s->w + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)s->w + 4)" ( (binary_expression "(int)s->w + 4" (cast_expression "(int)s->w" ( (type_descriptor "int" primitive_type) ) (field_expression "s->w" identifier -> field_identifier)) + number_literal) ))))) ;) (expression_statement "*(int *)((int)local_24->w + iVar5 + 8) = (int)s->w[1];" (assignment_expression "*(int *)((int)local_24->w + iVar5 + 8) = (int)s->w[1]" (pointer_expression "*(int *)((int)local_24->w + iVar5 + 8)" * (cast_expression "(int *)((int)local_24->w + iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24->w + iVar5 + 8)" ( (binary_expression "(int)local_24->w + iVar5 + 8" (binary_expression "(int)local_24->w + iVar5" (cast_expression "(int)local_24->w" ( (type_descriptor "int" primitive_type) ) (field_expression "local_24->w" identifier -> field_identifier)) + identifier) + number_literal) )))) = (cast_expression "(int)s->w[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "s->w[1]" (field_expression "s->w" identifier -> field_identifier) [ number_literal ]))) ;) (expression_statement "*(undefined4 *)((int)local_24->w + iVar5 + 0xc) = *(undefined4 *)((int)s->w + 0xc);" (assignment_expression "*(undefined4 *)((int)local_24->w + iVar5 + 0xc) = *(undefined4 *)((int)s->w + 0xc)" (pointer_expression "*(undefined4 *)((int)local_24->w + iVar5 + 0xc)" * (cast_expression "(undefined4 *)((int)local_24->w + iVar5 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24->w + iVar5 + 0xc)" ( (binary_expression "(int)local_24->w + iVar5 + 0xc" (binary_expression "(int)local_24->w + iVar5" (cast_expression "(int)local_24->w" ( (type_descriptor "int" primitive_type) ) (field_expression "local_24->w" identifier -> field_identifier)) + identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)s->w + 0xc)" * (cast_expression "(undefined4 *)((int)s->w + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)s->w + 0xc)" ( (binary_expression "(int)s->w + 0xc" (cast_expression "(int)s->w" ( (type_descriptor "int" primitive_type) ) (field_expression "s->w" identifier -> field_identifier)) + number_literal) ))))) ;) (expression_statement "*(int *)((int)local_24->w + iVar5 + 0x10) = (int)s->w[2];" (assignment_expression "*(int *)((int)local_24->w + iVar5 + 0x10) = (int)s->w[2]" (pointer_expression "*(int *)((int)local_24->w + iVar5 + 0x10)" * (cast_expression "(int *)((int)local_24->w + iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24->w + iVar5 + 0x10)" ( (binary_expression "(int)local_24->w + iVar5 + 0x10" (binary_expression "(int)local_24->w + iVar5" (cast_expression "(int)local_24->w" ( (type_descriptor "int" primitive_type) ) (field_expression "local_24->w" identifier -> field_identifier)) + identifier) + number_literal) )))) = (cast_expression "(int)s->w[2]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "s->w[2]" (field_expression "s->w" identifier -> field_identifier) [ number_literal ]))) ;) (expression_statement "*(undefined4 *)((int)local_24->w + iVar5 + 0x14) = *(undefined4 *)((int)s->w + 0x14);" (assignment_expression "*(undefined4 *)((int)local_24->w + iVar5 + 0x14) = *(undefined4 *)((int)s->w + 0x14)" (pointer_expression "*(undefined4 *)((int)local_24->w + iVar5 + 0x14)" * (cast_expression "(undefined4 *)((int)local_24->w + iVar5 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24->w + iVar5 + 0x14)" ( (binary_expression "(int)local_24->w + iVar5 + 0x14" (binary_expression "(int)local_24->w + iVar5" (cast_expression "(int)local_24->w" ( (type_descriptor "int" primitive_type) ) (field_expression "local_24->w" identifier -> field_identifier)) + identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)s->w + 0x14)" * (cast_expression "(undefined4 *)((int)s->w + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)s->w + 0x14)" ( (binary_expression "(int)s->w + 0x14" (cast_expression "(int)s->w" ( (type_descriptor "int" primitive_type) ) (field_expression "s->w" identifier -> field_identifier)) + number_literal) ))))) ;) (expression_statement "*(int *)((int)local_24->w + iVar5 + 0x18) = (int)s->w[3];" (assignment_expression "*(int *)((int)local_24->w + iVar5 + 0x18) = (int)s->w[3]" (pointer_expression "*(int *)((int)local_24->w + iVar5 + 0x18)" * (cast_expression "(int *)((int)local_24->w + iVar5 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24->w + iVar5 + 0x18)" ( (binary_expression "(int)local_24->w + iVar5 + 0x18" (binary_expression "(int)local_24->w + iVar5" (cast_expression "(int)local_24->w" ( (type_descriptor "int" primitive_type) ) (field_expression "local_24->w" identifier -> field_identifier)) + identifier) + number_literal) )))) = (cast_expression "(int)s->w[3]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "s->w[3]" (field_expression "s->w" identifier -> field_identifier) [ number_literal ]))) ;) (expression_statement "*(undefined4 *)((int)local_24->w + iVar5 + 0x1c) = *(undefined4 *)((int)s->w + 0x1c);" (assignment_expression "*(undefined4 *)((int)local_24->w + iVar5 + 0x1c) = *(undefined4 *)((int)s->w + 0x1c)" (pointer_expression "*(undefined4 *)((int)local_24->w + iVar5 + 0x1c)" * (cast_expression "(undefined4 *)((int)local_24->w + iVar5 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_24->w + iVar5 + 0x1c)" ( (binary_expression "(int)local_24->w + iVar5 + 0x1c" (binary_expression "(int)local_24->w + iVar5" (cast_expression "(int)local_24->w" ( (type_descriptor "int" primitive_type) ) (field_expression "local_24->w" identifier -> field_identifier)) + identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)s->w + 0x1c)" * (cast_expression "(undefined4 *)((int)s->w + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)s->w + 0x1c)" ( (binary_expression "(int)s->w + 0x1c" (cast_expression "(int)s->w" ( (type_descriptor "int" primitive_type) ) (field_expression "s->w" identifier -> field_identifier)) + number_literal) ))))) ;) (return_statement "return local_2c;" return identifier ;) })))
(translation_unit "int __regparm3 FUN_00072350(int *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  local_28 = param_1[1];\n  local_24 = *param_1;\n  if (local_28 < 1) {\n    iVar6 = 0;\n    local_2c = 0;\n  }\n  else {\n    local_2c = 0;\n    iVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);\n    iVar6 = local_2c * 0x20;\n  }\n  if (param_1[2] <= local_28) {\n    local_24 = FUN_00071f40(0x7ffffeeb,0x20);\n    local_28 = param_1[1];\n  }\n  *param_1 = local_24;\n  param_1[1] = local_28 + 1;\n  *(undefined4 *)(local_24 + iVar6) = *param_2;\n  *(undefined4 *)(local_24 + 4 + iVar6) = param_2[1];\n  *(undefined4 *)(local_24 + 8 + iVar6) = param_2[2];\n  *(undefined4 *)(local_24 + 0xc + iVar6) = param_2[3];\n  *(undefined4 *)(local_24 + 0x10 + iVar6) = param_2[4];\n  *(undefined4 *)(local_24 + 0x14 + iVar6) = param_2[5];\n  *(undefined4 *)(local_24 + 0x18 + iVar6) = param_2[6];\n  *(undefined4 *)(local_24 + 0x1c + iVar6) = param_2[7];\n  return local_2c;\n}\n\n" (function_definition "int __regparm3 FUN_00072350(int *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  local_28 = param_1[1];\n  local_24 = *param_1;\n  if (local_28 < 1) {\n    iVar6 = 0;\n    local_2c = 0;\n  }\n  else {\n    local_2c = 0;\n    iVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);\n    iVar6 = local_2c * 0x20;\n  }\n  if (param_1[2] <= local_28) {\n    local_24 = FUN_00071f40(0x7ffffeeb,0x20);\n    local_28 = param_1[1];\n  }\n  *param_1 = local_24;\n  param_1[1] = local_28 + 1;\n  *(undefined4 *)(local_24 + iVar6) = *param_2;\n  *(undefined4 *)(local_24 + 4 + iVar6) = param_2[1];\n  *(undefined4 *)(local_24 + 8 + iVar6) = param_2[2];\n  *(undefined4 *)(local_24 + 0xc + iVar6) = param_2[3];\n  *(undefined4 *)(local_24 + 0x10 + iVar6) = param_2[4];\n  *(undefined4 *)(local_24 + 0x14 + iVar6) = param_2[5];\n  *(undefined4 *)(local_24 + 0x18 + iVar6) = param_2[6];\n  *(undefined4 *)(local_24 + 0x1c + iVar6) = param_2[7];\n  return local_2c;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00072350(int *param_1,undefined4 *param_2)" identifier (parameter_list "(int *param_1,undefined4 *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  local_28 = param_1[1];\n  local_24 = *param_1;\n  if (local_28 < 1) {\n    iVar6 = 0;\n    local_2c = 0;\n  }\n  else {\n    local_2c = 0;\n    iVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);\n    iVar6 = local_2c * 0x20;\n  }\n  if (param_1[2] <= local_28) {\n    local_24 = FUN_00071f40(0x7ffffeeb,0x20);\n    local_28 = param_1[1];\n  }\n  *param_1 = local_24;\n  param_1[1] = local_28 + 1;\n  *(undefined4 *)(local_24 + iVar6) = *param_2;\n  *(undefined4 *)(local_24 + 4 + iVar6) = param_2[1];\n  *(undefined4 *)(local_24 + 8 + iVar6) = param_2[2];\n  *(undefined4 *)(local_24 + 0xc + iVar6) = param_2[3];\n  *(undefined4 *)(local_24 + 0x10 + iVar6) = param_2[4];\n  *(undefined4 *)(local_24 + 0x14 + iVar6) = param_2[5];\n  *(undefined4 *)(local_24 + 0x18 + iVar6) = param_2[6];\n  *(undefined4 *)(local_24 + 0x1c + iVar6) = param_2[7];\n  return local_2c;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "local_28 = param_1[1];" (assignment_expression "local_28 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "local_24 = *param_1;" (assignment_expression "local_24 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (local_28 < 1) {\n    iVar6 = 0;\n    local_2c = 0;\n  }\n  else {\n    local_2c = 0;\n    iVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);\n    iVar6 = local_2c * 0x20;\n  }" if (parenthesized_expression "(local_28 < 1)" ( (binary_expression "local_28 < 1" identifier < number_literal) )) (compound_statement "{\n    iVar6 = 0;\n    local_2c = 0;\n  }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) }) (else_clause "else {\n    local_2c = 0;\n    iVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);\n    iVar6 = local_2c * 0x20;\n  }" else (compound_statement "{\n    local_2c = 0;\n    iVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);\n    iVar6 = local_2c * 0x20;\n  }" { (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "iVar6 = local_24;" (assignment_expression "iVar6 = local_24" identifier = identifier) ;) (do_statement "do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);" do (compound_statement "{\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);" do (compound_statement "{\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      }" { (expression_statement "iVar3 = iVar5 * 2;" (assignment_expression "iVar3 = iVar5 * 2" identifier = (binary_expression "iVar5 * 2" identifier * number_literal)) ;) (expression_statement "iVar4 = iVar5 * 2;" (assignment_expression "iVar4 = iVar5 * 2" identifier = (binary_expression "iVar5 * 2" identifier * number_literal)) ;) (expression_statement "iVar2 = iVar5 * 8;" (assignment_expression "iVar2 = iVar5 * 8" identifier = (binary_expression "iVar5 * 8" identifier * number_literal)) ;) (expression_statement "iVar1 = iVar5 * 8;" (assignment_expression "iVar1 = iVar5 * 8" identifier = (binary_expression "iVar5 * 8" identifier * number_literal)) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);" (assignment_expression "uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2)" identifier = (binary_expression "uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2)" identifier | (binary_expression "param_2[iVar3] ^ *(uint *)(iVar6 + iVar2)" (subscript_expression "param_2[iVar3]" identifier [ identifier ]) ^ (pointer_expression "*(uint *)(iVar6 + iVar2)" * (cast_expression "(uint *)(iVar6 + iVar2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar2)" ( (binary_expression "iVar6 + iVar2" identifier + identifier) ))))))) ;) (expression_statement "uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);" (assignment_expression "uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1)" identifier = (binary_expression "uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1)" identifier | (binary_expression "param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1)" (subscript_expression "param_2[iVar4 + 1]" identifier [ (binary_expression "iVar4 + 1" identifier + number_literal) ]) ^ (pointer_expression "*(uint *)(iVar6 + 4 + iVar1)" * (cast_expression "(uint *)(iVar6 + 4 + iVar1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4 + iVar1)" ( (binary_expression "iVar6 + 4 + iVar1" (binary_expression "iVar6 + 4" identifier + number_literal) + identifier) ))))))) ;) }) while (parenthesized_expression "(iVar5 != 4)" ( (binary_expression "iVar5 != 4" identifier != number_literal) )) ;) (if_statement "if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }" if (parenthesized_expression "(uVar8 == 0 && uVar7 == 0)" ( (binary_expression "uVar8 == 0 && uVar7 == 0" (binary_expression "uVar8 == 0" identifier == number_literal) && (binary_expression "uVar7 == 0" identifier == number_literal)) )) (compound_statement "{\n        return local_2c;\n      }" { (return_statement "return local_2c;" return identifier ;) })) (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar6 + 0x20;" (assignment_expression "iVar6 = iVar6 + 0x20" identifier = (binary_expression "iVar6 + 0x20" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_2c != local_28)" ( (binary_expression "local_2c != local_28" identifier != identifier) )) ;) (expression_statement "iVar6 = local_2c * 0x20;" (assignment_expression "iVar6 = local_2c * 0x20" identifier = (binary_expression "local_2c * 0x20" identifier * number_literal)) ;) }))) (if_statement "if (param_1[2] <= local_28) {\n    local_24 = FUN_00071f40(0x7ffffeeb,0x20);\n    local_28 = param_1[1];\n  }" if (parenthesized_expression "(param_1[2] <= local_28)" ( (binary_expression "param_1[2] <= local_28" (subscript_expression "param_1[2]" identifier [ number_literal ]) <= identifier) )) (compound_statement "{\n    local_24 = FUN_00071f40(0x7ffffeeb,0x20);\n    local_28 = param_1[1];\n  }" { (expression_statement "local_24 = FUN_00071f40(0x7ffffeeb,0x20);" (assignment_expression "local_24 = FUN_00071f40(0x7ffffeeb,0x20)" identifier = (call_expression "FUN_00071f40(0x7ffffeeb,0x20)" identifier (argument_list "(0x7ffffeeb,0x20)" ( number_literal , number_literal )))) ;) (expression_statement "local_28 = param_1[1];" (assignment_expression "local_28 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) })) (expression_statement "*param_1 = local_24;" (assignment_expression "*param_1 = local_24" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_28 + 1;" (assignment_expression "param_1[1] = local_28 + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "local_28 + 1" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(local_24 + iVar6) = *param_2;" (assignment_expression "*(undefined4 *)(local_24 + iVar6) = *param_2" (pointer_expression "*(undefined4 *)(local_24 + iVar6)" * (cast_expression "(undefined4 *)(local_24 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + iVar6)" ( (binary_expression "local_24 + iVar6" identifier + identifier) )))) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*(undefined4 *)(local_24 + 4 + iVar6) = param_2[1];" (assignment_expression "*(undefined4 *)(local_24 + 4 + iVar6) = param_2[1]" (pointer_expression "*(undefined4 *)(local_24 + 4 + iVar6)" * (cast_expression "(undefined4 *)(local_24 + 4 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 4 + iVar6)" ( (binary_expression "local_24 + 4 + iVar6" (binary_expression "local_24 + 4" identifier + number_literal) + identifier) )))) = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(local_24 + 8 + iVar6) = param_2[2];" (assignment_expression "*(undefined4 *)(local_24 + 8 + iVar6) = param_2[2]" (pointer_expression "*(undefined4 *)(local_24 + 8 + iVar6)" * (cast_expression "(undefined4 *)(local_24 + 8 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 8 + iVar6)" ( (binary_expression "local_24 + 8 + iVar6" (binary_expression "local_24 + 8" identifier + number_literal) + identifier) )))) = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(local_24 + 0xc + iVar6) = param_2[3];" (assignment_expression "*(undefined4 *)(local_24 + 0xc + iVar6) = param_2[3]" (pointer_expression "*(undefined4 *)(local_24 + 0xc + iVar6)" * (cast_expression "(undefined4 *)(local_24 + 0xc + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0xc + iVar6)" ( (binary_expression "local_24 + 0xc + iVar6" (binary_expression "local_24 + 0xc" identifier + number_literal) + identifier) )))) = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(local_24 + 0x10 + iVar6) = param_2[4];" (assignment_expression "*(undefined4 *)(local_24 + 0x10 + iVar6) = param_2[4]" (pointer_expression "*(undefined4 *)(local_24 + 0x10 + iVar6)" * (cast_expression "(undefined4 *)(local_24 + 0x10 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x10 + iVar6)" ( (binary_expression "local_24 + 0x10 + iVar6" (binary_expression "local_24 + 0x10" identifier + number_literal) + identifier) )))) = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(local_24 + 0x14 + iVar6) = param_2[5];" (assignment_expression "*(undefined4 *)(local_24 + 0x14 + iVar6) = param_2[5]" (pointer_expression "*(undefined4 *)(local_24 + 0x14 + iVar6)" * (cast_expression "(undefined4 *)(local_24 + 0x14 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x14 + iVar6)" ( (binary_expression "local_24 + 0x14 + iVar6" (binary_expression "local_24 + 0x14" identifier + number_literal) + identifier) )))) = (subscript_expression "param_2[5]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(local_24 + 0x18 + iVar6) = param_2[6];" (assignment_expression "*(undefined4 *)(local_24 + 0x18 + iVar6) = param_2[6]" (pointer_expression "*(undefined4 *)(local_24 + 0x18 + iVar6)" * (cast_expression "(undefined4 *)(local_24 + 0x18 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x18 + iVar6)" ( (binary_expression "local_24 + 0x18 + iVar6" (binary_expression "local_24 + 0x18" identifier + number_literal) + identifier) )))) = (subscript_expression "param_2[6]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(local_24 + 0x1c + iVar6) = param_2[7];" (assignment_expression "*(undefined4 *)(local_24 + 0x1c + iVar6) = param_2[7]" (pointer_expression "*(undefined4 *)(local_24 + 0x1c + iVar6)" * (cast_expression "(undefined4 *)(local_24 + 0x1c + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x1c + iVar6)" ( (binary_expression "local_24 + 0x1c + iVar6" (binary_expression "local_24 + 0x1c" identifier + number_literal) + identifier) )))) = (subscript_expression "param_2[7]" identifier [ number_literal ])) ;) (return_statement "return local_2c;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression (subscript_expression IDENT [ IDENT ]) ^ (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) ^ (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) ))))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (subscript_expression IDENT [ LIT ])) ;) (return_statement return IDENT ;) })))
(function_definition "int __regparm3 FUN_00072350(int *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  local_28 = param_1[1];\n  local_24 = *param_1;\n  if (local_28 < 1) {\n    iVar6 = 0;\n    local_2c = 0;\n  }\n  else {\n    local_2c = 0;\n    iVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);\n    iVar6 = local_2c * 0x20;\n  }\n  if (param_1[2] <= local_28) {\n    local_24 = FUN_00071f40(0x7ffffeeb,0x20);\n    local_28 = param_1[1];\n  }\n  *param_1 = local_24;\n  param_1[1] = local_28 + 1;\n  *(undefined4 *)(local_24 + iVar6) = *param_2;\n  *(undefined4 *)(local_24 + 4 + iVar6) = param_2[1];\n  *(undefined4 *)(local_24 + 8 + iVar6) = param_2[2];\n  *(undefined4 *)(local_24 + 0xc + iVar6) = param_2[3];\n  *(undefined4 *)(local_24 + 0x10 + iVar6) = param_2[4];\n  *(undefined4 *)(local_24 + 0x14 + iVar6) = param_2[5];\n  *(undefined4 *)(local_24 + 0x18 + iVar6) = param_2[6];\n  *(undefined4 *)(local_24 + 0x1c + iVar6) = param_2[7];\n  return local_2c;\n}" (primitive_type "int") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00072350(int *param_1,undefined4 *param_2)" (identifier "FUN_00072350") (parameter_list "(int *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  local_28 = param_1[1];\n  local_24 = *param_1;\n  if (local_28 < 1) {\n    iVar6 = 0;\n    local_2c = 0;\n  }\n  else {\n    local_2c = 0;\n    iVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);\n    iVar6 = local_2c * 0x20;\n  }\n  if (param_1[2] <= local_28) {\n    local_24 = FUN_00071f40(0x7ffffeeb,0x20);\n    local_28 = param_1[1];\n  }\n  *param_1 = local_24;\n  param_1[1] = local_28 + 1;\n  *(undefined4 *)(local_24 + iVar6) = *param_2;\n  *(undefined4 *)(local_24 + 4 + iVar6) = param_2[1];\n  *(undefined4 *)(local_24 + 8 + iVar6) = param_2[2];\n  *(undefined4 *)(local_24 + 0xc + iVar6) = param_2[3];\n  *(undefined4 *)(local_24 + 0x10 + iVar6) = param_2[4];\n  *(undefined4 *)(local_24 + 0x14 + iVar6) = param_2[5];\n  *(undefined4 *)(local_24 + 0x18 + iVar6) = param_2[6];\n  *(undefined4 *)(local_24 + 0x1c + iVar6) = param_2[7];\n  return local_2c;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (expression_statement "local_28 = param_1[1];" (assignment_expression "local_28 = param_1[1]" (identifier "local_28") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "local_24 = *param_1;" (assignment_expression "local_24 = *param_1" (identifier "local_24") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (local_28 < 1) {\n    iVar6 = 0;\n    local_2c = 0;\n  }\n  else {\n    local_2c = 0;\n    iVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);\n    iVar6 = local_2c * 0x20;\n  }" (if "if") (parenthesized_expression "(local_28 < 1)" (( "(") (binary_expression "local_28 < 1" (identifier "local_28") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    iVar6 = 0;\n    local_2c = 0;\n  }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    local_2c = 0;\n    iVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);\n    iVar6 = local_2c * 0x20;\n  }" (else "else") (compound_statement "{\n    local_2c = 0;\n    iVar6 = local_24;\n    do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);\n    iVar6 = local_2c * 0x20;\n  }" ({ "{") (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar6 = local_24;" (assignment_expression "iVar6 = local_24" (identifier "iVar6") (= "=") (identifier "local_24")) (; ";")) (do_statement "do {\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    } while (local_2c != local_28);" (do "do") (compound_statement "{\n      uVar7 = 0;\n      uVar8 = 0;\n      iVar5 = 0;\n      do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);\n      if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }\n      local_2c = local_2c + 1;\n      iVar6 = iVar6 + 0x20;\n    }" ({ "{") (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      } while (iVar5 != 4);" (do "do") (compound_statement "{\n        iVar3 = iVar5 * 2;\n        iVar4 = iVar5 * 2;\n        iVar2 = iVar5 * 8;\n        iVar1 = iVar5 * 8;\n        iVar5 = iVar5 + 1;\n        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);\n        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);\n      }" ({ "{") (expression_statement "iVar3 = iVar5 * 2;" (assignment_expression "iVar3 = iVar5 * 2" (identifier "iVar3") (= "=") (binary_expression "iVar5 * 2" (identifier "iVar5") (* "*") (number_literal "2"))) (; ";")) (expression_statement "iVar4 = iVar5 * 2;" (assignment_expression "iVar4 = iVar5 * 2" (identifier "iVar4") (= "=") (binary_expression "iVar5 * 2" (identifier "iVar5") (* "*") (number_literal "2"))) (; ";")) (expression_statement "iVar2 = iVar5 * 8;" (assignment_expression "iVar2 = iVar5 * 8" (identifier "iVar2") (= "=") (binary_expression "iVar5 * 8" (identifier "iVar5") (* "*") (number_literal "8"))) (; ";")) (expression_statement "iVar1 = iVar5 * 8;" (assignment_expression "iVar1 = iVar5 * 8" (identifier "iVar1") (= "=") (binary_expression "iVar5 * 8" (identifier "iVar5") (* "*") (number_literal "8"))) (; ";")) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);" (assignment_expression "uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2)" (identifier "uVar7") (= "=") (binary_expression "uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2)" (identifier "uVar7") (| "|") (binary_expression "param_2[iVar3] ^ *(uint *)(iVar6 + iVar2)" (subscript_expression "param_2[iVar3]" (identifier "param_2") ([ "[") (identifier "iVar3") (] "]")) (^ "^") (pointer_expression "*(uint *)(iVar6 + iVar2)" (* "*") (cast_expression "(uint *)(iVar6 + iVar2)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + iVar2)" (( "(") (binary_expression "iVar6 + iVar2" (identifier "iVar6") (+ "+") (identifier "iVar2")) () ")"))))))) (; ";")) (expression_statement "uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);" (assignment_expression "uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1)" (identifier "uVar8") (= "=") (binary_expression "uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1)" (identifier "uVar8") (| "|") (binary_expression "param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1)" (subscript_expression "param_2[iVar4 + 1]" (identifier "param_2") ([ "[") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1")) (] "]")) (^ "^") (pointer_expression "*(uint *)(iVar6 + 4 + iVar1)" (* "*") (cast_expression "(uint *)(iVar6 + 4 + iVar1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 4 + iVar1)" (( "(") (binary_expression "iVar6 + 4 + iVar1" (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4")) (+ "+") (identifier "iVar1")) () ")"))))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 != 4)" (( "(") (binary_expression "iVar5 != 4" (identifier "iVar5") (!= "!=") (number_literal "4")) () ")")) (; ";")) (if_statement "if (uVar8 == 0 && uVar7 == 0) {\n        return local_2c;\n      }" (if "if") (parenthesized_expression "(uVar8 == 0 && uVar7 == 0)" (( "(") (binary_expression "uVar8 == 0 && uVar7 == 0" (binary_expression "uVar8 == 0" (identifier "uVar8") (== "==") (number_literal "0")) (&& "&&") (binary_expression "uVar7 == 0" (identifier "uVar7") (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n        return local_2c;\n      }" ({ "{") (return_statement "return local_2c;" (return "return") (identifier "local_2c") (; ";")) (} "}"))) (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" (identifier "local_2c") (= "=") (binary_expression "local_2c + 1" (identifier "local_2c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar6 = iVar6 + 0x20;" (assignment_expression "iVar6 = iVar6 + 0x20" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 0x20" (identifier "iVar6") (+ "+") (number_literal "0x20"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_2c != local_28)" (( "(") (binary_expression "local_2c != local_28" (identifier "local_2c") (!= "!=") (identifier "local_28")) () ")")) (; ";")) (expression_statement "iVar6 = local_2c * 0x20;" (assignment_expression "iVar6 = local_2c * 0x20" (identifier "iVar6") (= "=") (binary_expression "local_2c * 0x20" (identifier "local_2c") (* "*") (number_literal "0x20"))) (; ";")) (} "}")))) (if_statement "if (param_1[2] <= local_28) {\n    local_24 = FUN_00071f40(0x7ffffeeb,0x20);\n    local_28 = param_1[1];\n  }" (if "if") (parenthesized_expression "(param_1[2] <= local_28)" (( "(") (binary_expression "param_1[2] <= local_28" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (<= "<=") (identifier "local_28")) () ")")) (compound_statement "{\n    local_24 = FUN_00071f40(0x7ffffeeb,0x20);\n    local_28 = param_1[1];\n  }" ({ "{") (expression_statement "local_24 = FUN_00071f40(0x7ffffeeb,0x20);" (assignment_expression "local_24 = FUN_00071f40(0x7ffffeeb,0x20)" (identifier "local_24") (= "=") (call_expression "FUN_00071f40(0x7ffffeeb,0x20)" (identifier "FUN_00071f40") (argument_list "(0x7ffffeeb,0x20)" (( "(") (number_literal "0x7ffffeeb") (, ",") (number_literal "0x20") () ")")))) (; ";")) (expression_statement "local_28 = param_1[1];" (assignment_expression "local_28 = param_1[1]" (identifier "local_28") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}"))) (expression_statement "*param_1 = local_24;" (assignment_expression "*param_1 = local_24" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "local_24")) (; ";")) (expression_statement "param_1[1] = local_28 + 1;" (assignment_expression "param_1[1] = local_28 + 1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "local_28 + 1" (identifier "local_28") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(undefined4 *)(local_24 + iVar6) = *param_2;" (assignment_expression "*(undefined4 *)(local_24 + iVar6) = *param_2" (pointer_expression "*(undefined4 *)(local_24 + iVar6)" (* "*") (cast_expression "(undefined4 *)(local_24 + iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + iVar6)" (( "(") (binary_expression "local_24 + iVar6" (identifier "local_24") (+ "+") (identifier "iVar6")) () ")")))) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*(undefined4 *)(local_24 + 4 + iVar6) = param_2[1];" (assignment_expression "*(undefined4 *)(local_24 + 4 + iVar6) = param_2[1]" (pointer_expression "*(undefined4 *)(local_24 + 4 + iVar6)" (* "*") (cast_expression "(undefined4 *)(local_24 + 4 + iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + 4 + iVar6)" (( "(") (binary_expression "local_24 + 4 + iVar6" (binary_expression "local_24 + 4" (identifier "local_24") (+ "+") (number_literal "4")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(local_24 + 8 + iVar6) = param_2[2];" (assignment_expression "*(undefined4 *)(local_24 + 8 + iVar6) = param_2[2]" (pointer_expression "*(undefined4 *)(local_24 + 8 + iVar6)" (* "*") (cast_expression "(undefined4 *)(local_24 + 8 + iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + 8 + iVar6)" (( "(") (binary_expression "local_24 + 8 + iVar6" (binary_expression "local_24 + 8" (identifier "local_24") (+ "+") (number_literal "8")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(local_24 + 0xc + iVar6) = param_2[3];" (assignment_expression "*(undefined4 *)(local_24 + 0xc + iVar6) = param_2[3]" (pointer_expression "*(undefined4 *)(local_24 + 0xc + iVar6)" (* "*") (cast_expression "(undefined4 *)(local_24 + 0xc + iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + 0xc + iVar6)" (( "(") (binary_expression "local_24 + 0xc + iVar6" (binary_expression "local_24 + 0xc" (identifier "local_24") (+ "+") (number_literal "0xc")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(local_24 + 0x10 + iVar6) = param_2[4];" (assignment_expression "*(undefined4 *)(local_24 + 0x10 + iVar6) = param_2[4]" (pointer_expression "*(undefined4 *)(local_24 + 0x10 + iVar6)" (* "*") (cast_expression "(undefined4 *)(local_24 + 0x10 + iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + 0x10 + iVar6)" (( "(") (binary_expression "local_24 + 0x10 + iVar6" (binary_expression "local_24 + 0x10" (identifier "local_24") (+ "+") (number_literal "0x10")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(local_24 + 0x14 + iVar6) = param_2[5];" (assignment_expression "*(undefined4 *)(local_24 + 0x14 + iVar6) = param_2[5]" (pointer_expression "*(undefined4 *)(local_24 + 0x14 + iVar6)" (* "*") (cast_expression "(undefined4 *)(local_24 + 0x14 + iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + 0x14 + iVar6)" (( "(") (binary_expression "local_24 + 0x14 + iVar6" (binary_expression "local_24 + 0x14" (identifier "local_24") (+ "+") (number_literal "0x14")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(local_24 + 0x18 + iVar6) = param_2[6];" (assignment_expression "*(undefined4 *)(local_24 + 0x18 + iVar6) = param_2[6]" (pointer_expression "*(undefined4 *)(local_24 + 0x18 + iVar6)" (* "*") (cast_expression "(undefined4 *)(local_24 + 0x18 + iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + 0x18 + iVar6)" (( "(") (binary_expression "local_24 + 0x18 + iVar6" (binary_expression "local_24 + 0x18" (identifier "local_24") (+ "+") (number_literal "0x18")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(local_24 + 0x1c + iVar6) = param_2[7];" (assignment_expression "*(undefined4 *)(local_24 + 0x1c + iVar6) = param_2[7]" (pointer_expression "*(undefined4 *)(local_24 + 0x1c + iVar6)" (* "*") (cast_expression "(undefined4 *)(local_24 + 0x1c + iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + 0x1c + iVar6)" (( "(") (binary_expression "local_24 + 0x1c + iVar6" (binary_expression "local_24 + 0x1c" (identifier "local_24") (+ "+") (number_literal "0x1c")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]"))) (; ";")) (return_statement "return local_2c;" (return "return") (identifier "local_2c") (; ";")) (} "}")))

type_1 __regparm3 function_1(type_2 *d,type_3 *s)

{
  type_4 *var_4;
  int var_7;
  int var_8;
  type_4 *var_5;
  int var_2;
  type_3 *var_10;
  type_5 var_3;
  type_5 var_6;
  ptrdiff_t in_stack_ffffffcc;
  type_1 in_stack_ffffffd0;
  int var_9;
  int var_1;
  type_3 *local_24;
  
  var_1 = d->cindex;
  local_24 = d->charclasses;
  if (var_1 < 1) {
    var_2 = 0;
    var_9 = 0;
  }
  else {
    var_9 = 0;
    var_10 = local_24;
    do {
      var_3 = 0;
      var_6 = 0;
      var_2 = 0;
      do {
        var_4 = s->w + var_2;
        var_7 = var_2 * 8;
        var_5 = var_10->w + var_2;
        var_8 = var_2 * 8;
        var_2 = var_2 + 1;
        var_3 = var_3 | (type_5)*var_4 ^ (type_5)*var_5;
        var_6 = var_6 | *(type_5 *)((int)s->w + var_7 + 4) ^ *(type_5 *)((int)var_10->w + var_8 + 4);
      } while (var_2 != 4);
      if (var_6 == 0 && var_3 == 0) {
        return var_9;
      }
      var_9 = var_9 + 1;
      var_10 = var_10 + 1;
    } while (var_9 != var_1);
    var_2 = var_9 * 0x20;
  }
  if (d->calloc <= var_1) {
    local_24 = (type_3 *)
               var_11(local_24,(type_1 *)0x7ffffeeb,0x20,in_stack_ffffffcc,in_stack_ffffffd0);
    var_1 = d->cindex;
  }
  d->charclasses = local_24;
  d->cindex = var_1 + 1;
  *(int *)((int)local_24->w + var_2) = (int)s->w[0];
  *(type_6 *)((int)local_24->w + var_2 + 4) = *(type_6 *)((int)s->w + 4);
  *(int *)((int)local_24->w + var_2 + 8) = (int)s->w[1];
  *(type_6 *)((int)local_24->w + var_2 + 0xc) = *(type_6 *)((int)s->w + 0xc);
  *(int *)((int)local_24->w + var_2 + 0x10) = (int)s->w[2];
  *(type_6 *)((int)local_24->w + var_2 + 0x14) = *(type_6 *)((int)s->w + 0x14);
  *(int *)((int)local_24->w + var_2 + 0x18) = (int)s->w[3];
  *(type_6 *)((int)local_24->w + var_2 + 0x1c) = *(type_6 *)((int)s->w + 0x1c);
  return var_9;
}


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

int __regparm3 MASKED(int *param_1,undefined4 *param_2)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  uint uVar7;
  uint uVar8;
  int local_2c;
  int local_28;
  int local_24;
  
  local_28 = param_1[1];
  local_24 = *param_1;
  if (local_28 < 1) {
    iVar6 = 0;
    local_2c = 0;
  }
  else {
    local_2c = 0;
    iVar6 = local_24;
    do {
      uVar7 = 0;
      uVar8 = 0;
      iVar5 = 0;
      do {
        iVar3 = iVar5 * 2;
        iVar4 = iVar5 * 2;
        iVar2 = iVar5 * 8;
        iVar1 = iVar5 * 8;
        iVar5 = iVar5 + 1;
        uVar7 = uVar7 | param_2[iVar3] ^ *(uint *)(iVar6 + iVar2);
        uVar8 = uVar8 | param_2[iVar4 + 1] ^ *(uint *)(iVar6 + 4 + iVar1);
      } while (iVar5 != 4);
      if (uVar8 == 0 && uVar7 == 0) {
        return local_2c;
      }
      local_2c = local_2c + 1;
      iVar6 = iVar6 + 0x20;
    } while (local_2c != local_28);
    iVar6 = local_2c * 0x20;
  }
  if (param_1[2] <= local_28) {
    local_24 = FUN_00071f40(0x7ffffeeb,0x20);
    local_28 = param_1[1];
  }
  *param_1 = local_24;
  param_1[1] = local_28 + 1;
  *(undefined4 *)(local_24 + iVar6) = *param_2;
  *(undefined4 *)(local_24 + 4 + iVar6) = param_2[1];
  *(undefined4 *)(local_24 + 8 + iVar6) = param_2[2];
  *(undefined4 *)(local_24 + 0xc + iVar6) = param_2[3];
  *(undefined4 *)(local_24 + 0x10 + iVar6) = param_2[4];
  *(undefined4 *)(local_24 + 0x14 + iVar6) = param_2[5];
  *(undefined4 *)(local_24 + 0x18 + iVar6) = param_2[6];
  *(undefined4 *)(local_24 + 0x1c + iVar6) = param_2[7];
  return local_2c;
}

