
bitset_conflict bitset_alloc(bitset_bindex n_bits,bitset_type type)

{
  size_t s;
  bitset_conflict pbVar1;
  
  s = bitset_bytes(type,n_bits);
  pbVar1 = (bitset_conflict)xcalloc(1,s);
  pbVar1 = bitset_init(pbVar1,n_bits,type);
  return pbVar1;
}



void bitset_alloc(undefined4 param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  uVar1 = bitset_bytes(param_2,param_1);
  uVar1 = xcalloc(1,uVar1);
  bitset_init(uVar1,param_1,param_2);
  return;
}


lui gp,0x4
addiu gp,gp,-0x1edc
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x78c8(gp)
sw s0,0x1c(sp)
or s0,a0,zero
sw ra,0x24(sp)
or a0,a1,zero
sw s1,0x20(sp)
or s1,a1,zero
sw gp,0x10(sp)
bal 0x00057310
_or a1,s0,zero
li a0,0x1
lw gp,0x10(sp)
lw t9,-0x7e30(gp)
bal 0x0006b724
_or a1,v0,zero
or a2,s1,zero
lw gp,0x10(sp)
or a1,s0,zero
lw ra,0x24(sp)
or a0,v0,zero
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,-0x78c4(gp)
b 0x000573b8
_addiu sp,sp,0x28
(translation_unit "void bitset_alloc(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = bitset_bytes(param_2,param_1);\n  uVar1 = xcalloc(1,uVar1);\n  bitset_init(uVar1,param_1,param_2);\n  return;\n}\n\n" (function_definition "void bitset_alloc(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = bitset_bytes(param_2,param_1);\n  uVar1 = xcalloc(1,uVar1);\n  bitset_init(uVar1,param_1,param_2);\n  return;\n}" primitive_type (function_declarator "bitset_alloc(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = bitset_bytes(param_2,param_1);\n  uVar1 = xcalloc(1,uVar1);\n  bitset_init(uVar1,param_1,param_2);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = bitset_bytes(param_2,param_1);" (assignment_expression "uVar1 = bitset_bytes(param_2,param_1)" identifier = (call_expression "bitset_bytes(param_2,param_1)" identifier (argument_list "(param_2,param_1)" ( identifier , identifier )))) ;) (expression_statement "uVar1 = xcalloc(1,uVar1);" (assignment_expression "uVar1 = xcalloc(1,uVar1)" identifier = (call_expression "xcalloc(1,uVar1)" identifier (argument_list "(1,uVar1)" ( number_literal , identifier )))) ;) (expression_statement "bitset_init(uVar1,param_1,param_2);" (call_expression "bitset_init(uVar1,param_1,param_2)" identifier (argument_list "(uVar1,param_1,param_2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "bitset_conflict bitset_alloc(bitset_bindex n_bits,bitset_type type)\n\n{\n  size_t s;\n  bitset_conflict pbVar1;\n  \n  s = bitset_bytes(type,n_bits);\n  pbVar1 = (bitset_conflict)xcalloc(1,s);\n  pbVar1 = bitset_init(pbVar1,n_bits,type);\n  return pbVar1;\n}\n\n" (function_definition "bitset_conflict bitset_alloc(bitset_bindex n_bits,bitset_type type)\n\n{\n  size_t s;\n  bitset_conflict pbVar1;\n  \n  s = bitset_bytes(type,n_bits);\n  pbVar1 = (bitset_conflict)xcalloc(1,s);\n  pbVar1 = bitset_init(pbVar1,n_bits,type);\n  return pbVar1;\n}" type_identifier (function_declarator "bitset_alloc(bitset_bindex n_bits,bitset_type type)" identifier (parameter_list "(bitset_bindex n_bits,bitset_type type)" ( (parameter_declaration "bitset_bindex n_bits" type_identifier identifier) , (parameter_declaration "bitset_type type" type_identifier identifier) ))) (compound_statement "{\n  size_t s;\n  bitset_conflict pbVar1;\n  \n  s = bitset_bytes(type,n_bits);\n  pbVar1 = (bitset_conflict)xcalloc(1,s);\n  pbVar1 = bitset_init(pbVar1,n_bits,type);\n  return pbVar1;\n}" { (declaration "size_t s;" primitive_type identifier ;) (declaration "bitset_conflict pbVar1;" type_identifier identifier ;) (expression_statement "s = bitset_bytes(type,n_bits);" (assignment_expression "s = bitset_bytes(type,n_bits)" identifier = (call_expression "bitset_bytes(type,n_bits)" identifier (argument_list "(type,n_bits)" ( identifier , identifier )))) ;) (expression_statement "pbVar1 = (bitset_conflict)xcalloc(1,s);" (assignment_expression "pbVar1 = (bitset_conflict)xcalloc(1,s)" identifier = (cast_expression "(bitset_conflict)xcalloc(1,s)" ( (type_descriptor "bitset_conflict" type_identifier) ) (call_expression "xcalloc(1,s)" identifier (argument_list "(1,s)" ( number_literal , identifier ))))) ;) (expression_statement "pbVar1 = bitset_init(pbVar1,n_bits,type);" (assignment_expression "pbVar1 = bitset_init(pbVar1,n_bits,type)" identifier = (call_expression "bitset_init(pbVar1,n_bits,type)" identifier (argument_list "(pbVar1,n_bits,type)" ( identifier , identifier , identifier )))) ;) (return_statement "return pbVar1;" return identifier ;) })))
(translation_unit "void bitset_alloc(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = bitset_bytes(param_2,param_1);\n  uVar1 = xcalloc(1,uVar1);\n  bitset_init(uVar1,param_1,param_2);\n  return;\n}\n\n" (function_definition "void bitset_alloc(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = bitset_bytes(param_2,param_1);\n  uVar1 = xcalloc(1,uVar1);\n  bitset_init(uVar1,param_1,param_2);\n  return;\n}" primitive_type (function_declarator "bitset_alloc(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = bitset_bytes(param_2,param_1);\n  uVar1 = xcalloc(1,uVar1);\n  bitset_init(uVar1,param_1,param_2);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = bitset_bytes(param_2,param_1);" (assignment_expression "uVar1 = bitset_bytes(param_2,param_1)" identifier = (call_expression "bitset_bytes(param_2,param_1)" identifier (argument_list "(param_2,param_1)" ( identifier , identifier )))) ;) (expression_statement "uVar1 = xcalloc(1,uVar1);" (assignment_expression "uVar1 = xcalloc(1,uVar1)" identifier = (call_expression "xcalloc(1,uVar1)" identifier (argument_list "(1,uVar1)" ( number_literal , identifier )))) ;) (expression_statement "bitset_init(uVar1,param_1,param_2);" (call_expression "bitset_init(uVar1,param_1,param_2)" identifier (argument_list "(uVar1,param_1,param_2)" ( identifier , identifier , identifier ))) ;) (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 ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void bitset_alloc(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = bitset_bytes(param_2,param_1);\n  uVar1 = xcalloc(1,uVar1);\n  bitset_init(uVar1,param_1,param_2);\n  return;\n}" (primitive_type "void") (function_declarator "bitset_alloc(undefined4 param_1,undefined4 param_2)" (identifier "bitset_alloc") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = bitset_bytes(param_2,param_1);\n  uVar1 = xcalloc(1,uVar1);\n  bitset_init(uVar1,param_1,param_2);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = bitset_bytes(param_2,param_1);" (assignment_expression "uVar1 = bitset_bytes(param_2,param_1)" (identifier "uVar1") (= "=") (call_expression "bitset_bytes(param_2,param_1)" (identifier "bitset_bytes") (argument_list "(param_2,param_1)" (( "(") (identifier "param_2") (, ",") (identifier "param_1") () ")")))) (; ";")) (expression_statement "uVar1 = xcalloc(1,uVar1);" (assignment_expression "uVar1 = xcalloc(1,uVar1)" (identifier "uVar1") (= "=") (call_expression "xcalloc(1,uVar1)" (identifier "xcalloc") (argument_list "(1,uVar1)" (( "(") (number_literal "1") (, ",") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "bitset_init(uVar1,param_1,param_2);" (call_expression "bitset_init(uVar1,param_1,param_2)" (identifier "bitset_init") (argument_list "(uVar1,param_1,param_2)" (( "(") (identifier "uVar1") (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

type_1 function_1(type_2 n_bits,type_3 type)

{
  size_t s;
  type_1 pbVar1;
  
  s = var_1(type,n_bits);
  pbVar1 = (type_1)var_2(1,s);
  pbVar1 = var_3(pbVar1,n_bits,type);
  return pbVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))))

void MASKED(undefined4 param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  uVar1 = bitset_bytes(param_2,param_1);
  uVar1 = xcalloc(1,uVar1);
  bitset_init(uVar1,param_1,param_2);
  return;
}

