
alias * freealias(alias *ap)

{
  alias *paVar1;
  
  if ((ap->flag & 1U) == 0) {
    paVar1 = ap->next;
    (*(code *)PTR_free_0012b168)(ap->name);
    (*(code *)PTR_free_0012b168)(ap->val);
    (*(code *)PTR_free_0012b168)(ap);
    return paVar1;
  }
  ap->flag = ap->flag | 2;
  return ap;
}



undefined4 * FUN_0006d3b8(undefined4 *param_1)

{
  undefined4 *puVar1;
  
  if ((param_1[3] & 1) == 0) {
    puVar1 = (undefined4 *)*param_1;
    (*(code *)PTR_free_0012b168)(param_1[1]);
    (*(code *)PTR_free_0012b168)(param_1[2]);
    (*(code *)PTR_free_0012b168)(param_1);
    return puVar1;
  }
  param_1[3] = param_1[3] | 2;
  return param_1;
}


lui gp,0xc
addiu gp,gp,0x4d98
addu gp,gp,t9
addiu sp,sp,-0x28
lw v0,0xc(a0)
andi v1,v0,0x1
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s1,0x20(sp)
bne v1,zero,0x0006d430
_sw s0,0x1c(sp)
or s0,a0,zero
lw t9,-0x6fe8(gp)
lw a0,0x4(a0)
jalr t9
_lw s1,0x0(s0)
lw gp,0x10(sp)
lw t9,-0x6fe8(gp)
jalr t9
_lw a0,0x8(s0)
lw gp,0x10(sp)
lw t9,-0x6fe8(gp)
jalr t9
_or a0,s0,zero
or v0,s1,zero
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw ra,0x24(sp)
or s1,a0,zero
ori v0,v0,0x2
lw s0,0x1c(sp)
sw v0,0xc(a0)
or v0,s1,zero
lw s1,0x20(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "undefined4 * FUN_0006d3b8(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if ((param_1[3] & 1) == 0) {\n    puVar1 = (undefined4 *)*param_1;\n    (*(code *)PTR_free_0012b168)(param_1[1]);\n    (*(code *)PTR_free_0012b168)(param_1[2]);\n    (*(code *)PTR_free_0012b168)(param_1);\n    return puVar1;\n  }\n  param_1[3] = param_1[3] | 2;\n  return param_1;\n}\n\n" (function_definition "undefined4 * FUN_0006d3b8(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if ((param_1[3] & 1) == 0) {\n    puVar1 = (undefined4 *)*param_1;\n    (*(code *)PTR_free_0012b168)(param_1[1]);\n    (*(code *)PTR_free_0012b168)(param_1[2]);\n    (*(code *)PTR_free_0012b168)(param_1);\n    return puVar1;\n  }\n  param_1[3] = param_1[3] | 2;\n  return param_1;\n}" type_identifier (pointer_declarator "* FUN_0006d3b8(undefined4 *param_1)" * (function_declarator "FUN_0006d3b8(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if ((param_1[3] & 1) == 0) {\n    puVar1 = (undefined4 *)*param_1;\n    (*(code *)PTR_free_0012b168)(param_1[1]);\n    (*(code *)PTR_free_0012b168)(param_1[2]);\n    (*(code *)PTR_free_0012b168)(param_1);\n    return puVar1;\n  }\n  param_1[3] = param_1[3] | 2;\n  return param_1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if ((param_1[3] & 1) == 0) {\n    puVar1 = (undefined4 *)*param_1;\n    (*(code *)PTR_free_0012b168)(param_1[1]);\n    (*(code *)PTR_free_0012b168)(param_1[2]);\n    (*(code *)PTR_free_0012b168)(param_1);\n    return puVar1;\n  }" if (parenthesized_expression "((param_1[3] & 1) == 0)" ( (binary_expression "(param_1[3] & 1) == 0" (parenthesized_expression "(param_1[3] & 1)" ( (binary_expression "param_1[3] & 1" (subscript_expression "param_1[3]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n    puVar1 = (undefined4 *)*param_1;\n    (*(code *)PTR_free_0012b168)(param_1[1]);\n    (*(code *)PTR_free_0012b168)(param_1[2]);\n    (*(code *)PTR_free_0012b168)(param_1);\n    return puVar1;\n  }" { (expression_statement "puVar1 = (undefined4 *)*param_1;" (assignment_expression "puVar1 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "(*(code *)PTR_free_0012b168)(param_1[1]);" (call_expression "(*(code *)PTR_free_0012b168)(param_1[1])" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[1])" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) (expression_statement "(*(code *)PTR_free_0012b168)(param_1[2]);" (call_expression "(*(code *)PTR_free_0012b168)(param_1[2])" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2])" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) ))) ;) (expression_statement "(*(code *)PTR_free_0012b168)(param_1);" (call_expression "(*(code *)PTR_free_0012b168)(param_1)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return puVar1;" return identifier ;) })) (expression_statement "param_1[3] = param_1[3] | 2;" (assignment_expression "param_1[3] = param_1[3] | 2" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "param_1[3] | 2" (subscript_expression "param_1[3]" identifier [ number_literal ]) | number_literal)) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "alias * freealias(alias *ap)\n\n{\n  alias *paVar1;\n  \n  if ((ap->flag & 1U) == 0) {\n    paVar1 = ap->next;\n    (*(code *)PTR_free_0012b168)(ap->name);\n    (*(code *)PTR_free_0012b168)(ap->val);\n    (*(code *)PTR_free_0012b168)(ap);\n    return paVar1;\n  }\n  ap->flag = ap->flag | 2;\n  return ap;\n}\n\n" (function_definition "alias * freealias(alias *ap)\n\n{\n  alias *paVar1;\n  \n  if ((ap->flag & 1U) == 0) {\n    paVar1 = ap->next;\n    (*(code *)PTR_free_0012b168)(ap->name);\n    (*(code *)PTR_free_0012b168)(ap->val);\n    (*(code *)PTR_free_0012b168)(ap);\n    return paVar1;\n  }\n  ap->flag = ap->flag | 2;\n  return ap;\n}" type_identifier (pointer_declarator "* freealias(alias *ap)" * (function_declarator "freealias(alias *ap)" identifier (parameter_list "(alias *ap)" ( (parameter_declaration "alias *ap" type_identifier (pointer_declarator "*ap" * identifier)) )))) (compound_statement "{\n  alias *paVar1;\n  \n  if ((ap->flag & 1U) == 0) {\n    paVar1 = ap->next;\n    (*(code *)PTR_free_0012b168)(ap->name);\n    (*(code *)PTR_free_0012b168)(ap->val);\n    (*(code *)PTR_free_0012b168)(ap);\n    return paVar1;\n  }\n  ap->flag = ap->flag | 2;\n  return ap;\n}" { (declaration "alias *paVar1;" type_identifier (pointer_declarator "*paVar1" * identifier) ;) (if_statement "if ((ap->flag & 1U) == 0) {\n    paVar1 = ap->next;\n    (*(code *)PTR_free_0012b168)(ap->name);\n    (*(code *)PTR_free_0012b168)(ap->val);\n    (*(code *)PTR_free_0012b168)(ap);\n    return paVar1;\n  }" if (parenthesized_expression "((ap->flag & 1U) == 0)" ( (binary_expression "(ap->flag & 1U) == 0" (parenthesized_expression "(ap->flag & 1U)" ( (binary_expression "ap->flag & 1U" (field_expression "ap->flag" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    paVar1 = ap->next;\n    (*(code *)PTR_free_0012b168)(ap->name);\n    (*(code *)PTR_free_0012b168)(ap->val);\n    (*(code *)PTR_free_0012b168)(ap);\n    return paVar1;\n  }" { (expression_statement "paVar1 = ap->next;" (assignment_expression "paVar1 = ap->next" identifier = (field_expression "ap->next" identifier -> field_identifier)) ;) (expression_statement "(*(code *)PTR_free_0012b168)(ap->name);" (call_expression "(*(code *)PTR_free_0012b168)(ap->name)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ap->name)" ( (field_expression "ap->name" identifier -> field_identifier) ))) ;) (expression_statement "(*(code *)PTR_free_0012b168)(ap->val);" (call_expression "(*(code *)PTR_free_0012b168)(ap->val)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ap->val)" ( (field_expression "ap->val" identifier -> field_identifier) ))) ;) (expression_statement "(*(code *)PTR_free_0012b168)(ap);" (call_expression "(*(code *)PTR_free_0012b168)(ap)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ap)" ( identifier ))) ;) (return_statement "return paVar1;" return identifier ;) })) (expression_statement "ap->flag = ap->flag | 2;" (assignment_expression "ap->flag = ap->flag | 2" (field_expression "ap->flag" identifier -> field_identifier) = (binary_expression "ap->flag | 2" (field_expression "ap->flag" identifier -> field_identifier) | number_literal)) ;) (return_statement "return ap;" return identifier ;) })))
(translation_unit "undefined4 * FUN_0006d3b8(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if ((param_1[3] & 1) == 0) {\n    puVar1 = (undefined4 *)*param_1;\n    (*(code *)PTR_free_0012b168)(param_1[1]);\n    (*(code *)PTR_free_0012b168)(param_1[2]);\n    (*(code *)PTR_free_0012b168)(param_1);\n    return puVar1;\n  }\n  param_1[3] = param_1[3] | 2;\n  return param_1;\n}\n\n" (function_definition "undefined4 * FUN_0006d3b8(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if ((param_1[3] & 1) == 0) {\n    puVar1 = (undefined4 *)*param_1;\n    (*(code *)PTR_free_0012b168)(param_1[1]);\n    (*(code *)PTR_free_0012b168)(param_1[2]);\n    (*(code *)PTR_free_0012b168)(param_1);\n    return puVar1;\n  }\n  param_1[3] = param_1[3] | 2;\n  return param_1;\n}" type_identifier (pointer_declarator "* FUN_0006d3b8(undefined4 *param_1)" * (function_declarator "FUN_0006d3b8(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if ((param_1[3] & 1) == 0) {\n    puVar1 = (undefined4 *)*param_1;\n    (*(code *)PTR_free_0012b168)(param_1[1]);\n    (*(code *)PTR_free_0012b168)(param_1[2]);\n    (*(code *)PTR_free_0012b168)(param_1);\n    return puVar1;\n  }\n  param_1[3] = param_1[3] | 2;\n  return param_1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if ((param_1[3] & 1) == 0) {\n    puVar1 = (undefined4 *)*param_1;\n    (*(code *)PTR_free_0012b168)(param_1[1]);\n    (*(code *)PTR_free_0012b168)(param_1[2]);\n    (*(code *)PTR_free_0012b168)(param_1);\n    return puVar1;\n  }" if (parenthesized_expression "((param_1[3] & 1) == 0)" ( (binary_expression "(param_1[3] & 1) == 0" (parenthesized_expression "(param_1[3] & 1)" ( (binary_expression "param_1[3] & 1" (subscript_expression "param_1[3]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n    puVar1 = (undefined4 *)*param_1;\n    (*(code *)PTR_free_0012b168)(param_1[1]);\n    (*(code *)PTR_free_0012b168)(param_1[2]);\n    (*(code *)PTR_free_0012b168)(param_1);\n    return puVar1;\n  }" { (expression_statement "puVar1 = (undefined4 *)*param_1;" (assignment_expression "puVar1 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "(*(code *)PTR_free_0012b168)(param_1[1]);" (call_expression "(*(code *)PTR_free_0012b168)(param_1[1])" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[1])" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) (expression_statement "(*(code *)PTR_free_0012b168)(param_1[2]);" (call_expression "(*(code *)PTR_free_0012b168)(param_1[2])" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2])" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) ))) ;) (expression_statement "(*(code *)PTR_free_0012b168)(param_1);" (call_expression "(*(code *)PTR_free_0012b168)(param_1)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return puVar1;" return identifier ;) })) (expression_statement "param_1[3] = param_1[3] | 2;" (assignment_expression "param_1[3] = param_1[3] | 2" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "param_1[3] | 2" (subscript_expression "param_1[3]" identifier [ number_literal ]) | number_literal)) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (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 (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (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 ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | LIT)) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_0006d3b8(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if ((param_1[3] & 1) == 0) {\n    puVar1 = (undefined4 *)*param_1;\n    (*(code *)PTR_free_0012b168)(param_1[1]);\n    (*(code *)PTR_free_0012b168)(param_1[2]);\n    (*(code *)PTR_free_0012b168)(param_1);\n    return puVar1;\n  }\n  param_1[3] = param_1[3] | 2;\n  return param_1;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_0006d3b8(undefined4 *param_1)" (* "*") (function_declarator "FUN_0006d3b8(undefined4 *param_1)" (identifier "FUN_0006d3b8") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if ((param_1[3] & 1) == 0) {\n    puVar1 = (undefined4 *)*param_1;\n    (*(code *)PTR_free_0012b168)(param_1[1]);\n    (*(code *)PTR_free_0012b168)(param_1[2]);\n    (*(code *)PTR_free_0012b168)(param_1);\n    return puVar1;\n  }\n  param_1[3] = param_1[3] | 2;\n  return param_1;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (if_statement "if ((param_1[3] & 1) == 0) {\n    puVar1 = (undefined4 *)*param_1;\n    (*(code *)PTR_free_0012b168)(param_1[1]);\n    (*(code *)PTR_free_0012b168)(param_1[2]);\n    (*(code *)PTR_free_0012b168)(param_1);\n    return puVar1;\n  }" (if "if") (parenthesized_expression "((param_1[3] & 1) == 0)" (( "(") (binary_expression "(param_1[3] & 1) == 0" (parenthesized_expression "(param_1[3] & 1)" (( "(") (binary_expression "param_1[3] & 1" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar1 = (undefined4 *)*param_1;\n    (*(code *)PTR_free_0012b168)(param_1[1]);\n    (*(code *)PTR_free_0012b168)(param_1[2]);\n    (*(code *)PTR_free_0012b168)(param_1);\n    return puVar1;\n  }" ({ "{") (expression_statement "puVar1 = (undefined4 *)*param_1;" (assignment_expression "puVar1 = (undefined4 *)*param_1" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "(*(code *)PTR_free_0012b168)(param_1[1]);" (call_expression "(*(code *)PTR_free_0012b168)(param_1[1])" (parenthesized_expression "(*(code *)PTR_free_0012b168)" (( "(") (pointer_expression "*(code *)PTR_free_0012b168" (* "*") (cast_expression "(code *)PTR_free_0012b168" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0012b168"))) () ")")) (argument_list "(param_1[1])" (( "(") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_0012b168)(param_1[2]);" (call_expression "(*(code *)PTR_free_0012b168)(param_1[2])" (parenthesized_expression "(*(code *)PTR_free_0012b168)" (( "(") (pointer_expression "*(code *)PTR_free_0012b168" (* "*") (cast_expression "(code *)PTR_free_0012b168" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0012b168"))) () ")")) (argument_list "(param_1[2])" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_0012b168)(param_1);" (call_expression "(*(code *)PTR_free_0012b168)(param_1)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" (( "(") (pointer_expression "*(code *)PTR_free_0012b168" (* "*") (cast_expression "(code *)PTR_free_0012b168" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0012b168"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}"))) (expression_statement "param_1[3] = param_1[3] | 2;" (assignment_expression "param_1[3] = param_1[3] | 2" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "param_1[3] | 2" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (| "|") (number_literal "2"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator 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 (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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 (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 (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 (identifier)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (return_statement (identifier)))))

undefined4 * MASKED(undefined4 *param_1)

{
  undefined4 *puVar1;
  
  if ((param_1[3] & 1) == 0) {
    puVar1 = (undefined4 *)*param_1;
    (*(code *)PTR_free_0012b168)(param_1[1]);
    (*(code *)PTR_free_0012b168)(param_1[2]);
    (*(code *)PTR_free_0012b168)(param_1);
    return puVar1;
  }
  param_1[3] = param_1[3] | 2;
  return param_1;
}

