
/* DWARF original prototype: hash_entry * hash_lookup(hash_control * table, char * key, size_t len,
   hash_entry * * * plist, ulong * phash, hash_control * table) */

hash_entry *
hash_lookup(hash_control *table,char *key,size_t len,hash_entry ***plist,ulong *phash,
           hash_control *table_1)

{
  hash_entry **pphVar1;
  char cVar2;
  int iVar3;
  ulong uVar4;
  hash_entry *phVar5;
  hash_entry *phVar6;
  hash_entry **pphVar7;
  char *pcVar8;
  hash_entry *phVar9;
  
  if (plist == (hash_entry ***)0x0) {
    uVar4 = 0;
  }
  else {
    uVar4 = 0;
    pcVar8 = (char *)len;
    do {
      cVar2 = *pcVar8;
      pcVar8 = pcVar8 + 1;
      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);
      uVar4 = uVar4 ^ uVar4 >> 2;
    } while ((char *)((long)plist + len) != pcVar8);
  }
  uVar4 = (long)plist * 0x20001 + uVar4;
  pphVar7 = (hash_entry **)(uVar4 ^ uVar4 >> 2);
  if (table_1 != (hash_control *)0x0) {
    table_1->table = pphVar7;
  }
  pphVar1 = table->table + (ulong)pphVar7 % (ulong)*(uint *)key;
  if (phash != (ulong *)0x0) {
    *phash = (ulong)pphVar1;
  }
  if (*pphVar1 == (hash_entry *)0x0) {
    phVar5 = (hash_entry *)0x0;
  }
  else {
    phVar5 = *pphVar1;
    phVar9 = (hash_entry *)0x0;
    do {
      phVar6 = phVar5;
      if (pphVar7 == (hash_entry **)phVar6->hash) {
        pcVar8 = phVar6->string;
        iVar3 = strncmp(pcVar8,(char *)len,(size_t)plist);
        if ((iVar3 == 0) && (pcVar8[(long)plist] == '\0')) {
          if (phVar9 == (hash_entry *)0x0) {
            return phVar6;
          }
          phVar9->next = phVar6->next;
          phVar6->next = *pphVar1;
          *pphVar1 = phVar6;
          return phVar6;
        }
      }
      phVar5 = phVar6->next;
      phVar9 = phVar6;
    } while (phVar5 != (hash_entry *)0x0);
  }
  return phVar5;
}



long * FUN_0011fe60(long *param_1,uint *param_2,char *param_3,size_t param_4,long *param_5,
                   ulong *param_6)

