
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void pfl_terminate(PortListener *pl)

{
  if (pl != (PortListener *)0x0) {
    (*(*pl->s)->close)(pl->s);
                    /* WARNING: Subroutine does not return */
    safefree(pl->hostname);
  }
  return;
}



void pfl_terminate(int param_1)

{
  if (param_1 != 0) {
    (**(code **)(**(int **)(param_1 + 8) + 4))();
    safefree(*(undefined4 *)(param_1 + 0x10));
    safefree(param_1);
    return;
  }
  return;
}


lui gp,0xa
addiu gp,gp,-0x4494
addu gp,gp,t9
beq a0,zero,0x0002479c
_nop
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
or s0,a0,zero
lw a0,0x8(a0)
lw v0,0x0(a0)
lw t9,0x4(v0)
jalr t9
_nop
lw gp,0x10(sp)
lw a0,0x10(s0)
lw t9,-0x7fa8(gp)
bal 0x000223e8
_nop
lw gp,0x10(sp)
or a0,s0,zero
lw t9,-0x7fa8(gp)
bal 0x000223e8
_nop
lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
jr ra
_nop
(translation_unit "void pfl_terminate(int param_1)\n\n{\n  if (param_1 != 0) {\n    (**(code **)(**(int **)(param_1 + 8) + 4))();\n    safefree(*(undefined4 *)(param_1 + 0x10));\n    safefree(param_1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void pfl_terminate(int param_1)\n\n{\n  if (param_1 != 0) {\n    (**(code **)(**(int **)(param_1 + 8) + 4))();\n    safefree(*(undefined4 *)(param_1 + 0x10));\n    safefree(param_1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "pfl_terminate(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    (**(code **)(**(int **)(param_1 + 8) + 4))();\n    safefree(*(undefined4 *)(param_1 + 0x10));\n    safefree(param_1);\n    return;\n  }\n  return;\n}" { (if_statement "if (param_1 != 0) {\n    (**(code **)(**(int **)(param_1 + 8) + 4))();\n    safefree(*(undefined4 *)(param_1 + 0x10));\n    safefree(param_1);\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    (**(code **)(**(int **)(param_1 + 8) + 4))();\n    safefree(*(undefined4 *)(param_1 + 0x10));\n    safefree(param_1);\n    return;\n  }" { (expression_statement "(**(code **)(**(int **)(param_1 + 8) + 4))();" (call_expression "(**(code **)(**(int **)(param_1 + 8) + 4))()" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 8) + 4))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 8) + 4)" * (pointer_expression "*(code **)(**(int **)(param_1 + 8) + 4)" * (cast_expression "(code **)(**(int **)(param_1 + 8) + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 8) + 4)" ( (binary_expression "**(int **)(param_1 + 8) + 4" (pointer_expression "**(int **)(param_1 + 8)" * (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "safefree(*(undefined4 *)(param_1 + 0x10));" (call_expression "safefree(*(undefined4 *)(param_1 + 0x10))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x10))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "safefree(param_1);" (call_expression "safefree(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid pfl_terminate(PortListener *pl)\n\n{\n  if (pl != (PortListener *)0x0) {\n    (*(*pl->s)->close)(pl->s);\n                    /* WARNING: Subroutine does not return */\n    safefree(pl->hostname);\n  }\n  return;\n}\n\n" comment (function_definition "void pfl_terminate(PortListener *pl)\n\n{\n  if (pl != (PortListener *)0x0) {\n    (*(*pl->s)->close)(pl->s);\n                    /* WARNING: Subroutine does not return */\n    safefree(pl->hostname);\n  }\n  return;\n}" primitive_type (function_declarator "pfl_terminate(PortListener *pl)" identifier (parameter_list "(PortListener *pl)" ( (parameter_declaration "PortListener *pl" type_identifier (pointer_declarator "*pl" * identifier)) ))) (compound_statement "{\n  if (pl != (PortListener *)0x0) {\n    (*(*pl->s)->close)(pl->s);\n                    /* WARNING: Subroutine does not return */\n    safefree(pl->hostname);\n  }\n  return;\n}" { (if_statement "if (pl != (PortListener *)0x0) {\n    (*(*pl->s)->close)(pl->s);\n                    /* WARNING: Subroutine does not return */\n    safefree(pl->hostname);\n  }" if (parenthesized_expression "(pl != (PortListener *)0x0)" ( (binary_expression "pl != (PortListener *)0x0" identifier != (cast_expression "(PortListener *)0x0" ( (type_descriptor "PortListener *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(*pl->s)->close)(pl->s);\n                    /* WARNING: Subroutine does not return */\n    safefree(pl->hostname);\n  }" { (expression_statement "(*(*pl->s)->close)(pl->s);" (call_expression "(*(*pl->s)->close)(pl->s)" (parenthesized_expression "(*(*pl->s)->close)" ( (pointer_expression "*(*pl->s)->close" * (field_expression "(*pl->s)->close" (parenthesized_expression "(*pl->s)" ( (pointer_expression "*pl->s" * (field_expression "pl->s" identifier -> field_identifier)) )) -> field_identifier)) )) (argument_list "(pl->s)" ( (field_expression "pl->s" identifier -> field_identifier) ))) ;) comment (expression_statement "safefree(pl->hostname);" (call_expression "safefree(pl->hostname)" identifier (argument_list "(pl->hostname)" ( (field_expression "pl->hostname" identifier -> field_identifier) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void pfl_terminate(int param_1)\n\n{\n  if (param_1 != 0) {\n    (**(code **)(**(int **)(param_1 + 8) + 4))();\n    safefree(*(undefined4 *)(param_1 + 0x10));\n    safefree(param_1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void pfl_terminate(int param_1)\n\n{\n  if (param_1 != 0) {\n    (**(code **)(**(int **)(param_1 + 8) + 4))();\n    safefree(*(undefined4 *)(param_1 + 0x10));\n    safefree(param_1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "pfl_terminate(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    (**(code **)(**(int **)(param_1 + 8) + 4))();\n    safefree(*(undefined4 *)(param_1 + 0x10));\n    safefree(param_1);\n    return;\n  }\n  return;\n}" { (if_statement "if (param_1 != 0) {\n    (**(code **)(**(int **)(param_1 + 8) + 4))();\n    safefree(*(undefined4 *)(param_1 + 0x10));\n    safefree(param_1);\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    (**(code **)(**(int **)(param_1 + 8) + 4))();\n    safefree(*(undefined4 *)(param_1 + 0x10));\n    safefree(param_1);\n    return;\n  }" { (expression_statement "(**(code **)(**(int **)(param_1 + 8) + 4))();" (call_expression "(**(code **)(**(int **)(param_1 + 8) + 4))()" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 8) + 4))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 8) + 4)" * (pointer_expression "*(code **)(**(int **)(param_1 + 8) + 4)" * (cast_expression "(code **)(**(int **)(param_1 + 8) + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 8) + 4)" ( (binary_expression "**(int **)(param_1 + 8) + 4" (pointer_expression "**(int **)(param_1 + 8)" * (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "safefree(*(undefined4 *)(param_1 + 0x10));" (call_expression "safefree(*(undefined4 *)(param_1 + 0x10))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x10))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "safefree(param_1);" (call_expression "safefree(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) )) (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void pfl_terminate(int param_1)\n\n{\n  if (param_1 != 0) {\n    (**(code **)(**(int **)(param_1 + 8) + 4))();\n    safefree(*(undefined4 *)(param_1 + 0x10));\n    safefree(param_1);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "pfl_terminate(int param_1)" (identifier "pfl_terminate") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (param_1 != 0) {\n    (**(code **)(**(int **)(param_1 + 8) + 4))();\n    safefree(*(undefined4 *)(param_1 + 0x10));\n    safefree(param_1);\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if (param_1 != 0) {\n    (**(code **)(**(int **)(param_1 + 8) + 4))();\n    safefree(*(undefined4 *)(param_1 + 0x10));\n    safefree(param_1);\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(**(int **)(param_1 + 8) + 4))();\n    safefree(*(undefined4 *)(param_1 + 0x10));\n    safefree(param_1);\n    return;\n  }" ({ "{") (expression_statement "(**(code **)(**(int **)(param_1 + 8) + 4))();" (call_expression "(**(code **)(**(int **)(param_1 + 8) + 4))()" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 8) + 4))" (( "(") (pointer_expression "**(code **)(**(int **)(param_1 + 8) + 4)" (* "*") (pointer_expression "*(code **)(**(int **)(param_1 + 8) + 4)" (* "*") (cast_expression "(code **)(**(int **)(param_1 + 8) + 4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(int **)(param_1 + 8) + 4)" (( "(") (binary_expression "**(int **)(param_1 + 8) + 4" (pointer_expression "**(int **)(param_1 + 8)" (* "*") (pointer_expression "*(int **)(param_1 + 8)" (* "*") (cast_expression "(int **)(param_1 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (+ "+") (number_literal "4")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "safefree(*(undefined4 *)(param_1 + 0x10));" (call_expression "safefree(*(undefined4 *)(param_1 + 0x10))" (identifier "safefree") (argument_list "(*(undefined4 *)(param_1 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (expression_statement "safefree(param_1);" (call_expression "safefree(param_1)" (identifier "safefree") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (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)))))) right: (number_literal))))))) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))) (return_statement))))

void MASKED(int param_1)

{
  if (param_1 != 0) {
    (**(code **)(**(int **)(param_1 + 8) + 4))();
    safefree(*(undefined4 *)(param_1 + 0x10));
    safefree(param_1);
    return;
  }
  return;
}

