
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void print_prompt(void)

{
  undefined *puVar1;
  
  puVar1 = PTR_stderr_00146518;
  (*(code *)PTR_fputs_0014621c)
            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518);
                    /* WARNING: Could not recover jumptable at 0x000315b8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1);
  return;
}



void FUN_00031570(void)

{
  undefined *puVar1;
  
  puVar1 = PTR_stderr_00146518;
  (*(code *)PTR_fputs_0014621c)
            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518);
                    /* WARNING: Could not recover jumptable at 0x000315b8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1);
  return;
}


lui gp,0x12
addiu gp,gp,-0x5030
addu gp,gp,t9
addiu sp,sp,-0x20
lw v0,-0x7fd8(gp)
lw t9,-0x6324(gp)
sw s0,0x18(sp)
lw s0,-0x6028(gp)
lw a0,0x6b18(v0)
sw ra,0x1c(sp)
sw gp,0x10(sp)
jalr t9
_lw a1,0x0(s0)
lw gp,0x10(sp)
lw a0,0x0(s0)
lw ra,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x6020(gp)
jr t9
_addiu sp,sp,0x20
(translation_unit "void FUN_00031570(void)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00146518;\n  (*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518);\n                    /* WARNING: Could not recover jumptable at 0x000315b8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1);\n  return;\n}\n\n" (function_definition "void FUN_00031570(void)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00146518;\n  (*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518);\n                    /* WARNING: Could not recover jumptable at 0x000315b8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00031570(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00146518;\n  (*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518);\n                    /* WARNING: Could not recover jumptable at 0x000315b8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR_stderr_00146518;" (assignment_expression "puVar1 = PTR_stderr_00146518" identifier = identifier) ;) (expression_statement "(*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518);" (call_expression "(*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518)" (parenthesized_expression "(*(code *)PTR_fputs_0014621c)" ( (pointer_expression "*(code *)PTR_fputs_0014621c" * (cast_expression "(code *)PTR_fputs_0014621c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518)" ( (pointer_expression "*(undefined4 *)(PTR_data_start_00144568 + 0x6b18)" * (cast_expression "(undefined4 *)(PTR_data_start_00144568 + 0x6b18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_00144568 + 0x6b18)" ( (binary_expression "PTR_data_start_00144568 + 0x6b18" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)PTR_stderr_00146518" * (cast_expression "(undefined4 *)PTR_stderr_00146518" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) comment comment (expression_statement "(*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1);" (call_expression "(*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1)" (parenthesized_expression "(*(code *)PTR_fflush_00146520)" ( (pointer_expression "*(code *)PTR_fflush_00146520" * (cast_expression "(code *)PTR_fflush_00146520" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar1)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid print_prompt(void)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00146518;\n  (*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518);\n                    /* WARNING: Could not recover jumptable at 0x000315b8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1);\n  return;\n}\n\n" comment (function_definition "void print_prompt(void)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00146518;\n  (*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518);\n                    /* WARNING: Could not recover jumptable at 0x000315b8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1);\n  return;\n}" primitive_type (function_declarator "print_prompt(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00146518;\n  (*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518);\n                    /* WARNING: Could not recover jumptable at 0x000315b8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR_stderr_00146518;" (assignment_expression "puVar1 = PTR_stderr_00146518" identifier = identifier) ;) (expression_statement "(*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518);" (call_expression "(*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518)" (parenthesized_expression "(*(code *)PTR_fputs_0014621c)" ( (pointer_expression "*(code *)PTR_fputs_0014621c" * (cast_expression "(code *)PTR_fputs_0014621c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518)" ( (pointer_expression "*(undefined4 *)(PTR_data_start_00144568 + 0x6b18)" * (cast_expression "(undefined4 *)(PTR_data_start_00144568 + 0x6b18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_00144568 + 0x6b18)" ( (binary_expression "PTR_data_start_00144568 + 0x6b18" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)PTR_stderr_00146518" * (cast_expression "(undefined4 *)PTR_stderr_00146518" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) comment comment (expression_statement "(*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1);" (call_expression "(*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1)" (parenthesized_expression "(*(code *)PTR_fflush_00146520)" ( (pointer_expression "*(code *)PTR_fflush_00146520" * (cast_expression "(code *)PTR_fflush_00146520" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar1)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00031570(void)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00146518;\n  (*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518);\n                    \n                    \n  (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1);\n  return;\n}\n\n" (function_definition "void FUN_00031570(void)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00146518;\n  (*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518);\n                    \n                    \n  (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00031570(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00146518;\n  (*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518);\n                    \n                    \n  (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR_stderr_00146518;" (assignment_expression "puVar1 = PTR_stderr_00146518" identifier = identifier) ;) (expression_statement "(*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518);" (call_expression "(*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518)" (parenthesized_expression "(*(code *)PTR_fputs_0014621c)" ( (pointer_expression "*(code *)PTR_fputs_0014621c" * (cast_expression "(code *)PTR_fputs_0014621c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518)" ( (pointer_expression "*(undefined4 *)(PTR_data_start_00144568 + 0x6b18)" * (cast_expression "(undefined4 *)(PTR_data_start_00144568 + 0x6b18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_00144568 + 0x6b18)" ( (binary_expression "PTR_data_start_00144568 + 0x6b18" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)PTR_stderr_00146518" * (cast_expression "(undefined4 *)PTR_stderr_00146518" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "(*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1);" (call_expression "(*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1)" (parenthesized_expression "(*(code *)PTR_fflush_00146520)" ( (pointer_expression "*(code *)PTR_fflush_00146520" * (cast_expression "(code *)PTR_fflush_00146520" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar1)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00031570(void)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00146518;\n  (*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518);\n                    \n                    \n  (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00031570(void)" (identifier "FUN_00031570") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_stderr_00146518;\n  (*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518);\n                    \n                    \n  (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = PTR_stderr_00146518;" (assignment_expression "puVar1 = PTR_stderr_00146518" (identifier "puVar1") (= "=") (identifier "PTR_stderr_00146518")) (; ";")) (expression_statement "(*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518);" (call_expression "(*(code *)PTR_fputs_0014621c)\n            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518)" (parenthesized_expression "(*(code *)PTR_fputs_0014621c)" (( "(") (pointer_expression "*(code *)PTR_fputs_0014621c" (* "*") (cast_expression "(code *)PTR_fputs_0014621c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fputs_0014621c"))) () ")")) (argument_list "(*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518)" (( "(") (pointer_expression "*(undefined4 *)(PTR_data_start_00144568 + 0x6b18)" (* "*") (cast_expression "(undefined4 *)(PTR_data_start_00144568 + 0x6b18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_data_start_00144568 + 0x6b18)" (( "(") (binary_expression "PTR_data_start_00144568 + 0x6b18" (identifier "PTR_data_start_00144568") (+ "+") (number_literal "0x6b18")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)PTR_stderr_00146518" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00146518" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00146518"))) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1);" (call_expression "(*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1)" (parenthesized_expression "(*(code *)PTR_fflush_00146520)" (( "(") (pointer_expression "*(code *)PTR_fflush_00146520" (* "*") (cast_expression "(code *)PTR_fflush_00146520" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fflush_00146520"))) () ")")) (argument_list "(*(undefined4 *)puVar1)" (( "(") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  type_1 *puVar1;
  
  puVar1 = PTR_stderr_00146518;
  (*(type_2 *)PTR_fputs_0014621c)
            (*(type_3 *)(var_1 + 0x6b18),*(type_3 *)PTR_stderr_00146518);
                    /* WARNING: Could not recover jumptable at 0x000315b8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(type_2 *)PTR_fflush_00146520)(*(type_3 *)puVar1);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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 (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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 (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (return_statement))))

void MASKED(void)

{
  undefined *puVar1;
  
  puVar1 = PTR_stderr_00146518;
  (*(code *)PTR_fputs_0014621c)
            (*(undefined4 *)(PTR_data_start_00144568 + 0x6b18),*(undefined4 *)PTR_stderr_00146518);
                    /* WARNING: Could not recover jumptable at 0x000315b8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar1);
  return;
}

