
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void readline_internal_setup(void)

{
  undefined4 *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  uint uVar4;
  int iVar5;
  uint uVar6;
  char *pcVar7;
  code *pcVar8;
  
  puVar3 = PTR__rl_out_stream_00145be4;
  puVar2 = PTR_rl_outstream_001455c0;
  uVar4 = *(uint *)PTR_rl_readline_state_00144658;
  uVar6 = *(uint *)PTR__rl_enable_meta_00145be0;
  *(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0;
  *(undefined4 *)puVar3 = *(undefined4 *)puVar2;
  if ((uVar4 & uVar6 & 4) != 0) {
    (*(code *)PTR__rl_enable_meta_key_00145c14)();
  }
  if (*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0) {
    (**(code **)PTR_rl_startup_hook_001455d0)();
  }
  if (*(int *)PTR_rl_editing_mode_001455b4 == 0) {
    rl_vi_insertion_mode(1,0x69);
    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;
    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;
    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;
  }
  else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {
    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;
    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;
    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;
  }
  else {
    _rl_reset_prompt();
    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;
    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;
    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;
  }
  PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1;
  if ((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)) {
    if ((pcVar7 != (char *)0x0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {
      pcVar7 = _rl_strip_prompt(pcVar7);
      (*(code *)PTR_fputs_0014621c)(pcVar7,*(undefined4 *)puVar3);
      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);
      (*(code *)PTR_xfree_00144b88)(pcVar7);
    }
  }
  else {
    if ((pcVar7 == (char *)0x0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {
      rl_on_new_line();
      pcVar8 = (code *)*puVar1;
    }
    else {
      rl_on_new_line_with_prompt();
      pcVar8 = (code *)*puVar1;
    }
    (*pcVar8)();
  }
  if (*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0) {
    (**(code **)PTR_rl_pre_input_hook_00145c00)();
  }
  if (*(int *)PTR__rl_caught_signal_00145c04 == 0) {
    return;
  }
  _rl_signal_handler(*(int *)PTR__rl_caught_signal_00145c04);
  return;
}



void readline_internal_setup(void)

{
  undefined4 *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  uint uVar4;
  int iVar5;
  undefined4 uVar6;
  uint uVar7;
  int iVar8;
  code *pcVar9;
  
  puVar3 = PTR__rl_out_stream_00145be4;
  puVar2 = PTR_rl_outstream_001455c0;
  uVar4 = *(uint *)PTR_rl_readline_state_00144658;
  uVar7 = *(uint *)PTR__rl_enable_meta_00145be0;
  *(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0;
  *(undefined4 *)puVar3 = *(undefined4 *)puVar2;
  if ((uVar4 & uVar7 & 4) != 0) {
    (*(code *)PTR__rl_enable_meta_key_00145c14)();
  }
  if (*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0) {
    (**(code **)PTR_rl_startup_hook_001455d0)();
  }
  if (*(int *)PTR_rl_editing_mode_001455b4 == 0) {
    rl_vi_insertion_mode(1,0x69);
    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;
    iVar8 = *(int *)PTR_rl_prompt_00145bd0;
    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;
  }
  else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {
    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;
    iVar8 = *(int *)PTR_rl_prompt_00145bd0;
    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;
  }
  else {
    _rl_reset_prompt();
    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;
    iVar8 = *(int *)PTR_rl_prompt_00145bd0;
    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;
  }
  PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1;
  if ((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)) {
    if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {
      uVar6 = _rl_strip_prompt();
      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);
      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);
      (*(code *)PTR_xfree_00144b88)(uVar6);
    }
  }
  else {
    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {
      rl_on_new_line();
      pcVar9 = (code *)*puVar1;
    }
    else {
      rl_on_new_line_with_prompt();
      pcVar9 = (code *)*puVar1;
    }
    (*pcVar9)();
  }
  if (*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0) {
    (**(code **)PTR_rl_pre_input_hook_00145c00)();
  }
  if (*(int *)PTR__rl_caught_signal_00145c04 == 0) {
    return;
  }
  _rl_signal_handler(*(undefined4 *)PTR__rl_caught_signal_00145c04);
  return;
}


lui gp,0x7
addiu gp,gp,-0x3d18
addu gp,gp,t9
lw v0,-0x7ee8(gp)
addiu sp,sp,-0x28
lw v1,-0x6960(gp)
lw a0,-0x7c90(gp)
sw s1,0x20(sp)
lw v0,0x0(v0)
lw v1,0x0(v1)
lw a1,0x0(a0)
lw s1,-0x695c(gp)
and v0,v0,v1
lw v1,-0x6f80(gp)
lw a0,-0x6958(gp)
andi v0,v0,0x4
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s0,0x1c(sp)
sw a1,0x0(a0)
lw v1,0x0(v1)
bne v0,zero,0x000e0468
_sw v1,0x0(s1)
lw v0,-0x6f70(gp)
lw t9,0x0(v0)
beq t9,zero,0x000e02d4
_lw v0,-0x6f8c(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw v0,-0x6f8c(gp)
lw v0,0x0(v0)
beq v0,zero,0x000e0434
_lw v0,-0x6954(gp)
lw v0,0x0(v0)
bne v0,zero,0x000e03ec
_lw v0,-0x6950(gp)
lw v1,-0x6970(gp)
lw s0,-0x694c(gp)
lw v0,0x0(v0)
beq v0,zero,0x000e036c
_lw a0,0x0(v1)
beq a0,zero,0x000e0314
_lw v0,-0x6948(gp)
lw v0,0x0(v0)
bne v0,zero,0x000e03dc
_lw t9,-0x6944(gp)
lw t9,-0x6f7c(gp)
bal 0x000f8478
_nop
lw t9,0x0(s0)
jalr t9
_nop
lw gp,0x10(sp)
lw v0,-0x6940(gp)
lw t9,0x0(v0)
beq t9,zero,0x000e0350
_lw v0,-0x693c(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw v0,-0x693c(gp)
lw v1,0x0(v0)
bne v1,zero,0x000e041c
_lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw v0,-0x6f78(gp)
lw v1,0x0(s0)
bne v1,v0,0x000e0300
_nop
beq a0,zero,0x000e0330
_lw v0,-0x6948(gp)
lw v0,0x0(v0)
bne v0,zero,0x000e0334
_lw v0,-0x6940(gp)
lw t9,-0x6938(gp)
bal 0x000f8198
_nop
lw gp,0x10(sp)
or a0,v0,zero
lw a1,0x0(s1)
lw t9,-0x6324(gp)
jalr t9
_or s0,v0,zero
lw gp,0x10(sp)
lw t9,-0x6020(gp)
jalr t9
_lw a0,0x0(s1)
lw gp,0x10(sp)
lw t9,-0x79b8(gp)
jalr t9
_or a0,s0,zero
b 0x000e0330
_lw gp,0x10(sp)
bal 0x000f84dc
_nop
b 0x000e0324
_lw t9,0x0(s0)
lw t9,-0x6934(gp)
bal 0x000f8438
_nop
lw gp,0x10(sp)
lw v0,-0x6950(gp)
lw v1,-0x6970(gp)
lw s0,-0x694c(gp)
lw v0,0x0(v0)
beq v0,zero,0x000e036c
_lw a0,0x0(v1)
b 0x000e0300
_nop
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw a0,0x0(v0)
lw t9,-0x6930(gp)
b 0x000fef18
_addiu sp,sp,0x28
lw t9,-0x6fec(gp)
li a0,0x1
bal 0x000e4e9c
_li a1,0x69
lw gp,0x10(sp)
lw v0,-0x6950(gp)
lw v1,-0x6970(gp)
lw s0,-0x694c(gp)
lw v0,0x0(v0)
beq v0,zero,0x000e036c
_lw a0,0x0(v1)
b 0x000e0300
_nop
lw t9,-0x692c(gp)
jalr t9
_nop
b 0x000e02b4
_lw gp,0x10(sp)
(translation_unit "void readline_internal_setup(void)\n\n{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  code *pcVar9;\n  \n  puVar3 = PTR__rl_out_stream_00145be4;\n  puVar2 = PTR_rl_outstream_001455c0;\n  uVar4 = *(uint *)PTR_rl_readline_state_00144658;\n  uVar7 = *(uint *)PTR__rl_enable_meta_00145be0;\n  *(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0;\n  *(undefined4 *)puVar3 = *(undefined4 *)puVar2;\n  if ((uVar4 & uVar7 & 4) != 0) {\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }\n  if (*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0) {\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }\n  if (*(int *)PTR_rl_editing_mode_001455b4 == 0) {\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1;\n  if ((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)) {\n    if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }\n  }\n  else {\n    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }\n    (*pcVar9)();\n  }\n  if (*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0) {\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }\n  if (*(int *)PTR__rl_caught_signal_00145c04 == 0) {\n    return;\n  }\n  _rl_signal_handler(*(undefined4 *)PTR__rl_caught_signal_00145c04);\n  return;\n}\n\n" (function_definition "void readline_internal_setup(void)\n\n{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  code *pcVar9;\n  \n  puVar3 = PTR__rl_out_stream_00145be4;\n  puVar2 = PTR_rl_outstream_001455c0;\n  uVar4 = *(uint *)PTR_rl_readline_state_00144658;\n  uVar7 = *(uint *)PTR__rl_enable_meta_00145be0;\n  *(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0;\n  *(undefined4 *)puVar3 = *(undefined4 *)puVar2;\n  if ((uVar4 & uVar7 & 4) != 0) {\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }\n  if (*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0) {\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }\n  if (*(int *)PTR_rl_editing_mode_001455b4 == 0) {\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1;\n  if ((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)) {\n    if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }\n  }\n  else {\n    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }\n    (*pcVar9)();\n  }\n  if (*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0) {\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }\n  if (*(int *)PTR__rl_caught_signal_00145c04 == 0) {\n    return;\n  }\n  _rl_signal_handler(*(undefined4 *)PTR__rl_caught_signal_00145c04);\n  return;\n}" primitive_type (function_declarator "readline_internal_setup(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  code *pcVar9;\n  \n  puVar3 = PTR__rl_out_stream_00145be4;\n  puVar2 = PTR_rl_outstream_001455c0;\n  uVar4 = *(uint *)PTR_rl_readline_state_00144658;\n  uVar7 = *(uint *)PTR__rl_enable_meta_00145be0;\n  *(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0;\n  *(undefined4 *)puVar3 = *(undefined4 *)puVar2;\n  if ((uVar4 & uVar7 & 4) != 0) {\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }\n  if (*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0) {\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }\n  if (*(int *)PTR_rl_editing_mode_001455b4 == 0) {\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1;\n  if ((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)) {\n    if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }\n  }\n  else {\n    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }\n    (*pcVar9)();\n  }\n  if (*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0) {\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }\n  if (*(int *)PTR__rl_caught_signal_00145c04 == 0) {\n    return;\n  }\n  _rl_signal_handler(*(undefined4 *)PTR__rl_caught_signal_00145c04);\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (expression_statement "puVar3 = PTR__rl_out_stream_00145be4;" (assignment_expression "puVar3 = PTR__rl_out_stream_00145be4" identifier = identifier) ;) (expression_statement "puVar2 = PTR_rl_outstream_001455c0;" (assignment_expression "puVar2 = PTR_rl_outstream_001455c0" identifier = identifier) ;) (expression_statement "uVar4 = *(uint *)PTR_rl_readline_state_00144658;" (assignment_expression "uVar4 = *(uint *)PTR_rl_readline_state_00144658" identifier = (pointer_expression "*(uint *)PTR_rl_readline_state_00144658" * (cast_expression "(uint *)PTR_rl_readline_state_00144658" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar7 = *(uint *)PTR__rl_enable_meta_00145be0;" (assignment_expression "uVar7 = *(uint *)PTR__rl_enable_meta_00145be0" identifier = (pointer_expression "*(uint *)PTR__rl_enable_meta_00145be0" * (cast_expression "(uint *)PTR__rl_enable_meta_00145be0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0;" (assignment_expression "*(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0" (pointer_expression "*(undefined4 *)PTR__rl_in_stream_00145be8" * (cast_expression "(undefined4 *)PTR__rl_in_stream_00145be8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)PTR_rl_instream_001448b0" * (cast_expression "(undefined4 *)PTR_rl_instream_001448b0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)puVar3 = *(undefined4 *)puVar2;" (assignment_expression "*(undefined4 *)puVar3 = *(undefined4 *)puVar2" (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((uVar4 & uVar7 & 4) != 0) {\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }" if (parenthesized_expression "((uVar4 & uVar7 & 4) != 0)" ( (binary_expression "(uVar4 & uVar7 & 4) != 0" (parenthesized_expression "(uVar4 & uVar7 & 4)" ( (binary_expression "uVar4 & uVar7 & 4" (binary_expression "uVar4 & uVar7" identifier & identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }" { (expression_statement "(*(code *)PTR__rl_enable_meta_key_00145c14)();" (call_expression "(*(code *)PTR__rl_enable_meta_key_00145c14)()" (parenthesized_expression "(*(code *)PTR__rl_enable_meta_key_00145c14)" ( (pointer_expression "*(code *)PTR__rl_enable_meta_key_00145c14" * (cast_expression "(code *)PTR__rl_enable_meta_key_00145c14" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (if_statement "if (*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0) {\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }" if (parenthesized_expression "(*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0)" ( (binary_expression "*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0" (pointer_expression "*(code **)PTR_rl_startup_hook_001455d0" * (cast_expression "(code **)PTR_rl_startup_hook_001455d0" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }" { (expression_statement "(**(code **)PTR_rl_startup_hook_001455d0)();" (call_expression "(**(code **)PTR_rl_startup_hook_001455d0)()" (parenthesized_expression "(**(code **)PTR_rl_startup_hook_001455d0)" ( (pointer_expression "**(code **)PTR_rl_startup_hook_001455d0" * (pointer_expression "*(code **)PTR_rl_startup_hook_001455d0" * (cast_expression "(code **)PTR_rl_startup_hook_001455d0" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)PTR_rl_editing_mode_001455b4 == 0) {\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" if (parenthesized_expression "(*(int *)PTR_rl_editing_mode_001455b4 == 0)" ( (binary_expression "*(int *)PTR_rl_editing_mode_001455b4 == 0" (pointer_expression "*(int *)PTR_rl_editing_mode_001455b4" * (cast_expression "(int *)PTR_rl_editing_mode_001455b4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" { (expression_statement "rl_vi_insertion_mode(1,0x69);" (call_expression "rl_vi_insertion_mode(1,0x69)" identifier (argument_list "(1,0x69)" ( number_literal , number_literal ))) ;) (expression_statement "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;" (assignment_expression "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0" identifier = (pointer_expression "*(int *)PTR__rl_echoing_p_00145bf0" * (cast_expression "(int *)PTR__rl_echoing_p_00145bf0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar8 = *(int *)PTR_rl_prompt_00145bd0;" (assignment_expression "iVar8 = *(int *)PTR_rl_prompt_00145bd0" identifier = (pointer_expression "*(int *)PTR_rl_prompt_00145bd0" * (cast_expression "(int *)PTR_rl_prompt_00145bd0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;" (assignment_expression "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4" identifier = (cast_expression "(undefined4 *)PTR_rl_redisplay_function_00145bf4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" else (if_statement "if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" if (parenthesized_expression "(*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0)" ( (binary_expression "*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0" (pointer_expression "*(int *)PTR__rl_show_mode_in_prompt_00145bec" * (cast_expression "(int *)PTR__rl_show_mode_in_prompt_00145bec" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" { (expression_statement "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;" (assignment_expression "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0" identifier = (pointer_expression "*(int *)PTR__rl_echoing_p_00145bf0" * (cast_expression "(int *)PTR__rl_echoing_p_00145bf0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar8 = *(int *)PTR_rl_prompt_00145bd0;" (assignment_expression "iVar8 = *(int *)PTR_rl_prompt_00145bd0" identifier = (pointer_expression "*(int *)PTR_rl_prompt_00145bd0" * (cast_expression "(int *)PTR_rl_prompt_00145bd0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;" (assignment_expression "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4" identifier = (cast_expression "(undefined4 *)PTR_rl_redisplay_function_00145bf4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" else (compound_statement "{\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" { (expression_statement "_rl_reset_prompt();" (call_expression "_rl_reset_prompt()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;" (assignment_expression "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0" identifier = (pointer_expression "*(int *)PTR__rl_echoing_p_00145bf0" * (cast_expression "(int *)PTR__rl_echoing_p_00145bf0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar8 = *(int *)PTR_rl_prompt_00145bd0;" (assignment_expression "iVar8 = *(int *)PTR_rl_prompt_00145bd0" identifier = (pointer_expression "*(int *)PTR_rl_prompt_00145bd0" * (cast_expression "(int *)PTR_rl_prompt_00145bd0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;" (assignment_expression "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4" identifier = (cast_expression "(undefined4 *)PTR_rl_redisplay_function_00145bf4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))))) (expression_statement "PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1;" (assignment_expression "PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1" identifier = (cast_expression "(undefined *)puVar1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)) {\n    if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }\n  }\n  else {\n    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }\n    (*pcVar9)();\n  }" if (parenthesized_expression "((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8))" ( (binary_expression "(iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) && (parenthesized_expression "((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)" ( (binary_expression "(undefined *)*puVar1 == PTR_rl_redisplay_001455c8" (cast_expression "(undefined *)*puVar1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier)) == identifier) ))) )) (compound_statement "{\n    if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }\n  }" { (if_statement "if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }" if (parenthesized_expression "((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0))" ( (binary_expression "(iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)" (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)PTR_rl_already_prompted_00145bf8 == 0)" ( (binary_expression "*(int *)PTR_rl_already_prompted_00145bf8 == 0" (pointer_expression "*(int *)PTR_rl_already_prompted_00145bf8" * (cast_expression "(int *)PTR_rl_already_prompted_00145bf8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) (compound_statement "{\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }" { (expression_statement "uVar6 = _rl_strip_prompt();" (assignment_expression "uVar6 = _rl_strip_prompt()" identifier = (call_expression "_rl_strip_prompt()" identifier (argument_list "()" ( )))) ;) (expression_statement "(*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);" (call_expression "(*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3)" (parenthesized_expression "(*(code *)PTR_fputs_0014621c)" ( (pointer_expression "*(code *)PTR_fputs_0014621c" * (cast_expression "(code *)PTR_fputs_0014621c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6,*(undefined4 *)puVar3)" ( identifier , (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "(*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);" (call_expression "(*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3)" (parenthesized_expression "(*(code *)PTR_fflush_00146520)" ( (pointer_expression "*(code *)PTR_fflush_00146520" * (cast_expression "(code *)PTR_fflush_00146520" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar3)" ( (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "(*(code *)PTR_xfree_00144b88)(uVar6);" (call_expression "(*(code *)PTR_xfree_00144b88)(uVar6)" (parenthesized_expression "(*(code *)PTR_xfree_00144b88)" ( (pointer_expression "*(code *)PTR_xfree_00144b88" * (cast_expression "(code *)PTR_xfree_00144b88" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier ))) ;) })) }) (else_clause "else {\n    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }\n    (*pcVar9)();\n  }" else (compound_statement "{\n    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }\n    (*pcVar9)();\n  }" { (if_statement "if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }" if (parenthesized_expression "((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0))" ( (binary_expression "(iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)" (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)PTR_rl_already_prompted_00145bf8 == 0)" ( (binary_expression "*(int *)PTR_rl_already_prompted_00145bf8 == 0" (pointer_expression "*(int *)PTR_rl_already_prompted_00145bf8" * (cast_expression "(int *)PTR_rl_already_prompted_00145bf8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) (compound_statement "{\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }" { (expression_statement "rl_on_new_line();" (call_expression "rl_on_new_line()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar9 = (code *)*puVar1;" (assignment_expression "pcVar9 = (code *)*puVar1" identifier = (cast_expression "(code *)*puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) }) (else_clause "else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }" else (compound_statement "{\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }" { (expression_statement "rl_on_new_line_with_prompt();" (call_expression "rl_on_new_line_with_prompt()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar9 = (code *)*puVar1;" (assignment_expression "pcVar9 = (code *)*puVar1" identifier = (cast_expression "(code *)*puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) }))) (expression_statement "(*pcVar9)();" (call_expression "(*pcVar9)()" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "()" ( ))) ;) }))) (if_statement "if (*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0) {\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }" if (parenthesized_expression "(*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0)" ( (binary_expression "*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0" (pointer_expression "*(code **)PTR_rl_pre_input_hook_00145c00" * (cast_expression "(code **)PTR_rl_pre_input_hook_00145c00" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }" { (expression_statement "(**(code **)PTR_rl_pre_input_hook_00145c00)();" (call_expression "(**(code **)PTR_rl_pre_input_hook_00145c00)()" (parenthesized_expression "(**(code **)PTR_rl_pre_input_hook_00145c00)" ( (pointer_expression "**(code **)PTR_rl_pre_input_hook_00145c00" * (pointer_expression "*(code **)PTR_rl_pre_input_hook_00145c00" * (cast_expression "(code **)PTR_rl_pre_input_hook_00145c00" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)PTR__rl_caught_signal_00145c04 == 0) {\n    return;\n  }" if (parenthesized_expression "(*(int *)PTR__rl_caught_signal_00145c04 == 0)" ( (binary_expression "*(int *)PTR__rl_caught_signal_00145c04 == 0" (pointer_expression "*(int *)PTR__rl_caught_signal_00145c04" * (cast_expression "(int *)PTR__rl_caught_signal_00145c04" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "_rl_signal_handler(*(undefined4 *)PTR__rl_caught_signal_00145c04);" (call_expression "_rl_signal_handler(*(undefined4 *)PTR__rl_caught_signal_00145c04)" identifier (argument_list "(*(undefined4 *)PTR__rl_caught_signal_00145c04)" ( (pointer_expression "*(undefined4 *)PTR__rl_caught_signal_00145c04" * (cast_expression "(undefined4 *)PTR__rl_caught_signal_00145c04" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid readline_internal_setup(void)\n\n{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  char *pcVar7;\n  code *pcVar8;\n  \n  puVar3 = PTR__rl_out_stream_00145be4;\n  puVar2 = PTR_rl_outstream_001455c0;\n  uVar4 = *(uint *)PTR_rl_readline_state_00144658;\n  uVar6 = *(uint *)PTR__rl_enable_meta_00145be0;\n  *(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0;\n  *(undefined4 *)puVar3 = *(undefined4 *)puVar2;\n  if ((uVar4 & uVar6 & 4) != 0) {\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }\n  if (*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0) {\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }\n  if (*(int *)PTR_rl_editing_mode_001455b4 == 0) {\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1;\n  if ((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)) {\n    if ((pcVar7 != (char *)0x0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      pcVar7 = _rl_strip_prompt(pcVar7);\n      (*(code *)PTR_fputs_0014621c)(pcVar7,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(pcVar7);\n    }\n  }\n  else {\n    if ((pcVar7 == (char *)0x0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar8 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar8 = (code *)*puVar1;\n    }\n    (*pcVar8)();\n  }\n  if (*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0) {\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }\n  if (*(int *)PTR__rl_caught_signal_00145c04 == 0) {\n    return;\n  }\n  _rl_signal_handler(*(int *)PTR__rl_caught_signal_00145c04);\n  return;\n}\n\n" comment (function_definition "void readline_internal_setup(void)\n\n{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  char *pcVar7;\n  code *pcVar8;\n  \n  puVar3 = PTR__rl_out_stream_00145be4;\n  puVar2 = PTR_rl_outstream_001455c0;\n  uVar4 = *(uint *)PTR_rl_readline_state_00144658;\n  uVar6 = *(uint *)PTR__rl_enable_meta_00145be0;\n  *(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0;\n  *(undefined4 *)puVar3 = *(undefined4 *)puVar2;\n  if ((uVar4 & uVar6 & 4) != 0) {\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }\n  if (*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0) {\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }\n  if (*(int *)PTR_rl_editing_mode_001455b4 == 0) {\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1;\n  if ((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)) {\n    if ((pcVar7 != (char *)0x0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      pcVar7 = _rl_strip_prompt(pcVar7);\n      (*(code *)PTR_fputs_0014621c)(pcVar7,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(pcVar7);\n    }\n  }\n  else {\n    if ((pcVar7 == (char *)0x0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar8 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar8 = (code *)*puVar1;\n    }\n    (*pcVar8)();\n  }\n  if (*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0) {\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }\n  if (*(int *)PTR__rl_caught_signal_00145c04 == 0) {\n    return;\n  }\n  _rl_signal_handler(*(int *)PTR__rl_caught_signal_00145c04);\n  return;\n}" primitive_type (function_declarator "readline_internal_setup(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  uint uVar6;\n  char *pcVar7;\n  code *pcVar8;\n  \n  puVar3 = PTR__rl_out_stream_00145be4;\n  puVar2 = PTR_rl_outstream_001455c0;\n  uVar4 = *(uint *)PTR_rl_readline_state_00144658;\n  uVar6 = *(uint *)PTR__rl_enable_meta_00145be0;\n  *(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0;\n  *(undefined4 *)puVar3 = *(undefined4 *)puVar2;\n  if ((uVar4 & uVar6 & 4) != 0) {\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }\n  if (*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0) {\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }\n  if (*(int *)PTR_rl_editing_mode_001455b4 == 0) {\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1;\n  if ((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)) {\n    if ((pcVar7 != (char *)0x0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      pcVar7 = _rl_strip_prompt(pcVar7);\n      (*(code *)PTR_fputs_0014621c)(pcVar7,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(pcVar7);\n    }\n  }\n  else {\n    if ((pcVar7 == (char *)0x0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar8 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar8 = (code *)*puVar1;\n    }\n    (*pcVar8)();\n  }\n  if (*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0) {\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }\n  if (*(int *)PTR__rl_caught_signal_00145c04 == 0) {\n    return;\n  }\n  _rl_signal_handler(*(int *)PTR__rl_caught_signal_00145c04);\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (expression_statement "puVar3 = PTR__rl_out_stream_00145be4;" (assignment_expression "puVar3 = PTR__rl_out_stream_00145be4" identifier = identifier) ;) (expression_statement "puVar2 = PTR_rl_outstream_001455c0;" (assignment_expression "puVar2 = PTR_rl_outstream_001455c0" identifier = identifier) ;) (expression_statement "uVar4 = *(uint *)PTR_rl_readline_state_00144658;" (assignment_expression "uVar4 = *(uint *)PTR_rl_readline_state_00144658" identifier = (pointer_expression "*(uint *)PTR_rl_readline_state_00144658" * (cast_expression "(uint *)PTR_rl_readline_state_00144658" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar6 = *(uint *)PTR__rl_enable_meta_00145be0;" (assignment_expression "uVar6 = *(uint *)PTR__rl_enable_meta_00145be0" identifier = (pointer_expression "*(uint *)PTR__rl_enable_meta_00145be0" * (cast_expression "(uint *)PTR__rl_enable_meta_00145be0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0;" (assignment_expression "*(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0" (pointer_expression "*(undefined4 *)PTR__rl_in_stream_00145be8" * (cast_expression "(undefined4 *)PTR__rl_in_stream_00145be8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)PTR_rl_instream_001448b0" * (cast_expression "(undefined4 *)PTR_rl_instream_001448b0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)puVar3 = *(undefined4 *)puVar2;" (assignment_expression "*(undefined4 *)puVar3 = *(undefined4 *)puVar2" (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((uVar4 & uVar6 & 4) != 0) {\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }" if (parenthesized_expression "((uVar4 & uVar6 & 4) != 0)" ( (binary_expression "(uVar4 & uVar6 & 4) != 0" (parenthesized_expression "(uVar4 & uVar6 & 4)" ( (binary_expression "uVar4 & uVar6 & 4" (binary_expression "uVar4 & uVar6" identifier & identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }" { (expression_statement "(*(code *)PTR__rl_enable_meta_key_00145c14)();" (call_expression "(*(code *)PTR__rl_enable_meta_key_00145c14)()" (parenthesized_expression "(*(code *)PTR__rl_enable_meta_key_00145c14)" ( (pointer_expression "*(code *)PTR__rl_enable_meta_key_00145c14" * (cast_expression "(code *)PTR__rl_enable_meta_key_00145c14" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (if_statement "if (*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0) {\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }" if (parenthesized_expression "(*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0)" ( (binary_expression "*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0" (pointer_expression "*(code **)PTR_rl_startup_hook_001455d0" * (cast_expression "(code **)PTR_rl_startup_hook_001455d0" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }" { (expression_statement "(**(code **)PTR_rl_startup_hook_001455d0)();" (call_expression "(**(code **)PTR_rl_startup_hook_001455d0)()" (parenthesized_expression "(**(code **)PTR_rl_startup_hook_001455d0)" ( (pointer_expression "**(code **)PTR_rl_startup_hook_001455d0" * (pointer_expression "*(code **)PTR_rl_startup_hook_001455d0" * (cast_expression "(code **)PTR_rl_startup_hook_001455d0" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)PTR_rl_editing_mode_001455b4 == 0) {\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" if (parenthesized_expression "(*(int *)PTR_rl_editing_mode_001455b4 == 0)" ( (binary_expression "*(int *)PTR_rl_editing_mode_001455b4 == 0" (pointer_expression "*(int *)PTR_rl_editing_mode_001455b4" * (cast_expression "(int *)PTR_rl_editing_mode_001455b4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" { (expression_statement "rl_vi_insertion_mode(1,0x69);" (call_expression "rl_vi_insertion_mode(1,0x69)" identifier (argument_list "(1,0x69)" ( number_literal , number_literal ))) ;) (expression_statement "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;" (assignment_expression "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0" identifier = (pointer_expression "*(int *)PTR__rl_echoing_p_00145bf0" * (cast_expression "(int *)PTR__rl_echoing_p_00145bf0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar7 = *(char **)PTR_rl_prompt_00145bd0;" (assignment_expression "pcVar7 = *(char **)PTR_rl_prompt_00145bd0" identifier = (pointer_expression "*(char **)PTR_rl_prompt_00145bd0" * (cast_expression "(char **)PTR_rl_prompt_00145bd0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;" (assignment_expression "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4" identifier = (cast_expression "(undefined4 *)PTR_rl_redisplay_function_00145bf4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" else (if_statement "if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" if (parenthesized_expression "(*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0)" ( (binary_expression "*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0" (pointer_expression "*(int *)PTR__rl_show_mode_in_prompt_00145bec" * (cast_expression "(int *)PTR__rl_show_mode_in_prompt_00145bec" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" { (expression_statement "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;" (assignment_expression "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0" identifier = (pointer_expression "*(int *)PTR__rl_echoing_p_00145bf0" * (cast_expression "(int *)PTR__rl_echoing_p_00145bf0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar7 = *(char **)PTR_rl_prompt_00145bd0;" (assignment_expression "pcVar7 = *(char **)PTR_rl_prompt_00145bd0" identifier = (pointer_expression "*(char **)PTR_rl_prompt_00145bd0" * (cast_expression "(char **)PTR_rl_prompt_00145bd0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;" (assignment_expression "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4" identifier = (cast_expression "(undefined4 *)PTR_rl_redisplay_function_00145bf4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" else (compound_statement "{\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    pcVar7 = *(char **)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" { (expression_statement "_rl_reset_prompt();" (call_expression "_rl_reset_prompt()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;" (assignment_expression "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0" identifier = (pointer_expression "*(int *)PTR__rl_echoing_p_00145bf0" * (cast_expression "(int *)PTR__rl_echoing_p_00145bf0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar7 = *(char **)PTR_rl_prompt_00145bd0;" (assignment_expression "pcVar7 = *(char **)PTR_rl_prompt_00145bd0" identifier = (pointer_expression "*(char **)PTR_rl_prompt_00145bd0" * (cast_expression "(char **)PTR_rl_prompt_00145bd0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;" (assignment_expression "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4" identifier = (cast_expression "(undefined4 *)PTR_rl_redisplay_function_00145bf4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))))) (expression_statement "PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1;" (assignment_expression "PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1" identifier = (cast_expression "(undefined *)puVar1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)) {\n    if ((pcVar7 != (char *)0x0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      pcVar7 = _rl_strip_prompt(pcVar7);\n      (*(code *)PTR_fputs_0014621c)(pcVar7,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(pcVar7);\n    }\n  }\n  else {\n    if ((pcVar7 == (char *)0x0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar8 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar8 = (code *)*puVar1;\n    }\n    (*pcVar8)();\n  }" if (parenthesized_expression "((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8))" ( (binary_expression "(iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) && (parenthesized_expression "((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)" ( (binary_expression "(undefined *)*puVar1 == PTR_rl_redisplay_001455c8" (cast_expression "(undefined *)*puVar1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier)) == identifier) ))) )) (compound_statement "{\n    if ((pcVar7 != (char *)0x0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      pcVar7 = _rl_strip_prompt(pcVar7);\n      (*(code *)PTR_fputs_0014621c)(pcVar7,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(pcVar7);\n    }\n  }" { (if_statement "if ((pcVar7 != (char *)0x0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      pcVar7 = _rl_strip_prompt(pcVar7);\n      (*(code *)PTR_fputs_0014621c)(pcVar7,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(pcVar7);\n    }" if (parenthesized_expression "((pcVar7 != (char *)0x0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0))" ( (binary_expression "(pcVar7 != (char *)0x0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)" (parenthesized_expression "(pcVar7 != (char *)0x0)" ( (binary_expression "pcVar7 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*(int *)PTR_rl_already_prompted_00145bf8 == 0)" ( (binary_expression "*(int *)PTR_rl_already_prompted_00145bf8 == 0" (pointer_expression "*(int *)PTR_rl_already_prompted_00145bf8" * (cast_expression "(int *)PTR_rl_already_prompted_00145bf8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) (compound_statement "{\n      pcVar7 = _rl_strip_prompt(pcVar7);\n      (*(code *)PTR_fputs_0014621c)(pcVar7,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(pcVar7);\n    }" { (expression_statement "pcVar7 = _rl_strip_prompt(pcVar7);" (assignment_expression "pcVar7 = _rl_strip_prompt(pcVar7)" identifier = (call_expression "_rl_strip_prompt(pcVar7)" identifier (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_fputs_0014621c)(pcVar7,*(undefined4 *)puVar3);" (call_expression "(*(code *)PTR_fputs_0014621c)(pcVar7,*(undefined4 *)puVar3)" (parenthesized_expression "(*(code *)PTR_fputs_0014621c)" ( (pointer_expression "*(code *)PTR_fputs_0014621c" * (cast_expression "(code *)PTR_fputs_0014621c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar7,*(undefined4 *)puVar3)" ( identifier , (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "(*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);" (call_expression "(*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3)" (parenthesized_expression "(*(code *)PTR_fflush_00146520)" ( (pointer_expression "*(code *)PTR_fflush_00146520" * (cast_expression "(code *)PTR_fflush_00146520" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar3)" ( (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "(*(code *)PTR_xfree_00144b88)(pcVar7);" (call_expression "(*(code *)PTR_xfree_00144b88)(pcVar7)" (parenthesized_expression "(*(code *)PTR_xfree_00144b88)" ( (pointer_expression "*(code *)PTR_xfree_00144b88" * (cast_expression "(code *)PTR_xfree_00144b88" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar7)" ( identifier ))) ;) })) }) (else_clause "else {\n    if ((pcVar7 == (char *)0x0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar8 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar8 = (code *)*puVar1;\n    }\n    (*pcVar8)();\n  }" else (compound_statement "{\n    if ((pcVar7 == (char *)0x0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar8 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar8 = (code *)*puVar1;\n    }\n    (*pcVar8)();\n  }" { (if_statement "if ((pcVar7 == (char *)0x0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar8 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar8 = (code *)*puVar1;\n    }" if (parenthesized_expression "((pcVar7 == (char *)0x0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0))" ( (binary_expression "(pcVar7 == (char *)0x0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)" (parenthesized_expression "(pcVar7 == (char *)0x0)" ( (binary_expression "pcVar7 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*(int *)PTR_rl_already_prompted_00145bf8 == 0)" ( (binary_expression "*(int *)PTR_rl_already_prompted_00145bf8 == 0" (pointer_expression "*(int *)PTR_rl_already_prompted_00145bf8" * (cast_expression "(int *)PTR_rl_already_prompted_00145bf8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) (compound_statement "{\n      rl_on_new_line();\n      pcVar8 = (code *)*puVar1;\n    }" { (expression_statement "rl_on_new_line();" (call_expression "rl_on_new_line()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar8 = (code *)*puVar1;" (assignment_expression "pcVar8 = (code *)*puVar1" identifier = (cast_expression "(code *)*puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) }) (else_clause "else {\n      rl_on_new_line_with_prompt();\n      pcVar8 = (code *)*puVar1;\n    }" else (compound_statement "{\n      rl_on_new_line_with_prompt();\n      pcVar8 = (code *)*puVar1;\n    }" { (expression_statement "rl_on_new_line_with_prompt();" (call_expression "rl_on_new_line_with_prompt()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar8 = (code *)*puVar1;" (assignment_expression "pcVar8 = (code *)*puVar1" identifier = (cast_expression "(code *)*puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) }))) (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "()" ( ))) ;) }))) (if_statement "if (*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0) {\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }" if (parenthesized_expression "(*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0)" ( (binary_expression "*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0" (pointer_expression "*(code **)PTR_rl_pre_input_hook_00145c00" * (cast_expression "(code **)PTR_rl_pre_input_hook_00145c00" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }" { (expression_statement "(**(code **)PTR_rl_pre_input_hook_00145c00)();" (call_expression "(**(code **)PTR_rl_pre_input_hook_00145c00)()" (parenthesized_expression "(**(code **)PTR_rl_pre_input_hook_00145c00)" ( (pointer_expression "**(code **)PTR_rl_pre_input_hook_00145c00" * (pointer_expression "*(code **)PTR_rl_pre_input_hook_00145c00" * (cast_expression "(code **)PTR_rl_pre_input_hook_00145c00" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)PTR__rl_caught_signal_00145c04 == 0) {\n    return;\n  }" if (parenthesized_expression "(*(int *)PTR__rl_caught_signal_00145c04 == 0)" ( (binary_expression "*(int *)PTR__rl_caught_signal_00145c04 == 0" (pointer_expression "*(int *)PTR__rl_caught_signal_00145c04" * (cast_expression "(int *)PTR__rl_caught_signal_00145c04" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "_rl_signal_handler(*(int *)PTR__rl_caught_signal_00145c04);" (call_expression "_rl_signal_handler(*(int *)PTR__rl_caught_signal_00145c04)" identifier (argument_list "(*(int *)PTR__rl_caught_signal_00145c04)" ( (pointer_expression "*(int *)PTR__rl_caught_signal_00145c04" * (cast_expression "(int *)PTR__rl_caught_signal_00145c04" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void readline_internal_setup(void)\n\n{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  code *pcVar9;\n  \n  puVar3 = PTR__rl_out_stream_00145be4;\n  puVar2 = PTR_rl_outstream_001455c0;\n  uVar4 = *(uint *)PTR_rl_readline_state_00144658;\n  uVar7 = *(uint *)PTR__rl_enable_meta_00145be0;\n  *(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0;\n  *(undefined4 *)puVar3 = *(undefined4 *)puVar2;\n  if ((uVar4 & uVar7 & 4) != 0) {\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }\n  if (*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0) {\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }\n  if (*(int *)PTR_rl_editing_mode_001455b4 == 0) {\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1;\n  if ((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)) {\n    if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }\n  }\n  else {\n    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }\n    (*pcVar9)();\n  }\n  if (*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0) {\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }\n  if (*(int *)PTR__rl_caught_signal_00145c04 == 0) {\n    return;\n  }\n  _rl_signal_handler(*(undefined4 *)PTR__rl_caught_signal_00145c04);\n  return;\n}\n\n" (function_definition "void readline_internal_setup(void)\n\n{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  code *pcVar9;\n  \n  puVar3 = PTR__rl_out_stream_00145be4;\n  puVar2 = PTR_rl_outstream_001455c0;\n  uVar4 = *(uint *)PTR_rl_readline_state_00144658;\n  uVar7 = *(uint *)PTR__rl_enable_meta_00145be0;\n  *(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0;\n  *(undefined4 *)puVar3 = *(undefined4 *)puVar2;\n  if ((uVar4 & uVar7 & 4) != 0) {\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }\n  if (*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0) {\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }\n  if (*(int *)PTR_rl_editing_mode_001455b4 == 0) {\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1;\n  if ((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)) {\n    if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }\n  }\n  else {\n    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }\n    (*pcVar9)();\n  }\n  if (*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0) {\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }\n  if (*(int *)PTR__rl_caught_signal_00145c04 == 0) {\n    return;\n  }\n  _rl_signal_handler(*(undefined4 *)PTR__rl_caught_signal_00145c04);\n  return;\n}" primitive_type (function_declarator "readline_internal_setup(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  code *pcVar9;\n  \n  puVar3 = PTR__rl_out_stream_00145be4;\n  puVar2 = PTR_rl_outstream_001455c0;\n  uVar4 = *(uint *)PTR_rl_readline_state_00144658;\n  uVar7 = *(uint *)PTR__rl_enable_meta_00145be0;\n  *(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0;\n  *(undefined4 *)puVar3 = *(undefined4 *)puVar2;\n  if ((uVar4 & uVar7 & 4) != 0) {\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }\n  if (*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0) {\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }\n  if (*(int *)PTR_rl_editing_mode_001455b4 == 0) {\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1;\n  if ((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)) {\n    if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }\n  }\n  else {\n    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }\n    (*pcVar9)();\n  }\n  if (*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0) {\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }\n  if (*(int *)PTR__rl_caught_signal_00145c04 == 0) {\n    return;\n  }\n  _rl_signal_handler(*(undefined4 *)PTR__rl_caught_signal_00145c04);\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (expression_statement "puVar3 = PTR__rl_out_stream_00145be4;" (assignment_expression "puVar3 = PTR__rl_out_stream_00145be4" identifier = identifier) ;) (expression_statement "puVar2 = PTR_rl_outstream_001455c0;" (assignment_expression "puVar2 = PTR_rl_outstream_001455c0" identifier = identifier) ;) (expression_statement "uVar4 = *(uint *)PTR_rl_readline_state_00144658;" (assignment_expression "uVar4 = *(uint *)PTR_rl_readline_state_00144658" identifier = (pointer_expression "*(uint *)PTR_rl_readline_state_00144658" * (cast_expression "(uint *)PTR_rl_readline_state_00144658" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar7 = *(uint *)PTR__rl_enable_meta_00145be0;" (assignment_expression "uVar7 = *(uint *)PTR__rl_enable_meta_00145be0" identifier = (pointer_expression "*(uint *)PTR__rl_enable_meta_00145be0" * (cast_expression "(uint *)PTR__rl_enable_meta_00145be0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0;" (assignment_expression "*(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0" (pointer_expression "*(undefined4 *)PTR__rl_in_stream_00145be8" * (cast_expression "(undefined4 *)PTR__rl_in_stream_00145be8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)PTR_rl_instream_001448b0" * (cast_expression "(undefined4 *)PTR_rl_instream_001448b0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)puVar3 = *(undefined4 *)puVar2;" (assignment_expression "*(undefined4 *)puVar3 = *(undefined4 *)puVar2" (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((uVar4 & uVar7 & 4) != 0) {\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }" if (parenthesized_expression "((uVar4 & uVar7 & 4) != 0)" ( (binary_expression "(uVar4 & uVar7 & 4) != 0" (parenthesized_expression "(uVar4 & uVar7 & 4)" ( (binary_expression "uVar4 & uVar7 & 4" (binary_expression "uVar4 & uVar7" identifier & identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }" { (expression_statement "(*(code *)PTR__rl_enable_meta_key_00145c14)();" (call_expression "(*(code *)PTR__rl_enable_meta_key_00145c14)()" (parenthesized_expression "(*(code *)PTR__rl_enable_meta_key_00145c14)" ( (pointer_expression "*(code *)PTR__rl_enable_meta_key_00145c14" * (cast_expression "(code *)PTR__rl_enable_meta_key_00145c14" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (if_statement "if (*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0) {\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }" if (parenthesized_expression "(*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0)" ( (binary_expression "*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0" (pointer_expression "*(code **)PTR_rl_startup_hook_001455d0" * (cast_expression "(code **)PTR_rl_startup_hook_001455d0" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }" { (expression_statement "(**(code **)PTR_rl_startup_hook_001455d0)();" (call_expression "(**(code **)PTR_rl_startup_hook_001455d0)()" (parenthesized_expression "(**(code **)PTR_rl_startup_hook_001455d0)" ( (pointer_expression "**(code **)PTR_rl_startup_hook_001455d0" * (pointer_expression "*(code **)PTR_rl_startup_hook_001455d0" * (cast_expression "(code **)PTR_rl_startup_hook_001455d0" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)PTR_rl_editing_mode_001455b4 == 0) {\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" if (parenthesized_expression "(*(int *)PTR_rl_editing_mode_001455b4 == 0)" ( (binary_expression "*(int *)PTR_rl_editing_mode_001455b4 == 0" (pointer_expression "*(int *)PTR_rl_editing_mode_001455b4" * (cast_expression "(int *)PTR_rl_editing_mode_001455b4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" { (expression_statement "rl_vi_insertion_mode(1,0x69);" (call_expression "rl_vi_insertion_mode(1,0x69)" identifier (argument_list "(1,0x69)" ( number_literal , number_literal ))) ;) (expression_statement "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;" (assignment_expression "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0" identifier = (pointer_expression "*(int *)PTR__rl_echoing_p_00145bf0" * (cast_expression "(int *)PTR__rl_echoing_p_00145bf0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar8 = *(int *)PTR_rl_prompt_00145bd0;" (assignment_expression "iVar8 = *(int *)PTR_rl_prompt_00145bd0" identifier = (pointer_expression "*(int *)PTR_rl_prompt_00145bd0" * (cast_expression "(int *)PTR_rl_prompt_00145bd0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;" (assignment_expression "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4" identifier = (cast_expression "(undefined4 *)PTR_rl_redisplay_function_00145bf4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" else (if_statement "if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" if (parenthesized_expression "(*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0)" ( (binary_expression "*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0" (pointer_expression "*(int *)PTR__rl_show_mode_in_prompt_00145bec" * (cast_expression "(int *)PTR__rl_show_mode_in_prompt_00145bec" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" { (expression_statement "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;" (assignment_expression "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0" identifier = (pointer_expression "*(int *)PTR__rl_echoing_p_00145bf0" * (cast_expression "(int *)PTR__rl_echoing_p_00145bf0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar8 = *(int *)PTR_rl_prompt_00145bd0;" (assignment_expression "iVar8 = *(int *)PTR_rl_prompt_00145bd0" identifier = (pointer_expression "*(int *)PTR_rl_prompt_00145bd0" * (cast_expression "(int *)PTR_rl_prompt_00145bd0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;" (assignment_expression "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4" identifier = (cast_expression "(undefined4 *)PTR_rl_redisplay_function_00145bf4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" else (compound_statement "{\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" { (expression_statement "_rl_reset_prompt();" (call_expression "_rl_reset_prompt()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;" (assignment_expression "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0" identifier = (pointer_expression "*(int *)PTR__rl_echoing_p_00145bf0" * (cast_expression "(int *)PTR__rl_echoing_p_00145bf0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar8 = *(int *)PTR_rl_prompt_00145bd0;" (assignment_expression "iVar8 = *(int *)PTR_rl_prompt_00145bd0" identifier = (pointer_expression "*(int *)PTR_rl_prompt_00145bd0" * (cast_expression "(int *)PTR_rl_prompt_00145bd0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;" (assignment_expression "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4" identifier = (cast_expression "(undefined4 *)PTR_rl_redisplay_function_00145bf4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))))) (expression_statement "PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1;" (assignment_expression "PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1" identifier = (cast_expression "(undefined *)puVar1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)) {\n    if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }\n  }\n  else {\n    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }\n    (*pcVar9)();\n  }" if (parenthesized_expression "((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8))" ( (binary_expression "(iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) && (parenthesized_expression "((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)" ( (binary_expression "(undefined *)*puVar1 == PTR_rl_redisplay_001455c8" (cast_expression "(undefined *)*puVar1" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier)) == identifier) ))) )) (compound_statement "{\n    if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }\n  }" { (if_statement "if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }" if (parenthesized_expression "((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0))" ( (binary_expression "(iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)" (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)PTR_rl_already_prompted_00145bf8 == 0)" ( (binary_expression "*(int *)PTR_rl_already_prompted_00145bf8 == 0" (pointer_expression "*(int *)PTR_rl_already_prompted_00145bf8" * (cast_expression "(int *)PTR_rl_already_prompted_00145bf8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) (compound_statement "{\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }" { (expression_statement "uVar6 = _rl_strip_prompt();" (assignment_expression "uVar6 = _rl_strip_prompt()" identifier = (call_expression "_rl_strip_prompt()" identifier (argument_list "()" ( )))) ;) (expression_statement "(*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);" (call_expression "(*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3)" (parenthesized_expression "(*(code *)PTR_fputs_0014621c)" ( (pointer_expression "*(code *)PTR_fputs_0014621c" * (cast_expression "(code *)PTR_fputs_0014621c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6,*(undefined4 *)puVar3)" ( identifier , (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "(*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);" (call_expression "(*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3)" (parenthesized_expression "(*(code *)PTR_fflush_00146520)" ( (pointer_expression "*(code *)PTR_fflush_00146520" * (cast_expression "(code *)PTR_fflush_00146520" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar3)" ( (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "(*(code *)PTR_xfree_00144b88)(uVar6);" (call_expression "(*(code *)PTR_xfree_00144b88)(uVar6)" (parenthesized_expression "(*(code *)PTR_xfree_00144b88)" ( (pointer_expression "*(code *)PTR_xfree_00144b88" * (cast_expression "(code *)PTR_xfree_00144b88" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier ))) ;) })) }) (else_clause "else {\n    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }\n    (*pcVar9)();\n  }" else (compound_statement "{\n    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }\n    (*pcVar9)();\n  }" { (if_statement "if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }" if (parenthesized_expression "((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0))" ( (binary_expression "(iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)" (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)PTR_rl_already_prompted_00145bf8 == 0)" ( (binary_expression "*(int *)PTR_rl_already_prompted_00145bf8 == 0" (pointer_expression "*(int *)PTR_rl_already_prompted_00145bf8" * (cast_expression "(int *)PTR_rl_already_prompted_00145bf8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) (compound_statement "{\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }" { (expression_statement "rl_on_new_line();" (call_expression "rl_on_new_line()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar9 = (code *)*puVar1;" (assignment_expression "pcVar9 = (code *)*puVar1" identifier = (cast_expression "(code *)*puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) }) (else_clause "else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }" else (compound_statement "{\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }" { (expression_statement "rl_on_new_line_with_prompt();" (call_expression "rl_on_new_line_with_prompt()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar9 = (code *)*puVar1;" (assignment_expression "pcVar9 = (code *)*puVar1" identifier = (cast_expression "(code *)*puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) }))) (expression_statement "(*pcVar9)();" (call_expression "(*pcVar9)()" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "()" ( ))) ;) }))) (if_statement "if (*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0) {\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }" if (parenthesized_expression "(*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0)" ( (binary_expression "*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0" (pointer_expression "*(code **)PTR_rl_pre_input_hook_00145c00" * (cast_expression "(code **)PTR_rl_pre_input_hook_00145c00" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }" { (expression_statement "(**(code **)PTR_rl_pre_input_hook_00145c00)();" (call_expression "(**(code **)PTR_rl_pre_input_hook_00145c00)()" (parenthesized_expression "(**(code **)PTR_rl_pre_input_hook_00145c00)" ( (pointer_expression "**(code **)PTR_rl_pre_input_hook_00145c00" * (pointer_expression "*(code **)PTR_rl_pre_input_hook_00145c00" * (cast_expression "(code **)PTR_rl_pre_input_hook_00145c00" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)PTR__rl_caught_signal_00145c04 == 0) {\n    return;\n  }" if (parenthesized_expression "(*(int *)PTR__rl_caught_signal_00145c04 == 0)" ( (binary_expression "*(int *)PTR__rl_caught_signal_00145c04 == 0" (pointer_expression "*(int *)PTR__rl_caught_signal_00145c04" * (cast_expression "(int *)PTR__rl_caught_signal_00145c04" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "_rl_signal_handler(*(undefined4 *)PTR__rl_caught_signal_00145c04);" (call_expression "_rl_signal_handler(*(undefined4 *)PTR__rl_caught_signal_00145c04)" identifier (argument_list "(*(undefined4 *)PTR__rl_caught_signal_00145c04)" ( (pointer_expression "*(undefined4 *)PTR__rl_caught_signal_00145c04" * (cast_expression "(undefined4 *)PTR__rl_caught_signal_00145c04" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT & IDENT) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) }))))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == IDENT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (return_statement return ;) })))
(function_definition "void readline_internal_setup(void)\n\n{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  code *pcVar9;\n  \n  puVar3 = PTR__rl_out_stream_00145be4;\n  puVar2 = PTR_rl_outstream_001455c0;\n  uVar4 = *(uint *)PTR_rl_readline_state_00144658;\n  uVar7 = *(uint *)PTR__rl_enable_meta_00145be0;\n  *(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0;\n  *(undefined4 *)puVar3 = *(undefined4 *)puVar2;\n  if ((uVar4 & uVar7 & 4) != 0) {\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }\n  if (*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0) {\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }\n  if (*(int *)PTR_rl_editing_mode_001455b4 == 0) {\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1;\n  if ((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)) {\n    if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }\n  }\n  else {\n    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }\n    (*pcVar9)();\n  }\n  if (*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0) {\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }\n  if (*(int *)PTR__rl_caught_signal_00145c04 == 0) {\n    return;\n  }\n  _rl_signal_handler(*(undefined4 *)PTR__rl_caught_signal_00145c04);\n  return;\n}" (primitive_type "void") (function_declarator "readline_internal_setup(void)" (identifier "readline_internal_setup") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  code *pcVar9;\n  \n  puVar3 = PTR__rl_out_stream_00145be4;\n  puVar2 = PTR_rl_outstream_001455c0;\n  uVar4 = *(uint *)PTR_rl_readline_state_00144658;\n  uVar7 = *(uint *)PTR__rl_enable_meta_00145be0;\n  *(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0;\n  *(undefined4 *)puVar3 = *(undefined4 *)puVar2;\n  if ((uVar4 & uVar7 & 4) != 0) {\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }\n  if (*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0) {\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }\n  if (*(int *)PTR_rl_editing_mode_001455b4 == 0) {\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1;\n  if ((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)) {\n    if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }\n  }\n  else {\n    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }\n    (*pcVar9)();\n  }\n  if (*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0) {\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }\n  if (*(int *)PTR__rl_caught_signal_00145c04 == 0) {\n    return;\n  }\n  _rl_signal_handler(*(undefined4 *)PTR__rl_caught_signal_00145c04);\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "code *pcVar9;" (type_identifier "code") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (expression_statement "puVar3 = PTR__rl_out_stream_00145be4;" (assignment_expression "puVar3 = PTR__rl_out_stream_00145be4" (identifier "puVar3") (= "=") (identifier "PTR__rl_out_stream_00145be4")) (; ";")) (expression_statement "puVar2 = PTR_rl_outstream_001455c0;" (assignment_expression "puVar2 = PTR_rl_outstream_001455c0" (identifier "puVar2") (= "=") (identifier "PTR_rl_outstream_001455c0")) (; ";")) (expression_statement "uVar4 = *(uint *)PTR_rl_readline_state_00144658;" (assignment_expression "uVar4 = *(uint *)PTR_rl_readline_state_00144658" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)PTR_rl_readline_state_00144658" (* "*") (cast_expression "(uint *)PTR_rl_readline_state_00144658" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_readline_state_00144658")))) (; ";")) (expression_statement "uVar7 = *(uint *)PTR__rl_enable_meta_00145be0;" (assignment_expression "uVar7 = *(uint *)PTR__rl_enable_meta_00145be0" (identifier "uVar7") (= "=") (pointer_expression "*(uint *)PTR__rl_enable_meta_00145be0" (* "*") (cast_expression "(uint *)PTR__rl_enable_meta_00145be0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__rl_enable_meta_00145be0")))) (; ";")) (expression_statement "*(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0;" (assignment_expression "*(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0" (pointer_expression "*(undefined4 *)PTR__rl_in_stream_00145be8" (* "*") (cast_expression "(undefined4 *)PTR__rl_in_stream_00145be8" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__rl_in_stream_00145be8"))) (= "=") (pointer_expression "*(undefined4 *)PTR_rl_instream_001448b0" (* "*") (cast_expression "(undefined4 *)PTR_rl_instream_001448b0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_instream_001448b0")))) (; ";")) (expression_statement "*(undefined4 *)puVar3 = *(undefined4 *)puVar2;" (assignment_expression "*(undefined4 *)puVar3 = *(undefined4 *)puVar2" (pointer_expression "*(undefined4 *)puVar3" (* "*") (cast_expression "(undefined4 *)puVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) (= "=") (pointer_expression "*(undefined4 *)puVar2" (* "*") (cast_expression "(undefined4 *)puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2")))) (; ";")) (if_statement "if ((uVar4 & uVar7 & 4) != 0) {\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }" (if "if") (parenthesized_expression "((uVar4 & uVar7 & 4) != 0)" (( "(") (binary_expression "(uVar4 & uVar7 & 4) != 0" (parenthesized_expression "(uVar4 & uVar7 & 4)" (( "(") (binary_expression "uVar4 & uVar7 & 4" (binary_expression "uVar4 & uVar7" (identifier "uVar4") (& "&") (identifier "uVar7")) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR__rl_enable_meta_key_00145c14)();\n  }" ({ "{") (expression_statement "(*(code *)PTR__rl_enable_meta_key_00145c14)();" (call_expression "(*(code *)PTR__rl_enable_meta_key_00145c14)()" (parenthesized_expression "(*(code *)PTR__rl_enable_meta_key_00145c14)" (( "(") (pointer_expression "*(code *)PTR__rl_enable_meta_key_00145c14" (* "*") (cast_expression "(code *)PTR__rl_enable_meta_key_00145c14" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__rl_enable_meta_key_00145c14"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0) {\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }" (if "if") (parenthesized_expression "(*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0)" (( "(") (binary_expression "*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0" (pointer_expression "*(code **)PTR_rl_startup_hook_001455d0" (* "*") (cast_expression "(code **)PTR_rl_startup_hook_001455d0" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_rl_startup_hook_001455d0"))) (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (**(code **)PTR_rl_startup_hook_001455d0)();\n  }" ({ "{") (expression_statement "(**(code **)PTR_rl_startup_hook_001455d0)();" (call_expression "(**(code **)PTR_rl_startup_hook_001455d0)()" (parenthesized_expression "(**(code **)PTR_rl_startup_hook_001455d0)" (( "(") (pointer_expression "**(code **)PTR_rl_startup_hook_001455d0" (* "*") (pointer_expression "*(code **)PTR_rl_startup_hook_001455d0" (* "*") (cast_expression "(code **)PTR_rl_startup_hook_001455d0" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_rl_startup_hook_001455d0")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)PTR_rl_editing_mode_001455b4 == 0) {\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" (if "if") (parenthesized_expression "(*(int *)PTR_rl_editing_mode_001455b4 == 0)" (( "(") (binary_expression "*(int *)PTR_rl_editing_mode_001455b4 == 0" (pointer_expression "*(int *)PTR_rl_editing_mode_001455b4" (* "*") (cast_expression "(int *)PTR_rl_editing_mode_001455b4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_editing_mode_001455b4"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    rl_vi_insertion_mode(1,0x69);\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" ({ "{") (expression_statement "rl_vi_insertion_mode(1,0x69);" (call_expression "rl_vi_insertion_mode(1,0x69)" (identifier "rl_vi_insertion_mode") (argument_list "(1,0x69)" (( "(") (number_literal "1") (, ",") (number_literal "0x69") () ")"))) (; ";")) (expression_statement "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;" (assignment_expression "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0" (identifier "iVar5") (= "=") (pointer_expression "*(int *)PTR__rl_echoing_p_00145bf0" (* "*") (cast_expression "(int *)PTR__rl_echoing_p_00145bf0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__rl_echoing_p_00145bf0")))) (; ";")) (expression_statement "iVar8 = *(int *)PTR_rl_prompt_00145bd0;" (assignment_expression "iVar8 = *(int *)PTR_rl_prompt_00145bd0" (identifier "iVar8") (= "=") (pointer_expression "*(int *)PTR_rl_prompt_00145bd0" (* "*") (cast_expression "(int *)PTR_rl_prompt_00145bd0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_prompt_00145bd0")))) (; ";")) (expression_statement "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;" (assignment_expression "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)PTR_rl_redisplay_function_00145bf4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_redisplay_function_00145bf4"))) (; ";")) (} "}")) (else_clause "else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" (else "else") (if_statement "if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }\n  else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" (if "if") (parenthesized_expression "(*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0)" (( "(") (binary_expression "*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0" (pointer_expression "*(int *)PTR__rl_show_mode_in_prompt_00145bec" (* "*") (cast_expression "(int *)PTR__rl_show_mode_in_prompt_00145bec" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__rl_show_mode_in_prompt_00145bec"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" ({ "{") (expression_statement "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;" (assignment_expression "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0" (identifier "iVar5") (= "=") (pointer_expression "*(int *)PTR__rl_echoing_p_00145bf0" (* "*") (cast_expression "(int *)PTR__rl_echoing_p_00145bf0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__rl_echoing_p_00145bf0")))) (; ";")) (expression_statement "iVar8 = *(int *)PTR_rl_prompt_00145bd0;" (assignment_expression "iVar8 = *(int *)PTR_rl_prompt_00145bd0" (identifier "iVar8") (= "=") (pointer_expression "*(int *)PTR_rl_prompt_00145bd0" (* "*") (cast_expression "(int *)PTR_rl_prompt_00145bd0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_prompt_00145bd0")))) (; ";")) (expression_statement "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;" (assignment_expression "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)PTR_rl_redisplay_function_00145bf4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_redisplay_function_00145bf4"))) (; ";")) (} "}")) (else_clause "else {\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" (else "else") (compound_statement "{\n    _rl_reset_prompt();\n    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;\n    iVar8 = *(int *)PTR_rl_prompt_00145bd0;\n    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;\n  }" ({ "{") (expression_statement "_rl_reset_prompt();" (call_expression "_rl_reset_prompt()" (identifier "_rl_reset_prompt") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;" (assignment_expression "iVar5 = *(int *)PTR__rl_echoing_p_00145bf0" (identifier "iVar5") (= "=") (pointer_expression "*(int *)PTR__rl_echoing_p_00145bf0" (* "*") (cast_expression "(int *)PTR__rl_echoing_p_00145bf0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__rl_echoing_p_00145bf0")))) (; ";")) (expression_statement "iVar8 = *(int *)PTR_rl_prompt_00145bd0;" (assignment_expression "iVar8 = *(int *)PTR_rl_prompt_00145bd0" (identifier "iVar8") (= "=") (pointer_expression "*(int *)PTR_rl_prompt_00145bd0" (* "*") (cast_expression "(int *)PTR_rl_prompt_00145bd0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_prompt_00145bd0")))) (; ";")) (expression_statement "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;" (assignment_expression "puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)PTR_rl_redisplay_function_00145bf4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_redisplay_function_00145bf4"))) (; ";")) (} "}")))))) (expression_statement "PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1;" (assignment_expression "PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1" (identifier "PTR_rl_redisplay_function_00145bf4") (= "=") (cast_expression "(undefined *)puVar1" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (; ";")) (if_statement "if ((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)) {\n    if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }\n  }\n  else {\n    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }\n    (*pcVar9)();\n  }" (if "if") (parenthesized_expression "((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8))" (( "(") (binary_expression "(iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)" (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)" (( "(") (binary_expression "(undefined *)*puVar1 == PTR_rl_redisplay_001455c8" (cast_expression "(undefined *)*puVar1" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (== "==") (identifier "PTR_rl_redisplay_001455c8")) () ")"))) () ")")) (compound_statement "{\n    if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }\n  }" ({ "{") (if_statement "if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }" (if "if") (parenthesized_expression "((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0))" (( "(") (binary_expression "(iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)" (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)PTR_rl_already_prompted_00145bf8 == 0)" (( "(") (binary_expression "*(int *)PTR_rl_already_prompted_00145bf8 == 0" (pointer_expression "*(int *)PTR_rl_already_prompted_00145bf8" (* "*") (cast_expression "(int *)PTR_rl_already_prompted_00145bf8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_already_prompted_00145bf8"))) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      uVar6 = _rl_strip_prompt();\n      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);\n      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);\n      (*(code *)PTR_xfree_00144b88)(uVar6);\n    }" ({ "{") (expression_statement "uVar6 = _rl_strip_prompt();" (assignment_expression "uVar6 = _rl_strip_prompt()" (identifier "uVar6") (= "=") (call_expression "_rl_strip_prompt()" (identifier "_rl_strip_prompt") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);" (call_expression "(*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3)" (parenthesized_expression "(*(code *)PTR_fputs_0014621c)" (( "(") (pointer_expression "*(code *)PTR_fputs_0014621c" (* "*") (cast_expression "(code *)PTR_fputs_0014621c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fputs_0014621c"))) () ")")) (argument_list "(uVar6,*(undefined4 *)puVar3)" (( "(") (identifier "uVar6") (, ",") (pointer_expression "*(undefined4 *)puVar3" (* "*") (cast_expression "(undefined4 *)puVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);" (call_expression "(*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3)" (parenthesized_expression "(*(code *)PTR_fflush_00146520)" (( "(") (pointer_expression "*(code *)PTR_fflush_00146520" (* "*") (cast_expression "(code *)PTR_fflush_00146520" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fflush_00146520"))) () ")")) (argument_list "(*(undefined4 *)puVar3)" (( "(") (pointer_expression "*(undefined4 *)puVar3" (* "*") (cast_expression "(undefined4 *)puVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_xfree_00144b88)(uVar6);" (call_expression "(*(code *)PTR_xfree_00144b88)(uVar6)" (parenthesized_expression "(*(code *)PTR_xfree_00144b88)" (( "(") (pointer_expression "*(code *)PTR_xfree_00144b88" (* "*") (cast_expression "(code *)PTR_xfree_00144b88" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xfree_00144b88"))) () ")")) (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }\n    (*pcVar9)();\n  }" (else "else") (compound_statement "{\n    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }\n    (*pcVar9)();\n  }" ({ "{") (if_statement "if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }\n    else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }" (if "if") (parenthesized_expression "((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0))" (( "(") (binary_expression "(iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)" (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(int *)PTR_rl_already_prompted_00145bf8 == 0)" (( "(") (binary_expression "*(int *)PTR_rl_already_prompted_00145bf8 == 0" (pointer_expression "*(int *)PTR_rl_already_prompted_00145bf8" (* "*") (cast_expression "(int *)PTR_rl_already_prompted_00145bf8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_already_prompted_00145bf8"))) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      rl_on_new_line();\n      pcVar9 = (code *)*puVar1;\n    }" ({ "{") (expression_statement "rl_on_new_line();" (call_expression "rl_on_new_line()" (identifier "rl_on_new_line") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar9 = (code *)*puVar1;" (assignment_expression "pcVar9 = (code *)*puVar1" (identifier "pcVar9") (= "=") (cast_expression "(code *)*puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";")) (} "}")) (else_clause "else {\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }" (else "else") (compound_statement "{\n      rl_on_new_line_with_prompt();\n      pcVar9 = (code *)*puVar1;\n    }" ({ "{") (expression_statement "rl_on_new_line_with_prompt();" (call_expression "rl_on_new_line_with_prompt()" (identifier "rl_on_new_line_with_prompt") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar9 = (code *)*puVar1;" (assignment_expression "pcVar9 = (code *)*puVar1" (identifier "pcVar9") (= "=") (cast_expression "(code *)*puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";")) (} "}")))) (expression_statement "(*pcVar9)();" (call_expression "(*pcVar9)()" (parenthesized_expression "(*pcVar9)" (( "(") (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (if_statement "if (*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0) {\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }" (if "if") (parenthesized_expression "(*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0)" (( "(") (binary_expression "*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0" (pointer_expression "*(code **)PTR_rl_pre_input_hook_00145c00" (* "*") (cast_expression "(code **)PTR_rl_pre_input_hook_00145c00" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_rl_pre_input_hook_00145c00"))) (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (**(code **)PTR_rl_pre_input_hook_00145c00)();\n  }" ({ "{") (expression_statement "(**(code **)PTR_rl_pre_input_hook_00145c00)();" (call_expression "(**(code **)PTR_rl_pre_input_hook_00145c00)()" (parenthesized_expression "(**(code **)PTR_rl_pre_input_hook_00145c00)" (( "(") (pointer_expression "**(code **)PTR_rl_pre_input_hook_00145c00" (* "*") (pointer_expression "*(code **)PTR_rl_pre_input_hook_00145c00" (* "*") (cast_expression "(code **)PTR_rl_pre_input_hook_00145c00" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_rl_pre_input_hook_00145c00")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)PTR__rl_caught_signal_00145c04 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)PTR__rl_caught_signal_00145c04 == 0)" (( "(") (binary_expression "*(int *)PTR__rl_caught_signal_00145c04 == 0" (pointer_expression "*(int *)PTR__rl_caught_signal_00145c04" (* "*") (cast_expression "(int *)PTR__rl_caught_signal_00145c04" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__rl_caught_signal_00145c04"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "_rl_signal_handler(*(undefined4 *)PTR__rl_caught_signal_00145c04);" (call_expression "_rl_signal_handler(*(undefined4 *)PTR__rl_caught_signal_00145c04)" (identifier "_rl_signal_handler") (argument_list "(*(undefined4 *)PTR__rl_caught_signal_00145c04)" (( "(") (pointer_expression "*(undefined4 *)PTR__rl_caught_signal_00145c04" (* "*") (cast_expression "(undefined4 *)PTR__rl_caught_signal_00145c04" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__rl_caught_signal_00145c04"))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (identifier))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (return_statement))))

void MASKED(void)

{
  undefined4 *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  uint uVar4;
  int iVar5;
  undefined4 uVar6;
  uint uVar7;
  int iVar8;
  code *pcVar9;
  
  puVar3 = PTR__rl_out_stream_00145be4;
  puVar2 = PTR_rl_outstream_001455c0;
  uVar4 = *(uint *)PTR_rl_readline_state_00144658;
  uVar7 = *(uint *)PTR__rl_enable_meta_00145be0;
  *(undefined4 *)PTR__rl_in_stream_00145be8 = *(undefined4 *)PTR_rl_instream_001448b0;
  *(undefined4 *)puVar3 = *(undefined4 *)puVar2;
  if ((uVar4 & uVar7 & 4) != 0) {
    (*(code *)PTR__rl_enable_meta_key_00145c14)();
  }
  if (*(code **)PTR_rl_startup_hook_001455d0 != (code *)0x0) {
    (**(code **)PTR_rl_startup_hook_001455d0)();
  }
  if (*(int *)PTR_rl_editing_mode_001455b4 == 0) {
    rl_vi_insertion_mode(1,0x69);
    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;
    iVar8 = *(int *)PTR_rl_prompt_00145bd0;
    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;
  }
  else if (*(int *)PTR__rl_show_mode_in_prompt_00145bec == 0) {
    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;
    iVar8 = *(int *)PTR_rl_prompt_00145bd0;
    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;
  }
  else {
    _rl_reset_prompt();
    iVar5 = *(int *)PTR__rl_echoing_p_00145bf0;
    iVar8 = *(int *)PTR_rl_prompt_00145bd0;
    puVar1 = (undefined4 *)PTR_rl_redisplay_function_00145bf4;
  }
  PTR_rl_redisplay_function_00145bf4 = (undefined *)puVar1;
  if ((iVar5 == 0) && ((undefined *)*puVar1 == PTR_rl_redisplay_001455c8)) {
    if ((iVar8 != 0) && (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {
      uVar6 = _rl_strip_prompt();
      (*(code *)PTR_fputs_0014621c)(uVar6,*(undefined4 *)puVar3);
      (*(code *)PTR_fflush_00146520)(*(undefined4 *)puVar3);
      (*(code *)PTR_xfree_00144b88)(uVar6);
    }
  }
  else {
    if ((iVar8 == 0) || (*(int *)PTR_rl_already_prompted_00145bf8 == 0)) {
      rl_on_new_line();
      pcVar9 = (code *)*puVar1;
    }
    else {
      rl_on_new_line_with_prompt();
      pcVar9 = (code *)*puVar1;
    }
    (*pcVar9)();
  }
  if (*(code **)PTR_rl_pre_input_hook_00145c00 != (code *)0x0) {
    (**(code **)PTR_rl_pre_input_hook_00145c00)();
  }
  if (*(int *)PTR__rl_caught_signal_00145c04 == 0) {
    return;
  }
  _rl_signal_handler(*(undefined4 *)PTR__rl_caught_signal_00145c04);
  return;
}

