
void bitset_stats_set(bitset_conflict dst,bitset_bindex bitno)

{
  uint uVar1;
  uint *puVar2;
  int iVar3;
  lbitset_elt_struct *plVar4;
  uint uVar5;
  lbitset_elt_struct *plVar6;
  int iVar7;
  
  plVar4 = (dst->l).head;
  plVar6 = plVar4->next;
  iVar7 = *(int *)PTR_bitset_stats_info_0008dd48;
  uVar5 = plVar4->index;
  uVar1 = (bitno >> 5) - (int)plVar4->prev;
  iVar3 = plVar6[6].index * 0xdc + iVar7;
  *(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1;
  if (uVar1 < uVar5) {
    puVar2 = (uint *)(plVar4->words[0] + uVar1 * 4);
    *puVar2 = *puVar2 | 1 << (bitno & 0x1f);
    iVar7 = plVar4->next[6].index * 0xdc + iVar7;
    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x000591c4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)plVar6->next)();
  return;
}



void FUN_00059130(int param_1,uint param_2)

{
  uint uVar1;
  uint *puVar2;
  int iVar3;
  int *piVar4;
  uint uVar5;
  undefined4 *puVar6;
  int iVar7;
  
  piVar4 = *(int **)(param_1 + 0x14);
  puVar6 = (undefined4 *)*piVar4;
  iVar7 = *(int *)PTR_bitset_stats_info_0008dd48;
  uVar5 = piVar4[2];
  uVar1 = (param_2 >> 5) - piVar4[1];
  iVar3 = puVar6[0x20] * 0xdc + iVar7;
  *(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1;
  if (uVar1 < uVar5) {
    puVar2 = (uint *)(piVar4[3] + uVar1 * 4);
    *puVar2 = *puVar2 | 1 << (param_2 & 0x1f);
    iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;
    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x000591c4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)*puVar6)();
  return;
}


