
sh_parser_state_t * save_parser_state(sh_parser_state_t *ps)

{
  REDIRECT *pRVar1;
  int iVar2;
  int *piVar3;
  ARRAY *pAVar4;
  
  if ((ps != (sh_parser_state_t *)0x0) ||
     (ps = (sh_parser_state_t *)xmalloc(0xe8), ps != (sh_parser_state_t *)0x0)) {
    ps->parser_state = parser_state;
    piVar3 = save_token_state();
    ps->token_state = piVar3;
    ps->input_line_terminator = shell_input_line_terminator;
    ps->eof_encountered = eof_encountered;
    ps->prompt_string_pointer = prompt_string_pointer;
    ps->current_command_line_count = current_command_line_count;
    ps->remember_on_history = remember_on_history;
    ps->history_expansion_inhibited = history_expansion_inhibited;
    ps->last_command_exit_value = last_command_exit_value;
    pAVar4 = save_pipestatus_array();
    ps->pipestatus = pAVar4;
    ps->last_shell_builtin = last_shell_builtin;
    ps->this_shell_builtin = this_shell_builtin;
    ps->expand_aliases = expand_aliases;
    ps->echo_input_at_read = echo_input_at_read;
    iVar2 = need_here_doc;
    ps->need_here_doc = need_here_doc;
    ps->here_doc_first_line = here_doc_first_line;
    pRVar1 = redir_stack[1];
    if (iVar2 == 0) {
      ps->redir_stack[0] = (REDIRECT *)0x0;
    }
    else {
      ps->redir_stack[0] = redir_stack[0];
      ps->redir_stack[1] = pRVar1;
      pRVar1 = redir_stack[3];
      ps->redir_stack[2] = redir_stack[2];
      ps->redir_stack[3] = pRVar1;
      pRVar1 = redir_stack[5];
      ps->redir_stack[4] = redir_stack[4];
      ps->redir_stack[5] = pRVar1;
      pRVar1 = redir_stack[7];
      ps->redir_stack[6] = redir_stack[6];
      ps->redir_stack[7] = pRVar1;
      pRVar1 = redir_stack[9];
      ps->redir_stack[8] = redir_stack[8];
      ps->redir_stack[9] = pRVar1;
      pRVar1 = redir_stack[0xb];
      ps->redir_stack[10] = redir_stack[10];
      ps->redir_stack[0xb] = pRVar1;
      pRVar1 = redir_stack[0xd];
      ps->redir_stack[0xc] = redir_stack[0xc];
      ps->redir_stack[0xd] = pRVar1;
      pRVar1 = redir_stack[0xf];
      ps->redir_stack[0xe] = redir_stack[0xe];
      ps->redir_stack[0xf] = pRVar1;
    }
    ps->token = token;
    ps->token_buffer_size = token_buffer_size;
    token = (char *)0x0;
    token_buffer_size = 0;
  }
  return ps;
}



/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

undefined4 * save_parser_state(undefined4 *param_1)

{
  int iVar1;
  undefined8 uVar2;
  
  if ((param_1 != (undefined4 *)0x0) ||
     (param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0)) {
    *param_1 = parser_state;
    uVar2 = save_token_state();
    *(undefined8 *)(param_1 + 2) = uVar2;
    param_1[7] = DAT_0021314c;
    param_1[8] = eof_encountered;
    *(undefined8 *)(param_1 + 10) = prompt_string_pointer;
    param_1[0xc] = current_command_line_count;
    param_1[0xd] = remember_on_history;
    param_1[0xe] = history_expansion_inhibited;
    param_1[0xf] = last_command_exit_value;
    uVar2 = save_pipestatus_array();
    *(undefined8 *)(param_1 + 0x10) = uVar2;
    *(undefined8 *)(param_1 + 0x12) = last_shell_builtin;
    *(undefined8 *)(param_1 + 0x14) = this_shell_builtin;
    param_1[0x16] = expand_aliases;
    param_1[0x17] = echo_input_at_read;
    iVar1 = need_here_doc;
    param_1[0x18] = need_here_doc;
    param_1[0x19] = here_doc_first_line;
    uVar2 = DAT_00213188;
    if (iVar1 == 0) {
      *(undefined8 *)(param_1 + 0x1a) = 0;
    }
    else {
      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;
      *(undefined8 *)(param_1 + 0x1c) = uVar2;
      uVar2 = uRam0000000000213198;
      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;
      *(undefined8 *)(param_1 + 0x20) = uVar2;
      uVar2 = uRam00000000002131a8;
      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;
      *(undefined8 *)(param_1 + 0x24) = uVar2;
      uVar2 = uRam00000000002131b8;
      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;
      *(undefined8 *)(param_1 + 0x28) = uVar2;
      uVar2 = uRam00000000002131c8;
      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;
      *(undefined8 *)(param_1 + 0x2c) = uVar2;
      uVar2 = uRam00000000002131d8;
      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;
      *(undefined8 *)(param_1 + 0x30) = uVar2;
      uVar2 = uRam00000000002131e8;
      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;
      *(undefined8 *)(param_1 + 0x34) = uVar2;
      uVar2 = uRam00000000002131f8;
      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;
      *(undefined8 *)(param_1 + 0x38) = uVar2;
    }
    *(undefined8 *)(param_1 + 4) = DAT_00212ee8;
    param_1[6] = DAT_00212ee0;
    DAT_00212ee8 = 0;
    DAT_00212ee0 = 0;
  }
  return param_1;
}


