
int rl_insert_comment(int count,int key)

{
  int to;
  char cVar2;
  int iVar1;
  char *string;
  
  string = *(char **)PTR__rl_comment_begin_00145f6c;
  *(undefined4 *)PTR_rl_point_0014555c = 0;
  if (string == (char *)0x0) {
    cVar2 = '#';
    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {
      string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;
    }
    else {
      to = 1;
      string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;
LAB_00107e2c:
      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar2) &&
         (iVar1 = (*(code *)PTR_strncmp_00146254)(string,*(char **)PTR_rl_line_buffer_00145548,to),
         iVar1 == 0)) goto LAB_00107e9c;
    }
  }
  else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {
    to = (*(code *)PTR_strlen_00146390)(string);
    if (to != 0) {
      cVar2 = *string;
      goto LAB_00107e2c;
    }
LAB_00107e9c:
    rl_delete_text(0,to);
    goto LAB_00107e60;
  }
  rl_insert_text(string);
LAB_00107e60:
  (**(code **)PTR_rl_redisplay_function_00145bf4)();
  rl_newline(1,10);
  return 0;
}



undefined4 rl_insert_comment(void)

{
  int iVar1;
  char cVar3;
  int iVar2;
  char *pcVar4;
  
  pcVar4 = *(char **)PTR__rl_comment_begin_00145f6c;
  *(undefined4 *)PTR_rl_point_0014555c = 0;
  if (pcVar4 == (char *)0x0) {
    cVar3 = '#';
    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {
      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;
    }
    else {
      iVar1 = 1;
      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;
LAB_00107e2c:
      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&
         (iVar2 = (*(code *)PTR_strncmp_00146254)
                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))
      goto LAB_00107e9c;
    }
  }
  else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {
    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);
    if (iVar1 != 0) {
      cVar3 = *pcVar4;
      goto LAB_00107e2c;
    }
LAB_00107e9c:
    rl_delete_text(0,iVar1);
    goto LAB_00107e60;
  }
  rl_insert_text(pcVar4);
LAB_00107e60:
  (**(code **)PTR_rl_redisplay_function_00145bf4)();
  rl_newline(1,10);
  return 0;
}


