
void fatal(char *format,...)

{
  char *format_00;
  undefined4 in_a1;
  undefined4 *args_00;
  undefined4 in_a2;
  undefined4 in_a3;
  undefined4 local_res4;
  undefined4 local_res8;
  undefined4 local_resc;
  undefined4 *puStack_24;
  undefined4 uStack_20;
  undefined4 uStack_1c;
  va_list args;
  
  args_00 = &local_res4;
  local_res4 = in_a1;
  local_res8 = in_a2;
  local_resc = in_a3;
  report(format,args_00);
  format_00 = (char *)0x1;
  (*(code *)PTR_xexit_000261b8)();
  puStack_24 = args_00;
  uStack_20 = in_a2;
  uStack_1c = in_a3;
  report(format_00,&puStack_24);
  return;
}



void fatal(void)

{
  report();
  (*(code *)PTR_xexit_000261b8)(1);
  report();
  return;
}


lui gp,0x2
addiu gp,gp,-0x4940
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7fa0(gp)
addiu v0,sp,0x2c
sw gp,0x10(sp)
sw a1,0x2c(sp)
or a1,v0,zero
sw ra,0x24(sp)
sw a2,0x30(sp)
sw a3,0x34(sp)
bal 0x00012970
_sw v0,0x18(sp)
lw gp,0x10(sp)
lw t9,-0x7f18(gp)
jalr t9
_li a0,0x1
(translation_unit "void fatal(void)\n\n{\n  report();\n  (*(code *)PTR_xexit_000261b8)(1);\n  report();\n  return;\n}\n\n" (function_definition "void fatal(void)\n\n{\n  report();\n  (*(code *)PTR_xexit_000261b8)(1);\n  report();\n  return;\n}" primitive_type (function_declarator "fatal(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  report();\n  (*(code *)PTR_xexit_000261b8)(1);\n  report();\n  return;\n}" { (expression_statement "report();" (call_expression "report()" identifier (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_xexit_000261b8)(1);" (call_expression "(*(code *)PTR_xexit_000261b8)(1)" (parenthesized_expression "(*(code *)PTR_xexit_000261b8)" ( (pointer_expression "*(code *)PTR_xexit_000261b8" * (cast_expression "(code *)PTR_xexit_000261b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))) ;) (expression_statement "report();" (call_expression "report()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void fatal(char *format,...)\n\n{\n  char *format_00;\n  undefined4 in_a1;\n  undefined4 *args_00;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  undefined4 local_res4;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  undefined4 *puStack_24;\n  undefined4 uStack_20;\n  undefined4 uStack_1c;\n  va_list args;\n  \n  args_00 = &local_res4;\n  local_res4 = in_a1;\n  local_res8 = in_a2;\n  local_resc = in_a3;\n  report(format,args_00);\n  format_00 = (char *)0x1;\n  (*(code *)PTR_xexit_000261b8)();\n  puStack_24 = args_00;\n  uStack_20 = in_a2;\n  uStack_1c = in_a3;\n  report(format_00,&puStack_24);\n  return;\n}\n\n" (function_definition "void fatal(char *format,...)\n\n{\n  char *format_00;\n  undefined4 in_a1;\n  undefined4 *args_00;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  undefined4 local_res4;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  undefined4 *puStack_24;\n  undefined4 uStack_20;\n  undefined4 uStack_1c;\n  va_list args;\n  \n  args_00 = &local_res4;\n  local_res4 = in_a1;\n  local_res8 = in_a2;\n  local_resc = in_a3;\n  report(format,args_00);\n  format_00 = (char *)0x1;\n  (*(code *)PTR_xexit_000261b8)();\n  puStack_24 = args_00;\n  uStack_20 = in_a2;\n  uStack_1c = in_a3;\n  report(format_00,&puStack_24);\n  return;\n}" primitive_type (function_declarator "fatal(char *format,...)" identifier (parameter_list "(char *format,...)" ( (parameter_declaration "char *format" primitive_type (pointer_declarator "*format" * identifier)) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  char *format_00;\n  undefined4 in_a1;\n  undefined4 *args_00;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  undefined4 local_res4;\n  undefined4 local_res8;\n  undefined4 local_resc;\n  undefined4 *puStack_24;\n  undefined4 uStack_20;\n  undefined4 uStack_1c;\n  va_list args;\n  \n  args_00 = &local_res4;\n  local_res4 = in_a1;\n  local_res8 = in_a2;\n  local_resc = in_a3;\n  report(format,args_00);\n  format_00 = (char *)0x1;\n  (*(code *)PTR_xexit_000261b8)();\n  puStack_24 = args_00;\n  uStack_20 = in_a2;\n  uStack_1c = in_a3;\n  report(format_00,&puStack_24);\n  return;\n}" { (declaration "char *format_00;" primitive_type (pointer_declarator "*format_00" * identifier) ;) (declaration "undefined4 in_a1;" type_identifier identifier ;) (declaration "undefined4 *args_00;" type_identifier (pointer_declarator "*args_00" * identifier) ;) (declaration "undefined4 in_a2;" type_identifier identifier ;) (declaration "undefined4 in_a3;" type_identifier identifier ;) (declaration "undefined4 local_res4;" type_identifier identifier ;) (declaration "undefined4 local_res8;" type_identifier identifier ;) (declaration "undefined4 local_resc;" type_identifier identifier ;) (declaration "undefined4 *puStack_24;" type_identifier (pointer_declarator "*puStack_24" * identifier) ;) (declaration "undefined4 uStack_20;" type_identifier identifier ;) (declaration "undefined4 uStack_1c;" type_identifier identifier ;) (declaration "va_list args;" type_identifier identifier ;) (expression_statement "args_00 = &local_res4;" (assignment_expression "args_00 = &local_res4" identifier = (pointer_expression "&local_res4" & identifier)) ;) (expression_statement "local_res4 = in_a1;" (assignment_expression "local_res4 = in_a1" identifier = identifier) ;) (expression_statement "local_res8 = in_a2;" (assignment_expression "local_res8 = in_a2" identifier = identifier) ;) (expression_statement "local_resc = in_a3;" (assignment_expression "local_resc = in_a3" identifier = identifier) ;) (expression_statement "report(format,args_00);" (call_expression "report(format,args_00)" identifier (argument_list "(format,args_00)" ( identifier , identifier ))) ;) (expression_statement "format_00 = (char *)0x1;" (assignment_expression "format_00 = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR_xexit_000261b8)();" (call_expression "(*(code *)PTR_xexit_000261b8)()" (parenthesized_expression "(*(code *)PTR_xexit_000261b8)" ( (pointer_expression "*(code *)PTR_xexit_000261b8" * (cast_expression "(code *)PTR_xexit_000261b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puStack_24 = args_00;" (assignment_expression "puStack_24 = args_00" identifier = identifier) ;) (expression_statement "uStack_20 = in_a2;" (assignment_expression "uStack_20 = in_a2" identifier = identifier) ;) (expression_statement "uStack_1c = in_a3;" (assignment_expression "uStack_1c = in_a3" identifier = identifier) ;) (expression_statement "report(format_00,&puStack_24);" (call_expression "report(format_00,&puStack_24)" identifier (argument_list "(format_00,&puStack_24)" ( identifier , (pointer_expression "&puStack_24" & identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void fatal(void)\n\n{\n  report();\n  (*(code *)PTR_xexit_000261b8)(1);\n  report();\n  return;\n}\n\n" (function_definition "void fatal(void)\n\n{\n  report();\n  (*(code *)PTR_xexit_000261b8)(1);\n  report();\n  return;\n}" primitive_type (function_declarator "fatal(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  report();\n  (*(code *)PTR_xexit_000261b8)(1);\n  report();\n  return;\n}" { (expression_statement "report();" (call_expression "report()" identifier (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_xexit_000261b8)(1);" (call_expression "(*(code *)PTR_xexit_000261b8)(1)" (parenthesized_expression "(*(code *)PTR_xexit_000261b8)" ( (pointer_expression "*(code *)PTR_xexit_000261b8" * (cast_expression "(code *)PTR_xexit_000261b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))) ;) (expression_statement "report();" (call_expression "report()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void fatal(void)\n\n{\n  report();\n  (*(code *)PTR_xexit_000261b8)(1);\n  report();\n  return;\n}" (primitive_type "void") (function_declarator "fatal(void)" (identifier "fatal") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  report();\n  (*(code *)PTR_xexit_000261b8)(1);\n  report();\n  return;\n}" ({ "{") (expression_statement "report();" (call_expression "report()" (identifier "report") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_xexit_000261b8)(1);" (call_expression "(*(code *)PTR_xexit_000261b8)(1)" (parenthesized_expression "(*(code *)PTR_xexit_000261b8)" (( "(") (pointer_expression "*(code *)PTR_xexit_000261b8" (* "*") (cast_expression "(code *)PTR_xexit_000261b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xexit_000261b8"))) () ")")) (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (expression_statement "report();" (call_expression "report()" (identifier "report") (argument_list "()" (( "(") () ")"))) (; ";")) (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)))) body: (compound_statement (expression_statement (call_expression function: (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 (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

void MASKED(void)

{
  report();
  (*(code *)PTR_xexit_000261b8)(1);
  report();
  return;
}

