
void * xmalloc(size_t n)

{
  void *pvVar1;
  
  pvVar1 = (void *)(*(code *)PTR_malloc_00049560)();
  if ((pvVar1 == (void *)0x0) && (n != 0)) {
                    /* WARNING: Subroutine does not return */
    xalloc_die();
  }
  return pvVar1;
}



void xmalloc(int param_1)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_malloc_00049560)();
  if ((iVar1 == 0) && (param_1 != 0)) {
                    /* WARNING: Subroutine does not return */
    xalloc_die();
  }
  return;
}


lui gp,0x3
addiu gp,gp,-0x76d0
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7c80(gp)
sw gp,0x10(sp)
sw s0,0x18(sp)
sw ra,0x1c(sp)
jalr t9
_or s0,a0,zero
beq v0,zero,0x000288f0
_lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
beq s0,zero,0x000288e4
_lw ra,0x1c(sp)
lw t9,-0x7fac(gp)
bal 0x00028cd0
_nop
(translation_unit "void xmalloc(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_malloc_00049560)();\n  if ((iVar1 == 0) && (param_1 != 0)) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  return;\n}\n\n" (function_definition "void xmalloc(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_malloc_00049560)();\n  if ((iVar1 == 0) && (param_1 != 0)) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  return;\n}" primitive_type (function_declarator "xmalloc(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_malloc_00049560)();\n  if ((iVar1 == 0) && (param_1 != 0)) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_malloc_00049560)();" (assignment_expression "iVar1 = (*(code *)PTR_malloc_00049560)()" identifier = (call_expression "(*(code *)PTR_malloc_00049560)()" (parenthesized_expression "(*(code *)PTR_malloc_00049560)" ( (pointer_expression "*(code *)PTR_malloc_00049560" * (cast_expression "(code *)PTR_malloc_00049560" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if ((iVar1 == 0) && (param_1 != 0)) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\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                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }" { comment (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void * xmalloc(size_t n)\n\n{\n  void *pvVar1;\n  \n  pvVar1 = (void *)(*(code *)PTR_malloc_00049560)();\n  if ((pvVar1 == (void *)0x0) && (n != 0)) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  return pvVar1;\n}\n\n" (function_definition "void * xmalloc(size_t n)\n\n{\n  void *pvVar1;\n  \n  pvVar1 = (void *)(*(code *)PTR_malloc_00049560)();\n  if ((pvVar1 == (void *)0x0) && (n != 0)) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  return pvVar1;\n}" primitive_type (pointer_declarator "* xmalloc(size_t n)" * (function_declarator "xmalloc(size_t n)" identifier (parameter_list "(size_t n)" ( (parameter_declaration "size_t n" primitive_type identifier) )))) (compound_statement "{\n  void *pvVar1;\n  \n  pvVar1 = (void *)(*(code *)PTR_malloc_00049560)();\n  if ((pvVar1 == (void *)0x0) && (n != 0)) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  return pvVar1;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (expression_statement "pvVar1 = (void *)(*(code *)PTR_malloc_00049560)();" (assignment_expression "pvVar1 = (void *)(*(code *)PTR_malloc_00049560)()" identifier = (cast_expression "(void *)(*(code *)PTR_malloc_00049560)()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_00049560)()" (parenthesized_expression "(*(code *)PTR_malloc_00049560)" ( (pointer_expression "*(code *)PTR_malloc_00049560" * (cast_expression "(code *)PTR_malloc_00049560" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if ((pvVar1 == (void *)0x0) && (n != 0)) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }" if (parenthesized_expression "((pvVar1 == (void *)0x0) && (n != 0))" ( (binary_expression "(pvVar1 == (void *)0x0) && (n != 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 "(n != 0)" ( (binary_expression "n != 0" identifier != number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }" { comment (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return pvVar1;" return identifier ;) })))
(translation_unit "void xmalloc(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_malloc_00049560)();\n  if ((iVar1 == 0) && (param_1 != 0)) {\n                    \n    xalloc_die();\n  }\n  return;\n}\n\n" (function_definition "void xmalloc(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_malloc_00049560)();\n  if ((iVar1 == 0) && (param_1 != 0)) {\n                    \n    xalloc_die();\n  }\n  return;\n}" primitive_type (function_declarator "xmalloc(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_malloc_00049560)();\n  if ((iVar1 == 0) && (param_1 != 0)) {\n                    \n    xalloc_die();\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_malloc_00049560)();" (assignment_expression "iVar1 = (*(code *)PTR_malloc_00049560)()" identifier = (call_expression "(*(code *)PTR_malloc_00049560)()" (parenthesized_expression "(*(code *)PTR_malloc_00049560)" ( (pointer_expression "*(code *)PTR_malloc_00049560" * (cast_expression "(code *)PTR_malloc_00049560" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if ((iVar1 == 0) && (param_1 != 0)) {\n                    \n    xalloc_die();\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                    \n    xalloc_die();\n  }" { (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return ;) })))
(function_definition "void xmalloc(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_malloc_00049560)();\n  if ((iVar1 == 0) && (param_1 != 0)) {\n                    \n    xalloc_die();\n  }\n  return;\n}" (primitive_type "void") (function_declarator "xmalloc(int param_1)" (identifier "xmalloc") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_malloc_00049560)();\n  if ((iVar1 == 0) && (param_1 != 0)) {\n                    \n    xalloc_die();\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_malloc_00049560)();" (assignment_expression "iVar1 = (*(code *)PTR_malloc_00049560)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_malloc_00049560)()" (parenthesized_expression "(*(code *)PTR_malloc_00049560)" (( "(") (pointer_expression "*(code *)PTR_malloc_00049560" (* "*") (cast_expression "(code *)PTR_malloc_00049560" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_malloc_00049560"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((iVar1 == 0) && (param_1 != 0)) {\n                    \n    xalloc_die();\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                    \n    xalloc_die();\n  }" ({ "{") (expression_statement "xalloc_die();" (call_expression "xalloc_die()" (identifier "xalloc_die") (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) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) 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 (call_expression function: (identifier) arguments: (argument_list))))) (return_statement))))

void MASKED(int param_1)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_malloc_00049560)();
  if ((iVar1 == 0) && (param_1 != 0)) {
                    /* WARNING: Subroutine does not return */
    xalloc_die();
  }
  return;
}

