
void * emalloc_real(size_t count,char *where,char *var,char *file,int line)

{
  void *pvVar1;
  char *mesg;
  undefined4 *puVar2;
  undefined4 uVar3;
  
  if (count == 0) {
    set_loc("awk.h",0x7c5);
    r_fatal("%s:%d: emalloc called with zero bytes","main.c",file);
    pvVar1 = (void *)(*(code *)PTR_malloc_004b22d4)(0);
  }
  else {
    pvVar1 = (void *)(*(code *)PTR_malloc_004b22d4)(count);
  }
  if (pvVar1 != (void *)0x0) {
    return pvVar1;
  }
  set_loc("awk.h",0x7c9);
  mesg = (char *)(*(code *)PTR_dcgettext_004b235c)
                           (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);
  puVar2 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();
  uVar3 = (*(code *)PTR_strerror_004b22c4)(*puVar2);
  r_fatal(mesg,"main.c",file,where,var,count,uVar3);
  return (void *)0x0;
}



int FUN_004660b4(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  
  if (param_1 == 0) {
    set_loc("awk.h",0x7c5);
    r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);
    iVar1 = (*(code *)PTR_malloc_004b22d4)(0);
  }
  else {
    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);
  }
  if (iVar1 != 0) {
    return iVar1;
  }
  set_loc("awk.h",0x7c9);
  uVar2 = (*(code *)PTR_dcgettext_004b235c)
                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);
  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();
  uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);
  r_fatal(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4);
  return 0;
}


