
/* WARNING: Unknown calling convention */

void pp_free(NODE *n)

{
  undefined *puVar1;
  
  if ((n->flags & 2) != 0) {
    (*(code *)PTR_free_004bf39c)((n->sub).nodep.name);
  }
  puVar1 = PTR_nextfree_004beb94;
  (n->sub).nodep.l = *(anon_union_4_4_7583dc62_for_l *)PTR_nextfree_004beb94;
  *(NODE **)puVar1 = n;
  return;
}



void FUN_00473b6c(undefined4 *param_1)

{
  undefined *puVar1;
  
  if ((param_1[0xb] & 2) != 0) {
    (*(code *)PTR_free_004bf39c)(param_1[4]);
  }
  puVar1 = PTR_nextfree_004beb94;
  *param_1 = *(undefined4 *)PTR_nextfree_004beb94;
  *(undefined4 **)puVar1 = param_1;
  return;
}


addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw s0,0x18(sp)
lui gp,0x4c
addiu gp,gp,0x6b20
sw gp,0x10(sp)
lw v0,0x2c(a0)
andi v0,v0,0x2
bne v0,zero,0x00473bb4
_or s0,a0,zero
lw v0,-0x7f8c(gp)
lw v1,0x0(v0)
sw v1,0x0(s0)
sw s0,0x0(v0)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw a0,0x10(a0)
lw t9,-0x7784(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x00473b98
_lw v0,-0x7f8c(gp)
(translation_unit "void FUN_00473b6c(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  \n  if ((param_1[0xb] & 2) != 0) {\n    (*(code *)PTR_free_004bf39c)(param_1[4]);\n  }\n  puVar1 = PTR_nextfree_004beb94;\n  *param_1 = *(undefined4 *)PTR_nextfree_004beb94;\n  *(undefined4 **)puVar1 = param_1;\n  return;\n}\n\n" (function_definition "void FUN_00473b6c(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  \n  if ((param_1[0xb] & 2) != 0) {\n    (*(code *)PTR_free_004bf39c)(param_1[4]);\n  }\n  puVar1 = PTR_nextfree_004beb94;\n  *param_1 = *(undefined4 *)PTR_nextfree_004beb94;\n  *(undefined4 **)puVar1 = param_1;\n  return;\n}" primitive_type (function_declarator "FUN_00473b6c(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  if ((param_1[0xb] & 2) != 0) {\n    (*(code *)PTR_free_004bf39c)(param_1[4]);\n  }\n  puVar1 = PTR_nextfree_004beb94;\n  *param_1 = *(undefined4 *)PTR_nextfree_004beb94;\n  *(undefined4 **)puVar1 = param_1;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if ((param_1[0xb] & 2) != 0) {\n    (*(code *)PTR_free_004bf39c)(param_1[4]);\n  }" if (parenthesized_expression "((param_1[0xb] & 2) != 0)" ( (binary_expression "(param_1[0xb] & 2) != 0" (parenthesized_expression "(param_1[0xb] & 2)" ( (binary_expression "param_1[0xb] & 2" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) & number_literal) )) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_free_004bf39c)(param_1[4]);\n  }" { (expression_statement "(*(code *)PTR_free_004bf39c)(param_1[4]);" (call_expression "(*(code *)PTR_free_004bf39c)(param_1[4])" (parenthesized_expression "(*(code *)PTR_free_004bf39c)" ( (pointer_expression "*(code *)PTR_free_004bf39c" * (cast_expression "(code *)PTR_free_004bf39c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[4])" ( (subscript_expression "param_1[4]" identifier [ number_literal ]) ))) ;) })) (expression_statement "puVar1 = PTR_nextfree_004beb94;" (assignment_expression "puVar1 = PTR_nextfree_004beb94" identifier = identifier) ;) (expression_statement "*param_1 = *(undefined4 *)PTR_nextfree_004beb94;" (assignment_expression "*param_1 = *(undefined4 *)PTR_nextfree_004beb94" (pointer_expression "*param_1" * identifier) = (pointer_expression "*(undefined4 *)PTR_nextfree_004beb94" * (cast_expression "(undefined4 *)PTR_nextfree_004beb94" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 **)puVar1 = param_1;" (assignment_expression "*(undefined4 **)puVar1 = param_1" (pointer_expression "*(undefined4 **)puVar1" * (cast_expression "(undefined4 **)puVar1" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid pp_free(NODE *n)\n\n{\n  undefined *puVar1;\n  \n  if ((n->flags & 2) != 0) {\n    (*(code *)PTR_free_004bf39c)((n->sub).nodep.name);\n  }\n  puVar1 = PTR_nextfree_004beb94;\n  (n->sub).nodep.l = *(anon_union_4_4_7583dc62_for_l *)PTR_nextfree_004beb94;\n  *(NODE **)puVar1 = n;\n  return;\n}\n\n" comment (function_definition "void pp_free(NODE *n)\n\n{\n  undefined *puVar1;\n  \n  if ((n->flags & 2) != 0) {\n    (*(code *)PTR_free_004bf39c)((n->sub).nodep.name);\n  }\n  puVar1 = PTR_nextfree_004beb94;\n  (n->sub).nodep.l = *(anon_union_4_4_7583dc62_for_l *)PTR_nextfree_004beb94;\n  *(NODE **)puVar1 = n;\n  return;\n}" primitive_type (function_declarator "pp_free(NODE *n)" identifier (parameter_list "(NODE *n)" ( (parameter_declaration "NODE *n" type_identifier (pointer_declarator "*n" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  if ((n->flags & 2) != 0) {\n    (*(code *)PTR_free_004bf39c)((n->sub).nodep.name);\n  }\n  puVar1 = PTR_nextfree_004beb94;\n  (n->sub).nodep.l = *(anon_union_4_4_7583dc62_for_l *)PTR_nextfree_004beb94;\n  *(NODE **)puVar1 = n;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if ((n->flags & 2) != 0) {\n    (*(code *)PTR_free_004bf39c)((n->sub).nodep.name);\n  }" if (parenthesized_expression "((n->flags & 2) != 0)" ( (binary_expression "(n->flags & 2) != 0" (parenthesized_expression "(n->flags & 2)" ( (binary_expression "n->flags & 2" (field_expression "n->flags" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_free_004bf39c)((n->sub).nodep.name);\n  }" { (expression_statement "(*(code *)PTR_free_004bf39c)((n->sub).nodep.name);" (call_expression "(*(code *)PTR_free_004bf39c)((n->sub).nodep.name)" (parenthesized_expression "(*(code *)PTR_free_004bf39c)" ( (pointer_expression "*(code *)PTR_free_004bf39c" * (cast_expression "(code *)PTR_free_004bf39c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((n->sub).nodep.name)" ( (field_expression "(n->sub).nodep.name" (field_expression "(n->sub).nodep" (parenthesized_expression "(n->sub)" ( (field_expression "n->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) ))) ;) })) (expression_statement "puVar1 = PTR_nextfree_004beb94;" (assignment_expression "puVar1 = PTR_nextfree_004beb94" identifier = identifier) ;) (expression_statement "(n->sub).nodep.l = *(anon_union_4_4_7583dc62_for_l *)PTR_nextfree_004beb94;" (assignment_expression "(n->sub).nodep.l = *(anon_union_4_4_7583dc62_for_l *)PTR_nextfree_004beb94" (field_expression "(n->sub).nodep.l" (field_expression "(n->sub).nodep" (parenthesized_expression "(n->sub)" ( (field_expression "n->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (pointer_expression "*(anon_union_4_4_7583dc62_for_l *)PTR_nextfree_004beb94" * (cast_expression "(anon_union_4_4_7583dc62_for_l *)PTR_nextfree_004beb94" ( (type_descriptor "anon_union_4_4_7583dc62_for_l *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(NODE **)puVar1 = n;" (assignment_expression "*(NODE **)puVar1 = n" (pointer_expression "*(NODE **)puVar1" * (cast_expression "(NODE **)puVar1" ( (type_descriptor "NODE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00473b6c(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  \n  if ((param_1[0xb] & 2) != 0) {\n    (*(code *)PTR_free_004bf39c)(param_1[4]);\n  }\n  puVar1 = PTR_nextfree_004beb94;\n  *param_1 = *(undefined4 *)PTR_nextfree_004beb94;\n  *(undefined4 **)puVar1 = param_1;\n  return;\n}\n\n" (function_definition "void FUN_00473b6c(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  \n  if ((param_1[0xb] & 2) != 0) {\n    (*(code *)PTR_free_004bf39c)(param_1[4]);\n  }\n  puVar1 = PTR_nextfree_004beb94;\n  *param_1 = *(undefined4 *)PTR_nextfree_004beb94;\n  *(undefined4 **)puVar1 = param_1;\n  return;\n}" primitive_type (function_declarator "FUN_00473b6c(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  if ((param_1[0xb] & 2) != 0) {\n    (*(code *)PTR_free_004bf39c)(param_1[4]);\n  }\n  puVar1 = PTR_nextfree_004beb94;\n  *param_1 = *(undefined4 *)PTR_nextfree_004beb94;\n  *(undefined4 **)puVar1 = param_1;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if ((param_1[0xb] & 2) != 0) {\n    (*(code *)PTR_free_004bf39c)(param_1[4]);\n  }" if (parenthesized_expression "((param_1[0xb] & 2) != 0)" ( (binary_expression "(param_1[0xb] & 2) != 0" (parenthesized_expression "(param_1[0xb] & 2)" ( (binary_expression "param_1[0xb] & 2" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) & number_literal) )) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_free_004bf39c)(param_1[4]);\n  }" { (expression_statement "(*(code *)PTR_free_004bf39c)(param_1[4]);" (call_expression "(*(code *)PTR_free_004bf39c)(param_1[4])" (parenthesized_expression "(*(code *)PTR_free_004bf39c)" ( (pointer_expression "*(code *)PTR_free_004bf39c" * (cast_expression "(code *)PTR_free_004bf39c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[4])" ( (subscript_expression "param_1[4]" identifier [ number_literal ]) ))) ;) })) (expression_statement "puVar1 = PTR_nextfree_004beb94;" (assignment_expression "puVar1 = PTR_nextfree_004beb94" identifier = identifier) ;) (expression_statement "*param_1 = *(undefined4 *)PTR_nextfree_004beb94;" (assignment_expression "*param_1 = *(undefined4 *)PTR_nextfree_004beb94" (pointer_expression "*param_1" * identifier) = (pointer_expression "*(undefined4 *)PTR_nextfree_004beb94" * (cast_expression "(undefined4 *)PTR_nextfree_004beb94" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 **)puVar1 = param_1;" (assignment_expression "*(undefined4 **)puVar1 = param_1" (pointer_expression "*(undefined4 **)puVar1" * (cast_expression "(undefined4 **)puVar1" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) != LIT) )) (compound_statement { (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 (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00473b6c(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  \n  if ((param_1[0xb] & 2) != 0) {\n    (*(code *)PTR_free_004bf39c)(param_1[4]);\n  }\n  puVar1 = PTR_nextfree_004beb94;\n  *param_1 = *(undefined4 *)PTR_nextfree_004beb94;\n  *(undefined4 **)puVar1 = param_1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00473b6c(undefined4 *param_1)" (identifier "FUN_00473b6c") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  \n  if ((param_1[0xb] & 2) != 0) {\n    (*(code *)PTR_free_004bf39c)(param_1[4]);\n  }\n  puVar1 = PTR_nextfree_004beb94;\n  *param_1 = *(undefined4 *)PTR_nextfree_004beb94;\n  *(undefined4 **)puVar1 = param_1;\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (if_statement "if ((param_1[0xb] & 2) != 0) {\n    (*(code *)PTR_free_004bf39c)(param_1[4]);\n  }" (if "if") (parenthesized_expression "((param_1[0xb] & 2) != 0)" (( "(") (binary_expression "(param_1[0xb] & 2) != 0" (parenthesized_expression "(param_1[0xb] & 2)" (( "(") (binary_expression "param_1[0xb] & 2" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_free_004bf39c)(param_1[4]);\n  }" ({ "{") (expression_statement "(*(code *)PTR_free_004bf39c)(param_1[4]);" (call_expression "(*(code *)PTR_free_004bf39c)(param_1[4])" (parenthesized_expression "(*(code *)PTR_free_004bf39c)" (( "(") (pointer_expression "*(code *)PTR_free_004bf39c" (* "*") (cast_expression "(code *)PTR_free_004bf39c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_004bf39c"))) () ")")) (argument_list "(param_1[4])" (( "(") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar1 = PTR_nextfree_004beb94;" (assignment_expression "puVar1 = PTR_nextfree_004beb94" (identifier "puVar1") (= "=") (identifier "PTR_nextfree_004beb94")) (; ";")) (expression_statement "*param_1 = *(undefined4 *)PTR_nextfree_004beb94;" (assignment_expression "*param_1 = *(undefined4 *)PTR_nextfree_004beb94" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "*(undefined4 *)PTR_nextfree_004beb94" (* "*") (cast_expression "(undefined4 *)PTR_nextfree_004beb94" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_nextfree_004beb94")))) (; ";")) (expression_statement "*(undefined4 **)puVar1 = param_1;" (assignment_expression "*(undefined4 **)puVar1 = param_1" (pointer_expression "*(undefined4 **)puVar1" (* "*") (cast_expression "(undefined4 **)puVar1" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1"))) (= "=") (identifier "param_1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(type_1 *n)

{
  type_2 *puVar1;
  
  if ((n->flags & 2) != 0) {
    (*(type_3 *)PTR_free_004bf39c)((n->sub).nodep.name);
  }
  puVar1 = PTR_nextfree_004beb94;
  (n->sub).nodep.l = *(type_4 *)PTR_nextfree_004beb94;
  *(type_1 **)puVar1 = n;
  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 (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (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 (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) right: (identifier))) (return_statement))))

void MASKED(undefined4 *param_1)

{
  undefined *puVar1;
  
  if ((param_1[0xb] & 2) != 0) {
    (*(code *)PTR_free_004bf39c)(param_1[4]);
  }
  puVar1 = PTR_nextfree_004beb94;
  *param_1 = *(undefined4 *)PTR_nextfree_004beb94;
  *(undefined4 **)puVar1 = param_1;
  return;
}

