
void * nmalloc(size_t howmuch)

{
  void *pvVar1;
  char *msg;
  
  pvVar1 = (void *)(*(code *)PTR_malloc_00078034)();
  if ((pvVar1 == (void *)0x0) && (howmuch != 0)) {
    msg = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);
                    /* WARNING: Subroutine does not return */
    die(msg);
  }
  return pvVar1;
}



int nmalloc(int param_1)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = (*(code *)PTR_malloc_00078034)();
  if ((iVar1 == 0) && (param_1 != 0)) {
    uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);
                    /* WARNING: Subroutine does not return */
    die(uVar2);
  }
  return iVar1;
}


lui gp,0x4
addiu gp,gp,-0x3084
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x74ec(gp)
sw gp,0x10(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw ra,0x24(sp)
jalr t9
_or s1,a0,zero
lw gp,0x10(sp)
beq v0,zero,0x000425f4
_or s0,v0,zero
lw ra,0x24(sp)
or v0,s0,zero
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
beq s1,zero,0x000425dc
_lw a1,-0x7fc4(gp)
li a2,0x5
lw t9,-0x7454(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,0x50e0
lw gp,0x10(sp)
lw t9,-0x7f28(gp)
bal 0x0002f020
_or a0,v0,zero
(translation_unit "int nmalloc(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_malloc_00078034)();\n  if ((iVar1 == 0) && (param_1 != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    /* WARNING: Subroutine does not return */\n    die(uVar2);\n  }\n  return iVar1;\n}\n\n" (function_definition "int nmalloc(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_malloc_00078034)();\n  if ((iVar1 == 0) && (param_1 != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    /* WARNING: Subroutine does not return */\n    die(uVar2);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "nmalloc(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_malloc_00078034)();\n  if ((iVar1 == 0) && (param_1 != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    /* WARNING: Subroutine does not return */\n    die(uVar2);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = (*(code *)PTR_malloc_00078034)();" (assignment_expression "iVar1 = (*(code *)PTR_malloc_00078034)()" identifier = (call_expression "(*(code *)PTR_malloc_00078034)()" (parenthesized_expression "(*(code *)PTR_malloc_00078034)" ( (pointer_expression "*(code *)PTR_malloc_00078034" * (cast_expression "(code *)PTR_malloc_00078034" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if ((iVar1 == 0) && (param_1 != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    /* WARNING: Subroutine does not return */\n    die(uVar2);\n  }" if (parenthesized_expression "((iVar1 == 0) && (param_1 != 0))" ( (binary_expression "(iVar1 == 0) && (param_1 != 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    /* WARNING: Subroutine does not return */\n    die(uVar2);\n  }" { (expression_statement "uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" ( (pointer_expression "*(code *)PTR_dcgettext_000780cc" * (cast_expression "(code *)PTR_dcgettext_000780cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5)" ( number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + 0x50e0" identifier + number_literal) , number_literal )))) ;) comment (expression_statement "die(uVar2);" (call_expression "die(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void * nmalloc(size_t howmuch)\n\n{\n  void *pvVar1;\n  char *msg;\n  \n  pvVar1 = (void *)(*(code *)PTR_malloc_00078034)();\n  if ((pvVar1 == (void *)0x0) && (howmuch != 0)) {\n    msg = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    /* WARNING: Subroutine does not return */\n    die(msg);\n  }\n  return pvVar1;\n}\n\n" (function_definition "void * nmalloc(size_t howmuch)\n\n{\n  void *pvVar1;\n  char *msg;\n  \n  pvVar1 = (void *)(*(code *)PTR_malloc_00078034)();\n  if ((pvVar1 == (void *)0x0) && (howmuch != 0)) {\n    msg = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    /* WARNING: Subroutine does not return */\n    die(msg);\n  }\n  return pvVar1;\n}" primitive_type (pointer_declarator "* nmalloc(size_t howmuch)" * (function_declarator "nmalloc(size_t howmuch)" identifier (parameter_list "(size_t howmuch)" ( (parameter_declaration "size_t howmuch" primitive_type identifier) )))) (compound_statement "{\n  void *pvVar1;\n  char *msg;\n  \n  pvVar1 = (void *)(*(code *)PTR_malloc_00078034)();\n  if ((pvVar1 == (void *)0x0) && (howmuch != 0)) {\n    msg = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    /* WARNING: Subroutine does not return */\n    die(msg);\n  }\n  return pvVar1;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "char *msg;" primitive_type (pointer_declarator "*msg" * identifier) ;) (expression_statement "pvVar1 = (void *)(*(code *)PTR_malloc_00078034)();" (assignment_expression "pvVar1 = (void *)(*(code *)PTR_malloc_00078034)()" identifier = (cast_expression "(void *)(*(code *)PTR_malloc_00078034)()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_00078034)()" (parenthesized_expression "(*(code *)PTR_malloc_00078034)" ( (pointer_expression "*(code *)PTR_malloc_00078034" * (cast_expression "(code *)PTR_malloc_00078034" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if ((pvVar1 == (void *)0x0) && (howmuch != 0)) {\n    msg = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    /* WARNING: Subroutine does not return */\n    die(msg);\n  }" if (parenthesized_expression "((pvVar1 == (void *)0x0) && (howmuch != 0))" ( (binary_expression "(pvVar1 == (void *)0x0) && (howmuch != 0)" (parenthesized_expression "(pvVar1 == (void *)0x0)" ( (binary_expression "pvVar1 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(howmuch != 0)" ( (binary_expression "howmuch != 0" identifier != number_literal) ))) )) (compound_statement "{\n    msg = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    /* WARNING: Subroutine does not return */\n    die(msg);\n  }" { (expression_statement "msg = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);" (assignment_expression "msg = (char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" ( (pointer_expression "*(code *)PTR_dcgettext_000780cc" * (cast_expression "(code *)PTR_dcgettext_000780cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5)" ( number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + 0x50e0" identifier + number_literal) , number_literal ))))) ;) comment (expression_statement "die(msg);" (call_expression "die(msg)" identifier (argument_list "(msg)" ( identifier ))) ;) })) (return_statement "return pvVar1;" return identifier ;) })))
(translation_unit "int nmalloc(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_malloc_00078034)();\n  if ((iVar1 == 0) && (param_1 != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    \n    die(uVar2);\n  }\n  return iVar1;\n}\n\n" (function_definition "int nmalloc(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_malloc_00078034)();\n  if ((iVar1 == 0) && (param_1 != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    \n    die(uVar2);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "nmalloc(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_malloc_00078034)();\n  if ((iVar1 == 0) && (param_1 != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    \n    die(uVar2);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = (*(code *)PTR_malloc_00078034)();" (assignment_expression "iVar1 = (*(code *)PTR_malloc_00078034)()" identifier = (call_expression "(*(code *)PTR_malloc_00078034)()" (parenthesized_expression "(*(code *)PTR_malloc_00078034)" ( (pointer_expression "*(code *)PTR_malloc_00078034" * (cast_expression "(code *)PTR_malloc_00078034" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if ((iVar1 == 0) && (param_1 != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    \n    die(uVar2);\n  }" if (parenthesized_expression "((iVar1 == 0) && (param_1 != 0))" ( (binary_expression "(iVar1 == 0) && (param_1 != 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    \n    die(uVar2);\n  }" { (expression_statement "uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" ( (pointer_expression "*(code *)PTR_dcgettext_000780cc" * (cast_expression "(code *)PTR_dcgettext_000780cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5)" ( number_literal , (binary_expression "PTR_s_d_of_current_line_0007755c + 0x50e0" identifier + number_literal) , number_literal )))) ;) (expression_statement "die(uVar2);" (call_expression "die(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int nmalloc(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_malloc_00078034)();\n  if ((iVar1 == 0) && (param_1 != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    \n    die(uVar2);\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "nmalloc(int param_1)" (identifier "nmalloc") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = (*(code *)PTR_malloc_00078034)();\n  if ((iVar1 == 0) && (param_1 != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    \n    die(uVar2);\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_malloc_00078034)();" (assignment_expression "iVar1 = (*(code *)PTR_malloc_00078034)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_malloc_00078034)()" (parenthesized_expression "(*(code *)PTR_malloc_00078034)" (( "(") (pointer_expression "*(code *)PTR_malloc_00078034" (* "*") (cast_expression "(code *)PTR_malloc_00078034" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_malloc_00078034"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((iVar1 == 0) && (param_1 != 0)) {\n    uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    \n    die(uVar2);\n  }" (if "if") (parenthesized_expression "((iVar1 == 0) && (param_1 != 0))" (( "(") (binary_expression "(iVar1 == 0) && (param_1 != 0)" (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);\n                    \n    die(uVar2);\n  }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000780cc)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000780cc" (* "*") (cast_expression "(code *)PTR_dcgettext_000780cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000780cc"))) () ")")) (argument_list "(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_s_d_of_current_line_0007755c + 0x50e0" (identifier "PTR_s_d_of_current_line_0007755c") (+ "+") (number_literal "0x50e0")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "die(uVar2);" (call_expression "die(uVar2)" (identifier "die") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

void * function_1(size_t var_2)

{
  void *var_1;
  char *msg;
  
  var_1 = (void *)(*(type_1 *)PTR_malloc_00078034)();
  if ((var_1 == (void *)0x0) && (var_2 != 0)) {
    msg = (char *)(*(type_1 *)PTR_dcgettext_000780cc)(0,var_3 + 0x50e0,5);
                    /* WARNING: Subroutine does not return */
    var_4(msg);
  }
  return var_1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_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 (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (return_statement (identifier)))))

int MASKED(int param_1)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = (*(code *)PTR_malloc_00078034)();
  if ((iVar1 == 0) && (param_1 != 0)) {
    uVar2 = (*(code *)PTR_dcgettext_000780cc)(0,PTR_s_d_of_current_line_0007755c + 0x50e0,5);
                    /* WARNING: Subroutine does not return */
    die(uVar2);
  }
  return iVar1;
}

