
BUCKET_CONTENTS * hash_insert(char *string,HASH_TABLE *table,int flags)

{
  uint uVar1;
  BUCKET_CONTENTS *pBVar2;
  char *pcVar3;
  BUCKET_CONTENTS **ppBVar4;
  int iVar5;
  uint uVar6;
  int iVar7;
  
  if (table == (HASH_TABLE *)0x0) {
    table = hash_create(0);
  }
  if (((flags & 1U) == 0) &&
     (pBVar2 = hash_search(string,table,0), pBVar2 != (BUCKET_CONTENTS *)0x0)) {
    return pBVar2;
  }
  uVar1 = (uint)*string;
  if (uVar1 == 0) {
    uVar6 = 0x811c9dc5;
  }
  else {
    uVar6 = 0x811c9dc5;
    pcVar3 = string;
    do {
      pcVar3 = pcVar3 + 1;
      uVar6 = uVar1 ^ uVar6 * 0x1000193;
      uVar1 = (uint)*pcVar3;
    } while (uVar1 != 0);
  }
  iVar7 = table->nbuckets;
  pBVar2 = (BUCKET_CONTENTS *)(*(code *)PTR_xmalloc_001445b0)(0x14);
  ppBVar4 = table->bucket_array;
  iVar5 = table->nentries;
  pBVar2->next = ppBVar4[iVar7 - 1U & uVar6];
  ppBVar4[iVar7 - 1U & uVar6] = pBVar2;
  pBVar2->key = string;
  pBVar2->khash = uVar6;
  pBVar2->data = (void *)0x0;
  pBVar2->times_found = 0;
  table->nentries = iVar5 + 1;
  return pBVar2;
}



void hash_insert(char *param_1,int *param_2,uint param_3)

