
/* WARNING: Unknown calling convention */

void push_cmd_src(int fd,_Bool istty,_func_char_ptr_char_ptr *readfunc,_func_int_int *closefunc,
                 int ctype,int eofstatus)

{
  undefined *puVar1;
  command_source *pcVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  undefined3 in_register_00000014;
  
  pcVar2 = (command_source *)(*(code *)PTR_malloc_004b22d4)(0x20);
  if (pcVar2 == (command_source *)0x0) {
    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);
    uVar3 = (*(code *)PTR_dcgettext_004b235c)
                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);
    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();
    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);
    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);
  }
  pcVar2->cmd = ctype;
  pcVar2->fd = fd;
  pcVar2->is_tty = CONCAT31(in_register_00000014,istty);
  pcVar2->eof_status = eofstatus;
  puVar1 = PTR_input_fd_004b1cfc;
  pcVar2->read_func = readfunc;
  pcVar2->close_func = closefunc;
  pcVar2->str = (char *)0x0;
  *(int *)puVar1 = fd;
  read_a_line = readfunc;
  input_from_tty = istty;
  pcVar2->next = cmd_src;
  cmd_src = pcVar2;
  return;
}



void FUN_00440574(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 undefined4 param_5,undefined4 param_6)

{
  undefined *puVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  
  puVar2 = (undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20);
  if (puVar2 == (undefined4 *)0x0) {
    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);
    uVar3 = (*(code *)PTR_dcgettext_004b235c)
                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);
    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();
    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);
    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);
  }
  puVar2[5] = param_5;
  *puVar2 = param_1;
  puVar2[1] = param_2;
  puVar2[4] = param_6;
  puVar1 = PTR_input_fd_004b1cfc;
  puVar2[2] = param_3;
  puVar2[3] = param_4;
  puVar2[6] = 0;
  *(undefined4 *)puVar1 = param_1;
  input_from_tty = (undefined1)param_2;
  read_a_line = param_3;
  puVar2[7] = DAT_004b3ca0;
  DAT_004b3ca0 = puVar2;
  return;
}


