
/* WARNING: Unknown calling convention */

void hash_clear(Hash_table *table)

{
  hash_entry *phVar1;
  hash_entry *phVar2;
  Hash_data_freer p_Var3;
  hash_entry *phVar4;
  hash_entry *phVar5;
  
  phVar2 = table->bucket_limit;
  phVar5 = table->bucket;
  if (table->bucket < phVar2) {
    do {
      while (phVar5->data == (void *)0x0) {
        phVar5 = phVar5 + 1;
        if (phVar2 <= phVar5) goto LAB_0002a1ae;
      }
      p_Var3 = table->data_freer;
      phVar2 = phVar5->next;
      if (phVar5->next != (hash_entry *)0x0) {
LAB_0002a160:
        if (p_Var3 != (Hash_data_freer)0x0) goto code_r0x0002a164;
        phVar4 = table->free_entry_list;
        do {
          phVar1 = phVar2->next;
          phVar2->data = (void *)0x0;
          phVar2->next = phVar4;
          table->free_entry_list = phVar2;
          phVar4 = phVar2;
          phVar2 = phVar1;
        } while (phVar1 != (hash_entry *)0x0);
        goto LAB_0002a197;
      }
LAB_0002a189:
      if (p_Var3 != (Hash_data_freer)0x0) {
        (*p_Var3)(phVar5->data);
      }
LAB_0002a197:
      phVar5->data = (void *)0x0;
      phVar4 = phVar5 + 1;
      phVar5->next = (hash_entry *)0x0;
      phVar2 = table->bucket_limit;
      phVar5 = phVar4;
    } while (phVar4 < phVar2);
  }
LAB_0002a1ae:
  table->n_buckets_used = 0;
  table->n_entries = 0;
  return;
code_r0x0002a164:
  (*p_Var3)(phVar2->data);
  phVar4 = phVar2->next;
  phVar1 = table->free_entry_list;
  p_Var3 = table->data_freer;
  phVar2->data = (void *)0x0;
  phVar2->next = phVar1;
  table->free_entry_list = phVar2;
  phVar2 = phVar4;
  if (phVar4 == (hash_entry *)0x0) goto LAB_0002a189;
  goto LAB_0002a160;
}



void FUN_0002a130(undefined4 *param_1)

