
void free_cwd(saved_cwd *cwd)

{
  if (-1 < cwd->desc) {
    (*(code *)PTR_close_000759e8)();
  }
  (*(code *)PTR_free_00075bfc)(cwd->name);
  return;
}



void free_cwd(int *param_1)

{
  if (-1 < *param_1) {
    (*(code *)PTR_close_000759e8)();
  }
  (*(code *)PTR_free_00075bfc)(param_1[1]);
  return;
}


lui gp,0x4
addiu gp,gp,0x3f70
addu gp,gp,t9
addiu sp,sp,-0x20
sw s0,0x18(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x1c(sp)
lw a0,0x0(a0)
bltz a0,0x00039648
_lw t9,-0x7b98(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw a0,0x4(s0)
lw ra,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7984(gp)
jr t9
_addiu sp,sp,0x20
(translation_unit "void free_cwd(int *param_1)\n\n{\n  if (-1 < *param_1) {\n    (*(code *)PTR_close_000759e8)();\n  }\n  (*(code *)PTR_free_00075bfc)(param_1[1]);\n  return;\n}\n\n" (function_definition "void free_cwd(int *param_1)\n\n{\n  if (-1 < *param_1) {\n    (*(code *)PTR_close_000759e8)();\n  }\n  (*(code *)PTR_free_00075bfc)(param_1[1]);\n  return;\n}" primitive_type (function_declarator "free_cwd(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if (-1 < *param_1) {\n    (*(code *)PTR_close_000759e8)();\n  }\n  (*(code *)PTR_free_00075bfc)(param_1[1]);\n  return;\n}" { (if_statement "if (-1 < *param_1) {\n    (*(code *)PTR_close_000759e8)();\n  }" if (parenthesized_expression "(-1 < *param_1)" ( (binary_expression "-1 < *param_1" number_literal < (pointer_expression "*param_1" * identifier)) )) (compound_statement "{\n    (*(code *)PTR_close_000759e8)();\n  }" { (expression_statement "(*(code *)PTR_close_000759e8)();" (call_expression "(*(code *)PTR_close_000759e8)()" (parenthesized_expression "(*(code *)PTR_close_000759e8)" ( (pointer_expression "*(code *)PTR_close_000759e8" * (cast_expression "(code *)PTR_close_000759e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "(*(code *)PTR_free_00075bfc)(param_1[1]);" (call_expression "(*(code *)PTR_free_00075bfc)(param_1[1])" (parenthesized_expression "(*(code *)PTR_free_00075bfc)" ( (pointer_expression "*(code *)PTR_free_00075bfc" * (cast_expression "(code *)PTR_free_00075bfc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[1])" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void free_cwd(saved_cwd *cwd)\n\n{\n  if (-1 < cwd->desc) {\n    (*(code *)PTR_close_000759e8)();\n  }\n  (*(code *)PTR_free_00075bfc)(cwd->name);\n  return;\n}\n\n" (function_definition "void free_cwd(saved_cwd *cwd)\n\n{\n  if (-1 < cwd->desc) {\n    (*(code *)PTR_close_000759e8)();\n  }\n  (*(code *)PTR_free_00075bfc)(cwd->name);\n  return;\n}" primitive_type (function_declarator "free_cwd(saved_cwd *cwd)" identifier (parameter_list "(saved_cwd *cwd)" ( (parameter_declaration "saved_cwd *cwd" type_identifier (pointer_declarator "*cwd" * identifier)) ))) (compound_statement "{\n  if (-1 < cwd->desc) {\n    (*(code *)PTR_close_000759e8)();\n  }\n  (*(code *)PTR_free_00075bfc)(cwd->name);\n  return;\n}" { (if_statement "if (-1 < cwd->desc) {\n    (*(code *)PTR_close_000759e8)();\n  }" if (parenthesized_expression "(-1 < cwd->desc)" ( (binary_expression "-1 < cwd->desc" number_literal < (field_expression "cwd->desc" identifier -> field_identifier)) )) (compound_statement "{\n    (*(code *)PTR_close_000759e8)();\n  }" { (expression_statement "(*(code *)PTR_close_000759e8)();" (call_expression "(*(code *)PTR_close_000759e8)()" (parenthesized_expression "(*(code *)PTR_close_000759e8)" ( (pointer_expression "*(code *)PTR_close_000759e8" * (cast_expression "(code *)PTR_close_000759e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "(*(code *)PTR_free_00075bfc)(cwd->name);" (call_expression "(*(code *)PTR_free_00075bfc)(cwd->name)" (parenthesized_expression "(*(code *)PTR_free_00075bfc)" ( (pointer_expression "*(code *)PTR_free_00075bfc" * (cast_expression "(code *)PTR_free_00075bfc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(cwd->name)" ( (field_expression "cwd->name" identifier -> field_identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void free_cwd(int *param_1)\n\n{\n  if (-1 < *param_1) {\n    (*(code *)PTR_close_000759e8)();\n  }\n  (*(code *)PTR_free_00075bfc)(param_1[1]);\n  return;\n}\n\n" (function_definition "void free_cwd(int *param_1)\n\n{\n  if (-1 < *param_1) {\n    (*(code *)PTR_close_000759e8)();\n  }\n  (*(code *)PTR_free_00075bfc)(param_1[1]);\n  return;\n}" primitive_type (function_declarator "free_cwd(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if (-1 < *param_1) {\n    (*(code *)PTR_close_000759e8)();\n  }\n  (*(code *)PTR_free_00075bfc)(param_1[1]);\n  return;\n}" { (if_statement "if (-1 < *param_1) {\n    (*(code *)PTR_close_000759e8)();\n  }" if (parenthesized_expression "(-1 < *param_1)" ( (binary_expression "-1 < *param_1" number_literal < (pointer_expression "*param_1" * identifier)) )) (compound_statement "{\n    (*(code *)PTR_close_000759e8)();\n  }" { (expression_statement "(*(code *)PTR_close_000759e8)();" (call_expression "(*(code *)PTR_close_000759e8)()" (parenthesized_expression "(*(code *)PTR_close_000759e8)" ( (pointer_expression "*(code *)PTR_close_000759e8" * (cast_expression "(code *)PTR_close_000759e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "(*(code *)PTR_free_00075bfc)(param_1[1]);" (call_expression "(*(code *)PTR_free_00075bfc)(param_1[1])" (parenthesized_expression "(*(code *)PTR_free_00075bfc)" ( (pointer_expression "*(code *)PTR_free_00075bfc" * (cast_expression "(code *)PTR_free_00075bfc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[1])" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 ]) ))) ;) (return_statement return ;) })))
(function_definition "void free_cwd(int *param_1)\n\n{\n  if (-1 < *param_1) {\n    (*(code *)PTR_close_000759e8)();\n  }\n  (*(code *)PTR_free_00075bfc)(param_1[1]);\n  return;\n}" (primitive_type "void") (function_declarator "free_cwd(int *param_1)" (identifier "free_cwd") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  if (-1 < *param_1) {\n    (*(code *)PTR_close_000759e8)();\n  }\n  (*(code *)PTR_free_00075bfc)(param_1[1]);\n  return;\n}" ({ "{") (if_statement "if (-1 < *param_1) {\n    (*(code *)PTR_close_000759e8)();\n  }" (if "if") (parenthesized_expression "(-1 < *param_1)" (( "(") (binary_expression "-1 < *param_1" (number_literal "-1") (< "<") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")")) (compound_statement "{\n    (*(code *)PTR_close_000759e8)();\n  }" ({ "{") (expression_statement "(*(code *)PTR_close_000759e8)();" (call_expression "(*(code *)PTR_close_000759e8)()" (parenthesized_expression "(*(code *)PTR_close_000759e8)" (( "(") (pointer_expression "*(code *)PTR_close_000759e8" (* "*") (cast_expression "(code *)PTR_close_000759e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_close_000759e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_free_00075bfc)(param_1[1]);" (call_expression "(*(code *)PTR_free_00075bfc)(param_1[1])" (parenthesized_expression "(*(code *)PTR_free_00075bfc)" (( "(") (pointer_expression "*(code *)PTR_free_00075bfc" (* "*") (cast_expression "(code *)PTR_free_00075bfc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_00075bfc"))) () ")")) (argument_list "(param_1[1])" (( "(") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *cwd)

{
  if (-1 < cwd->desc) {
    (*(type_2 *)PTR_close_000759e8)();
  }
  (*(type_2 *)PTR_free_00075bfc)(cwd->name);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (identifier)))) 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))))) (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))))) (return_statement))))

void MASKED(int *param_1)

{
  if (-1 < *param_1) {
    (*(code *)PTR_close_000759e8)();
  }
  (*(code *)PTR_free_00075bfc)(param_1[1]);
  return;
}