PUSH RBX
MOV RBX,RDI
TEST RDI,RDI
JZ 0x0013b857
MOV EAX,dword ptr [0x002178e4]
MOV dword ptr [RBX],EAX
CALL 0x00131acc
MOV qword ptr [RBX + 0x8],RAX
MOV EAX,dword ptr [0x0021314c]
MOV dword ptr [RBX + 0x1c],EAX
MOV EAX,dword ptr [0x00212e40]
MOV dword ptr [RBX + 0x20],EAX
MOV RAX,qword ptr [0x00212e98]
MOV qword ptr [RBX + 0x28],RAX
MOV EAX,dword ptr [0x002178ec]
MOV dword ptr [RBX + 0x30],EAX
MOV EAX,dword ptr [0x00215be8]
MOV dword ptr [RBX + 0x34],EAX
MOV EAX,dword ptr [0x0021c434]
MOV dword ptr [RBX + 0x38],EAX
MOV EAX,dword ptr [0x00217b28]
MOV dword ptr [RBX + 0x3c],EAX
CALL 0x0015038c
MOV qword ptr [RBX + 0x40],RAX
MOV RAX,qword ptr [0x00215f30]
MOV qword ptr [RBX + 0x48],RAX
MOV RAX,qword ptr [0x00215f28]
MOV qword ptr [RBX + 0x50],RAX
MOV EAX,dword ptr [0x00212e94]
MOV dword ptr [RBX + 0x58],EAX
MOV EAX,dword ptr [0x002145bc]
MOV dword ptr [RBX + 0x5c],EAX
MOV EAX,dword ptr [0x00217924]
MOV dword ptr [RBX + 0x60],EAX
MOV EDX,dword ptr [0x00214280]
MOV dword ptr [RBX + 0x64],EDX
TEST EAX,EAX
JNZ 0x0013b86e
MOV qword ptr [RBX + 0x68],0x0
MOV RAX,qword ptr [0x00212ee8]
MOV qword ptr [RBX + 0x10],RAX
MOV EAX,dword ptr [0x00212ee0]
MOV dword ptr [RBX + 0x18],EAX
MOV qword ptr [0x00212ee8],0x0
MOV dword ptr [0x00212ee0],0x0
MOV RAX,RBX
POP RBX
RET
MOV EDI,0xe8
CALL 0x00188151
TEST RAX,RAX
JZ 0x0013b855
MOV RBX,RAX
JMP 0x0013b788
MOVDQA XMM0,xmmword ptr [0x00213180]
MOVUPS xmmword ptr [RBX + 0x68],XMM0
MOVDQA XMM1,xmmword ptr [0x00213190]
MOVUPS xmmword ptr [RBX + 0x78],XMM1
MOVDQA XMM2,xmmword ptr [0x002131a0]
MOVUPS xmmword ptr [RBX + 0x88],XMM2
MOVDQA XMM3,xmmword ptr [0x002131b0]
MOVUPS xmmword ptr [RBX + 0x98],XMM3
MOVDQA XMM4,xmmword ptr [0x002131c0]
MOVUPS xmmword ptr [RBX + 0xa8],XMM4
MOVDQA XMM5,xmmword ptr [0x002131d0]
MOVUPS xmmword ptr [RBX + 0xb8],XMM5
MOVDQA XMM6,xmmword ptr [0x002131e0]
MOVUPS xmmword ptr [RBX + 0xc8],XMM6
MOVDQA XMM7,xmmword ptr [0x002131f0]
MOVUPS xmmword ptr [RBX + 0xd8],XMM7
JMP 0x0013b829
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined4 * save_parser_state(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0)) {\n    *param_1 = parser_state;\n    uVar2 = save_token_state();\n    *(undefined8 *)(param_1 + 2) = uVar2;\n    param_1[7] = DAT_0021314c;\n    param_1[8] = eof_encountered;\n    *(undefined8 *)(param_1 + 10) = prompt_string_pointer;\n    param_1[0xc] = current_command_line_count;\n    param_1[0xd] = remember_on_history;\n    param_1[0xe] = history_expansion_inhibited;\n    param_1[0xf] = last_command_exit_value;\n    uVar2 = save_pipestatus_array();\n    *(undefined8 *)(param_1 + 0x10) = uVar2;\n    *(undefined8 *)(param_1 + 0x12) = last_shell_builtin;\n    *(undefined8 *)(param_1 + 0x14) = this_shell_builtin;\n    param_1[0x16] = expand_aliases;\n    param_1[0x17] = echo_input_at_read;\n    iVar1 = need_here_doc;\n    param_1[0x18] = need_here_doc;\n    param_1[0x19] = here_doc_first_line;\n    uVar2 = DAT_00213188;\n    if (iVar1 == 0) {\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }\n    else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }\n    *(undefined8 *)(param_1 + 4) = DAT_00212ee8;\n    param_1[6] = DAT_00212ee0;\n    DAT_00212ee8 = 0;\n    DAT_00212ee0 = 0;\n  }\n  return param_1;\n}\n\n" comment (function_definition "undefined4 * save_parser_state(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0)) {\n    *param_1 = parser_state;\n    uVar2 = save_token_state();\n    *(undefined8 *)(param_1 + 2) = uVar2;\n    param_1[7] = DAT_0021314c;\n    param_1[8] = eof_encountered;\n    *(undefined8 *)(param_1 + 10) = prompt_string_pointer;\n    param_1[0xc] = current_command_line_count;\n    param_1[0xd] = remember_on_history;\n    param_1[0xe] = history_expansion_inhibited;\n    param_1[0xf] = last_command_exit_value;\n    uVar2 = save_pipestatus_array();\n    *(undefined8 *)(param_1 + 0x10) = uVar2;\n    *(undefined8 *)(param_1 + 0x12) = last_shell_builtin;\n    *(undefined8 *)(param_1 + 0x14) = this_shell_builtin;\n    param_1[0x16] = expand_aliases;\n    param_1[0x17] = echo_input_at_read;\n    iVar1 = need_here_doc;\n    param_1[0x18] = need_here_doc;\n    param_1[0x19] = here_doc_first_line;\n    uVar2 = DAT_00213188;\n    if (iVar1 == 0) {\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }\n    else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }\n    *(undefined8 *)(param_1 + 4) = DAT_00212ee8;\n    param_1[6] = DAT_00212ee0;\n    DAT_00212ee8 = 0;\n    DAT_00212ee0 = 0;\n  }\n  return param_1;\n}" type_identifier (pointer_declarator "* save_parser_state(undefined4 *param_1)" * (function_declarator "save_parser_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  int iVar1;\n  undefined8 uVar2;\n  \n  if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0)) {\n    *param_1 = parser_state;\n    uVar2 = save_token_state();\n    *(undefined8 *)(param_1 + 2) = uVar2;\n    param_1[7] = DAT_0021314c;\n    param_1[8] = eof_encountered;\n    *(undefined8 *)(param_1 + 10) = prompt_string_pointer;\n    param_1[0xc] = current_command_line_count;\n    param_1[0xd] = remember_on_history;\n    param_1[0xe] = history_expansion_inhibited;\n    param_1[0xf] = last_command_exit_value;\n    uVar2 = save_pipestatus_array();\n    *(undefined8 *)(param_1 + 0x10) = uVar2;\n    *(undefined8 *)(param_1 + 0x12) = last_shell_builtin;\n    *(undefined8 *)(param_1 + 0x14) = this_shell_builtin;\n    param_1[0x16] = expand_aliases;\n    param_1[0x17] = echo_input_at_read;\n    iVar1 = need_here_doc;\n    param_1[0x18] = need_here_doc;\n    param_1[0x19] = here_doc_first_line;\n    uVar2 = DAT_00213188;\n    if (iVar1 == 0) {\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }\n    else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }\n    *(undefined8 *)(param_1 + 4) = DAT_00212ee8;\n    param_1[6] = DAT_00212ee0;\n    DAT_00212ee8 = 0;\n    DAT_00212ee0 = 0;\n  }\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (if_statement "if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0)) {\n    *param_1 = parser_state;\n    uVar2 = save_token_state();\n    *(undefined8 *)(param_1 + 2) = uVar2;\n    param_1[7] = DAT_0021314c;\n    param_1[8] = eof_encountered;\n    *(undefined8 *)(param_1 + 10) = prompt_string_pointer;\n    param_1[0xc] = current_command_line_count;\n    param_1[0xd] = remember_on_history;\n    param_1[0xe] = history_expansion_inhibited;\n    param_1[0xf] = last_command_exit_value;\n    uVar2 = save_pipestatus_array();\n    *(undefined8 *)(param_1 + 0x10) = uVar2;\n    *(undefined8 *)(param_1 + 0x12) = last_shell_builtin;\n    *(undefined8 *)(param_1 + 0x14) = this_shell_builtin;\n    param_1[0x16] = expand_aliases;\n    param_1[0x17] = echo_input_at_read;\n    iVar1 = need_here_doc;\n    param_1[0x18] = need_here_doc;\n    param_1[0x19] = here_doc_first_line;\n    uVar2 = DAT_00213188;\n    if (iVar1 == 0) {\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }\n    else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }\n    *(undefined8 *)(param_1 + 4) = DAT_00212ee8;\n    param_1[6] = DAT_00212ee0;\n    DAT_00212ee8 = 0;\n    DAT_00212ee0 = 0;\n  }" if (parenthesized_expression "((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0))" ( (binary_expression "(param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)xmalloc(0xe8), 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 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0)" ( (comma_expression "param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0" (assignment_expression "param_1 = (undefined4 *)xmalloc(0xe8)" identifier = (cast_expression "(undefined4 *)xmalloc(0xe8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0xe8)" identifier (argument_list "(0xe8)" ( 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    *param_1 = parser_state;\n    uVar2 = save_token_state();\n    *(undefined8 *)(param_1 + 2) = uVar2;\n    param_1[7] = DAT_0021314c;\n    param_1[8] = eof_encountered;\n    *(undefined8 *)(param_1 + 10) = prompt_string_pointer;\n    param_1[0xc] = current_command_line_count;\n    param_1[0xd] = remember_on_history;\n    param_1[0xe] = history_expansion_inhibited;\n    param_1[0xf] = last_command_exit_value;\n    uVar2 = save_pipestatus_array();\n    *(undefined8 *)(param_1 + 0x10) = uVar2;\n    *(undefined8 *)(param_1 + 0x12) = last_shell_builtin;\n    *(undefined8 *)(param_1 + 0x14) = this_shell_builtin;\n    param_1[0x16] = expand_aliases;\n    param_1[0x17] = echo_input_at_read;\n    iVar1 = need_here_doc;\n    param_1[0x18] = need_here_doc;\n    param_1[0x19] = here_doc_first_line;\n    uVar2 = DAT_00213188;\n    if (iVar1 == 0) {\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }\n    else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }\n    *(undefined8 *)(param_1 + 4) = DAT_00212ee8;\n    param_1[6] = DAT_00212ee0;\n    DAT_00212ee8 = 0;\n    DAT_00212ee0 = 0;\n  }" { (expression_statement "*param_1 = parser_state;" (assignment_expression "*param_1 = parser_state" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "uVar2 = save_token_state();" (assignment_expression "uVar2 = save_token_state()" identifier = (call_expression "save_token_state()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined8 *)(param_1 + 2) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 2) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 2)" * (cast_expression "(undefined8 *)(param_1 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[7] = DAT_0021314c;" (assignment_expression "param_1[7] = DAT_0021314c" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[8] = eof_encountered;" (assignment_expression "param_1[8] = eof_encountered" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 10) = prompt_string_pointer;" (assignment_expression "*(undefined8 *)(param_1 + 10) = prompt_string_pointer" (pointer_expression "*(undefined8 *)(param_1 + 10)" * (cast_expression "(undefined8 *)(param_1 + 10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[0xc] = current_command_line_count;" (assignment_expression "param_1[0xc] = current_command_line_count" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0xd] = remember_on_history;" (assignment_expression "param_1[0xd] = remember_on_history" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0xe] = history_expansion_inhibited;" (assignment_expression "param_1[0xe] = history_expansion_inhibited" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0xf] = last_command_exit_value;" (assignment_expression "param_1[0xf] = last_command_exit_value" (subscript_expression "param_1[0xf]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = save_pipestatus_array();" (assignment_expression "uVar2 = save_pipestatus_array()" identifier = (call_expression "save_pipestatus_array()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined8 *)(param_1 + 0x10) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x12) = last_shell_builtin;" (assignment_expression "*(undefined8 *)(param_1 + 0x12) = last_shell_builtin" (pointer_expression "*(undefined8 *)(param_1 + 0x12)" * (cast_expression "(undefined8 *)(param_1 + 0x12)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x12)" ( (binary_expression "param_1 + 0x12" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x14) = this_shell_builtin;" (assignment_expression "*(undefined8 *)(param_1 + 0x14) = this_shell_builtin" (pointer_expression "*(undefined8 *)(param_1 + 0x14)" * (cast_expression "(undefined8 *)(param_1 + 0x14)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[0x16] = expand_aliases;" (assignment_expression "param_1[0x16] = expand_aliases" (subscript_expression "param_1[0x16]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0x17] = echo_input_at_read;" (assignment_expression "param_1[0x17] = echo_input_at_read" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar1 = need_here_doc;" (assignment_expression "iVar1 = need_here_doc" identifier = identifier) ;) (expression_statement "param_1[0x18] = need_here_doc;" (assignment_expression "param_1[0x18] = need_here_doc" (subscript_expression "param_1[0x18]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0x19] = here_doc_first_line;" (assignment_expression "param_1[0x19] = here_doc_first_line" (subscript_expression "param_1[0x19]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = DAT_00213188;" (assignment_expression "uVar2 = DAT_00213188" identifier = identifier) ;) (if_statement "if (iVar1 == 0) {\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }\n    else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }" { (expression_statement "*(undefined8 *)(param_1 + 0x1a) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x1a) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x1a)" * (cast_expression "(undefined8 *)(param_1 + 0x1a)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1a)" ( (binary_expression "param_1 + 0x1a" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }" else (compound_statement "{\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }" { (expression_statement "*(undefined8 *)(param_1 + 0x1a) = DAT_00213180;" (assignment_expression "*(undefined8 *)(param_1 + 0x1a) = DAT_00213180" (pointer_expression "*(undefined8 *)(param_1 + 0x1a)" * (cast_expression "(undefined8 *)(param_1 + 0x1a)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1a)" ( (binary_expression "param_1 + 0x1a" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x1c) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x1c) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x1c)" * (cast_expression "(undefined8 *)(param_1 + 0x1c)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = uRam0000000000213198;" (assignment_expression "uVar2 = uRam0000000000213198" identifier = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;" (assignment_expression "*(undefined8 *)(param_1 + 0x1e) = _DAT_00213190" (pointer_expression "*(undefined8 *)(param_1 + 0x1e)" * (cast_expression "(undefined8 *)(param_1 + 0x1e)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1e)" ( (binary_expression "param_1 + 0x1e" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x20) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x20) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x20)" * (cast_expression "(undefined8 *)(param_1 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = uRam00000000002131a8;" (assignment_expression "uVar2 = uRam00000000002131a8" identifier = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;" (assignment_expression "*(undefined8 *)(param_1 + 0x22) = _DAT_002131a0" (pointer_expression "*(undefined8 *)(param_1 + 0x22)" * (cast_expression "(undefined8 *)(param_1 + 0x22)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x22)" ( (binary_expression "param_1 + 0x22" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x24) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x24) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x24)" * (cast_expression "(undefined8 *)(param_1 + 0x24)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = uRam00000000002131b8;" (assignment_expression "uVar2 = uRam00000000002131b8" identifier = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;" (assignment_expression "*(undefined8 *)(param_1 + 0x26) = _DAT_002131b0" (pointer_expression "*(undefined8 *)(param_1 + 0x26)" * (cast_expression "(undefined8 *)(param_1 + 0x26)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x26)" ( (binary_expression "param_1 + 0x26" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x28) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x28) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x28)" * (cast_expression "(undefined8 *)(param_1 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = uRam00000000002131c8;" (assignment_expression "uVar2 = uRam00000000002131c8" identifier = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;" (assignment_expression "*(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0" (pointer_expression "*(undefined8 *)(param_1 + 0x2a)" * (cast_expression "(undefined8 *)(param_1 + 0x2a)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2a)" ( (binary_expression "param_1 + 0x2a" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x2c) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x2c) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x2c)" * (cast_expression "(undefined8 *)(param_1 + 0x2c)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = uRam00000000002131d8;" (assignment_expression "uVar2 = uRam00000000002131d8" identifier = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;" (assignment_expression "*(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0" (pointer_expression "*(undefined8 *)(param_1 + 0x2e)" * (cast_expression "(undefined8 *)(param_1 + 0x2e)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2e)" ( (binary_expression "param_1 + 0x2e" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x30) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x30) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = uRam00000000002131e8;" (assignment_expression "uVar2 = uRam00000000002131e8" identifier = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;" (assignment_expression "*(undefined8 *)(param_1 + 0x32) = _DAT_002131e0" (pointer_expression "*(undefined8 *)(param_1 + 0x32)" * (cast_expression "(undefined8 *)(param_1 + 0x32)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x32)" ( (binary_expression "param_1 + 0x32" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x34) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x34) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x34)" * (cast_expression "(undefined8 *)(param_1 + 0x34)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = uRam00000000002131f8;" (assignment_expression "uVar2 = uRam00000000002131f8" identifier = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;" (assignment_expression "*(undefined8 *)(param_1 + 0x36) = _DAT_002131f0" (pointer_expression "*(undefined8 *)(param_1 + 0x36)" * (cast_expression "(undefined8 *)(param_1 + 0x36)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x36)" ( (binary_expression "param_1 + 0x36" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x38) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x38) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x38)" * (cast_expression "(undefined8 *)(param_1 + 0x38)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) = identifier) ;) }))) (expression_statement "*(undefined8 *)(param_1 + 4) = DAT_00212ee8;" (assignment_expression "*(undefined8 *)(param_1 + 4) = DAT_00212ee8" (pointer_expression "*(undefined8 *)(param_1 + 4)" * (cast_expression "(undefined8 *)(param_1 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[6] = DAT_00212ee0;" (assignment_expression "param_1[6] = DAT_00212ee0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "DAT_00212ee8 = 0;" (assignment_expression "DAT_00212ee8 = 0" identifier = number_literal) ;) (expression_statement "DAT_00212ee0 = 0;" (assignment_expression "DAT_00212ee0 = 0" identifier = number_literal) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "sh_parser_state_t * save_parser_state(sh_parser_state_t *ps)\n\n{\n  REDIRECT *pRVar1;\n  int iVar2;\n  int *piVar3;\n  ARRAY *pAVar4;\n  \n  if ((ps != (sh_parser_state_t *)0x0) ||\n     (ps = (sh_parser_state_t *)xmalloc(0xe8), ps != (sh_parser_state_t *)0x0)) {\n    ps->parser_state = parser_state;\n    piVar3 = save_token_state();\n    ps->token_state = piVar3;\n    ps->input_line_terminator = shell_input_line_terminator;\n    ps->eof_encountered = eof_encountered;\n    ps->prompt_string_pointer = prompt_string_pointer;\n    ps->current_command_line_count = current_command_line_count;\n    ps->remember_on_history = remember_on_history;\n    ps->history_expansion_inhibited = history_expansion_inhibited;\n    ps->last_command_exit_value = last_command_exit_value;\n    pAVar4 = save_pipestatus_array();\n    ps->pipestatus = pAVar4;\n    ps->last_shell_builtin = last_shell_builtin;\n    ps->this_shell_builtin = this_shell_builtin;\n    ps->expand_aliases = expand_aliases;\n    ps->echo_input_at_read = echo_input_at_read;\n    iVar2 = need_here_doc;\n    ps->need_here_doc = need_here_doc;\n    ps->here_doc_first_line = here_doc_first_line;\n    pRVar1 = redir_stack[1];\n    if (iVar2 == 0) {\n      ps->redir_stack[0] = (REDIRECT *)0x0;\n    }\n    else {\n      ps->redir_stack[0] = redir_stack[0];\n      ps->redir_stack[1] = pRVar1;\n      pRVar1 = redir_stack[3];\n      ps->redir_stack[2] = redir_stack[2];\n      ps->redir_stack[3] = pRVar1;\n      pRVar1 = redir_stack[5];\n      ps->redir_stack[4] = redir_stack[4];\n      ps->redir_stack[5] = pRVar1;\n      pRVar1 = redir_stack[7];\n      ps->redir_stack[6] = redir_stack[6];\n      ps->redir_stack[7] = pRVar1;\n      pRVar1 = redir_stack[9];\n      ps->redir_stack[8] = redir_stack[8];\n      ps->redir_stack[9] = pRVar1;\n      pRVar1 = redir_stack[0xb];\n      ps->redir_stack[10] = redir_stack[10];\n      ps->redir_stack[0xb] = pRVar1;\n      pRVar1 = redir_stack[0xd];\n      ps->redir_stack[0xc] = redir_stack[0xc];\n      ps->redir_stack[0xd] = pRVar1;\n      pRVar1 = redir_stack[0xf];\n      ps->redir_stack[0xe] = redir_stack[0xe];\n      ps->redir_stack[0xf] = pRVar1;\n    }\n    ps->token = token;\n    ps->token_buffer_size = token_buffer_size;\n    token = (char *)0x0;\n    token_buffer_size = 0;\n  }\n  return ps;\n}\n\n" (function_definition "sh_parser_state_t * save_parser_state(sh_parser_state_t *ps)\n\n{\n  REDIRECT *pRVar1;\n  int iVar2;\n  int *piVar3;\n  ARRAY *pAVar4;\n  \n  if ((ps != (sh_parser_state_t *)0x0) ||\n     (ps = (sh_parser_state_t *)xmalloc(0xe8), ps != (sh_parser_state_t *)0x0)) {\n    ps->parser_state = parser_state;\n    piVar3 = save_token_state();\n    ps->token_state = piVar3;\n    ps->input_line_terminator = shell_input_line_terminator;\n    ps->eof_encountered = eof_encountered;\n    ps->prompt_string_pointer = prompt_string_pointer;\n    ps->current_command_line_count = current_command_line_count;\n    ps->remember_on_history = remember_on_history;\n    ps->history_expansion_inhibited = history_expansion_inhibited;\n    ps->last_command_exit_value = last_command_exit_value;\n    pAVar4 = save_pipestatus_array();\n    ps->pipestatus = pAVar4;\n    ps->last_shell_builtin = last_shell_builtin;\n    ps->this_shell_builtin = this_shell_builtin;\n    ps->expand_aliases = expand_aliases;\n    ps->echo_input_at_read = echo_input_at_read;\n    iVar2 = need_here_doc;\n    ps->need_here_doc = need_here_doc;\n    ps->here_doc_first_line = here_doc_first_line;\n    pRVar1 = redir_stack[1];\n    if (iVar2 == 0) {\n      ps->redir_stack[0] = (REDIRECT *)0x0;\n    }\n    else {\n      ps->redir_stack[0] = redir_stack[0];\n      ps->redir_stack[1] = pRVar1;\n      pRVar1 = redir_stack[3];\n      ps->redir_stack[2] = redir_stack[2];\n      ps->redir_stack[3] = pRVar1;\n      pRVar1 = redir_stack[5];\n      ps->redir_stack[4] = redir_stack[4];\n      ps->redir_stack[5] = pRVar1;\n      pRVar1 = redir_stack[7];\n      ps->redir_stack[6] = redir_stack[6];\n      ps->redir_stack[7] = pRVar1;\n      pRVar1 = redir_stack[9];\n      ps->redir_stack[8] = redir_stack[8];\n      ps->redir_stack[9] = pRVar1;\n      pRVar1 = redir_stack[0xb];\n      ps->redir_stack[10] = redir_stack[10];\n      ps->redir_stack[0xb] = pRVar1;\n      pRVar1 = redir_stack[0xd];\n      ps->redir_stack[0xc] = redir_stack[0xc];\n      ps->redir_stack[0xd] = pRVar1;\n      pRVar1 = redir_stack[0xf];\n      ps->redir_stack[0xe] = redir_stack[0xe];\n      ps->redir_stack[0xf] = pRVar1;\n    }\n    ps->token = token;\n    ps->token_buffer_size = token_buffer_size;\n    token = (char *)0x0;\n    token_buffer_size = 0;\n  }\n  return ps;\n}" type_identifier (pointer_declarator "* save_parser_state(sh_parser_state_t *ps)" * (function_declarator "save_parser_state(sh_parser_state_t *ps)" identifier (parameter_list "(sh_parser_state_t *ps)" ( (parameter_declaration "sh_parser_state_t *ps" type_identifier (pointer_declarator "*ps" * identifier)) )))) (compound_statement "{\n  REDIRECT *pRVar1;\n  int iVar2;\n  int *piVar3;\n  ARRAY *pAVar4;\n  \n  if ((ps != (sh_parser_state_t *)0x0) ||\n     (ps = (sh_parser_state_t *)xmalloc(0xe8), ps != (sh_parser_state_t *)0x0)) {\n    ps->parser_state = parser_state;\n    piVar3 = save_token_state();\n    ps->token_state = piVar3;\n    ps->input_line_terminator = shell_input_line_terminator;\n    ps->eof_encountered = eof_encountered;\n    ps->prompt_string_pointer = prompt_string_pointer;\n    ps->current_command_line_count = current_command_line_count;\n    ps->remember_on_history = remember_on_history;\n    ps->history_expansion_inhibited = history_expansion_inhibited;\n    ps->last_command_exit_value = last_command_exit_value;\n    pAVar4 = save_pipestatus_array();\n    ps->pipestatus = pAVar4;\n    ps->last_shell_builtin = last_shell_builtin;\n    ps->this_shell_builtin = this_shell_builtin;\n    ps->expand_aliases = expand_aliases;\n    ps->echo_input_at_read = echo_input_at_read;\n    iVar2 = need_here_doc;\n    ps->need_here_doc = need_here_doc;\n    ps->here_doc_first_line = here_doc_first_line;\n    pRVar1 = redir_stack[1];\n    if (iVar2 == 0) {\n      ps->redir_stack[0] = (REDIRECT *)0x0;\n    }\n    else {\n      ps->redir_stack[0] = redir_stack[0];\n      ps->redir_stack[1] = pRVar1;\n      pRVar1 = redir_stack[3];\n      ps->redir_stack[2] = redir_stack[2];\n      ps->redir_stack[3] = pRVar1;\n      pRVar1 = redir_stack[5];\n      ps->redir_stack[4] = redir_stack[4];\n      ps->redir_stack[5] = pRVar1;\n      pRVar1 = redir_stack[7];\n      ps->redir_stack[6] = redir_stack[6];\n      ps->redir_stack[7] = pRVar1;\n      pRVar1 = redir_stack[9];\n      ps->redir_stack[8] = redir_stack[8];\n      ps->redir_stack[9] = pRVar1;\n      pRVar1 = redir_stack[0xb];\n      ps->redir_stack[10] = redir_stack[10];\n      ps->redir_stack[0xb] = pRVar1;\n      pRVar1 = redir_stack[0xd];\n      ps->redir_stack[0xc] = redir_stack[0xc];\n      ps->redir_stack[0xd] = pRVar1;\n      pRVar1 = redir_stack[0xf];\n      ps->redir_stack[0xe] = redir_stack[0xe];\n      ps->redir_stack[0xf] = pRVar1;\n    }\n    ps->token = token;\n    ps->token_buffer_size = token_buffer_size;\n    token = (char *)0x0;\n    token_buffer_size = 0;\n  }\n  return ps;\n}" { (declaration "REDIRECT *pRVar1;" type_identifier (pointer_declarator "*pRVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "ARRAY *pAVar4;" type_identifier (pointer_declarator "*pAVar4" * identifier) ;) (if_statement "if ((ps != (sh_parser_state_t *)0x0) ||\n     (ps = (sh_parser_state_t *)xmalloc(0xe8), ps != (sh_parser_state_t *)0x0)) {\n    ps->parser_state = parser_state;\n    piVar3 = save_token_state();\n    ps->token_state = piVar3;\n    ps->input_line_terminator = shell_input_line_terminator;\n    ps->eof_encountered = eof_encountered;\n    ps->prompt_string_pointer = prompt_string_pointer;\n    ps->current_command_line_count = current_command_line_count;\n    ps->remember_on_history = remember_on_history;\n    ps->history_expansion_inhibited = history_expansion_inhibited;\n    ps->last_command_exit_value = last_command_exit_value;\n    pAVar4 = save_pipestatus_array();\n    ps->pipestatus = pAVar4;\n    ps->last_shell_builtin = last_shell_builtin;\n    ps->this_shell_builtin = this_shell_builtin;\n    ps->expand_aliases = expand_aliases;\n    ps->echo_input_at_read = echo_input_at_read;\n    iVar2 = need_here_doc;\n    ps->need_here_doc = need_here_doc;\n    ps->here_doc_first_line = here_doc_first_line;\n    pRVar1 = redir_stack[1];\n    if (iVar2 == 0) {\n      ps->redir_stack[0] = (REDIRECT *)0x0;\n    }\n    else {\n      ps->redir_stack[0] = redir_stack[0];\n      ps->redir_stack[1] = pRVar1;\n      pRVar1 = redir_stack[3];\n      ps->redir_stack[2] = redir_stack[2];\n      ps->redir_stack[3] = pRVar1;\n      pRVar1 = redir_stack[5];\n      ps->redir_stack[4] = redir_stack[4];\n      ps->redir_stack[5] = pRVar1;\n      pRVar1 = redir_stack[7];\n      ps->redir_stack[6] = redir_stack[6];\n      ps->redir_stack[7] = pRVar1;\n      pRVar1 = redir_stack[9];\n      ps->redir_stack[8] = redir_stack[8];\n      ps->redir_stack[9] = pRVar1;\n      pRVar1 = redir_stack[0xb];\n      ps->redir_stack[10] = redir_stack[10];\n      ps->redir_stack[0xb] = pRVar1;\n      pRVar1 = redir_stack[0xd];\n      ps->redir_stack[0xc] = redir_stack[0xc];\n      ps->redir_stack[0xd] = pRVar1;\n      pRVar1 = redir_stack[0xf];\n      ps->redir_stack[0xe] = redir_stack[0xe];\n      ps->redir_stack[0xf] = pRVar1;\n    }\n    ps->token = token;\n    ps->token_buffer_size = token_buffer_size;\n    token = (char *)0x0;\n    token_buffer_size = 0;\n  }" if (parenthesized_expression "((ps != (sh_parser_state_t *)0x0) ||\n     (ps = (sh_parser_state_t *)xmalloc(0xe8), ps != (sh_parser_state_t *)0x0))" ( (binary_expression "(ps != (sh_parser_state_t *)0x0) ||\n     (ps = (sh_parser_state_t *)xmalloc(0xe8), ps != (sh_parser_state_t *)0x0)" (parenthesized_expression "(ps != (sh_parser_state_t *)0x0)" ( (binary_expression "ps != (sh_parser_state_t *)0x0" identifier != (cast_expression "(sh_parser_state_t *)0x0" ( (type_descriptor "sh_parser_state_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(ps = (sh_parser_state_t *)xmalloc(0xe8), ps != (sh_parser_state_t *)0x0)" ( (comma_expression "ps = (sh_parser_state_t *)xmalloc(0xe8), ps != (sh_parser_state_t *)0x0" (assignment_expression "ps = (sh_parser_state_t *)xmalloc(0xe8)" identifier = (cast_expression "(sh_parser_state_t *)xmalloc(0xe8)" ( (type_descriptor "sh_parser_state_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0xe8)" identifier (argument_list "(0xe8)" ( number_literal ))))) , (binary_expression "ps != (sh_parser_state_t *)0x0" identifier != (cast_expression "(sh_parser_state_t *)0x0" ( (type_descriptor "sh_parser_state_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    ps->parser_state = parser_state;\n    piVar3 = save_token_state();\n    ps->token_state = piVar3;\n    ps->input_line_terminator = shell_input_line_terminator;\n    ps->eof_encountered = eof_encountered;\n    ps->prompt_string_pointer = prompt_string_pointer;\n    ps->current_command_line_count = current_command_line_count;\n    ps->remember_on_history = remember_on_history;\n    ps->history_expansion_inhibited = history_expansion_inhibited;\n    ps->last_command_exit_value = last_command_exit_value;\n    pAVar4 = save_pipestatus_array();\n    ps->pipestatus = pAVar4;\n    ps->last_shell_builtin = last_shell_builtin;\n    ps->this_shell_builtin = this_shell_builtin;\n    ps->expand_aliases = expand_aliases;\n    ps->echo_input_at_read = echo_input_at_read;\n    iVar2 = need_here_doc;\n    ps->need_here_doc = need_here_doc;\n    ps->here_doc_first_line = here_doc_first_line;\n    pRVar1 = redir_stack[1];\n    if (iVar2 == 0) {\n      ps->redir_stack[0] = (REDIRECT *)0x0;\n    }\n    else {\n      ps->redir_stack[0] = redir_stack[0];\n      ps->redir_stack[1] = pRVar1;\n      pRVar1 = redir_stack[3];\n      ps->redir_stack[2] = redir_stack[2];\n      ps->redir_stack[3] = pRVar1;\n      pRVar1 = redir_stack[5];\n      ps->redir_stack[4] = redir_stack[4];\n      ps->redir_stack[5] = pRVar1;\n      pRVar1 = redir_stack[7];\n      ps->redir_stack[6] = redir_stack[6];\n      ps->redir_stack[7] = pRVar1;\n      pRVar1 = redir_stack[9];\n      ps->redir_stack[8] = redir_stack[8];\n      ps->redir_stack[9] = pRVar1;\n      pRVar1 = redir_stack[0xb];\n      ps->redir_stack[10] = redir_stack[10];\n      ps->redir_stack[0xb] = pRVar1;\n      pRVar1 = redir_stack[0xd];\n      ps->redir_stack[0xc] = redir_stack[0xc];\n      ps->redir_stack[0xd] = pRVar1;\n      pRVar1 = redir_stack[0xf];\n      ps->redir_stack[0xe] = redir_stack[0xe];\n      ps->redir_stack[0xf] = pRVar1;\n    }\n    ps->token = token;\n    ps->token_buffer_size = token_buffer_size;\n    token = (char *)0x0;\n    token_buffer_size = 0;\n  }" { (expression_statement "ps->parser_state = parser_state;" (assignment_expression "ps->parser_state = parser_state" (field_expression "ps->parser_state" identifier -> field_identifier) = identifier) ;) (expression_statement "piVar3 = save_token_state();" (assignment_expression "piVar3 = save_token_state()" identifier = (call_expression "save_token_state()" identifier (argument_list "()" ( )))) ;) (expression_statement "ps->token_state = piVar3;" (assignment_expression "ps->token_state = piVar3" (field_expression "ps->token_state" identifier -> field_identifier) = identifier) ;) (expression_statement "ps->input_line_terminator = shell_input_line_terminator;" (assignment_expression "ps->input_line_terminator = shell_input_line_terminator" (field_expression "ps->input_line_terminator" identifier -> field_identifier) = identifier) ;) (expression_statement "ps->eof_encountered = eof_encountered;" (assignment_expression "ps->eof_encountered = eof_encountered" (field_expression "ps->eof_encountered" identifier -> field_identifier) = identifier) ;) (expression_statement "ps->prompt_string_pointer = prompt_string_pointer;" (assignment_expression "ps->prompt_string_pointer = prompt_string_pointer" (field_expression "ps->prompt_string_pointer" identifier -> field_identifier) = identifier) ;) (expression_statement "ps->current_command_line_count = current_command_line_count;" (assignment_expression "ps->current_command_line_count = current_command_line_count" (field_expression "ps->current_command_line_count" identifier -> field_identifier) = identifier) ;) (expression_statement "ps->remember_on_history = remember_on_history;" (assignment_expression "ps->remember_on_history = remember_on_history" (field_expression "ps->remember_on_history" identifier -> field_identifier) = identifier) ;) (expression_statement "ps->history_expansion_inhibited = history_expansion_inhibited;" (assignment_expression "ps->history_expansion_inhibited = history_expansion_inhibited" (field_expression "ps->history_expansion_inhibited" identifier -> field_identifier) = identifier) ;) (expression_statement "ps->last_command_exit_value = last_command_exit_value;" (assignment_expression "ps->last_command_exit_value = last_command_exit_value" (field_expression "ps->last_command_exit_value" identifier -> field_identifier) = identifier) ;) (expression_statement "pAVar4 = save_pipestatus_array();" (assignment_expression "pAVar4 = save_pipestatus_array()" identifier = (call_expression "save_pipestatus_array()" identifier (argument_list "()" ( )))) ;) (expression_statement "ps->pipestatus = pAVar4;" (assignment_expression "ps->pipestatus = pAVar4" (field_expression "ps->pipestatus" identifier -> field_identifier) = identifier) ;) (expression_statement "ps->last_shell_builtin = last_shell_builtin;" (assignment_expression "ps->last_shell_builtin = last_shell_builtin" (field_expression "ps->last_shell_builtin" identifier -> field_identifier) = identifier) ;) (expression_statement "ps->this_shell_builtin = this_shell_builtin;" (assignment_expression "ps->this_shell_builtin = this_shell_builtin" (field_expression "ps->this_shell_builtin" identifier -> field_identifier) = identifier) ;) (expression_statement "ps->expand_aliases = expand_aliases;" (assignment_expression "ps->expand_aliases = expand_aliases" (field_expression "ps->expand_aliases" identifier -> field_identifier) = identifier) ;) (expression_statement "ps->echo_input_at_read = echo_input_at_read;" (assignment_expression "ps->echo_input_at_read = echo_input_at_read" (field_expression "ps->echo_input_at_read" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar2 = need_here_doc;" (assignment_expression "iVar2 = need_here_doc" identifier = identifier) ;) (expression_statement "ps->need_here_doc = need_here_doc;" (assignment_expression "ps->need_here_doc = need_here_doc" (field_expression "ps->need_here_doc" identifier -> field_identifier) = identifier) ;) (expression_statement "ps->here_doc_first_line = here_doc_first_line;" (assignment_expression "ps->here_doc_first_line = here_doc_first_line" (field_expression "ps->here_doc_first_line" identifier -> field_identifier) = identifier) ;) (expression_statement "pRVar1 = redir_stack[1];" (assignment_expression "pRVar1 = redir_stack[1]" identifier = (subscript_expression "redir_stack[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 == 0) {\n      ps->redir_stack[0] = (REDIRECT *)0x0;\n    }\n    else {\n      ps->redir_stack[0] = redir_stack[0];\n      ps->redir_stack[1] = pRVar1;\n      pRVar1 = redir_stack[3];\n      ps->redir_stack[2] = redir_stack[2];\n      ps->redir_stack[3] = pRVar1;\n      pRVar1 = redir_stack[5];\n      ps->redir_stack[4] = redir_stack[4];\n      ps->redir_stack[5] = pRVar1;\n      pRVar1 = redir_stack[7];\n      ps->redir_stack[6] = redir_stack[6];\n      ps->redir_stack[7] = pRVar1;\n      pRVar1 = redir_stack[9];\n      ps->redir_stack[8] = redir_stack[8];\n      ps->redir_stack[9] = pRVar1;\n      pRVar1 = redir_stack[0xb];\n      ps->redir_stack[10] = redir_stack[10];\n      ps->redir_stack[0xb] = pRVar1;\n      pRVar1 = redir_stack[0xd];\n      ps->redir_stack[0xc] = redir_stack[0xc];\n      ps->redir_stack[0xd] = pRVar1;\n      pRVar1 = redir_stack[0xf];\n      ps->redir_stack[0xe] = redir_stack[0xe];\n      ps->redir_stack[0xf] = pRVar1;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      ps->redir_stack[0] = (REDIRECT *)0x0;\n    }" { (expression_statement "ps->redir_stack[0] = (REDIRECT *)0x0;" (assignment_expression "ps->redir_stack[0] = (REDIRECT *)0x0" (subscript_expression "ps->redir_stack[0]" (field_expression "ps->redir_stack" identifier -> field_identifier) [ number_literal ]) = (cast_expression "(REDIRECT *)0x0" ( (type_descriptor "REDIRECT *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      ps->redir_stack[0] = redir_stack[0];\n      ps->redir_stack[1] = pRVar1;\n      pRVar1 = redir_stack[3];\n      ps->redir_stack[2] = redir_stack[2];\n      ps->redir_stack[3] = pRVar1;\n      pRVar1 = redir_stack[5];\n      ps->redir_stack[4] = redir_stack[4];\n      ps->redir_stack[5] = pRVar1;\n      pRVar1 = redir_stack[7];\n      ps->redir_stack[6] = redir_stack[6];\n      ps->redir_stack[7] = pRVar1;\n      pRVar1 = redir_stack[9];\n      ps->redir_stack[8] = redir_stack[8];\n      ps->redir_stack[9] = pRVar1;\n      pRVar1 = redir_stack[0xb];\n      ps->redir_stack[10] = redir_stack[10];\n      ps->redir_stack[0xb] = pRVar1;\n      pRVar1 = redir_stack[0xd];\n      ps->redir_stack[0xc] = redir_stack[0xc];\n      ps->redir_stack[0xd] = pRVar1;\n      pRVar1 = redir_stack[0xf];\n      ps->redir_stack[0xe] = redir_stack[0xe];\n      ps->redir_stack[0xf] = pRVar1;\n    }" else (compound_statement "{\n      ps->redir_stack[0] = redir_stack[0];\n      ps->redir_stack[1] = pRVar1;\n      pRVar1 = redir_stack[3];\n      ps->redir_stack[2] = redir_stack[2];\n      ps->redir_stack[3] = pRVar1;\n      pRVar1 = redir_stack[5];\n      ps->redir_stack[4] = redir_stack[4];\n      ps->redir_stack[5] = pRVar1;\n      pRVar1 = redir_stack[7];\n      ps->redir_stack[6] = redir_stack[6];\n      ps->redir_stack[7] = pRVar1;\n      pRVar1 = redir_stack[9];\n      ps->redir_stack[8] = redir_stack[8];\n      ps->redir_stack[9] = pRVar1;\n      pRVar1 = redir_stack[0xb];\n      ps->redir_stack[10] = redir_stack[10];\n      ps->redir_stack[0xb] = pRVar1;\n      pRVar1 = redir_stack[0xd];\n      ps->redir_stack[0xc] = redir_stack[0xc];\n      ps->redir_stack[0xd] = pRVar1;\n      pRVar1 = redir_stack[0xf];\n      ps->redir_stack[0xe] = redir_stack[0xe];\n      ps->redir_stack[0xf] = pRVar1;\n    }" { (expression_statement "ps->redir_stack[0] = redir_stack[0];" (assignment_expression "ps->redir_stack[0] = redir_stack[0]" (subscript_expression "ps->redir_stack[0]" (field_expression "ps->redir_stack" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "redir_stack[0]" identifier [ number_literal ])) ;) (expression_statement "ps->redir_stack[1] = pRVar1;" (assignment_expression "ps->redir_stack[1] = pRVar1" (subscript_expression "ps->redir_stack[1]" (field_expression "ps->redir_stack" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pRVar1 = redir_stack[3];" (assignment_expression "pRVar1 = redir_stack[3]" identifier = (subscript_expression "redir_stack[3]" identifier [ number_literal ])) ;) (expression_statement "ps->redir_stack[2] = redir_stack[2];" (assignment_expression "ps->redir_stack[2] = redir_stack[2]" (subscript_expression "ps->redir_stack[2]" (field_expression "ps->redir_stack" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "redir_stack[2]" identifier [ number_literal ])) ;) (expression_statement "ps->redir_stack[3] = pRVar1;" (assignment_expression "ps->redir_stack[3] = pRVar1" (subscript_expression "ps->redir_stack[3]" (field_expression "ps->redir_stack" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pRVar1 = redir_stack[5];" (assignment_expression "pRVar1 = redir_stack[5]" identifier = (subscript_expression "redir_stack[5]" identifier [ number_literal ])) ;) (expression_statement "ps->redir_stack[4] = redir_stack[4];" (assignment_expression "ps->redir_stack[4] = redir_stack[4]" (subscript_expression "ps->redir_stack[4]" (field_expression "ps->redir_stack" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "redir_stack[4]" identifier [ number_literal ])) ;) (expression_statement "ps->redir_stack[5] = pRVar1;" (assignment_expression "ps->redir_stack[5] = pRVar1" (subscript_expression "ps->redir_stack[5]" (field_expression "ps->redir_stack" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pRVar1 = redir_stack[7];" (assignment_expression "pRVar1 = redir_stack[7]" identifier = (subscript_expression "redir_stack[7]" identifier [ number_literal ])) ;) (expression_statement "ps->redir_stack[6] = redir_stack[6];" (assignment_expression "ps->redir_stack[6] = redir_stack[6]" (subscript_expression "ps->redir_stack[6]" (field_expression "ps->redir_stack" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "redir_stack[6]" identifier [ number_literal ])) ;) (expression_statement "ps->redir_stack[7] = pRVar1;" (assignment_expression "ps->redir_stack[7] = pRVar1" (subscript_expression "ps->redir_stack[7]" (field_expression "ps->redir_stack" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pRVar1 = redir_stack[9];" (assignment_expression "pRVar1 = redir_stack[9]" identifier = (subscript_expression "redir_stack[9]" identifier [ number_literal ])) ;) (expression_statement "ps->redir_stack[8] = redir_stack[8];" (assignment_expression "ps->redir_stack[8] = redir_stack[8]" (subscript_expression "ps->redir_stack[8]" (field_expression "ps->redir_stack" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "redir_stack[8]" identifier [ number_literal ])) ;) (expression_statement "ps->redir_stack[9] = pRVar1;" (assignment_expression "ps->redir_stack[9] = pRVar1" (subscript_expression "ps->redir_stack[9]" (field_expression "ps->redir_stack" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pRVar1 = redir_stack[0xb];" (assignment_expression "pRVar1 = redir_stack[0xb]" identifier = (subscript_expression "redir_stack[0xb]" identifier [ number_literal ])) ;) (expression_statement "ps->redir_stack[10] = redir_stack[10];" (assignment_expression "ps->redir_stack[10] = redir_stack[10]" (subscript_expression "ps->redir_stack[10]" (field_expression "ps->redir_stack" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "redir_stack[10]" identifier [ number_literal ])) ;) (expression_statement "ps->redir_stack[0xb] = pRVar1;" (assignment_expression "ps->redir_stack[0xb] = pRVar1" (subscript_expression "ps->redir_stack[0xb]" (field_expression "ps->redir_stack" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pRVar1 = redir_stack[0xd];" (assignment_expression "pRVar1 = redir_stack[0xd]" identifier = (subscript_expression "redir_stack[0xd]" identifier [ number_literal ])) ;) (expression_statement "ps->redir_stack[0xc] = redir_stack[0xc];" (assignment_expression "ps->redir_stack[0xc] = redir_stack[0xc]" (subscript_expression "ps->redir_stack[0xc]" (field_expression "ps->redir_stack" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "redir_stack[0xc]" identifier [ number_literal ])) ;) (expression_statement "ps->redir_stack[0xd] = pRVar1;" (assignment_expression "ps->redir_stack[0xd] = pRVar1" (subscript_expression "ps->redir_stack[0xd]" (field_expression "ps->redir_stack" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pRVar1 = redir_stack[0xf];" (assignment_expression "pRVar1 = redir_stack[0xf]" identifier = (subscript_expression "redir_stack[0xf]" identifier [ number_literal ])) ;) (expression_statement "ps->redir_stack[0xe] = redir_stack[0xe];" (assignment_expression "ps->redir_stack[0xe] = redir_stack[0xe]" (subscript_expression "ps->redir_stack[0xe]" (field_expression "ps->redir_stack" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "redir_stack[0xe]" identifier [ number_literal ])) ;) (expression_statement "ps->redir_stack[0xf] = pRVar1;" (assignment_expression "ps->redir_stack[0xf] = pRVar1" (subscript_expression "ps->redir_stack[0xf]" (field_expression "ps->redir_stack" identifier -> field_identifier) [ number_literal ]) = identifier) ;) }))) (expression_statement "ps->token = token;" (assignment_expression "ps->token = token" (field_expression "ps->token" identifier -> field_identifier) = identifier) ;) (expression_statement "ps->token_buffer_size = token_buffer_size;" (assignment_expression "ps->token_buffer_size = token_buffer_size" (field_expression "ps->token_buffer_size" identifier -> field_identifier) = identifier) ;) (expression_statement "token = (char *)0x0;" (assignment_expression "token = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "token_buffer_size = 0;" (assignment_expression "token_buffer_size = 0" identifier = number_literal) ;) })) (return_statement "return ps;" return identifier ;) })))
(translation_unit "undefined4 * save_parser_state(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0)) {\n    *param_1 = parser_state;\n    uVar2 = save_token_state();\n    *(undefined8 *)(param_1 + 2) = uVar2;\n    param_1[7] = DAT_0021314c;\n    param_1[8] = eof_encountered;\n    *(undefined8 *)(param_1 + 10) = prompt_string_pointer;\n    param_1[0xc] = current_command_line_count;\n    param_1[0xd] = remember_on_history;\n    param_1[0xe] = history_expansion_inhibited;\n    param_1[0xf] = last_command_exit_value;\n    uVar2 = save_pipestatus_array();\n    *(undefined8 *)(param_1 + 0x10) = uVar2;\n    *(undefined8 *)(param_1 + 0x12) = last_shell_builtin;\n    *(undefined8 *)(param_1 + 0x14) = this_shell_builtin;\n    param_1[0x16] = expand_aliases;\n    param_1[0x17] = echo_input_at_read;\n    iVar1 = need_here_doc;\n    param_1[0x18] = need_here_doc;\n    param_1[0x19] = here_doc_first_line;\n    uVar2 = DAT_00213188;\n    if (iVar1 == 0) {\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }\n    else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }\n    *(undefined8 *)(param_1 + 4) = DAT_00212ee8;\n    param_1[6] = DAT_00212ee0;\n    DAT_00212ee8 = 0;\n    DAT_00212ee0 = 0;\n  }\n  return param_1;\n}\n\n" (function_definition "undefined4 * save_parser_state(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0)) {\n    *param_1 = parser_state;\n    uVar2 = save_token_state();\n    *(undefined8 *)(param_1 + 2) = uVar2;\n    param_1[7] = DAT_0021314c;\n    param_1[8] = eof_encountered;\n    *(undefined8 *)(param_1 + 10) = prompt_string_pointer;\n    param_1[0xc] = current_command_line_count;\n    param_1[0xd] = remember_on_history;\n    param_1[0xe] = history_expansion_inhibited;\n    param_1[0xf] = last_command_exit_value;\n    uVar2 = save_pipestatus_array();\n    *(undefined8 *)(param_1 + 0x10) = uVar2;\n    *(undefined8 *)(param_1 + 0x12) = last_shell_builtin;\n    *(undefined8 *)(param_1 + 0x14) = this_shell_builtin;\n    param_1[0x16] = expand_aliases;\n    param_1[0x17] = echo_input_at_read;\n    iVar1 = need_here_doc;\n    param_1[0x18] = need_here_doc;\n    param_1[0x19] = here_doc_first_line;\n    uVar2 = DAT_00213188;\n    if (iVar1 == 0) {\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }\n    else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }\n    *(undefined8 *)(param_1 + 4) = DAT_00212ee8;\n    param_1[6] = DAT_00212ee0;\n    DAT_00212ee8 = 0;\n    DAT_00212ee0 = 0;\n  }\n  return param_1;\n}" type_identifier (pointer_declarator "* save_parser_state(undefined4 *param_1)" * (function_declarator "save_parser_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  int iVar1;\n  undefined8 uVar2;\n  \n  if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0)) {\n    *param_1 = parser_state;\n    uVar2 = save_token_state();\n    *(undefined8 *)(param_1 + 2) = uVar2;\n    param_1[7] = DAT_0021314c;\n    param_1[8] = eof_encountered;\n    *(undefined8 *)(param_1 + 10) = prompt_string_pointer;\n    param_1[0xc] = current_command_line_count;\n    param_1[0xd] = remember_on_history;\n    param_1[0xe] = history_expansion_inhibited;\n    param_1[0xf] = last_command_exit_value;\n    uVar2 = save_pipestatus_array();\n    *(undefined8 *)(param_1 + 0x10) = uVar2;\n    *(undefined8 *)(param_1 + 0x12) = last_shell_builtin;\n    *(undefined8 *)(param_1 + 0x14) = this_shell_builtin;\n    param_1[0x16] = expand_aliases;\n    param_1[0x17] = echo_input_at_read;\n    iVar1 = need_here_doc;\n    param_1[0x18] = need_here_doc;\n    param_1[0x19] = here_doc_first_line;\n    uVar2 = DAT_00213188;\n    if (iVar1 == 0) {\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }\n    else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }\n    *(undefined8 *)(param_1 + 4) = DAT_00212ee8;\n    param_1[6] = DAT_00212ee0;\n    DAT_00212ee8 = 0;\n    DAT_00212ee0 = 0;\n  }\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (if_statement "if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0)) {\n    *param_1 = parser_state;\n    uVar2 = save_token_state();\n    *(undefined8 *)(param_1 + 2) = uVar2;\n    param_1[7] = DAT_0021314c;\n    param_1[8] = eof_encountered;\n    *(undefined8 *)(param_1 + 10) = prompt_string_pointer;\n    param_1[0xc] = current_command_line_count;\n    param_1[0xd] = remember_on_history;\n    param_1[0xe] = history_expansion_inhibited;\n    param_1[0xf] = last_command_exit_value;\n    uVar2 = save_pipestatus_array();\n    *(undefined8 *)(param_1 + 0x10) = uVar2;\n    *(undefined8 *)(param_1 + 0x12) = last_shell_builtin;\n    *(undefined8 *)(param_1 + 0x14) = this_shell_builtin;\n    param_1[0x16] = expand_aliases;\n    param_1[0x17] = echo_input_at_read;\n    iVar1 = need_here_doc;\n    param_1[0x18] = need_here_doc;\n    param_1[0x19] = here_doc_first_line;\n    uVar2 = DAT_00213188;\n    if (iVar1 == 0) {\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }\n    else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }\n    *(undefined8 *)(param_1 + 4) = DAT_00212ee8;\n    param_1[6] = DAT_00212ee0;\n    DAT_00212ee8 = 0;\n    DAT_00212ee0 = 0;\n  }" if (parenthesized_expression "((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0))" ( (binary_expression "(param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)xmalloc(0xe8), 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 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0)" ( (comma_expression "param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0" (assignment_expression "param_1 = (undefined4 *)xmalloc(0xe8)" identifier = (cast_expression "(undefined4 *)xmalloc(0xe8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0xe8)" identifier (argument_list "(0xe8)" ( 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    *param_1 = parser_state;\n    uVar2 = save_token_state();\n    *(undefined8 *)(param_1 + 2) = uVar2;\n    param_1[7] = DAT_0021314c;\n    param_1[8] = eof_encountered;\n    *(undefined8 *)(param_1 + 10) = prompt_string_pointer;\n    param_1[0xc] = current_command_line_count;\n    param_1[0xd] = remember_on_history;\n    param_1[0xe] = history_expansion_inhibited;\n    param_1[0xf] = last_command_exit_value;\n    uVar2 = save_pipestatus_array();\n    *(undefined8 *)(param_1 + 0x10) = uVar2;\n    *(undefined8 *)(param_1 + 0x12) = last_shell_builtin;\n    *(undefined8 *)(param_1 + 0x14) = this_shell_builtin;\n    param_1[0x16] = expand_aliases;\n    param_1[0x17] = echo_input_at_read;\n    iVar1 = need_here_doc;\n    param_1[0x18] = need_here_doc;\n    param_1[0x19] = here_doc_first_line;\n    uVar2 = DAT_00213188;\n    if (iVar1 == 0) {\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }\n    else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }\n    *(undefined8 *)(param_1 + 4) = DAT_00212ee8;\n    param_1[6] = DAT_00212ee0;\n    DAT_00212ee8 = 0;\n    DAT_00212ee0 = 0;\n  }" { (expression_statement "*param_1 = parser_state;" (assignment_expression "*param_1 = parser_state" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "uVar2 = save_token_state();" (assignment_expression "uVar2 = save_token_state()" identifier = (call_expression "save_token_state()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined8 *)(param_1 + 2) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 2) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 2)" * (cast_expression "(undefined8 *)(param_1 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[7] = DAT_0021314c;" (assignment_expression "param_1[7] = DAT_0021314c" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[8] = eof_encountered;" (assignment_expression "param_1[8] = eof_encountered" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 10) = prompt_string_pointer;" (assignment_expression "*(undefined8 *)(param_1 + 10) = prompt_string_pointer" (pointer_expression "*(undefined8 *)(param_1 + 10)" * (cast_expression "(undefined8 *)(param_1 + 10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[0xc] = current_command_line_count;" (assignment_expression "param_1[0xc] = current_command_line_count" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0xd] = remember_on_history;" (assignment_expression "param_1[0xd] = remember_on_history" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0xe] = history_expansion_inhibited;" (assignment_expression "param_1[0xe] = history_expansion_inhibited" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0xf] = last_command_exit_value;" (assignment_expression "param_1[0xf] = last_command_exit_value" (subscript_expression "param_1[0xf]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = save_pipestatus_array();" (assignment_expression "uVar2 = save_pipestatus_array()" identifier = (call_expression "save_pipestatus_array()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined8 *)(param_1 + 0x10) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x12) = last_shell_builtin;" (assignment_expression "*(undefined8 *)(param_1 + 0x12) = last_shell_builtin" (pointer_expression "*(undefined8 *)(param_1 + 0x12)" * (cast_expression "(undefined8 *)(param_1 + 0x12)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x12)" ( (binary_expression "param_1 + 0x12" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x14) = this_shell_builtin;" (assignment_expression "*(undefined8 *)(param_1 + 0x14) = this_shell_builtin" (pointer_expression "*(undefined8 *)(param_1 + 0x14)" * (cast_expression "(undefined8 *)(param_1 + 0x14)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[0x16] = expand_aliases;" (assignment_expression "param_1[0x16] = expand_aliases" (subscript_expression "param_1[0x16]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0x17] = echo_input_at_read;" (assignment_expression "param_1[0x17] = echo_input_at_read" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar1 = need_here_doc;" (assignment_expression "iVar1 = need_here_doc" identifier = identifier) ;) (expression_statement "param_1[0x18] = need_here_doc;" (assignment_expression "param_1[0x18] = need_here_doc" (subscript_expression "param_1[0x18]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0x19] = here_doc_first_line;" (assignment_expression "param_1[0x19] = here_doc_first_line" (subscript_expression "param_1[0x19]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = DAT_00213188;" (assignment_expression "uVar2 = DAT_00213188" identifier = identifier) ;) (if_statement "if (iVar1 == 0) {\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }\n    else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }" { (expression_statement "*(undefined8 *)(param_1 + 0x1a) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x1a) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x1a)" * (cast_expression "(undefined8 *)(param_1 + 0x1a)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1a)" ( (binary_expression "param_1 + 0x1a" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }" else (compound_statement "{\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }" { (expression_statement "*(undefined8 *)(param_1 + 0x1a) = DAT_00213180;" (assignment_expression "*(undefined8 *)(param_1 + 0x1a) = DAT_00213180" (pointer_expression "*(undefined8 *)(param_1 + 0x1a)" * (cast_expression "(undefined8 *)(param_1 + 0x1a)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1a)" ( (binary_expression "param_1 + 0x1a" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x1c) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x1c) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x1c)" * (cast_expression "(undefined8 *)(param_1 + 0x1c)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = uRam0000000000213198;" (assignment_expression "uVar2 = uRam0000000000213198" identifier = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;" (assignment_expression "*(undefined8 *)(param_1 + 0x1e) = _DAT_00213190" (pointer_expression "*(undefined8 *)(param_1 + 0x1e)" * (cast_expression "(undefined8 *)(param_1 + 0x1e)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1e)" ( (binary_expression "param_1 + 0x1e" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x20) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x20) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x20)" * (cast_expression "(undefined8 *)(param_1 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = uRam00000000002131a8;" (assignment_expression "uVar2 = uRam00000000002131a8" identifier = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;" (assignment_expression "*(undefined8 *)(param_1 + 0x22) = _DAT_002131a0" (pointer_expression "*(undefined8 *)(param_1 + 0x22)" * (cast_expression "(undefined8 *)(param_1 + 0x22)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x22)" ( (binary_expression "param_1 + 0x22" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x24) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x24) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x24)" * (cast_expression "(undefined8 *)(param_1 + 0x24)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = uRam00000000002131b8;" (assignment_expression "uVar2 = uRam00000000002131b8" identifier = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;" (assignment_expression "*(undefined8 *)(param_1 + 0x26) = _DAT_002131b0" (pointer_expression "*(undefined8 *)(param_1 + 0x26)" * (cast_expression "(undefined8 *)(param_1 + 0x26)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x26)" ( (binary_expression "param_1 + 0x26" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x28) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x28) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x28)" * (cast_expression "(undefined8 *)(param_1 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = uRam00000000002131c8;" (assignment_expression "uVar2 = uRam00000000002131c8" identifier = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;" (assignment_expression "*(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0" (pointer_expression "*(undefined8 *)(param_1 + 0x2a)" * (cast_expression "(undefined8 *)(param_1 + 0x2a)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2a)" ( (binary_expression "param_1 + 0x2a" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x2c) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x2c) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x2c)" * (cast_expression "(undefined8 *)(param_1 + 0x2c)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = uRam00000000002131d8;" (assignment_expression "uVar2 = uRam00000000002131d8" identifier = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;" (assignment_expression "*(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0" (pointer_expression "*(undefined8 *)(param_1 + 0x2e)" * (cast_expression "(undefined8 *)(param_1 + 0x2e)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2e)" ( (binary_expression "param_1 + 0x2e" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x30) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x30) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = uRam00000000002131e8;" (assignment_expression "uVar2 = uRam00000000002131e8" identifier = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;" (assignment_expression "*(undefined8 *)(param_1 + 0x32) = _DAT_002131e0" (pointer_expression "*(undefined8 *)(param_1 + 0x32)" * (cast_expression "(undefined8 *)(param_1 + 0x32)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x32)" ( (binary_expression "param_1 + 0x32" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x34) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x34) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x34)" * (cast_expression "(undefined8 *)(param_1 + 0x34)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = uRam00000000002131f8;" (assignment_expression "uVar2 = uRam00000000002131f8" identifier = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;" (assignment_expression "*(undefined8 *)(param_1 + 0x36) = _DAT_002131f0" (pointer_expression "*(undefined8 *)(param_1 + 0x36)" * (cast_expression "(undefined8 *)(param_1 + 0x36)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x36)" ( (binary_expression "param_1 + 0x36" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x38) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x38) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x38)" * (cast_expression "(undefined8 *)(param_1 + 0x38)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) = identifier) ;) }))) (expression_statement "*(undefined8 *)(param_1 + 4) = DAT_00212ee8;" (assignment_expression "*(undefined8 *)(param_1 + 4) = DAT_00212ee8" (pointer_expression "*(undefined8 *)(param_1 + 4)" * (cast_expression "(undefined8 *)(param_1 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[6] = DAT_00212ee0;" (assignment_expression "param_1[6] = DAT_00212ee0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "DAT_00212ee8 = 0;" (assignment_expression "DAT_00212ee8 = 0" identifier = number_literal) ;) (expression_statement "DAT_00212ee0 = 0;" (assignment_expression "DAT_00212ee0 = 0" identifier = 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 IDENT ;) (declaration TYPE 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 IDENT (argument_list ( LIT ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = 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 ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = 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 IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 * save_parser_state(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0)) {\n    *param_1 = parser_state;\n    uVar2 = save_token_state();\n    *(undefined8 *)(param_1 + 2) = uVar2;\n    param_1[7] = DAT_0021314c;\n    param_1[8] = eof_encountered;\n    *(undefined8 *)(param_1 + 10) = prompt_string_pointer;\n    param_1[0xc] = current_command_line_count;\n    param_1[0xd] = remember_on_history;\n    param_1[0xe] = history_expansion_inhibited;\n    param_1[0xf] = last_command_exit_value;\n    uVar2 = save_pipestatus_array();\n    *(undefined8 *)(param_1 + 0x10) = uVar2;\n    *(undefined8 *)(param_1 + 0x12) = last_shell_builtin;\n    *(undefined8 *)(param_1 + 0x14) = this_shell_builtin;\n    param_1[0x16] = expand_aliases;\n    param_1[0x17] = echo_input_at_read;\n    iVar1 = need_here_doc;\n    param_1[0x18] = need_here_doc;\n    param_1[0x19] = here_doc_first_line;\n    uVar2 = DAT_00213188;\n    if (iVar1 == 0) {\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }\n    else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }\n    *(undefined8 *)(param_1 + 4) = DAT_00212ee8;\n    param_1[6] = DAT_00212ee0;\n    DAT_00212ee8 = 0;\n    DAT_00212ee0 = 0;\n  }\n  return param_1;\n}" (type_identifier "undefined4") (pointer_declarator "* save_parser_state(undefined4 *param_1)" (* "*") (function_declarator "save_parser_state(undefined4 *param_1)" (identifier "save_parser_state") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  \n  if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0)) {\n    *param_1 = parser_state;\n    uVar2 = save_token_state();\n    *(undefined8 *)(param_1 + 2) = uVar2;\n    param_1[7] = DAT_0021314c;\n    param_1[8] = eof_encountered;\n    *(undefined8 *)(param_1 + 10) = prompt_string_pointer;\n    param_1[0xc] = current_command_line_count;\n    param_1[0xd] = remember_on_history;\n    param_1[0xe] = history_expansion_inhibited;\n    param_1[0xf] = last_command_exit_value;\n    uVar2 = save_pipestatus_array();\n    *(undefined8 *)(param_1 + 0x10) = uVar2;\n    *(undefined8 *)(param_1 + 0x12) = last_shell_builtin;\n    *(undefined8 *)(param_1 + 0x14) = this_shell_builtin;\n    param_1[0x16] = expand_aliases;\n    param_1[0x17] = echo_input_at_read;\n    iVar1 = need_here_doc;\n    param_1[0x18] = need_here_doc;\n    param_1[0x19] = here_doc_first_line;\n    uVar2 = DAT_00213188;\n    if (iVar1 == 0) {\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }\n    else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }\n    *(undefined8 *)(param_1 + 4) = DAT_00212ee8;\n    param_1[6] = DAT_00212ee0;\n    DAT_00212ee8 = 0;\n    DAT_00212ee0 = 0;\n  }\n  return param_1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (if_statement "if ((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0)) {\n    *param_1 = parser_state;\n    uVar2 = save_token_state();\n    *(undefined8 *)(param_1 + 2) = uVar2;\n    param_1[7] = DAT_0021314c;\n    param_1[8] = eof_encountered;\n    *(undefined8 *)(param_1 + 10) = prompt_string_pointer;\n    param_1[0xc] = current_command_line_count;\n    param_1[0xd] = remember_on_history;\n    param_1[0xe] = history_expansion_inhibited;\n    param_1[0xf] = last_command_exit_value;\n    uVar2 = save_pipestatus_array();\n    *(undefined8 *)(param_1 + 0x10) = uVar2;\n    *(undefined8 *)(param_1 + 0x12) = last_shell_builtin;\n    *(undefined8 *)(param_1 + 0x14) = this_shell_builtin;\n    param_1[0x16] = expand_aliases;\n    param_1[0x17] = echo_input_at_read;\n    iVar1 = need_here_doc;\n    param_1[0x18] = need_here_doc;\n    param_1[0x19] = here_doc_first_line;\n    uVar2 = DAT_00213188;\n    if (iVar1 == 0) {\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }\n    else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }\n    *(undefined8 *)(param_1 + 4) = DAT_00212ee8;\n    param_1[6] = DAT_00212ee0;\n    DAT_00212ee8 = 0;\n    DAT_00212ee0 = 0;\n  }" (if "if") (parenthesized_expression "((param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0))" (( "(") (binary_expression "(param_1 != (undefined4 *)0x0) ||\n     (param_1 = (undefined4 *)xmalloc(0xe8), 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 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0)" (( "(") (comma_expression "param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0" (assignment_expression "param_1 = (undefined4 *)xmalloc(0xe8)" (identifier "param_1") (= "=") (cast_expression "(undefined4 *)xmalloc(0xe8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0xe8)" (identifier "xmalloc") (argument_list "(0xe8)" (( "(") (number_literal "0xe8") () ")"))))) (, ",") (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    *param_1 = parser_state;\n    uVar2 = save_token_state();\n    *(undefined8 *)(param_1 + 2) = uVar2;\n    param_1[7] = DAT_0021314c;\n    param_1[8] = eof_encountered;\n    *(undefined8 *)(param_1 + 10) = prompt_string_pointer;\n    param_1[0xc] = current_command_line_count;\n    param_1[0xd] = remember_on_history;\n    param_1[0xe] = history_expansion_inhibited;\n    param_1[0xf] = last_command_exit_value;\n    uVar2 = save_pipestatus_array();\n    *(undefined8 *)(param_1 + 0x10) = uVar2;\n    *(undefined8 *)(param_1 + 0x12) = last_shell_builtin;\n    *(undefined8 *)(param_1 + 0x14) = this_shell_builtin;\n    param_1[0x16] = expand_aliases;\n    param_1[0x17] = echo_input_at_read;\n    iVar1 = need_here_doc;\n    param_1[0x18] = need_here_doc;\n    param_1[0x19] = here_doc_first_line;\n    uVar2 = DAT_00213188;\n    if (iVar1 == 0) {\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }\n    else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }\n    *(undefined8 *)(param_1 + 4) = DAT_00212ee8;\n    param_1[6] = DAT_00212ee0;\n    DAT_00212ee8 = 0;\n    DAT_00212ee0 = 0;\n  }" ({ "{") (expression_statement "*param_1 = parser_state;" (assignment_expression "*param_1 = parser_state" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "parser_state")) (; ";")) (expression_statement "uVar2 = save_token_state();" (assignment_expression "uVar2 = save_token_state()" (identifier "uVar2") (= "=") (call_expression "save_token_state()" (identifier "save_token_state") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 2) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 2) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 2)" (* "*") (cast_expression "(undefined8 *)(param_1 + 2)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "param_1[7] = DAT_0021314c;" (assignment_expression "param_1[7] = DAT_0021314c" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "DAT_0021314c")) (; ";")) (expression_statement "param_1[8] = eof_encountered;" (assignment_expression "param_1[8] = eof_encountered" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "eof_encountered")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 10) = prompt_string_pointer;" (assignment_expression "*(undefined8 *)(param_1 + 10) = prompt_string_pointer" (pointer_expression "*(undefined8 *)(param_1 + 10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")")))) (= "=") (identifier "prompt_string_pointer")) (; ";")) (expression_statement "param_1[0xc] = current_command_line_count;" (assignment_expression "param_1[0xc] = current_command_line_count" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (identifier "current_command_line_count")) (; ";")) (expression_statement "param_1[0xd] = remember_on_history;" (assignment_expression "param_1[0xd] = remember_on_history" (subscript_expression "param_1[0xd]" (identifier "param_1") ([ "[") (number_literal "0xd") (] "]")) (= "=") (identifier "remember_on_history")) (; ";")) (expression_statement "param_1[0xe] = history_expansion_inhibited;" (assignment_expression "param_1[0xe] = history_expansion_inhibited" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (= "=") (identifier "history_expansion_inhibited")) (; ";")) (expression_statement "param_1[0xf] = last_command_exit_value;" (assignment_expression "param_1[0xf] = last_command_exit_value" (subscript_expression "param_1[0xf]" (identifier "param_1") ([ "[") (number_literal "0xf") (] "]")) (= "=") (identifier "last_command_exit_value")) (; ";")) (expression_statement "uVar2 = save_pipestatus_array();" (assignment_expression "uVar2 = save_pipestatus_array()" (identifier "uVar2") (= "=") (call_expression "save_pipestatus_array()" (identifier "save_pipestatus_array") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x10) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x10) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x12) = last_shell_builtin;" (assignment_expression "*(undefined8 *)(param_1 + 0x12) = last_shell_builtin" (pointer_expression "*(undefined8 *)(param_1 + 0x12)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x12)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x12)" (( "(") (binary_expression "param_1 + 0x12" (identifier "param_1") (+ "+") (number_literal "0x12")) () ")")))) (= "=") (identifier "last_shell_builtin")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x14) = this_shell_builtin;" (assignment_expression "*(undefined8 *)(param_1 + 0x14) = this_shell_builtin" (pointer_expression "*(undefined8 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "this_shell_builtin")) (; ";")) (expression_statement "param_1[0x16] = expand_aliases;" (assignment_expression "param_1[0x16] = expand_aliases" (subscript_expression "param_1[0x16]" (identifier "param_1") ([ "[") (number_literal "0x16") (] "]")) (= "=") (identifier "expand_aliases")) (; ";")) (expression_statement "param_1[0x17] = echo_input_at_read;" (assignment_expression "param_1[0x17] = echo_input_at_read" (subscript_expression "param_1[0x17]" (identifier "param_1") ([ "[") (number_literal "0x17") (] "]")) (= "=") (identifier "echo_input_at_read")) (; ";")) (expression_statement "iVar1 = need_here_doc;" (assignment_expression "iVar1 = need_here_doc" (identifier "iVar1") (= "=") (identifier "need_here_doc")) (; ";")) (expression_statement "param_1[0x18] = need_here_doc;" (assignment_expression "param_1[0x18] = need_here_doc" (subscript_expression "param_1[0x18]" (identifier "param_1") ([ "[") (number_literal "0x18") (] "]")) (= "=") (identifier "need_here_doc")) (; ";")) (expression_statement "param_1[0x19] = here_doc_first_line;" (assignment_expression "param_1[0x19] = here_doc_first_line" (subscript_expression "param_1[0x19]" (identifier "param_1") ([ "[") (number_literal "0x19") (] "]")) (= "=") (identifier "here_doc_first_line")) (; ";")) (expression_statement "uVar2 = DAT_00213188;" (assignment_expression "uVar2 = DAT_00213188" (identifier "uVar2") (= "=") (identifier "DAT_00213188")) (; ";")) (if_statement "if (iVar1 == 0) {\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }\n    else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined8 *)(param_1 + 0x1a) = 0;\n    }" ({ "{") (expression_statement "*(undefined8 *)(param_1 + 0x1a) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x1a) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x1a)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x1a)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1a)" (( "(") (binary_expression "param_1 + 0x1a" (identifier "param_1") (+ "+") (number_literal "0x1a")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }" (else "else") (compound_statement "{\n      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;\n      *(undefined8 *)(param_1 + 0x1c) = uVar2;\n      uVar2 = uRam0000000000213198;\n      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;\n      *(undefined8 *)(param_1 + 0x20) = uVar2;\n      uVar2 = uRam00000000002131a8;\n      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;\n      *(undefined8 *)(param_1 + 0x24) = uVar2;\n      uVar2 = uRam00000000002131b8;\n      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;\n      *(undefined8 *)(param_1 + 0x28) = uVar2;\n      uVar2 = uRam00000000002131c8;\n      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;\n      *(undefined8 *)(param_1 + 0x2c) = uVar2;\n      uVar2 = uRam00000000002131d8;\n      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;\n      *(undefined8 *)(param_1 + 0x30) = uVar2;\n      uVar2 = uRam00000000002131e8;\n      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;\n      *(undefined8 *)(param_1 + 0x34) = uVar2;\n      uVar2 = uRam00000000002131f8;\n      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;\n      *(undefined8 *)(param_1 + 0x38) = uVar2;\n    }" ({ "{") (expression_statement "*(undefined8 *)(param_1 + 0x1a) = DAT_00213180;" (assignment_expression "*(undefined8 *)(param_1 + 0x1a) = DAT_00213180" (pointer_expression "*(undefined8 *)(param_1 + 0x1a)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x1a)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1a)" (( "(") (binary_expression "param_1 + 0x1a" (identifier "param_1") (+ "+") (number_literal "0x1a")) () ")")))) (= "=") (identifier "DAT_00213180")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x1c) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x1c) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x1c)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x1c)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = uRam0000000000213198;" (assignment_expression "uVar2 = uRam0000000000213198" (identifier "uVar2") (= "=") (identifier "uRam0000000000213198")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;" (assignment_expression "*(undefined8 *)(param_1 + 0x1e) = _DAT_00213190" (pointer_expression "*(undefined8 *)(param_1 + 0x1e)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x1e)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1e)" (( "(") (binary_expression "param_1 + 0x1e" (identifier "param_1") (+ "+") (number_literal "0x1e")) () ")")))) (= "=") (identifier "_DAT_00213190")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x20) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x20) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = uRam00000000002131a8;" (assignment_expression "uVar2 = uRam00000000002131a8" (identifier "uVar2") (= "=") (identifier "uRam00000000002131a8")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;" (assignment_expression "*(undefined8 *)(param_1 + 0x22) = _DAT_002131a0" (pointer_expression "*(undefined8 *)(param_1 + 0x22)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x22)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x22)" (( "(") (binary_expression "param_1 + 0x22" (identifier "param_1") (+ "+") (number_literal "0x22")) () ")")))) (= "=") (identifier "_DAT_002131a0")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x24) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x24) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x24)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x24)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = uRam00000000002131b8;" (assignment_expression "uVar2 = uRam00000000002131b8" (identifier "uVar2") (= "=") (identifier "uRam00000000002131b8")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;" (assignment_expression "*(undefined8 *)(param_1 + 0x26) = _DAT_002131b0" (pointer_expression "*(undefined8 *)(param_1 + 0x26)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x26)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x26)" (( "(") (binary_expression "param_1 + 0x26" (identifier "param_1") (+ "+") (number_literal "0x26")) () ")")))) (= "=") (identifier "_DAT_002131b0")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x28) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x28) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x28)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = uRam00000000002131c8;" (assignment_expression "uVar2 = uRam00000000002131c8" (identifier "uVar2") (= "=") (identifier "uRam00000000002131c8")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;" (assignment_expression "*(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0" (pointer_expression "*(undefined8 *)(param_1 + 0x2a)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x2a)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2a)" (( "(") (binary_expression "param_1 + 0x2a" (identifier "param_1") (+ "+") (number_literal "0x2a")) () ")")))) (= "=") (identifier "_DAT_002131c0")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x2c) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x2c) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x2c)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x2c)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = uRam00000000002131d8;" (assignment_expression "uVar2 = uRam00000000002131d8" (identifier "uVar2") (= "=") (identifier "uRam00000000002131d8")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;" (assignment_expression "*(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0" (pointer_expression "*(undefined8 *)(param_1 + 0x2e)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x2e)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2e)" (( "(") (binary_expression "param_1 + 0x2e" (identifier "param_1") (+ "+") (number_literal "0x2e")) () ")")))) (= "=") (identifier "_DAT_002131d0")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x30) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x30) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = uRam00000000002131e8;" (assignment_expression "uVar2 = uRam00000000002131e8" (identifier "uVar2") (= "=") (identifier "uRam00000000002131e8")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;" (assignment_expression "*(undefined8 *)(param_1 + 0x32) = _DAT_002131e0" (pointer_expression "*(undefined8 *)(param_1 + 0x32)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x32)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x32)" (( "(") (binary_expression "param_1 + 0x32" (identifier "param_1") (+ "+") (number_literal "0x32")) () ")")))) (= "=") (identifier "_DAT_002131e0")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x34) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x34) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x34)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x34)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = uRam00000000002131f8;" (assignment_expression "uVar2 = uRam00000000002131f8" (identifier "uVar2") (= "=") (identifier "uRam00000000002131f8")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;" (assignment_expression "*(undefined8 *)(param_1 + 0x36) = _DAT_002131f0" (pointer_expression "*(undefined8 *)(param_1 + 0x36)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x36)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x36)" (( "(") (binary_expression "param_1 + 0x36" (identifier "param_1") (+ "+") (number_literal "0x36")) () ")")))) (= "=") (identifier "_DAT_002131f0")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x38) = uVar2;" (assignment_expression "*(undefined8 *)(param_1 + 0x38) = uVar2" (pointer_expression "*(undefined8 *)(param_1 + 0x38)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x38)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (} "}")))) (expression_statement "*(undefined8 *)(param_1 + 4) = DAT_00212ee8;" (assignment_expression "*(undefined8 *)(param_1 + 4) = DAT_00212ee8" (pointer_expression "*(undefined8 *)(param_1 + 4)" (* "*") (cast_expression "(undefined8 *)(param_1 + 4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "DAT_00212ee8")) (; ";")) (expression_statement "param_1[6] = DAT_00212ee0;" (assignment_expression "param_1[6] = DAT_00212ee0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "DAT_00212ee0")) (; ";")) (expression_statement "DAT_00212ee8 = 0;" (assignment_expression "DAT_00212ee8 = 0" (identifier "DAT_00212ee8") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_00212ee0 = 0;" (assignment_expression "DAT_00212ee0 = 0" (identifier "DAT_00212ee0") (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

type_1 * function_1(type_1 *var_1)

{
  type_2 *pRVar1;
  int var_5;
  int *piVar3;
  type_3 *pAVar4;
  
  if ((var_1 != (type_1 *)0x0) ||
     (var_1 = (type_1 *)var_2(0xe8), var_1 != (type_1 *)0x0)) {
    var_1->parser_state = parser_state;
    piVar3 = var_3();
    var_1->token_state = piVar3;
    var_1->input_line_terminator = shell_input_line_terminator;
    var_1->eof_encountered = eof_encountered;
    var_1->prompt_string_pointer = prompt_string_pointer;
    var_1->current_command_line_count = current_command_line_count;
    var_1->remember_on_history = remember_on_history;
    var_1->history_expansion_inhibited = history_expansion_inhibited;
    var_1->last_command_exit_value = last_command_exit_value;
    pAVar4 = var_4();
    var_1->pipestatus = pAVar4;
    var_1->last_shell_builtin = last_shell_builtin;
    var_1->this_shell_builtin = this_shell_builtin;
    var_1->expand_aliases = expand_aliases;
    var_1->echo_input_at_read = echo_input_at_read;
    var_5 = need_here_doc;
    var_1->need_here_doc = need_here_doc;
    var_1->here_doc_first_line = here_doc_first_line;
    pRVar1 = redir_stack[1];
    if (var_5 == 0) {
      var_1->redir_stack[0] = (type_2 *)0x0;
    }
    else {
      var_1->redir_stack[0] = redir_stack[0];
      var_1->redir_stack[1] = pRVar1;
      pRVar1 = redir_stack[3];
      var_1->redir_stack[2] = redir_stack[2];
      var_1->redir_stack[3] = pRVar1;
      pRVar1 = redir_stack[5];
      var_1->redir_stack[4] = redir_stack[4];
      var_1->redir_stack[5] = pRVar1;
      pRVar1 = redir_stack[7];
      var_1->redir_stack[6] = redir_stack[6];
      var_1->redir_stack[7] = pRVar1;
      pRVar1 = redir_stack[9];
      var_1->redir_stack[8] = redir_stack[8];
      var_1->redir_stack[9] = pRVar1;
      pRVar1 = redir_stack[0xb];
      var_1->redir_stack[10] = redir_stack[10];
      var_1->redir_stack[0xb] = pRVar1;
      pRVar1 = redir_stack[0xd];
      var_1->redir_stack[0xc] = redir_stack[0xc];
      var_1->redir_stack[0xd] = pRVar1;
      pRVar1 = redir_stack[0xf];
      var_1->redir_stack[0xe] = redir_stack[0xe];
      var_1->redir_stack[0xf] = pRVar1;
    }
    var_1->token = token;
    var_1->token_buffer_size = token_buffer_size;
    token = (char *)0x0;
    token_buffer_size = 0;
  }
  return var_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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) 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: (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: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (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: (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: (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: (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: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (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: (identifier))) (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: (identifier))) (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: (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: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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)))) alternative: (else_clause (compound_statement (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: (identifier))) (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (identifier))) (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (identifier))) (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (identifier))) (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (identifier))) (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (identifier))) (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (identifier))) (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (identifier))) (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: (identifier)))))) (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: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (return_statement (identifier)))))

/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

undefined4 * MASKED(undefined4 *param_1)

{
  int iVar1;
  undefined8 uVar2;
  
  if ((param_1 != (undefined4 *)0x0) ||
     (param_1 = (undefined4 *)xmalloc(0xe8), param_1 != (undefined4 *)0x0)) {
    *param_1 = parser_state;
    uVar2 = save_token_state();
    *(undefined8 *)(param_1 + 2) = uVar2;
    param_1[7] = DAT_0021314c;
    param_1[8] = eof_encountered;
    *(undefined8 *)(param_1 + 10) = prompt_string_pointer;
    param_1[0xc] = current_command_line_count;
    param_1[0xd] = remember_on_history;
    param_1[0xe] = history_expansion_inhibited;
    param_1[0xf] = last_command_exit_value;
    uVar2 = save_pipestatus_array();
    *(undefined8 *)(param_1 + 0x10) = uVar2;
    *(undefined8 *)(param_1 + 0x12) = last_shell_builtin;
    *(undefined8 *)(param_1 + 0x14) = this_shell_builtin;
    param_1[0x16] = expand_aliases;
    param_1[0x17] = echo_input_at_read;
    iVar1 = need_here_doc;
    param_1[0x18] = need_here_doc;
    param_1[0x19] = here_doc_first_line;
    uVar2 = DAT_00213188;
    if (iVar1 == 0) {
      *(undefined8 *)(param_1 + 0x1a) = 0;
    }
    else {
      *(undefined8 *)(param_1 + 0x1a) = DAT_00213180;
      *(undefined8 *)(param_1 + 0x1c) = uVar2;
      uVar2 = uRam0000000000213198;
      *(undefined8 *)(param_1 + 0x1e) = _DAT_00213190;
      *(undefined8 *)(param_1 + 0x20) = uVar2;
      uVar2 = uRam00000000002131a8;
      *(undefined8 *)(param_1 + 0x22) = _DAT_002131a0;
      *(undefined8 *)(param_1 + 0x24) = uVar2;
      uVar2 = uRam00000000002131b8;
      *(undefined8 *)(param_1 + 0x26) = _DAT_002131b0;
      *(undefined8 *)(param_1 + 0x28) = uVar2;
      uVar2 = uRam00000000002131c8;
      *(undefined8 *)(param_1 + 0x2a) = _DAT_002131c0;
      *(undefined8 *)(param_1 + 0x2c) = uVar2;
      uVar2 = uRam00000000002131d8;
      *(undefined8 *)(param_1 + 0x2e) = _DAT_002131d0;
      *(undefined8 *)(param_1 + 0x30) = uVar2;
      uVar2 = uRam00000000002131e8;
      *(undefined8 *)(param_1 + 0x32) = _DAT_002131e0;
      *(undefined8 *)(param_1 + 0x34) = uVar2;
      uVar2 = uRam00000000002131f8;
      *(undefined8 *)(param_1 + 0x36) = _DAT_002131f0;
      *(undefined8 *)(param_1 + 0x38) = uVar2;
    }
    *(undefined8 *)(param_1 + 4) = DAT_00212ee8;
    param_1[6] = DAT_00212ee0;
    DAT_00212ee8 = 0;
    DAT_00212ee0 = 0;
  }
  return param_1;
}