lui gp,0x4
addiu gp,gp,-0x3b40
addu gp,gp,t9
lw a0,0x14(a0)
li t2,0xdc
lw v1,-0x78a8(gp)
srl v0,a1,0x5
lw t0,0x0(a0)
lw a3,0x4(a0)
lw t1,0x0(v1)
lw a2,0x8(a0)
lw v1,0x80(t0)
subu v0,v0,a3
sltu a2,v0,a2
mul a3,v1,t2
addu v1,a3,t1
lw a3,0x10(v1)
addiu a3,a3,0x1
beq a2,zero,0x000591c0
_sw a3,0x10(v1)
lw v1,0xc(a0)
sll v0,v0,0x2
addu v0,v1,v0
li v1,0x1
lw t3,0x0(v0)
sllv v1,v1,a1
or t3,t3,v1
sw t3,0x0(v0)
lw v0,0x0(a0)
lw v0,0x80(v0)
mul v1,v0,t2
addu v0,v1,t1
lw v1,0x14(v0)
addiu v1,v1,0x1
jr ra
_sw v1,0x14(v0)
lw t9,0x0(t0)
jr t9
_nop
(translation_unit "void FUN_00059130(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  \n  piVar4 = *(int **)(param_1 + 0x14);\n  puVar6 = (undefined4 *)*piVar4;\n  iVar7 = *(int *)PTR_bitset_stats_info_0008dd48;\n  uVar5 = piVar4[2];\n  uVar1 = (param_2 >> 5) - piVar4[1];\n  iVar3 = puVar6[0x20] * 0xdc + iVar7;\n  *(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1;\n  if (uVar1 < uVar5) {\n    puVar2 = (uint *)(piVar4[3] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (param_2 & 0x1f);\n    iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x000591c4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)*puVar6)();\n  return;\n}\n\n" (function_definition "void FUN_00059130(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  \n  piVar4 = *(int **)(param_1 + 0x14);\n  puVar6 = (undefined4 *)*piVar4;\n  iVar7 = *(int *)PTR_bitset_stats_info_0008dd48;\n  uVar5 = piVar4[2];\n  uVar1 = (param_2 >> 5) - piVar4[1];\n  iVar3 = puVar6[0x20] * 0xdc + iVar7;\n  *(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1;\n  if (uVar1 < uVar5) {\n    puVar2 = (uint *)(piVar4[3] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (param_2 & 0x1f);\n    iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x000591c4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)*puVar6)();\n  return;\n}" primitive_type (function_declarator "FUN_00059130(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  \n  piVar4 = *(int **)(param_1 + 0x14);\n  puVar6 = (undefined4 *)*piVar4;\n  iVar7 = *(int *)PTR_bitset_stats_info_0008dd48;\n  uVar5 = piVar4[2];\n  uVar1 = (param_2 >> 5) - piVar4[1];\n  iVar3 = puVar6[0x20] * 0xdc + iVar7;\n  *(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1;\n  if (uVar1 < uVar5) {\n    puVar2 = (uint *)(piVar4[3] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (param_2 & 0x1f);\n    iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x000591c4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)*puVar6)();\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "piVar4 = *(int **)(param_1 + 0x14);" (assignment_expression "piVar4 = *(int **)(param_1 + 0x14)" identifier = (pointer_expression "*(int **)(param_1 + 0x14)" * (cast_expression "(int **)(param_1 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "puVar6 = (undefined4 *)*piVar4;" (assignment_expression "puVar6 = (undefined4 *)*piVar4" identifier = (cast_expression "(undefined4 *)*piVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) (expression_statement "iVar7 = *(int *)PTR_bitset_stats_info_0008dd48;" (assignment_expression "iVar7 = *(int *)PTR_bitset_stats_info_0008dd48" identifier = (pointer_expression "*(int *)PTR_bitset_stats_info_0008dd48" * (cast_expression "(int *)PTR_bitset_stats_info_0008dd48" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar5 = piVar4[2];" (assignment_expression "uVar5 = piVar4[2]" identifier = (subscript_expression "piVar4[2]" identifier [ number_literal ])) ;) (expression_statement "uVar1 = (param_2 >> 5) - piVar4[1];" (assignment_expression "uVar1 = (param_2 >> 5) - piVar4[1]" identifier = (binary_expression "(param_2 >> 5) - piVar4[1]" (parenthesized_expression "(param_2 >> 5)" ( (binary_expression "param_2 >> 5" identifier >> number_literal) )) - (subscript_expression "piVar4[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar3 = puVar6[0x20] * 0xdc + iVar7;" (assignment_expression "iVar3 = puVar6[0x20] * 0xdc + iVar7" identifier = (binary_expression "puVar6[0x20] * 0xdc + iVar7" (binary_expression "puVar6[0x20] * 0xdc" (subscript_expression "puVar6[0x20]" identifier [ number_literal ]) * number_literal) + identifier)) ;) (expression_statement "*(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1;" (assignment_expression "*(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1" (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar3 + 0x10) + 1" (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) + number_literal)) ;) (if_statement "if (uVar1 < uVar5) {\n    puVar2 = (uint *)(piVar4[3] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (param_2 & 0x1f);\n    iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }" if (parenthesized_expression "(uVar1 < uVar5)" ( (binary_expression "uVar1 < uVar5" identifier < identifier) )) (compound_statement "{\n    puVar2 = (uint *)(piVar4[3] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (param_2 & 0x1f);\n    iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }" { (expression_statement "puVar2 = (uint *)(piVar4[3] + uVar1 * 4);" (assignment_expression "puVar2 = (uint *)(piVar4[3] + uVar1 * 4)" identifier = (cast_expression "(uint *)(piVar4[3] + uVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4[3] + uVar1 * 4)" ( (binary_expression "piVar4[3] + uVar1 * 4" (subscript_expression "piVar4[3]" identifier [ number_literal ]) + (binary_expression "uVar1 * 4" identifier * number_literal)) )))) ;) (expression_statement "*puVar2 = *puVar2 | 1 << (param_2 & 0x1f);" (assignment_expression "*puVar2 = *puVar2 | 1 << (param_2 & 0x1f)" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 | 1 << (param_2 & 0x1f)" (pointer_expression "*puVar2" * identifier) | (binary_expression "1 << (param_2 & 0x1f)" number_literal << (parenthesized_expression "(param_2 & 0x1f)" ( (binary_expression "param_2 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;" (assignment_expression "iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7" identifier = (binary_expression "*(int *)(*piVar4 + 0x80) * 0xdc + iVar7" (binary_expression "*(int *)(*piVar4 + 0x80) * 0xdc" (pointer_expression "*(int *)(*piVar4 + 0x80)" * (cast_expression "(int *)(*piVar4 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar4 + 0x80)" ( (binary_expression "*piVar4 + 0x80" (pointer_expression "*piVar4" * identifier) + number_literal) )))) * number_literal) + identifier)) ;) (expression_statement "*(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;" (assignment_expression "*(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1" (pointer_expression "*(int *)(iVar7 + 0x14)" * (cast_expression "(int *)(iVar7 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x14)" ( (binary_expression "iVar7 + 0x14" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar7 + 0x14) + 1" (pointer_expression "*(int *)(iVar7 + 0x14)" * (cast_expression "(int *)(iVar7 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x14)" ( (binary_expression "iVar7 + 0x14" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })) comment comment (expression_statement "(*(code *)*puVar6)();" (call_expression "(*(code *)*puVar6)()" (parenthesized_expression "(*(code *)*puVar6)" ( (pointer_expression "*(code *)*puVar6" * (cast_expression "(code *)*puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void bitset_stats_set(bitset_conflict dst,bitset_bindex bitno)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  int iVar3;\n  lbitset_elt_struct *plVar4;\n  uint uVar5;\n  lbitset_elt_struct *plVar6;\n  int iVar7;\n  \n  plVar4 = (dst->l).head;\n  plVar6 = plVar4->next;\n  iVar7 = *(int *)PTR_bitset_stats_info_0008dd48;\n  uVar5 = plVar4->index;\n  uVar1 = (bitno >> 5) - (int)plVar4->prev;\n  iVar3 = plVar6[6].index * 0xdc + iVar7;\n  *(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1;\n  if (uVar1 < uVar5) {\n    puVar2 = (uint *)(plVar4->words[0] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (bitno & 0x1f);\n    iVar7 = plVar4->next[6].index * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x000591c4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)plVar6->next)();\n  return;\n}\n\n" (function_definition "void bitset_stats_set(bitset_conflict dst,bitset_bindex bitno)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  int iVar3;\n  lbitset_elt_struct *plVar4;\n  uint uVar5;\n  lbitset_elt_struct *plVar6;\n  int iVar7;\n  \n  plVar4 = (dst->l).head;\n  plVar6 = plVar4->next;\n  iVar7 = *(int *)PTR_bitset_stats_info_0008dd48;\n  uVar5 = plVar4->index;\n  uVar1 = (bitno >> 5) - (int)plVar4->prev;\n  iVar3 = plVar6[6].index * 0xdc + iVar7;\n  *(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1;\n  if (uVar1 < uVar5) {\n    puVar2 = (uint *)(plVar4->words[0] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (bitno & 0x1f);\n    iVar7 = plVar4->next[6].index * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x000591c4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)plVar6->next)();\n  return;\n}" primitive_type (function_declarator "bitset_stats_set(bitset_conflict dst,bitset_bindex bitno)" identifier (parameter_list "(bitset_conflict dst,bitset_bindex bitno)" ( (parameter_declaration "bitset_conflict dst" type_identifier identifier) , (parameter_declaration "bitset_bindex bitno" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint *puVar2;\n  int iVar3;\n  lbitset_elt_struct *plVar4;\n  uint uVar5;\n  lbitset_elt_struct *plVar6;\n  int iVar7;\n  \n  plVar4 = (dst->l).head;\n  plVar6 = plVar4->next;\n  iVar7 = *(int *)PTR_bitset_stats_info_0008dd48;\n  uVar5 = plVar4->index;\n  uVar1 = (bitno >> 5) - (int)plVar4->prev;\n  iVar3 = plVar6[6].index * 0xdc + iVar7;\n  *(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1;\n  if (uVar1 < uVar5) {\n    puVar2 = (uint *)(plVar4->words[0] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (bitno & 0x1f);\n    iVar7 = plVar4->next[6].index * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x000591c4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)plVar6->next)();\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "lbitset_elt_struct *plVar4;" type_identifier (pointer_declarator "*plVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "lbitset_elt_struct *plVar6;" type_identifier (pointer_declarator "*plVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "plVar4 = (dst->l).head;" (assignment_expression "plVar4 = (dst->l).head" identifier = (field_expression "(dst->l).head" (parenthesized_expression "(dst->l)" ( (field_expression "dst->l" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "plVar6 = plVar4->next;" (assignment_expression "plVar6 = plVar4->next" identifier = (field_expression "plVar4->next" identifier -> field_identifier)) ;) (expression_statement "iVar7 = *(int *)PTR_bitset_stats_info_0008dd48;" (assignment_expression "iVar7 = *(int *)PTR_bitset_stats_info_0008dd48" identifier = (pointer_expression "*(int *)PTR_bitset_stats_info_0008dd48" * (cast_expression "(int *)PTR_bitset_stats_info_0008dd48" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar5 = plVar4->index;" (assignment_expression "uVar5 = plVar4->index" identifier = (field_expression "plVar4->index" identifier -> field_identifier)) ;) (expression_statement "uVar1 = (bitno >> 5) - (int)plVar4->prev;" (assignment_expression "uVar1 = (bitno >> 5) - (int)plVar4->prev" identifier = (binary_expression "(bitno >> 5) - (int)plVar4->prev" (parenthesized_expression "(bitno >> 5)" ( (binary_expression "bitno >> 5" identifier >> number_literal) )) - (cast_expression "(int)plVar4->prev" ( (type_descriptor "int" primitive_type) ) (field_expression "plVar4->prev" identifier -> field_identifier)))) ;) (expression_statement "iVar3 = plVar6[6].index * 0xdc + iVar7;" (assignment_expression "iVar3 = plVar6[6].index * 0xdc + iVar7" identifier = (binary_expression "plVar6[6].index * 0xdc + iVar7" (binary_expression "plVar6[6].index * 0xdc" (field_expression "plVar6[6].index" (subscript_expression "plVar6[6]" identifier [ number_literal ]) . field_identifier) * number_literal) + identifier)) ;) (expression_statement "*(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1;" (assignment_expression "*(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1" (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar3 + 0x10) + 1" (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) + number_literal)) ;) (if_statement "if (uVar1 < uVar5) {\n    puVar2 = (uint *)(plVar4->words[0] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (bitno & 0x1f);\n    iVar7 = plVar4->next[6].index * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }" if (parenthesized_expression "(uVar1 < uVar5)" ( (binary_expression "uVar1 < uVar5" identifier < identifier) )) (compound_statement "{\n    puVar2 = (uint *)(plVar4->words[0] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (bitno & 0x1f);\n    iVar7 = plVar4->next[6].index * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }" { (expression_statement "puVar2 = (uint *)(plVar4->words[0] + uVar1 * 4);" (assignment_expression "puVar2 = (uint *)(plVar4->words[0] + uVar1 * 4)" identifier = (cast_expression "(uint *)(plVar4->words[0] + uVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar4->words[0] + uVar1 * 4)" ( (binary_expression "plVar4->words[0] + uVar1 * 4" (subscript_expression "plVar4->words[0]" (field_expression "plVar4->words" identifier -> field_identifier) [ number_literal ]) + (binary_expression "uVar1 * 4" identifier * number_literal)) )))) ;) (expression_statement "*puVar2 = *puVar2 | 1 << (bitno & 0x1f);" (assignment_expression "*puVar2 = *puVar2 | 1 << (bitno & 0x1f)" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 | 1 << (bitno & 0x1f)" (pointer_expression "*puVar2" * identifier) | (binary_expression "1 << (bitno & 0x1f)" number_literal << (parenthesized_expression "(bitno & 0x1f)" ( (binary_expression "bitno & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "iVar7 = plVar4->next[6].index * 0xdc + iVar7;" (assignment_expression "iVar7 = plVar4->next[6].index * 0xdc + iVar7" identifier = (binary_expression "plVar4->next[6].index * 0xdc + iVar7" (binary_expression "plVar4->next[6].index * 0xdc" (field_expression "plVar4->next[6].index" (subscript_expression "plVar4->next[6]" (field_expression "plVar4->next" identifier -> field_identifier) [ number_literal ]) . field_identifier) * number_literal) + identifier)) ;) (expression_statement "*(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;" (assignment_expression "*(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1" (pointer_expression "*(int *)(iVar7 + 0x14)" * (cast_expression "(int *)(iVar7 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x14)" ( (binary_expression "iVar7 + 0x14" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar7 + 0x14) + 1" (pointer_expression "*(int *)(iVar7 + 0x14)" * (cast_expression "(int *)(iVar7 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x14)" ( (binary_expression "iVar7 + 0x14" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })) comment comment (expression_statement "(*(code *)plVar6->next)();" (call_expression "(*(code *)plVar6->next)()" (parenthesized_expression "(*(code *)plVar6->next)" ( (pointer_expression "*(code *)plVar6->next" * (cast_expression "(code *)plVar6->next" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "plVar6->next" identifier -> field_identifier))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00059130(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  \n  piVar4 = *(int **)(param_1 + 0x14);\n  puVar6 = (undefined4 *)*piVar4;\n  iVar7 = *(int *)PTR_bitset_stats_info_0008dd48;\n  uVar5 = piVar4[2];\n  uVar1 = (param_2 >> 5) - piVar4[1];\n  iVar3 = puVar6[0x20] * 0xdc + iVar7;\n  *(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1;\n  if (uVar1 < uVar5) {\n    puVar2 = (uint *)(piVar4[3] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (param_2 & 0x1f);\n    iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }\n                    \n                    \n  (*(code *)*puVar6)();\n  return;\n}\n\n" (function_definition "void FUN_00059130(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  \n  piVar4 = *(int **)(param_1 + 0x14);\n  puVar6 = (undefined4 *)*piVar4;\n  iVar7 = *(int *)PTR_bitset_stats_info_0008dd48;\n  uVar5 = piVar4[2];\n  uVar1 = (param_2 >> 5) - piVar4[1];\n  iVar3 = puVar6[0x20] * 0xdc + iVar7;\n  *(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1;\n  if (uVar1 < uVar5) {\n    puVar2 = (uint *)(piVar4[3] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (param_2 & 0x1f);\n    iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }\n                    \n                    \n  (*(code *)*puVar6)();\n  return;\n}" primitive_type (function_declarator "FUN_00059130(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  \n  piVar4 = *(int **)(param_1 + 0x14);\n  puVar6 = (undefined4 *)*piVar4;\n  iVar7 = *(int *)PTR_bitset_stats_info_0008dd48;\n  uVar5 = piVar4[2];\n  uVar1 = (param_2 >> 5) - piVar4[1];\n  iVar3 = puVar6[0x20] * 0xdc + iVar7;\n  *(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1;\n  if (uVar1 < uVar5) {\n    puVar2 = (uint *)(piVar4[3] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (param_2 & 0x1f);\n    iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }\n                    \n                    \n  (*(code *)*puVar6)();\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "piVar4 = *(int **)(param_1 + 0x14);" (assignment_expression "piVar4 = *(int **)(param_1 + 0x14)" identifier = (pointer_expression "*(int **)(param_1 + 0x14)" * (cast_expression "(int **)(param_1 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "puVar6 = (undefined4 *)*piVar4;" (assignment_expression "puVar6 = (undefined4 *)*piVar4" identifier = (cast_expression "(undefined4 *)*piVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) (expression_statement "iVar7 = *(int *)PTR_bitset_stats_info_0008dd48;" (assignment_expression "iVar7 = *(int *)PTR_bitset_stats_info_0008dd48" identifier = (pointer_expression "*(int *)PTR_bitset_stats_info_0008dd48" * (cast_expression "(int *)PTR_bitset_stats_info_0008dd48" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar5 = piVar4[2];" (assignment_expression "uVar5 = piVar4[2]" identifier = (subscript_expression "piVar4[2]" identifier [ number_literal ])) ;) (expression_statement "uVar1 = (param_2 >> 5) - piVar4[1];" (assignment_expression "uVar1 = (param_2 >> 5) - piVar4[1]" identifier = (binary_expression "(param_2 >> 5) - piVar4[1]" (parenthesized_expression "(param_2 >> 5)" ( (binary_expression "param_2 >> 5" identifier >> number_literal) )) - (subscript_expression "piVar4[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar3 = puVar6[0x20] * 0xdc + iVar7;" (assignment_expression "iVar3 = puVar6[0x20] * 0xdc + iVar7" identifier = (binary_expression "puVar6[0x20] * 0xdc + iVar7" (binary_expression "puVar6[0x20] * 0xdc" (subscript_expression "puVar6[0x20]" identifier [ number_literal ]) * number_literal) + identifier)) ;) (expression_statement "*(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1;" (assignment_expression "*(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1" (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar3 + 0x10) + 1" (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) + number_literal)) ;) (if_statement "if (uVar1 < uVar5) {\n    puVar2 = (uint *)(piVar4[3] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (param_2 & 0x1f);\n    iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }" if (parenthesized_expression "(uVar1 < uVar5)" ( (binary_expression "uVar1 < uVar5" identifier < identifier) )) (compound_statement "{\n    puVar2 = (uint *)(piVar4[3] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (param_2 & 0x1f);\n    iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }" { (expression_statement "puVar2 = (uint *)(piVar4[3] + uVar1 * 4);" (assignment_expression "puVar2 = (uint *)(piVar4[3] + uVar1 * 4)" identifier = (cast_expression "(uint *)(piVar4[3] + uVar1 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4[3] + uVar1 * 4)" ( (binary_expression "piVar4[3] + uVar1 * 4" (subscript_expression "piVar4[3]" identifier [ number_literal ]) + (binary_expression "uVar1 * 4" identifier * number_literal)) )))) ;) (expression_statement "*puVar2 = *puVar2 | 1 << (param_2 & 0x1f);" (assignment_expression "*puVar2 = *puVar2 | 1 << (param_2 & 0x1f)" (pointer_expression "*puVar2" * identifier) = (binary_expression "*puVar2 | 1 << (param_2 & 0x1f)" (pointer_expression "*puVar2" * identifier) | (binary_expression "1 << (param_2 & 0x1f)" number_literal << (parenthesized_expression "(param_2 & 0x1f)" ( (binary_expression "param_2 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;" (assignment_expression "iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7" identifier = (binary_expression "*(int *)(*piVar4 + 0x80) * 0xdc + iVar7" (binary_expression "*(int *)(*piVar4 + 0x80) * 0xdc" (pointer_expression "*(int *)(*piVar4 + 0x80)" * (cast_expression "(int *)(*piVar4 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar4 + 0x80)" ( (binary_expression "*piVar4 + 0x80" (pointer_expression "*piVar4" * identifier) + number_literal) )))) * number_literal) + identifier)) ;) (expression_statement "*(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;" (assignment_expression "*(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1" (pointer_expression "*(int *)(iVar7 + 0x14)" * (cast_expression "(int *)(iVar7 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x14)" ( (binary_expression "iVar7 + 0x14" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar7 + 0x14) + 1" (pointer_expression "*(int *)(iVar7 + 0x14)" * (cast_expression "(int *)(iVar7 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x14)" ( (binary_expression "iVar7 + 0x14" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)*puVar6)();" (call_expression "(*(code *)*puVar6)()" (parenthesized_expression "(*(code *)*puVar6)" ( (pointer_expression "*(code *)*puVar6" * (cast_expression "(code *)*puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) - (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) * LIT) + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) * LIT) + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00059130(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  \n  piVar4 = *(int **)(param_1 + 0x14);\n  puVar6 = (undefined4 *)*piVar4;\n  iVar7 = *(int *)PTR_bitset_stats_info_0008dd48;\n  uVar5 = piVar4[2];\n  uVar1 = (param_2 >> 5) - piVar4[1];\n  iVar3 = puVar6[0x20] * 0xdc + iVar7;\n  *(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1;\n  if (uVar1 < uVar5) {\n    puVar2 = (uint *)(piVar4[3] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (param_2 & 0x1f);\n    iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }\n                    \n                    \n  (*(code *)*puVar6)();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00059130(int param_1,uint param_2)" (identifier "FUN_00059130") (parameter_list "(int param_1,uint param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  uint *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  \n  piVar4 = *(int **)(param_1 + 0x14);\n  puVar6 = (undefined4 *)*piVar4;\n  iVar7 = *(int *)PTR_bitset_stats_info_0008dd48;\n  uVar5 = piVar4[2];\n  uVar1 = (param_2 >> 5) - piVar4[1];\n  iVar3 = puVar6[0x20] * 0xdc + iVar7;\n  *(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1;\n  if (uVar1 < uVar5) {\n    puVar2 = (uint *)(piVar4[3] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (param_2 & 0x1f);\n    iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }\n                    \n                    \n  (*(code *)*puVar6)();\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint *puVar2;" (type_identifier "uint") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (expression_statement "piVar4 = *(int **)(param_1 + 0x14);" (assignment_expression "piVar4 = *(int **)(param_1 + 0x14)" (identifier "piVar4") (= "=") (pointer_expression "*(int **)(param_1 + 0x14)" (* "*") (cast_expression "(int **)(param_1 + 0x14)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "puVar6 = (undefined4 *)*piVar4;" (assignment_expression "puVar6 = (undefined4 *)*piVar4" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)*piVar4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")))) (; ";")) (expression_statement "iVar7 = *(int *)PTR_bitset_stats_info_0008dd48;" (assignment_expression "iVar7 = *(int *)PTR_bitset_stats_info_0008dd48" (identifier "iVar7") (= "=") (pointer_expression "*(int *)PTR_bitset_stats_info_0008dd48" (* "*") (cast_expression "(int *)PTR_bitset_stats_info_0008dd48" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_bitset_stats_info_0008dd48")))) (; ";")) (expression_statement "uVar5 = piVar4[2];" (assignment_expression "uVar5 = piVar4[2]" (identifier "uVar5") (= "=") (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar1 = (param_2 >> 5) - piVar4[1];" (assignment_expression "uVar1 = (param_2 >> 5) - piVar4[1]" (identifier "uVar1") (= "=") (binary_expression "(param_2 >> 5) - piVar4[1]" (parenthesized_expression "(param_2 >> 5)" (( "(") (binary_expression "param_2 >> 5" (identifier "param_2") (>> ">>") (number_literal "5")) () ")")) (- "-") (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "iVar3 = puVar6[0x20] * 0xdc + iVar7;" (assignment_expression "iVar3 = puVar6[0x20] * 0xdc + iVar7" (identifier "iVar3") (= "=") (binary_expression "puVar6[0x20] * 0xdc + iVar7" (binary_expression "puVar6[0x20] * 0xdc" (subscript_expression "puVar6[0x20]" (identifier "puVar6") ([ "[") (number_literal "0x20") (] "]")) (* "*") (number_literal "0xdc")) (+ "+") (identifier "iVar7"))) (; ";")) (expression_statement "*(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1;" (assignment_expression "*(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1" (pointer_expression "*(int *)(iVar3 + 0x10)" (* "*") (cast_expression "(int *)(iVar3 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "*(int *)(iVar3 + 0x10) + 1" (pointer_expression "*(int *)(iVar3 + 0x10)" (* "*") (cast_expression "(int *)(iVar3 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar1 < uVar5) {\n    puVar2 = (uint *)(piVar4[3] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (param_2 & 0x1f);\n    iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }" (if "if") (parenthesized_expression "(uVar1 < uVar5)" (( "(") (binary_expression "uVar1 < uVar5" (identifier "uVar1") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n    puVar2 = (uint *)(piVar4[3] + uVar1 * 4);\n    *puVar2 = *puVar2 | 1 << (param_2 & 0x1f);\n    iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;\n    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;\n    return;\n  }" ({ "{") (expression_statement "puVar2 = (uint *)(piVar4[3] + uVar1 * 4);" (assignment_expression "puVar2 = (uint *)(piVar4[3] + uVar1 * 4)" (identifier "puVar2") (= "=") (cast_expression "(uint *)(piVar4[3] + uVar1 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar4[3] + uVar1 * 4)" (( "(") (binary_expression "piVar4[3] + uVar1 * 4" (subscript_expression "piVar4[3]" (identifier "piVar4") ([ "[") (number_literal "3") (] "]")) (+ "+") (binary_expression "uVar1 * 4" (identifier "uVar1") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "*puVar2 = *puVar2 | 1 << (param_2 & 0x1f);" (assignment_expression "*puVar2 = *puVar2 | 1 << (param_2 & 0x1f)" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (binary_expression "*puVar2 | 1 << (param_2 & 0x1f)" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (| "|") (binary_expression "1 << (param_2 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "(param_2 & 0x1f)" (( "(") (binary_expression "param_2 & 0x1f" (identifier "param_2") (& "&") (number_literal "0x1f")) () ")"))))) (; ";")) (expression_statement "iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;" (assignment_expression "iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7" (identifier "iVar7") (= "=") (binary_expression "*(int *)(*piVar4 + 0x80) * 0xdc + iVar7" (binary_expression "*(int *)(*piVar4 + 0x80) * 0xdc" (pointer_expression "*(int *)(*piVar4 + 0x80)" (* "*") (cast_expression "(int *)(*piVar4 + 0x80)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar4 + 0x80)" (( "(") (binary_expression "*piVar4 + 0x80" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (+ "+") (number_literal "0x80")) () ")")))) (* "*") (number_literal "0xdc")) (+ "+") (identifier "iVar7"))) (; ";")) (expression_statement "*(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;" (assignment_expression "*(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1" (pointer_expression "*(int *)(iVar7 + 0x14)" (* "*") (cast_expression "(int *)(iVar7 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x14)" (( "(") (binary_expression "iVar7 + 0x14" (identifier "iVar7") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "*(int *)(iVar7 + 0x14) + 1" (pointer_expression "*(int *)(iVar7 + 0x14)" (* "*") (cast_expression "(int *)(iVar7 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x14)" (( "(") (binary_expression "iVar7 + 0x14" (identifier "iVar7") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)*puVar6)();" (call_expression "(*(code *)*puVar6)()" (parenthesized_expression "(*(code *)*puVar6)" (( "(") (pointer_expression "*(code *)*puVar6" (* "*") (cast_expression "(code *)*puVar6" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 dst,type_2 var_1)

{
  type_3 var_4;
  type_3 *puVar2;
  int var_3;
  type_4 *plVar4;
  type_3 var_5;
  type_4 *plVar6;
  int var_2;
  
  plVar4 = (dst->l).head;
  plVar6 = plVar4->next;
  var_2 = *(int *)PTR_bitset_stats_info_0008dd48;
  var_5 = plVar4->index;
  var_4 = (var_1 >> 5) - (int)plVar4->prev;
  var_3 = plVar6[6].index * 0xdc + var_2;
  *(int *)(var_3 + 0x10) = *(int *)(var_3 + 0x10) + 1;
  if (var_4 < var_5) {
    puVar2 = (type_3 *)(plVar4->words[0] + var_4 * 4);
    *puVar2 = *puVar2 | 1 << (var_1 & 0x1f);
    var_2 = plVar4->next[6].index * 0xdc + var_2;
    *(int *)(var_2 + 0x14) = *(int *)(var_2 + 0x14) + 1;
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x000591c4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(type_5 *)plVar6->next)();
  return;
}


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

void MASKED(int param_1,uint param_2)

{
  uint uVar1;
  uint *puVar2;
  int iVar3;
  int *piVar4;
  uint uVar5;
  undefined4 *puVar6;
  int iVar7;
  
  piVar4 = *(int **)(param_1 + 0x14);
  puVar6 = (undefined4 *)*piVar4;
  iVar7 = *(int *)PTR_bitset_stats_info_0008dd48;
  uVar5 = piVar4[2];
  uVar1 = (param_2 >> 5) - piVar4[1];
  iVar3 = puVar6[0x20] * 0xdc + iVar7;
  *(int *)(iVar3 + 0x10) = *(int *)(iVar3 + 0x10) + 1;
  if (uVar1 < uVar5) {
    puVar2 = (uint *)(piVar4[3] + uVar1 * 4);
    *puVar2 = *puVar2 | 1 << (param_2 & 0x1f);
    iVar7 = *(int *)(*piVar4 + 0x80) * 0xdc + iVar7;
    *(int *)(iVar7 + 0x14) = *(int *)(iVar7 + 0x14) + 1;
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x000591c4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)*puVar6)();
  return;
}

