
var_conflict * clrvar(var_conflict *v)

{
  uint uVar1;
  
  uVar1 = v->type;
  if ((uVar1 & 0x1000) == 0) {
    (*(code *)PTR_free_0012b168)(v->string);
    uVar1 = v->type;
  }
  v->string = (char *)0x0;
  v->type = uVar1 & 0x6c02 | 0x4000;
  return v;
}



uint * FUN_000c9b50(uint *param_1)

{
  uint uVar1;
  
  uVar1 = *param_1;
  if ((uVar1 & 0x1000) == 0) {
    (*(code *)PTR_free_0012b168)(param_1[4]);
    uVar1 = *param_1;
  }
  param_1[4] = 0;
  *param_1 = uVar1 & 0x6c02 | 0x4000;
  return param_1;
}


lui gp,0x7
addiu gp,gp,-0x7a00
addu gp,gp,t9
addiu sp,sp,-0x20
lw v1,0x0(a0)
andi v0,v1,0x1000
sw gp,0x10(sp)
sw s0,0x18(sp)
or s0,a0,zero
bne v0,zero,0x000c9b8c
_sw ra,0x1c(sp)
lw t9,-0x6fe8(gp)
jalr t9
_lw a0,0x10(a0)
lw v1,0x0(s0)
lw ra,0x1c(sp)
andi v1,v1,0x6c02
ori v1,v1,0x4000
sw zero,0x10(s0)
sw v1,0x0(s0)
or v0,s0,zero
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "uint * FUN_000c9b50(uint *param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = *param_1;\n  if ((uVar1 & 0x1000) == 0) {\n    (*(code *)PTR_free_0012b168)(param_1[4]);\n    uVar1 = *param_1;\n  }\n  param_1[4] = 0;\n  *param_1 = uVar1 & 0x6c02 | 0x4000;\n  return param_1;\n}\n\n" (function_definition "uint * FUN_000c9b50(uint *param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = *param_1;\n  if ((uVar1 & 0x1000) == 0) {\n    (*(code *)PTR_free_0012b168)(param_1[4]);\n    uVar1 = *param_1;\n  }\n  param_1[4] = 0;\n  *param_1 = uVar1 & 0x6c02 | 0x4000;\n  return param_1;\n}" type_identifier (pointer_declarator "* FUN_000c9b50(uint *param_1)" * (function_declarator "FUN_000c9b50(uint *param_1)" identifier (parameter_list "(uint *param_1)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *param_1;\n  if ((uVar1 & 0x1000) == 0) {\n    (*(code *)PTR_free_0012b168)(param_1[4]);\n    uVar1 = *param_1;\n  }\n  param_1[4] = 0;\n  *param_1 = uVar1 & 0x6c02 | 0x4000;\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((uVar1 & 0x1000) == 0) {\n    (*(code *)PTR_free_0012b168)(param_1[4]);\n    uVar1 = *param_1;\n  }" if (parenthesized_expression "((uVar1 & 0x1000) == 0)" ( (binary_expression "(uVar1 & 0x1000) == 0" (parenthesized_expression "(uVar1 & 0x1000)" ( (binary_expression "uVar1 & 0x1000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    (*(code *)PTR_free_0012b168)(param_1[4]);\n    uVar1 = *param_1;\n  }" { (expression_statement "(*(code *)PTR_free_0012b168)(param_1[4]);" (call_expression "(*(code *)PTR_free_0012b168)(param_1[4])" (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[4])" ( (subscript_expression "param_1[4]" identifier [ number_literal ]) ))) ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = uVar1 & 0x6c02 | 0x4000;" (assignment_expression "*param_1 = uVar1 & 0x6c02 | 0x4000" (pointer_expression "*param_1" * identifier) = (binary_expression "uVar1 & 0x6c02 | 0x4000" (binary_expression "uVar1 & 0x6c02" identifier & number_literal) | number_literal)) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "var_conflict * clrvar(var_conflict *v)\n\n{\n  uint uVar1;\n  \n  uVar1 = v->type;\n  if ((uVar1 & 0x1000) == 0) {\n    (*(code *)PTR_free_0012b168)(v->string);\n    uVar1 = v->type;\n  }\n  v->string = (char *)0x0;\n  v->type = uVar1 & 0x6c02 | 0x4000;\n  return v;\n}\n\n" (function_definition "var_conflict * clrvar(var_conflict *v)\n\n{\n  uint uVar1;\n  \n  uVar1 = v->type;\n  if ((uVar1 & 0x1000) == 0) {\n    (*(code *)PTR_free_0012b168)(v->string);\n    uVar1 = v->type;\n  }\n  v->string = (char *)0x0;\n  v->type = uVar1 & 0x6c02 | 0x4000;\n  return v;\n}" type_identifier (pointer_declarator "* clrvar(var_conflict *v)" * (function_declarator "clrvar(var_conflict *v)" identifier (parameter_list "(var_conflict *v)" ( (parameter_declaration "var_conflict *v" type_identifier (pointer_declarator "*v" * identifier)) )))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = v->type;\n  if ((uVar1 & 0x1000) == 0) {\n    (*(code *)PTR_free_0012b168)(v->string);\n    uVar1 = v->type;\n  }\n  v->string = (char *)0x0;\n  v->type = uVar1 & 0x6c02 | 0x4000;\n  return v;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = v->type;" (assignment_expression "uVar1 = v->type" identifier = (field_expression "v->type" identifier -> field_identifier)) ;) (if_statement "if ((uVar1 & 0x1000) == 0) {\n    (*(code *)PTR_free_0012b168)(v->string);\n    uVar1 = v->type;\n  }" if (parenthesized_expression "((uVar1 & 0x1000) == 0)" ( (binary_expression "(uVar1 & 0x1000) == 0" (parenthesized_expression "(uVar1 & 0x1000)" ( (binary_expression "uVar1 & 0x1000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    (*(code *)PTR_free_0012b168)(v->string);\n    uVar1 = v->type;\n  }" { (expression_statement "(*(code *)PTR_free_0012b168)(v->string);" (call_expression "(*(code *)PTR_free_0012b168)(v->string)" (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 "(v->string)" ( (field_expression "v->string" identifier -> field_identifier) ))) ;) (expression_statement "uVar1 = v->type;" (assignment_expression "uVar1 = v->type" identifier = (field_expression "v->type" identifier -> field_identifier)) ;) })) (expression_statement "v->string = (char *)0x0;" (assignment_expression "v->string = (char *)0x0" (field_expression "v->string" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "v->type = uVar1 & 0x6c02 | 0x4000;" (assignment_expression "v->type = uVar1 & 0x6c02 | 0x4000" (field_expression "v->type" identifier -> field_identifier) = (binary_expression "uVar1 & 0x6c02 | 0x4000" (binary_expression "uVar1 & 0x6c02" identifier & number_literal) | number_literal)) ;) (return_statement "return v;" return identifier ;) })))
(translation_unit "uint * FUN_000c9b50(uint *param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = *param_1;\n  if ((uVar1 & 0x1000) == 0) {\n    (*(code *)PTR_free_0012b168)(param_1[4]);\n    uVar1 = *param_1;\n  }\n  param_1[4] = 0;\n  *param_1 = uVar1 & 0x6c02 | 0x4000;\n  return param_1;\n}\n\n" (function_definition "uint * FUN_000c9b50(uint *param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = *param_1;\n  if ((uVar1 & 0x1000) == 0) {\n    (*(code *)PTR_free_0012b168)(param_1[4]);\n    uVar1 = *param_1;\n  }\n  param_1[4] = 0;\n  *param_1 = uVar1 & 0x6c02 | 0x4000;\n  return param_1;\n}" type_identifier (pointer_declarator "* FUN_000c9b50(uint *param_1)" * (function_declarator "FUN_000c9b50(uint *param_1)" identifier (parameter_list "(uint *param_1)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *param_1;\n  if ((uVar1 & 0x1000) == 0) {\n    (*(code *)PTR_free_0012b168)(param_1[4]);\n    uVar1 = *param_1;\n  }\n  param_1[4] = 0;\n  *param_1 = uVar1 & 0x6c02 | 0x4000;\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((uVar1 & 0x1000) == 0) {\n    (*(code *)PTR_free_0012b168)(param_1[4]);\n    uVar1 = *param_1;\n  }" if (parenthesized_expression "((uVar1 & 0x1000) == 0)" ( (binary_expression "(uVar1 & 0x1000) == 0" (parenthesized_expression "(uVar1 & 0x1000)" ( (binary_expression "uVar1 & 0x1000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    (*(code *)PTR_free_0012b168)(param_1[4]);\n    uVar1 = *param_1;\n  }" { (expression_statement "(*(code *)PTR_free_0012b168)(param_1[4]);" (call_expression "(*(code *)PTR_free_0012b168)(param_1[4])" (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[4])" ( (subscript_expression "param_1[4]" identifier [ number_literal ]) ))) ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = uVar1 & 0x6c02 | 0x4000;" (assignment_expression "*param_1 = uVar1 & 0x6c02 | 0x4000" (pointer_expression "*param_1" * identifier) = (binary_expression "uVar1 & 0x6c02 | 0x4000" (binary_expression "uVar1 & 0x6c02" 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 IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & 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 = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression IDENT & LIT) | LIT)) ;) (return_statement return IDENT ;) })))
(function_definition "uint * FUN_000c9b50(uint *param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = *param_1;\n  if ((uVar1 & 0x1000) == 0) {\n    (*(code *)PTR_free_0012b168)(param_1[4]);\n    uVar1 = *param_1;\n  }\n  param_1[4] = 0;\n  *param_1 = uVar1 & 0x6c02 | 0x4000;\n  return param_1;\n}" (type_identifier "uint") (pointer_declarator "* FUN_000c9b50(uint *param_1)" (* "*") (function_declarator "FUN_000c9b50(uint *param_1)" (identifier "FUN_000c9b50") (parameter_list "(uint *param_1)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *param_1;\n  if ((uVar1 & 0x1000) == 0) {\n    (*(code *)PTR_free_0012b168)(param_1[4]);\n    uVar1 = *param_1;\n  }\n  param_1[4] = 0;\n  *param_1 = uVar1 & 0x6c02 | 0x4000;\n  return param_1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" (identifier "uVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if ((uVar1 & 0x1000) == 0) {\n    (*(code *)PTR_free_0012b168)(param_1[4]);\n    uVar1 = *param_1;\n  }" (if "if") (parenthesized_expression "((uVar1 & 0x1000) == 0)" (( "(") (binary_expression "(uVar1 & 0x1000) == 0" (parenthesized_expression "(uVar1 & 0x1000)" (( "(") (binary_expression "uVar1 & 0x1000" (identifier "uVar1") (& "&") (number_literal "0x1000")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_free_0012b168)(param_1[4]);\n    uVar1 = *param_1;\n  }" ({ "{") (expression_statement "(*(code *)PTR_free_0012b168)(param_1[4]);" (call_expression "(*(code *)PTR_free_0012b168)(param_1[4])" (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[4])" (( "(") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) () ")"))) (; ";")) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" (identifier "uVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}"))) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = uVar1 & 0x6c02 | 0x4000;" (assignment_expression "*param_1 = uVar1 & 0x6c02 | 0x4000" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "uVar1 & 0x6c02 | 0x4000" (binary_expression "uVar1 & 0x6c02" (identifier "uVar1") (& "&") (number_literal "0x6c02")) (| "|") (number_literal "0x4000"))) (; ";")) (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: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) 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: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) (return_statement (identifier)))))

uint * MASKED(uint *param_1)

{
  uint uVar1;
  
  uVar1 = *param_1;
  if ((uVar1 & 0x1000) == 0) {
    (*(code *)PTR_free_0012b168)(param_1[4]);
    uVar1 = *param_1;
  }
  param_1[4] = 0;
  *param_1 = uVar1 & 0x6c02 | 0x4000;
  return param_1;
}

