
sh_input_line_state_t * save_input_line_state(sh_input_line_state_t *ls)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined *puVar4;
  
  if ((ls != (sh_input_line_state_t *)0x0) ||
     (ls = (sh_input_line_state_t *)(*(code *)PTR_xmalloc_001565b8)(0x10),
     ls != (sh_input_line_state_t *)0x0)) {
    puVar1 = PTR_pidstat_table_3077__0015656c;
    ls->input_line = *(char **)(PTR_pidstat_table_3077__0015656c + -0x7418);
    puVar2 = PTR_pidstat_table_3077__0015656c;
    ls->input_line_size = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7420);
    puVar3 = PTR_pidstat_table_3077__0015656c;
    ls->input_line_len = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7424);
    puVar4 = PTR_pidstat_table_3077__0015656c;
    ls->input_line_index = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x741c);
    *(undefined4 *)(puVar1 + -0x7418) = 0;
    *(undefined4 *)(puVar4 + -0x741c) = 0;
    *(undefined4 *)(puVar3 + -0x7424) = 0;
    *(undefined4 *)(puVar2 + -0x7420) = 0;
  }
  return ls;
}



undefined4 * save_input_line_state(undefined4 *param_1)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined *puVar4;
  
  if ((param_1 != (undefined4 *)0x0) ||
     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0))
  {
    puVar1 = PTR_DAT_0015656c;
    *param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);
    puVar2 = PTR_DAT_0015656c;
    param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);
    puVar3 = PTR_DAT_0015656c;
    param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);
    puVar4 = PTR_DAT_0015656c;
    param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);
    *(undefined4 *)(puVar1 + -0x7418) = 0;
    *(undefined4 *)(puVar4 + -0x741c) = 0;
    *(undefined4 *)(puVar3 + -0x7424) = 0;
    *(undefined4 *)(puVar2 + -0x7420) = 0;
  }
  return param_1;
}


