
void pollwrap_free(pollwrapper *pw)

{
  pollwrap_clear(pw);
  (*(code *)PTR_freetree234_00111428)(pw->fdtopos);
  (*(code *)PTR_safefree_001112f0)(pw->fds);
  (*(code *)PTR_safefree_001112f0)(pw);
  return;
}



void FUN_000c4754(undefined4 *param_1)

{
  pollwrap_clear();
  (*(code *)PTR_freetree234_00111428)(param_1[3]);
  (*(code *)PTR_safefree_001112f0)(*param_1);
  (*(code *)PTR_safefree_001112f0)(param_1);
  return;
}


lui gp,0x5
addiu gp,gp,0x4b5c
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x745c(gp)
sw ra,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
bal 0x000c46f4
_or s0,a0,zero
lw gp,0x10(sp)
lw t9,-0x7e88(gp)
jalr t9
_lw a0,0xc(s0)
lw gp,0x10(sp)
lw t9,-0x7fc0(gp)
jalr t9
_lw a0,0x0(s0)
or a0,s0,zero
lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7fc0(gp)
jr t9
_addiu sp,sp,0x20
(translation_unit "void FUN_000c4754(undefined4 *param_1)\n\n{\n  pollwrap_clear();\n  (*(code *)PTR_freetree234_00111428)(param_1[3]);\n  (*(code *)PTR_safefree_001112f0)(*param_1);\n  (*(code *)PTR_safefree_001112f0)(param_1);\n  return;\n}\n\n" (function_definition "void FUN_000c4754(undefined4 *param_1)\n\n{\n  pollwrap_clear();\n  (*(code *)PTR_freetree234_00111428)(param_1[3]);\n  (*(code *)PTR_safefree_001112f0)(*param_1);\n  (*(code *)PTR_safefree_001112f0)(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_000c4754(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  pollwrap_clear();\n  (*(code *)PTR_freetree234_00111428)(param_1[3]);\n  (*(code *)PTR_safefree_001112f0)(*param_1);\n  (*(code *)PTR_safefree_001112f0)(param_1);\n  return;\n}" { (expression_statement "pollwrap_clear();" (call_expression "pollwrap_clear()" identifier (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_freetree234_00111428)(param_1[3]);" (call_expression "(*(code *)PTR_freetree234_00111428)(param_1[3])" (parenthesized_expression "(*(code *)PTR_freetree234_00111428)" ( (pointer_expression "*(code *)PTR_freetree234_00111428" * (cast_expression "(code *)PTR_freetree234_00111428" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3])" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) ))) ;) (expression_statement "(*(code *)PTR_safefree_001112f0)(*param_1);" (call_expression "(*(code *)PTR_safefree_001112f0)(*param_1)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "(*(code *)PTR_safefree_001112f0)(param_1);" (call_expression "(*(code *)PTR_safefree_001112f0)(param_1)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void pollwrap_free(pollwrapper *pw)\n\n{\n  pollwrap_clear(pw);\n  (*(code *)PTR_freetree234_00111428)(pw->fdtopos);\n  (*(code *)PTR_safefree_001112f0)(pw->fds);\n  (*(code *)PTR_safefree_001112f0)(pw);\n  return;\n}\n\n" (function_definition "void pollwrap_free(pollwrapper *pw)\n\n{\n  pollwrap_clear(pw);\n  (*(code *)PTR_freetree234_00111428)(pw->fdtopos);\n  (*(code *)PTR_safefree_001112f0)(pw->fds);\n  (*(code *)PTR_safefree_001112f0)(pw);\n  return;\n}" primitive_type (function_declarator "pollwrap_free(pollwrapper *pw)" identifier (parameter_list "(pollwrapper *pw)" ( (parameter_declaration "pollwrapper *pw" type_identifier (pointer_declarator "*pw" * identifier)) ))) (compound_statement "{\n  pollwrap_clear(pw);\n  (*(code *)PTR_freetree234_00111428)(pw->fdtopos);\n  (*(code *)PTR_safefree_001112f0)(pw->fds);\n  (*(code *)PTR_safefree_001112f0)(pw);\n  return;\n}" { (expression_statement "pollwrap_clear(pw);" (call_expression "pollwrap_clear(pw)" identifier (argument_list "(pw)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_freetree234_00111428)(pw->fdtopos);" (call_expression "(*(code *)PTR_freetree234_00111428)(pw->fdtopos)" (parenthesized_expression "(*(code *)PTR_freetree234_00111428)" ( (pointer_expression "*(code *)PTR_freetree234_00111428" * (cast_expression "(code *)PTR_freetree234_00111428" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pw->fdtopos)" ( (field_expression "pw->fdtopos" identifier -> field_identifier) ))) ;) (expression_statement "(*(code *)PTR_safefree_001112f0)(pw->fds);" (call_expression "(*(code *)PTR_safefree_001112f0)(pw->fds)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pw->fds)" ( (field_expression "pw->fds" identifier -> field_identifier) ))) ;) (expression_statement "(*(code *)PTR_safefree_001112f0)(pw);" (call_expression "(*(code *)PTR_safefree_001112f0)(pw)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pw)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000c4754(undefined4 *param_1)\n\n{\n  pollwrap_clear();\n  (*(code *)PTR_freetree234_00111428)(param_1[3]);\n  (*(code *)PTR_safefree_001112f0)(*param_1);\n  (*(code *)PTR_safefree_001112f0)(param_1);\n  return;\n}\n\n" (function_definition "void FUN_000c4754(undefined4 *param_1)\n\n{\n  pollwrap_clear();\n  (*(code *)PTR_freetree234_00111428)(param_1[3]);\n  (*(code *)PTR_safefree_001112f0)(*param_1);\n  (*(code *)PTR_safefree_001112f0)(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_000c4754(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  pollwrap_clear();\n  (*(code *)PTR_freetree234_00111428)(param_1[3]);\n  (*(code *)PTR_safefree_001112f0)(*param_1);\n  (*(code *)PTR_safefree_001112f0)(param_1);\n  return;\n}" { (expression_statement "pollwrap_clear();" (call_expression "pollwrap_clear()" identifier (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_freetree234_00111428)(param_1[3]);" (call_expression "(*(code *)PTR_freetree234_00111428)(param_1[3])" (parenthesized_expression "(*(code *)PTR_freetree234_00111428)" ( (pointer_expression "*(code *)PTR_freetree234_00111428" * (cast_expression "(code *)PTR_freetree234_00111428" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3])" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) ))) ;) (expression_statement "(*(code *)PTR_safefree_001112f0)(*param_1);" (call_expression "(*(code *)PTR_safefree_001112f0)(*param_1)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "(*(code *)PTR_safefree_001112f0)(param_1);" (call_expression "(*(code *)PTR_safefree_001112f0)(param_1)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000c4754(undefined4 *param_1)\n\n{\n  pollwrap_clear();\n  (*(code *)PTR_freetree234_00111428)(param_1[3]);\n  (*(code *)PTR_safefree_001112f0)(*param_1);\n  (*(code *)PTR_safefree_001112f0)(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000c4754(undefined4 *param_1)" (identifier "FUN_000c4754") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  pollwrap_clear();\n  (*(code *)PTR_freetree234_00111428)(param_1[3]);\n  (*(code *)PTR_safefree_001112f0)(*param_1);\n  (*(code *)PTR_safefree_001112f0)(param_1);\n  return;\n}" ({ "{") (expression_statement "pollwrap_clear();" (call_expression "pollwrap_clear()" (identifier "pollwrap_clear") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_freetree234_00111428)(param_1[3]);" (call_expression "(*(code *)PTR_freetree234_00111428)(param_1[3])" (parenthesized_expression "(*(code *)PTR_freetree234_00111428)" (( "(") (pointer_expression "*(code *)PTR_freetree234_00111428" (* "*") (cast_expression "(code *)PTR_freetree234_00111428" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_freetree234_00111428"))) () ")")) (argument_list "(param_1[3])" (( "(") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_safefree_001112f0)(*param_1);" (call_expression "(*(code *)PTR_safefree_001112f0)(*param_1)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_001112f0" (* "*") (cast_expression "(code *)PTR_safefree_001112f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_001112f0"))) () ")")) (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_safefree_001112f0)(param_1);" (call_expression "(*(code *)PTR_safefree_001112f0)(param_1)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_001112f0" (* "*") (cast_expression "(code *)PTR_safefree_001112f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_001112f0"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *pw)

{
  var_1(pw);
  (*(type_2 *)PTR_freetree234_00111428)(pw->fdtopos);
  (*(type_2 *)PTR_safefree_001112f0)(pw->fds);
  (*(type_2 *)PTR_safefree_001112f0)(pw);
  return;
}


(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 (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (return_statement))))

void MASKED(undefined4 *param_1)

{
  pollwrap_clear();
  (*(code *)PTR_freetree234_00111428)(param_1[3]);
  (*(code *)PTR_safefree_001112f0)(*param_1);
  (*(code *)PTR_safefree_001112f0)(param_1);
  return;
}