lui gp,0x4c
addiu sp,sp,-0x48
addiu gp,gp,-0x64e0
sw s4,0x3c(sp)
or s4,a1,zero
sw s3,0x38(sp)
or s3,a2,zero
sw s2,0x34(sp)
or s2,a3,zero
sw s0,0x2c(sp)
or s0,a0,zero
sw ra,0x44(sp)
sw s5,0x40(sp)
sw s1,0x30(sp)
beq a0,zero,0x00466134
_sw gp,0x20(sp)
lw t9,-0x784c(gp)
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
beq v0,zero,0x00466184
_or s1,v0,zero
lw ra,0x44(sp)
or v0,s1,zero
lw s5,0x40(sp)
lw s4,0x3c(sp)
lw s3,0x38(sp)
lw s2,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x48
lui a0,0x49
lw t9,-0x7fb4(gp)
li a1,0x7c5
bal 0x00467090
_addiu a0,a0,-0x268
lui a1,0x4a
lw gp,0x20(sp)
lui a0,0x49
addiu a1,a1,-0x44d0
addiu a0,a0,-0x1e4
lw t9,-0x7fb0(gp)
bal 0x004675e4
_or a2,s2,zero
lw gp,0x20(sp)
lw t9,-0x784c(gp)
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
bne v0,zero,0x0046610c
_or s1,v0,zero
lui a0,0x49
lw t9,-0x7fb4(gp)
li a1,0x7c9
bal 0x00467090
_addiu a0,a0,-0x268
lui a1,0x49
lw gp,0x20(sp)
li a2,0x5
addiu a1,a1,-0x1bc
lw t9,-0x77c4(gp)
jalr t9
_or a0,zero,zero
lw gp,0x20(sp)
lw t9,-0x78d0(gp)
jalr t9
_or s5,v0,zero
lw gp,0x20(sp)
lw t9,-0x785c(gp)
jalr t9
_lw a0,0x0(v0)
lui a1,0x4a
lw gp,0x20(sp)
or a3,s4,zero
addiu a1,a1,-0x44d0
sw v0,0x18(sp)
sw s0,0x14(sp)
or a2,s2,zero
sw s3,0x10(sp)
lw t9,-0x7fb0(gp)
bal 0x004675e4
_or a0,s5,zero
or v0,s1,zero
lw ra,0x44(sp)
lw s5,0x40(sp)
lw s4,0x3c(sp)
lw s3,0x38(sp)
lw s2,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x48
(translation_unit "int FUN_004660b4(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (param_1 == 0) {\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(0);\n  }\n  else {\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);\n  }\n  if (iVar1 != 0) {\n    return iVar1;\n  }\n  set_loc("awk.h",0x7c9);\n  uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n  uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n  r_fatal(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4);\n  return 0;\n}\n\n" (function_definition "int FUN_004660b4(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (param_1 == 0) {\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(0);\n  }\n  else {\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);\n  }\n  if (iVar1 != 0) {\n    return iVar1;\n  }\n  set_loc("awk.h",0x7c9);\n  uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n  uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n  r_fatal(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4);\n  return 0;\n}" primitive_type (function_declarator "FUN_004660b4(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (param_1 == 0) {\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(0);\n  }\n  else {\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);\n  }\n  if (iVar1 != 0) {\n    return iVar1;\n  }\n  set_loc("awk.h",0x7c9);\n  uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n  uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n  r_fatal(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4);\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(0);\n  }\n  else {\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(0);\n  }" { (expression_statement "set_loc("awk.h",0x7c5);" (call_expression "set_loc("awk.h",0x7c5)" identifier (argument_list "("awk.h",0x7c5)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);" (call_expression "r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4)" identifier (argument_list "("%s:%d: emalloc called with zero bytes","main.c",param_4)" ( (string_literal ""%s:%d: emalloc called with zero bytes"" " string_content ") , (string_literal ""main.c"" " string_content ") , identifier ))) ;) (expression_statement "iVar1 = (*(code *)PTR_malloc_004b22d4)(0);" (assignment_expression "iVar1 = (*(code *)PTR_malloc_004b22d4)(0)" identifier = (call_expression "(*(code *)PTR_malloc_004b22d4)(0)" (parenthesized_expression "(*(code *)PTR_malloc_004b22d4)" ( (pointer_expression "*(code *)PTR_malloc_004b22d4" * (cast_expression "(code *)PTR_malloc_004b22d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal )))) ;) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);\n  }" { (expression_statement "iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);" (assignment_expression "iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1)" identifier = (call_expression "(*(code *)PTR_malloc_004b22d4)(param_1)" (parenthesized_expression "(*(code *)PTR_malloc_004b22d4)" ( (pointer_expression "*(code *)PTR_malloc_004b22d4" * (cast_expression "(code *)PTR_malloc_004b22d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) }))) (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 "set_loc("awk.h",0x7c9);" (call_expression "set_loc("awk.h",0x7c9)" identifier (argument_list "("awk.h",0x7c9)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" identifier = (call_expression "(*(code *)PTR_dcgettext_004b235c)\n                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" (parenthesized_expression "(*(code *)PTR_dcgettext_004b235c)" ( (pointer_expression "*(code *)PTR_dcgettext_004b235c" * (cast_expression "(code *)PTR_dcgettext_004b235c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" ( number_literal , (string_literal ""%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s"" " string_content ") , number_literal )))) ;) (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_004b2250)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_004b2250)()" (parenthesized_expression "(*(code *)PTR___errno_location_004b2250)" ( (pointer_expression "*(code *)PTR___errno_location_004b2250" * (cast_expression "(code *)PTR___errno_location_004b2250" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);" (assignment_expression "uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3)" identifier = (call_expression "(*(code *)PTR_strerror_004b22c4)(*puVar3)" (parenthesized_expression "(*(code *)PTR_strerror_004b22c4)" ( (pointer_expression "*(code *)PTR_strerror_004b22c4" * (cast_expression "(code *)PTR_strerror_004b22c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) )))) ;) (expression_statement "r_fatal(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4);" (call_expression "r_fatal(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4)" identifier (argument_list "(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4)" ( identifier , (string_literal ""main.c"" " string_content ") , identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "void * emalloc_real(size_t count,char *where,char *var,char *file,int line)\n\n{\n  void *pvVar1;\n  char *mesg;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  if (count == 0) {\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",file);\n    pvVar1 = (void *)(*(code *)PTR_malloc_004b22d4)(0);\n  }\n  else {\n    pvVar1 = (void *)(*(code *)PTR_malloc_004b22d4)(count);\n  }\n  if (pvVar1 != (void *)0x0) {\n    return pvVar1;\n  }\n  set_loc("awk.h",0x7c9);\n  mesg = (char *)(*(code *)PTR_dcgettext_004b235c)\n                           (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n  puVar2 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n  uVar3 = (*(code *)PTR_strerror_004b22c4)(*puVar2);\n  r_fatal(mesg,"main.c",file,where,var,count,uVar3);\n  return (void *)0x0;\n}\n\n" (function_definition "void * emalloc_real(size_t count,char *where,char *var,char *file,int line)\n\n{\n  void *pvVar1;\n  char *mesg;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  if (count == 0) {\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",file);\n    pvVar1 = (void *)(*(code *)PTR_malloc_004b22d4)(0);\n  }\n  else {\n    pvVar1 = (void *)(*(code *)PTR_malloc_004b22d4)(count);\n  }\n  if (pvVar1 != (void *)0x0) {\n    return pvVar1;\n  }\n  set_loc("awk.h",0x7c9);\n  mesg = (char *)(*(code *)PTR_dcgettext_004b235c)\n                           (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n  puVar2 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n  uVar3 = (*(code *)PTR_strerror_004b22c4)(*puVar2);\n  r_fatal(mesg,"main.c",file,where,var,count,uVar3);\n  return (void *)0x0;\n}" primitive_type (pointer_declarator "* emalloc_real(size_t count,char *where,char *var,char *file,int line)" * (function_declarator "emalloc_real(size_t count,char *where,char *var,char *file,int line)" identifier (parameter_list "(size_t count,char *where,char *var,char *file,int line)" ( (parameter_declaration "size_t count" primitive_type identifier) , (parameter_declaration "char *where" primitive_type (pointer_declarator "*where" * identifier)) , (parameter_declaration "char *var" primitive_type (pointer_declarator "*var" * identifier)) , (parameter_declaration "char *file" primitive_type (pointer_declarator "*file" * identifier)) , (parameter_declaration "int line" primitive_type identifier) )))) (compound_statement "{\n  void *pvVar1;\n  char *mesg;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  if (count == 0) {\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",file);\n    pvVar1 = (void *)(*(code *)PTR_malloc_004b22d4)(0);\n  }\n  else {\n    pvVar1 = (void *)(*(code *)PTR_malloc_004b22d4)(count);\n  }\n  if (pvVar1 != (void *)0x0) {\n    return pvVar1;\n  }\n  set_loc("awk.h",0x7c9);\n  mesg = (char *)(*(code *)PTR_dcgettext_004b235c)\n                           (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n  puVar2 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n  uVar3 = (*(code *)PTR_strerror_004b22c4)(*puVar2);\n  r_fatal(mesg,"main.c",file,where,var,count,uVar3);\n  return (void *)0x0;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "char *mesg;" primitive_type (pointer_declarator "*mesg" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (if_statement "if (count == 0) {\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",file);\n    pvVar1 = (void *)(*(code *)PTR_malloc_004b22d4)(0);\n  }\n  else {\n    pvVar1 = (void *)(*(code *)PTR_malloc_004b22d4)(count);\n  }" if (parenthesized_expression "(count == 0)" ( (binary_expression "count == 0" identifier == number_literal) )) (compound_statement "{\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",file);\n    pvVar1 = (void *)(*(code *)PTR_malloc_004b22d4)(0);\n  }" { (expression_statement "set_loc("awk.h",0x7c5);" (call_expression "set_loc("awk.h",0x7c5)" identifier (argument_list "("awk.h",0x7c5)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "r_fatal("%s:%d: emalloc called with zero bytes","main.c",file);" (call_expression "r_fatal("%s:%d: emalloc called with zero bytes","main.c",file)" identifier (argument_list "("%s:%d: emalloc called with zero bytes","main.c",file)" ( (string_literal ""%s:%d: emalloc called with zero bytes"" " string_content ") , (string_literal ""main.c"" " string_content ") , identifier ))) ;) (expression_statement "pvVar1 = (void *)(*(code *)PTR_malloc_004b22d4)(0);" (assignment_expression "pvVar1 = (void *)(*(code *)PTR_malloc_004b22d4)(0)" identifier = (cast_expression "(void *)(*(code *)PTR_malloc_004b22d4)(0)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_004b22d4)(0)" (parenthesized_expression "(*(code *)PTR_malloc_004b22d4)" ( (pointer_expression "*(code *)PTR_malloc_004b22d4" * (cast_expression "(code *)PTR_malloc_004b22d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal ))))) ;) }) (else_clause "else {\n    pvVar1 = (void *)(*(code *)PTR_malloc_004b22d4)(count);\n  }" else (compound_statement "{\n    pvVar1 = (void *)(*(code *)PTR_malloc_004b22d4)(count);\n  }" { (expression_statement "pvVar1 = (void *)(*(code *)PTR_malloc_004b22d4)(count);" (assignment_expression "pvVar1 = (void *)(*(code *)PTR_malloc_004b22d4)(count)" identifier = (cast_expression "(void *)(*(code *)PTR_malloc_004b22d4)(count)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_004b22d4)(count)" (parenthesized_expression "(*(code *)PTR_malloc_004b22d4)" ( (pointer_expression "*(code *)PTR_malloc_004b22d4" * (cast_expression "(code *)PTR_malloc_004b22d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(count)" ( identifier ))))) ;) }))) (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 ;) })) (expression_statement "set_loc("awk.h",0x7c9);" (call_expression "set_loc("awk.h",0x7c9)" identifier (argument_list "("awk.h",0x7c9)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "mesg = (char *)(*(code *)PTR_dcgettext_004b235c)\n                           (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);" (assignment_expression "mesg = (char *)(*(code *)PTR_dcgettext_004b235c)\n                           (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_004b235c)\n                           (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_004b235c)\n                           (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" (parenthesized_expression "(*(code *)PTR_dcgettext_004b235c)" ( (pointer_expression "*(code *)PTR_dcgettext_004b235c" * (cast_expression "(code *)PTR_dcgettext_004b235c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" ( number_literal , (string_literal ""%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s"" " string_content ") , number_literal ))))) ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_004b2250)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_004b2250)()" (parenthesized_expression "(*(code *)PTR___errno_location_004b2250)" ( (pointer_expression "*(code *)PTR___errno_location_004b2250" * (cast_expression "(code *)PTR___errno_location_004b2250" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar3 = (*(code *)PTR_strerror_004b22c4)(*puVar2);" (assignment_expression "uVar3 = (*(code *)PTR_strerror_004b22c4)(*puVar2)" identifier = (call_expression "(*(code *)PTR_strerror_004b22c4)(*puVar2)" (parenthesized_expression "(*(code *)PTR_strerror_004b22c4)" ( (pointer_expression "*(code *)PTR_strerror_004b22c4" * (cast_expression "(code *)PTR_strerror_004b22c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar2)" ( (pointer_expression "*puVar2" * identifier) )))) ;) (expression_statement "r_fatal(mesg,"main.c",file,where,var,count,uVar3);" (call_expression "r_fatal(mesg,"main.c",file,where,var,count,uVar3)" identifier (argument_list "(mesg,"main.c",file,where,var,count,uVar3)" ( identifier , (string_literal ""main.c"" " string_content ") , identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return (void *)0x0;" return (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "int FUN_004660b4(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (param_1 == 0) {\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(0);\n  }\n  else {\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);\n  }\n  if (iVar1 != 0) {\n    return iVar1;\n  }\n  set_loc("awk.h",0x7c9);\n  uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n  uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n  r_fatal(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4);\n  return 0;\n}\n\n" (function_definition "int FUN_004660b4(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (param_1 == 0) {\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(0);\n  }\n  else {\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);\n  }\n  if (iVar1 != 0) {\n    return iVar1;\n  }\n  set_loc("awk.h",0x7c9);\n  uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n  uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n  r_fatal(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4);\n  return 0;\n}" primitive_type (function_declarator "FUN_004660b4(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (param_1 == 0) {\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(0);\n  }\n  else {\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);\n  }\n  if (iVar1 != 0) {\n    return iVar1;\n  }\n  set_loc("awk.h",0x7c9);\n  uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n  uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n  r_fatal(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4);\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(0);\n  }\n  else {\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(0);\n  }" { (expression_statement "set_loc("awk.h",0x7c5);" (call_expression "set_loc("awk.h",0x7c5)" identifier (argument_list "("awk.h",0x7c5)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);" (call_expression "r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4)" identifier (argument_list "("%s:%d: emalloc called with zero bytes","main.c",param_4)" ( (string_literal ""%s:%d: emalloc called with zero bytes"" " string_content ") , (string_literal ""main.c"" " string_content ") , identifier ))) ;) (expression_statement "iVar1 = (*(code *)PTR_malloc_004b22d4)(0);" (assignment_expression "iVar1 = (*(code *)PTR_malloc_004b22d4)(0)" identifier = (call_expression "(*(code *)PTR_malloc_004b22d4)(0)" (parenthesized_expression "(*(code *)PTR_malloc_004b22d4)" ( (pointer_expression "*(code *)PTR_malloc_004b22d4" * (cast_expression "(code *)PTR_malloc_004b22d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal )))) ;) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);\n  }" { (expression_statement "iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);" (assignment_expression "iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1)" identifier = (call_expression "(*(code *)PTR_malloc_004b22d4)(param_1)" (parenthesized_expression "(*(code *)PTR_malloc_004b22d4)" ( (pointer_expression "*(code *)PTR_malloc_004b22d4" * (cast_expression "(code *)PTR_malloc_004b22d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) }))) (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 "set_loc("awk.h",0x7c9);" (call_expression "set_loc("awk.h",0x7c9)" identifier (argument_list "("awk.h",0x7c9)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" identifier = (call_expression "(*(code *)PTR_dcgettext_004b235c)\n                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" (parenthesized_expression "(*(code *)PTR_dcgettext_004b235c)" ( (pointer_expression "*(code *)PTR_dcgettext_004b235c" * (cast_expression "(code *)PTR_dcgettext_004b235c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" ( number_literal , (string_literal ""%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s"" " string_content ") , number_literal )))) ;) (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_004b2250)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_004b2250)()" (parenthesized_expression "(*(code *)PTR___errno_location_004b2250)" ( (pointer_expression "*(code *)PTR___errno_location_004b2250" * (cast_expression "(code *)PTR___errno_location_004b2250" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);" (assignment_expression "uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3)" identifier = (call_expression "(*(code *)PTR_strerror_004b22c4)(*puVar3)" (parenthesized_expression "(*(code *)PTR_strerror_004b22c4)" ( (pointer_expression "*(code *)PTR_strerror_004b22c4" * (cast_expression "(code *)PTR_strerror_004b22c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) )))) ;) (expression_statement "r_fatal(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4);" (call_expression "r_fatal(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4)" identifier (argument_list "(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4)" ( identifier , (string_literal ""main.c"" " string_content ") , identifier , identifier , identifier , identifier , identifier ))) ;) (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) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "int FUN_004660b4(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (param_1 == 0) {\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(0);\n  }\n  else {\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);\n  }\n  if (iVar1 != 0) {\n    return iVar1;\n  }\n  set_loc("awk.h",0x7c9);\n  uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n  uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n  r_fatal(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4);\n  return 0;\n}" (primitive_type "int") (function_declarator "FUN_004660b4(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_004660b4") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (param_1 == 0) {\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(0);\n  }\n  else {\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);\n  }\n  if (iVar1 != 0) {\n    return iVar1;\n  }\n  set_loc("awk.h",0x7c9);\n  uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n  uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n  r_fatal(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4);\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (if_statement "if (param_1 == 0) {\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(0);\n  }\n  else {\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    set_loc("awk.h",0x7c5);\n    r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(0);\n  }" ({ "{") (expression_statement "set_loc("awk.h",0x7c5);" (call_expression "set_loc("awk.h",0x7c5)" (identifier "set_loc") (argument_list "("awk.h",0x7c5)" (( "(") (string_literal ""awk.h"" (" """) (string_content "awk.h") (" """)) (, ",") (number_literal "0x7c5") () ")"))) (; ";")) (expression_statement "r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);" (call_expression "r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4)" (identifier "r_fatal") (argument_list "("%s:%d: emalloc called with zero bytes","main.c",param_4)" (( "(") (string_literal ""%s:%d: emalloc called with zero bytes"" (" """) (string_content "%s:%d: emalloc called with zero bytes") (" """)) (, ",") (string_literal ""main.c"" (" """) (string_content "main.c") (" """)) (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_malloc_004b22d4)(0);" (assignment_expression "iVar1 = (*(code *)PTR_malloc_004b22d4)(0)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_malloc_004b22d4)(0)" (parenthesized_expression "(*(code *)PTR_malloc_004b22d4)" (( "(") (pointer_expression "*(code *)PTR_malloc_004b22d4" (* "*") (cast_expression "(code *)PTR_malloc_004b22d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_malloc_004b22d4"))) () ")")) (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);\n  }" (else "else") (compound_statement "{\n    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);" (assignment_expression "iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_malloc_004b22d4)(param_1)" (parenthesized_expression "(*(code *)PTR_malloc_004b22d4)" (( "(") (pointer_expression "*(code *)PTR_malloc_004b22d4" (* "*") (cast_expression "(code *)PTR_malloc_004b22d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_malloc_004b22d4"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (} "}")))) (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 "set_loc("awk.h",0x7c9);" (call_expression "set_loc("awk.h",0x7c9)" (identifier "set_loc") (argument_list "("awk.h",0x7c9)" (( "(") (string_literal ""awk.h"" (" """) (string_content "awk.h") (" """)) (, ",") (number_literal "0x7c9") () ")"))) (; ";")) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_dcgettext_004b235c)\n                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" (parenthesized_expression "(*(code *)PTR_dcgettext_004b235c)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_004b235c" (* "*") (cast_expression "(code *)PTR_dcgettext_004b235c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_004b235c"))) () ")")) (argument_list "(0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s"" (" """) (string_content "%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)()" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_004b2250)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_004b2250)()" (parenthesized_expression "(*(code *)PTR___errno_location_004b2250)" (( "(") (pointer_expression "*(code *)PTR___errno_location_004b2250" (* "*") (cast_expression "(code *)PTR___errno_location_004b2250" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_004b2250"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);" (assignment_expression "uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_strerror_004b22c4)(*puVar3)" (parenthesized_expression "(*(code *)PTR_strerror_004b22c4)" (( "(") (pointer_expression "*(code *)PTR_strerror_004b22c4" (* "*") (cast_expression "(code *)PTR_strerror_004b22c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strerror_004b22c4"))) () ")")) (argument_list "(*puVar3)" (( "(") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) () ")")))) (; ";")) (expression_statement "r_fatal(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4);" (call_expression "r_fatal(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4)" (identifier "r_fatal") (argument_list "(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4)" (( "(") (identifier "uVar2") (, ",") (string_literal ""main.c"" (" """) (string_content "main.c") (" """)) (, ",") (identifier "param_4") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_1") (, ",") (identifier "uVar4") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (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 (number_literal)))))) alternative: (else_clause (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 (identifier)))))))) (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 (string_literal (string_content)) (number_literal)))) (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) (string_literal (string_content)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (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 (pointer_expression argument: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (identifier) (identifier) (identifier) (identifier) (identifier)))) (return_statement (number_literal)))))

int MASKED(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  
  if (param_1 == 0) {
    set_loc("awk.h",0x7c5);
    r_fatal("%s:%d: emalloc called with zero bytes","main.c",param_4);
    iVar1 = (*(code *)PTR_malloc_004b22d4)(0);
  }
  else {
    iVar1 = (*(code *)PTR_malloc_004b22d4)(param_1);
  }
  if (iVar1 != 0) {
    return iVar1;
  }
  set_loc("awk.h",0x7c9);
  uVar2 = (*(code *)PTR_dcgettext_004b235c)
                    (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);
  puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();
  uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);
  r_fatal(uVar2,"main.c",param_4,param_2,param_3,param_1,uVar4);
  return 0;
}

