
void * xrealloc(void *p,size_t n)

{
  void *pvVar1;
  
  if (n != 0) {
    pvVar1 = (void *)(*(code *)PTR_realloc_0002d1f8)();
    if (pvVar1 != (void *)0x0) {
      return pvVar1;
    }
                    /* WARNING: Subroutine does not return */
    xalloc_die();
  }
  if (p == (void *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x000163e8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    pvVar1 = (void *)(*(code *)PTR_malloc_0002d1f4)();
    return pvVar1;
  }
  (*(code *)PTR_free_0002d258)();
  return (void *)0x0;
}



int xrealloc(int param_1,int param_2)

{
  int iVar1;
  
  if (param_2 != 0) {
    iVar1 = (*(code *)PTR_realloc_0002d1f8)();
    if (iVar1 != 0) {
      return iVar1;
    }
                    /* WARNING: Subroutine does not return */
    xalloc_die();
  }
  if (param_1 == 0) {
                    /* WARNING: Could not recover jumptable at 0x000163e8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar1 = (*(code *)PTR_malloc_0002d1f4)();
    return iVar1;
  }
  (*(code *)PTR_free_0002d258)();
  return 0;
}


lui gp,0x2
addiu gp,gp,-0x136c
addu gp,gp,t9
addiu sp,sp,-0x20
sw gp,0x10(sp)
sw ra,0x1c(sp)
bne a1,zero,0x000163f0
_lw t9,-0x7e58(gp)
bne a0,zero,0x0001640c
_lw ra,0x1c(sp)
lw t9,-0x7e5c(gp)
jr t9
_addiu sp,sp,0x20
jalr t9
_nop
beq v0,zero,0x00016428
_lw gp,0x10(sp)
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
lw t9,-0x7df8(gp)
jalr t9
_nop
or v0,zero,zero
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
lw t9,-0x7fbc(gp)
bal 0x00016720
_nop
(translation_unit "int xrealloc(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    iVar1 = (*(code *)PTR_realloc_0002d1f8)();\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  if (param_1 == 0) {\n                    /* WARNING: Could not recover jumptable at 0x000163e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)PTR_malloc_0002d1f4)();\n    return iVar1;\n  }\n  (*(code *)PTR_free_0002d258)();\n  return 0;\n}\n\n" (function_definition "int xrealloc(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    iVar1 = (*(code *)PTR_realloc_0002d1f8)();\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  if (param_1 == 0) {\n                    /* WARNING: Could not recover jumptable at 0x000163e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)PTR_malloc_0002d1f4)();\n    return iVar1;\n  }\n  (*(code *)PTR_free_0002d258)();\n  return 0;\n}" primitive_type (function_declarator "xrealloc(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    iVar1 = (*(code *)PTR_realloc_0002d1f8)();\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  if (param_1 == 0) {\n                    /* WARNING: Could not recover jumptable at 0x000163e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)PTR_malloc_0002d1f4)();\n    return iVar1;\n  }\n  (*(code *)PTR_free_0002d258)();\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_2 != 0) {\n    iVar1 = (*(code *)PTR_realloc_0002d1f8)();\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_realloc_0002d1f8)();\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }" { (expression_statement "iVar1 = (*(code *)PTR_realloc_0002d1f8)();" (assignment_expression "iVar1 = (*(code *)PTR_realloc_0002d1f8)()" identifier = (call_expression "(*(code *)PTR_realloc_0002d1f8)()" (parenthesized_expression "(*(code *)PTR_realloc_0002d1f8)" ( (pointer_expression "*(code *)PTR_realloc_0002d1f8" * (cast_expression "(code *)PTR_realloc_0002d1f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n      return iVar1;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return iVar1;\n    }" { (return_statement "return iVar1;" return identifier ;) })) comment (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Could not recover jumptable at 0x000163e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)PTR_malloc_0002d1f4)();\n    return iVar1;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x000163e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)PTR_malloc_0002d1f4)();\n    return iVar1;\n  }" { comment comment (expression_statement "iVar1 = (*(code *)PTR_malloc_0002d1f4)();" (assignment_expression "iVar1 = (*(code *)PTR_malloc_0002d1f4)()" identifier = (call_expression "(*(code *)PTR_malloc_0002d1f4)()" (parenthesized_expression "(*(code *)PTR_malloc_0002d1f4)" ( (pointer_expression "*(code *)PTR_malloc_0002d1f4" * (cast_expression "(code *)PTR_malloc_0002d1f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "(*(code *)PTR_free_0002d258)();" (call_expression "(*(code *)PTR_free_0002d258)()" (parenthesized_expression "(*(code *)PTR_free_0002d258)" ( (pointer_expression "*(code *)PTR_free_0002d258" * (cast_expression "(code *)PTR_free_0002d258" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "void * xrealloc(void *p,size_t n)\n\n{\n  void *pvVar1;\n  \n  if (n != 0) {\n    pvVar1 = (void *)(*(code *)PTR_realloc_0002d1f8)();\n    if (pvVar1 != (void *)0x0) {\n      return pvVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  if (p == (void *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x000163e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pvVar1 = (void *)(*(code *)PTR_malloc_0002d1f4)();\n    return pvVar1;\n  }\n  (*(code *)PTR_free_0002d258)();\n  return (void *)0x0;\n}\n\n" (function_definition "void * xrealloc(void *p,size_t n)\n\n{\n  void *pvVar1;\n  \n  if (n != 0) {\n    pvVar1 = (void *)(*(code *)PTR_realloc_0002d1f8)();\n    if (pvVar1 != (void *)0x0) {\n      return pvVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  if (p == (void *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x000163e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pvVar1 = (void *)(*(code *)PTR_malloc_0002d1f4)();\n    return pvVar1;\n  }\n  (*(code *)PTR_free_0002d258)();\n  return (void *)0x0;\n}" primitive_type (pointer_declarator "* xrealloc(void *p,size_t n)" * (function_declarator "xrealloc(void *p,size_t n)" identifier (parameter_list "(void *p,size_t n)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "size_t n" primitive_type identifier) )))) (compound_statement "{\n  void *pvVar1;\n  \n  if (n != 0) {\n    pvVar1 = (void *)(*(code *)PTR_realloc_0002d1f8)();\n    if (pvVar1 != (void *)0x0) {\n      return pvVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  if (p == (void *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x000163e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pvVar1 = (void *)(*(code *)PTR_malloc_0002d1f4)();\n    return pvVar1;\n  }\n  (*(code *)PTR_free_0002d258)();\n  return (void *)0x0;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (if_statement "if (n != 0) {\n    pvVar1 = (void *)(*(code *)PTR_realloc_0002d1f8)();\n    if (pvVar1 != (void *)0x0) {\n      return pvVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }" if (parenthesized_expression "(n != 0)" ( (binary_expression "n != 0" identifier != number_literal) )) (compound_statement "{\n    pvVar1 = (void *)(*(code *)PTR_realloc_0002d1f8)();\n    if (pvVar1 != (void *)0x0) {\n      return pvVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }" { (expression_statement "pvVar1 = (void *)(*(code *)PTR_realloc_0002d1f8)();" (assignment_expression "pvVar1 = (void *)(*(code *)PTR_realloc_0002d1f8)()" identifier = (cast_expression "(void *)(*(code *)PTR_realloc_0002d1f8)()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_realloc_0002d1f8)()" (parenthesized_expression "(*(code *)PTR_realloc_0002d1f8)" ( (pointer_expression "*(code *)PTR_realloc_0002d1f8" * (cast_expression "(code *)PTR_realloc_0002d1f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if (pvVar1 != (void *)0x0) {\n      return pvVar1;\n    }" if (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)) )) (compound_statement "{\n      return pvVar1;\n    }" { (return_statement "return pvVar1;" return identifier ;) })) comment (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (p == (void *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x000163e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pvVar1 = (void *)(*(code *)PTR_malloc_0002d1f4)();\n    return pvVar1;\n  }" if (parenthesized_expression "(p == (void *)0x0)" ( (binary_expression "p == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x000163e8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    pvVar1 = (void *)(*(code *)PTR_malloc_0002d1f4)();\n    return pvVar1;\n  }" { comment comment (expression_statement "pvVar1 = (void *)(*(code *)PTR_malloc_0002d1f4)();" (assignment_expression "pvVar1 = (void *)(*(code *)PTR_malloc_0002d1f4)()" identifier = (cast_expression "(void *)(*(code *)PTR_malloc_0002d1f4)()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_0002d1f4)()" (parenthesized_expression "(*(code *)PTR_malloc_0002d1f4)" ( (pointer_expression "*(code *)PTR_malloc_0002d1f4" * (cast_expression "(code *)PTR_malloc_0002d1f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (return_statement "return pvVar1;" return identifier ;) })) (expression_statement "(*(code *)PTR_free_0002d258)();" (call_expression "(*(code *)PTR_free_0002d258)()" (parenthesized_expression "(*(code *)PTR_free_0002d258)" ( (pointer_expression "*(code *)PTR_free_0002d258" * (cast_expression "(code *)PTR_free_0002d258" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return (void *)0x0;" return (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "int xrealloc(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    iVar1 = (*(code *)PTR_realloc_0002d1f8)();\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n                    \n    xalloc_die();\n  }\n  if (param_1 == 0) {\n                    \n                    \n    iVar1 = (*(code *)PTR_malloc_0002d1f4)();\n    return iVar1;\n  }\n  (*(code *)PTR_free_0002d258)();\n  return 0;\n}\n\n" (function_definition "int xrealloc(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    iVar1 = (*(code *)PTR_realloc_0002d1f8)();\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n                    \n    xalloc_die();\n  }\n  if (param_1 == 0) {\n                    \n                    \n    iVar1 = (*(code *)PTR_malloc_0002d1f4)();\n    return iVar1;\n  }\n  (*(code *)PTR_free_0002d258)();\n  return 0;\n}" primitive_type (function_declarator "xrealloc(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    iVar1 = (*(code *)PTR_realloc_0002d1f8)();\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n                    \n    xalloc_die();\n  }\n  if (param_1 == 0) {\n                    \n                    \n    iVar1 = (*(code *)PTR_malloc_0002d1f4)();\n    return iVar1;\n  }\n  (*(code *)PTR_free_0002d258)();\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_2 != 0) {\n    iVar1 = (*(code *)PTR_realloc_0002d1f8)();\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n                    \n    xalloc_die();\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_realloc_0002d1f8)();\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n                    \n    xalloc_die();\n  }" { (expression_statement "iVar1 = (*(code *)PTR_realloc_0002d1f8)();" (assignment_expression "iVar1 = (*(code *)PTR_realloc_0002d1f8)()" identifier = (call_expression "(*(code *)PTR_realloc_0002d1f8)()" (parenthesized_expression "(*(code *)PTR_realloc_0002d1f8)" ( (pointer_expression "*(code *)PTR_realloc_0002d1f8" * (cast_expression "(code *)PTR_realloc_0002d1f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n      return iVar1;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return iVar1;\n    }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_1 == 0) {\n                    \n                    \n    iVar1 = (*(code *)PTR_malloc_0002d1f4)();\n    return iVar1;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n                    \n    iVar1 = (*(code *)PTR_malloc_0002d1f4)();\n    return iVar1;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_malloc_0002d1f4)();" (assignment_expression "iVar1 = (*(code *)PTR_malloc_0002d1f4)()" identifier = (call_expression "(*(code *)PTR_malloc_0002d1f4)()" (parenthesized_expression "(*(code *)PTR_malloc_0002d1f4)" ( (pointer_expression "*(code *)PTR_malloc_0002d1f4" * (cast_expression "(code *)PTR_malloc_0002d1f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "(*(code *)PTR_free_0002d258)();" (call_expression "(*(code *)PTR_free_0002d258)()" (parenthesized_expression "(*(code *)PTR_free_0002d258)" ( (pointer_expression "*(code *)PTR_free_0002d258" * (cast_expression "(code *)PTR_free_0002d258" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (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 ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (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 ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (return_statement return LIT ;) })))
(function_definition "int xrealloc(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    iVar1 = (*(code *)PTR_realloc_0002d1f8)();\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n                    \n    xalloc_die();\n  }\n  if (param_1 == 0) {\n                    \n                    \n    iVar1 = (*(code *)PTR_malloc_0002d1f4)();\n    return iVar1;\n  }\n  (*(code *)PTR_free_0002d258)();\n  return 0;\n}" (primitive_type "int") (function_declarator "xrealloc(int param_1,int param_2)" (identifier "xrealloc") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    iVar1 = (*(code *)PTR_realloc_0002d1f8)();\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n                    \n    xalloc_die();\n  }\n  if (param_1 == 0) {\n                    \n                    \n    iVar1 = (*(code *)PTR_malloc_0002d1f4)();\n    return iVar1;\n  }\n  (*(code *)PTR_free_0002d258)();\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_2 != 0) {\n    iVar1 = (*(code *)PTR_realloc_0002d1f8)();\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n                    \n    xalloc_die();\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = (*(code *)PTR_realloc_0002d1f8)();\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n                    \n    xalloc_die();\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_realloc_0002d1f8)();" (assignment_expression "iVar1 = (*(code *)PTR_realloc_0002d1f8)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_realloc_0002d1f8)()" (parenthesized_expression "(*(code *)PTR_realloc_0002d1f8)" (( "(") (pointer_expression "*(code *)PTR_realloc_0002d1f8" (* "*") (cast_expression "(code *)PTR_realloc_0002d1f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_realloc_0002d1f8"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n      return iVar1;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return iVar1;\n    }" ({ "{") (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "xalloc_die();" (call_expression "xalloc_die()" (identifier "xalloc_die") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1 == 0) {\n                    \n                    \n    iVar1 = (*(code *)PTR_malloc_0002d1f4)();\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n                    \n    iVar1 = (*(code *)PTR_malloc_0002d1f4)();\n    return iVar1;\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_malloc_0002d1f4)();" (assignment_expression "iVar1 = (*(code *)PTR_malloc_0002d1f4)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_malloc_0002d1f4)()" (parenthesized_expression "(*(code *)PTR_malloc_0002d1f4)" (( "(") (pointer_expression "*(code *)PTR_malloc_0002d1f4" (* "*") (cast_expression "(code *)PTR_malloc_0002d1f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_malloc_0002d1f4"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_free_0002d258)();" (call_expression "(*(code *)PTR_free_0002d258)()" (parenthesized_expression "(*(code *)PTR_free_0002d258)" (( "(") (pointer_expression "*(code *)PTR_free_0002d258" (* "*") (cast_expression "(code *)PTR_free_0002d258" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0002d258"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

void * function_1(void *var_4,size_t var_1)

{
  void *var_2;
  
  if (var_1 != 0) {
    var_2 = (void *)(*(type_1 *)PTR_realloc_0002d1f8)();
    if (var_2 != (void *)0x0) {
      return var_2;
    }
                    /* WARNING: Subroutine does not return */
    var_3();
  }
  if (var_4 == (void *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x000163e8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    var_2 = (void *)(*(type_1 *)PTR_malloc_0002d1f4)();
    return var_2;
  }
  (*(type_1 *)PTR_free_0002d258)();
  return (void *)0x0;
}


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

int MASKED(int param_1,int param_2)

{
  int iVar1;
  
  if (param_2 != 0) {
    iVar1 = (*(code *)PTR_realloc_0002d1f8)();
    if (iVar1 != 0) {
      return iVar1;
    }
                    /* WARNING: Subroutine does not return */
    xalloc_die();
  }
  if (param_1 == 0) {
                    /* WARNING: Could not recover jumptable at 0x000163e8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar1 = (*(code *)PTR_malloc_0002d1f4)();
    return iVar1;
  }
  (*(code *)PTR_free_0002d258)();
  return 0;
}