{
  uint uVar1;
  int *piVar2;
  char *pcVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  int *piVar7;
  
  if (param_2 == (int *)0x0) {
    param_2 = (int *)hash_create(0);
  }
  if (((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0)) {
    return;
  }
  uVar1 = (uint)*param_1;
  if (uVar1 == 0) {
    uVar5 = 0x811c9dc5;
  }
  else {
    uVar5 = 0x811c9dc5;
    pcVar3 = param_1;
    do {
      pcVar3 = pcVar3 + 1;
      uVar5 = uVar1 ^ uVar5 * 0x1000193;
      uVar1 = (uint)*pcVar3;
    } while (uVar1 != 0);
  }
  iVar6 = param_2[1];
  piVar2 = (int *)(*(code *)PTR_xmalloc_001445b0)(0x14);
  iVar4 = param_2[2];
  piVar7 = (int *)(*param_2 + (iVar6 - 1U & uVar5) * 4);
  *piVar2 = *piVar7;
  *piVar7 = (int)piVar2;
  piVar2[1] = (int)param_1;
  piVar2[3] = uVar5;
  piVar2[2] = 0;
  piVar2[4] = 0;
  param_2[2] = iVar4 + 1;
  return;
}


lui gp,0xc
addiu gp,gp,0x619c
addu gp,gp,t9
addiu sp,sp,-0x30
sw gp,0x10(sp)
sw s3,0x28(sp)
or s3,a0,zero
sw ra,0x2c(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
beq a1,zero,0x000864b0
_sw s0,0x1c(sp)
or s2,a1,zero
andi a2,a2,0x1
beq a2,zero,0x00086480
_lw t9,-0x7664(gp)
lb v0,0x0(s3)
beq v0,zero,0x000864d0
_lui a0,0x100
lui s0,0x811c
addiu a0,a0,0x193
or v1,s3,zero
ori s0,s0,0x9dc5
mul s0,s0,a0
addiu v1,v1,0x1
xor s0,v0,s0
lb v0,0x0(v1)
bne v0,zero,0x00086400
_nop
lw s1,0x4(s2)
li a0,0x14
lw t9,-0x7f90(gp)
jalr t9
_addiu s1,s1,-0x1
lw v1,0x0(s2)
and s1,s1,s0
sll s1,s1,0x2
lw a0,0x8(s2)
lw ra,0x2c(sp)
addu s1,v1,s1
addiu a0,a0,0x1
lw v1,0x0(s1)
sw v1,0x0(v0)
sw v0,0x0(s1)
sw s3,0x4(v0)
sw s0,0xc(v0)
sw zero,0x8(v0)
sw zero,0x10(v0)
sw a0,0x8(s2)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
or a1,s2,zero
bal 0x00086064
_or a0,s3,zero
beq v0,zero,0x000863e4
_lw gp,0x10(sp)
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
lw t9,-0x76a4(gp)
or a0,zero,zero
bal 0x00085cf0
_sw a2,0x38(sp)
lw gp,0x10(sp)
or s2,v0,zero
b 0x000863d8
_lw a2,0x38(sp)
lui s0,0x811c
b 0x00086418
_ori s0,s0,0x9dc5
(translation_unit "void hash_insert(char *param_1,int *param_2,uint param_3)\n\n{\n  uint uVar1;\n  int *piVar2;\n  char *pcVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  \n  if (param_2 == (int *)0x0) {\n    param_2 = (int *)hash_create(0);\n  }\n  if (((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0)) {\n    return;\n  }\n  uVar1 = (uint)*param_1;\n  if (uVar1 == 0) {\n    uVar5 = 0x811c9dc5;\n  }\n  else {\n    uVar5 = 0x811c9dc5;\n    pcVar3 = param_1;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }\n  iVar6 = param_2[1];\n  piVar2 = (int *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  iVar4 = param_2[2];\n  piVar7 = (int *)(*param_2 + (iVar6 - 1U & uVar5) * 4);\n  *piVar2 = *piVar7;\n  *piVar7 = (int)piVar2;\n  piVar2[1] = (int)param_1;\n  piVar2[3] = uVar5;\n  piVar2[2] = 0;\n  piVar2[4] = 0;\n  param_2[2] = iVar4 + 1;\n  return;\n}\n\n" (function_definition "void hash_insert(char *param_1,int *param_2,uint param_3)\n\n{\n  uint uVar1;\n  int *piVar2;\n  char *pcVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  \n  if (param_2 == (int *)0x0) {\n    param_2 = (int *)hash_create(0);\n  }\n  if (((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0)) {\n    return;\n  }\n  uVar1 = (uint)*param_1;\n  if (uVar1 == 0) {\n    uVar5 = 0x811c9dc5;\n  }\n  else {\n    uVar5 = 0x811c9dc5;\n    pcVar3 = param_1;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }\n  iVar6 = param_2[1];\n  piVar2 = (int *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  iVar4 = param_2[2];\n  piVar7 = (int *)(*param_2 + (iVar6 - 1U & uVar5) * 4);\n  *piVar2 = *piVar7;\n  *piVar7 = (int)piVar2;\n  piVar2[1] = (int)param_1;\n  piVar2[3] = uVar5;\n  piVar2[2] = 0;\n  piVar2[4] = 0;\n  param_2[2] = iVar4 + 1;\n  return;\n}" primitive_type (function_declarator "hash_insert(char *param_1,int *param_2,uint param_3)" identifier (parameter_list "(char *param_1,int *param_2,uint param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  char *pcVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  \n  if (param_2 == (int *)0x0) {\n    param_2 = (int *)hash_create(0);\n  }\n  if (((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0)) {\n    return;\n  }\n  uVar1 = (uint)*param_1;\n  if (uVar1 == 0) {\n    uVar5 = 0x811c9dc5;\n  }\n  else {\n    uVar5 = 0x811c9dc5;\n    pcVar3 = param_1;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }\n  iVar6 = param_2[1];\n  piVar2 = (int *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  iVar4 = param_2[2];\n  piVar7 = (int *)(*param_2 + (iVar6 - 1U & uVar5) * 4);\n  *piVar2 = *piVar7;\n  *piVar7 = (int)piVar2;\n  piVar2[1] = (int)param_1;\n  piVar2[3] = uVar5;\n  piVar2[2] = 0;\n  piVar2[4] = 0;\n  param_2[2] = iVar4 + 1;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (if_statement "if (param_2 == (int *)0x0) {\n    param_2 = (int *)hash_create(0);\n  }" if (parenthesized_expression "(param_2 == (int *)0x0)" ( (binary_expression "param_2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_2 = (int *)hash_create(0);\n  }" { (expression_statement "param_2 = (int *)hash_create(0);" (assignment_expression "param_2 = (int *)hash_create(0)" identifier = (cast_expression "(int *)hash_create(0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "hash_create(0)" identifier (argument_list "(0)" ( number_literal ))))) ;) })) (if_statement "if (((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0)) {\n    return;\n  }" if (parenthesized_expression "(((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0))" ( (binary_expression "((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0)" (parenthesized_expression "((param_3 & 1) == 0)" ( (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(iVar4 = hash_search(param_1,param_2), iVar4 != 0)" ( (comma_expression "iVar4 = hash_search(param_1,param_2), iVar4 != 0" (assignment_expression "iVar4 = hash_search(param_1,param_2)" identifier = (call_expression "hash_search(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar1 = (uint)*param_1;" (assignment_expression "uVar1 = (uint)*param_1" identifier = (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar1 == 0) {\n    uVar5 = 0x811c9dc5;\n  }\n  else {\n    uVar5 = 0x811c9dc5;\n    pcVar3 = param_1;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar5 = 0x811c9dc5;\n  }" { (expression_statement "uVar5 = 0x811c9dc5;" (assignment_expression "uVar5 = 0x811c9dc5" identifier = number_literal) ;) }) (else_clause "else {\n    uVar5 = 0x811c9dc5;\n    pcVar3 = param_1;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }" else (compound_statement "{\n    uVar5 = 0x811c9dc5;\n    pcVar3 = param_1;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }" { (expression_statement "uVar5 = 0x811c9dc5;" (assignment_expression "uVar5 = 0x811c9dc5" identifier = number_literal) ;) (expression_statement "pcVar3 = param_1;" (assignment_expression "pcVar3 = param_1" identifier = identifier) ;) (do_statement "do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);" do (compound_statement "{\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    }" { (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar1 ^ uVar5 * 0x1000193;" (assignment_expression "uVar5 = uVar1 ^ uVar5 * 0x1000193" identifier = (binary_expression "uVar1 ^ uVar5 * 0x1000193" identifier ^ (binary_expression "uVar5 * 0x1000193" identifier * number_literal))) ;) (expression_statement "uVar1 = (uint)*pcVar3;" (assignment_expression "uVar1 = (uint)*pcVar3" identifier = (binary_expression "(uint)*pcVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) }) while (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) ;) }))) (expression_statement "iVar6 = param_2[1];" (assignment_expression "iVar6 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "piVar2 = (int *)(*(code *)PTR_xmalloc_001445b0)(0x14);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_xmalloc_001445b0)(0x14)" identifier = (cast_expression "(int *)(*(code *)PTR_xmalloc_001445b0)(0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(0x14)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "iVar4 = param_2[2];" (assignment_expression "iVar4 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "piVar7 = (int *)(*param_2 + (iVar6 - 1U & uVar5) * 4);" (assignment_expression "piVar7 = (int *)(*param_2 + (iVar6 - 1U & uVar5) * 4)" identifier = (cast_expression "(int *)(*param_2 + (iVar6 - 1U & uVar5) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + (iVar6 - 1U & uVar5) * 4)" ( (binary_expression "*param_2 + (iVar6 - 1U & uVar5) * 4" (pointer_expression "*param_2" * identifier) + (binary_expression "(iVar6 - 1U & uVar5) * 4" (parenthesized_expression "(iVar6 - 1U & uVar5)" ( (binary_expression "iVar6 - 1U & uVar5" (binary_expression "iVar6 - 1U" identifier - number_literal) & identifier) )) * number_literal)) )))) ;) (expression_statement "*piVar2 = *piVar7;" (assignment_expression "*piVar2 = *piVar7" (pointer_expression "*piVar2" * identifier) = (pointer_expression "*piVar7" * identifier)) ;) (expression_statement "*piVar7 = (int)piVar2;" (assignment_expression "*piVar7 = (int)piVar2" (pointer_expression "*piVar7" * identifier) = (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar2[1] = (int)param_1;" (assignment_expression "piVar2[1] = (int)param_1" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar2[3] = uVar5;" (assignment_expression "piVar2[3] = uVar5" (subscript_expression "piVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2[2] = 0;" (assignment_expression "piVar2[2] = 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[4] = 0;" (assignment_expression "piVar2[4] = 0" (subscript_expression "piVar2[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[2] = iVar4 + 1;" (assignment_expression "param_2[2] = iVar4 + 1" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "BUCKET_CONTENTS * hash_insert(char *string,HASH_TABLE *table,int flags)\n\n{\n  uint uVar1;\n  BUCKET_CONTENTS *pBVar2;\n  char *pcVar3;\n  BUCKET_CONTENTS **ppBVar4;\n  int iVar5;\n  uint uVar6;\n  int iVar7;\n  \n  if (table == (HASH_TABLE *)0x0) {\n    table = hash_create(0);\n  }\n  if (((flags & 1U) == 0) &&\n     (pBVar2 = hash_search(string,table,0), pBVar2 != (BUCKET_CONTENTS *)0x0)) {\n    return pBVar2;\n  }\n  uVar1 = (uint)*string;\n  if (uVar1 == 0) {\n    uVar6 = 0x811c9dc5;\n  }\n  else {\n    uVar6 = 0x811c9dc5;\n    pcVar3 = string;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar6 = uVar1 ^ uVar6 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }\n  iVar7 = table->nbuckets;\n  pBVar2 = (BUCKET_CONTENTS *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  ppBVar4 = table->bucket_array;\n  iVar5 = table->nentries;\n  pBVar2->next = ppBVar4[iVar7 - 1U & uVar6];\n  ppBVar4[iVar7 - 1U & uVar6] = pBVar2;\n  pBVar2->key = string;\n  pBVar2->khash = uVar6;\n  pBVar2->data = (void *)0x0;\n  pBVar2->times_found = 0;\n  table->nentries = iVar5 + 1;\n  return pBVar2;\n}\n\n" (function_definition "BUCKET_CONTENTS * hash_insert(char *string,HASH_TABLE *table,int flags)\n\n{\n  uint uVar1;\n  BUCKET_CONTENTS *pBVar2;\n  char *pcVar3;\n  BUCKET_CONTENTS **ppBVar4;\n  int iVar5;\n  uint uVar6;\n  int iVar7;\n  \n  if (table == (HASH_TABLE *)0x0) {\n    table = hash_create(0);\n  }\n  if (((flags & 1U) == 0) &&\n     (pBVar2 = hash_search(string,table,0), pBVar2 != (BUCKET_CONTENTS *)0x0)) {\n    return pBVar2;\n  }\n  uVar1 = (uint)*string;\n  if (uVar1 == 0) {\n    uVar6 = 0x811c9dc5;\n  }\n  else {\n    uVar6 = 0x811c9dc5;\n    pcVar3 = string;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar6 = uVar1 ^ uVar6 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }\n  iVar7 = table->nbuckets;\n  pBVar2 = (BUCKET_CONTENTS *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  ppBVar4 = table->bucket_array;\n  iVar5 = table->nentries;\n  pBVar2->next = ppBVar4[iVar7 - 1U & uVar6];\n  ppBVar4[iVar7 - 1U & uVar6] = pBVar2;\n  pBVar2->key = string;\n  pBVar2->khash = uVar6;\n  pBVar2->data = (void *)0x0;\n  pBVar2->times_found = 0;\n  table->nentries = iVar5 + 1;\n  return pBVar2;\n}" type_identifier (pointer_declarator "* hash_insert(char *string,HASH_TABLE *table,int flags)" * (function_declarator "hash_insert(char *string,HASH_TABLE *table,int flags)" identifier (parameter_list "(char *string,HASH_TABLE *table,int flags)" ( (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) , (parameter_declaration "HASH_TABLE *table" type_identifier (pointer_declarator "*table" * identifier)) , (parameter_declaration "int flags" primitive_type identifier) )))) (compound_statement "{\n  uint uVar1;\n  BUCKET_CONTENTS *pBVar2;\n  char *pcVar3;\n  BUCKET_CONTENTS **ppBVar4;\n  int iVar5;\n  uint uVar6;\n  int iVar7;\n  \n  if (table == (HASH_TABLE *)0x0) {\n    table = hash_create(0);\n  }\n  if (((flags & 1U) == 0) &&\n     (pBVar2 = hash_search(string,table,0), pBVar2 != (BUCKET_CONTENTS *)0x0)) {\n    return pBVar2;\n  }\n  uVar1 = (uint)*string;\n  if (uVar1 == 0) {\n    uVar6 = 0x811c9dc5;\n  }\n  else {\n    uVar6 = 0x811c9dc5;\n    pcVar3 = string;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar6 = uVar1 ^ uVar6 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }\n  iVar7 = table->nbuckets;\n  pBVar2 = (BUCKET_CONTENTS *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  ppBVar4 = table->bucket_array;\n  iVar5 = table->nentries;\n  pBVar2->next = ppBVar4[iVar7 - 1U & uVar6];\n  ppBVar4[iVar7 - 1U & uVar6] = pBVar2;\n  pBVar2->key = string;\n  pBVar2->khash = uVar6;\n  pBVar2->data = (void *)0x0;\n  pBVar2->times_found = 0;\n  table->nentries = iVar5 + 1;\n  return pBVar2;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "BUCKET_CONTENTS *pBVar2;" type_identifier (pointer_declarator "*pBVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "BUCKET_CONTENTS **ppBVar4;" type_identifier (pointer_declarator "**ppBVar4" * (pointer_declarator "*ppBVar4" * identifier)) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (if_statement "if (table == (HASH_TABLE *)0x0) {\n    table = hash_create(0);\n  }" if (parenthesized_expression "(table == (HASH_TABLE *)0x0)" ( (binary_expression "table == (HASH_TABLE *)0x0" identifier == (cast_expression "(HASH_TABLE *)0x0" ( (type_descriptor "HASH_TABLE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    table = hash_create(0);\n  }" { (expression_statement "table = hash_create(0);" (assignment_expression "table = hash_create(0)" identifier = (call_expression "hash_create(0)" identifier (argument_list "(0)" ( number_literal )))) ;) })) (if_statement "if (((flags & 1U) == 0) &&\n     (pBVar2 = hash_search(string,table,0), pBVar2 != (BUCKET_CONTENTS *)0x0)) {\n    return pBVar2;\n  }" if (parenthesized_expression "(((flags & 1U) == 0) &&\n     (pBVar2 = hash_search(string,table,0), pBVar2 != (BUCKET_CONTENTS *)0x0))" ( (binary_expression "((flags & 1U) == 0) &&\n     (pBVar2 = hash_search(string,table,0), pBVar2 != (BUCKET_CONTENTS *)0x0)" (parenthesized_expression "((flags & 1U) == 0)" ( (binary_expression "(flags & 1U) == 0" (parenthesized_expression "(flags & 1U)" ( (binary_expression "flags & 1U" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(pBVar2 = hash_search(string,table,0), pBVar2 != (BUCKET_CONTENTS *)0x0)" ( (comma_expression "pBVar2 = hash_search(string,table,0), pBVar2 != (BUCKET_CONTENTS *)0x0" (assignment_expression "pBVar2 = hash_search(string,table,0)" identifier = (call_expression "hash_search(string,table,0)" identifier (argument_list "(string,table,0)" ( identifier , identifier , number_literal )))) , (binary_expression "pBVar2 != (BUCKET_CONTENTS *)0x0" identifier != (cast_expression "(BUCKET_CONTENTS *)0x0" ( (type_descriptor "BUCKET_CONTENTS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    return pBVar2;\n  }" { (return_statement "return pBVar2;" return identifier ;) })) (expression_statement "uVar1 = (uint)*string;" (assignment_expression "uVar1 = (uint)*string" identifier = (binary_expression "(uint)*string" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar1 == 0) {\n    uVar6 = 0x811c9dc5;\n  }\n  else {\n    uVar6 = 0x811c9dc5;\n    pcVar3 = string;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar6 = uVar1 ^ uVar6 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar6 = 0x811c9dc5;\n  }" { (expression_statement "uVar6 = 0x811c9dc5;" (assignment_expression "uVar6 = 0x811c9dc5" identifier = number_literal) ;) }) (else_clause "else {\n    uVar6 = 0x811c9dc5;\n    pcVar3 = string;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar6 = uVar1 ^ uVar6 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }" else (compound_statement "{\n    uVar6 = 0x811c9dc5;\n    pcVar3 = string;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar6 = uVar1 ^ uVar6 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }" { (expression_statement "uVar6 = 0x811c9dc5;" (assignment_expression "uVar6 = 0x811c9dc5" identifier = number_literal) ;) (expression_statement "pcVar3 = string;" (assignment_expression "pcVar3 = string" identifier = identifier) ;) (do_statement "do {\n      pcVar3 = pcVar3 + 1;\n      uVar6 = uVar1 ^ uVar6 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);" do (compound_statement "{\n      pcVar3 = pcVar3 + 1;\n      uVar6 = uVar1 ^ uVar6 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    }" { (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar1 ^ uVar6 * 0x1000193;" (assignment_expression "uVar6 = uVar1 ^ uVar6 * 0x1000193" identifier = (binary_expression "uVar1 ^ uVar6 * 0x1000193" identifier ^ (binary_expression "uVar6 * 0x1000193" identifier * number_literal))) ;) (expression_statement "uVar1 = (uint)*pcVar3;" (assignment_expression "uVar1 = (uint)*pcVar3" identifier = (binary_expression "(uint)*pcVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) }) while (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) ;) }))) (expression_statement "iVar7 = table->nbuckets;" (assignment_expression "iVar7 = table->nbuckets" identifier = (field_expression "table->nbuckets" identifier -> field_identifier)) ;) (expression_statement "pBVar2 = (BUCKET_CONTENTS *)(*(code *)PTR_xmalloc_001445b0)(0x14);" (assignment_expression "pBVar2 = (BUCKET_CONTENTS *)(*(code *)PTR_xmalloc_001445b0)(0x14)" identifier = (cast_expression "(BUCKET_CONTENTS *)(*(code *)PTR_xmalloc_001445b0)(0x14)" ( (type_descriptor "BUCKET_CONTENTS *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(0x14)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "ppBVar4 = table->bucket_array;" (assignment_expression "ppBVar4 = table->bucket_array" identifier = (field_expression "table->bucket_array" identifier -> field_identifier)) ;) (expression_statement "iVar5 = table->nentries;" (assignment_expression "iVar5 = table->nentries" identifier = (field_expression "table->nentries" identifier -> field_identifier)) ;) (expression_statement "pBVar2->next = ppBVar4[iVar7 - 1U & uVar6];" (assignment_expression "pBVar2->next = ppBVar4[iVar7 - 1U & uVar6]" (field_expression "pBVar2->next" identifier -> field_identifier) = (subscript_expression "ppBVar4[iVar7 - 1U & uVar6]" identifier [ (binary_expression "iVar7 - 1U & uVar6" (binary_expression "iVar7 - 1U" identifier - number_literal) & identifier) ])) ;) (expression_statement "ppBVar4[iVar7 - 1U & uVar6] = pBVar2;" (assignment_expression "ppBVar4[iVar7 - 1U & uVar6] = pBVar2" (subscript_expression "ppBVar4[iVar7 - 1U & uVar6]" identifier [ (binary_expression "iVar7 - 1U & uVar6" (binary_expression "iVar7 - 1U" identifier - number_literal) & identifier) ]) = identifier) ;) (expression_statement "pBVar2->key = string;" (assignment_expression "pBVar2->key = string" (field_expression "pBVar2->key" identifier -> field_identifier) = identifier) ;) (expression_statement "pBVar2->khash = uVar6;" (assignment_expression "pBVar2->khash = uVar6" (field_expression "pBVar2->khash" identifier -> field_identifier) = identifier) ;) (expression_statement "pBVar2->data = (void *)0x0;" (assignment_expression "pBVar2->data = (void *)0x0" (field_expression "pBVar2->data" identifier -> field_identifier) = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pBVar2->times_found = 0;" (assignment_expression "pBVar2->times_found = 0" (field_expression "pBVar2->times_found" identifier -> field_identifier) = number_literal) ;) (expression_statement "table->nentries = iVar5 + 1;" (assignment_expression "table->nentries = iVar5 + 1" (field_expression "table->nentries" identifier -> field_identifier) = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (return_statement "return pBVar2;" return identifier ;) })))
(translation_unit "void hash_insert(char *param_1,int *param_2,uint param_3)\n\n{\n  uint uVar1;\n  int *piVar2;\n  char *pcVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  \n  if (param_2 == (int *)0x0) {\n    param_2 = (int *)hash_create(0);\n  }\n  if (((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0)) {\n    return;\n  }\n  uVar1 = (uint)*param_1;\n  if (uVar1 == 0) {\n    uVar5 = 0x811c9dc5;\n  }\n  else {\n    uVar5 = 0x811c9dc5;\n    pcVar3 = param_1;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }\n  iVar6 = param_2[1];\n  piVar2 = (int *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  iVar4 = param_2[2];\n  piVar7 = (int *)(*param_2 + (iVar6 - 1U & uVar5) * 4);\n  *piVar2 = *piVar7;\n  *piVar7 = (int)piVar2;\n  piVar2[1] = (int)param_1;\n  piVar2[3] = uVar5;\n  piVar2[2] = 0;\n  piVar2[4] = 0;\n  param_2[2] = iVar4 + 1;\n  return;\n}\n\n" (function_definition "void hash_insert(char *param_1,int *param_2,uint param_3)\n\n{\n  uint uVar1;\n  int *piVar2;\n  char *pcVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  \n  if (param_2 == (int *)0x0) {\n    param_2 = (int *)hash_create(0);\n  }\n  if (((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0)) {\n    return;\n  }\n  uVar1 = (uint)*param_1;\n  if (uVar1 == 0) {\n    uVar5 = 0x811c9dc5;\n  }\n  else {\n    uVar5 = 0x811c9dc5;\n    pcVar3 = param_1;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }\n  iVar6 = param_2[1];\n  piVar2 = (int *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  iVar4 = param_2[2];\n  piVar7 = (int *)(*param_2 + (iVar6 - 1U & uVar5) * 4);\n  *piVar2 = *piVar7;\n  *piVar7 = (int)piVar2;\n  piVar2[1] = (int)param_1;\n  piVar2[3] = uVar5;\n  piVar2[2] = 0;\n  piVar2[4] = 0;\n  param_2[2] = iVar4 + 1;\n  return;\n}" primitive_type (function_declarator "hash_insert(char *param_1,int *param_2,uint param_3)" identifier (parameter_list "(char *param_1,int *param_2,uint param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  char *pcVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  \n  if (param_2 == (int *)0x0) {\n    param_2 = (int *)hash_create(0);\n  }\n  if (((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0)) {\n    return;\n  }\n  uVar1 = (uint)*param_1;\n  if (uVar1 == 0) {\n    uVar5 = 0x811c9dc5;\n  }\n  else {\n    uVar5 = 0x811c9dc5;\n    pcVar3 = param_1;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }\n  iVar6 = param_2[1];\n  piVar2 = (int *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  iVar4 = param_2[2];\n  piVar7 = (int *)(*param_2 + (iVar6 - 1U & uVar5) * 4);\n  *piVar2 = *piVar7;\n  *piVar7 = (int)piVar2;\n  piVar2[1] = (int)param_1;\n  piVar2[3] = uVar5;\n  piVar2[2] = 0;\n  piVar2[4] = 0;\n  param_2[2] = iVar4 + 1;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (if_statement "if (param_2 == (int *)0x0) {\n    param_2 = (int *)hash_create(0);\n  }" if (parenthesized_expression "(param_2 == (int *)0x0)" ( (binary_expression "param_2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_2 = (int *)hash_create(0);\n  }" { (expression_statement "param_2 = (int *)hash_create(0);" (assignment_expression "param_2 = (int *)hash_create(0)" identifier = (cast_expression "(int *)hash_create(0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "hash_create(0)" identifier (argument_list "(0)" ( number_literal ))))) ;) })) (if_statement "if (((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0)) {\n    return;\n  }" if (parenthesized_expression "(((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0))" ( (binary_expression "((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0)" (parenthesized_expression "((param_3 & 1) == 0)" ( (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(iVar4 = hash_search(param_1,param_2), iVar4 != 0)" ( (comma_expression "iVar4 = hash_search(param_1,param_2), iVar4 != 0" (assignment_expression "iVar4 = hash_search(param_1,param_2)" identifier = (call_expression "hash_search(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar1 = (uint)*param_1;" (assignment_expression "uVar1 = (uint)*param_1" identifier = (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar1 == 0) {\n    uVar5 = 0x811c9dc5;\n  }\n  else {\n    uVar5 = 0x811c9dc5;\n    pcVar3 = param_1;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar5 = 0x811c9dc5;\n  }" { (expression_statement "uVar5 = 0x811c9dc5;" (assignment_expression "uVar5 = 0x811c9dc5" identifier = number_literal) ;) }) (else_clause "else {\n    uVar5 = 0x811c9dc5;\n    pcVar3 = param_1;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }" else (compound_statement "{\n    uVar5 = 0x811c9dc5;\n    pcVar3 = param_1;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }" { (expression_statement "uVar5 = 0x811c9dc5;" (assignment_expression "uVar5 = 0x811c9dc5" identifier = number_literal) ;) (expression_statement "pcVar3 = param_1;" (assignment_expression "pcVar3 = param_1" identifier = identifier) ;) (do_statement "do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);" do (compound_statement "{\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    }" { (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar1 ^ uVar5 * 0x1000193;" (assignment_expression "uVar5 = uVar1 ^ uVar5 * 0x1000193" identifier = (binary_expression "uVar1 ^ uVar5 * 0x1000193" identifier ^ (binary_expression "uVar5 * 0x1000193" identifier * number_literal))) ;) (expression_statement "uVar1 = (uint)*pcVar3;" (assignment_expression "uVar1 = (uint)*pcVar3" identifier = (binary_expression "(uint)*pcVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) }) while (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) ;) }))) (expression_statement "iVar6 = param_2[1];" (assignment_expression "iVar6 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "piVar2 = (int *)(*(code *)PTR_xmalloc_001445b0)(0x14);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_xmalloc_001445b0)(0x14)" identifier = (cast_expression "(int *)(*(code *)PTR_xmalloc_001445b0)(0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(0x14)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "iVar4 = param_2[2];" (assignment_expression "iVar4 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "piVar7 = (int *)(*param_2 + (iVar6 - 1U & uVar5) * 4);" (assignment_expression "piVar7 = (int *)(*param_2 + (iVar6 - 1U & uVar5) * 4)" identifier = (cast_expression "(int *)(*param_2 + (iVar6 - 1U & uVar5) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + (iVar6 - 1U & uVar5) * 4)" ( (binary_expression "*param_2 + (iVar6 - 1U & uVar5) * 4" (pointer_expression "*param_2" * identifier) + (binary_expression "(iVar6 - 1U & uVar5) * 4" (parenthesized_expression "(iVar6 - 1U & uVar5)" ( (binary_expression "iVar6 - 1U & uVar5" (binary_expression "iVar6 - 1U" identifier - number_literal) & identifier) )) * number_literal)) )))) ;) (expression_statement "*piVar2 = *piVar7;" (assignment_expression "*piVar2 = *piVar7" (pointer_expression "*piVar2" * identifier) = (pointer_expression "*piVar7" * identifier)) ;) (expression_statement "*piVar7 = (int)piVar2;" (assignment_expression "*piVar7 = (int)piVar2" (pointer_expression "*piVar7" * identifier) = (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar2[1] = (int)param_1;" (assignment_expression "piVar2[1] = (int)param_1" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar2[3] = uVar5;" (assignment_expression "piVar2[3] = uVar5" (subscript_expression "piVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar2[2] = 0;" (assignment_expression "piVar2[2] = 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[4] = 0;" (assignment_expression "piVar2[4] = 0" (subscript_expression "piVar2[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[2] = iVar4 + 1;" (assignment_expression "param_2[2] = iVar4 + 1" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * 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 = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT ^ (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & IDENT) )) * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (return_statement return ;) })))
(function_definition "void hash_insert(char *param_1,int *param_2,uint param_3)\n\n{\n  uint uVar1;\n  int *piVar2;\n  char *pcVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  \n  if (param_2 == (int *)0x0) {\n    param_2 = (int *)hash_create(0);\n  }\n  if (((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0)) {\n    return;\n  }\n  uVar1 = (uint)*param_1;\n  if (uVar1 == 0) {\n    uVar5 = 0x811c9dc5;\n  }\n  else {\n    uVar5 = 0x811c9dc5;\n    pcVar3 = param_1;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }\n  iVar6 = param_2[1];\n  piVar2 = (int *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  iVar4 = param_2[2];\n  piVar7 = (int *)(*param_2 + (iVar6 - 1U & uVar5) * 4);\n  *piVar2 = *piVar7;\n  *piVar7 = (int)piVar2;\n  piVar2[1] = (int)param_1;\n  piVar2[3] = uVar5;\n  piVar2[2] = 0;\n  piVar2[4] = 0;\n  param_2[2] = iVar4 + 1;\n  return;\n}" (primitive_type "void") (function_declarator "hash_insert(char *param_1,int *param_2,uint param_3)" (identifier "hash_insert") (parameter_list "(char *param_1,int *param_2,uint param_3)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  char *pcVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  \n  if (param_2 == (int *)0x0) {\n    param_2 = (int *)hash_create(0);\n  }\n  if (((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0)) {\n    return;\n  }\n  uVar1 = (uint)*param_1;\n  if (uVar1 == 0) {\n    uVar5 = 0x811c9dc5;\n  }\n  else {\n    uVar5 = 0x811c9dc5;\n    pcVar3 = param_1;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }\n  iVar6 = param_2[1];\n  piVar2 = (int *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  iVar4 = param_2[2];\n  piVar7 = (int *)(*param_2 + (iVar6 - 1U & uVar5) * 4);\n  *piVar2 = *piVar7;\n  *piVar7 = (int)piVar2;\n  piVar2[1] = (int)param_1;\n  piVar2[3] = uVar5;\n  piVar2[2] = 0;\n  piVar2[4] = 0;\n  param_2[2] = iVar4 + 1;\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (if_statement "if (param_2 == (int *)0x0) {\n    param_2 = (int *)hash_create(0);\n  }" (if "if") (parenthesized_expression "(param_2 == (int *)0x0)" (( "(") (binary_expression "param_2 == (int *)0x0" (identifier "param_2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    param_2 = (int *)hash_create(0);\n  }" ({ "{") (expression_statement "param_2 = (int *)hash_create(0);" (assignment_expression "param_2 = (int *)hash_create(0)" (identifier "param_2") (= "=") (cast_expression "(int *)hash_create(0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "hash_create(0)" (identifier "hash_create") (argument_list "(0)" (( "(") (number_literal "0") () ")"))))) (; ";")) (} "}"))) (if_statement "if (((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0)) {\n    return;\n  }" (if "if") (parenthesized_expression "(((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0))" (( "(") (binary_expression "((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0)" (parenthesized_expression "((param_3 & 1) == 0)" (( "(") (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" (( "(") (binary_expression "param_3 & 1" (identifier "param_3") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = hash_search(param_1,param_2), iVar4 != 0)" (( "(") (comma_expression "iVar4 = hash_search(param_1,param_2), iVar4 != 0" (assignment_expression "iVar4 = hash_search(param_1,param_2)" (identifier "iVar4") (= "=") (call_expression "hash_search(param_1,param_2)" (identifier "hash_search") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (, ",") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar1 = (uint)*param_1;" (assignment_expression "uVar1 = (uint)*param_1" (identifier "uVar1") (= "=") (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (uVar1 == 0) {\n    uVar5 = 0x811c9dc5;\n  }\n  else {\n    uVar5 = 0x811c9dc5;\n    pcVar3 = param_1;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar5 = 0x811c9dc5;\n  }" ({ "{") (expression_statement "uVar5 = 0x811c9dc5;" (assignment_expression "uVar5 = 0x811c9dc5" (identifier "uVar5") (= "=") (number_literal "0x811c9dc5")) (; ";")) (} "}")) (else_clause "else {\n    uVar5 = 0x811c9dc5;\n    pcVar3 = param_1;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }" (else "else") (compound_statement "{\n    uVar5 = 0x811c9dc5;\n    pcVar3 = param_1;\n    do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);\n  }" ({ "{") (expression_statement "uVar5 = 0x811c9dc5;" (assignment_expression "uVar5 = 0x811c9dc5" (identifier "uVar5") (= "=") (number_literal "0x811c9dc5")) (; ";")) (expression_statement "pcVar3 = param_1;" (assignment_expression "pcVar3 = param_1" (identifier "pcVar3") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    } while (uVar1 != 0);" (do "do") (compound_statement "{\n      pcVar3 = pcVar3 + 1;\n      uVar5 = uVar1 ^ uVar5 * 0x1000193;\n      uVar1 = (uint)*pcVar3;\n    }" ({ "{") (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" (identifier "pcVar3") (= "=") (binary_expression "pcVar3 + 1" (identifier "pcVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar5 = uVar1 ^ uVar5 * 0x1000193;" (assignment_expression "uVar5 = uVar1 ^ uVar5 * 0x1000193" (identifier "uVar5") (= "=") (binary_expression "uVar1 ^ uVar5 * 0x1000193" (identifier "uVar1") (^ "^") (binary_expression "uVar5 * 0x1000193" (identifier "uVar5") (* "*") (number_literal "0x1000193")))) (; ";")) (expression_statement "uVar1 = (uint)*pcVar3;" (assignment_expression "uVar1 = (uint)*pcVar3" (identifier "uVar1") (= "=") (binary_expression "(uint)*pcVar3" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pcVar3"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar1 != 0)" (( "(") (binary_expression "uVar1 != 0" (identifier "uVar1") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")))) (expression_statement "iVar6 = param_2[1];" (assignment_expression "iVar6 = param_2[1]" (identifier "iVar6") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar2 = (int *)(*(code *)PTR_xmalloc_001445b0)(0x14);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_xmalloc_001445b0)(0x14)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR_xmalloc_001445b0)(0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_001445b0)(0x14)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001445b0" (* "*") (cast_expression "(code *)PTR_xmalloc_001445b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001445b0"))) () ")")) (argument_list "(0x14)" (( "(") (number_literal "0x14") () ")"))))) (; ";")) (expression_statement "iVar4 = param_2[2];" (assignment_expression "iVar4 = param_2[2]" (identifier "iVar4") (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "piVar7 = (int *)(*param_2 + (iVar6 - 1U & uVar5) * 4);" (assignment_expression "piVar7 = (int *)(*param_2 + (iVar6 - 1U & uVar5) * 4)" (identifier "piVar7") (= "=") (cast_expression "(int *)(*param_2 + (iVar6 - 1U & uVar5) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + (iVar6 - 1U & uVar5) * 4)" (( "(") (binary_expression "*param_2 + (iVar6 - 1U & uVar5) * 4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (binary_expression "(iVar6 - 1U & uVar5) * 4" (parenthesized_expression "(iVar6 - 1U & uVar5)" (( "(") (binary_expression "iVar6 - 1U & uVar5" (binary_expression "iVar6 - 1U" (identifier "iVar6") (- "-") (number_literal "1U")) (& "&") (identifier "uVar5")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "*piVar2 = *piVar7;" (assignment_expression "*piVar2 = *piVar7" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (pointer_expression "*piVar7" (* "*") (identifier "piVar7"))) (; ";")) (expression_statement "*piVar7 = (int)piVar2;" (assignment_expression "*piVar7 = (int)piVar2" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (cast_expression "(int)piVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar2"))) (; ";")) (expression_statement "piVar2[1] = (int)param_1;" (assignment_expression "piVar2[1] = (int)param_1" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) (; ";")) (expression_statement "piVar2[3] = uVar5;" (assignment_expression "piVar2[3] = uVar5" (subscript_expression "piVar2[3]" (identifier "piVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "piVar2[2] = 0;" (assignment_expression "piVar2[2] = 0" (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[4] = 0;" (assignment_expression "piVar2[4] = 0" (subscript_expression "piVar2[4]" (identifier "piVar2") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2[2] = iVar4 + 1;" (assignment_expression "param_2[2] = iVar4 + 1" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (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))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) 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: (number_literal)) right: (identifier))) right: (number_literal))))))) (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: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (return_statement))))

void MASKED(char *param_1,int *param_2,uint param_3)

{
  uint uVar1;
  int *piVar2;
  char *pcVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  int *piVar7;
  
  if (param_2 == (int *)0x0) {
    param_2 = (int *)hash_create(0);
  }
  if (((param_3 & 1) == 0) && (iVar4 = hash_search(param_1,param_2), iVar4 != 0)) {
    return;
  }
  uVar1 = (uint)*param_1;
  if (uVar1 == 0) {
    uVar5 = 0x811c9dc5;
  }
  else {
    uVar5 = 0x811c9dc5;
    pcVar3 = param_1;
    do {
      pcVar3 = pcVar3 + 1;
      uVar5 = uVar1 ^ uVar5 * 0x1000193;
      uVar1 = (uint)*pcVar3;
    } while (uVar1 != 0);
  }
  iVar6 = param_2[1];
  piVar2 = (int *)(*(code *)PTR_xmalloc_001445b0)(0x14);
  iVar4 = param_2[2];
  piVar7 = (int *)(*param_2 + (iVar6 - 1U & uVar5) * 4);
  *piVar2 = *piVar7;
  *piVar7 = (int)piVar2;
  piVar2[1] = (int)param_1;
  piVar2[3] = uVar5;
  piVar2[2] = 0;
  piVar2[4] = 0;
  param_2[2] = iVar4 + 1;
  return;
}

