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

{
  void *pvVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  
  if (count == 0) {
    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);
    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",file);
  }
  pvVar1 = (void *)(*(code *)PTR_realloc_004b22d8)(ptr,count);
  if (pvVar1 == (void *)0x0) {
    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);
    uVar2 = (*(code *)PTR_dcgettext_004b235c)
                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);
    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();
    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);
    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",file,where,var,count,uVar4);
  }
  return pvVar1;
}



int FUN_004057c0(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,
                undefined4 param_5)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  
  if (param_2 == 0) {
    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);
    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);
  }
  iVar1 = (*(code *)PTR_realloc_004b22d8)(param_1,param_2);
  if (iVar1 == 0) {
    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);
    uVar2 = (*(code *)PTR_dcgettext_004b235c)
                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);
    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();
    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);
    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);
  }
  return iVar1;
}


lui gp,0x4c
addiu sp,sp,-0x40
addiu gp,gp,-0x64e0
sw s4,0x38(sp)
or s4,a2,zero
sw s3,0x34(sp)
or s3,a3,zero
sw s1,0x2c(sp)
or s1,a0,zero
sw s0,0x28(sp)
or s0,a1,zero
sw ra,0x3c(sp)
sw s2,0x30(sp)
bne a1,zero,0x00405834
_sw gp,0x20(sp)
lui a0,0x49
lw t9,-0x7fb4(gp)
li a1,0x7e9
jalr t9
_addiu a0,a0,-0x268
lui a1,0x49
lw gp,0x20(sp)
lui a0,0x49
lw a2,0x50(sp)
addiu a1,a1,0x2d0
lw t9,-0x7fb0(gp)
jalr t9
_addiu a0,a0,-0x260
lw gp,0x20(sp)
lw t9,-0x7848(gp)
or a0,s1,zero
jalr t9
_or a1,s0,zero
lw gp,0x20(sp)
bne v0,zero,0x004058cc
_or s1,v0,zero
lui a0,0x49
lw t9,-0x7fb4(gp)
li a1,0x7ed
jalr t9
_addiu a0,a0,-0x268
lui a1,0x49
lw gp,0x20(sp)
li a2,0x5
addiu a1,a1,-0x238
lw t9,-0x77c4(gp)
jalr t9
_or a0,zero,zero
lw gp,0x20(sp)
lw t9,-0x78d0(gp)
jalr t9
_or s2,v0,zero
lw gp,0x20(sp)
lw t9,-0x785c(gp)
jalr t9
_lw a0,0x0(v0)
lui a1,0x49
lw gp,0x20(sp)
or a3,s4,zero
lw a2,0x50(sp)
addiu a1,a1,0x2d0
sw v0,0x18(sp)
or a0,s2,zero
sw s0,0x14(sp)
lw t9,-0x7fb0(gp)
jalr t9
_sw s3,0x10(sp)
lw ra,0x3c(sp)
or v0,s1,zero
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x40
(translation_unit "int FUN_004057c0(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (param_2 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);\n  }\n  iVar1 = (*(code *)PTR_realloc_004b22d8)(param_1,param_2);\n  if (iVar1 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_004057c0(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (param_2 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);\n  }\n  iVar1 = (*(code *)PTR_realloc_004b22d8)(param_1,param_2);\n  if (iVar1 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_004057c0(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (param_2 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);\n  }\n  iVar1 = (*(code *)PTR_realloc_004b22d8)(param_1,param_2);\n  if (iVar1 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);\n  }\n  return iVar1;\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_2 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);\n  }" { (expression_statement "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);" (call_expression "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9)" (parenthesized_expression "(*(code *)PTR_set_loc_004b1b6c)" ( (pointer_expression "*(code *)PTR_set_loc_004b1b6c" * (cast_expression "(code *)PTR_set_loc_004b1b6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "("awk.h",0x7e9)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "(*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);" (call_expression "(*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5)" (parenthesized_expression "(*(code *)PTR_r_fatal_004b1b70)" ( (pointer_expression "*(code *)PTR_r_fatal_004b1b70" * (cast_expression "(code *)PTR_r_fatal_004b1b70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "("%s:%d: erealloc called with zero bytes","awkgram.y",param_5)" ( (string_literal ""%s:%d: erealloc called with zero bytes"" " string_content ") , (string_literal ""awkgram.y"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar1 = (*(code *)PTR_realloc_004b22d8)(param_1,param_2);" (assignment_expression "iVar1 = (*(code *)PTR_realloc_004b22d8)(param_1,param_2)" identifier = (call_expression "(*(code *)PTR_realloc_004b22d8)(param_1,param_2)" (parenthesized_expression "(*(code *)PTR_realloc_004b22d8)" ( (pointer_expression "*(code *)PTR_realloc_004b22d8" * (cast_expression "(code *)PTR_realloc_004b22d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);\n  }" { (expression_statement "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);" (call_expression "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed)" (parenthesized_expression "(*(code *)PTR_set_loc_004b1b6c)" ( (pointer_expression "*(code *)PTR_set_loc_004b1b6c" * (cast_expression "(code *)PTR_set_loc_004b1b6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "("awk.h",0x7ed)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5)" identifier = (call_expression "(*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %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 reallocate %ld bytes of memory: %s",5)" ( number_literal , (string_literal ""%s:%d:%s: %s: cannot reallocate %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 "(*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);" (call_expression "(*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4)" (parenthesized_expression "(*(code *)PTR_r_fatal_004b1b70)" ( (pointer_expression "*(code *)PTR_r_fatal_004b1b70" * (cast_expression "(code *)PTR_r_fatal_004b1b70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4)" ( identifier , (string_literal ""awkgram.y"" " string_content ") , identifier , identifier , identifier , identifier , identifier ))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void * erealloc_real(void *ptr,size_t count,char *where,char *var,char *file,int line)\n\n{\n  void *pvVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (count == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",file);\n  }\n  pvVar1 = (void *)(*(code *)PTR_realloc_004b22d8)(ptr,count);\n  if (pvVar1 == (void *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",file,where,var,count,uVar4);\n  }\n  return pvVar1;\n}\n\n" (function_definition "void * erealloc_real(void *ptr,size_t count,char *where,char *var,char *file,int line)\n\n{\n  void *pvVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (count == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",file);\n  }\n  pvVar1 = (void *)(*(code *)PTR_realloc_004b22d8)(ptr,count);\n  if (pvVar1 == (void *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",file,where,var,count,uVar4);\n  }\n  return pvVar1;\n}" primitive_type (pointer_declarator "* erealloc_real(void *ptr,size_t count,char *where,char *var,char *file,int line)" * (function_declarator "erealloc_real(void *ptr,size_t count,char *where,char *var,char *file,int line)" identifier (parameter_list "(void *ptr,size_t count,char *where,char *var,char *file,int line)" ( (parameter_declaration "void *ptr" primitive_type (pointer_declarator "*ptr" * identifier)) , (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  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (count == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",file);\n  }\n  pvVar1 = (void *)(*(code *)PTR_realloc_004b22d8)(ptr,count);\n  if (pvVar1 == (void *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",file,where,var,count,uVar4);\n  }\n  return pvVar1;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * 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 (count == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",file);\n  }" if (parenthesized_expression "(count == 0)" ( (binary_expression "count == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",file);\n  }" { (expression_statement "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);" (call_expression "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9)" (parenthesized_expression "(*(code *)PTR_set_loc_004b1b6c)" ( (pointer_expression "*(code *)PTR_set_loc_004b1b6c" * (cast_expression "(code *)PTR_set_loc_004b1b6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "("awk.h",0x7e9)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "(*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",file);" (call_expression "(*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",file)" (parenthesized_expression "(*(code *)PTR_r_fatal_004b1b70)" ( (pointer_expression "*(code *)PTR_r_fatal_004b1b70" * (cast_expression "(code *)PTR_r_fatal_004b1b70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "("%s:%d: erealloc called with zero bytes","awkgram.y",file)" ( (string_literal ""%s:%d: erealloc called with zero bytes"" " string_content ") , (string_literal ""awkgram.y"" " string_content ") , identifier ))) ;) })) (expression_statement "pvVar1 = (void *)(*(code *)PTR_realloc_004b22d8)(ptr,count);" (assignment_expression "pvVar1 = (void *)(*(code *)PTR_realloc_004b22d8)(ptr,count)" identifier = (cast_expression "(void *)(*(code *)PTR_realloc_004b22d8)(ptr,count)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_realloc_004b22d8)(ptr,count)" (parenthesized_expression "(*(code *)PTR_realloc_004b22d8)" ( (pointer_expression "*(code *)PTR_realloc_004b22d8" * (cast_expression "(code *)PTR_realloc_004b22d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ptr,count)" ( identifier , identifier ))))) ;) (if_statement "if (pvVar1 == (void *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",file,where,var,count,uVar4);\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    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",file,where,var,count,uVar4);\n  }" { (expression_statement "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);" (call_expression "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed)" (parenthesized_expression "(*(code *)PTR_set_loc_004b1b6c)" ( (pointer_expression "*(code *)PTR_set_loc_004b1b6c" * (cast_expression "(code *)PTR_set_loc_004b1b6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "("awk.h",0x7ed)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5)" identifier = (call_expression "(*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %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 reallocate %ld bytes of memory: %s",5)" ( number_literal , (string_literal ""%s:%d:%s: %s: cannot reallocate %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 "(*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",file,where,var,count,uVar4);" (call_expression "(*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",file,where,var,count,uVar4)" (parenthesized_expression "(*(code *)PTR_r_fatal_004b1b70)" ( (pointer_expression "*(code *)PTR_r_fatal_004b1b70" * (cast_expression "(code *)PTR_r_fatal_004b1b70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,"awkgram.y",file,where,var,count,uVar4)" ( identifier , (string_literal ""awkgram.y"" " string_content ") , identifier , identifier , identifier , identifier , identifier ))) ;) })) (return_statement "return pvVar1;" return identifier ;) })))
(translation_unit "int FUN_004057c0(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (param_2 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);\n  }\n  iVar1 = (*(code *)PTR_realloc_004b22d8)(param_1,param_2);\n  if (iVar1 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_004057c0(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (param_2 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);\n  }\n  iVar1 = (*(code *)PTR_realloc_004b22d8)(param_1,param_2);\n  if (iVar1 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_004057c0(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (param_2 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);\n  }\n  iVar1 = (*(code *)PTR_realloc_004b22d8)(param_1,param_2);\n  if (iVar1 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);\n  }\n  return iVar1;\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_2 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);\n  }" { (expression_statement "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);" (call_expression "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9)" (parenthesized_expression "(*(code *)PTR_set_loc_004b1b6c)" ( (pointer_expression "*(code *)PTR_set_loc_004b1b6c" * (cast_expression "(code *)PTR_set_loc_004b1b6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "("awk.h",0x7e9)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "(*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);" (call_expression "(*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5)" (parenthesized_expression "(*(code *)PTR_r_fatal_004b1b70)" ( (pointer_expression "*(code *)PTR_r_fatal_004b1b70" * (cast_expression "(code *)PTR_r_fatal_004b1b70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "("%s:%d: erealloc called with zero bytes","awkgram.y",param_5)" ( (string_literal ""%s:%d: erealloc called with zero bytes"" " string_content ") , (string_literal ""awkgram.y"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar1 = (*(code *)PTR_realloc_004b22d8)(param_1,param_2);" (assignment_expression "iVar1 = (*(code *)PTR_realloc_004b22d8)(param_1,param_2)" identifier = (call_expression "(*(code *)PTR_realloc_004b22d8)(param_1,param_2)" (parenthesized_expression "(*(code *)PTR_realloc_004b22d8)" ( (pointer_expression "*(code *)PTR_realloc_004b22d8" * (cast_expression "(code *)PTR_realloc_004b22d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);\n  }" { (expression_statement "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);" (call_expression "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed)" (parenthesized_expression "(*(code *)PTR_set_loc_004b1b6c)" ( (pointer_expression "*(code *)PTR_set_loc_004b1b6c" * (cast_expression "(code *)PTR_set_loc_004b1b6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "("awk.h",0x7ed)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5)" identifier = (call_expression "(*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %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 reallocate %ld bytes of memory: %s",5)" ( number_literal , (string_literal ""%s:%d:%s: %s: cannot reallocate %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 "(*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);" (call_expression "(*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4)" (parenthesized_expression "(*(code *)PTR_r_fatal_004b1b70)" ( (pointer_expression "*(code *)PTR_r_fatal_004b1b70" * (cast_expression "(code *)PTR_r_fatal_004b1b70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4)" ( identifier , (string_literal ""awkgram.y"" " string_content ") , identifier , identifier , identifier , identifier , identifier ))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(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) , (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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (string_literal " string_content ") , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_004057c0(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (param_2 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);\n  }\n  iVar1 = (*(code *)PTR_realloc_004b22d8)(param_1,param_2);\n  if (iVar1 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_004057c0(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5)" (identifier "FUN_004057c0") (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (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")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  if (param_2 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);\n  }\n  iVar1 = (*(code *)PTR_realloc_004b22d8)(param_1,param_2);\n  if (iVar1 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);\n  }\n  return iVar1;\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_2 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);\n    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);\n  }" ({ "{") (expression_statement "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);" (call_expression "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9)" (parenthesized_expression "(*(code *)PTR_set_loc_004b1b6c)" (( "(") (pointer_expression "*(code *)PTR_set_loc_004b1b6c" (* "*") (cast_expression "(code *)PTR_set_loc_004b1b6c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_set_loc_004b1b6c"))) () ")")) (argument_list "("awk.h",0x7e9)" (( "(") (string_literal ""awk.h"" (" """) (string_content "awk.h") (" """)) (, ",") (number_literal "0x7e9") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);" (call_expression "(*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5)" (parenthesized_expression "(*(code *)PTR_r_fatal_004b1b70)" (( "(") (pointer_expression "*(code *)PTR_r_fatal_004b1b70" (* "*") (cast_expression "(code *)PTR_r_fatal_004b1b70" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_r_fatal_004b1b70"))) () ")")) (argument_list "("%s:%d: erealloc called with zero bytes","awkgram.y",param_5)" (( "(") (string_literal ""%s:%d: erealloc called with zero bytes"" (" """) (string_content "%s:%d: erealloc called with zero bytes") (" """)) (, ",") (string_literal ""awkgram.y"" (" """) (string_content "awkgram.y") (" """)) (, ",") (identifier "param_5") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR_realloc_004b22d8)(param_1,param_2);" (assignment_expression "iVar1 = (*(code *)PTR_realloc_004b22d8)(param_1,param_2)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_realloc_004b22d8)(param_1,param_2)" (parenthesized_expression "(*(code *)PTR_realloc_004b22d8)" (( "(") (pointer_expression "*(code *)PTR_realloc_004b22d8" (* "*") (cast_expression "(code *)PTR_realloc_004b22d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_realloc_004b22d8"))) () ")")) (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);\n    uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);\n  }" ({ "{") (expression_statement "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);" (call_expression "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed)" (parenthesized_expression "(*(code *)PTR_set_loc_004b1b6c)" (( "(") (pointer_expression "*(code *)PTR_set_loc_004b1b6c" (* "*") (cast_expression "(code *)PTR_set_loc_004b1b6c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_set_loc_004b1b6c"))) () ")")) (argument_list "("awk.h",0x7ed)" (( "(") (string_literal ""awk.h"" (" """) (string_content "awk.h") (" """)) (, ",") (number_literal "0x7ed") () ")"))) (; ";")) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot reallocate %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 reallocate %ld bytes of memory: %s",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s"" (" """) (string_content "%s:%d:%s: %s: cannot reallocate %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 "(*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);" (call_expression "(*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4)" (parenthesized_expression "(*(code *)PTR_r_fatal_004b1b70)" (( "(") (pointer_expression "*(code *)PTR_r_fatal_004b1b70" (* "*") (cast_expression "(code *)PTR_r_fatal_004b1b70" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_r_fatal_004b1b70"))) () ")")) (argument_list "(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4)" (( "(") (identifier "uVar2") (, ",") (string_literal ""awkgram.y"" (" """) (string_content "awkgram.y") (" """)) (, ",") (identifier "param_5") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_2") (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

void * function_1(void *ptr,size_t var_1,char *where,char *var,char *file,int line)

{
  void *var_2;
  type_1 uVar2;
  type_1 *puVar3;
  type_1 uVar4;
  
  if (var_1 == 0) {
    (*(type_2 *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);
    (*(type_2 *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",file);
  }
  var_2 = (void *)(*(type_2 *)PTR_realloc_004b22d8)(ptr,var_1);
  if (var_2 == (void *)0x0) {
    (*(type_2 *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);
    uVar2 = (*(type_2 *)PTR_dcgettext_004b235c)
                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);
    puVar3 = (type_1 *)(*(type_2 *)PTR___errno_location_004b2250)();
    uVar4 = (*(type_2 *)PTR_strerror_004b22c4)(*puVar3);
    (*(type_2 *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",file,where,var,var_1,uVar4);
  }
  return var_2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (string_literal (string_content)) (number_literal)))) (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 (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 (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (string_literal (string_content)) (identifier) (identifier) (identifier) (identifier) (identifier)))))) (return_statement (identifier)))))

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

{
  int iVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  
  if (param_2 == 0) {
    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7e9);
    (*(code *)PTR_r_fatal_004b1b70)("%s:%d: erealloc called with zero bytes","awkgram.y",param_5);
  }
  iVar1 = (*(code *)PTR_realloc_004b22d8)(param_1,param_2);
  if (iVar1 == 0) {
    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7ed);
    uVar2 = (*(code *)PTR_dcgettext_004b235c)
                      (0,"%s:%d:%s: %s: cannot reallocate %ld bytes of memory: %s",5);
    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();
    uVar4 = (*(code *)PTR_strerror_004b22c4)(*puVar3);
    (*(code *)PTR_r_fatal_004b1b70)(uVar2,"awkgram.y",param_5,param_3,param_4,param_2,uVar4);
  }
  return iVar1;
}