lui gp,0x4
addiu gp,gp,0x4774
addu gp,gp,t9
lw v0,-0x65d4(gp)
addiu sp,sp,-0x28
sw s0,0x1c(sp)
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s1,0x20(sp)
lw s0,0x0(v0)
lw v0,-0x6fe4(gp)
sw zero,0x0(v0)
lw v0,-0x6ffc(gp)
beq s0,zero,0x00107eb4
_lw v0,0x0(v0)
beq v0,zero,0x00107e50
_lw t9,-0x61b0(gp)
jalr t9
_or a0,s0,zero
lw gp,0x10(sp)
or s1,v0,zero
beq v0,zero,0x00107e9c
_or a2,v0,zero
lb v0,0x0(s0)
lw v1,-0x6ff8(gp)
lw a1,0x0(v1)
lb v1,0x0(a1)
bne v1,v0,0x00107e50
_lw t9,-0x62ec(gp)
jalr t9
_or a0,s0,zero
beq v0,zero,0x00107e9c
_lw gp,0x10(sp)
lw t9,-0x6f64(gp)
bal 0x00105558
_or a0,s0,zero
lw gp,0x10(sp)
lw v0,-0x694c(gp)
lw t9,0x0(v0)
jalr t9
_nop
li a1,0xa
lw gp,0x10(sp)
lw t9,-0x7004(gp)
bal 0x00107194
_li a0,0x1
or v0,zero,zero
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x6f04(gp)
or a0,zero,zero
bal 0x00105d80
_or a1,s1,zero
b 0x00107e60
_lw gp,0x10(sp)
beq v0,zero,0x00107ed0
_li v0,0x23
lw s0,-0x7aac(gp)
li s1,0x1
li a2,0x1
b 0x00107e2c
_addiu s0,s0,-0x6f90
lw s0,-0x7aac(gp)
b 0x00107e50
_addiu s0,s0,-0x6f90
(translation_unit "undefined4 rl_insert_comment(void)\n\n{\n  int iVar1;\n  char cVar3;\n  int iVar2;\n  char *pcVar4;\n  \n  pcVar4 = *(char **)PTR__rl_comment_begin_00145f6c;\n  *(undefined4 *)PTR_rl_point_0014555c = 0;\n  if (pcVar4 == (char *)0x0) {\n    cVar3 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }\n  }\n  else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }\n  rl_insert_text(pcVar4);\nLAB_00107e60:\n  (**(code **)PTR_rl_redisplay_function_00145bf4)();\n  rl_newline(1,10);\n  return 0;\n}\n\n" (function_definition "undefined4 rl_insert_comment(void)\n\n{\n  int iVar1;\n  char cVar3;\n  int iVar2;\n  char *pcVar4;\n  \n  pcVar4 = *(char **)PTR__rl_comment_begin_00145f6c;\n  *(undefined4 *)PTR_rl_point_0014555c = 0;\n  if (pcVar4 == (char *)0x0) {\n    cVar3 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }\n  }\n  else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }\n  rl_insert_text(pcVar4);\nLAB_00107e60:\n  (**(code **)PTR_rl_redisplay_function_00145bf4)();\n  rl_newline(1,10);\n  return 0;\n}" type_identifier (function_declarator "rl_insert_comment(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  char cVar3;\n  int iVar2;\n  char *pcVar4;\n  \n  pcVar4 = *(char **)PTR__rl_comment_begin_00145f6c;\n  *(undefined4 *)PTR_rl_point_0014555c = 0;\n  if (pcVar4 == (char *)0x0) {\n    cVar3 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }\n  }\n  else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }\n  rl_insert_text(pcVar4);\nLAB_00107e60:\n  (**(code **)PTR_rl_redisplay_function_00145bf4)();\n  rl_newline(1,10);\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "pcVar4 = *(char **)PTR__rl_comment_begin_00145f6c;" (assignment_expression "pcVar4 = *(char **)PTR__rl_comment_begin_00145f6c" identifier = (pointer_expression "*(char **)PTR__rl_comment_begin_00145f6c" * (cast_expression "(char **)PTR__rl_comment_begin_00145f6c" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "*(undefined4 *)PTR_rl_point_0014555c = 0;" (assignment_expression "*(undefined4 *)PTR_rl_point_0014555c = 0" (pointer_expression "*(undefined4 *)PTR_rl_point_0014555c" * (cast_expression "(undefined4 *)PTR_rl_point_0014555c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n    cVar3 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }\n  }\n  else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    cVar3 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }\n  }" { (expression_statement "cVar3 = '#';" (assignment_expression "cVar3 = '#'" identifier = (char_literal "'#'" ' character ')) ;) (if_statement "if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }" if (parenthesized_expression "(*(int *)PTR_rl_explicit_arg_00145544 == 0)" ( (binary_expression "*(int *)PTR_rl_explicit_arg_00145544 == 0" (pointer_expression "*(int *)PTR_rl_explicit_arg_00145544" * (cast_expression "(int *)PTR_rl_explicit_arg_00145544" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }" { (expression_statement "pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;" (assignment_expression "pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90" identifier = (binary_expression "PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90" identifier + number_literal)) ;) }) (else_clause "else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }" else (compound_statement "{\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }" { (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (expression_statement "pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;" (assignment_expression "pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90" identifier = (binary_expression "PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90" identifier + number_literal)) ;) (labeled_statement "LAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;" statement_identifier : (if_statement "if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;" if (parenthesized_expression "((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))" ( (binary_expression "(**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0)" (parenthesized_expression "(**(char **)PTR_rl_line_buffer_00145548 == cVar3)" ( (binary_expression "**(char **)PTR_rl_line_buffer_00145548 == cVar3" (pointer_expression "**(char **)PTR_rl_line_buffer_00145548" * (pointer_expression "*(char **)PTR_rl_line_buffer_00145548" * (cast_expression "(char **)PTR_rl_line_buffer_00145548" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) == identifier) )) && (parenthesized_expression "(iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0)" ( (comma_expression "iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0" (assignment_expression "iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1)" identifier = (call_expression "(*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1)" (parenthesized_expression "(*(code *)PTR_strncmp_00146254)" ( (pointer_expression "*(code *)PTR_strncmp_00146254" * (cast_expression "(code *)PTR_strncmp_00146254" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1)" ( identifier , (pointer_expression "*(char **)PTR_rl_line_buffer_00145548" * (cast_expression "(char **)PTR_rl_line_buffer_00145548" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_00107e9c;" goto statement_identifier ;))) }))) }) (else_clause "else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }" else (if_statement "if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }" if (parenthesized_expression "(*(int *)PTR_rl_explicit_arg_00145544 != 0)" ( (binary_expression "*(int *)PTR_rl_explicit_arg_00145544 != 0" (pointer_expression "*(int *)PTR_rl_explicit_arg_00145544" * (cast_expression "(int *)PTR_rl_explicit_arg_00145544" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(pcVar4)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }" { (expression_statement "cVar3 = *pcVar4;" (assignment_expression "cVar3 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) (goto_statement "goto LAB_00107e2c;" goto statement_identifier ;) })) (labeled_statement "LAB_00107e9c:\n    rl_delete_text(0,iVar1);" statement_identifier : (expression_statement "rl_delete_text(0,iVar1);" (call_expression "rl_delete_text(0,iVar1)" identifier (argument_list "(0,iVar1)" ( number_literal , identifier ))) ;)) (goto_statement "goto LAB_00107e60;" goto statement_identifier ;) })))) (expression_statement "rl_insert_text(pcVar4);" (call_expression "rl_insert_text(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (labeled_statement "LAB_00107e60:\n  (**(code **)PTR_rl_redisplay_function_00145bf4)();" statement_identifier : (expression_statement "(**(code **)PTR_rl_redisplay_function_00145bf4)();" (call_expression "(**(code **)PTR_rl_redisplay_function_00145bf4)()" (parenthesized_expression "(**(code **)PTR_rl_redisplay_function_00145bf4)" ( (pointer_expression "**(code **)PTR_rl_redisplay_function_00145bf4" * (pointer_expression "*(code **)PTR_rl_redisplay_function_00145bf4" * (cast_expression "(code **)PTR_rl_redisplay_function_00145bf4" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "()" ( ))) ;)) (expression_statement "rl_newline(1,10);" (call_expression "rl_newline(1,10)" identifier (argument_list "(1,10)" ( number_literal , number_literal ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int rl_insert_comment(int count,int key)\n\n{\n  int to;\n  char cVar2;\n  int iVar1;\n  char *string;\n  \n  string = *(char **)PTR__rl_comment_begin_00145f6c;\n  *(undefined4 *)PTR_rl_point_0014555c = 0;\n  if (string == (char *)0x0) {\n    cVar2 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      to = 1;\n      string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar2) &&\n         (iVar1 = (*(code *)PTR_strncmp_00146254)(string,*(char **)PTR_rl_line_buffer_00145548,to),\n         iVar1 == 0)) goto LAB_00107e9c;\n    }\n  }\n  else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    to = (*(code *)PTR_strlen_00146390)(string);\n    if (to != 0) {\n      cVar2 = *string;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,to);\n    goto LAB_00107e60;\n  }\n  rl_insert_text(string);\nLAB_00107e60:\n  (**(code **)PTR_rl_redisplay_function_00145bf4)();\n  rl_newline(1,10);\n  return 0;\n}\n\n" (function_definition "int rl_insert_comment(int count,int key)\n\n{\n  int to;\n  char cVar2;\n  int iVar1;\n  char *string;\n  \n  string = *(char **)PTR__rl_comment_begin_00145f6c;\n  *(undefined4 *)PTR_rl_point_0014555c = 0;\n  if (string == (char *)0x0) {\n    cVar2 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      to = 1;\n      string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar2) &&\n         (iVar1 = (*(code *)PTR_strncmp_00146254)(string,*(char **)PTR_rl_line_buffer_00145548,to),\n         iVar1 == 0)) goto LAB_00107e9c;\n    }\n  }\n  else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    to = (*(code *)PTR_strlen_00146390)(string);\n    if (to != 0) {\n      cVar2 = *string;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,to);\n    goto LAB_00107e60;\n  }\n  rl_insert_text(string);\nLAB_00107e60:\n  (**(code **)PTR_rl_redisplay_function_00145bf4)();\n  rl_newline(1,10);\n  return 0;\n}" primitive_type (function_declarator "rl_insert_comment(int count,int key)" identifier (parameter_list "(int count,int key)" ( (parameter_declaration "int count" primitive_type identifier) , (parameter_declaration "int key" primitive_type identifier) ))) (compound_statement "{\n  int to;\n  char cVar2;\n  int iVar1;\n  char *string;\n  \n  string = *(char **)PTR__rl_comment_begin_00145f6c;\n  *(undefined4 *)PTR_rl_point_0014555c = 0;\n  if (string == (char *)0x0) {\n    cVar2 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      to = 1;\n      string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar2) &&\n         (iVar1 = (*(code *)PTR_strncmp_00146254)(string,*(char **)PTR_rl_line_buffer_00145548,to),\n         iVar1 == 0)) goto LAB_00107e9c;\n    }\n  }\n  else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    to = (*(code *)PTR_strlen_00146390)(string);\n    if (to != 0) {\n      cVar2 = *string;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,to);\n    goto LAB_00107e60;\n  }\n  rl_insert_text(string);\nLAB_00107e60:\n  (**(code **)PTR_rl_redisplay_function_00145bf4)();\n  rl_newline(1,10);\n  return 0;\n}" { (declaration "int to;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *string;" primitive_type (pointer_declarator "*string" * identifier) ;) (expression_statement "string = *(char **)PTR__rl_comment_begin_00145f6c;" (assignment_expression "string = *(char **)PTR__rl_comment_begin_00145f6c" identifier = (pointer_expression "*(char **)PTR__rl_comment_begin_00145f6c" * (cast_expression "(char **)PTR__rl_comment_begin_00145f6c" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "*(undefined4 *)PTR_rl_point_0014555c = 0;" (assignment_expression "*(undefined4 *)PTR_rl_point_0014555c = 0" (pointer_expression "*(undefined4 *)PTR_rl_point_0014555c" * (cast_expression "(undefined4 *)PTR_rl_point_0014555c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if (string == (char *)0x0) {\n    cVar2 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      to = 1;\n      string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar2) &&\n         (iVar1 = (*(code *)PTR_strncmp_00146254)(string,*(char **)PTR_rl_line_buffer_00145548,to),\n         iVar1 == 0)) goto LAB_00107e9c;\n    }\n  }\n  else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    to = (*(code *)PTR_strlen_00146390)(string);\n    if (to != 0) {\n      cVar2 = *string;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,to);\n    goto LAB_00107e60;\n  }" if (parenthesized_expression "(string == (char *)0x0)" ( (binary_expression "string == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    cVar2 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      to = 1;\n      string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar2) &&\n         (iVar1 = (*(code *)PTR_strncmp_00146254)(string,*(char **)PTR_rl_line_buffer_00145548,to),\n         iVar1 == 0)) goto LAB_00107e9c;\n    }\n  }" { (expression_statement "cVar2 = '#';" (assignment_expression "cVar2 = '#'" identifier = (char_literal "'#'" ' character ')) ;) (if_statement "if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      to = 1;\n      string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar2) &&\n         (iVar1 = (*(code *)PTR_strncmp_00146254)(string,*(char **)PTR_rl_line_buffer_00145548,to),\n         iVar1 == 0)) goto LAB_00107e9c;\n    }" if (parenthesized_expression "(*(int *)PTR_rl_explicit_arg_00145544 == 0)" ( (binary_expression "*(int *)PTR_rl_explicit_arg_00145544 == 0" (pointer_expression "*(int *)PTR_rl_explicit_arg_00145544" * (cast_expression "(int *)PTR_rl_explicit_arg_00145544" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n      string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }" { (expression_statement "string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;" (assignment_expression "string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90" identifier = (binary_expression "PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90" identifier + number_literal)) ;) }) (else_clause "else {\n      to = 1;\n      string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar2) &&\n         (iVar1 = (*(code *)PTR_strncmp_00146254)(string,*(char **)PTR_rl_line_buffer_00145548,to),\n         iVar1 == 0)) goto LAB_00107e9c;\n    }" else (compound_statement "{\n      to = 1;\n      string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar2) &&\n         (iVar1 = (*(code *)PTR_strncmp_00146254)(string,*(char **)PTR_rl_line_buffer_00145548,to),\n         iVar1 == 0)) goto LAB_00107e9c;\n    }" { (expression_statement "to = 1;" (assignment_expression "to = 1" identifier = number_literal) ;) (expression_statement "string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;" (assignment_expression "string = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90" identifier = (binary_expression "PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90" identifier + number_literal)) ;) (labeled_statement "LAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar2) &&\n         (iVar1 = (*(code *)PTR_strncmp_00146254)(string,*(char **)PTR_rl_line_buffer_00145548,to),\n         iVar1 == 0)) goto LAB_00107e9c;" statement_identifier : (if_statement "if ((**(char **)PTR_rl_line_buffer_00145548 == cVar2) &&\n         (iVar1 = (*(code *)PTR_strncmp_00146254)(string,*(char **)PTR_rl_line_buffer_00145548,to),\n         iVar1 == 0)) goto LAB_00107e9c;" if (parenthesized_expression "((**(char **)PTR_rl_line_buffer_00145548 == cVar2) &&\n         (iVar1 = (*(code *)PTR_strncmp_00146254)(string,*(char **)PTR_rl_line_buffer_00145548,to),\n         iVar1 == 0))" ( (binary_expression "(**(char **)PTR_rl_line_buffer_00145548 == cVar2) &&\n         (iVar1 = (*(code *)PTR_strncmp_00146254)(string,*(char **)PTR_rl_line_buffer_00145548,to),\n         iVar1 == 0)" (parenthesized_expression "(**(char **)PTR_rl_line_buffer_00145548 == cVar2)" ( (binary_expression "**(char **)PTR_rl_line_buffer_00145548 == cVar2" (pointer_expression "**(char **)PTR_rl_line_buffer_00145548" * (pointer_expression "*(char **)PTR_rl_line_buffer_00145548" * (cast_expression "(char **)PTR_rl_line_buffer_00145548" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) == identifier) )) && (parenthesized_expression "(iVar1 = (*(code *)PTR_strncmp_00146254)(string,*(char **)PTR_rl_line_buffer_00145548,to),\n         iVar1 == 0)" ( (comma_expression "iVar1 = (*(code *)PTR_strncmp_00146254)(string,*(char **)PTR_rl_line_buffer_00145548,to),\n         iVar1 == 0" (assignment_expression "iVar1 = (*(code *)PTR_strncmp_00146254)(string,*(char **)PTR_rl_line_buffer_00145548,to)" identifier = (call_expression "(*(code *)PTR_strncmp_00146254)(string,*(char **)PTR_rl_line_buffer_00145548,to)" (parenthesized_expression "(*(code *)PTR_strncmp_00146254)" ( (pointer_expression "*(code *)PTR_strncmp_00146254" * (cast_expression "(code *)PTR_strncmp_00146254" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(string,*(char **)PTR_rl_line_buffer_00145548,to)" ( identifier , (pointer_expression "*(char **)PTR_rl_line_buffer_00145548" * (cast_expression "(char **)PTR_rl_line_buffer_00145548" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_00107e9c;" goto statement_identifier ;))) }))) }) (else_clause "else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    to = (*(code *)PTR_strlen_00146390)(string);\n    if (to != 0) {\n      cVar2 = *string;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,to);\n    goto LAB_00107e60;\n  }" else (if_statement "if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    to = (*(code *)PTR_strlen_00146390)(string);\n    if (to != 0) {\n      cVar2 = *string;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,to);\n    goto LAB_00107e60;\n  }" if (parenthesized_expression "(*(int *)PTR_rl_explicit_arg_00145544 != 0)" ( (binary_expression "*(int *)PTR_rl_explicit_arg_00145544 != 0" (pointer_expression "*(int *)PTR_rl_explicit_arg_00145544" * (cast_expression "(int *)PTR_rl_explicit_arg_00145544" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n    to = (*(code *)PTR_strlen_00146390)(string);\n    if (to != 0) {\n      cVar2 = *string;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,to);\n    goto LAB_00107e60;\n  }" { (expression_statement "to = (*(code *)PTR_strlen_00146390)(string);" (assignment_expression "to = (*(code *)PTR_strlen_00146390)(string)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(string)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(string)" ( identifier )))) ;) (if_statement "if (to != 0) {\n      cVar2 = *string;\n      goto LAB_00107e2c;\n    }" if (parenthesized_expression "(to != 0)" ( (binary_expression "to != 0" identifier != number_literal) )) (compound_statement "{\n      cVar2 = *string;\n      goto LAB_00107e2c;\n    }" { (expression_statement "cVar2 = *string;" (assignment_expression "cVar2 = *string" identifier = (pointer_expression "*string" * identifier)) ;) (goto_statement "goto LAB_00107e2c;" goto statement_identifier ;) })) (labeled_statement "LAB_00107e9c:\n    rl_delete_text(0,to);" statement_identifier : (expression_statement "rl_delete_text(0,to);" (call_expression "rl_delete_text(0,to)" identifier (argument_list "(0,to)" ( number_literal , identifier ))) ;)) (goto_statement "goto LAB_00107e60;" goto statement_identifier ;) })))) (expression_statement "rl_insert_text(string);" (call_expression "rl_insert_text(string)" identifier (argument_list "(string)" ( identifier ))) ;) (labeled_statement "LAB_00107e60:\n  (**(code **)PTR_rl_redisplay_function_00145bf4)();" statement_identifier : (expression_statement "(**(code **)PTR_rl_redisplay_function_00145bf4)();" (call_expression "(**(code **)PTR_rl_redisplay_function_00145bf4)()" (parenthesized_expression "(**(code **)PTR_rl_redisplay_function_00145bf4)" ( (pointer_expression "**(code **)PTR_rl_redisplay_function_00145bf4" * (pointer_expression "*(code **)PTR_rl_redisplay_function_00145bf4" * (cast_expression "(code **)PTR_rl_redisplay_function_00145bf4" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "()" ( ))) ;)) (expression_statement "rl_newline(1,10);" (call_expression "rl_newline(1,10)" identifier (argument_list "(1,10)" ( number_literal , number_literal ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 rl_insert_comment(void)\n\n{\n  int iVar1;\n  char cVar3;\n  int iVar2;\n  char *pcVar4;\n  \n  pcVar4 = *(char **)PTR__rl_comment_begin_00145f6c;\n  *(undefined4 *)PTR_rl_point_0014555c = 0;\n  if (pcVar4 == (char *)0x0) {\n    cVar3 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }\n  }\n  else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }\n  rl_insert_text(pcVar4);\nLAB_00107e60:\n  (**(code **)PTR_rl_redisplay_function_00145bf4)();\n  rl_newline(1,10);\n  return 0;\n}\n\n" (function_definition "undefined4 rl_insert_comment(void)\n\n{\n  int iVar1;\n  char cVar3;\n  int iVar2;\n  char *pcVar4;\n  \n  pcVar4 = *(char **)PTR__rl_comment_begin_00145f6c;\n  *(undefined4 *)PTR_rl_point_0014555c = 0;\n  if (pcVar4 == (char *)0x0) {\n    cVar3 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }\n  }\n  else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }\n  rl_insert_text(pcVar4);\nLAB_00107e60:\n  (**(code **)PTR_rl_redisplay_function_00145bf4)();\n  rl_newline(1,10);\n  return 0;\n}" type_identifier (function_declarator "rl_insert_comment(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  char cVar3;\n  int iVar2;\n  char *pcVar4;\n  \n  pcVar4 = *(char **)PTR__rl_comment_begin_00145f6c;\n  *(undefined4 *)PTR_rl_point_0014555c = 0;\n  if (pcVar4 == (char *)0x0) {\n    cVar3 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }\n  }\n  else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }\n  rl_insert_text(pcVar4);\nLAB_00107e60:\n  (**(code **)PTR_rl_redisplay_function_00145bf4)();\n  rl_newline(1,10);\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "pcVar4 = *(char **)PTR__rl_comment_begin_00145f6c;" (assignment_expression "pcVar4 = *(char **)PTR__rl_comment_begin_00145f6c" identifier = (pointer_expression "*(char **)PTR__rl_comment_begin_00145f6c" * (cast_expression "(char **)PTR__rl_comment_begin_00145f6c" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "*(undefined4 *)PTR_rl_point_0014555c = 0;" (assignment_expression "*(undefined4 *)PTR_rl_point_0014555c = 0" (pointer_expression "*(undefined4 *)PTR_rl_point_0014555c" * (cast_expression "(undefined4 *)PTR_rl_point_0014555c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n    cVar3 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }\n  }\n  else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    cVar3 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }\n  }" { (expression_statement "cVar3 = '#';" (assignment_expression "cVar3 = '#'" identifier = (char_literal "'#'" ' character ')) ;) (if_statement "if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }" if (parenthesized_expression "(*(int *)PTR_rl_explicit_arg_00145544 == 0)" ( (binary_expression "*(int *)PTR_rl_explicit_arg_00145544 == 0" (pointer_expression "*(int *)PTR_rl_explicit_arg_00145544" * (cast_expression "(int *)PTR_rl_explicit_arg_00145544" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }" { (expression_statement "pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;" (assignment_expression "pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90" identifier = (binary_expression "PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90" identifier + number_literal)) ;) }) (else_clause "else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }" else (compound_statement "{\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }" { (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (expression_statement "pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;" (assignment_expression "pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90" identifier = (binary_expression "PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90" identifier + number_literal)) ;) (labeled_statement "LAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;" statement_identifier : (if_statement "if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;" if (parenthesized_expression "((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))" ( (binary_expression "(**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0)" (parenthesized_expression "(**(char **)PTR_rl_line_buffer_00145548 == cVar3)" ( (binary_expression "**(char **)PTR_rl_line_buffer_00145548 == cVar3" (pointer_expression "**(char **)PTR_rl_line_buffer_00145548" * (pointer_expression "*(char **)PTR_rl_line_buffer_00145548" * (cast_expression "(char **)PTR_rl_line_buffer_00145548" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) == identifier) )) && (parenthesized_expression "(iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0)" ( (comma_expression "iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0" (assignment_expression "iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1)" identifier = (call_expression "(*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1)" (parenthesized_expression "(*(code *)PTR_strncmp_00146254)" ( (pointer_expression "*(code *)PTR_strncmp_00146254" * (cast_expression "(code *)PTR_strncmp_00146254" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1)" ( identifier , (pointer_expression "*(char **)PTR_rl_line_buffer_00145548" * (cast_expression "(char **)PTR_rl_line_buffer_00145548" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_00107e9c;" goto statement_identifier ;))) }))) }) (else_clause "else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }" else (if_statement "if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }" if (parenthesized_expression "(*(int *)PTR_rl_explicit_arg_00145544 != 0)" ( (binary_expression "*(int *)PTR_rl_explicit_arg_00145544 != 0" (pointer_expression "*(int *)PTR_rl_explicit_arg_00145544" * (cast_expression "(int *)PTR_rl_explicit_arg_00145544" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(pcVar4)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }" { (expression_statement "cVar3 = *pcVar4;" (assignment_expression "cVar3 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) (goto_statement "goto LAB_00107e2c;" goto statement_identifier ;) })) (labeled_statement "LAB_00107e9c:\n    rl_delete_text(0,iVar1);" statement_identifier : (expression_statement "rl_delete_text(0,iVar1);" (call_expression "rl_delete_text(0,iVar1)" identifier (argument_list "(0,iVar1)" ( number_literal , identifier ))) ;)) (goto_statement "goto LAB_00107e60;" goto statement_identifier ;) })))) (expression_statement "rl_insert_text(pcVar4);" (call_expression "rl_insert_text(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (labeled_statement "LAB_00107e60:\n  (**(code **)PTR_rl_redisplay_function_00145bf4)();" statement_identifier : (expression_statement "(**(code **)PTR_rl_redisplay_function_00145bf4)();" (call_expression "(**(code **)PTR_rl_redisplay_function_00145bf4)()" (parenthesized_expression "(**(code **)PTR_rl_redisplay_function_00145bf4)" ( (pointer_expression "**(code **)PTR_rl_redisplay_function_00145bf4" * (pointer_expression "*(code **)PTR_rl_redisplay_function_00145bf4" * (cast_expression "(code **)PTR_rl_redisplay_function_00145bf4" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "()" ( ))) ;)) (expression_statement "rl_newline(1,10);" (call_expression "rl_newline(1,10)" identifier (argument_list "(1,10)" ( number_literal , number_literal ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (char_literal ' character ')) ;) (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 = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) == IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (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 * (abstract_pointer_declarator *))) ) IDENT)) , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (goto_statement goto statement_identifier ;))) }))) }) (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 = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;)) (goto_statement goto statement_identifier ;) })))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( ))) ;)) (expression_statement (call_expression IDENT (argument_list ( LIT , LIT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 rl_insert_comment(void)\n\n{\n  int iVar1;\n  char cVar3;\n  int iVar2;\n  char *pcVar4;\n  \n  pcVar4 = *(char **)PTR__rl_comment_begin_00145f6c;\n  *(undefined4 *)PTR_rl_point_0014555c = 0;\n  if (pcVar4 == (char *)0x0) {\n    cVar3 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }\n  }\n  else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }\n  rl_insert_text(pcVar4);\nLAB_00107e60:\n  (**(code **)PTR_rl_redisplay_function_00145bf4)();\n  rl_newline(1,10);\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "rl_insert_comment(void)" (identifier "rl_insert_comment") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  char cVar3;\n  int iVar2;\n  char *pcVar4;\n  \n  pcVar4 = *(char **)PTR__rl_comment_begin_00145f6c;\n  *(undefined4 *)PTR_rl_point_0014555c = 0;\n  if (pcVar4 == (char *)0x0) {\n    cVar3 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }\n  }\n  else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }\n  rl_insert_text(pcVar4);\nLAB_00107e60:\n  (**(code **)PTR_rl_redisplay_function_00145bf4)();\n  rl_newline(1,10);\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (expression_statement "pcVar4 = *(char **)PTR__rl_comment_begin_00145f6c;" (assignment_expression "pcVar4 = *(char **)PTR__rl_comment_begin_00145f6c" (identifier "pcVar4") (= "=") (pointer_expression "*(char **)PTR__rl_comment_begin_00145f6c" (* "*") (cast_expression "(char **)PTR__rl_comment_begin_00145f6c" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR__rl_comment_begin_00145f6c")))) (; ";")) (expression_statement "*(undefined4 *)PTR_rl_point_0014555c = 0;" (assignment_expression "*(undefined4 *)PTR_rl_point_0014555c = 0" (pointer_expression "*(undefined4 *)PTR_rl_point_0014555c" (* "*") (cast_expression "(undefined4 *)PTR_rl_point_0014555c" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_point_0014555c"))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (pcVar4 == (char *)0x0) {\n    cVar3 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }\n  }\n  else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }" (if "if") (parenthesized_expression "(pcVar4 == (char *)0x0)" (( "(") (binary_expression "pcVar4 == (char *)0x0" (identifier "pcVar4") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    cVar3 = '#';\n    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }\n  }" ({ "{") (expression_statement "cVar3 = '#';" (assignment_expression "cVar3 = '#'" (identifier "cVar3") (= "=") (char_literal "'#'" (' "'") (character "#") (' "'"))) (; ";")) (if_statement "if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }\n    else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }" (if "if") (parenthesized_expression "(*(int *)PTR_rl_explicit_arg_00145544 == 0)" (( "(") (binary_expression "*(int *)PTR_rl_explicit_arg_00145544 == 0" (pointer_expression "*(int *)PTR_rl_explicit_arg_00145544" (* "*") (cast_expression "(int *)PTR_rl_explicit_arg_00145544" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_explicit_arg_00145544"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\n    }" ({ "{") (expression_statement "pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;" (assignment_expression "pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90" (identifier "pcVar4") (= "=") (binary_expression "PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90" (identifier "PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94") (+ "+") (number_literal "-0x6f90"))) (; ";")) (} "}")) (else_clause "else {\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }" (else "else") (compound_statement "{\n      iVar1 = 1;\n      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;\nLAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;\n    }" ({ "{") (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" (identifier "iVar1") (= "=") (number_literal "1")) (; ";")) (expression_statement "pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;" (assignment_expression "pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90" (identifier "pcVar4") (= "=") (binary_expression "PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90" (identifier "PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94") (+ "+") (number_literal "-0x6f90"))) (; ";")) (labeled_statement "LAB_00107e2c:\n      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;" (statement_identifier "LAB_00107e2c") (: ":") (if_statement "if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))\n      goto LAB_00107e9c;" (if "if") (parenthesized_expression "((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))" (( "(") (binary_expression "(**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&\n         (iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0)" (parenthesized_expression "(**(char **)PTR_rl_line_buffer_00145548 == cVar3)" (( "(") (binary_expression "**(char **)PTR_rl_line_buffer_00145548 == cVar3" (pointer_expression "**(char **)PTR_rl_line_buffer_00145548" (* "*") (pointer_expression "*(char **)PTR_rl_line_buffer_00145548" (* "*") (cast_expression "(char **)PTR_rl_line_buffer_00145548" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_rl_line_buffer_00145548")))) (== "==") (identifier "cVar3")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0)" (( "(") (comma_expression "iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0" (assignment_expression "iVar2 = (*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strncmp_00146254)\n                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1)" (parenthesized_expression "(*(code *)PTR_strncmp_00146254)" (( "(") (pointer_expression "*(code *)PTR_strncmp_00146254" (* "*") (cast_expression "(code *)PTR_strncmp_00146254" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncmp_00146254"))) () ")")) (argument_list "(pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1)" (( "(") (identifier "pcVar4") (, ",") (pointer_expression "*(char **)PTR_rl_line_buffer_00145548" (* "*") (cast_expression "(char **)PTR_rl_line_buffer_00145548" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_rl_line_buffer_00145548"))) (, ",") (identifier "iVar1") () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_00107e9c;" (goto "goto") (statement_identifier "LAB_00107e9c") (; ";")))) (} "}")))) (} "}")) (else_clause "else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }" (else "else") (if_statement "if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }" (if "if") (parenthesized_expression "(*(int *)PTR_rl_explicit_arg_00145544 != 0)" (( "(") (binary_expression "*(int *)PTR_rl_explicit_arg_00145544 != 0" (pointer_expression "*(int *)PTR_rl_explicit_arg_00145544" (* "*") (cast_expression "(int *)PTR_rl_explicit_arg_00145544" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_explicit_arg_00145544"))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);\n    if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }\nLAB_00107e9c:\n    rl_delete_text(0,iVar1);\n    goto LAB_00107e60;\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strlen_00146390)(pcVar4)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" (( "(") (pointer_expression "*(code *)PTR_strlen_00146390" (* "*") (cast_expression "(code *)PTR_strlen_00146390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00146390"))) () ")")) (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      cVar3 = *pcVar4;\n      goto LAB_00107e2c;\n    }" ({ "{") (expression_statement "cVar3 = *pcVar4;" (assignment_expression "cVar3 = *pcVar4" (identifier "cVar3") (= "=") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4"))) (; ";")) (goto_statement "goto LAB_00107e2c;" (goto "goto") (statement_identifier "LAB_00107e2c") (; ";")) (} "}"))) (labeled_statement "LAB_00107e9c:\n    rl_delete_text(0,iVar1);" (statement_identifier "LAB_00107e9c") (: ":") (expression_statement "rl_delete_text(0,iVar1);" (call_expression "rl_delete_text(0,iVar1)" (identifier "rl_delete_text") (argument_list "(0,iVar1)" (( "(") (number_literal "0") (, ",") (identifier "iVar1") () ")"))) (; ";"))) (goto_statement "goto LAB_00107e60;" (goto "goto") (statement_identifier "LAB_00107e60") (; ";")) (} "}"))))) (expression_statement "rl_insert_text(pcVar4);" (call_expression "rl_insert_text(pcVar4)" (identifier "rl_insert_text") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")"))) (; ";")) (labeled_statement "LAB_00107e60:\n  (**(code **)PTR_rl_redisplay_function_00145bf4)();" (statement_identifier "LAB_00107e60") (: ":") (expression_statement "(**(code **)PTR_rl_redisplay_function_00145bf4)();" (call_expression "(**(code **)PTR_rl_redisplay_function_00145bf4)()" (parenthesized_expression "(**(code **)PTR_rl_redisplay_function_00145bf4)" (( "(") (pointer_expression "**(code **)PTR_rl_redisplay_function_00145bf4" (* "*") (pointer_expression "*(code **)PTR_rl_redisplay_function_00145bf4" (* "*") (cast_expression "(code **)PTR_rl_redisplay_function_00145bf4" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_rl_redisplay_function_00145bf4")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";"))) (expression_statement "rl_newline(1,10);" (call_expression "rl_newline(1,10)" (identifier "rl_newline") (argument_list "(1,10)" (( "(") (number_literal "1") (, ",") (number_literal "10") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator 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: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (char_literal (character)))) (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: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier)))) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (goto_statement label: (statement_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: (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier))))) (goto_statement label: (statement_identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (labeled_statement label: (statement_identifier) (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)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal)))) (return_statement (number_literal)))))

undefined4 MASKED(void)

{
  int iVar1;
  char cVar3;
  int iVar2;
  char *pcVar4;
  
  pcVar4 = *(char **)PTR__rl_comment_begin_00145f6c;
  *(undefined4 *)PTR_rl_point_0014555c = 0;
  if (pcVar4 == (char *)0x0) {
    cVar3 = '#';
    if (*(int *)PTR_rl_explicit_arg_00145544 == 0) {
      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;
    }
    else {
      iVar1 = 1;
      pcVar4 = PTR_s_elf__if_FILE_is_a_symbolic_link__00144a94 + -0x6f90;
LAB_00107e2c:
      if ((**(char **)PTR_rl_line_buffer_00145548 == cVar3) &&
         (iVar2 = (*(code *)PTR_strncmp_00146254)
                            (pcVar4,*(char **)PTR_rl_line_buffer_00145548,iVar1), iVar2 == 0))
      goto LAB_00107e9c;
    }
  }
  else if (*(int *)PTR_rl_explicit_arg_00145544 != 0) {
    iVar1 = (*(code *)PTR_strlen_00146390)(pcVar4);
    if (iVar1 != 0) {
      cVar3 = *pcVar4;
      goto LAB_00107e2c;
    }
LAB_00107e9c:
    rl_delete_text(0,iVar1);
    goto LAB_00107e60;
  }
  rl_insert_text(pcVar4);
LAB_00107e60:
  (**(code **)PTR_rl_redisplay_function_00145bf4)();
  rl_newline(1,10);
  return 0;
}

