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

void raise_interrupt(void)

{
  undefined *puVar1;
  undefined1 *puVar2;
  
  puVar1 = PTR_sigprocmask_allsigs_0012a854;
  puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c;
  puVar2[0x28] = 0;
  (*(code *)puVar1)(2);
  if ((*(int *)(puVar2 + 8) != 0) || (puVar2[0x30] == '\0')) {
    (*(code *)PTR_signal_0012b118)(2,0);
    (*(code *)PTR_raise_0012b1ec)(2);
  }
                    /* WARNING: Subroutine does not return */
  *puVar2 = 0x82;
  raise_exception(0);
}



void FUN_0006d4d4(void)

{
  undefined *puVar1;
  undefined1 *puVar2;
  
  puVar1 = PTR_FUN_0012a854;
  puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c;
  puVar2[0x28] = 0;
  (*(code *)puVar1)(2);
  if (*(int *)(puVar2 + 8) == 0) goto LAB_0006d554;
  do {
    (*(code *)PTR_signal_0012b118)(2,0);
    (*(code *)PTR_raise_0012b1ec)(2);
    do {
      *puVar2 = 0x82;
      FUN_0006d378(0);
LAB_0006d554:
    } while (puVar2[0x30] != '\0');
  } while( true );
}


lui gp,0xc
addiu gp,gp,0x4c7c
addu gp,gp,t9
lw v0,-0x7904(gp)
addiu sp,sp,-0x20
lw t9,-0x78fc(gp)
li a0,0x2
sw s0,0x18(sp)
sw gp,0x10(sp)
sw ra,0x1c(sp)
lw s0,0x0(v0)
sb zero,0x28(s0)
jalr t9
_nop
lw v0,0x8(s0)
beq v0,zero,0x0006d554
_lw gp,0x10(sp)
lw t9,-0x7038(gp)
or a1,zero,zero
jalr t9
_li a0,0x2
lw gp,0x10(sp)
lw t9,-0x6f64(gp)
jalr t9
_li a0,0x2
lw gp,0x10(sp)
lw t9,-0x793c(gp)
li v0,-0x7e
or a0,zero,zero
addiu t9,t9,-0x2c88
bal 0x0006d378
_sb v0,0x0(s0)
lbu v0,0x30(s0)
bne v0,zero,0x0006d53c
_lw t9,-0x7038(gp)
b 0x0006d520
_or a1,zero,zero
(translation_unit "void FUN_0006d4d4(void)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  \n  puVar1 = PTR_FUN_0012a854;\n  puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar2[0x28] = 0;\n  (*(code *)puVar1)(2);\n  if (*(int *)(puVar2 + 8) == 0) goto LAB_0006d554;\n  do {\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n    do {\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    } while (puVar2[0x30] != '\0');\n  } while( true );\n}\n\n" (function_definition "void FUN_0006d4d4(void)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  \n  puVar1 = PTR_FUN_0012a854;\n  puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar2[0x28] = 0;\n  (*(code *)puVar1)(2);\n  if (*(int *)(puVar2 + 8) == 0) goto LAB_0006d554;\n  do {\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n    do {\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    } while (puVar2[0x30] != '\0');\n  } while( true );\n}" primitive_type (function_declarator "FUN_0006d4d4(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  \n  puVar1 = PTR_FUN_0012a854;\n  puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar2[0x28] = 0;\n  (*(code *)puVar1)(2);\n  if (*(int *)(puVar2 + 8) == 0) goto LAB_0006d554;\n  do {\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n    do {\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    } while (puVar2[0x30] != '\0');\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar1 = PTR_FUN_0012a854;" (assignment_expression "puVar1 = PTR_FUN_0012a854" identifier = identifier) ;) (expression_statement "puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c;" (assignment_expression "puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c" identifier = (pointer_expression "*(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c" * (cast_expression "(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "puVar2[0x28] = 0;" (assignment_expression "puVar2[0x28] = 0" (subscript_expression "puVar2[0x28]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*(code *)puVar1)(2);" (call_expression "(*(code *)puVar1)(2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(2)" ( number_literal ))) ;) (if_statement "if (*(int *)(puVar2 + 8) == 0) goto LAB_0006d554;" if (parenthesized_expression "(*(int *)(puVar2 + 8) == 0)" ( (binary_expression "*(int *)(puVar2 + 8) == 0" (pointer_expression "*(int *)(puVar2 + 8)" * (cast_expression "(int *)(puVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 8)" ( (binary_expression "puVar2 + 8" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_0006d554;" goto statement_identifier ;)) (do_statement "do {\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n    do {\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    } while (puVar2[0x30] != '\0');\n  } while( true );" do (compound_statement "{\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n    do {\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    } while (puVar2[0x30] != '\0');\n  }" { (expression_statement "(*(code *)PTR_signal_0012b118)(2,0);" (call_expression "(*(code *)PTR_signal_0012b118)(2,0)" (parenthesized_expression "(*(code *)PTR_signal_0012b118)" ( (pointer_expression "*(code *)PTR_signal_0012b118" * (cast_expression "(code *)PTR_signal_0012b118" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(2,0)" ( number_literal , number_literal ))) ;) (expression_statement "(*(code *)PTR_raise_0012b1ec)(2);" (call_expression "(*(code *)PTR_raise_0012b1ec)(2)" (parenthesized_expression "(*(code *)PTR_raise_0012b1ec)" ( (pointer_expression "*(code *)PTR_raise_0012b1ec" * (cast_expression "(code *)PTR_raise_0012b1ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(2)" ( number_literal ))) ;) (do_statement "do {\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    } while (puVar2[0x30] != '\0');" do (compound_statement "{\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    }" { (expression_statement "*puVar2 = 0x82;" (assignment_expression "*puVar2 = 0x82" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "FUN_0006d378(0);" (call_expression "FUN_0006d378(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (labeled_statement "LAB_0006d554:" statement_identifier : (expression_statement "" ;)) }) while (parenthesized_expression "(puVar2[0x30] != '\0')" ( (binary_expression "puVar2[0x30] != '\0'" (subscript_expression "puVar2[0x30]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid raise_interrupt(void)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  \n  puVar1 = PTR_sigprocmask_allsigs_0012a854;\n  puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar2[0x28] = 0;\n  (*(code *)puVar1)(2);\n  if ((*(int *)(puVar2 + 8) != 0) || (puVar2[0x30] == '\0')) {\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n  }\n                    /* WARNING: Subroutine does not return */\n  *puVar2 = 0x82;\n  raise_exception(0);\n}\n\n" comment (function_definition "void raise_interrupt(void)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  \n  puVar1 = PTR_sigprocmask_allsigs_0012a854;\n  puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar2[0x28] = 0;\n  (*(code *)puVar1)(2);\n  if ((*(int *)(puVar2 + 8) != 0) || (puVar2[0x30] == '\0')) {\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n  }\n                    /* WARNING: Subroutine does not return */\n  *puVar2 = 0x82;\n  raise_exception(0);\n}" primitive_type (function_declarator "raise_interrupt(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  \n  puVar1 = PTR_sigprocmask_allsigs_0012a854;\n  puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar2[0x28] = 0;\n  (*(code *)puVar1)(2);\n  if ((*(int *)(puVar2 + 8) != 0) || (puVar2[0x30] == '\0')) {\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n  }\n                    /* WARNING: Subroutine does not return */\n  *puVar2 = 0x82;\n  raise_exception(0);\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar1 = PTR_sigprocmask_allsigs_0012a854;" (assignment_expression "puVar1 = PTR_sigprocmask_allsigs_0012a854" identifier = identifier) ;) (expression_statement "puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c;" (assignment_expression "puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c" identifier = (pointer_expression "*(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c" * (cast_expression "(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "puVar2[0x28] = 0;" (assignment_expression "puVar2[0x28] = 0" (subscript_expression "puVar2[0x28]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*(code *)puVar1)(2);" (call_expression "(*(code *)puVar1)(2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(2)" ( number_literal ))) ;) (if_statement "if ((*(int *)(puVar2 + 8) != 0) || (puVar2[0x30] == '\0')) {\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n  }" if (parenthesized_expression "((*(int *)(puVar2 + 8) != 0) || (puVar2[0x30] == '\0'))" ( (binary_expression "(*(int *)(puVar2 + 8) != 0) || (puVar2[0x30] == '\0')" (parenthesized_expression "(*(int *)(puVar2 + 8) != 0)" ( (binary_expression "*(int *)(puVar2 + 8) != 0" (pointer_expression "*(int *)(puVar2 + 8)" * (cast_expression "(int *)(puVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 8)" ( (binary_expression "puVar2 + 8" identifier + number_literal) )))) != number_literal) )) || (parenthesized_expression "(puVar2[0x30] == '\0')" ( (binary_expression "puVar2[0x30] == '\0'" (subscript_expression "puVar2[0x30]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n  }" { (expression_statement "(*(code *)PTR_signal_0012b118)(2,0);" (call_expression "(*(code *)PTR_signal_0012b118)(2,0)" (parenthesized_expression "(*(code *)PTR_signal_0012b118)" ( (pointer_expression "*(code *)PTR_signal_0012b118" * (cast_expression "(code *)PTR_signal_0012b118" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(2,0)" ( number_literal , number_literal ))) ;) (expression_statement "(*(code *)PTR_raise_0012b1ec)(2);" (call_expression "(*(code *)PTR_raise_0012b1ec)(2)" (parenthesized_expression "(*(code *)PTR_raise_0012b1ec)" ( (pointer_expression "*(code *)PTR_raise_0012b1ec" * (cast_expression "(code *)PTR_raise_0012b1ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(2)" ( number_literal ))) ;) })) comment (expression_statement "*puVar2 = 0x82;" (assignment_expression "*puVar2 = 0x82" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "raise_exception(0);" (call_expression "raise_exception(0)" identifier (argument_list "(0)" ( number_literal ))) ;) })))
(translation_unit "void FUN_0006d4d4(void)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  \n  puVar1 = PTR_FUN_0012a854;\n  puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar2[0x28] = 0;\n  (*(code *)puVar1)(2);\n  if (*(int *)(puVar2 + 8) == 0) goto LAB_0006d554;\n  do {\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n    do {\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    } while (puVar2[0x30] != '\0');\n  } while( true );\n}\n\n" (function_definition "void FUN_0006d4d4(void)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  \n  puVar1 = PTR_FUN_0012a854;\n  puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar2[0x28] = 0;\n  (*(code *)puVar1)(2);\n  if (*(int *)(puVar2 + 8) == 0) goto LAB_0006d554;\n  do {\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n    do {\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    } while (puVar2[0x30] != '\0');\n  } while( true );\n}" primitive_type (function_declarator "FUN_0006d4d4(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  \n  puVar1 = PTR_FUN_0012a854;\n  puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar2[0x28] = 0;\n  (*(code *)puVar1)(2);\n  if (*(int *)(puVar2 + 8) == 0) goto LAB_0006d554;\n  do {\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n    do {\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    } while (puVar2[0x30] != '\0');\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar1 = PTR_FUN_0012a854;" (assignment_expression "puVar1 = PTR_FUN_0012a854" identifier = identifier) ;) (expression_statement "puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c;" (assignment_expression "puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c" identifier = (pointer_expression "*(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c" * (cast_expression "(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "puVar2[0x28] = 0;" (assignment_expression "puVar2[0x28] = 0" (subscript_expression "puVar2[0x28]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*(code *)puVar1)(2);" (call_expression "(*(code *)puVar1)(2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(2)" ( number_literal ))) ;) (if_statement "if (*(int *)(puVar2 + 8) == 0) goto LAB_0006d554;" if (parenthesized_expression "(*(int *)(puVar2 + 8) == 0)" ( (binary_expression "*(int *)(puVar2 + 8) == 0" (pointer_expression "*(int *)(puVar2 + 8)" * (cast_expression "(int *)(puVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 8)" ( (binary_expression "puVar2 + 8" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_0006d554;" goto statement_identifier ;)) (do_statement "do {\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n    do {\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    } while (puVar2[0x30] != '\0');\n  } while( true );" do (compound_statement "{\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n    do {\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    } while (puVar2[0x30] != '\0');\n  }" { (expression_statement "(*(code *)PTR_signal_0012b118)(2,0);" (call_expression "(*(code *)PTR_signal_0012b118)(2,0)" (parenthesized_expression "(*(code *)PTR_signal_0012b118)" ( (pointer_expression "*(code *)PTR_signal_0012b118" * (cast_expression "(code *)PTR_signal_0012b118" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(2,0)" ( number_literal , number_literal ))) ;) (expression_statement "(*(code *)PTR_raise_0012b1ec)(2);" (call_expression "(*(code *)PTR_raise_0012b1ec)(2)" (parenthesized_expression "(*(code *)PTR_raise_0012b1ec)" ( (pointer_expression "*(code *)PTR_raise_0012b1ec" * (cast_expression "(code *)PTR_raise_0012b1ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(2)" ( number_literal ))) ;) (do_statement "do {\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    } while (puVar2[0x30] != '\0');" do (compound_statement "{\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    }" { (expression_statement "*puVar2 = 0x82;" (assignment_expression "*puVar2 = 0x82" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "FUN_0006d378(0);" (call_expression "FUN_0006d378(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (labeled_statement "LAB_0006d554:" statement_identifier : (expression_statement "" ;)) }) while (parenthesized_expression "(puVar2[0x30] != '\0')" ( (binary_expression "puVar2[0x30] != '\0'" (subscript_expression "puVar2[0x30]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (goto_statement goto statement_identifier ;)) (do_statement do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (labeled_statement statement_identifier : (expression_statement ;)) }) while (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_0006d4d4(void)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  \n  puVar1 = PTR_FUN_0012a854;\n  puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar2[0x28] = 0;\n  (*(code *)puVar1)(2);\n  if (*(int *)(puVar2 + 8) == 0) goto LAB_0006d554;\n  do {\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n    do {\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    } while (puVar2[0x30] != '\0');\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_0006d4d4(void)" (identifier "FUN_0006d4d4") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  \n  puVar1 = PTR_FUN_0012a854;\n  puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar2[0x28] = 0;\n  (*(code *)puVar1)(2);\n  if (*(int *)(puVar2 + 8) == 0) goto LAB_0006d554;\n  do {\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n    do {\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    } while (puVar2[0x30] != '\0');\n  } while( true );\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined1 *puVar2;" (type_identifier "undefined1") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "puVar1 = PTR_FUN_0012a854;" (assignment_expression "puVar1 = PTR_FUN_0012a854" (identifier "puVar1") (= "=") (identifier "PTR_FUN_0012a854")) (; ";")) (expression_statement "puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c;" (assignment_expression "puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c" (identifier "puVar2") (= "=") (pointer_expression "*(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c" (* "*") (cast_expression "(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_ash_ptr_to_globals_misc_0012a84c")))) (; ";")) (expression_statement "puVar2[0x28] = 0;" (assignment_expression "puVar2[0x28] = 0" (subscript_expression "puVar2[0x28]" (identifier "puVar2") ([ "[") (number_literal "0x28") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)puVar1)(2);" (call_expression "(*(code *)puVar1)(2)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(2)" (( "(") (number_literal "2") () ")"))) (; ";")) (if_statement "if (*(int *)(puVar2 + 8) == 0) goto LAB_0006d554;" (if "if") (parenthesized_expression "(*(int *)(puVar2 + 8) == 0)" (( "(") (binary_expression "*(int *)(puVar2 + 8) == 0" (pointer_expression "*(int *)(puVar2 + 8)" (* "*") (cast_expression "(int *)(puVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 8)" (( "(") (binary_expression "puVar2 + 8" (identifier "puVar2") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0006d554;" (goto "goto") (statement_identifier "LAB_0006d554") (; ";"))) (do_statement "do {\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n    do {\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    } while (puVar2[0x30] != '\0');\n  } while( true );" (do "do") (compound_statement "{\n    (*(code *)PTR_signal_0012b118)(2,0);\n    (*(code *)PTR_raise_0012b1ec)(2);\n    do {\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    } while (puVar2[0x30] != '\0');\n  }" ({ "{") (expression_statement "(*(code *)PTR_signal_0012b118)(2,0);" (call_expression "(*(code *)PTR_signal_0012b118)(2,0)" (parenthesized_expression "(*(code *)PTR_signal_0012b118)" (( "(") (pointer_expression "*(code *)PTR_signal_0012b118" (* "*") (cast_expression "(code *)PTR_signal_0012b118" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_signal_0012b118"))) () ")")) (argument_list "(2,0)" (( "(") (number_literal "2") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_raise_0012b1ec)(2);" (call_expression "(*(code *)PTR_raise_0012b1ec)(2)" (parenthesized_expression "(*(code *)PTR_raise_0012b1ec)" (( "(") (pointer_expression "*(code *)PTR_raise_0012b1ec" (* "*") (cast_expression "(code *)PTR_raise_0012b1ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_raise_0012b1ec"))) () ")")) (argument_list "(2)" (( "(") (number_literal "2") () ")"))) (; ";")) (do_statement "do {\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    } while (puVar2[0x30] != '\0');" (do "do") (compound_statement "{\n      *puVar2 = 0x82;\n      FUN_0006d378(0);\nLAB_0006d554:\n    }" ({ "{") (expression_statement "*puVar2 = 0x82;" (assignment_expression "*puVar2 = 0x82" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0x82")) (; ";")) (expression_statement "FUN_0006d378(0);" (call_expression "FUN_0006d378(0)" (identifier "FUN_0006d378") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (labeled_statement "LAB_0006d554:" (statement_identifier "LAB_0006d554") (: ":") (expression_statement "" (; ""))) (} "}")) (while "while") (parenthesized_expression "(puVar2[0x30] != '\0')" (( "(") (binary_expression "puVar2[0x30] != '\0'" (subscript_expression "puVar2[0x30]" (identifier "puVar2") ([ "[") (number_literal "0x30") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))
(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))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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 (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (do_statement body: (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 (number_literal) (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 (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (MISSING ";")))) condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))))) condition: (parenthesized_expression (true))))))

void MASKED(void)

{
  undefined *puVar1;
  undefined1 *puVar2;
  
  puVar1 = PTR_FUN_0012a854;
  puVar2 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0012a84c;
  puVar2[0x28] = 0;
  (*(code *)puVar1)(2);
  if (*(int *)(puVar2 + 8) == 0) goto LAB_0006d554;
  do {
    (*(code *)PTR_signal_0012b118)(2,0);
    (*(code *)PTR_raise_0012b1ec)(2);
    do {
      *puVar2 = 0x82;
      FUN_0006d378(0);
LAB_0006d554:
    } while (puVar2[0x30] != '\0');
  } while( true );
}

