
void Action_add(action **app,e_action type,symbol *sp,char *arg)

{
  action *paVar1;
  
  paVar1 = Action_new();
  paVar1->next = *app;
  *app = paVar1;
  paVar1->type = type;
  paVar1->sp = sp;
  paVar1->spOpt = (symbol *)0x0;
  (paVar1->x).stp = (state *)arg;
  return;
}



void FUN_000135e0(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  undefined4 *puVar1;
  
  puVar1 = (undefined4 *)FUN_000123c8();
  puVar1[4] = *param_1;
  *param_1 = (int)puVar1;
  puVar1[1] = param_2;
  *puVar1 = param_3;
  puVar1[3] = 0;
  puVar1[2] = param_4;
  return;
}


lui gp,0x2
addiu gp,gp,0x7b80
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x7fcc(gp)
addiu t9,t9,0x23c8
sw s1,0x20(sp)
or s1,a0,zero
sw s3,0x28(sp)
sw s2,0x24(sp)
or s3,a2,zero
sw s0,0x1c(sp)
or s2,a3,zero
sw ra,0x2c(sp)
sw gp,0x10(sp)
bal 0x000123c8
_or s0,a1,zero
lw v1,0x0(s1)
sw v1,0x10(v0)
sw v0,0x0(s1)
sw s0,0x4(v0)
sw s3,0x0(v0)
sw zero,0xc(v0)
sw s2,0x8(v0)
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "void FUN_000135e0(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_000123c8();\n  puVar1[4] = *param_1;\n  *param_1 = (int)puVar1;\n  puVar1[1] = param_2;\n  *puVar1 = param_3;\n  puVar1[3] = 0;\n  puVar1[2] = param_4;\n  return;\n}\n\n" (function_definition "void FUN_000135e0(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_000123c8();\n  puVar1[4] = *param_1;\n  *param_1 = (int)puVar1;\n  puVar1[1] = param_2;\n  *puVar1 = param_3;\n  puVar1[3] = 0;\n  puVar1[2] = param_4;\n  return;\n}" primitive_type (function_declarator "FUN_000135e0(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_000123c8();\n  puVar1[4] = *param_1;\n  *param_1 = (int)puVar1;\n  puVar1[1] = param_2;\n  *puVar1 = param_3;\n  puVar1[3] = 0;\n  puVar1[2] = param_4;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)FUN_000123c8();" (assignment_expression "puVar1 = (undefined4 *)FUN_000123c8()" identifier = (cast_expression "(undefined4 *)FUN_000123c8()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000123c8()" identifier (argument_list "()" ( ))))) ;) (expression_statement "puVar1[4] = *param_1;" (assignment_expression "puVar1[4] = *param_1" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*param_1 = (int)puVar1;" (assignment_expression "*param_1 = (int)puVar1" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "puVar1[1] = param_2;" (assignment_expression "puVar1[1] = param_2" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = param_3;" (assignment_expression "*puVar1 = param_3" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[3] = 0;" (assignment_expression "puVar1[3] = 0" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[2] = param_4;" (assignment_expression "puVar1[2] = param_4" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void Action_add(action **app,e_action type,symbol *sp,char *arg)\n\n{\n  action *paVar1;\n  \n  paVar1 = Action_new();\n  paVar1->next = *app;\n  *app = paVar1;\n  paVar1->type = type;\n  paVar1->sp = sp;\n  paVar1->spOpt = (symbol *)0x0;\n  (paVar1->x).stp = (state *)arg;\n  return;\n}\n\n" (function_definition "void Action_add(action **app,e_action type,symbol *sp,char *arg)\n\n{\n  action *paVar1;\n  \n  paVar1 = Action_new();\n  paVar1->next = *app;\n  *app = paVar1;\n  paVar1->type = type;\n  paVar1->sp = sp;\n  paVar1->spOpt = (symbol *)0x0;\n  (paVar1->x).stp = (state *)arg;\n  return;\n}" primitive_type (function_declarator "Action_add(action **app,e_action type,symbol *sp,char *arg)" identifier (parameter_list "(action **app,e_action type,symbol *sp,char *arg)" ( (parameter_declaration "action **app" type_identifier (pointer_declarator "**app" * (pointer_declarator "*app" * identifier))) , (parameter_declaration "e_action type" type_identifier identifier) , (parameter_declaration "symbol *sp" type_identifier (pointer_declarator "*sp" * identifier)) , (parameter_declaration "char *arg" primitive_type (pointer_declarator "*arg" * identifier)) ))) (compound_statement "{\n  action *paVar1;\n  \n  paVar1 = Action_new();\n  paVar1->next = *app;\n  *app = paVar1;\n  paVar1->type = type;\n  paVar1->sp = sp;\n  paVar1->spOpt = (symbol *)0x0;\n  (paVar1->x).stp = (state *)arg;\n  return;\n}" { (declaration "action *paVar1;" type_identifier (pointer_declarator "*paVar1" * identifier) ;) (expression_statement "paVar1 = Action_new();" (assignment_expression "paVar1 = Action_new()" identifier = (call_expression "Action_new()" identifier (argument_list "()" ( )))) ;) (expression_statement "paVar1->next = *app;" (assignment_expression "paVar1->next = *app" (field_expression "paVar1->next" identifier -> field_identifier) = (pointer_expression "*app" * identifier)) ;) (expression_statement "*app = paVar1;" (assignment_expression "*app = paVar1" (pointer_expression "*app" * identifier) = identifier) ;) (expression_statement "paVar1->type = type;" (assignment_expression "paVar1->type = type" (field_expression "paVar1->type" identifier -> field_identifier) = identifier) ;) (expression_statement "paVar1->sp = sp;" (assignment_expression "paVar1->sp = sp" (field_expression "paVar1->sp" identifier -> field_identifier) = identifier) ;) (expression_statement "paVar1->spOpt = (symbol *)0x0;" (assignment_expression "paVar1->spOpt = (symbol *)0x0" (field_expression "paVar1->spOpt" identifier -> field_identifier) = (cast_expression "(symbol *)0x0" ( (type_descriptor "symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(paVar1->x).stp = (state *)arg;" (assignment_expression "(paVar1->x).stp = (state *)arg" (field_expression "(paVar1->x).stp" (parenthesized_expression "(paVar1->x)" ( (field_expression "paVar1->x" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(state *)arg" ( (type_descriptor "state *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000135e0(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_000123c8();\n  puVar1[4] = *param_1;\n  *param_1 = (int)puVar1;\n  puVar1[1] = param_2;\n  *puVar1 = param_3;\n  puVar1[3] = 0;\n  puVar1[2] = param_4;\n  return;\n}\n\n" (function_definition "void FUN_000135e0(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_000123c8();\n  puVar1[4] = *param_1;\n  *param_1 = (int)puVar1;\n  puVar1[1] = param_2;\n  *puVar1 = param_3;\n  puVar1[3] = 0;\n  puVar1[2] = param_4;\n  return;\n}" primitive_type (function_declarator "FUN_000135e0(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_000123c8();\n  puVar1[4] = *param_1;\n  *param_1 = (int)puVar1;\n  puVar1[1] = param_2;\n  *puVar1 = param_3;\n  puVar1[3] = 0;\n  puVar1[2] = param_4;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)FUN_000123c8();" (assignment_expression "puVar1 = (undefined4 *)FUN_000123c8()" identifier = (cast_expression "(undefined4 *)FUN_000123c8()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000123c8()" identifier (argument_list "()" ( ))))) ;) (expression_statement "puVar1[4] = *param_1;" (assignment_expression "puVar1[4] = *param_1" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*param_1 = (int)puVar1;" (assignment_expression "*param_1 = (int)puVar1" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "puVar1[1] = param_2;" (assignment_expression "puVar1[1] = param_2" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = param_3;" (assignment_expression "*puVar1 = param_3" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[3] = 0;" (assignment_expression "puVar1[3] = 0" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[2] = param_4;" (assignment_expression "puVar1[2] = param_4" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_000135e0(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_000123c8();\n  puVar1[4] = *param_1;\n  *param_1 = (int)puVar1;\n  puVar1[1] = param_2;\n  *puVar1 = param_3;\n  puVar1[3] = 0;\n  puVar1[2] = param_4;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000135e0(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_000135e0") (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_000123c8();\n  puVar1[4] = *param_1;\n  *param_1 = (int)puVar1;\n  puVar1[1] = param_2;\n  *puVar1 = param_3;\n  puVar1[3] = 0;\n  puVar1[2] = param_4;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = (undefined4 *)FUN_000123c8();" (assignment_expression "puVar1 = (undefined4 *)FUN_000123c8()" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_000123c8()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000123c8()" (identifier "FUN_000123c8") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "puVar1[4] = *param_1;" (assignment_expression "puVar1[4] = *param_1" (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]")) (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*param_1 = (int)puVar1;" (assignment_expression "*param_1 = (int)puVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1"))) (; ";")) (expression_statement "puVar1[1] = param_2;" (assignment_expression "puVar1[1] = param_2" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*puVar1 = param_3;" (assignment_expression "*puVar1 = param_3" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "puVar1[3] = 0;" (assignment_expression "puVar1[3] = 0" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[2] = param_4;" (assignment_expression "puVar1[2] = param_4" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_4")) (; ";")) (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: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))))

void MASKED(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  undefined4 *puVar1;
  
  puVar1 = (undefined4 *)FUN_000123c8();
  puVar1[4] = *param_1;
  *param_1 = (int)puVar1;
  puVar1[1] = param_2;
  *puVar1 = param_3;
  puVar1[3] = 0;
  puVar1[2] = param_4;
  return;
}