{
  long *plVar1;
  char cVar2;
  int iVar3;
  ulong uVar4;
  long *plVar5;
  long *plVar6;
  char *pcVar7;
  long *plVar8;
  
  if (param_4 == 0) {
    uVar4 = 0;
  }
  else {
    uVar4 = 0;
    pcVar7 = param_3;
    do {
      cVar2 = *pcVar7;
      pcVar7 = pcVar7 + 1;
      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);
      uVar4 = uVar4 ^ uVar4 >> 2;
    } while (param_3 + param_4 != pcVar7);
  }
  uVar4 = param_4 * 0x20001 + uVar4;
  uVar4 = uVar4 ^ uVar4 >> 2;
  if (param_6 != (ulong *)0x0) {
    *param_6 = uVar4;
  }
  plVar1 = (long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8);
  if (param_5 != (long *)0x0) {
    *param_5 = (long)plVar1;
  }
  if ((long *)*plVar1 == (long *)0x0) {
    plVar5 = (long *)0x0;
  }
  else {
    plVar5 = (long *)*plVar1;
    plVar8 = (long *)0x0;
    do {
      plVar6 = plVar5;
      if (uVar4 == plVar6[2]) {
        pcVar7 = (char *)plVar6[1];
        iVar3 = strncmp(pcVar7,param_3,param_4);
        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {
          if (plVar8 == (long *)0x0) {
            return plVar6;
          }
          *plVar8 = *plVar6;
          *plVar6 = *plVar1;
          *plVar1 = (long)plVar6;
          return plVar6;
        }
      }
      plVar5 = (long *)*plVar6;
      plVar8 = plVar6;
    } while (plVar5 != (long *)0x0);
  }
  return plVar5;
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
MOV R12,RDX
PUSH RBP
PUSH RBX
SUB RSP,0x18
TEST RCX,RCX
JZ 0x0011ff5d
MOV R10,RDX
LEA RBX,[RCX + RDX*0x1]
XOR EAX,EAX
NOP dword ptr [RAX + RAX*0x1]
MOVSX R11D,byte ptr [R10]
ADD R10,0x1
MOV EDX,R11D
SHL EDX,0x11
ADD EDX,R11D
ADD RAX,RDX
MOV R11,RAX
SHR R11,0x2
XOR RAX,R11
CMP RBX,R10
JNZ 0x0011fe88
MOV RBP,RCX
SHL RBP,0x11
ADD RBP,RCX
ADD RBP,RAX
MOV RAX,RBP
SHR RAX,0x2
XOR RBP,RAX
TEST R9,R9
JZ 0x0011feca
MOV qword ptr [R9],RBP
MOV ESI,dword ptr [RSI]
MOV RAX,RBP
XOR EDX,EDX
DIV RSI
MOV RAX,qword ptr [RDI]
LEA RAX,[RAX + RDX*0x8]
MOV qword ptr [RSP + 0x8],RAX
TEST R8,R8
JZ 0x0011fee8
MOV qword ptr [R8],RAX
MOV RAX,qword ptr [RSP + 0x8]
MOV RBX,qword ptr [RAX]
TEST RBX,RBX
JZ 0x0011ff64
MOV R14,RCX
XOR R15D,R15D
JMP 0x0011ff0e
MOV RAX,qword ptr [RBX]
MOV R15,RBX
TEST RAX,RAX
JZ 0x0011ff4e
MOV RBX,RAX
CMP RBP,qword ptr [RBX + 0x10]
JNZ 0x0011ff00
MOV R13,qword ptr [RBX + 0x8]
MOV RDX,R14
MOV RSI,R12
MOV RDI,R13
CALL 0x001110d0
TEST EAX,EAX
JNZ 0x0011ff00
CMP byte ptr [R13 + R14*0x1],0x0
JNZ 0x0011ff00
MOV RAX,RBX
TEST R15,R15
JZ 0x0011ff4e
MOV RDX,qword ptr [RBX]
MOV RCX,qword ptr [RSP + 0x8]
MOV qword ptr [R15],RDX
MOV RDX,qword ptr [RCX]
MOV qword ptr [RBX],RDX
MOV qword ptr [RCX],RBX
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
XOR EAX,EAX
JMP 0x0011feab
XOR EAX,EAX
JMP 0x0011ff4e
(translation_unit "long * FUN_0011fe60(long *param_1,uint *param_2,char *param_3,size_t param_4,long *param_5,\n                   ulong *param_6)\n\n{\n  long *plVar1;\n  char cVar2;\n  int iVar3;\n  ulong uVar4;\n  long *plVar5;\n  long *plVar6;\n  char *pcVar7;\n  long *plVar8;\n  \n  if (param_4 == 0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    pcVar7 = param_3;\n    do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);\n  }\n  uVar4 = param_4 * 0x20001 + uVar4;\n  uVar4 = uVar4 ^ uVar4 >> 2;\n  if (param_6 != (ulong *)0x0) {\n    *param_6 = uVar4;\n  }\n  plVar1 = (long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8);\n  if (param_5 != (long *)0x0) {\n    *param_5 = (long)plVar1;\n  }\n  if ((long *)*plVar1 == (long *)0x0) {\n    plVar5 = (long *)0x0;\n  }\n  else {\n    plVar5 = (long *)*plVar1;\n    plVar8 = (long *)0x0;\n    do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);\n  }\n  return plVar5;\n}\n\n" (function_definition "long * FUN_0011fe60(long *param_1,uint *param_2,char *param_3,size_t param_4,long *param_5,\n                   ulong *param_6)\n\n{\n  long *plVar1;\n  char cVar2;\n  int iVar3;\n  ulong uVar4;\n  long *plVar5;\n  long *plVar6;\n  char *pcVar7;\n  long *plVar8;\n  \n  if (param_4 == 0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    pcVar7 = param_3;\n    do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);\n  }\n  uVar4 = param_4 * 0x20001 + uVar4;\n  uVar4 = uVar4 ^ uVar4 >> 2;\n  if (param_6 != (ulong *)0x0) {\n    *param_6 = uVar4;\n  }\n  plVar1 = (long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8);\n  if (param_5 != (long *)0x0) {\n    *param_5 = (long)plVar1;\n  }\n  if ((long *)*plVar1 == (long *)0x0) {\n    plVar5 = (long *)0x0;\n  }\n  else {\n    plVar5 = (long *)*plVar1;\n    plVar8 = (long *)0x0;\n    do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);\n  }\n  return plVar5;\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_0011fe60(long *param_1,uint *param_2,char *param_3,size_t param_4,long *param_5,\n                   ulong *param_6)" * (function_declarator "FUN_0011fe60(long *param_1,uint *param_2,char *param_3,size_t param_4,long *param_5,\n                   ulong *param_6)" identifier (parameter_list "(long *param_1,uint *param_2,char *param_3,size_t param_4,long *param_5,\n                   ulong *param_6)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "size_t param_4" primitive_type identifier) , (parameter_declaration "long *param_5" (sized_type_specifier "long" long) (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "ulong *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) )))) (compound_statement "{\n  long *plVar1;\n  char cVar2;\n  int iVar3;\n  ulong uVar4;\n  long *plVar5;\n  long *plVar6;\n  char *pcVar7;\n  long *plVar8;\n  \n  if (param_4 == 0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    pcVar7 = param_3;\n    do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);\n  }\n  uVar4 = param_4 * 0x20001 + uVar4;\n  uVar4 = uVar4 ^ uVar4 >> 2;\n  if (param_6 != (ulong *)0x0) {\n    *param_6 = uVar4;\n  }\n  plVar1 = (long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8);\n  if (param_5 != (long *)0x0) {\n    *param_5 = (long)plVar1;\n  }\n  if ((long *)*plVar1 == (long *)0x0) {\n    plVar5 = (long *)0x0;\n  }\n  else {\n    plVar5 = (long *)*plVar1;\n    plVar8 = (long *)0x0;\n    do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);\n  }\n  return plVar5;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "long *plVar5;" (sized_type_specifier "long" long) (pointer_declarator "*plVar5" * identifier) ;) (declaration "long *plVar6;" (sized_type_specifier "long" long) (pointer_declarator "*plVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "long *plVar8;" (sized_type_specifier "long" long) (pointer_declarator "*plVar8" * identifier) ;) (if_statement "if (param_4 == 0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    pcVar7 = param_3;\n    do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar4 = 0;\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar4 = 0;\n    pcVar7 = param_3;\n    do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);\n  }" else (compound_statement "{\n    uVar4 = 0;\n    pcVar7 = param_3;\n    do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "pcVar7 = param_3;" (assignment_expression "pcVar7 = param_3" identifier = identifier) ;) (do_statement "do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);" do (compound_statement "{\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    }" { (expression_statement "cVar2 = *pcVar7;" (assignment_expression "cVar2 = *pcVar7" identifier = (pointer_expression "*pcVar7" * identifier)) ;) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar4 + (uint)(cVar2 * 0x20001);" (assignment_expression "uVar4 = uVar4 + (uint)(cVar2 * 0x20001)" identifier = (binary_expression "uVar4 + (uint)(cVar2 * 0x20001)" identifier + (call_expression "(uint)(cVar2 * 0x20001)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(cVar2 * 0x20001)" ( (binary_expression "cVar2 * 0x20001" identifier * number_literal) ))))) ;) (expression_statement "uVar4 = uVar4 ^ uVar4 >> 2;" (assignment_expression "uVar4 = uVar4 ^ uVar4 >> 2" identifier = (binary_expression "uVar4 ^ uVar4 >> 2" identifier ^ (binary_expression "uVar4 >> 2" identifier >> number_literal))) ;) }) while (parenthesized_expression "(param_3 + param_4 != pcVar7)" ( (binary_expression "param_3 + param_4 != pcVar7" (binary_expression "param_3 + param_4" identifier + identifier) != identifier) )) ;) }))) (expression_statement "uVar4 = param_4 * 0x20001 + uVar4;" (assignment_expression "uVar4 = param_4 * 0x20001 + uVar4" identifier = (binary_expression "param_4 * 0x20001 + uVar4" (binary_expression "param_4 * 0x20001" identifier * number_literal) + identifier)) ;) (expression_statement "uVar4 = uVar4 ^ uVar4 >> 2;" (assignment_expression "uVar4 = uVar4 ^ uVar4 >> 2" identifier = (binary_expression "uVar4 ^ uVar4 >> 2" identifier ^ (binary_expression "uVar4 >> 2" identifier >> number_literal))) ;) (if_statement "if (param_6 != (ulong *)0x0) {\n    *param_6 = uVar4;\n  }" if (parenthesized_expression "(param_6 != (ulong *)0x0)" ( (binary_expression "param_6 != (ulong *)0x0" identifier != (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_6 = uVar4;\n  }" { (expression_statement "*param_6 = uVar4;" (assignment_expression "*param_6 = uVar4" (pointer_expression "*param_6" * identifier) = identifier) ;) })) (expression_statement "plVar1 = (long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8);" (assignment_expression "plVar1 = (long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8)" identifier = (cast_expression "(long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + (uVar4 % (ulong)*param_2) * 8)" ( (binary_expression "*param_1 + (uVar4 % (ulong)*param_2) * 8" (pointer_expression "*param_1" * identifier) + (binary_expression "(uVar4 % (ulong)*param_2) * 8" (parenthesized_expression "(uVar4 % (ulong)*param_2)" ( (binary_expression "uVar4 % (ulong)*param_2" (binary_expression "uVar4 % (ulong)" identifier % (parenthesized_expression "(ulong)" ( identifier ))) * identifier) )) * number_literal)) )))) ;) (if_statement "if (param_5 != (long *)0x0) {\n    *param_5 = (long)plVar1;\n  }" if (parenthesized_expression "(param_5 != (long *)0x0)" ( (binary_expression "param_5 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_5 = (long)plVar1;\n  }" { (expression_statement "*param_5 = (long)plVar1;" (assignment_expression "*param_5 = (long)plVar1" (pointer_expression "*param_5" * identifier) = (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) })) (if_statement "if ((long *)*plVar1 == (long *)0x0) {\n    plVar5 = (long *)0x0;\n  }\n  else {\n    plVar5 = (long *)*plVar1;\n    plVar8 = (long *)0x0;\n    do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);\n  }" if (parenthesized_expression "((long *)*plVar1 == (long *)0x0)" ( (binary_expression "(long *)*plVar1 == (long *)0x0" (cast_expression "(long *)*plVar1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar1" * identifier)) == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    plVar5 = (long *)0x0;\n  }" { (expression_statement "plVar5 = (long *)0x0;" (assignment_expression "plVar5 = (long *)0x0" identifier = (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    plVar5 = (long *)*plVar1;\n    plVar8 = (long *)0x0;\n    do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);\n  }" else (compound_statement "{\n    plVar5 = (long *)*plVar1;\n    plVar8 = (long *)0x0;\n    do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);\n  }" { (expression_statement "plVar5 = (long *)*plVar1;" (assignment_expression "plVar5 = (long *)*plVar1" identifier = (cast_expression "(long *)*plVar1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar1" * identifier))) ;) (expression_statement "plVar8 = (long *)0x0;" (assignment_expression "plVar8 = (long *)0x0" identifier = (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);" do (compound_statement "{\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    }" { (expression_statement "plVar6 = plVar5;" (assignment_expression "plVar6 = plVar5" identifier = identifier) ;) (if_statement "if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }" if (parenthesized_expression "(uVar4 == plVar6[2])" ( (binary_expression "uVar4 == plVar6[2]" identifier == (subscript_expression "plVar6[2]" identifier [ number_literal ])) )) (compound_statement "{\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }" { (expression_statement "pcVar7 = (char *)plVar6[1];" (assignment_expression "pcVar7 = (char *)plVar6[1]" identifier = (cast_expression "(char *)plVar6[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar6[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar3 = strncmp(pcVar7,param_3,param_4);" (assignment_expression "iVar3 = strncmp(pcVar7,param_3,param_4)" identifier = (call_expression "strncmp(pcVar7,param_3,param_4)" identifier (argument_list "(pcVar7,param_3,param_4)" ( identifier , identifier , identifier )))) ;) (if_statement "if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }" if (parenthesized_expression "((iVar3 == 0) && (pcVar7[param_4] == '\0'))" ( (binary_expression "(iVar3 == 0) && (pcVar7[param_4] == '\0')" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) && (parenthesized_expression "(pcVar7[param_4] == '\0')" ( (binary_expression "pcVar7[param_4] == '\0'" (subscript_expression "pcVar7[param_4]" identifier [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }" { (if_statement "if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }" if (parenthesized_expression "(plVar8 == (long *)0x0)" ( (binary_expression "plVar8 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            return plVar6;\n          }" { (return_statement "return plVar6;" return identifier ;) })) (expression_statement "*plVar8 = *plVar6;" (assignment_expression "*plVar8 = *plVar6" (pointer_expression "*plVar8" * identifier) = (pointer_expression "*plVar6" * identifier)) ;) (expression_statement "*plVar6 = *plVar1;" (assignment_expression "*plVar6 = *plVar1" (pointer_expression "*plVar6" * identifier) = (pointer_expression "*plVar1" * identifier)) ;) (expression_statement "*plVar1 = (long)plVar6;" (assignment_expression "*plVar1 = (long)plVar6" (pointer_expression "*plVar1" * identifier) = (cast_expression "(long)plVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (return_statement "return plVar6;" return identifier ;) })) })) (expression_statement "plVar5 = (long *)*plVar6;" (assignment_expression "plVar5 = (long *)*plVar6" identifier = (cast_expression "(long *)*plVar6" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar6" * identifier))) ;) (expression_statement "plVar8 = plVar6;" (assignment_expression "plVar8 = plVar6" identifier = identifier) ;) }) while (parenthesized_expression "(plVar5 != (long *)0x0)" ( (binary_expression "plVar5 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (return_statement "return plVar5;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: hash_entry * hash_lookup(hash_control * table, char * key, size_t len,\n   hash_entry * * * plist, ulong * phash, hash_control * table) */\n\nhash_entry *\nhash_lookup(hash_control *table,char *key,size_t len,hash_entry ***plist,ulong *phash,\n           hash_control *table_1)\n\n{\n  hash_entry **pphVar1;\n  char cVar2;\n  int iVar3;\n  ulong uVar4;\n  hash_entry *phVar5;\n  hash_entry *phVar6;\n  hash_entry **pphVar7;\n  char *pcVar8;\n  hash_entry *phVar9;\n  \n  if (plist == (hash_entry ***)0x0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    pcVar8 = (char *)len;\n    do {\n      cVar2 = *pcVar8;\n      pcVar8 = pcVar8 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while ((char *)((long)plist + len) != pcVar8);\n  }\n  uVar4 = (long)plist * 0x20001 + uVar4;\n  pphVar7 = (hash_entry **)(uVar4 ^ uVar4 >> 2);\n  if (table_1 != (hash_control *)0x0) {\n    table_1->table = pphVar7;\n  }\n  pphVar1 = table->table + (ulong)pphVar7 % (ulong)*(uint *)key;\n  if (phash != (ulong *)0x0) {\n    *phash = (ulong)pphVar1;\n  }\n  if (*pphVar1 == (hash_entry *)0x0) {\n    phVar5 = (hash_entry *)0x0;\n  }\n  else {\n    phVar5 = *pphVar1;\n    phVar9 = (hash_entry *)0x0;\n    do {\n      phVar6 = phVar5;\n      if (pphVar7 == (hash_entry **)phVar6->hash) {\n        pcVar8 = phVar6->string;\n        iVar3 = strncmp(pcVar8,(char *)len,(size_t)plist);\n        if ((iVar3 == 0) && (pcVar8[(long)plist] == '\0')) {\n          if (phVar9 == (hash_entry *)0x0) {\n            return phVar6;\n          }\n          phVar9->next = phVar6->next;\n          phVar6->next = *pphVar1;\n          *pphVar1 = phVar6;\n          return phVar6;\n        }\n      }\n      phVar5 = phVar6->next;\n      phVar9 = phVar6;\n    } while (phVar5 != (hash_entry *)0x0);\n  }\n  return phVar5;\n}\n\n" comment (function_definition "hash_entry *\nhash_lookup(hash_control *table,char *key,size_t len,hash_entry ***plist,ulong *phash,\n           hash_control *table_1)\n\n{\n  hash_entry **pphVar1;\n  char cVar2;\n  int iVar3;\n  ulong uVar4;\n  hash_entry *phVar5;\n  hash_entry *phVar6;\n  hash_entry **pphVar7;\n  char *pcVar8;\n  hash_entry *phVar9;\n  \n  if (plist == (hash_entry ***)0x0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    pcVar8 = (char *)len;\n    do {\n      cVar2 = *pcVar8;\n      pcVar8 = pcVar8 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while ((char *)((long)plist + len) != pcVar8);\n  }\n  uVar4 = (long)plist * 0x20001 + uVar4;\n  pphVar7 = (hash_entry **)(uVar4 ^ uVar4 >> 2);\n  if (table_1 != (hash_control *)0x0) {\n    table_1->table = pphVar7;\n  }\n  pphVar1 = table->table + (ulong)pphVar7 % (ulong)*(uint *)key;\n  if (phash != (ulong *)0x0) {\n    *phash = (ulong)pphVar1;\n  }\n  if (*pphVar1 == (hash_entry *)0x0) {\n    phVar5 = (hash_entry *)0x0;\n  }\n  else {\n    phVar5 = *pphVar1;\n    phVar9 = (hash_entry *)0x0;\n    do {\n      phVar6 = phVar5;\n      if (pphVar7 == (hash_entry **)phVar6->hash) {\n        pcVar8 = phVar6->string;\n        iVar3 = strncmp(pcVar8,(char *)len,(size_t)plist);\n        if ((iVar3 == 0) && (pcVar8[(long)plist] == '\0')) {\n          if (phVar9 == (hash_entry *)0x0) {\n            return phVar6;\n          }\n          phVar9->next = phVar6->next;\n          phVar6->next = *pphVar1;\n          *pphVar1 = phVar6;\n          return phVar6;\n        }\n      }\n      phVar5 = phVar6->next;\n      phVar9 = phVar6;\n    } while (phVar5 != (hash_entry *)0x0);\n  }\n  return phVar5;\n}" type_identifier (pointer_declarator "*\nhash_lookup(hash_control *table,char *key,size_t len,hash_entry ***plist,ulong *phash,\n           hash_control *table_1)" * (function_declarator "hash_lookup(hash_control *table,char *key,size_t len,hash_entry ***plist,ulong *phash,\n           hash_control *table_1)" identifier (parameter_list "(hash_control *table,char *key,size_t len,hash_entry ***plist,ulong *phash,\n           hash_control *table_1)" ( (parameter_declaration "hash_control *table" type_identifier (pointer_declarator "*table" * identifier)) , (parameter_declaration "char *key" primitive_type (pointer_declarator "*key" * identifier)) , (parameter_declaration "size_t len" primitive_type identifier) , (parameter_declaration "hash_entry ***plist" type_identifier (pointer_declarator "***plist" * (pointer_declarator "**plist" * (pointer_declarator "*plist" * identifier)))) , (parameter_declaration "ulong *phash" type_identifier (pointer_declarator "*phash" * identifier)) , (parameter_declaration "hash_control *table_1" type_identifier (pointer_declarator "*table_1" * identifier)) )))) (compound_statement "{\n  hash_entry **pphVar1;\n  char cVar2;\n  int iVar3;\n  ulong uVar4;\n  hash_entry *phVar5;\n  hash_entry *phVar6;\n  hash_entry **pphVar7;\n  char *pcVar8;\n  hash_entry *phVar9;\n  \n  if (plist == (hash_entry ***)0x0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    pcVar8 = (char *)len;\n    do {\n      cVar2 = *pcVar8;\n      pcVar8 = pcVar8 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while ((char *)((long)plist + len) != pcVar8);\n  }\n  uVar4 = (long)plist * 0x20001 + uVar4;\n  pphVar7 = (hash_entry **)(uVar4 ^ uVar4 >> 2);\n  if (table_1 != (hash_control *)0x0) {\n    table_1->table = pphVar7;\n  }\n  pphVar1 = table->table + (ulong)pphVar7 % (ulong)*(uint *)key;\n  if (phash != (ulong *)0x0) {\n    *phash = (ulong)pphVar1;\n  }\n  if (*pphVar1 == (hash_entry *)0x0) {\n    phVar5 = (hash_entry *)0x0;\n  }\n  else {\n    phVar5 = *pphVar1;\n    phVar9 = (hash_entry *)0x0;\n    do {\n      phVar6 = phVar5;\n      if (pphVar7 == (hash_entry **)phVar6->hash) {\n        pcVar8 = phVar6->string;\n        iVar3 = strncmp(pcVar8,(char *)len,(size_t)plist);\n        if ((iVar3 == 0) && (pcVar8[(long)plist] == '\0')) {\n          if (phVar9 == (hash_entry *)0x0) {\n            return phVar6;\n          }\n          phVar9->next = phVar6->next;\n          phVar6->next = *pphVar1;\n          *pphVar1 = phVar6;\n          return phVar6;\n        }\n      }\n      phVar5 = phVar6->next;\n      phVar9 = phVar6;\n    } while (phVar5 != (hash_entry *)0x0);\n  }\n  return phVar5;\n}" { (declaration "hash_entry **pphVar1;" type_identifier (pointer_declarator "**pphVar1" * (pointer_declarator "*pphVar1" * identifier)) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "hash_entry *phVar5;" type_identifier (pointer_declarator "*phVar5" * identifier) ;) (declaration "hash_entry *phVar6;" type_identifier (pointer_declarator "*phVar6" * identifier) ;) (declaration "hash_entry **pphVar7;" type_identifier (pointer_declarator "**pphVar7" * (pointer_declarator "*pphVar7" * identifier)) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "hash_entry *phVar9;" type_identifier (pointer_declarator "*phVar9" * identifier) ;) (if_statement "if (plist == (hash_entry ***)0x0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    pcVar8 = (char *)len;\n    do {\n      cVar2 = *pcVar8;\n      pcVar8 = pcVar8 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while ((char *)((long)plist + len) != pcVar8);\n  }" if (parenthesized_expression "(plist == (hash_entry ***)0x0)" ( (binary_expression "plist == (hash_entry ***)0x0" identifier == (cast_expression "(hash_entry ***)0x0" ( (type_descriptor "hash_entry ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) number_literal)) )) (compound_statement "{\n    uVar4 = 0;\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar4 = 0;\n    pcVar8 = (char *)len;\n    do {\n      cVar2 = *pcVar8;\n      pcVar8 = pcVar8 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while ((char *)((long)plist + len) != pcVar8);\n  }" else (compound_statement "{\n    uVar4 = 0;\n    pcVar8 = (char *)len;\n    do {\n      cVar2 = *pcVar8;\n      pcVar8 = pcVar8 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while ((char *)((long)plist + len) != pcVar8);\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "pcVar8 = (char *)len;" (assignment_expression "pcVar8 = (char *)len" identifier = (cast_expression "(char *)len" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n      cVar2 = *pcVar8;\n      pcVar8 = pcVar8 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while ((char *)((long)plist + len) != pcVar8);" do (compound_statement "{\n      cVar2 = *pcVar8;\n      pcVar8 = pcVar8 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    }" { (expression_statement "cVar2 = *pcVar8;" (assignment_expression "cVar2 = *pcVar8" identifier = (pointer_expression "*pcVar8" * identifier)) ;) (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar4 + (uint)(cVar2 * 0x20001);" (assignment_expression "uVar4 = uVar4 + (uint)(cVar2 * 0x20001)" identifier = (binary_expression "uVar4 + (uint)(cVar2 * 0x20001)" identifier + (call_expression "(uint)(cVar2 * 0x20001)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(cVar2 * 0x20001)" ( (binary_expression "cVar2 * 0x20001" identifier * number_literal) ))))) ;) (expression_statement "uVar4 = uVar4 ^ uVar4 >> 2;" (assignment_expression "uVar4 = uVar4 ^ uVar4 >> 2" identifier = (binary_expression "uVar4 ^ uVar4 >> 2" identifier ^ (binary_expression "uVar4 >> 2" identifier >> number_literal))) ;) }) while (parenthesized_expression "((char *)((long)plist + len) != pcVar8)" ( (binary_expression "(char *)((long)plist + len) != pcVar8" (cast_expression "(char *)((long)plist + len)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plist + len)" ( (binary_expression "(long)plist + len" (cast_expression "(long)plist" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) ))) != identifier) )) ;) }))) (expression_statement "uVar4 = (long)plist * 0x20001 + uVar4;" (assignment_expression "uVar4 = (long)plist * 0x20001 + uVar4" identifier = (binary_expression "(long)plist * 0x20001 + uVar4" (binary_expression "(long)plist * 0x20001" (cast_expression "(long)plist" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal) + identifier)) ;) (expression_statement "pphVar7 = (hash_entry **)(uVar4 ^ uVar4 >> 2);" (assignment_expression "pphVar7 = (hash_entry **)(uVar4 ^ uVar4 >> 2)" identifier = (cast_expression "(hash_entry **)(uVar4 ^ uVar4 >> 2)" ( (type_descriptor "hash_entry **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(uVar4 ^ uVar4 >> 2)" ( (binary_expression "uVar4 ^ uVar4 >> 2" identifier ^ (binary_expression "uVar4 >> 2" identifier >> number_literal)) )))) ;) (if_statement "if (table_1 != (hash_control *)0x0) {\n    table_1->table = pphVar7;\n  }" if (parenthesized_expression "(table_1 != (hash_control *)0x0)" ( (binary_expression "table_1 != (hash_control *)0x0" identifier != (cast_expression "(hash_control *)0x0" ( (type_descriptor "hash_control *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    table_1->table = pphVar7;\n  }" { (expression_statement "table_1->table = pphVar7;" (assignment_expression "table_1->table = pphVar7" (field_expression "table_1->table" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pphVar1 = table->table + (ulong)pphVar7 % (ulong)*(uint *)key;" (assignment_expression "pphVar1 = table->table + (ulong)pphVar7 % (ulong)*(uint *)key" identifier = (binary_expression "table->table + (ulong)pphVar7 % (ulong)*(uint *)key" (field_expression "table->table" identifier -> field_identifier) + (binary_expression "(ulong)pphVar7 % (ulong)*(uint *)key" (binary_expression "(ulong)pphVar7 % (ulong)" (cast_expression "(ulong)pphVar7" ( (type_descriptor "ulong" type_identifier) ) identifier) % (parenthesized_expression "(ulong)" ( identifier ))) * (cast_expression "(uint *)key" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)))) ;) (if_statement "if (phash != (ulong *)0x0) {\n    *phash = (ulong)pphVar1;\n  }" if (parenthesized_expression "(phash != (ulong *)0x0)" ( (binary_expression "phash != (ulong *)0x0" identifier != (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *phash = (ulong)pphVar1;\n  }" { (expression_statement "*phash = (ulong)pphVar1;" (assignment_expression "*phash = (ulong)pphVar1" (pointer_expression "*phash" * identifier) = (cast_expression "(ulong)pphVar1" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) })) (if_statement "if (*pphVar1 == (hash_entry *)0x0) {\n    phVar5 = (hash_entry *)0x0;\n  }\n  else {\n    phVar5 = *pphVar1;\n    phVar9 = (hash_entry *)0x0;\n    do {\n      phVar6 = phVar5;\n      if (pphVar7 == (hash_entry **)phVar6->hash) {\n        pcVar8 = phVar6->string;\n        iVar3 = strncmp(pcVar8,(char *)len,(size_t)plist);\n        if ((iVar3 == 0) && (pcVar8[(long)plist] == '\0')) {\n          if (phVar9 == (hash_entry *)0x0) {\n            return phVar6;\n          }\n          phVar9->next = phVar6->next;\n          phVar6->next = *pphVar1;\n          *pphVar1 = phVar6;\n          return phVar6;\n        }\n      }\n      phVar5 = phVar6->next;\n      phVar9 = phVar6;\n    } while (phVar5 != (hash_entry *)0x0);\n  }" if (parenthesized_expression "(*pphVar1 == (hash_entry *)0x0)" ( (binary_expression "*pphVar1 == (hash_entry *)0x0" (pointer_expression "*pphVar1" * identifier) == (cast_expression "(hash_entry *)0x0" ( (type_descriptor "hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    phVar5 = (hash_entry *)0x0;\n  }" { (expression_statement "phVar5 = (hash_entry *)0x0;" (assignment_expression "phVar5 = (hash_entry *)0x0" identifier = (cast_expression "(hash_entry *)0x0" ( (type_descriptor "hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    phVar5 = *pphVar1;\n    phVar9 = (hash_entry *)0x0;\n    do {\n      phVar6 = phVar5;\n      if (pphVar7 == (hash_entry **)phVar6->hash) {\n        pcVar8 = phVar6->string;\n        iVar3 = strncmp(pcVar8,(char *)len,(size_t)plist);\n        if ((iVar3 == 0) && (pcVar8[(long)plist] == '\0')) {\n          if (phVar9 == (hash_entry *)0x0) {\n            return phVar6;\n          }\n          phVar9->next = phVar6->next;\n          phVar6->next = *pphVar1;\n          *pphVar1 = phVar6;\n          return phVar6;\n        }\n      }\n      phVar5 = phVar6->next;\n      phVar9 = phVar6;\n    } while (phVar5 != (hash_entry *)0x0);\n  }" else (compound_statement "{\n    phVar5 = *pphVar1;\n    phVar9 = (hash_entry *)0x0;\n    do {\n      phVar6 = phVar5;\n      if (pphVar7 == (hash_entry **)phVar6->hash) {\n        pcVar8 = phVar6->string;\n        iVar3 = strncmp(pcVar8,(char *)len,(size_t)plist);\n        if ((iVar3 == 0) && (pcVar8[(long)plist] == '\0')) {\n          if (phVar9 == (hash_entry *)0x0) {\n            return phVar6;\n          }\n          phVar9->next = phVar6->next;\n          phVar6->next = *pphVar1;\n          *pphVar1 = phVar6;\n          return phVar6;\n        }\n      }\n      phVar5 = phVar6->next;\n      phVar9 = phVar6;\n    } while (phVar5 != (hash_entry *)0x0);\n  }" { (expression_statement "phVar5 = *pphVar1;" (assignment_expression "phVar5 = *pphVar1" identifier = (pointer_expression "*pphVar1" * identifier)) ;) (expression_statement "phVar9 = (hash_entry *)0x0;" (assignment_expression "phVar9 = (hash_entry *)0x0" identifier = (cast_expression "(hash_entry *)0x0" ( (type_descriptor "hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n      phVar6 = phVar5;\n      if (pphVar7 == (hash_entry **)phVar6->hash) {\n        pcVar8 = phVar6->string;\n        iVar3 = strncmp(pcVar8,(char *)len,(size_t)plist);\n        if ((iVar3 == 0) && (pcVar8[(long)plist] == '\0')) {\n          if (phVar9 == (hash_entry *)0x0) {\n            return phVar6;\n          }\n          phVar9->next = phVar6->next;\n          phVar6->next = *pphVar1;\n          *pphVar1 = phVar6;\n          return phVar6;\n        }\n      }\n      phVar5 = phVar6->next;\n      phVar9 = phVar6;\n    } while (phVar5 != (hash_entry *)0x0);" do (compound_statement "{\n      phVar6 = phVar5;\n      if (pphVar7 == (hash_entry **)phVar6->hash) {\n        pcVar8 = phVar6->string;\n        iVar3 = strncmp(pcVar8,(char *)len,(size_t)plist);\n        if ((iVar3 == 0) && (pcVar8[(long)plist] == '\0')) {\n          if (phVar9 == (hash_entry *)0x0) {\n            return phVar6;\n          }\n          phVar9->next = phVar6->next;\n          phVar6->next = *pphVar1;\n          *pphVar1 = phVar6;\n          return phVar6;\n        }\n      }\n      phVar5 = phVar6->next;\n      phVar9 = phVar6;\n    }" { (expression_statement "phVar6 = phVar5;" (assignment_expression "phVar6 = phVar5" identifier = identifier) ;) (if_statement "if (pphVar7 == (hash_entry **)phVar6->hash) {\n        pcVar8 = phVar6->string;\n        iVar3 = strncmp(pcVar8,(char *)len,(size_t)plist);\n        if ((iVar3 == 0) && (pcVar8[(long)plist] == '\0')) {\n          if (phVar9 == (hash_entry *)0x0) {\n            return phVar6;\n          }\n          phVar9->next = phVar6->next;\n          phVar6->next = *pphVar1;\n          *pphVar1 = phVar6;\n          return phVar6;\n        }\n      }" if (parenthesized_expression "(pphVar7 == (hash_entry **)phVar6->hash)" ( (binary_expression "pphVar7 == (hash_entry **)phVar6->hash" identifier == (cast_expression "(hash_entry **)phVar6->hash" ( (type_descriptor "hash_entry **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (field_expression "phVar6->hash" identifier -> field_identifier))) )) (compound_statement "{\n        pcVar8 = phVar6->string;\n        iVar3 = strncmp(pcVar8,(char *)len,(size_t)plist);\n        if ((iVar3 == 0) && (pcVar8[(long)plist] == '\0')) {\n          if (phVar9 == (hash_entry *)0x0) {\n            return phVar6;\n          }\n          phVar9->next = phVar6->next;\n          phVar6->next = *pphVar1;\n          *pphVar1 = phVar6;\n          return phVar6;\n        }\n      }" { (expression_statement "pcVar8 = phVar6->string;" (assignment_expression "pcVar8 = phVar6->string" identifier = (field_expression "phVar6->string" identifier -> field_identifier)) ;) (expression_statement "iVar3 = strncmp(pcVar8,(char *)len,(size_t)plist);" (assignment_expression "iVar3 = strncmp(pcVar8,(char *)len,(size_t)plist)" identifier = (call_expression "strncmp(pcVar8,(char *)len,(size_t)plist)" identifier (argument_list "(pcVar8,(char *)len,(size_t)plist)" ( identifier , (cast_expression "(char *)len" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(size_t)plist" ( (type_descriptor "size_t" primitive_type) ) identifier) )))) ;) (if_statement "if ((iVar3 == 0) && (pcVar8[(long)plist] == '\0')) {\n          if (phVar9 == (hash_entry *)0x0) {\n            return phVar6;\n          }\n          phVar9->next = phVar6->next;\n          phVar6->next = *pphVar1;\n          *pphVar1 = phVar6;\n          return phVar6;\n        }" if (parenthesized_expression "((iVar3 == 0) && (pcVar8[(long)plist] == '\0'))" ( (binary_expression "(iVar3 == 0) && (pcVar8[(long)plist] == '\0')" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) && (parenthesized_expression "(pcVar8[(long)plist] == '\0')" ( (binary_expression "pcVar8[(long)plist] == '\0'" (subscript_expression "pcVar8[(long)plist]" identifier [ (cast_expression "(long)plist" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n          if (phVar9 == (hash_entry *)0x0) {\n            return phVar6;\n          }\n          phVar9->next = phVar6->next;\n          phVar6->next = *pphVar1;\n          *pphVar1 = phVar6;\n          return phVar6;\n        }" { (if_statement "if (phVar9 == (hash_entry *)0x0) {\n            return phVar6;\n          }" if (parenthesized_expression "(phVar9 == (hash_entry *)0x0)" ( (binary_expression "phVar9 == (hash_entry *)0x0" identifier == (cast_expression "(hash_entry *)0x0" ( (type_descriptor "hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            return phVar6;\n          }" { (return_statement "return phVar6;" return identifier ;) })) (expression_statement "phVar9->next = phVar6->next;" (assignment_expression "phVar9->next = phVar6->next" (field_expression "phVar9->next" identifier -> field_identifier) = (field_expression "phVar6->next" identifier -> field_identifier)) ;) (expression_statement "phVar6->next = *pphVar1;" (assignment_expression "phVar6->next = *pphVar1" (field_expression "phVar6->next" identifier -> field_identifier) = (pointer_expression "*pphVar1" * identifier)) ;) (expression_statement "*pphVar1 = phVar6;" (assignment_expression "*pphVar1 = phVar6" (pointer_expression "*pphVar1" * identifier) = identifier) ;) (return_statement "return phVar6;" return identifier ;) })) })) (expression_statement "phVar5 = phVar6->next;" (assignment_expression "phVar5 = phVar6->next" identifier = (field_expression "phVar6->next" identifier -> field_identifier)) ;) (expression_statement "phVar9 = phVar6;" (assignment_expression "phVar9 = phVar6" identifier = identifier) ;) }) while (parenthesized_expression "(phVar5 != (hash_entry *)0x0)" ( (binary_expression "phVar5 != (hash_entry *)0x0" identifier != (cast_expression "(hash_entry *)0x0" ( (type_descriptor "hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (return_statement "return phVar5;" return identifier ;) })))
(translation_unit "long * FUN_0011fe60(long *param_1,uint *param_2,char *param_3,size_t param_4,long *param_5,\n                   ulong *param_6)\n\n{\n  long *plVar1;\n  char cVar2;\n  int iVar3;\n  ulong uVar4;\n  long *plVar5;\n  long *plVar6;\n  char *pcVar7;\n  long *plVar8;\n  \n  if (param_4 == 0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    pcVar7 = param_3;\n    do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);\n  }\n  uVar4 = param_4 * 0x20001 + uVar4;\n  uVar4 = uVar4 ^ uVar4 >> 2;\n  if (param_6 != (ulong *)0x0) {\n    *param_6 = uVar4;\n  }\n  plVar1 = (long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8);\n  if (param_5 != (long *)0x0) {\n    *param_5 = (long)plVar1;\n  }\n  if ((long *)*plVar1 == (long *)0x0) {\n    plVar5 = (long *)0x0;\n  }\n  else {\n    plVar5 = (long *)*plVar1;\n    plVar8 = (long *)0x0;\n    do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);\n  }\n  return plVar5;\n}\n\n" (function_definition "long * FUN_0011fe60(long *param_1,uint *param_2,char *param_3,size_t param_4,long *param_5,\n                   ulong *param_6)\n\n{\n  long *plVar1;\n  char cVar2;\n  int iVar3;\n  ulong uVar4;\n  long *plVar5;\n  long *plVar6;\n  char *pcVar7;\n  long *plVar8;\n  \n  if (param_4 == 0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    pcVar7 = param_3;\n    do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);\n  }\n  uVar4 = param_4 * 0x20001 + uVar4;\n  uVar4 = uVar4 ^ uVar4 >> 2;\n  if (param_6 != (ulong *)0x0) {\n    *param_6 = uVar4;\n  }\n  plVar1 = (long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8);\n  if (param_5 != (long *)0x0) {\n    *param_5 = (long)plVar1;\n  }\n  if ((long *)*plVar1 == (long *)0x0) {\n    plVar5 = (long *)0x0;\n  }\n  else {\n    plVar5 = (long *)*plVar1;\n    plVar8 = (long *)0x0;\n    do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);\n  }\n  return plVar5;\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_0011fe60(long *param_1,uint *param_2,char *param_3,size_t param_4,long *param_5,\n                   ulong *param_6)" * (function_declarator "FUN_0011fe60(long *param_1,uint *param_2,char *param_3,size_t param_4,long *param_5,\n                   ulong *param_6)" identifier (parameter_list "(long *param_1,uint *param_2,char *param_3,size_t param_4,long *param_5,\n                   ulong *param_6)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "size_t param_4" primitive_type identifier) , (parameter_declaration "long *param_5" (sized_type_specifier "long" long) (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "ulong *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) )))) (compound_statement "{\n  long *plVar1;\n  char cVar2;\n  int iVar3;\n  ulong uVar4;\n  long *plVar5;\n  long *plVar6;\n  char *pcVar7;\n  long *plVar8;\n  \n  if (param_4 == 0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    pcVar7 = param_3;\n    do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);\n  }\n  uVar4 = param_4 * 0x20001 + uVar4;\n  uVar4 = uVar4 ^ uVar4 >> 2;\n  if (param_6 != (ulong *)0x0) {\n    *param_6 = uVar4;\n  }\n  plVar1 = (long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8);\n  if (param_5 != (long *)0x0) {\n    *param_5 = (long)plVar1;\n  }\n  if ((long *)*plVar1 == (long *)0x0) {\n    plVar5 = (long *)0x0;\n  }\n  else {\n    plVar5 = (long *)*plVar1;\n    plVar8 = (long *)0x0;\n    do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);\n  }\n  return plVar5;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "long *plVar5;" (sized_type_specifier "long" long) (pointer_declarator "*plVar5" * identifier) ;) (declaration "long *plVar6;" (sized_type_specifier "long" long) (pointer_declarator "*plVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "long *plVar8;" (sized_type_specifier "long" long) (pointer_declarator "*plVar8" * identifier) ;) (if_statement "if (param_4 == 0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    pcVar7 = param_3;\n    do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar4 = 0;\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar4 = 0;\n    pcVar7 = param_3;\n    do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);\n  }" else (compound_statement "{\n    uVar4 = 0;\n    pcVar7 = param_3;\n    do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "pcVar7 = param_3;" (assignment_expression "pcVar7 = param_3" identifier = identifier) ;) (do_statement "do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);" do (compound_statement "{\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    }" { (expression_statement "cVar2 = *pcVar7;" (assignment_expression "cVar2 = *pcVar7" identifier = (pointer_expression "*pcVar7" * identifier)) ;) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar4 + (uint)(cVar2 * 0x20001);" (assignment_expression "uVar4 = uVar4 + (uint)(cVar2 * 0x20001)" identifier = (binary_expression "uVar4 + (uint)(cVar2 * 0x20001)" identifier + (call_expression "(uint)(cVar2 * 0x20001)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(cVar2 * 0x20001)" ( (binary_expression "cVar2 * 0x20001" identifier * number_literal) ))))) ;) (expression_statement "uVar4 = uVar4 ^ uVar4 >> 2;" (assignment_expression "uVar4 = uVar4 ^ uVar4 >> 2" identifier = (binary_expression "uVar4 ^ uVar4 >> 2" identifier ^ (binary_expression "uVar4 >> 2" identifier >> number_literal))) ;) }) while (parenthesized_expression "(param_3 + param_4 != pcVar7)" ( (binary_expression "param_3 + param_4 != pcVar7" (binary_expression "param_3 + param_4" identifier + identifier) != identifier) )) ;) }))) (expression_statement "uVar4 = param_4 * 0x20001 + uVar4;" (assignment_expression "uVar4 = param_4 * 0x20001 + uVar4" identifier = (binary_expression "param_4 * 0x20001 + uVar4" (binary_expression "param_4 * 0x20001" identifier * number_literal) + identifier)) ;) (expression_statement "uVar4 = uVar4 ^ uVar4 >> 2;" (assignment_expression "uVar4 = uVar4 ^ uVar4 >> 2" identifier = (binary_expression "uVar4 ^ uVar4 >> 2" identifier ^ (binary_expression "uVar4 >> 2" identifier >> number_literal))) ;) (if_statement "if (param_6 != (ulong *)0x0) {\n    *param_6 = uVar4;\n  }" if (parenthesized_expression "(param_6 != (ulong *)0x0)" ( (binary_expression "param_6 != (ulong *)0x0" identifier != (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_6 = uVar4;\n  }" { (expression_statement "*param_6 = uVar4;" (assignment_expression "*param_6 = uVar4" (pointer_expression "*param_6" * identifier) = identifier) ;) })) (expression_statement "plVar1 = (long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8);" (assignment_expression "plVar1 = (long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8)" identifier = (cast_expression "(long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + (uVar4 % (ulong)*param_2) * 8)" ( (binary_expression "*param_1 + (uVar4 % (ulong)*param_2) * 8" (pointer_expression "*param_1" * identifier) + (binary_expression "(uVar4 % (ulong)*param_2) * 8" (parenthesized_expression "(uVar4 % (ulong)*param_2)" ( (binary_expression "uVar4 % (ulong)*param_2" (binary_expression "uVar4 % (ulong)" identifier % (parenthesized_expression "(ulong)" ( identifier ))) * identifier) )) * number_literal)) )))) ;) (if_statement "if (param_5 != (long *)0x0) {\n    *param_5 = (long)plVar1;\n  }" if (parenthesized_expression "(param_5 != (long *)0x0)" ( (binary_expression "param_5 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_5 = (long)plVar1;\n  }" { (expression_statement "*param_5 = (long)plVar1;" (assignment_expression "*param_5 = (long)plVar1" (pointer_expression "*param_5" * identifier) = (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) })) (if_statement "if ((long *)*plVar1 == (long *)0x0) {\n    plVar5 = (long *)0x0;\n  }\n  else {\n    plVar5 = (long *)*plVar1;\n    plVar8 = (long *)0x0;\n    do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);\n  }" if (parenthesized_expression "((long *)*plVar1 == (long *)0x0)" ( (binary_expression "(long *)*plVar1 == (long *)0x0" (cast_expression "(long *)*plVar1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar1" * identifier)) == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    plVar5 = (long *)0x0;\n  }" { (expression_statement "plVar5 = (long *)0x0;" (assignment_expression "plVar5 = (long *)0x0" identifier = (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    plVar5 = (long *)*plVar1;\n    plVar8 = (long *)0x0;\n    do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);\n  }" else (compound_statement "{\n    plVar5 = (long *)*plVar1;\n    plVar8 = (long *)0x0;\n    do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);\n  }" { (expression_statement "plVar5 = (long *)*plVar1;" (assignment_expression "plVar5 = (long *)*plVar1" identifier = (cast_expression "(long *)*plVar1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar1" * identifier))) ;) (expression_statement "plVar8 = (long *)0x0;" (assignment_expression "plVar8 = (long *)0x0" identifier = (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);" do (compound_statement "{\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    }" { (expression_statement "plVar6 = plVar5;" (assignment_expression "plVar6 = plVar5" identifier = identifier) ;) (if_statement "if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }" if (parenthesized_expression "(uVar4 == plVar6[2])" ( (binary_expression "uVar4 == plVar6[2]" identifier == (subscript_expression "plVar6[2]" identifier [ number_literal ])) )) (compound_statement "{\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }" { (expression_statement "pcVar7 = (char *)plVar6[1];" (assignment_expression "pcVar7 = (char *)plVar6[1]" identifier = (cast_expression "(char *)plVar6[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar6[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar3 = strncmp(pcVar7,param_3,param_4);" (assignment_expression "iVar3 = strncmp(pcVar7,param_3,param_4)" identifier = (call_expression "strncmp(pcVar7,param_3,param_4)" identifier (argument_list "(pcVar7,param_3,param_4)" ( identifier , identifier , identifier )))) ;) (if_statement "if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }" if (parenthesized_expression "((iVar3 == 0) && (pcVar7[param_4] == '\0'))" ( (binary_expression "(iVar3 == 0) && (pcVar7[param_4] == '\0')" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) && (parenthesized_expression "(pcVar7[param_4] == '\0')" ( (binary_expression "pcVar7[param_4] == '\0'" (subscript_expression "pcVar7[param_4]" identifier [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }" { (if_statement "if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }" if (parenthesized_expression "(plVar8 == (long *)0x0)" ( (binary_expression "plVar8 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            return plVar6;\n          }" { (return_statement "return plVar6;" return identifier ;) })) (expression_statement "*plVar8 = *plVar6;" (assignment_expression "*plVar8 = *plVar6" (pointer_expression "*plVar8" * identifier) = (pointer_expression "*plVar6" * identifier)) ;) (expression_statement "*plVar6 = *plVar1;" (assignment_expression "*plVar6 = *plVar1" (pointer_expression "*plVar6" * identifier) = (pointer_expression "*plVar1" * identifier)) ;) (expression_statement "*plVar1 = (long)plVar6;" (assignment_expression "*plVar1 = (long)plVar6" (pointer_expression "*plVar1" * identifier) = (cast_expression "(long)plVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (return_statement "return plVar6;" return identifier ;) })) })) (expression_statement "plVar5 = (long *)*plVar6;" (assignment_expression "plVar5 = (long *)*plVar6" identifier = (cast_expression "(long *)*plVar6" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar6" * identifier))) ;) (expression_statement "plVar8 = plVar6;" (assignment_expression "plVar8 = plVar6" identifier = identifier) ;) }) while (parenthesized_expression "(plVar5 != (long *)0x0)" ( (binary_expression "plVar5 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (return_statement "return plVar5;" return identifier ;) })))
(translation_unit (function_definition (sized_type_specifier long) (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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 = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT * LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT ^ (binary_expression IDENT >> LIT))) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) != IDENT) )) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT ^ (binary_expression IDENT >> LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT % (parenthesized_expression ( IDENT ))) * IDENT) )) * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (return_statement return IDENT ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) ;) }))) (return_statement return IDENT ;) })))
(function_definition "long * FUN_0011fe60(long *param_1,uint *param_2,char *param_3,size_t param_4,long *param_5,\n                   ulong *param_6)\n\n{\n  long *plVar1;\n  char cVar2;\n  int iVar3;\n  ulong uVar4;\n  long *plVar5;\n  long *plVar6;\n  char *pcVar7;\n  long *plVar8;\n  \n  if (param_4 == 0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    pcVar7 = param_3;\n    do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);\n  }\n  uVar4 = param_4 * 0x20001 + uVar4;\n  uVar4 = uVar4 ^ uVar4 >> 2;\n  if (param_6 != (ulong *)0x0) {\n    *param_6 = uVar4;\n  }\n  plVar1 = (long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8);\n  if (param_5 != (long *)0x0) {\n    *param_5 = (long)plVar1;\n  }\n  if ((long *)*plVar1 == (long *)0x0) {\n    plVar5 = (long *)0x0;\n  }\n  else {\n    plVar5 = (long *)*plVar1;\n    plVar8 = (long *)0x0;\n    do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);\n  }\n  return plVar5;\n}" (sized_type_specifier "long" (long "long")) (pointer_declarator "* FUN_0011fe60(long *param_1,uint *param_2,char *param_3,size_t param_4,long *param_5,\n                   ulong *param_6)" (* "*") (function_declarator "FUN_0011fe60(long *param_1,uint *param_2,char *param_3,size_t param_4,long *param_5,\n                   ulong *param_6)" (identifier "FUN_0011fe60") (parameter_list "(long *param_1,uint *param_2,char *param_3,size_t param_4,long *param_5,\n                   ulong *param_6)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "size_t param_4" (primitive_type "size_t") (identifier "param_4")) (, ",") (parameter_declaration "long *param_5" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "ulong *param_6" (type_identifier "ulong") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) () ")")))) (compound_statement "{\n  long *plVar1;\n  char cVar2;\n  int iVar3;\n  ulong uVar4;\n  long *plVar5;\n  long *plVar6;\n  char *pcVar7;\n  long *plVar8;\n  \n  if (param_4 == 0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    pcVar7 = param_3;\n    do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);\n  }\n  uVar4 = param_4 * 0x20001 + uVar4;\n  uVar4 = uVar4 ^ uVar4 >> 2;\n  if (param_6 != (ulong *)0x0) {\n    *param_6 = uVar4;\n  }\n  plVar1 = (long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8);\n  if (param_5 != (long *)0x0) {\n    *param_5 = (long)plVar1;\n  }\n  if ((long *)*plVar1 == (long *)0x0) {\n    plVar5 = (long *)0x0;\n  }\n  else {\n    plVar5 = (long *)*plVar1;\n    plVar8 = (long *)0x0;\n    do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);\n  }\n  return plVar5;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (declaration "long *plVar5;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar5" (* "*") (identifier "plVar5")) (; ";")) (declaration "long *plVar6;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar6" (* "*") (identifier "plVar6")) (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "long *plVar8;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar8" (* "*") (identifier "plVar8")) (; ";")) (if_statement "if (param_4 == 0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    pcVar7 = param_3;\n    do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);\n  }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar4 = 0;\n  }" ({ "{") (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    uVar4 = 0;\n    pcVar7 = param_3;\n    do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);\n  }" (else "else") (compound_statement "{\n    uVar4 = 0;\n    pcVar7 = param_3;\n    do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);\n  }" ({ "{") (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar7 = param_3;" (assignment_expression "pcVar7 = param_3" (identifier "pcVar7") (= "=") (identifier "param_3")) (; ";")) (do_statement "do {\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    } while (param_3 + param_4 != pcVar7);" (do "do") (compound_statement "{\n      cVar2 = *pcVar7;\n      pcVar7 = pcVar7 + 1;\n      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);\n      uVar4 = uVar4 ^ uVar4 >> 2;\n    }" ({ "{") (expression_statement "cVar2 = *pcVar7;" (assignment_expression "cVar2 = *pcVar7" (identifier "cVar2") (= "=") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7"))) (; ";")) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" (identifier "pcVar7") (= "=") (binary_expression "pcVar7 + 1" (identifier "pcVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = uVar4 + (uint)(cVar2 * 0x20001);" (assignment_expression "uVar4 = uVar4 + (uint)(cVar2 * 0x20001)" (identifier "uVar4") (= "=") (binary_expression "uVar4 + (uint)(cVar2 * 0x20001)" (identifier "uVar4") (+ "+") (call_expression "(uint)(cVar2 * 0x20001)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(cVar2 * 0x20001)" (( "(") (binary_expression "cVar2 * 0x20001" (identifier "cVar2") (* "*") (number_literal "0x20001")) () ")"))))) (; ";")) (expression_statement "uVar4 = uVar4 ^ uVar4 >> 2;" (assignment_expression "uVar4 = uVar4 ^ uVar4 >> 2" (identifier "uVar4") (= "=") (binary_expression "uVar4 ^ uVar4 >> 2" (identifier "uVar4") (^ "^") (binary_expression "uVar4 >> 2" (identifier "uVar4") (>> ">>") (number_literal "2")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_3 + param_4 != pcVar7)" (( "(") (binary_expression "param_3 + param_4 != pcVar7" (binary_expression "param_3 + param_4" (identifier "param_3") (+ "+") (identifier "param_4")) (!= "!=") (identifier "pcVar7")) () ")")) (; ";")) (} "}")))) (expression_statement "uVar4 = param_4 * 0x20001 + uVar4;" (assignment_expression "uVar4 = param_4 * 0x20001 + uVar4" (identifier "uVar4") (= "=") (binary_expression "param_4 * 0x20001 + uVar4" (binary_expression "param_4 * 0x20001" (identifier "param_4") (* "*") (number_literal "0x20001")) (+ "+") (identifier "uVar4"))) (; ";")) (expression_statement "uVar4 = uVar4 ^ uVar4 >> 2;" (assignment_expression "uVar4 = uVar4 ^ uVar4 >> 2" (identifier "uVar4") (= "=") (binary_expression "uVar4 ^ uVar4 >> 2" (identifier "uVar4") (^ "^") (binary_expression "uVar4 >> 2" (identifier "uVar4") (>> ">>") (number_literal "2")))) (; ";")) (if_statement "if (param_6 != (ulong *)0x0) {\n    *param_6 = uVar4;\n  }" (if "if") (parenthesized_expression "(param_6 != (ulong *)0x0)" (( "(") (binary_expression "param_6 != (ulong *)0x0" (identifier "param_6") (!= "!=") (cast_expression "(ulong *)0x0" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_6 = uVar4;\n  }" ({ "{") (expression_statement "*param_6 = uVar4;" (assignment_expression "*param_6 = uVar4" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (identifier "uVar4")) (; ";")) (} "}"))) (expression_statement "plVar1 = (long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8);" (assignment_expression "plVar1 = (long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8)" (identifier "plVar1") (= "=") (cast_expression "(long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + (uVar4 % (ulong)*param_2) * 8)" (( "(") (binary_expression "*param_1 + (uVar4 % (ulong)*param_2) * 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (binary_expression "(uVar4 % (ulong)*param_2) * 8" (parenthesized_expression "(uVar4 % (ulong)*param_2)" (( "(") (binary_expression "uVar4 % (ulong)*param_2" (binary_expression "uVar4 % (ulong)" (identifier "uVar4") (% "%") (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")"))) (* "*") (identifier "param_2")) () ")")) (* "*") (number_literal "8"))) () ")")))) (; ";")) (if_statement "if (param_5 != (long *)0x0) {\n    *param_5 = (long)plVar1;\n  }" (if "if") (parenthesized_expression "(param_5 != (long *)0x0)" (( "(") (binary_expression "param_5 != (long *)0x0" (identifier "param_5") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_5 = (long)plVar1;\n  }" ({ "{") (expression_statement "*param_5 = (long)plVar1;" (assignment_expression "*param_5 = (long)plVar1" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (= "=") (cast_expression "(long)plVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "plVar1"))) (; ";")) (} "}"))) (if_statement "if ((long *)*plVar1 == (long *)0x0) {\n    plVar5 = (long *)0x0;\n  }\n  else {\n    plVar5 = (long *)*plVar1;\n    plVar8 = (long *)0x0;\n    do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);\n  }" (if "if") (parenthesized_expression "((long *)*plVar1 == (long *)0x0)" (( "(") (binary_expression "(long *)*plVar1 == (long *)0x0" (cast_expression "(long *)*plVar1" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar1" (* "*") (identifier "plVar1"))) (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    plVar5 = (long *)0x0;\n  }" ({ "{") (expression_statement "plVar5 = (long *)0x0;" (assignment_expression "plVar5 = (long *)0x0" (identifier "plVar5") (= "=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n    plVar5 = (long *)*plVar1;\n    plVar8 = (long *)0x0;\n    do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);\n  }" (else "else") (compound_statement "{\n    plVar5 = (long *)*plVar1;\n    plVar8 = (long *)0x0;\n    do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);\n  }" ({ "{") (expression_statement "plVar5 = (long *)*plVar1;" (assignment_expression "plVar5 = (long *)*plVar1" (identifier "plVar5") (= "=") (cast_expression "(long *)*plVar1" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar1" (* "*") (identifier "plVar1")))) (; ";")) (expression_statement "plVar8 = (long *)0x0;" (assignment_expression "plVar8 = (long *)0x0" (identifier "plVar8") (= "=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (do_statement "do {\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    } while (plVar5 != (long *)0x0);" (do "do") (compound_statement "{\n      plVar6 = plVar5;\n      if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }\n      plVar5 = (long *)*plVar6;\n      plVar8 = plVar6;\n    }" ({ "{") (expression_statement "plVar6 = plVar5;" (assignment_expression "plVar6 = plVar5" (identifier "plVar6") (= "=") (identifier "plVar5")) (; ";")) (if_statement "if (uVar4 == plVar6[2]) {\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }" (if "if") (parenthesized_expression "(uVar4 == plVar6[2])" (( "(") (binary_expression "uVar4 == plVar6[2]" (identifier "uVar4") (== "==") (subscript_expression "plVar6[2]" (identifier "plVar6") ([ "[") (number_literal "2") (] "]"))) () ")")) (compound_statement "{\n        pcVar7 = (char *)plVar6[1];\n        iVar3 = strncmp(pcVar7,param_3,param_4);\n        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }\n      }" ({ "{") (expression_statement "pcVar7 = (char *)plVar6[1];" (assignment_expression "pcVar7 = (char *)plVar6[1]" (identifier "pcVar7") (= "=") (cast_expression "(char *)plVar6[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "plVar6[1]" (identifier "plVar6") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "iVar3 = strncmp(pcVar7,param_3,param_4);" (assignment_expression "iVar3 = strncmp(pcVar7,param_3,param_4)" (identifier "iVar3") (= "=") (call_expression "strncmp(pcVar7,param_3,param_4)" (identifier "strncmp") (argument_list "(pcVar7,param_3,param_4)" (( "(") (identifier "pcVar7") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }" (if "if") (parenthesized_expression "((iVar3 == 0) && (pcVar7[param_4] == '\0'))" (( "(") (binary_expression "(iVar3 == 0) && (pcVar7[param_4] == '\0')" (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(pcVar7[param_4] == '\0')" (( "(") (binary_expression "pcVar7[param_4] == '\0'" (subscript_expression "pcVar7[param_4]" (identifier "pcVar7") ([ "[") (identifier "param_4") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n          if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }\n          *plVar8 = *plVar6;\n          *plVar6 = *plVar1;\n          *plVar1 = (long)plVar6;\n          return plVar6;\n        }" ({ "{") (if_statement "if (plVar8 == (long *)0x0) {\n            return plVar6;\n          }" (if "if") (parenthesized_expression "(plVar8 == (long *)0x0)" (( "(") (binary_expression "plVar8 == (long *)0x0" (identifier "plVar8") (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            return plVar6;\n          }" ({ "{") (return_statement "return plVar6;" (return "return") (identifier "plVar6") (; ";")) (} "}"))) (expression_statement "*plVar8 = *plVar6;" (assignment_expression "*plVar8 = *plVar6" (pointer_expression "*plVar8" (* "*") (identifier "plVar8")) (= "=") (pointer_expression "*plVar6" (* "*") (identifier "plVar6"))) (; ";")) (expression_statement "*plVar6 = *plVar1;" (assignment_expression "*plVar6 = *plVar1" (pointer_expression "*plVar6" (* "*") (identifier "plVar6")) (= "=") (pointer_expression "*plVar1" (* "*") (identifier "plVar1"))) (; ";")) (expression_statement "*plVar1 = (long)plVar6;" (assignment_expression "*plVar1 = (long)plVar6" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (= "=") (cast_expression "(long)plVar6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "plVar6"))) (; ";")) (return_statement "return plVar6;" (return "return") (identifier "plVar6") (; ";")) (} "}"))) (} "}"))) (expression_statement "plVar5 = (long *)*plVar6;" (assignment_expression "plVar5 = (long *)*plVar6" (identifier "plVar5") (= "=") (cast_expression "(long *)*plVar6" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar6" (* "*") (identifier "plVar6")))) (; ";")) (expression_statement "plVar8 = plVar6;" (assignment_expression "plVar8 = plVar6" (identifier "plVar8") (= "=") (identifier "plVar6")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(plVar5 != (long *)0x0)" (( "(") (binary_expression "plVar5 != (long *)0x0" (identifier "plVar5") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}")))) (return_statement "return plVar5;" (return "return") (identifier "plVar5") (; ";")) (} "}")))

/* DWARF original prototype: hash_entry * hash_lookup(hash_control * table, char * key, size_t len,
   hash_entry * * * plist, ulong * phash, hash_control * table) */

type_1 *
function_1(type_2 *table,char *key,size_t var_5,type_1 ***var_1,type_3 *var_7,
           type_2 *var_6)

{
  type_1 **pphVar1;
  char var_4;
  int var_10;
  type_3 var_3;
  type_1 *var_12;
  type_1 *phVar6;
  type_1 **var_8;
  char *var_2;
  type_1 *var_11;
  
  if (var_1 == (type_1 ***)0x0) {
    var_3 = 0;
  }
  else {
    var_3 = 0;
    var_2 = (char *)var_5;
    do {
      var_4 = *var_2;
      var_2 = var_2 + 1;
      var_3 = var_3 + (type_4)(var_4 * 0x20001);
      var_3 = var_3 ^ var_3 >> 2;
    } while ((char *)((long)var_1 + var_5) != var_2);
  }
  var_3 = (long)var_1 * 0x20001 + var_3;
  var_8 = (type_1 **)(var_3 ^ var_3 >> 2);
  if (var_6 != (type_2 *)0x0) {
    var_6->table = var_8;
  }
  pphVar1 = table->table + (type_3)var_8 % (type_3)*(type_4 *)key;
  if (var_7 != (type_3 *)0x0) {
    *var_7 = (type_3)pphVar1;
  }
  if (*pphVar1 == (type_1 *)0x0) {
    var_12 = (type_1 *)0x0;
  }
  else {
    var_12 = *pphVar1;
    var_11 = (type_1 *)0x0;
    do {
      phVar6 = var_12;
      if (var_8 == (type_1 **)phVar6->hash) {
        var_2 = phVar6->string;
        var_10 = var_9(var_2,(char *)var_5,(size_t)var_1);
        if ((var_10 == 0) && (var_2[(long)var_1] == '\0')) {
          if (var_11 == (type_1 *)0x0) {
            return phVar6;
          }
          var_11->next = phVar6->next;
          phVar6->next = *pphVar1;
          *pphVar1 = phVar6;
          return phVar6;
        }
      }
      var_12 = phVar6->next;
      var_11 = phVar6;
    } while (var_12 != (type_1 *)0x0);
  }
  return var_12;
}


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

long * MASKED(long *param_1,uint *param_2,char *param_3,size_t param_4,long *param_5,
                   ulong *param_6)

{
  long *plVar1;
  char cVar2;
  int iVar3;
  ulong uVar4;
  long *plVar5;
  long *plVar6;
  char *pcVar7;
  long *plVar8;
  
  if (param_4 == 0) {
    uVar4 = 0;
  }
  else {
    uVar4 = 0;
    pcVar7 = param_3;
    do {
      cVar2 = *pcVar7;
      pcVar7 = pcVar7 + 1;
      uVar4 = uVar4 + (uint)(cVar2 * 0x20001);
      uVar4 = uVar4 ^ uVar4 >> 2;
    } while (param_3 + param_4 != pcVar7);
  }
  uVar4 = param_4 * 0x20001 + uVar4;
  uVar4 = uVar4 ^ uVar4 >> 2;
  if (param_6 != (ulong *)0x0) {
    *param_6 = uVar4;
  }
  plVar1 = (long *)(*param_1 + (uVar4 % (ulong)*param_2) * 8);
  if (param_5 != (long *)0x0) {
    *param_5 = (long)plVar1;
  }
  if ((long *)*plVar1 == (long *)0x0) {
    plVar5 = (long *)0x0;
  }
  else {
    plVar5 = (long *)*plVar1;
    plVar8 = (long *)0x0;
    do {
      plVar6 = plVar5;
      if (uVar4 == plVar6[2]) {
        pcVar7 = (char *)plVar6[1];
        iVar3 = strncmp(pcVar7,param_3,param_4);
        if ((iVar3 == 0) && (pcVar7[param_4] == '\0')) {
          if (plVar8 == (long *)0x0) {
            return plVar6;
          }
          *plVar8 = *plVar6;
          *plVar6 = *plVar1;
          *plVar1 = (long)plVar6;
          return plVar6;
        }
      }
      plVar5 = (long *)*plVar6;
      plVar8 = plVar6;
    } while (plVar5 != (long *)0x0);
  }
  return plVar5;
}

