
void s_mips_file(int x)

{
  undefined *puVar1;
  char *file;
  
  if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {
    get_number();
    s_app_file(0);
    return;
  }
  file = (char *)(*(code *)PTR_dwarf2_directive_filename_000b5f50)();
  puVar1 = PTR_mips_opcodes_000b5cd0;
  if ((file != (char *)0x0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)) {
    (*(code *)PTR_new_logical_line_000b63e0)(file,0xffffffff);
    s_app_file_string(file,0);
    *(undefined4 *)(puVar1 + -0xc2c) = 1;
    return;
  }
  *(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1;
  return;
}



void FUN_0005ddf8(void)

{
  undefined *puVar1;
  int iVar2;
  
  if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {
    FUN_00059ef0();
    s_app_file(0);
    return;
  }
  iVar2 = (*(code *)PTR_dwarf2_directive_filename_000b5f50)();
  puVar1 = PTR_mips_opcodes_000b5cd0;
  if ((iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)) {
    (*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);
    s_app_file_string(iVar2,0);
    *(undefined4 *)(puVar1 + -0xc2c) = 1;
    return;
  }
  *(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1;
  return;
}


lui gp,0x6
addiu gp,gp,-0x178
addu gp,gp,t9
lw v0,-0x79d4(gp)
addiu sp,sp,-0x28
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
lw v0,0x0(v0)
beq v0,zero,0x0005de58
_lw t9,-0x7d30(gp)
lw t9,-0x78bc(gp)
addiu t9,t9,-0x6110
bal 0x00059ef0
_nop
or a0,zero,zero
lw gp,0x10(sp)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,-0x7d34(gp)
b 0x00047f78
_addiu sp,sp,0x28
jalr t9
_nop
lw gp,0x10(sp)
or s1,v0,zero
beq v0,zero,0x0005de7c
_lw s0,-0x7fb0(gp)
lw v0,-0xc2c(s0)
beq v0,zero,0x0005de98
_lw t9,-0x78a0(gp)
lw ra,0x24(sp)
li v0,0x1
lw s1,0x20(sp)
sw v0,-0xc2c(s0)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
li a1,-0x1
jalr t9
_or a0,s1,zero
or a1,zero,zero
lw gp,0x10(sp)
lw t9,-0x789c(gp)
bal 0x00040aa8
_or a0,s1,zero
li v0,0x1
lw ra,0x24(sp)
lw s1,0x20(sp)
sw v0,-0xc2c(s0)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void FUN_0005ddf8(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {\n    FUN_00059ef0();\n    s_app_file(0);\n    return;\n  }\n  iVar2 = (*(code *)PTR_dwarf2_directive_filename_000b5f50)();\n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  if ((iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)) {\n    (*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);\n    s_app_file_string(iVar2,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }\n  *(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1;\n  return;\n}\n\n" (function_definition "void FUN_0005ddf8(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {\n    FUN_00059ef0();\n    s_app_file(0);\n    return;\n  }\n  iVar2 = (*(code *)PTR_dwarf2_directive_filename_000b5f50)();\n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  if ((iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)) {\n    (*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);\n    s_app_file_string(iVar2,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }\n  *(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_0005ddf8(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {\n    FUN_00059ef0();\n    s_app_file(0);\n    return;\n  }\n  iVar2 = (*(code *)PTR_dwarf2_directive_filename_000b5f50)();\n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  if ((iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)) {\n    (*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);\n    s_app_file_string(iVar2,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }\n  *(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {\n    FUN_00059ef0();\n    s_app_file(0);\n    return;\n  }" if (parenthesized_expression "(*(int *)PTR_mips_flag_mdebug_000b62ac != 0)" ( (binary_expression "*(int *)PTR_mips_flag_mdebug_000b62ac != 0" (pointer_expression "*(int *)PTR_mips_flag_mdebug_000b62ac" * (cast_expression "(int *)PTR_mips_flag_mdebug_000b62ac" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n    FUN_00059ef0();\n    s_app_file(0);\n    return;\n  }" { (expression_statement "FUN_00059ef0();" (call_expression "FUN_00059ef0()" identifier (argument_list "()" ( ))) ;) (expression_statement "s_app_file(0);" (call_expression "s_app_file(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar2 = (*(code *)PTR_dwarf2_directive_filename_000b5f50)();" (assignment_expression "iVar2 = (*(code *)PTR_dwarf2_directive_filename_000b5f50)()" identifier = (call_expression "(*(code *)PTR_dwarf2_directive_filename_000b5f50)()" (parenthesized_expression "(*(code *)PTR_dwarf2_directive_filename_000b5f50)" ( (pointer_expression "*(code *)PTR_dwarf2_directive_filename_000b5f50" * (cast_expression "(code *)PTR_dwarf2_directive_filename_000b5f50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar1 = PTR_mips_opcodes_000b5cd0;" (assignment_expression "puVar1 = PTR_mips_opcodes_000b5cd0" identifier = identifier) ;) (if_statement "if ((iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)) {\n    (*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);\n    s_app_file_string(iVar2,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }" if (parenthesized_expression "((iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0))" ( (binary_expression "(iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)" ( (binary_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c)" * (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xc2c)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xc2c" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n    (*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);\n    s_app_file_string(iVar2,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }" { (expression_statement "(*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);" (call_expression "(*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff)" (parenthesized_expression "(*(code *)PTR_new_logical_line_000b63e0)" ( (pointer_expression "*(code *)PTR_new_logical_line_000b63e0" * (cast_expression "(code *)PTR_new_logical_line_000b63e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,0xffffffff)" ( identifier , number_literal ))) ;) (expression_statement "s_app_file_string(iVar2,0);" (call_expression "s_app_file_string(iVar2,0)" identifier (argument_list "(iVar2,0)" ( identifier , number_literal ))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xc2c) = 1;" (assignment_expression "*(undefined4 *)(puVar1 + -0xc2c) = 1" (pointer_expression "*(undefined4 *)(puVar1 + -0xc2c)" * (cast_expression "(undefined4 *)(puVar1 + -0xc2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xc2c)" ( (binary_expression "puVar1 + -0xc2c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1;" (assignment_expression "*(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1" (pointer_expression "*(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c)" * (cast_expression "(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xc2c)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xc2c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void s_mips_file(int x)\n\n{\n  undefined *puVar1;\n  char *file;\n  \n  if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {\n    get_number();\n    s_app_file(0);\n    return;\n  }\n  file = (char *)(*(code *)PTR_dwarf2_directive_filename_000b5f50)();\n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  if ((file != (char *)0x0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)) {\n    (*(code *)PTR_new_logical_line_000b63e0)(file,0xffffffff);\n    s_app_file_string(file,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }\n  *(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1;\n  return;\n}\n\n" (function_definition "void s_mips_file(int x)\n\n{\n  undefined *puVar1;\n  char *file;\n  \n  if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {\n    get_number();\n    s_app_file(0);\n    return;\n  }\n  file = (char *)(*(code *)PTR_dwarf2_directive_filename_000b5f50)();\n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  if ((file != (char *)0x0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)) {\n    (*(code *)PTR_new_logical_line_000b63e0)(file,0xffffffff);\n    s_app_file_string(file,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }\n  *(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1;\n  return;\n}" primitive_type (function_declarator "s_mips_file(int x)" identifier (parameter_list "(int x)" ( (parameter_declaration "int x" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  char *file;\n  \n  if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {\n    get_number();\n    s_app_file(0);\n    return;\n  }\n  file = (char *)(*(code *)PTR_dwarf2_directive_filename_000b5f50)();\n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  if ((file != (char *)0x0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)) {\n    (*(code *)PTR_new_logical_line_000b63e0)(file,0xffffffff);\n    s_app_file_string(file,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }\n  *(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *file;" primitive_type (pointer_declarator "*file" * identifier) ;) (if_statement "if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {\n    get_number();\n    s_app_file(0);\n    return;\n  }" if (parenthesized_expression "(*(int *)PTR_mips_flag_mdebug_000b62ac != 0)" ( (binary_expression "*(int *)PTR_mips_flag_mdebug_000b62ac != 0" (pointer_expression "*(int *)PTR_mips_flag_mdebug_000b62ac" * (cast_expression "(int *)PTR_mips_flag_mdebug_000b62ac" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n    get_number();\n    s_app_file(0);\n    return;\n  }" { (expression_statement "get_number();" (call_expression "get_number()" identifier (argument_list "()" ( ))) ;) (expression_statement "s_app_file(0);" (call_expression "s_app_file(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "file = (char *)(*(code *)PTR_dwarf2_directive_filename_000b5f50)();" (assignment_expression "file = (char *)(*(code *)PTR_dwarf2_directive_filename_000b5f50)()" identifier = (cast_expression "(char *)(*(code *)PTR_dwarf2_directive_filename_000b5f50)()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dwarf2_directive_filename_000b5f50)()" (parenthesized_expression "(*(code *)PTR_dwarf2_directive_filename_000b5f50)" ( (pointer_expression "*(code *)PTR_dwarf2_directive_filename_000b5f50" * (cast_expression "(code *)PTR_dwarf2_directive_filename_000b5f50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "puVar1 = PTR_mips_opcodes_000b5cd0;" (assignment_expression "puVar1 = PTR_mips_opcodes_000b5cd0" identifier = identifier) ;) (if_statement "if ((file != (char *)0x0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)) {\n    (*(code *)PTR_new_logical_line_000b63e0)(file,0xffffffff);\n    s_app_file_string(file,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }" if (parenthesized_expression "((file != (char *)0x0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0))" ( (binary_expression "(file != (char *)0x0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)" (parenthesized_expression "(file != (char *)0x0)" ( (binary_expression "file != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)" ( (binary_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c)" * (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xc2c)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xc2c" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n    (*(code *)PTR_new_logical_line_000b63e0)(file,0xffffffff);\n    s_app_file_string(file,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }" { (expression_statement "(*(code *)PTR_new_logical_line_000b63e0)(file,0xffffffff);" (call_expression "(*(code *)PTR_new_logical_line_000b63e0)(file,0xffffffff)" (parenthesized_expression "(*(code *)PTR_new_logical_line_000b63e0)" ( (pointer_expression "*(code *)PTR_new_logical_line_000b63e0" * (cast_expression "(code *)PTR_new_logical_line_000b63e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(file,0xffffffff)" ( identifier , number_literal ))) ;) (expression_statement "s_app_file_string(file,0);" (call_expression "s_app_file_string(file,0)" identifier (argument_list "(file,0)" ( identifier , number_literal ))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xc2c) = 1;" (assignment_expression "*(undefined4 *)(puVar1 + -0xc2c) = 1" (pointer_expression "*(undefined4 *)(puVar1 + -0xc2c)" * (cast_expression "(undefined4 *)(puVar1 + -0xc2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xc2c)" ( (binary_expression "puVar1 + -0xc2c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1;" (assignment_expression "*(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1" (pointer_expression "*(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c)" * (cast_expression "(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xc2c)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xc2c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0005ddf8(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {\n    FUN_00059ef0();\n    s_app_file(0);\n    return;\n  }\n  iVar2 = (*(code *)PTR_dwarf2_directive_filename_000b5f50)();\n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  if ((iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)) {\n    (*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);\n    s_app_file_string(iVar2,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }\n  *(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1;\n  return;\n}\n\n" (function_definition "void FUN_0005ddf8(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {\n    FUN_00059ef0();\n    s_app_file(0);\n    return;\n  }\n  iVar2 = (*(code *)PTR_dwarf2_directive_filename_000b5f50)();\n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  if ((iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)) {\n    (*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);\n    s_app_file_string(iVar2,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }\n  *(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_0005ddf8(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {\n    FUN_00059ef0();\n    s_app_file(0);\n    return;\n  }\n  iVar2 = (*(code *)PTR_dwarf2_directive_filename_000b5f50)();\n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  if ((iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)) {\n    (*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);\n    s_app_file_string(iVar2,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }\n  *(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {\n    FUN_00059ef0();\n    s_app_file(0);\n    return;\n  }" if (parenthesized_expression "(*(int *)PTR_mips_flag_mdebug_000b62ac != 0)" ( (binary_expression "*(int *)PTR_mips_flag_mdebug_000b62ac != 0" (pointer_expression "*(int *)PTR_mips_flag_mdebug_000b62ac" * (cast_expression "(int *)PTR_mips_flag_mdebug_000b62ac" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n    FUN_00059ef0();\n    s_app_file(0);\n    return;\n  }" { (expression_statement "FUN_00059ef0();" (call_expression "FUN_00059ef0()" identifier (argument_list "()" ( ))) ;) (expression_statement "s_app_file(0);" (call_expression "s_app_file(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar2 = (*(code *)PTR_dwarf2_directive_filename_000b5f50)();" (assignment_expression "iVar2 = (*(code *)PTR_dwarf2_directive_filename_000b5f50)()" identifier = (call_expression "(*(code *)PTR_dwarf2_directive_filename_000b5f50)()" (parenthesized_expression "(*(code *)PTR_dwarf2_directive_filename_000b5f50)" ( (pointer_expression "*(code *)PTR_dwarf2_directive_filename_000b5f50" * (cast_expression "(code *)PTR_dwarf2_directive_filename_000b5f50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar1 = PTR_mips_opcodes_000b5cd0;" (assignment_expression "puVar1 = PTR_mips_opcodes_000b5cd0" identifier = identifier) ;) (if_statement "if ((iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)) {\n    (*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);\n    s_app_file_string(iVar2,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }" if (parenthesized_expression "((iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0))" ( (binary_expression "(iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)" ( (binary_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c)" * (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xc2c)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xc2c" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n    (*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);\n    s_app_file_string(iVar2,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }" { (expression_statement "(*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);" (call_expression "(*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff)" (parenthesized_expression "(*(code *)PTR_new_logical_line_000b63e0)" ( (pointer_expression "*(code *)PTR_new_logical_line_000b63e0" * (cast_expression "(code *)PTR_new_logical_line_000b63e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,0xffffffff)" ( identifier , number_literal ))) ;) (expression_statement "s_app_file_string(iVar2,0);" (call_expression "s_app_file_string(iVar2,0)" identifier (argument_list "(iVar2,0)" ( identifier , number_literal ))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xc2c) = 1;" (assignment_expression "*(undefined4 *)(puVar1 + -0xc2c) = 1" (pointer_expression "*(undefined4 *)(puVar1 + -0xc2c)" * (cast_expression "(undefined4 *)(puVar1 + -0xc2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xc2c)" ( (binary_expression "puVar1 + -0xc2c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1;" (assignment_expression "*(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1" (pointer_expression "*(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c)" * (cast_expression "(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xc2c)" ( (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xc2c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 ( IDENT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0005ddf8(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {\n    FUN_00059ef0();\n    s_app_file(0);\n    return;\n  }\n  iVar2 = (*(code *)PTR_dwarf2_directive_filename_000b5f50)();\n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  if ((iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)) {\n    (*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);\n    s_app_file_string(iVar2,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }\n  *(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0005ddf8(void)" (identifier "FUN_0005ddf8") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {\n    FUN_00059ef0();\n    s_app_file(0);\n    return;\n  }\n  iVar2 = (*(code *)PTR_dwarf2_directive_filename_000b5f50)();\n  puVar1 = PTR_mips_opcodes_000b5cd0;\n  if ((iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)) {\n    (*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);\n    s_app_file_string(iVar2,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }\n  *(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1;\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {\n    FUN_00059ef0();\n    s_app_file(0);\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)PTR_mips_flag_mdebug_000b62ac != 0)" (( "(") (binary_expression "*(int *)PTR_mips_flag_mdebug_000b62ac != 0" (pointer_expression "*(int *)PTR_mips_flag_mdebug_000b62ac" (* "*") (cast_expression "(int *)PTR_mips_flag_mdebug_000b62ac" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_mips_flag_mdebug_000b62ac"))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00059ef0();\n    s_app_file(0);\n    return;\n  }" ({ "{") (expression_statement "FUN_00059ef0();" (call_expression "FUN_00059ef0()" (identifier "FUN_00059ef0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "s_app_file(0);" (call_expression "s_app_file(0)" (identifier "s_app_file") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar2 = (*(code *)PTR_dwarf2_directive_filename_000b5f50)();" (assignment_expression "iVar2 = (*(code *)PTR_dwarf2_directive_filename_000b5f50)()" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_dwarf2_directive_filename_000b5f50)()" (parenthesized_expression "(*(code *)PTR_dwarf2_directive_filename_000b5f50)" (( "(") (pointer_expression "*(code *)PTR_dwarf2_directive_filename_000b5f50" (* "*") (cast_expression "(code *)PTR_dwarf2_directive_filename_000b5f50" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dwarf2_directive_filename_000b5f50"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar1 = PTR_mips_opcodes_000b5cd0;" (assignment_expression "puVar1 = PTR_mips_opcodes_000b5cd0" (identifier "puVar1") (= "=") (identifier "PTR_mips_opcodes_000b5cd0")) (; ";")) (if_statement "if ((iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)) {\n    (*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);\n    s_app_file_string(iVar2,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }" (if "if") (parenthesized_expression "((iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0))" (( "(") (binary_expression "(iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)" (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)" (( "(") (binary_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0" (pointer_expression "*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c)" (* "*") (cast_expression "(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xc2c)" (( "(") (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xc2c" (identifier "PTR_mips_opcodes_000b5cd0") (+ "+") (number_literal "-0xc2c")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    (*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);\n    s_app_file_string(iVar2,0);\n    *(undefined4 *)(puVar1 + -0xc2c) = 1;\n    return;\n  }" ({ "{") (expression_statement "(*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);" (call_expression "(*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff)" (parenthesized_expression "(*(code *)PTR_new_logical_line_000b63e0)" (( "(") (pointer_expression "*(code *)PTR_new_logical_line_000b63e0" (* "*") (cast_expression "(code *)PTR_new_logical_line_000b63e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_new_logical_line_000b63e0"))) () ")")) (argument_list "(iVar2,0xffffffff)" (( "(") (identifier "iVar2") (, ",") (number_literal "0xffffffff") () ")"))) (; ";")) (expression_statement "s_app_file_string(iVar2,0);" (call_expression "s_app_file_string(iVar2,0)" (identifier "s_app_file_string") (argument_list "(iVar2,0)" (( "(") (identifier "iVar2") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + -0xc2c) = 1;" (assignment_expression "*(undefined4 *)(puVar1 + -0xc2c) = 1" (pointer_expression "*(undefined4 *)(puVar1 + -0xc2c)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0xc2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0xc2c)" (( "(") (binary_expression "puVar1 + -0xc2c" (identifier "puVar1") (+ "+") (number_literal "-0xc2c")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1;" (assignment_expression "*(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1" (pointer_expression "*(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c)" (* "*") (cast_expression "(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_mips_opcodes_000b5cd0 + -0xc2c)" (( "(") (binary_expression "PTR_mips_opcodes_000b5cd0 + -0xc2c" (identifier "PTR_mips_opcodes_000b5cd0") (+ "+") (number_literal "-0xc2c")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(int x)

{
  type_1 *var_6;
  char *var_3;
  
  if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {
    var_1();
    var_2(0);
    return;
  }
  var_3 = (char *)(*(type_2 *)PTR_dwarf2_directive_filename_000b5f50)();
  var_6 = var_4;
  if ((var_3 != (char *)0x0) && (*(int *)(var_4 + -0xc2c) == 0)) {
    (*(type_2 *)PTR_new_logical_line_000b63e0)(var_3,0xffffffff);
    var_5(var_3,0);
    *(type_3 *)(var_6 + -0xc2c) = 1;
    return;
  }
  *(type_3 *)(var_4 + -0xc2c) = 1;
  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))) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (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)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (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: (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 (identifier) (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (expression_statement (assignment_expression left: (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))))) right: (number_literal))) (return_statement))) (expression_statement (assignment_expression left: (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))))) right: (number_literal))) (return_statement))))

void MASKED(void)

{
  undefined *puVar1;
  int iVar2;
  
  if (*(int *)PTR_mips_flag_mdebug_000b62ac != 0) {
    FUN_00059ef0();
    s_app_file(0);
    return;
  }
  iVar2 = (*(code *)PTR_dwarf2_directive_filename_000b5f50)();
  puVar1 = PTR_mips_opcodes_000b5cd0;
  if ((iVar2 != 0) && (*(int *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) == 0)) {
    (*(code *)PTR_new_logical_line_000b63e0)(iVar2,0xffffffff);
    s_app_file_string(iVar2,0);
    *(undefined4 *)(puVar1 + -0xc2c) = 1;
    return;
  }
  *(undefined4 *)(PTR_mips_opcodes_000b5cd0 + -0xc2c) = 1;
  return;
}