lui gp,0x4c
addiu sp,sp,-0x48
addiu gp,gp,-0x64e0
sw s3,0x38(sp)
or s3,a0,zero
sw s4,0x3c(sp)
li a0,0x20
sw s2,0x34(sp)
or s4,a3,zero
sw s1,0x30(sp)
or s2,a1,zero
sw s0,0x2c(sp)
or s1,a2,zero
sw gp,0x20(sp)
sw ra,0x44(sp)
lw t9,-0x784c(gp)
jalr t9
_sw s5,0x40(sp)
lw gp,0x20(sp)
beq v0,zero,0x00440638
_or s0,v0,zero
lw v1,0x58(sp)
lui v0,0x4b
lw ra,0x44(sp)
lw s5,0x40(sp)
sw v1,0x14(s0)
lw v1,0x5c(sp)
sw s3,0x0(s0)
sw s2,0x4(s0)
sw v1,0x10(s0)
lw v1,-0x7e24(gp)
sw s1,0x8(s0)
sw s4,0xc(s0)
sw zero,0x18(s0)
sw s3,0x0(v1)
lui v1,0x4b
lw s4,0x3c(sp)
lw s3,0x38(sp)
sb s2,0x3b40(v1)
lui v1,0x4b
lw s2,0x34(sp)
sw s1,0x3b30(v1)
lw v1,0x3ca0(v0)
lw s1,0x30(sp)
sw s0,0x3ca0(v0)
sw v1,0x1c(s0)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x48
lui a0,0x49
lw t9,-0x7fb4(gp)
li a1,0x7c9
jalr t9
_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 a3,0x4a
lw gp,0x20(sp)
lui a1,0x49
sw v0,0x18(sp)
li v0,0x20
addiu a3,a3,-0x7dd8
sw v0,0x14(sp)
lui v0,0x4a
lw t9,-0x7fb0(gp)
li a2,0x1703
addiu v0,v0,-0x7dc8
addiu a1,a1,0x74c0
sw v0,0x10(sp)
jalr t9
_or a0,s5,zero
b 0x004405c8
_lw gp,0x20(sp)
(translation_unit "void FUN_00440574(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20);\n  if (puVar2 == (undefined4 *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }\n  puVar2[5] = param_5;\n  *puVar2 = param_1;\n  puVar2[1] = param_2;\n  puVar2[4] = param_6;\n  puVar1 = PTR_input_fd_004b1cfc;\n  puVar2[2] = param_3;\n  puVar2[3] = param_4;\n  puVar2[6] = 0;\n  *(undefined4 *)puVar1 = param_1;\n  input_from_tty = (undefined1)param_2;\n  read_a_line = param_3;\n  puVar2[7] = DAT_004b3ca0;\n  DAT_004b3ca0 = puVar2;\n  return;\n}\n\n" (function_definition "void FUN_00440574(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20);\n  if (puVar2 == (undefined4 *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }\n  puVar2[5] = param_5;\n  *puVar2 = param_1;\n  puVar2[1] = param_2;\n  puVar2[4] = param_6;\n  puVar1 = PTR_input_fd_004b1cfc;\n  puVar2[2] = param_3;\n  puVar2[3] = param_4;\n  puVar2[6] = 0;\n  *(undefined4 *)puVar1 = param_1;\n  input_from_tty = (undefined1)param_2;\n  read_a_line = param_3;\n  puVar2[7] = DAT_004b3ca0;\n  DAT_004b3ca0 = puVar2;\n  return;\n}" primitive_type (function_declarator "FUN_00440574(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" ( (parameter_declaration "undefined4 param_1" type_identifier 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) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20);\n  if (puVar2 == (undefined4 *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }\n  puVar2[5] = param_5;\n  *puVar2 = param_1;\n  puVar2[1] = param_2;\n  puVar2[4] = param_6;\n  puVar1 = PTR_input_fd_004b1cfc;\n  puVar2[2] = param_3;\n  puVar2[3] = param_4;\n  puVar2[6] = 0;\n  *(undefined4 *)puVar1 = param_1;\n  input_from_tty = (undefined1)param_2;\n  read_a_line = param_3;\n  puVar2[7] = DAT_004b3ca0;\n  DAT_004b3ca0 = puVar2;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_004b22d4)(0x20)" (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 "(0x20)" ( number_literal ))))) ;) (if_statement "if (puVar2 == (undefined4 *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }" if (parenthesized_expression "(puVar2 == (undefined4 *)0x0)" ( (binary_expression "puVar2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }" { (expression_statement "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);" (call_expression "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9)" (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",0x7c9)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);" (assignment_expression "uVar3 = (*(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 "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();" (assignment_expression "puVar4 = (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 "uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);" (assignment_expression "uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4)" identifier = (call_expression "(*(code *)PTR_strerror_004b22c4)(*puVar4)" (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 "(*puVar4)" ( (pointer_expression "*puVar4" * identifier) )))) ;) (expression_statement "(*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);" (call_expression "(*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5)" (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 "(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5)" ( identifier , (string_literal ""debug.c"" " string_content ") , number_literal , (string_literal ""push_cmd_src"" " string_content ") , (pointer_expression "&DAT_00498238" & identifier) , number_literal , identifier ))) ;) })) (expression_statement "puVar2[5] = param_5;" (assignment_expression "puVar2[5] = param_5" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar2 = param_1;" (assignment_expression "*puVar2 = param_1" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[4] = param_6;" (assignment_expression "puVar2[4] = param_6" (subscript_expression "puVar2[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = PTR_input_fd_004b1cfc;" (assignment_expression "puVar1 = PTR_input_fd_004b1cfc" identifier = identifier) ;) (expression_statement "puVar2[2] = param_3;" (assignment_expression "puVar2[2] = param_3" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[3] = param_4;" (assignment_expression "puVar2[3] = param_4" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[6] = 0;" (assignment_expression "puVar2[6] = 0" (subscript_expression "puVar2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)puVar1 = param_1;" (assignment_expression "*(undefined4 *)puVar1 = param_1" (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "input_from_tty = (undefined1)param_2;" (assignment_expression "input_from_tty = (undefined1)param_2" identifier = (cast_expression "(undefined1)param_2" ( (type_descriptor "undefined1" type_identifier) ) identifier)) ;) (expression_statement "read_a_line = param_3;" (assignment_expression "read_a_line = param_3" identifier = identifier) ;) (expression_statement "puVar2[7] = DAT_004b3ca0;" (assignment_expression "puVar2[7] = DAT_004b3ca0" (subscript_expression "puVar2[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "DAT_004b3ca0 = puVar2;" (assignment_expression "DAT_004b3ca0 = puVar2" identifier = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid push_cmd_src(int fd,_Bool istty,_func_char_ptr_char_ptr *readfunc,_func_int_int *closefunc,\n                 int ctype,int eofstatus)\n\n{\n  undefined *puVar1;\n  command_source *pcVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined3 in_register_00000014;\n  \n  pcVar2 = (command_source *)(*(code *)PTR_malloc_004b22d4)(0x20);\n  if (pcVar2 == (command_source *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }\n  pcVar2->cmd = ctype;\n  pcVar2->fd = fd;\n  pcVar2->is_tty = CONCAT31(in_register_00000014,istty);\n  pcVar2->eof_status = eofstatus;\n  puVar1 = PTR_input_fd_004b1cfc;\n  pcVar2->read_func = readfunc;\n  pcVar2->close_func = closefunc;\n  pcVar2->str = (char *)0x0;\n  *(int *)puVar1 = fd;\n  read_a_line = readfunc;\n  input_from_tty = istty;\n  pcVar2->next = cmd_src;\n  cmd_src = pcVar2;\n  return;\n}\n\n" comment (function_definition "void push_cmd_src(int fd,_Bool istty,_func_char_ptr_char_ptr *readfunc,_func_int_int *closefunc,\n                 int ctype,int eofstatus)\n\n{\n  undefined *puVar1;\n  command_source *pcVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined3 in_register_00000014;\n  \n  pcVar2 = (command_source *)(*(code *)PTR_malloc_004b22d4)(0x20);\n  if (pcVar2 == (command_source *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }\n  pcVar2->cmd = ctype;\n  pcVar2->fd = fd;\n  pcVar2->is_tty = CONCAT31(in_register_00000014,istty);\n  pcVar2->eof_status = eofstatus;\n  puVar1 = PTR_input_fd_004b1cfc;\n  pcVar2->read_func = readfunc;\n  pcVar2->close_func = closefunc;\n  pcVar2->str = (char *)0x0;\n  *(int *)puVar1 = fd;\n  read_a_line = readfunc;\n  input_from_tty = istty;\n  pcVar2->next = cmd_src;\n  cmd_src = pcVar2;\n  return;\n}" primitive_type (function_declarator "push_cmd_src(int fd,_Bool istty,_func_char_ptr_char_ptr *readfunc,_func_int_int *closefunc,\n                 int ctype,int eofstatus)" identifier (parameter_list "(int fd,_Bool istty,_func_char_ptr_char_ptr *readfunc,_func_int_int *closefunc,\n                 int ctype,int eofstatus)" ( (parameter_declaration "int fd" primitive_type identifier) , (parameter_declaration "_Bool istty" type_identifier identifier) , (parameter_declaration "_func_char_ptr_char_ptr *readfunc" type_identifier (pointer_declarator "*readfunc" * identifier)) , (parameter_declaration "_func_int_int *closefunc" type_identifier (pointer_declarator "*closefunc" * identifier)) , (parameter_declaration "int ctype" primitive_type identifier) , (parameter_declaration "int eofstatus" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  command_source *pcVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined3 in_register_00000014;\n  \n  pcVar2 = (command_source *)(*(code *)PTR_malloc_004b22d4)(0x20);\n  if (pcVar2 == (command_source *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }\n  pcVar2->cmd = ctype;\n  pcVar2->fd = fd;\n  pcVar2->is_tty = CONCAT31(in_register_00000014,istty);\n  pcVar2->eof_status = eofstatus;\n  puVar1 = PTR_input_fd_004b1cfc;\n  pcVar2->read_func = readfunc;\n  pcVar2->close_func = closefunc;\n  pcVar2->str = (char *)0x0;\n  *(int *)puVar1 = fd;\n  read_a_line = readfunc;\n  input_from_tty = istty;\n  pcVar2->next = cmd_src;\n  cmd_src = pcVar2;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "command_source *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined3 in_register_00000014;" type_identifier identifier ;) (expression_statement "pcVar2 = (command_source *)(*(code *)PTR_malloc_004b22d4)(0x20);" (assignment_expression "pcVar2 = (command_source *)(*(code *)PTR_malloc_004b22d4)(0x20)" identifier = (cast_expression "(command_source *)(*(code *)PTR_malloc_004b22d4)(0x20)" ( (type_descriptor "command_source *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_004b22d4)(0x20)" (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 "(0x20)" ( number_literal ))))) ;) (if_statement "if (pcVar2 == (command_source *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }" if (parenthesized_expression "(pcVar2 == (command_source *)0x0)" ( (binary_expression "pcVar2 == (command_source *)0x0" identifier == (cast_expression "(command_source *)0x0" ( (type_descriptor "command_source *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }" { (expression_statement "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);" (call_expression "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9)" (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",0x7c9)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);" (assignment_expression "uVar3 = (*(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 "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();" (assignment_expression "puVar4 = (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 "uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);" (assignment_expression "uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4)" identifier = (call_expression "(*(code *)PTR_strerror_004b22c4)(*puVar4)" (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 "(*puVar4)" ( (pointer_expression "*puVar4" * identifier) )))) ;) (expression_statement "(*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);" (call_expression "(*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5)" (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 "(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5)" ( identifier , (string_literal ""debug.c"" " string_content ") , number_literal , (string_literal ""push_cmd_src"" " string_content ") , (pointer_expression "&DAT_00498238" & identifier) , number_literal , identifier ))) ;) })) (expression_statement "pcVar2->cmd = ctype;" (assignment_expression "pcVar2->cmd = ctype" (field_expression "pcVar2->cmd" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar2->fd = fd;" (assignment_expression "pcVar2->fd = fd" (field_expression "pcVar2->fd" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar2->is_tty = CONCAT31(in_register_00000014,istty);" (assignment_expression "pcVar2->is_tty = CONCAT31(in_register_00000014,istty)" (field_expression "pcVar2->is_tty" identifier -> field_identifier) = (call_expression "CONCAT31(in_register_00000014,istty)" identifier (argument_list "(in_register_00000014,istty)" ( identifier , identifier )))) ;) (expression_statement "pcVar2->eof_status = eofstatus;" (assignment_expression "pcVar2->eof_status = eofstatus" (field_expression "pcVar2->eof_status" identifier -> field_identifier) = identifier) ;) (expression_statement "puVar1 = PTR_input_fd_004b1cfc;" (assignment_expression "puVar1 = PTR_input_fd_004b1cfc" identifier = identifier) ;) (expression_statement "pcVar2->read_func = readfunc;" (assignment_expression "pcVar2->read_func = readfunc" (field_expression "pcVar2->read_func" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar2->close_func = closefunc;" (assignment_expression "pcVar2->close_func = closefunc" (field_expression "pcVar2->close_func" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar2->str = (char *)0x0;" (assignment_expression "pcVar2->str = (char *)0x0" (field_expression "pcVar2->str" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*(int *)puVar1 = fd;" (assignment_expression "*(int *)puVar1 = fd" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "read_a_line = readfunc;" (assignment_expression "read_a_line = readfunc" identifier = identifier) ;) (expression_statement "input_from_tty = istty;" (assignment_expression "input_from_tty = istty" identifier = identifier) ;) (expression_statement "pcVar2->next = cmd_src;" (assignment_expression "pcVar2->next = cmd_src" (field_expression "pcVar2->next" identifier -> field_identifier) = identifier) ;) (expression_statement "cmd_src = pcVar2;" (assignment_expression "cmd_src = pcVar2" identifier = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00440574(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20);\n  if (puVar2 == (undefined4 *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }\n  puVar2[5] = param_5;\n  *puVar2 = param_1;\n  puVar2[1] = param_2;\n  puVar2[4] = param_6;\n  puVar1 = PTR_input_fd_004b1cfc;\n  puVar2[2] = param_3;\n  puVar2[3] = param_4;\n  puVar2[6] = 0;\n  *(undefined4 *)puVar1 = param_1;\n  input_from_tty = (undefined1)param_2;\n  read_a_line = param_3;\n  puVar2[7] = DAT_004b3ca0;\n  DAT_004b3ca0 = puVar2;\n  return;\n}\n\n" (function_definition "void FUN_00440574(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20);\n  if (puVar2 == (undefined4 *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }\n  puVar2[5] = param_5;\n  *puVar2 = param_1;\n  puVar2[1] = param_2;\n  puVar2[4] = param_6;\n  puVar1 = PTR_input_fd_004b1cfc;\n  puVar2[2] = param_3;\n  puVar2[3] = param_4;\n  puVar2[6] = 0;\n  *(undefined4 *)puVar1 = param_1;\n  input_from_tty = (undefined1)param_2;\n  read_a_line = param_3;\n  puVar2[7] = DAT_004b3ca0;\n  DAT_004b3ca0 = puVar2;\n  return;\n}" primitive_type (function_declarator "FUN_00440574(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" ( (parameter_declaration "undefined4 param_1" type_identifier 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) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20);\n  if (puVar2 == (undefined4 *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }\n  puVar2[5] = param_5;\n  *puVar2 = param_1;\n  puVar2[1] = param_2;\n  puVar2[4] = param_6;\n  puVar1 = PTR_input_fd_004b1cfc;\n  puVar2[2] = param_3;\n  puVar2[3] = param_4;\n  puVar2[6] = 0;\n  *(undefined4 *)puVar1 = param_1;\n  input_from_tty = (undefined1)param_2;\n  read_a_line = param_3;\n  puVar2[7] = DAT_004b3ca0;\n  DAT_004b3ca0 = puVar2;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_004b22d4)(0x20)" (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 "(0x20)" ( number_literal ))))) ;) (if_statement "if (puVar2 == (undefined4 *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }" if (parenthesized_expression "(puVar2 == (undefined4 *)0x0)" ( (binary_expression "puVar2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }" { (expression_statement "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);" (call_expression "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9)" (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",0x7c9)" ( (string_literal ""awk.h"" " string_content ") , number_literal ))) ;) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);" (assignment_expression "uVar3 = (*(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 "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();" (assignment_expression "puVar4 = (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 "uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);" (assignment_expression "uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4)" identifier = (call_expression "(*(code *)PTR_strerror_004b22c4)(*puVar4)" (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 "(*puVar4)" ( (pointer_expression "*puVar4" * identifier) )))) ;) (expression_statement "(*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);" (call_expression "(*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5)" (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 "(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5)" ( identifier , (string_literal ""debug.c"" " string_content ") , number_literal , (string_literal ""push_cmd_src"" " string_content ") , (pointer_expression "&DAT_00498238" & identifier) , number_literal , identifier ))) ;) })) (expression_statement "puVar2[5] = param_5;" (assignment_expression "puVar2[5] = param_5" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar2 = param_1;" (assignment_expression "*puVar2 = param_1" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[4] = param_6;" (assignment_expression "puVar2[4] = param_6" (subscript_expression "puVar2[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = PTR_input_fd_004b1cfc;" (assignment_expression "puVar1 = PTR_input_fd_004b1cfc" identifier = identifier) ;) (expression_statement "puVar2[2] = param_3;" (assignment_expression "puVar2[2] = param_3" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[3] = param_4;" (assignment_expression "puVar2[3] = param_4" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[6] = 0;" (assignment_expression "puVar2[6] = 0" (subscript_expression "puVar2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)puVar1 = param_1;" (assignment_expression "*(undefined4 *)puVar1 = param_1" (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "input_from_tty = (undefined1)param_2;" (assignment_expression "input_from_tty = (undefined1)param_2" identifier = (cast_expression "(undefined1)param_2" ( (type_descriptor "undefined1" type_identifier) ) identifier)) ;) (expression_statement "read_a_line = param_3;" (assignment_expression "read_a_line = param_3" identifier = identifier) ;) (expression_statement "puVar2[7] = DAT_004b3ca0;" (assignment_expression "puVar2[7] = DAT_004b3ca0" (subscript_expression "puVar2[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "DAT_004b3ca0 = puVar2;" (assignment_expression "DAT_004b3ca0 = puVar2" identifier = identifier) ;) (return_statement "return;" return ;) })))
(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) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (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 ( LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 ") , LIT , (string_literal " string_content ") , (pointer_expression & IDENT) , LIT , IDENT ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00440574(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20);\n  if (puVar2 == (undefined4 *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }\n  puVar2[5] = param_5;\n  *puVar2 = param_1;\n  puVar2[1] = param_2;\n  puVar2[4] = param_6;\n  puVar1 = PTR_input_fd_004b1cfc;\n  puVar2[2] = param_3;\n  puVar2[3] = param_4;\n  puVar2[6] = 0;\n  *(undefined4 *)puVar1 = param_1;\n  input_from_tty = (undefined1)param_2;\n  read_a_line = param_3;\n  puVar2[7] = DAT_004b3ca0;\n  DAT_004b3ca0 = puVar2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00440574(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" (identifier "FUN_00440574") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (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")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  \n  puVar2 = (undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20);\n  if (puVar2 == (undefined4 *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }\n  puVar2[5] = param_5;\n  *puVar2 = param_1;\n  puVar2[1] = param_2;\n  puVar2[4] = param_6;\n  puVar1 = PTR_input_fd_004b1cfc;\n  puVar2[2] = param_3;\n  puVar2[3] = param_4;\n  puVar2[6] = 0;\n  *(undefined4 *)puVar1 = param_1;\n  input_from_tty = (undefined1)param_2;\n  read_a_line = param_3;\n  puVar2[7] = DAT_004b3ca0;\n  DAT_004b3ca0 = puVar2;\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_malloc_004b22d4)(0x20)" (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 "(0x20)" (( "(") (number_literal "0x20") () ")"))))) (; ";")) (if_statement "if (puVar2 == (undefined4 *)0x0) {\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }" (if "if") (parenthesized_expression "(puVar2 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar2 == (undefined4 *)0x0" (identifier "puVar2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);\n    uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);\n    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();\n    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);\n    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);\n  }" ({ "{") (expression_statement "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);" (call_expression "(*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9)" (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",0x7c9)" (( "(") (string_literal ""awk.h"" (" """) (string_content "awk.h") (" """)) (, ",") (number_literal "0x7c9") () ")"))) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_004b235c)\n                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5)" (identifier "uVar3") (= "=") (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 "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)()" (identifier "puVar4") (= "=") (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 "uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);" (assignment_expression "uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_strerror_004b22c4)(*puVar4)" (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 "(*puVar4)" (( "(") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);" (call_expression "(*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5)" (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 "(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5)" (( "(") (identifier "uVar3") (, ",") (string_literal ""debug.c"" (" """) (string_content "debug.c") (" """)) (, ",") (number_literal "0x1703") (, ",") (string_literal ""push_cmd_src"" (" """) (string_content "push_cmd_src") (" """)) (, ",") (pointer_expression "&DAT_00498238" (& "&") (identifier "DAT_00498238")) (, ",") (number_literal "0x20") (, ",") (identifier "uVar5") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar2[5] = param_5;" (assignment_expression "puVar2[5] = param_5" (subscript_expression "puVar2[5]" (identifier "puVar2") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "param_5")) (; ";")) (expression_statement "*puVar2 = param_1;" (assignment_expression "*puVar2 = param_1" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "puVar2[4] = param_6;" (assignment_expression "puVar2[4] = param_6" (subscript_expression "puVar2[4]" (identifier "puVar2") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "param_6")) (; ";")) (expression_statement "puVar1 = PTR_input_fd_004b1cfc;" (assignment_expression "puVar1 = PTR_input_fd_004b1cfc" (identifier "puVar1") (= "=") (identifier "PTR_input_fd_004b1cfc")) (; ";")) (expression_statement "puVar2[2] = param_3;" (assignment_expression "puVar2[2] = param_3" (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "puVar2[3] = param_4;" (assignment_expression "puVar2[3] = param_4" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "puVar2[6] = 0;" (assignment_expression "puVar2[6] = 0" (subscript_expression "puVar2[6]" (identifier "puVar2") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)puVar1 = param_1;" (assignment_expression "*(undefined4 *)puVar1 = param_1" (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "input_from_tty = (undefined1)param_2;" (assignment_expression "input_from_tty = (undefined1)param_2" (identifier "input_from_tty") (= "=") (cast_expression "(undefined1)param_2" (( "(") (type_descriptor "undefined1" (type_identifier "undefined1")) () ")") (identifier "param_2"))) (; ";")) (expression_statement "read_a_line = param_3;" (assignment_expression "read_a_line = param_3" (identifier "read_a_line") (= "=") (identifier "param_3")) (; ";")) (expression_statement "puVar2[7] = DAT_004b3ca0;" (assignment_expression "puVar2[7] = DAT_004b3ca0" (subscript_expression "puVar2[7]" (identifier "puVar2") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "DAT_004b3ca0")) (; ";")) (expression_statement "DAT_004b3ca0 = puVar2;" (assignment_expression "DAT_004b3ca0 = puVar2" (identifier "DAT_004b3ca0") (= "=") (identifier "puVar2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(int fd,type_1 istty,type_2 *readfunc,type_3 *closefunc,
                 int ctype,int eofstatus)

{
  type_4 *puVar1;
  type_5 *var_1;
  type_6 uVar3;
  type_6 *puVar4;
  type_6 uVar5;
  type_7 in_register_00000014;
  
  var_1 = (type_5 *)(*(type_8 *)PTR_malloc_004b22d4)(0x20);
  if (var_1 == (type_5 *)0x0) {
    (*(type_8 *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);
    uVar3 = (*(type_8 *)PTR_dcgettext_004b235c)
                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);
    puVar4 = (type_6 *)(*(type_8 *)PTR___errno_location_004b2250)();
    uVar5 = (*(type_8 *)PTR_strerror_004b22c4)(*puVar4);
    (*(type_8 *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);
  }
  var_1->cmd = ctype;
  var_1->fd = fd;
  var_1->is_tty = var_2(in_register_00000014,istty);
  var_1->eof_status = eofstatus;
  puVar1 = PTR_input_fd_004b1cfc;
  var_1->read_func = readfunc;
  var_1->close_func = closefunc;
  var_1->str = (char *)0x0;
  *(int *)puVar1 = fd;
  read_a_line = readfunc;
  input_from_tty = istty;
  var_1->next = cmd_src;
  cmd_src = var_1;
  return;
}


(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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) 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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (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 (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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)) (number_literal) (string_literal (string_content)) (pointer_expression argument: (identifier)) (number_literal) (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (return_statement))))

void MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 undefined4 param_5,undefined4 param_6)

{
  undefined *puVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  
  puVar2 = (undefined4 *)(*(code *)PTR_malloc_004b22d4)(0x20);
  if (puVar2 == (undefined4 *)0x0) {
    (*(code *)PTR_set_loc_004b1b6c)("awk.h",0x7c9);
    uVar3 = (*(code *)PTR_dcgettext_004b235c)
                      (0,"%s:%d:%s: %s: cannot allocate %ld bytes of memory: %s",5);
    puVar4 = (undefined4 *)(*(code *)PTR___errno_location_004b2250)();
    uVar5 = (*(code *)PTR_strerror_004b22c4)(*puVar4);
    (*(code *)PTR_r_fatal_004b1b70)(uVar3,"debug.c",0x1703,"push_cmd_src",&DAT_00498238,0x20,uVar5);
  }
  puVar2[5] = param_5;
  *puVar2 = param_1;
  puVar2[1] = param_2;
  puVar2[4] = param_6;
  puVar1 = PTR_input_fd_004b1cfc;
  puVar2[2] = param_3;
  puVar2[3] = param_4;
  puVar2[6] = 0;
  *(undefined4 *)puVar1 = param_1;
  input_from_tty = (undefined1)param_2;
  read_a_line = param_3;
  puVar2[7] = DAT_004b3ca0;
  DAT_004b3ca0 = puVar2;
  return;
}