{
  undefined4 uVar1;
  undefined4 *puVar2;
  int *piVar3;
  code *pcVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  int *piVar7;
  int *piVar8;
  
  piVar3 = (int *)param_1[1];
  piVar7 = (int *)*param_1;
  if ((int *)*param_1 < piVar3) {
    do {
      while (*piVar7 == 0) {
        piVar7 = piVar7 + 2;
        if (piVar3 <= piVar7) goto LAB_0002a1ae;
      }
      pcVar4 = (code *)param_1[8];
      puVar6 = (undefined4 *)piVar7[1];
      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {
LAB_0002a160:
        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;
        puVar5 = (undefined4 *)param_1[9];
        do {
          puVar2 = (undefined4 *)puVar6[1];
          *puVar6 = 0;
          puVar6[1] = puVar5;
          param_1[9] = puVar6;
          puVar5 = puVar6;
          puVar6 = puVar2;
        } while (puVar2 != (undefined4 *)0x0);
        goto LAB_0002a197;
      }
LAB_0002a189:
      if (pcVar4 != (code *)0x0) {
        (*pcVar4)(*piVar7);
      }
LAB_0002a197:
      *piVar7 = 0;
      piVar8 = piVar7 + 2;
      piVar7[1] = 0;
      piVar3 = (int *)param_1[1];
      piVar7 = piVar8;
    } while (piVar8 < piVar3);
  }
LAB_0002a1ae:
  param_1[3] = 0;
  param_1[4] = 0;
  return;
code_r0x0002a164:
  (*pcVar4)(*puVar6);
  puVar5 = (undefined4 *)puVar6[1];
  uVar1 = param_1[9];
  pcVar4 = (code *)param_1[8];
  *puVar6 = 0;
  puVar6[1] = uVar1;
  param_1[9] = puVar6;
  puVar6 = puVar5;
  if (puVar5 == (undefined4 *)0x0) goto LAB_0002a189;
  goto LAB_0002a160;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
MOV EDI,dword ptr [ESI]
MOV EAX,dword ptr [ESI + 0x4]
CMP EDI,EAX
JC 0x0002a14f
JMP 0x0002a1ae
ADD EDI,0x8
CMP EAX,EDI
JBE 0x0002a1ae
MOV EDX,dword ptr [EDI]
TEST EDX,EDX
JZ 0x0002a148
MOV EBX,dword ptr [EDI + 0x4]
MOV EAX,dword ptr [ESI + 0x20]
TEST EBX,EBX
JZ 0x0002a189
NOP
TEST EAX,EAX
JZ 0x0002a1c0
SUB ESP,0xc
PUSH dword ptr [EBX]
CALL EAX
MOV ECX,dword ptr [EBX + 0x4]
MOV EDX,dword ptr [ESI + 0x24]
MOV EAX,dword ptr [ESI + 0x20]
MOV dword ptr [EBX],0x0
ADD ESP,0x10
MOV dword ptr [EBX + 0x4],EDX
MOV dword ptr [ESI + 0x24],EBX
MOV EBX,ECX
TEST ECX,ECX
JNZ 0x0002a160
TEST EAX,EAX
JZ 0x0002a197
SUB ESP,0xc
PUSH dword ptr [EDI]
CALL EAX
ADD ESP,0x10
MOV dword ptr [EDI],0x0
ADD EDI,0x8
MOV dword ptr [EDI + -0x4],0x0
MOV EAX,dword ptr [ESI + 0x4]
CMP EAX,EDI
JA 0x0002a14f
MOV dword ptr [ESI + 0xc],0x0
MOV dword ptr [ESI + 0x10],0x0
POP EBX
POP ESI
POP EDI
RET
MOV EDX,dword ptr [ESI + 0x24]
MOV EAX,dword ptr [EBX + 0x4]
MOV dword ptr [EBX],0x0
MOV dword ptr [EBX + 0x4],EDX
MOV EDX,EBX
MOV dword ptr [ESI + 0x24],EBX
MOV EBX,EAX
TEST EAX,EAX
JNZ 0x0002a1c3
JMP 0x0002a197
(translation_unit "void FUN_0002a130(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  code *pcVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  int *piVar8;\n  \n  piVar3 = (int *)param_1[1];\n  piVar7 = (int *)*param_1;\n  if ((int *)*param_1 < piVar3) {\n    do {\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    } while (piVar8 < piVar3);\n  }\nLAB_0002a1ae:\n  param_1[3] = 0;\n  param_1[4] = 0;\n  return;\ncode_r0x0002a164:\n  (*pcVar4)(*puVar6);\n  puVar5 = (undefined4 *)puVar6[1];\n  uVar1 = param_1[9];\n  pcVar4 = (code *)param_1[8];\n  *puVar6 = 0;\n  puVar6[1] = uVar1;\n  param_1[9] = puVar6;\n  puVar6 = puVar5;\n  if (puVar5 == (undefined4 *)0x0) goto LAB_0002a189;\n  goto LAB_0002a160;\n}\n\n" (function_definition "void FUN_0002a130(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  code *pcVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  int *piVar8;\n  \n  piVar3 = (int *)param_1[1];\n  piVar7 = (int *)*param_1;\n  if ((int *)*param_1 < piVar3) {\n    do {\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    } while (piVar8 < piVar3);\n  }\nLAB_0002a1ae:\n  param_1[3] = 0;\n  param_1[4] = 0;\n  return;\ncode_r0x0002a164:\n  (*pcVar4)(*puVar6);\n  puVar5 = (undefined4 *)puVar6[1];\n  uVar1 = param_1[9];\n  pcVar4 = (code *)param_1[8];\n  *puVar6 = 0;\n  puVar6[1] = uVar1;\n  param_1[9] = puVar6;\n  puVar6 = puVar5;\n  if (puVar5 == (undefined4 *)0x0) goto LAB_0002a189;\n  goto LAB_0002a160;\n}" primitive_type (function_declarator "FUN_0002a130(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  code *pcVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  int *piVar8;\n  \n  piVar3 = (int *)param_1[1];\n  piVar7 = (int *)*param_1;\n  if ((int *)*param_1 < piVar3) {\n    do {\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    } while (piVar8 < piVar3);\n  }\nLAB_0002a1ae:\n  param_1[3] = 0;\n  param_1[4] = 0;\n  return;\ncode_r0x0002a164:\n  (*pcVar4)(*puVar6);\n  puVar5 = (undefined4 *)puVar6[1];\n  uVar1 = param_1[9];\n  pcVar4 = (code *)param_1[8];\n  *puVar6 = 0;\n  puVar6[1] = uVar1;\n  param_1[9] = puVar6;\n  puVar6 = puVar5;\n  if (puVar5 == (undefined4 *)0x0) goto LAB_0002a189;\n  goto LAB_0002a160;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (expression_statement "piVar3 = (int *)param_1[1];" (assignment_expression "piVar3 = (int *)param_1[1]" identifier = (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar7 = (int *)*param_1;" (assignment_expression "piVar7 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if ((int *)*param_1 < piVar3) {\n    do {\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    } while (piVar8 < piVar3);\n  }" if (parenthesized_expression "((int *)*param_1 < piVar3)" ( (binary_expression "(int *)*param_1 < piVar3" (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) < identifier) )) (compound_statement "{\n    do {\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    } while (piVar8 < piVar3);\n  }" { (do_statement "do {\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    } while (piVar8 < piVar3);" do (compound_statement "{\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    }" { (while_statement "while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }" while (parenthesized_expression "(*piVar7 == 0)" ( (binary_expression "*piVar7 == 0" (pointer_expression "*piVar7" * identifier) == number_literal) )) (compound_statement "{\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }" { (expression_statement "piVar7 = piVar7 + 2;" (assignment_expression "piVar7 = piVar7 + 2" identifier = (binary_expression "piVar7 + 2" identifier + number_literal)) ;) (if_statement "if (piVar3 <= piVar7) goto LAB_0002a1ae;" if (parenthesized_expression "(piVar3 <= piVar7)" ( (binary_expression "piVar3 <= piVar7" identifier <= identifier) )) (goto_statement "goto LAB_0002a1ae;" goto statement_identifier ;)) })) (expression_statement "pcVar4 = (code *)param_1[8];" (assignment_expression "pcVar4 = (code *)param_1[8]" identifier = (cast_expression "(code *)param_1[8]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ]))) ;) (expression_statement "puVar6 = (undefined4 *)piVar7[1];" (assignment_expression "puVar6 = (undefined4 *)piVar7[1]" identifier = (cast_expression "(undefined4 *)piVar7[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[1]" identifier [ number_literal ]))) ;) (if_statement "if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }" if (parenthesized_expression "((undefined4 *)piVar7[1] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar7[1] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar7[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[1]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }" { (labeled_statement "LAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;" statement_identifier : (if_statement "if (pcVar4 != (code *)0x0) goto code_r0x0002a164;" if (parenthesized_expression "(pcVar4 != (code *)0x0)" ( (binary_expression "pcVar4 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto code_r0x0002a164;" goto statement_identifier ;))) (expression_statement "puVar5 = (undefined4 *)param_1[9];" (assignment_expression "puVar5 = (undefined4 *)param_1[9]" identifier = (cast_expression "(undefined4 *)param_1[9]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[9]" identifier [ number_literal ]))) ;) (do_statement "do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);" do (compound_statement "{\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        }" { (expression_statement "puVar2 = (undefined4 *)puVar6[1];" (assignment_expression "puVar2 = (undefined4 *)puVar6[1]" identifier = (cast_expression "(undefined4 *)puVar6[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar6[1]" identifier [ number_literal ]))) ;) (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "puVar6[1] = puVar5;" (assignment_expression "puVar6[1] = puVar5" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[9] = puVar6;" (assignment_expression "param_1[9] = puVar6" (subscript_expression "param_1[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5 = puVar6;" (assignment_expression "puVar5 = puVar6" identifier = identifier) ;) (expression_statement "puVar6 = puVar2;" (assignment_expression "puVar6 = puVar2" identifier = identifier) ;) }) while (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" ( (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (goto_statement "goto LAB_0002a197;" goto statement_identifier ;) })) (labeled_statement "LAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }" statement_identifier : (if_statement "if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }" if (parenthesized_expression "(pcVar4 != (code *)0x0)" ( (binary_expression "pcVar4 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*pcVar4)(*piVar7);\n      }" { (expression_statement "(*pcVar4)(*piVar7);" (call_expression "(*pcVar4)(*piVar7)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(*piVar7)" ( (pointer_expression "*piVar7" * identifier) ))) ;) }))) (labeled_statement "LAB_0002a197:\n      *piVar7 = 0;" statement_identifier : (expression_statement "*piVar7 = 0;" (assignment_expression "*piVar7 = 0" (pointer_expression "*piVar7" * identifier) = number_literal) ;)) (expression_statement "piVar8 = piVar7 + 2;" (assignment_expression "piVar8 = piVar7 + 2" identifier = (binary_expression "piVar7 + 2" identifier + number_literal)) ;) (expression_statement "piVar7[1] = 0;" (assignment_expression "piVar7[1] = 0" (subscript_expression "piVar7[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3 = (int *)param_1[1];" (assignment_expression "piVar3 = (int *)param_1[1]" identifier = (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar7 = piVar8;" (assignment_expression "piVar7 = piVar8" identifier = identifier) ;) }) while (parenthesized_expression "(piVar8 < piVar3)" ( (binary_expression "piVar8 < piVar3" identifier < identifier) )) ;) })) (labeled_statement "LAB_0002a1ae:\n  param_1[3] = 0;" statement_identifier : (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) (labeled_statement "code_r0x0002a164:\n  (*pcVar4)(*puVar6);" statement_identifier : (expression_statement "(*pcVar4)(*puVar6);" (call_expression "(*pcVar4)(*puVar6)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(*puVar6)" ( (pointer_expression "*puVar6" * identifier) ))) ;)) (expression_statement "puVar5 = (undefined4 *)puVar6[1];" (assignment_expression "puVar5 = (undefined4 *)puVar6[1]" identifier = (cast_expression "(undefined4 *)puVar6[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar6[1]" identifier [ number_literal ]))) ;) (expression_statement "uVar1 = param_1[9];" (assignment_expression "uVar1 = param_1[9]" identifier = (subscript_expression "param_1[9]" identifier [ number_literal ])) ;) (expression_statement "pcVar4 = (code *)param_1[8];" (assignment_expression "pcVar4 = (code *)param_1[8]" identifier = (cast_expression "(code *)param_1[8]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ]))) ;) (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "puVar6[1] = uVar1;" (assignment_expression "puVar6[1] = uVar1" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[9] = puVar6;" (assignment_expression "param_1[9] = puVar6" (subscript_expression "param_1[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" identifier = identifier) ;) (if_statement "if (puVar5 == (undefined4 *)0x0) goto LAB_0002a189;" if (parenthesized_expression "(puVar5 == (undefined4 *)0x0)" ( (binary_expression "puVar5 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0002a189;" goto statement_identifier ;)) (goto_statement "goto LAB_0002a160;" goto statement_identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid hash_clear(Hash_table *table)\n\n{\n  hash_entry *phVar1;\n  hash_entry *phVar2;\n  Hash_data_freer p_Var3;\n  hash_entry *phVar4;\n  hash_entry *phVar5;\n  \n  phVar2 = table->bucket_limit;\n  phVar5 = table->bucket;\n  if (table->bucket < phVar2) {\n    do {\n      while (phVar5->data == (void *)0x0) {\n        phVar5 = phVar5 + 1;\n        if (phVar2 <= phVar5) goto LAB_0002a1ae;\n      }\n      p_Var3 = table->data_freer;\n      phVar2 = phVar5->next;\n      if (phVar5->next != (hash_entry *)0x0) {\nLAB_0002a160:\n        if (p_Var3 != (Hash_data_freer)0x0) goto code_r0x0002a164;\n        phVar4 = table->free_entry_list;\n        do {\n          phVar1 = phVar2->next;\n          phVar2->data = (void *)0x0;\n          phVar2->next = phVar4;\n          table->free_entry_list = phVar2;\n          phVar4 = phVar2;\n          phVar2 = phVar1;\n        } while (phVar1 != (hash_entry *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (p_Var3 != (Hash_data_freer)0x0) {\n        (*p_Var3)(phVar5->data);\n      }\nLAB_0002a197:\n      phVar5->data = (void *)0x0;\n      phVar4 = phVar5 + 1;\n      phVar5->next = (hash_entry *)0x0;\n      phVar2 = table->bucket_limit;\n      phVar5 = phVar4;\n    } while (phVar4 < phVar2);\n  }\nLAB_0002a1ae:\n  table->n_buckets_used = 0;\n  table->n_entries = 0;\n  return;\ncode_r0x0002a164:\n  (*p_Var3)(phVar2->data);\n  phVar4 = phVar2->next;\n  phVar1 = table->free_entry_list;\n  p_Var3 = table->data_freer;\n  phVar2->data = (void *)0x0;\n  phVar2->next = phVar1;\n  table->free_entry_list = phVar2;\n  phVar2 = phVar4;\n  if (phVar4 == (hash_entry *)0x0) goto LAB_0002a189;\n  goto LAB_0002a160;\n}\n\n" comment (function_definition "void hash_clear(Hash_table *table)\n\n{\n  hash_entry *phVar1;\n  hash_entry *phVar2;\n  Hash_data_freer p_Var3;\n  hash_entry *phVar4;\n  hash_entry *phVar5;\n  \n  phVar2 = table->bucket_limit;\n  phVar5 = table->bucket;\n  if (table->bucket < phVar2) {\n    do {\n      while (phVar5->data == (void *)0x0) {\n        phVar5 = phVar5 + 1;\n        if (phVar2 <= phVar5) goto LAB_0002a1ae;\n      }\n      p_Var3 = table->data_freer;\n      phVar2 = phVar5->next;\n      if (phVar5->next != (hash_entry *)0x0) {\nLAB_0002a160:\n        if (p_Var3 != (Hash_data_freer)0x0) goto code_r0x0002a164;\n        phVar4 = table->free_entry_list;\n        do {\n          phVar1 = phVar2->next;\n          phVar2->data = (void *)0x0;\n          phVar2->next = phVar4;\n          table->free_entry_list = phVar2;\n          phVar4 = phVar2;\n          phVar2 = phVar1;\n        } while (phVar1 != (hash_entry *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (p_Var3 != (Hash_data_freer)0x0) {\n        (*p_Var3)(phVar5->data);\n      }\nLAB_0002a197:\n      phVar5->data = (void *)0x0;\n      phVar4 = phVar5 + 1;\n      phVar5->next = (hash_entry *)0x0;\n      phVar2 = table->bucket_limit;\n      phVar5 = phVar4;\n    } while (phVar4 < phVar2);\n  }\nLAB_0002a1ae:\n  table->n_buckets_used = 0;\n  table->n_entries = 0;\n  return;\ncode_r0x0002a164:\n  (*p_Var3)(phVar2->data);\n  phVar4 = phVar2->next;\n  phVar1 = table->free_entry_list;\n  p_Var3 = table->data_freer;\n  phVar2->data = (void *)0x0;\n  phVar2->next = phVar1;\n  table->free_entry_list = phVar2;\n  phVar2 = phVar4;\n  if (phVar4 == (hash_entry *)0x0) goto LAB_0002a189;\n  goto LAB_0002a160;\n}" primitive_type (function_declarator "hash_clear(Hash_table *table)" identifier (parameter_list "(Hash_table *table)" ( (parameter_declaration "Hash_table *table" type_identifier (pointer_declarator "*table" * identifier)) ))) (compound_statement "{\n  hash_entry *phVar1;\n  hash_entry *phVar2;\n  Hash_data_freer p_Var3;\n  hash_entry *phVar4;\n  hash_entry *phVar5;\n  \n  phVar2 = table->bucket_limit;\n  phVar5 = table->bucket;\n  if (table->bucket < phVar2) {\n    do {\n      while (phVar5->data == (void *)0x0) {\n        phVar5 = phVar5 + 1;\n        if (phVar2 <= phVar5) goto LAB_0002a1ae;\n      }\n      p_Var3 = table->data_freer;\n      phVar2 = phVar5->next;\n      if (phVar5->next != (hash_entry *)0x0) {\nLAB_0002a160:\n        if (p_Var3 != (Hash_data_freer)0x0) goto code_r0x0002a164;\n        phVar4 = table->free_entry_list;\n        do {\n          phVar1 = phVar2->next;\n          phVar2->data = (void *)0x0;\n          phVar2->next = phVar4;\n          table->free_entry_list = phVar2;\n          phVar4 = phVar2;\n          phVar2 = phVar1;\n        } while (phVar1 != (hash_entry *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (p_Var3 != (Hash_data_freer)0x0) {\n        (*p_Var3)(phVar5->data);\n      }\nLAB_0002a197:\n      phVar5->data = (void *)0x0;\n      phVar4 = phVar5 + 1;\n      phVar5->next = (hash_entry *)0x0;\n      phVar2 = table->bucket_limit;\n      phVar5 = phVar4;\n    } while (phVar4 < phVar2);\n  }\nLAB_0002a1ae:\n  table->n_buckets_used = 0;\n  table->n_entries = 0;\n  return;\ncode_r0x0002a164:\n  (*p_Var3)(phVar2->data);\n  phVar4 = phVar2->next;\n  phVar1 = table->free_entry_list;\n  p_Var3 = table->data_freer;\n  phVar2->data = (void *)0x0;\n  phVar2->next = phVar1;\n  table->free_entry_list = phVar2;\n  phVar2 = phVar4;\n  if (phVar4 == (hash_entry *)0x0) goto LAB_0002a189;\n  goto LAB_0002a160;\n}" { (declaration "hash_entry *phVar1;" type_identifier (pointer_declarator "*phVar1" * identifier) ;) (declaration "hash_entry *phVar2;" type_identifier (pointer_declarator "*phVar2" * identifier) ;) (declaration "Hash_data_freer p_Var3;" type_identifier identifier ;) (declaration "hash_entry *phVar4;" type_identifier (pointer_declarator "*phVar4" * identifier) ;) (declaration "hash_entry *phVar5;" type_identifier (pointer_declarator "*phVar5" * identifier) ;) (expression_statement "phVar2 = table->bucket_limit;" (assignment_expression "phVar2 = table->bucket_limit" identifier = (field_expression "table->bucket_limit" identifier -> field_identifier)) ;) (expression_statement "phVar5 = table->bucket;" (assignment_expression "phVar5 = table->bucket" identifier = (field_expression "table->bucket" identifier -> field_identifier)) ;) (if_statement "if (table->bucket < phVar2) {\n    do {\n      while (phVar5->data == (void *)0x0) {\n        phVar5 = phVar5 + 1;\n        if (phVar2 <= phVar5) goto LAB_0002a1ae;\n      }\n      p_Var3 = table->data_freer;\n      phVar2 = phVar5->next;\n      if (phVar5->next != (hash_entry *)0x0) {\nLAB_0002a160:\n        if (p_Var3 != (Hash_data_freer)0x0) goto code_r0x0002a164;\n        phVar4 = table->free_entry_list;\n        do {\n          phVar1 = phVar2->next;\n          phVar2->data = (void *)0x0;\n          phVar2->next = phVar4;\n          table->free_entry_list = phVar2;\n          phVar4 = phVar2;\n          phVar2 = phVar1;\n        } while (phVar1 != (hash_entry *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (p_Var3 != (Hash_data_freer)0x0) {\n        (*p_Var3)(phVar5->data);\n      }\nLAB_0002a197:\n      phVar5->data = (void *)0x0;\n      phVar4 = phVar5 + 1;\n      phVar5->next = (hash_entry *)0x0;\n      phVar2 = table->bucket_limit;\n      phVar5 = phVar4;\n    } while (phVar4 < phVar2);\n  }" if (parenthesized_expression "(table->bucket < phVar2)" ( (binary_expression "table->bucket < phVar2" (field_expression "table->bucket" identifier -> field_identifier) < identifier) )) (compound_statement "{\n    do {\n      while (phVar5->data == (void *)0x0) {\n        phVar5 = phVar5 + 1;\n        if (phVar2 <= phVar5) goto LAB_0002a1ae;\n      }\n      p_Var3 = table->data_freer;\n      phVar2 = phVar5->next;\n      if (phVar5->next != (hash_entry *)0x0) {\nLAB_0002a160:\n        if (p_Var3 != (Hash_data_freer)0x0) goto code_r0x0002a164;\n        phVar4 = table->free_entry_list;\n        do {\n          phVar1 = phVar2->next;\n          phVar2->data = (void *)0x0;\n          phVar2->next = phVar4;\n          table->free_entry_list = phVar2;\n          phVar4 = phVar2;\n          phVar2 = phVar1;\n        } while (phVar1 != (hash_entry *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (p_Var3 != (Hash_data_freer)0x0) {\n        (*p_Var3)(phVar5->data);\n      }\nLAB_0002a197:\n      phVar5->data = (void *)0x0;\n      phVar4 = phVar5 + 1;\n      phVar5->next = (hash_entry *)0x0;\n      phVar2 = table->bucket_limit;\n      phVar5 = phVar4;\n    } while (phVar4 < phVar2);\n  }" { (do_statement "do {\n      while (phVar5->data == (void *)0x0) {\n        phVar5 = phVar5 + 1;\n        if (phVar2 <= phVar5) goto LAB_0002a1ae;\n      }\n      p_Var3 = table->data_freer;\n      phVar2 = phVar5->next;\n      if (phVar5->next != (hash_entry *)0x0) {\nLAB_0002a160:\n        if (p_Var3 != (Hash_data_freer)0x0) goto code_r0x0002a164;\n        phVar4 = table->free_entry_list;\n        do {\n          phVar1 = phVar2->next;\n          phVar2->data = (void *)0x0;\n          phVar2->next = phVar4;\n          table->free_entry_list = phVar2;\n          phVar4 = phVar2;\n          phVar2 = phVar1;\n        } while (phVar1 != (hash_entry *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (p_Var3 != (Hash_data_freer)0x0) {\n        (*p_Var3)(phVar5->data);\n      }\nLAB_0002a197:\n      phVar5->data = (void *)0x0;\n      phVar4 = phVar5 + 1;\n      phVar5->next = (hash_entry *)0x0;\n      phVar2 = table->bucket_limit;\n      phVar5 = phVar4;\n    } while (phVar4 < phVar2);" do (compound_statement "{\n      while (phVar5->data == (void *)0x0) {\n        phVar5 = phVar5 + 1;\n        if (phVar2 <= phVar5) goto LAB_0002a1ae;\n      }\n      p_Var3 = table->data_freer;\n      phVar2 = phVar5->next;\n      if (phVar5->next != (hash_entry *)0x0) {\nLAB_0002a160:\n        if (p_Var3 != (Hash_data_freer)0x0) goto code_r0x0002a164;\n        phVar4 = table->free_entry_list;\n        do {\n          phVar1 = phVar2->next;\n          phVar2->data = (void *)0x0;\n          phVar2->next = phVar4;\n          table->free_entry_list = phVar2;\n          phVar4 = phVar2;\n          phVar2 = phVar1;\n        } while (phVar1 != (hash_entry *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (p_Var3 != (Hash_data_freer)0x0) {\n        (*p_Var3)(phVar5->data);\n      }\nLAB_0002a197:\n      phVar5->data = (void *)0x0;\n      phVar4 = phVar5 + 1;\n      phVar5->next = (hash_entry *)0x0;\n      phVar2 = table->bucket_limit;\n      phVar5 = phVar4;\n    }" { (while_statement "while (phVar5->data == (void *)0x0) {\n        phVar5 = phVar5 + 1;\n        if (phVar2 <= phVar5) goto LAB_0002a1ae;\n      }" while (parenthesized_expression "(phVar5->data == (void *)0x0)" ( (binary_expression "phVar5->data == (void *)0x0" (field_expression "phVar5->data" identifier -> field_identifier) == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        phVar5 = phVar5 + 1;\n        if (phVar2 <= phVar5) goto LAB_0002a1ae;\n      }" { (expression_statement "phVar5 = phVar5 + 1;" (assignment_expression "phVar5 = phVar5 + 1" identifier = (binary_expression "phVar5 + 1" identifier + number_literal)) ;) (if_statement "if (phVar2 <= phVar5) goto LAB_0002a1ae;" if (parenthesized_expression "(phVar2 <= phVar5)" ( (binary_expression "phVar2 <= phVar5" identifier <= identifier) )) (goto_statement "goto LAB_0002a1ae;" goto statement_identifier ;)) })) (expression_statement "p_Var3 = table->data_freer;" (assignment_expression "p_Var3 = table->data_freer" identifier = (field_expression "table->data_freer" identifier -> field_identifier)) ;) (expression_statement "phVar2 = phVar5->next;" (assignment_expression "phVar2 = phVar5->next" identifier = (field_expression "phVar5->next" identifier -> field_identifier)) ;) (if_statement "if (phVar5->next != (hash_entry *)0x0) {\nLAB_0002a160:\n        if (p_Var3 != (Hash_data_freer)0x0) goto code_r0x0002a164;\n        phVar4 = table->free_entry_list;\n        do {\n          phVar1 = phVar2->next;\n          phVar2->data = (void *)0x0;\n          phVar2->next = phVar4;\n          table->free_entry_list = phVar2;\n          phVar4 = phVar2;\n          phVar2 = phVar1;\n        } while (phVar1 != (hash_entry *)0x0);\n        goto LAB_0002a197;\n      }" if (parenthesized_expression "(phVar5->next != (hash_entry *)0x0)" ( (binary_expression "phVar5->next != (hash_entry *)0x0" (field_expression "phVar5->next" identifier -> field_identifier) != (cast_expression "(hash_entry *)0x0" ( (type_descriptor "hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0002a160:\n        if (p_Var3 != (Hash_data_freer)0x0) goto code_r0x0002a164;\n        phVar4 = table->free_entry_list;\n        do {\n          phVar1 = phVar2->next;\n          phVar2->data = (void *)0x0;\n          phVar2->next = phVar4;\n          table->free_entry_list = phVar2;\n          phVar4 = phVar2;\n          phVar2 = phVar1;\n        } while (phVar1 != (hash_entry *)0x0);\n        goto LAB_0002a197;\n      }" { (labeled_statement "LAB_0002a160:\n        if (p_Var3 != (Hash_data_freer)0x0) goto code_r0x0002a164;" statement_identifier : (if_statement "if (p_Var3 != (Hash_data_freer)0x0) goto code_r0x0002a164;" if (parenthesized_expression "(p_Var3 != (Hash_data_freer)0x0)" ( (binary_expression "p_Var3 != (Hash_data_freer)0x0" identifier != (cast_expression "(Hash_data_freer)0x0" ( (type_descriptor "Hash_data_freer" type_identifier) ) number_literal)) )) (goto_statement "goto code_r0x0002a164;" goto statement_identifier ;))) (expression_statement "phVar4 = table->free_entry_list;" (assignment_expression "phVar4 = table->free_entry_list" identifier = (field_expression "table->free_entry_list" identifier -> field_identifier)) ;) (do_statement "do {\n          phVar1 = phVar2->next;\n          phVar2->data = (void *)0x0;\n          phVar2->next = phVar4;\n          table->free_entry_list = phVar2;\n          phVar4 = phVar2;\n          phVar2 = phVar1;\n        } while (phVar1 != (hash_entry *)0x0);" do (compound_statement "{\n          phVar1 = phVar2->next;\n          phVar2->data = (void *)0x0;\n          phVar2->next = phVar4;\n          table->free_entry_list = phVar2;\n          phVar4 = phVar2;\n          phVar2 = phVar1;\n        }" { (expression_statement "phVar1 = phVar2->next;" (assignment_expression "phVar1 = phVar2->next" identifier = (field_expression "phVar2->next" identifier -> field_identifier)) ;) (expression_statement "phVar2->data = (void *)0x0;" (assignment_expression "phVar2->data = (void *)0x0" (field_expression "phVar2->data" identifier -> field_identifier) = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "phVar2->next = phVar4;" (assignment_expression "phVar2->next = phVar4" (field_expression "phVar2->next" identifier -> field_identifier) = identifier) ;) (expression_statement "table->free_entry_list = phVar2;" (assignment_expression "table->free_entry_list = phVar2" (field_expression "table->free_entry_list" identifier -> field_identifier) = identifier) ;) (expression_statement "phVar4 = phVar2;" (assignment_expression "phVar4 = phVar2" identifier = identifier) ;) (expression_statement "phVar2 = phVar1;" (assignment_expression "phVar2 = phVar1" identifier = identifier) ;) }) while (parenthesized_expression "(phVar1 != (hash_entry *)0x0)" ( (binary_expression "phVar1 != (hash_entry *)0x0" identifier != (cast_expression "(hash_entry *)0x0" ( (type_descriptor "hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (goto_statement "goto LAB_0002a197;" goto statement_identifier ;) })) (labeled_statement "LAB_0002a189:\n      if (p_Var3 != (Hash_data_freer)0x0) {\n        (*p_Var3)(phVar5->data);\n      }" statement_identifier : (if_statement "if (p_Var3 != (Hash_data_freer)0x0) {\n        (*p_Var3)(phVar5->data);\n      }" if (parenthesized_expression "(p_Var3 != (Hash_data_freer)0x0)" ( (binary_expression "p_Var3 != (Hash_data_freer)0x0" identifier != (cast_expression "(Hash_data_freer)0x0" ( (type_descriptor "Hash_data_freer" type_identifier) ) number_literal)) )) (compound_statement "{\n        (*p_Var3)(phVar5->data);\n      }" { (expression_statement "(*p_Var3)(phVar5->data);" (call_expression "(*p_Var3)(phVar5->data)" (parenthesized_expression "(*p_Var3)" ( (pointer_expression "*p_Var3" * identifier) )) (argument_list "(phVar5->data)" ( (field_expression "phVar5->data" identifier -> field_identifier) ))) ;) }))) (labeled_statement "LAB_0002a197:\n      phVar5->data = (void *)0x0;" statement_identifier : (expression_statement "phVar5->data = (void *)0x0;" (assignment_expression "phVar5->data = (void *)0x0" (field_expression "phVar5->data" identifier -> field_identifier) = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "phVar4 = phVar5 + 1;" (assignment_expression "phVar4 = phVar5 + 1" identifier = (binary_expression "phVar5 + 1" identifier + number_literal)) ;) (expression_statement "phVar5->next = (hash_entry *)0x0;" (assignment_expression "phVar5->next = (hash_entry *)0x0" (field_expression "phVar5->next" identifier -> field_identifier) = (cast_expression "(hash_entry *)0x0" ( (type_descriptor "hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "phVar2 = table->bucket_limit;" (assignment_expression "phVar2 = table->bucket_limit" identifier = (field_expression "table->bucket_limit" identifier -> field_identifier)) ;) (expression_statement "phVar5 = phVar4;" (assignment_expression "phVar5 = phVar4" identifier = identifier) ;) }) while (parenthesized_expression "(phVar4 < phVar2)" ( (binary_expression "phVar4 < phVar2" identifier < identifier) )) ;) })) (labeled_statement "LAB_0002a1ae:\n  table->n_buckets_used = 0;" statement_identifier : (expression_statement "table->n_buckets_used = 0;" (assignment_expression "table->n_buckets_used = 0" (field_expression "table->n_buckets_used" identifier -> field_identifier) = number_literal) ;)) (expression_statement "table->n_entries = 0;" (assignment_expression "table->n_entries = 0" (field_expression "table->n_entries" identifier -> field_identifier) = number_literal) ;) (return_statement "return;" return ;) (labeled_statement "code_r0x0002a164:\n  (*p_Var3)(phVar2->data);" statement_identifier : (expression_statement "(*p_Var3)(phVar2->data);" (call_expression "(*p_Var3)(phVar2->data)" (parenthesized_expression "(*p_Var3)" ( (pointer_expression "*p_Var3" * identifier) )) (argument_list "(phVar2->data)" ( (field_expression "phVar2->data" identifier -> field_identifier) ))) ;)) (expression_statement "phVar4 = phVar2->next;" (assignment_expression "phVar4 = phVar2->next" identifier = (field_expression "phVar2->next" identifier -> field_identifier)) ;) (expression_statement "phVar1 = table->free_entry_list;" (assignment_expression "phVar1 = table->free_entry_list" identifier = (field_expression "table->free_entry_list" identifier -> field_identifier)) ;) (expression_statement "p_Var3 = table->data_freer;" (assignment_expression "p_Var3 = table->data_freer" identifier = (field_expression "table->data_freer" identifier -> field_identifier)) ;) (expression_statement "phVar2->data = (void *)0x0;" (assignment_expression "phVar2->data = (void *)0x0" (field_expression "phVar2->data" identifier -> field_identifier) = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "phVar2->next = phVar1;" (assignment_expression "phVar2->next = phVar1" (field_expression "phVar2->next" identifier -> field_identifier) = identifier) ;) (expression_statement "table->free_entry_list = phVar2;" (assignment_expression "table->free_entry_list = phVar2" (field_expression "table->free_entry_list" identifier -> field_identifier) = identifier) ;) (expression_statement "phVar2 = phVar4;" (assignment_expression "phVar2 = phVar4" identifier = identifier) ;) (if_statement "if (phVar4 == (hash_entry *)0x0) goto LAB_0002a189;" if (parenthesized_expression "(phVar4 == (hash_entry *)0x0)" ( (binary_expression "phVar4 == (hash_entry *)0x0" identifier == (cast_expression "(hash_entry *)0x0" ( (type_descriptor "hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0002a189;" goto statement_identifier ;)) (goto_statement "goto LAB_0002a160;" goto statement_identifier ;) })))
(translation_unit "void FUN_0002a130(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  code *pcVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  int *piVar8;\n  \n  piVar3 = (int *)param_1[1];\n  piVar7 = (int *)*param_1;\n  if ((int *)*param_1 < piVar3) {\n    do {\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    } while (piVar8 < piVar3);\n  }\nLAB_0002a1ae:\n  param_1[3] = 0;\n  param_1[4] = 0;\n  return;\ncode_r0x0002a164:\n  (*pcVar4)(*puVar6);\n  puVar5 = (undefined4 *)puVar6[1];\n  uVar1 = param_1[9];\n  pcVar4 = (code *)param_1[8];\n  *puVar6 = 0;\n  puVar6[1] = uVar1;\n  param_1[9] = puVar6;\n  puVar6 = puVar5;\n  if (puVar5 == (undefined4 *)0x0) goto LAB_0002a189;\n  goto LAB_0002a160;\n}\n\n" (function_definition "void FUN_0002a130(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  code *pcVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  int *piVar8;\n  \n  piVar3 = (int *)param_1[1];\n  piVar7 = (int *)*param_1;\n  if ((int *)*param_1 < piVar3) {\n    do {\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    } while (piVar8 < piVar3);\n  }\nLAB_0002a1ae:\n  param_1[3] = 0;\n  param_1[4] = 0;\n  return;\ncode_r0x0002a164:\n  (*pcVar4)(*puVar6);\n  puVar5 = (undefined4 *)puVar6[1];\n  uVar1 = param_1[9];\n  pcVar4 = (code *)param_1[8];\n  *puVar6 = 0;\n  puVar6[1] = uVar1;\n  param_1[9] = puVar6;\n  puVar6 = puVar5;\n  if (puVar5 == (undefined4 *)0x0) goto LAB_0002a189;\n  goto LAB_0002a160;\n}" primitive_type (function_declarator "FUN_0002a130(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  code *pcVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  int *piVar8;\n  \n  piVar3 = (int *)param_1[1];\n  piVar7 = (int *)*param_1;\n  if ((int *)*param_1 < piVar3) {\n    do {\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    } while (piVar8 < piVar3);\n  }\nLAB_0002a1ae:\n  param_1[3] = 0;\n  param_1[4] = 0;\n  return;\ncode_r0x0002a164:\n  (*pcVar4)(*puVar6);\n  puVar5 = (undefined4 *)puVar6[1];\n  uVar1 = param_1[9];\n  pcVar4 = (code *)param_1[8];\n  *puVar6 = 0;\n  puVar6[1] = uVar1;\n  param_1[9] = puVar6;\n  puVar6 = puVar5;\n  if (puVar5 == (undefined4 *)0x0) goto LAB_0002a189;\n  goto LAB_0002a160;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (expression_statement "piVar3 = (int *)param_1[1];" (assignment_expression "piVar3 = (int *)param_1[1]" identifier = (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar7 = (int *)*param_1;" (assignment_expression "piVar7 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if ((int *)*param_1 < piVar3) {\n    do {\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    } while (piVar8 < piVar3);\n  }" if (parenthesized_expression "((int *)*param_1 < piVar3)" ( (binary_expression "(int *)*param_1 < piVar3" (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) < identifier) )) (compound_statement "{\n    do {\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    } while (piVar8 < piVar3);\n  }" { (do_statement "do {\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    } while (piVar8 < piVar3);" do (compound_statement "{\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    }" { (while_statement "while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }" while (parenthesized_expression "(*piVar7 == 0)" ( (binary_expression "*piVar7 == 0" (pointer_expression "*piVar7" * identifier) == number_literal) )) (compound_statement "{\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }" { (expression_statement "piVar7 = piVar7 + 2;" (assignment_expression "piVar7 = piVar7 + 2" identifier = (binary_expression "piVar7 + 2" identifier + number_literal)) ;) (if_statement "if (piVar3 <= piVar7) goto LAB_0002a1ae;" if (parenthesized_expression "(piVar3 <= piVar7)" ( (binary_expression "piVar3 <= piVar7" identifier <= identifier) )) (goto_statement "goto LAB_0002a1ae;" goto statement_identifier ;)) })) (expression_statement "pcVar4 = (code *)param_1[8];" (assignment_expression "pcVar4 = (code *)param_1[8]" identifier = (cast_expression "(code *)param_1[8]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ]))) ;) (expression_statement "puVar6 = (undefined4 *)piVar7[1];" (assignment_expression "puVar6 = (undefined4 *)piVar7[1]" identifier = (cast_expression "(undefined4 *)piVar7[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[1]" identifier [ number_literal ]))) ;) (if_statement "if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }" if (parenthesized_expression "((undefined4 *)piVar7[1] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar7[1] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar7[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[1]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }" { (labeled_statement "LAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;" statement_identifier : (if_statement "if (pcVar4 != (code *)0x0) goto code_r0x0002a164;" if (parenthesized_expression "(pcVar4 != (code *)0x0)" ( (binary_expression "pcVar4 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto code_r0x0002a164;" goto statement_identifier ;))) (expression_statement "puVar5 = (undefined4 *)param_1[9];" (assignment_expression "puVar5 = (undefined4 *)param_1[9]" identifier = (cast_expression "(undefined4 *)param_1[9]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[9]" identifier [ number_literal ]))) ;) (do_statement "do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);" do (compound_statement "{\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        }" { (expression_statement "puVar2 = (undefined4 *)puVar6[1];" (assignment_expression "puVar2 = (undefined4 *)puVar6[1]" identifier = (cast_expression "(undefined4 *)puVar6[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar6[1]" identifier [ number_literal ]))) ;) (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "puVar6[1] = puVar5;" (assignment_expression "puVar6[1] = puVar5" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[9] = puVar6;" (assignment_expression "param_1[9] = puVar6" (subscript_expression "param_1[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5 = puVar6;" (assignment_expression "puVar5 = puVar6" identifier = identifier) ;) (expression_statement "puVar6 = puVar2;" (assignment_expression "puVar6 = puVar2" identifier = identifier) ;) }) while (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" ( (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (goto_statement "goto LAB_0002a197;" goto statement_identifier ;) })) (labeled_statement "LAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }" statement_identifier : (if_statement "if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }" if (parenthesized_expression "(pcVar4 != (code *)0x0)" ( (binary_expression "pcVar4 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*pcVar4)(*piVar7);\n      }" { (expression_statement "(*pcVar4)(*piVar7);" (call_expression "(*pcVar4)(*piVar7)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(*piVar7)" ( (pointer_expression "*piVar7" * identifier) ))) ;) }))) (labeled_statement "LAB_0002a197:\n      *piVar7 = 0;" statement_identifier : (expression_statement "*piVar7 = 0;" (assignment_expression "*piVar7 = 0" (pointer_expression "*piVar7" * identifier) = number_literal) ;)) (expression_statement "piVar8 = piVar7 + 2;" (assignment_expression "piVar8 = piVar7 + 2" identifier = (binary_expression "piVar7 + 2" identifier + number_literal)) ;) (expression_statement "piVar7[1] = 0;" (assignment_expression "piVar7[1] = 0" (subscript_expression "piVar7[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3 = (int *)param_1[1];" (assignment_expression "piVar3 = (int *)param_1[1]" identifier = (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar7 = piVar8;" (assignment_expression "piVar7 = piVar8" identifier = identifier) ;) }) while (parenthesized_expression "(piVar8 < piVar3)" ( (binary_expression "piVar8 < piVar3" identifier < identifier) )) ;) })) (labeled_statement "LAB_0002a1ae:\n  param_1[3] = 0;" statement_identifier : (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) (labeled_statement "code_r0x0002a164:\n  (*pcVar4)(*puVar6);" statement_identifier : (expression_statement "(*pcVar4)(*puVar6);" (call_expression "(*pcVar4)(*puVar6)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(*puVar6)" ( (pointer_expression "*puVar6" * identifier) ))) ;)) (expression_statement "puVar5 = (undefined4 *)puVar6[1];" (assignment_expression "puVar5 = (undefined4 *)puVar6[1]" identifier = (cast_expression "(undefined4 *)puVar6[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar6[1]" identifier [ number_literal ]))) ;) (expression_statement "uVar1 = param_1[9];" (assignment_expression "uVar1 = param_1[9]" identifier = (subscript_expression "param_1[9]" identifier [ number_literal ])) ;) (expression_statement "pcVar4 = (code *)param_1[8];" (assignment_expression "pcVar4 = (code *)param_1[8]" identifier = (cast_expression "(code *)param_1[8]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ]))) ;) (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "puVar6[1] = uVar1;" (assignment_expression "puVar6[1] = uVar1" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[9] = puVar6;" (assignment_expression "param_1[9] = puVar6" (subscript_expression "param_1[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" identifier = identifier) ;) (if_statement "if (puVar5 == (undefined4 *)0x0) goto LAB_0002a189;" if (parenthesized_expression "(puVar5 == (undefined4 *)0x0)" ( (binary_expression "puVar5 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0002a189;" goto statement_identifier ;)) (goto_statement "goto LAB_0002a160;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) < IDENT) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression * IDENT) ))) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression * IDENT) ))) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_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 *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })))
(function_definition "void FUN_0002a130(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  code *pcVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  int *piVar8;\n  \n  piVar3 = (int *)param_1[1];\n  piVar7 = (int *)*param_1;\n  if ((int *)*param_1 < piVar3) {\n    do {\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    } while (piVar8 < piVar3);\n  }\nLAB_0002a1ae:\n  param_1[3] = 0;\n  param_1[4] = 0;\n  return;\ncode_r0x0002a164:\n  (*pcVar4)(*puVar6);\n  puVar5 = (undefined4 *)puVar6[1];\n  uVar1 = param_1[9];\n  pcVar4 = (code *)param_1[8];\n  *puVar6 = 0;\n  puVar6[1] = uVar1;\n  param_1[9] = puVar6;\n  puVar6 = puVar5;\n  if (puVar5 == (undefined4 *)0x0) goto LAB_0002a189;\n  goto LAB_0002a160;\n}" (primitive_type "void") (function_declarator "FUN_0002a130(undefined4 *param_1)" (identifier "FUN_0002a130") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  code *pcVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  int *piVar8;\n  \n  piVar3 = (int *)param_1[1];\n  piVar7 = (int *)*param_1;\n  if ((int *)*param_1 < piVar3) {\n    do {\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    } while (piVar8 < piVar3);\n  }\nLAB_0002a1ae:\n  param_1[3] = 0;\n  param_1[4] = 0;\n  return;\ncode_r0x0002a164:\n  (*pcVar4)(*puVar6);\n  puVar5 = (undefined4 *)puVar6[1];\n  uVar1 = param_1[9];\n  pcVar4 = (code *)param_1[8];\n  *puVar6 = 0;\n  puVar6[1] = uVar1;\n  param_1[9] = puVar6;\n  puVar6 = puVar5;\n  if (puVar5 == (undefined4 *)0x0) goto LAB_0002a189;\n  goto LAB_0002a160;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "code *pcVar4;" (type_identifier "code") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (expression_statement "piVar3 = (int *)param_1[1];" (assignment_expression "piVar3 = (int *)param_1[1]" (identifier "piVar3") (= "=") (cast_expression "(int *)param_1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "piVar7 = (int *)*param_1;" (assignment_expression "piVar7 = (int *)*param_1" (identifier "piVar7") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if ((int *)*param_1 < piVar3) {\n    do {\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    } while (piVar8 < piVar3);\n  }" (if "if") (parenthesized_expression "((int *)*param_1 < piVar3)" (( "(") (binary_expression "(int *)*param_1 < piVar3" (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (< "<") (identifier "piVar3")) () ")")) (compound_statement "{\n    do {\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    } while (piVar8 < piVar3);\n  }" ({ "{") (do_statement "do {\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    } while (piVar8 < piVar3);" (do "do") (compound_statement "{\n      while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }\n      pcVar4 = (code *)param_1[8];\n      puVar6 = (undefined4 *)piVar7[1];\n      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }\nLAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }\nLAB_0002a197:\n      *piVar7 = 0;\n      piVar8 = piVar7 + 2;\n      piVar7[1] = 0;\n      piVar3 = (int *)param_1[1];\n      piVar7 = piVar8;\n    }" ({ "{") (while_statement "while (*piVar7 == 0) {\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }" (while "while") (parenthesized_expression "(*piVar7 == 0)" (( "(") (binary_expression "*piVar7 == 0" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        piVar7 = piVar7 + 2;\n        if (piVar3 <= piVar7) goto LAB_0002a1ae;\n      }" ({ "{") (expression_statement "piVar7 = piVar7 + 2;" (assignment_expression "piVar7 = piVar7 + 2" (identifier "piVar7") (= "=") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (piVar3 <= piVar7) goto LAB_0002a1ae;" (if "if") (parenthesized_expression "(piVar3 <= piVar7)" (( "(") (binary_expression "piVar3 <= piVar7" (identifier "piVar3") (<= "<=") (identifier "piVar7")) () ")")) (goto_statement "goto LAB_0002a1ae;" (goto "goto") (statement_identifier "LAB_0002a1ae") (; ";"))) (} "}"))) (expression_statement "pcVar4 = (code *)param_1[8];" (assignment_expression "pcVar4 = (code *)param_1[8]" (identifier "pcVar4") (= "=") (cast_expression "(code *)param_1[8]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")))) (; ";")) (expression_statement "puVar6 = (undefined4 *)piVar7[1];" (assignment_expression "puVar6 = (undefined4 *)piVar7[1]" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)piVar7[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }" (if "if") (parenthesized_expression "((undefined4 *)piVar7[1] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)piVar7[1] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar7[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;\n        puVar5 = (undefined4 *)param_1[9];\n        do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);\n        goto LAB_0002a197;\n      }" ({ "{") (labeled_statement "LAB_0002a160:\n        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;" (statement_identifier "LAB_0002a160") (: ":") (if_statement "if (pcVar4 != (code *)0x0) goto code_r0x0002a164;" (if "if") (parenthesized_expression "(pcVar4 != (code *)0x0)" (( "(") (binary_expression "pcVar4 != (code *)0x0" (identifier "pcVar4") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto code_r0x0002a164;" (goto "goto") (statement_identifier "code_r0x0002a164") (; ";")))) (expression_statement "puVar5 = (undefined4 *)param_1[9];" (assignment_expression "puVar5 = (undefined4 *)param_1[9]" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)param_1[9]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")))) (; ";")) (do_statement "do {\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        } while (puVar2 != (undefined4 *)0x0);" (do "do") (compound_statement "{\n          puVar2 = (undefined4 *)puVar6[1];\n          *puVar6 = 0;\n          puVar6[1] = puVar5;\n          param_1[9] = puVar6;\n          puVar5 = puVar6;\n          puVar6 = puVar2;\n        }" ({ "{") (expression_statement "puVar2 = (undefined4 *)puVar6[1];" (assignment_expression "puVar2 = (undefined4 *)puVar6[1]" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)puVar6[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[1] = puVar5;" (assignment_expression "puVar6[1] = puVar5" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "puVar5")) (; ";")) (expression_statement "param_1[9] = puVar6;" (assignment_expression "param_1[9] = puVar6" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "puVar6")) (; ";")) (expression_statement "puVar5 = puVar6;" (assignment_expression "puVar5 = puVar6" (identifier "puVar5") (= "=") (identifier "puVar6")) (; ";")) (expression_statement "puVar6 = puVar2;" (assignment_expression "puVar6 = puVar2" (identifier "puVar6") (= "=") (identifier "puVar2")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar2 != (undefined4 *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (goto_statement "goto LAB_0002a197;" (goto "goto") (statement_identifier "LAB_0002a197") (; ";")) (} "}"))) (labeled_statement "LAB_0002a189:\n      if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }" (statement_identifier "LAB_0002a189") (: ":") (if_statement "if (pcVar4 != (code *)0x0) {\n        (*pcVar4)(*piVar7);\n      }" (if "if") (parenthesized_expression "(pcVar4 != (code *)0x0)" (( "(") (binary_expression "pcVar4 != (code *)0x0" (identifier "pcVar4") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        (*pcVar4)(*piVar7);\n      }" ({ "{") (expression_statement "(*pcVar4)(*piVar7);" (call_expression "(*pcVar4)(*piVar7)" (parenthesized_expression "(*pcVar4)" (( "(") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) () ")")) (argument_list "(*piVar7)" (( "(") (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) () ")"))) (; ";")) (} "}")))) (labeled_statement "LAB_0002a197:\n      *piVar7 = 0;" (statement_identifier "LAB_0002a197") (: ":") (expression_statement "*piVar7 = 0;" (assignment_expression "*piVar7 = 0" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (number_literal "0")) (; ";"))) (expression_statement "piVar8 = piVar7 + 2;" (assignment_expression "piVar8 = piVar7 + 2" (identifier "piVar8") (= "=") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "piVar7[1] = 0;" (assignment_expression "piVar7[1] = 0" (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3 = (int *)param_1[1];" (assignment_expression "piVar3 = (int *)param_1[1]" (identifier "piVar3") (= "=") (cast_expression "(int *)param_1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "piVar7 = piVar8;" (assignment_expression "piVar7 = piVar8" (identifier "piVar7") (= "=") (identifier "piVar8")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar8 < piVar3)" (( "(") (binary_expression "piVar8 < piVar3" (identifier "piVar8") (< "<") (identifier "piVar3")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_0002a1ae:\n  param_1[3] = 0;" (statement_identifier "LAB_0002a1ae") (: ":") (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";"))) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (labeled_statement "code_r0x0002a164:\n  (*pcVar4)(*puVar6);" (statement_identifier "code_r0x0002a164") (: ":") (expression_statement "(*pcVar4)(*puVar6);" (call_expression "(*pcVar4)(*puVar6)" (parenthesized_expression "(*pcVar4)" (( "(") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) () ")")) (argument_list "(*puVar6)" (( "(") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) () ")"))) (; ";"))) (expression_statement "puVar5 = (undefined4 *)puVar6[1];" (assignment_expression "puVar5 = (undefined4 *)puVar6[1]" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)puVar6[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "uVar1 = param_1[9];" (assignment_expression "uVar1 = param_1[9]" (identifier "uVar1") (= "=") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "pcVar4 = (code *)param_1[8];" (assignment_expression "pcVar4 = (code *)param_1[8]" (identifier "pcVar4") (= "=") (cast_expression "(code *)param_1[8]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")))) (; ";")) (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[1] = uVar1;" (assignment_expression "puVar6[1] = uVar1" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "param_1[9] = puVar6;" (assignment_expression "param_1[9] = puVar6" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "puVar6")) (; ";")) (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" (identifier "puVar6") (= "=") (identifier "puVar5")) (; ";")) (if_statement "if (puVar5 == (undefined4 *)0x0) goto LAB_0002a189;" (if "if") (parenthesized_expression "(puVar5 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar5 == (undefined4 *)0x0" (identifier "puVar5") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0002a189;" (goto "goto") (statement_identifier "LAB_0002a189") (; ";"))) (goto_statement "goto LAB_0002a160;" (goto "goto") (statement_identifier "LAB_0002a160") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(type_1 *table)

{
  type_2 *var_4;
  type_2 *var_1;
  type_3 var_3;
  type_2 *var_5;
  type_2 *var_2;
  
  var_1 = table->bucket_limit;
  var_2 = table->bucket;
  if (table->bucket < var_1) {
    do {
      while (var_2->data == (void *)0x0) {
        var_2 = var_2 + 1;
        if (var_1 <= var_2) goto LAB_0002a1ae;
      }
      var_3 = table->data_freer;
      var_1 = var_2->next;
      if (var_2->next != (type_2 *)0x0) {
LAB_0002a160:
        if (var_3 != (type_3)0x0) goto code_r0x0002a164;
        var_5 = table->free_entry_list;
        do {
          var_4 = var_1->next;
          var_1->data = (void *)0x0;
          var_1->next = var_5;
          table->free_entry_list = var_1;
          var_5 = var_1;
          var_1 = var_4;
        } while (var_4 != (type_2 *)0x0);
        goto LAB_0002a197;
      }
LAB_0002a189:
      if (var_3 != (type_3)0x0) {
        (*var_3)(var_2->data);
      }
LAB_0002a197:
      var_2->data = (void *)0x0;
      var_5 = var_2 + 1;
      var_2->next = (type_2 *)0x0;
      var_1 = table->bucket_limit;
      var_2 = var_5;
    } while (var_5 < var_1);
  }
LAB_0002a1ae:
  table->n_buckets_used = 0;
  table->n_entries = 0;
  return;
code_r0x0002a164:
  (*var_3)(var_1->data);
  var_5 = var_1->next;
  var_4 = table->free_entry_list;
  var_3 = table->data_freer;
  var_1->data = (void *)0x0;
  var_1->next = var_4;
  table->free_entry_list = var_1;
  var_1 = var_5;
  if (var_5 == (type_2 *)0x0) goto LAB_0002a189;
  goto LAB_0002a160;
}


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

void MASKED(undefined4 *param_1)

{
  undefined4 uVar1;
  undefined4 *puVar2;
  int *piVar3;
  code *pcVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  int *piVar7;
  int *piVar8;
  
  piVar3 = (int *)param_1[1];
  piVar7 = (int *)*param_1;
  if ((int *)*param_1 < piVar3) {
    do {
      while (*piVar7 == 0) {
        piVar7 = piVar7 + 2;
        if (piVar3 <= piVar7) goto LAB_0002a1ae;
      }
      pcVar4 = (code *)param_1[8];
      puVar6 = (undefined4 *)piVar7[1];
      if ((undefined4 *)piVar7[1] != (undefined4 *)0x0) {
LAB_0002a160:
        if (pcVar4 != (code *)0x0) goto code_r0x0002a164;
        puVar5 = (undefined4 *)param_1[9];
        do {
          puVar2 = (undefined4 *)puVar6[1];
          *puVar6 = 0;
          puVar6[1] = puVar5;
          param_1[9] = puVar6;
          puVar5 = puVar6;
          puVar6 = puVar2;
        } while (puVar2 != (undefined4 *)0x0);
        goto LAB_0002a197;
      }
LAB_0002a189:
      if (pcVar4 != (code *)0x0) {
        (*pcVar4)(*piVar7);
      }
LAB_0002a197:
      *piVar7 = 0;
      piVar8 = piVar7 + 2;
      piVar7[1] = 0;
      piVar3 = (int *)param_1[1];
      piVar7 = piVar8;
    } while (piVar8 < piVar3);
  }
LAB_0002a1ae:
  param_1[3] = 0;
  param_1[4] = 0;
  return;
code_r0x0002a164:
  (*pcVar4)(*puVar6);
  puVar5 = (undefined4 *)puVar6[1];
  uVar1 = param_1[9];
  pcVar4 = (code *)param_1[8];
  *puVar6 = 0;
  puVar6[1] = uVar1;
  param_1[9] = puVar6;
  puVar6 = puVar5;
  if (puVar5 == (undefined4 *)0x0) goto LAB_0002a189;
  goto LAB_0002a160;
}