lui gp,0x12
addiu gp,gp,-0x2344
addu gp,gp,t9
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw gp,0x10(sp)
beq a0,zero,0x000408f4
_lw t9,-0x7f88(gp)
lw a2,-0x7fd4(gp)
lw v0,-0x7418(a2)
sw v0,0x0(a0)
lw v0,-0x7fd4(gp)
lw v1,-0x7420(v0)
sw v1,0x8(a0)
lw v1,-0x7fd4(gp)
lw a1,-0x7424(v1)
sw a1,0xc(a0)
lw a1,-0x7fd4(gp)
lw a3,-0x741c(a1)
sw a3,0x4(a0)
sw zero,-0x7418(a2)
sw zero,-0x741c(a1)
sw zero,-0x7424(v1)
sw zero,-0x7420(v0)
or v0,a0,zero
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
li a0,0x10
jalr t9
_nop
lw gp,0x10(sp)
bne v0,zero,0x000408a4
_or a0,v0,zero
b 0x000408ec
_lw ra,0x1c(sp)
(translation_unit "undefined4 * save_input_line_state(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0))\n  {\n    puVar1 = PTR_DAT_0015656c;\n    *param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);\n    puVar2 = PTR_DAT_0015656c;\n    param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);\n    puVar3 = PTR_DAT_0015656c;\n    param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);\n    puVar4 = PTR_DAT_0015656c;\n    param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }\n  return param_1;\n}\n\n" (function_definition "undefined4 * save_input_line_state(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0))\n  {\n    puVar1 = PTR_DAT_0015656c;\n    *param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);\n    puVar2 = PTR_DAT_0015656c;\n    param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);\n    puVar3 = PTR_DAT_0015656c;\n    param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);\n    puVar4 = PTR_DAT_0015656c;\n    param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }\n  return param_1;\n}" type_identifier (pointer_declarator "* save_input_line_state(undefined4 *param_1)" * (function_declarator "save_input_line_state(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0))\n  {\n    puVar1 = PTR_DAT_0015656c;\n    *param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);\n    puVar2 = PTR_DAT_0015656c;\n    param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);\n    puVar3 = PTR_DAT_0015656c;\n    param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);\n    puVar4 = PTR_DAT_0015656c;\n    param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }\n  return param_1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (if_statement "if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0))\n  {\n    puVar1 = PTR_DAT_0015656c;\n    *param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);\n    puVar2 = PTR_DAT_0015656c;\n    param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);\n    puVar3 = PTR_DAT_0015656c;\n    param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);\n    puVar4 = PTR_DAT_0015656c;\n    param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }" if (parenthesized_expression "((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0))" ( (binary_expression "(param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0)" (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0)" ( (comma_expression "param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0" (assignment_expression "param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001565b8)(0x10)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x10)" ( number_literal ))))) , (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    puVar1 = PTR_DAT_0015656c;\n    *param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);\n    puVar2 = PTR_DAT_0015656c;\n    param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);\n    puVar3 = PTR_DAT_0015656c;\n    param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);\n    puVar4 = PTR_DAT_0015656c;\n    param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }" { (expression_statement "puVar1 = PTR_DAT_0015656c;" (assignment_expression "puVar1 = PTR_DAT_0015656c" identifier = identifier) ;) (expression_statement "*param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);" (assignment_expression "*param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418)" (pointer_expression "*param_1" * identifier) = (pointer_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x7418)" * (cast_expression "(undefined4 *)(PTR_DAT_0015656c + -0x7418)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0015656c + -0x7418)" ( (binary_expression "PTR_DAT_0015656c + -0x7418" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = PTR_DAT_0015656c;" (assignment_expression "puVar2 = PTR_DAT_0015656c" identifier = identifier) ;) (expression_statement "param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);" (assignment_expression "param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x7420)" * (cast_expression "(undefined4 *)(PTR_DAT_0015656c + -0x7420)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0015656c + -0x7420)" ( (binary_expression "PTR_DAT_0015656c + -0x7420" identifier + number_literal) ))))) ;) (expression_statement "puVar3 = PTR_DAT_0015656c;" (assignment_expression "puVar3 = PTR_DAT_0015656c" identifier = identifier) ;) (expression_statement "param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);" (assignment_expression "param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424)" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x7424)" * (cast_expression "(undefined4 *)(PTR_DAT_0015656c + -0x7424)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0015656c + -0x7424)" ( (binary_expression "PTR_DAT_0015656c + -0x7424" identifier + number_literal) ))))) ;) (expression_statement "puVar4 = PTR_DAT_0015656c;" (assignment_expression "puVar4 = PTR_DAT_0015656c" identifier = identifier) ;) (expression_statement "param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);" (assignment_expression "param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x741c)" * (cast_expression "(undefined4 *)(PTR_DAT_0015656c + -0x741c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0015656c + -0x741c)" ( (binary_expression "PTR_DAT_0015656c + -0x741c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x7418) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0x7418) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0x7418)" * (cast_expression "(undefined4 *)(puVar1 + -0x7418)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x7418)" ( (binary_expression "puVar1 + -0x7418" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x741c) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -0x741c) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -0x741c)" * (cast_expression "(undefined4 *)(puVar4 + -0x741c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x741c)" ( (binary_expression "puVar4 + -0x741c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar3 + -0x7424) = 0;" (assignment_expression "*(undefined4 *)(puVar3 + -0x7424) = 0" (pointer_expression "*(undefined4 *)(puVar3 + -0x7424)" * (cast_expression "(undefined4 *)(puVar3 + -0x7424)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + -0x7424)" ( (binary_expression "puVar3 + -0x7424" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0x7420) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0x7420) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0x7420)" * (cast_expression "(undefined4 *)(puVar2 + -0x7420)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x7420)" ( (binary_expression "puVar2 + -0x7420" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "sh_input_line_state_t * save_input_line_state(sh_input_line_state_t *ls)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  if ((ls != (sh_input_line_state_t *)0x0) ||\n     (ls = (sh_input_line_state_t *)(*(code *)PTR_xmalloc_001565b8)(0x10),\n     ls != (sh_input_line_state_t *)0x0)) {\n    puVar1 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line = *(char **)(PTR_pidstat_table_3077__0015656c + -0x7418);\n    puVar2 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line_size = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7420);\n    puVar3 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line_len = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7424);\n    puVar4 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line_index = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }\n  return ls;\n}\n\n" (function_definition "sh_input_line_state_t * save_input_line_state(sh_input_line_state_t *ls)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  if ((ls != (sh_input_line_state_t *)0x0) ||\n     (ls = (sh_input_line_state_t *)(*(code *)PTR_xmalloc_001565b8)(0x10),\n     ls != (sh_input_line_state_t *)0x0)) {\n    puVar1 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line = *(char **)(PTR_pidstat_table_3077__0015656c + -0x7418);\n    puVar2 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line_size = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7420);\n    puVar3 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line_len = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7424);\n    puVar4 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line_index = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }\n  return ls;\n}" type_identifier (pointer_declarator "* save_input_line_state(sh_input_line_state_t *ls)" * (function_declarator "save_input_line_state(sh_input_line_state_t *ls)" identifier (parameter_list "(sh_input_line_state_t *ls)" ( (parameter_declaration "sh_input_line_state_t *ls" type_identifier (pointer_declarator "*ls" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  if ((ls != (sh_input_line_state_t *)0x0) ||\n     (ls = (sh_input_line_state_t *)(*(code *)PTR_xmalloc_001565b8)(0x10),\n     ls != (sh_input_line_state_t *)0x0)) {\n    puVar1 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line = *(char **)(PTR_pidstat_table_3077__0015656c + -0x7418);\n    puVar2 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line_size = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7420);\n    puVar3 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line_len = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7424);\n    puVar4 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line_index = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }\n  return ls;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (if_statement "if ((ls != (sh_input_line_state_t *)0x0) ||\n     (ls = (sh_input_line_state_t *)(*(code *)PTR_xmalloc_001565b8)(0x10),\n     ls != (sh_input_line_state_t *)0x0)) {\n    puVar1 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line = *(char **)(PTR_pidstat_table_3077__0015656c + -0x7418);\n    puVar2 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line_size = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7420);\n    puVar3 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line_len = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7424);\n    puVar4 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line_index = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }" if (parenthesized_expression "((ls != (sh_input_line_state_t *)0x0) ||\n     (ls = (sh_input_line_state_t *)(*(code *)PTR_xmalloc_001565b8)(0x10),\n     ls != (sh_input_line_state_t *)0x0))" ( (binary_expression "(ls != (sh_input_line_state_t *)0x0) ||\n     (ls = (sh_input_line_state_t *)(*(code *)PTR_xmalloc_001565b8)(0x10),\n     ls != (sh_input_line_state_t *)0x0)" (parenthesized_expression "(ls != (sh_input_line_state_t *)0x0)" ( (binary_expression "ls != (sh_input_line_state_t *)0x0" identifier != (cast_expression "(sh_input_line_state_t *)0x0" ( (type_descriptor "sh_input_line_state_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(ls = (sh_input_line_state_t *)(*(code *)PTR_xmalloc_001565b8)(0x10),\n     ls != (sh_input_line_state_t *)0x0)" ( (comma_expression "ls = (sh_input_line_state_t *)(*(code *)PTR_xmalloc_001565b8)(0x10),\n     ls != (sh_input_line_state_t *)0x0" (assignment_expression "ls = (sh_input_line_state_t *)(*(code *)PTR_xmalloc_001565b8)(0x10)" identifier = (cast_expression "(sh_input_line_state_t *)(*(code *)PTR_xmalloc_001565b8)(0x10)" ( (type_descriptor "sh_input_line_state_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001565b8)(0x10)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x10)" ( number_literal ))))) , (binary_expression "ls != (sh_input_line_state_t *)0x0" identifier != (cast_expression "(sh_input_line_state_t *)0x0" ( (type_descriptor "sh_input_line_state_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    puVar1 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line = *(char **)(PTR_pidstat_table_3077__0015656c + -0x7418);\n    puVar2 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line_size = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7420);\n    puVar3 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line_len = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7424);\n    puVar4 = PTR_pidstat_table_3077__0015656c;\n    ls->input_line_index = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }" { (expression_statement "puVar1 = PTR_pidstat_table_3077__0015656c;" (assignment_expression "puVar1 = PTR_pidstat_table_3077__0015656c" identifier = identifier) ;) (expression_statement "ls->input_line = *(char **)(PTR_pidstat_table_3077__0015656c + -0x7418);" (assignment_expression "ls->input_line = *(char **)(PTR_pidstat_table_3077__0015656c + -0x7418)" (field_expression "ls->input_line" identifier -> field_identifier) = (pointer_expression "*(char **)(PTR_pidstat_table_3077__0015656c + -0x7418)" * (cast_expression "(char **)(PTR_pidstat_table_3077__0015656c + -0x7418)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_pidstat_table_3077__0015656c + -0x7418)" ( (binary_expression "PTR_pidstat_table_3077__0015656c + -0x7418" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = PTR_pidstat_table_3077__0015656c;" (assignment_expression "puVar2 = PTR_pidstat_table_3077__0015656c" identifier = identifier) ;) (expression_statement "ls->input_line_size = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7420);" (assignment_expression "ls->input_line_size = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7420)" (field_expression "ls->input_line_size" identifier -> field_identifier) = (pointer_expression "*(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7420)" * (cast_expression "(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7420)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_pidstat_table_3077__0015656c + -0x7420)" ( (binary_expression "PTR_pidstat_table_3077__0015656c + -0x7420" identifier + number_literal) ))))) ;) (expression_statement "puVar3 = PTR_pidstat_table_3077__0015656c;" (assignment_expression "puVar3 = PTR_pidstat_table_3077__0015656c" identifier = identifier) ;) (expression_statement "ls->input_line_len = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7424);" (assignment_expression "ls->input_line_len = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7424)" (field_expression "ls->input_line_len" identifier -> field_identifier) = (pointer_expression "*(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7424)" * (cast_expression "(size_t *)(PTR_pidstat_table_3077__0015656c + -0x7424)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_pidstat_table_3077__0015656c + -0x7424)" ( (binary_expression "PTR_pidstat_table_3077__0015656c + -0x7424" identifier + number_literal) ))))) ;) (expression_statement "puVar4 = PTR_pidstat_table_3077__0015656c;" (assignment_expression "puVar4 = PTR_pidstat_table_3077__0015656c" identifier = identifier) ;) (expression_statement "ls->input_line_index = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x741c);" (assignment_expression "ls->input_line_index = *(size_t *)(PTR_pidstat_table_3077__0015656c + -0x741c)" (field_expression "ls->input_line_index" identifier -> field_identifier) = (pointer_expression "*(size_t *)(PTR_pidstat_table_3077__0015656c + -0x741c)" * (cast_expression "(size_t *)(PTR_pidstat_table_3077__0015656c + -0x741c)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_pidstat_table_3077__0015656c + -0x741c)" ( (binary_expression "PTR_pidstat_table_3077__0015656c + -0x741c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x7418) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0x7418) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0x7418)" * (cast_expression "(undefined4 *)(puVar1 + -0x7418)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x7418)" ( (binary_expression "puVar1 + -0x7418" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x741c) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -0x741c) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -0x741c)" * (cast_expression "(undefined4 *)(puVar4 + -0x741c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x741c)" ( (binary_expression "puVar4 + -0x741c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar3 + -0x7424) = 0;" (assignment_expression "*(undefined4 *)(puVar3 + -0x7424) = 0" (pointer_expression "*(undefined4 *)(puVar3 + -0x7424)" * (cast_expression "(undefined4 *)(puVar3 + -0x7424)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + -0x7424)" ( (binary_expression "puVar3 + -0x7424" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0x7420) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0x7420) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0x7420)" * (cast_expression "(undefined4 *)(puVar2 + -0x7420)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x7420)" ( (binary_expression "puVar2 + -0x7420" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return ls;" return identifier ;) })))
(translation_unit "undefined4 * save_input_line_state(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0))\n  {\n    puVar1 = PTR_DAT_0015656c;\n    *param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);\n    puVar2 = PTR_DAT_0015656c;\n    param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);\n    puVar3 = PTR_DAT_0015656c;\n    param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);\n    puVar4 = PTR_DAT_0015656c;\n    param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }\n  return param_1;\n}\n\n" (function_definition "undefined4 * save_input_line_state(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0))\n  {\n    puVar1 = PTR_DAT_0015656c;\n    *param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);\n    puVar2 = PTR_DAT_0015656c;\n    param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);\n    puVar3 = PTR_DAT_0015656c;\n    param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);\n    puVar4 = PTR_DAT_0015656c;\n    param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }\n  return param_1;\n}" type_identifier (pointer_declarator "* save_input_line_state(undefined4 *param_1)" * (function_declarator "save_input_line_state(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0))\n  {\n    puVar1 = PTR_DAT_0015656c;\n    *param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);\n    puVar2 = PTR_DAT_0015656c;\n    param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);\n    puVar3 = PTR_DAT_0015656c;\n    param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);\n    puVar4 = PTR_DAT_0015656c;\n    param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }\n  return param_1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (if_statement "if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0))\n  {\n    puVar1 = PTR_DAT_0015656c;\n    *param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);\n    puVar2 = PTR_DAT_0015656c;\n    param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);\n    puVar3 = PTR_DAT_0015656c;\n    param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);\n    puVar4 = PTR_DAT_0015656c;\n    param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }" if (parenthesized_expression "((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0))" ( (binary_expression "(param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0)" (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0)" ( (comma_expression "param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0" (assignment_expression "param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001565b8)(0x10)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x10)" ( number_literal ))))) , (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    puVar1 = PTR_DAT_0015656c;\n    *param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);\n    puVar2 = PTR_DAT_0015656c;\n    param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);\n    puVar3 = PTR_DAT_0015656c;\n    param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);\n    puVar4 = PTR_DAT_0015656c;\n    param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }" { (expression_statement "puVar1 = PTR_DAT_0015656c;" (assignment_expression "puVar1 = PTR_DAT_0015656c" identifier = identifier) ;) (expression_statement "*param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);" (assignment_expression "*param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418)" (pointer_expression "*param_1" * identifier) = (pointer_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x7418)" * (cast_expression "(undefined4 *)(PTR_DAT_0015656c + -0x7418)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0015656c + -0x7418)" ( (binary_expression "PTR_DAT_0015656c + -0x7418" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = PTR_DAT_0015656c;" (assignment_expression "puVar2 = PTR_DAT_0015656c" identifier = identifier) ;) (expression_statement "param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);" (assignment_expression "param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x7420)" * (cast_expression "(undefined4 *)(PTR_DAT_0015656c + -0x7420)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0015656c + -0x7420)" ( (binary_expression "PTR_DAT_0015656c + -0x7420" identifier + number_literal) ))))) ;) (expression_statement "puVar3 = PTR_DAT_0015656c;" (assignment_expression "puVar3 = PTR_DAT_0015656c" identifier = identifier) ;) (expression_statement "param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);" (assignment_expression "param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424)" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x7424)" * (cast_expression "(undefined4 *)(PTR_DAT_0015656c + -0x7424)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0015656c + -0x7424)" ( (binary_expression "PTR_DAT_0015656c + -0x7424" identifier + number_literal) ))))) ;) (expression_statement "puVar4 = PTR_DAT_0015656c;" (assignment_expression "puVar4 = PTR_DAT_0015656c" identifier = identifier) ;) (expression_statement "param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);" (assignment_expression "param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x741c)" * (cast_expression "(undefined4 *)(PTR_DAT_0015656c + -0x741c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0015656c + -0x741c)" ( (binary_expression "PTR_DAT_0015656c + -0x741c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x7418) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0x7418) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0x7418)" * (cast_expression "(undefined4 *)(puVar1 + -0x7418)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x7418)" ( (binary_expression "puVar1 + -0x7418" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x741c) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -0x741c) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -0x741c)" * (cast_expression "(undefined4 *)(puVar4 + -0x741c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x741c)" ( (binary_expression "puVar4 + -0x741c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar3 + -0x7424) = 0;" (assignment_expression "*(undefined4 *)(puVar3 + -0x7424) = 0" (pointer_expression "*(undefined4 *)(puVar3 + -0x7424)" * (cast_expression "(undefined4 *)(puVar3 + -0x7424)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + -0x7424)" ( (binary_expression "puVar3 + -0x7424" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0x7420) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0x7420) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0x7420)" * (cast_expression "(undefined4 *)(puVar2 + -0x7420)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x7420)" ( (binary_expression "puVar2 + -0x7420" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (comma_expression (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 ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 * save_input_line_state(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0))\n  {\n    puVar1 = PTR_DAT_0015656c;\n    *param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);\n    puVar2 = PTR_DAT_0015656c;\n    param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);\n    puVar3 = PTR_DAT_0015656c;\n    param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);\n    puVar4 = PTR_DAT_0015656c;\n    param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }\n  return param_1;\n}" (type_identifier "undefined4") (pointer_declarator "* save_input_line_state(undefined4 *param_1)" (* "*") (function_declarator "save_input_line_state(undefined4 *param_1)" (identifier "save_input_line_state") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  \n  if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0))\n  {\n    puVar1 = PTR_DAT_0015656c;\n    *param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);\n    puVar2 = PTR_DAT_0015656c;\n    param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);\n    puVar3 = PTR_DAT_0015656c;\n    param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);\n    puVar4 = PTR_DAT_0015656c;\n    param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }\n  return param_1;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (if_statement "if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0))\n  {\n    puVar1 = PTR_DAT_0015656c;\n    *param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);\n    puVar2 = PTR_DAT_0015656c;\n    param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);\n    puVar3 = PTR_DAT_0015656c;\n    param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);\n    puVar4 = PTR_DAT_0015656c;\n    param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }" (if "if") (parenthesized_expression "((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0))" (( "(") (binary_expression "(param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0)" (parenthesized_expression "(param_1 != (undefined4 *)0x0)" (( "(") (binary_expression "param_1 != (undefined4 *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0)" (( "(") (comma_expression "param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0" (assignment_expression "param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10)" (identifier "param_1") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_001565b8)(0x10)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001565b8" (* "*") (cast_expression "(code *)PTR_xmalloc_001565b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001565b8"))) () ")")) (argument_list "(0x10)" (( "(") (number_literal "0x10") () ")"))))) (, ",") (binary_expression "param_1 != (undefined4 *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n    puVar1 = PTR_DAT_0015656c;\n    *param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);\n    puVar2 = PTR_DAT_0015656c;\n    param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);\n    puVar3 = PTR_DAT_0015656c;\n    param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);\n    puVar4 = PTR_DAT_0015656c;\n    param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);\n    *(undefined4 *)(puVar1 + -0x7418) = 0;\n    *(undefined4 *)(puVar4 + -0x741c) = 0;\n    *(undefined4 *)(puVar3 + -0x7424) = 0;\n    *(undefined4 *)(puVar2 + -0x7420) = 0;\n  }" ({ "{") (expression_statement "puVar1 = PTR_DAT_0015656c;" (assignment_expression "puVar1 = PTR_DAT_0015656c" (identifier "puVar1") (= "=") (identifier "PTR_DAT_0015656c")) (; ";")) (expression_statement "*param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);" (assignment_expression "*param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x7418)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0015656c + -0x7418)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0015656c + -0x7418)" (( "(") (binary_expression "PTR_DAT_0015656c + -0x7418" (identifier "PTR_DAT_0015656c") (+ "+") (number_literal "-0x7418")) () ")"))))) (; ";")) (expression_statement "puVar2 = PTR_DAT_0015656c;" (assignment_expression "puVar2 = PTR_DAT_0015656c" (identifier "puVar2") (= "=") (identifier "PTR_DAT_0015656c")) (; ";")) (expression_statement "param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);" (assignment_expression "param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420)" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x7420)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0015656c + -0x7420)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0015656c + -0x7420)" (( "(") (binary_expression "PTR_DAT_0015656c + -0x7420" (identifier "PTR_DAT_0015656c") (+ "+") (number_literal "-0x7420")) () ")"))))) (; ";")) (expression_statement "puVar3 = PTR_DAT_0015656c;" (assignment_expression "puVar3 = PTR_DAT_0015656c" (identifier "puVar3") (= "=") (identifier "PTR_DAT_0015656c")) (; ";")) (expression_statement "param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);" (assignment_expression "param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424)" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x7424)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0015656c + -0x7424)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0015656c + -0x7424)" (( "(") (binary_expression "PTR_DAT_0015656c + -0x7424" (identifier "PTR_DAT_0015656c") (+ "+") (number_literal "-0x7424")) () ")"))))) (; ";")) (expression_statement "puVar4 = PTR_DAT_0015656c;" (assignment_expression "puVar4 = PTR_DAT_0015656c" (identifier "puVar4") (= "=") (identifier "PTR_DAT_0015656c")) (; ";")) (expression_statement "param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);" (assignment_expression "param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x741c)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0015656c + -0x741c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0015656c + -0x741c)" (( "(") (binary_expression "PTR_DAT_0015656c + -0x741c" (identifier "PTR_DAT_0015656c") (+ "+") (number_literal "-0x741c")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + -0x7418) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0x7418) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0x7418)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0x7418)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x7418)" (( "(") (binary_expression "puVar1 + -0x7418" (identifier "puVar1") (+ "+") (number_literal "-0x7418")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(puVar4 + -0x741c) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -0x741c) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -0x741c)" (* "*") (cast_expression "(undefined4 *)(puVar4 + -0x741c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0x741c)" (( "(") (binary_expression "puVar4 + -0x741c" (identifier "puVar4") (+ "+") (number_literal "-0x741c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(puVar3 + -0x7424) = 0;" (assignment_expression "*(undefined4 *)(puVar3 + -0x7424) = 0" (pointer_expression "*(undefined4 *)(puVar3 + -0x7424)" (* "*") (cast_expression "(undefined4 *)(puVar3 + -0x7424)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + -0x7424)" (( "(") (binary_expression "puVar3 + -0x7424" (identifier "puVar3") (+ "+") (number_literal "-0x7424")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(puVar2 + -0x7420) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0x7420) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0x7420)" (* "*") (cast_expression "(undefined4 *)(puVar2 + -0x7420)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x7420)" (( "(") (binary_expression "puVar2 + -0x7420" (identifier "puVar2") (+ "+") (number_literal "-0x7420")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator 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: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (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))))) right: (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 (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (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: (parenthesized_expression (binary_expression left: (identifier) right: (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: (parenthesized_expression (binary_expression left: (identifier) right: (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (return_statement (identifier)))))

undefined4 * MASKED(undefined4 *param_1)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined *puVar4;
  
  if ((param_1 != (undefined4 *)0x0) ||
     (param_1 = (undefined4 *)(*(code *)PTR_xmalloc_001565b8)(0x10), param_1 != (undefined4 *)0x0))
  {
    puVar1 = PTR_DAT_0015656c;
    *param_1 = *(undefined4 *)(PTR_DAT_0015656c + -0x7418);
    puVar2 = PTR_DAT_0015656c;
    param_1[2] = *(undefined4 *)(PTR_DAT_0015656c + -0x7420);
    puVar3 = PTR_DAT_0015656c;
    param_1[3] = *(undefined4 *)(PTR_DAT_0015656c + -0x7424);
    puVar4 = PTR_DAT_0015656c;
    param_1[1] = *(undefined4 *)(PTR_DAT_0015656c + -0x741c);
    *(undefined4 *)(puVar1 + -0x7418) = 0;
    *(undefined4 *)(puVar4 + -0x741c) = 0;
    *(undefined4 *)(puVar3 + -0x7424) = 0;
    *(undefined4 *)(puVar2 + -0x7420) = 0;
  }
  return param_1;
}

