
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int rl_clear_visible_line(void)

{
  int to;
  
  tputs(_rl_term_cr,1,_rl_output_character_function);
  _rl_last_c_pos = 0;
  _rl_move_vert(_rl_vis_botlin);
  to = _rl_last_v_pos;
  if (-1 < _rl_last_v_pos) {
    do {
      _rl_move_vert(to);
      if (_rl_term_clreol != (char *)0x0) {
        tputs(_rl_term_clreol,1,_rl_output_character_function);
      }
      to = to + -1;
    } while (to != -1);
  }
  return 0;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 rl_clear_visible_line(void)

{
  int iVar1;
  
  tputs(_rl_term_cr,1,_rl_output_character_function);
  _rl_last_c_pos = 0;
  _rl_move_vert(_rl_vis_botlin);
  iVar1 = _rl_last_v_pos;
  if (-1 < _rl_last_v_pos) {
    do {
      _rl_move_vert(iVar1);
      if (_rl_term_clreol != 0) {
        tputs(_rl_term_clreol,1,_rl_output_character_function);
      }
      iVar1 = iVar1 + -1;
    } while (iVar1 != -1);
  }
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000312b0
ADD EBX,0x77b97
SUB ESP,0x10
LEA EBP,[EBX + 0xfff8f170]
LEA EAX,[EBX + 0xda90]
PUSH EBP
PUSH 0x1
PUSH dword ptr [EAX]
CALL 0x0002e0f0
POP EAX
PUSH dword ptr [EBX + 0x7ec0]
MOV dword ptr [EBX + 0x7ec8],0x0
CALL 0x000f5fa0
MOV ESI,dword ptr [EBX + 0x7ec4]
ADD ESP,0x10
TEST ESI,ESI
JS 0x000fa4e1
LEA EDI,[EBX + 0xdaac]
LEA ESI,[ESI]
SUB ESP,0xc
PUSH ESI
CALL 0x000f5fa0
MOV EAX,dword ptr [EDI]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000fa4d9
SUB ESP,0x4
PUSH EBP
PUSH 0x1
PUSH EAX
CALL 0x0002e0f0
ADD ESP,0x10
SUB ESI,0x1
CMP ESI,-0x1
JNZ 0x000fa4b8
ADD ESP,0xc
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 rl_clear_visible_line(void)\n\n{\n  int iVar1;\n  \n  tputs(_rl_term_cr,1,_rl_output_character_function);\n  _rl_last_c_pos = 0;\n  _rl_move_vert(_rl_vis_botlin);\n  iVar1 = _rl_last_v_pos;\n  if (-1 < _rl_last_v_pos) {\n    do {\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    } while (iVar1 != -1);\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 rl_clear_visible_line(void)\n\n{\n  int iVar1;\n  \n  tputs(_rl_term_cr,1,_rl_output_character_function);\n  _rl_last_c_pos = 0;\n  _rl_move_vert(_rl_vis_botlin);\n  iVar1 = _rl_last_v_pos;\n  if (-1 < _rl_last_v_pos) {\n    do {\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    } while (iVar1 != -1);\n  }\n  return 0;\n}" type_identifier (function_declarator "rl_clear_visible_line(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  tputs(_rl_term_cr,1,_rl_output_character_function);\n  _rl_last_c_pos = 0;\n  _rl_move_vert(_rl_vis_botlin);\n  iVar1 = _rl_last_v_pos;\n  if (-1 < _rl_last_v_pos) {\n    do {\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    } while (iVar1 != -1);\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "tputs(_rl_term_cr,1,_rl_output_character_function);" (call_expression "tputs(_rl_term_cr,1,_rl_output_character_function)" identifier (argument_list "(_rl_term_cr,1,_rl_output_character_function)" ( identifier , number_literal , identifier ))) ;) (expression_statement "_rl_last_c_pos = 0;" (assignment_expression "_rl_last_c_pos = 0" identifier = number_literal) ;) (expression_statement "_rl_move_vert(_rl_vis_botlin);" (call_expression "_rl_move_vert(_rl_vis_botlin)" identifier (argument_list "(_rl_vis_botlin)" ( identifier ))) ;) (expression_statement "iVar1 = _rl_last_v_pos;" (assignment_expression "iVar1 = _rl_last_v_pos" identifier = identifier) ;) (if_statement "if (-1 < _rl_last_v_pos) {\n    do {\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    } while (iVar1 != -1);\n  }" if (parenthesized_expression "(-1 < _rl_last_v_pos)" ( (binary_expression "-1 < _rl_last_v_pos" number_literal < identifier) )) (compound_statement "{\n    do {\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    } while (iVar1 != -1);\n  }" { (do_statement "do {\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    } while (iVar1 != -1);" do (compound_statement "{\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    }" { (expression_statement "_rl_move_vert(iVar1);" (call_expression "_rl_move_vert(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (if_statement "if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }" if (parenthesized_expression "(_rl_term_clreol != 0)" ( (binary_expression "_rl_term_clreol != 0" identifier != number_literal) )) (compound_statement "{\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }" { (expression_statement "tputs(_rl_term_clreol,1,_rl_output_character_function);" (call_expression "tputs(_rl_term_clreol,1,_rl_output_character_function)" identifier (argument_list "(_rl_term_clreol,1,_rl_output_character_function)" ( identifier , number_literal , identifier ))) ;) })) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != -1)" ( (binary_expression "iVar1 != -1" identifier != number_literal) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint rl_clear_visible_line(void)\n\n{\n  int to;\n  \n  tputs(_rl_term_cr,1,_rl_output_character_function);\n  _rl_last_c_pos = 0;\n  _rl_move_vert(_rl_vis_botlin);\n  to = _rl_last_v_pos;\n  if (-1 < _rl_last_v_pos) {\n    do {\n      _rl_move_vert(to);\n      if (_rl_term_clreol != (char *)0x0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      to = to + -1;\n    } while (to != -1);\n  }\n  return 0;\n}\n\n" comment comment (function_definition "int rl_clear_visible_line(void)\n\n{\n  int to;\n  \n  tputs(_rl_term_cr,1,_rl_output_character_function);\n  _rl_last_c_pos = 0;\n  _rl_move_vert(_rl_vis_botlin);\n  to = _rl_last_v_pos;\n  if (-1 < _rl_last_v_pos) {\n    do {\n      _rl_move_vert(to);\n      if (_rl_term_clreol != (char *)0x0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      to = to + -1;\n    } while (to != -1);\n  }\n  return 0;\n}" primitive_type (function_declarator "rl_clear_visible_line(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int to;\n  \n  tputs(_rl_term_cr,1,_rl_output_character_function);\n  _rl_last_c_pos = 0;\n  _rl_move_vert(_rl_vis_botlin);\n  to = _rl_last_v_pos;\n  if (-1 < _rl_last_v_pos) {\n    do {\n      _rl_move_vert(to);\n      if (_rl_term_clreol != (char *)0x0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      to = to + -1;\n    } while (to != -1);\n  }\n  return 0;\n}" { (declaration "int to;" primitive_type identifier ;) (expression_statement "tputs(_rl_term_cr,1,_rl_output_character_function);" (call_expression "tputs(_rl_term_cr,1,_rl_output_character_function)" identifier (argument_list "(_rl_term_cr,1,_rl_output_character_function)" ( identifier , number_literal , identifier ))) ;) (expression_statement "_rl_last_c_pos = 0;" (assignment_expression "_rl_last_c_pos = 0" identifier = number_literal) ;) (expression_statement "_rl_move_vert(_rl_vis_botlin);" (call_expression "_rl_move_vert(_rl_vis_botlin)" identifier (argument_list "(_rl_vis_botlin)" ( identifier ))) ;) (expression_statement "to = _rl_last_v_pos;" (assignment_expression "to = _rl_last_v_pos" identifier = identifier) ;) (if_statement "if (-1 < _rl_last_v_pos) {\n    do {\n      _rl_move_vert(to);\n      if (_rl_term_clreol != (char *)0x0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      to = to + -1;\n    } while (to != -1);\n  }" if (parenthesized_expression "(-1 < _rl_last_v_pos)" ( (binary_expression "-1 < _rl_last_v_pos" number_literal < identifier) )) (compound_statement "{\n    do {\n      _rl_move_vert(to);\n      if (_rl_term_clreol != (char *)0x0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      to = to + -1;\n    } while (to != -1);\n  }" { (do_statement "do {\n      _rl_move_vert(to);\n      if (_rl_term_clreol != (char *)0x0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      to = to + -1;\n    } while (to != -1);" do (compound_statement "{\n      _rl_move_vert(to);\n      if (_rl_term_clreol != (char *)0x0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      to = to + -1;\n    }" { (expression_statement "_rl_move_vert(to);" (call_expression "_rl_move_vert(to)" identifier (argument_list "(to)" ( identifier ))) ;) (if_statement "if (_rl_term_clreol != (char *)0x0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }" if (parenthesized_expression "(_rl_term_clreol != (char *)0x0)" ( (binary_expression "_rl_term_clreol != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }" { (expression_statement "tputs(_rl_term_clreol,1,_rl_output_character_function);" (call_expression "tputs(_rl_term_clreol,1,_rl_output_character_function)" identifier (argument_list "(_rl_term_clreol,1,_rl_output_character_function)" ( identifier , number_literal , identifier ))) ;) })) (expression_statement "to = to + -1;" (assignment_expression "to = to + -1" identifier = (binary_expression "to + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(to != -1)" ( (binary_expression "to != -1" identifier != number_literal) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 rl_clear_visible_line(void)\n\n{\n  int iVar1;\n  \n  tputs(_rl_term_cr,1,_rl_output_character_function);\n  _rl_last_c_pos = 0;\n  _rl_move_vert(_rl_vis_botlin);\n  iVar1 = _rl_last_v_pos;\n  if (-1 < _rl_last_v_pos) {\n    do {\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    } while (iVar1 != -1);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 rl_clear_visible_line(void)\n\n{\n  int iVar1;\n  \n  tputs(_rl_term_cr,1,_rl_output_character_function);\n  _rl_last_c_pos = 0;\n  _rl_move_vert(_rl_vis_botlin);\n  iVar1 = _rl_last_v_pos;\n  if (-1 < _rl_last_v_pos) {\n    do {\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    } while (iVar1 != -1);\n  }\n  return 0;\n}" type_identifier (function_declarator "rl_clear_visible_line(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  tputs(_rl_term_cr,1,_rl_output_character_function);\n  _rl_last_c_pos = 0;\n  _rl_move_vert(_rl_vis_botlin);\n  iVar1 = _rl_last_v_pos;\n  if (-1 < _rl_last_v_pos) {\n    do {\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    } while (iVar1 != -1);\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "tputs(_rl_term_cr,1,_rl_output_character_function);" (call_expression "tputs(_rl_term_cr,1,_rl_output_character_function)" identifier (argument_list "(_rl_term_cr,1,_rl_output_character_function)" ( identifier , number_literal , identifier ))) ;) (expression_statement "_rl_last_c_pos = 0;" (assignment_expression "_rl_last_c_pos = 0" identifier = number_literal) ;) (expression_statement "_rl_move_vert(_rl_vis_botlin);" (call_expression "_rl_move_vert(_rl_vis_botlin)" identifier (argument_list "(_rl_vis_botlin)" ( identifier ))) ;) (expression_statement "iVar1 = _rl_last_v_pos;" (assignment_expression "iVar1 = _rl_last_v_pos" identifier = identifier) ;) (if_statement "if (-1 < _rl_last_v_pos) {\n    do {\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    } while (iVar1 != -1);\n  }" if (parenthesized_expression "(-1 < _rl_last_v_pos)" ( (binary_expression "-1 < _rl_last_v_pos" number_literal < identifier) )) (compound_statement "{\n    do {\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    } while (iVar1 != -1);\n  }" { (do_statement "do {\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    } while (iVar1 != -1);" do (compound_statement "{\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    }" { (expression_statement "_rl_move_vert(iVar1);" (call_expression "_rl_move_vert(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (if_statement "if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }" if (parenthesized_expression "(_rl_term_clreol != 0)" ( (binary_expression "_rl_term_clreol != 0" identifier != number_literal) )) (compound_statement "{\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }" { (expression_statement "tputs(_rl_term_clreol,1,_rl_output_character_function);" (call_expression "tputs(_rl_term_clreol,1,_rl_output_character_function)" identifier (argument_list "(_rl_term_clreol,1,_rl_output_character_function)" ( identifier , number_literal , identifier ))) ;) })) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != -1)" ( (binary_expression "iVar1 != -1" identifier != 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 ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 rl_clear_visible_line(void)\n\n{\n  int iVar1;\n  \n  tputs(_rl_term_cr,1,_rl_output_character_function);\n  _rl_last_c_pos = 0;\n  _rl_move_vert(_rl_vis_botlin);\n  iVar1 = _rl_last_v_pos;\n  if (-1 < _rl_last_v_pos) {\n    do {\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    } while (iVar1 != -1);\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "rl_clear_visible_line(void)" (identifier "rl_clear_visible_line") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  tputs(_rl_term_cr,1,_rl_output_character_function);\n  _rl_last_c_pos = 0;\n  _rl_move_vert(_rl_vis_botlin);\n  iVar1 = _rl_last_v_pos;\n  if (-1 < _rl_last_v_pos) {\n    do {\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    } while (iVar1 != -1);\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "tputs(_rl_term_cr,1,_rl_output_character_function);" (call_expression "tputs(_rl_term_cr,1,_rl_output_character_function)" (identifier "tputs") (argument_list "(_rl_term_cr,1,_rl_output_character_function)" (( "(") (identifier "_rl_term_cr") (, ",") (number_literal "1") (, ",") (identifier "_rl_output_character_function") () ")"))) (; ";")) (expression_statement "_rl_last_c_pos = 0;" (assignment_expression "_rl_last_c_pos = 0" (identifier "_rl_last_c_pos") (= "=") (number_literal "0")) (; ";")) (expression_statement "_rl_move_vert(_rl_vis_botlin);" (call_expression "_rl_move_vert(_rl_vis_botlin)" (identifier "_rl_move_vert") (argument_list "(_rl_vis_botlin)" (( "(") (identifier "_rl_vis_botlin") () ")"))) (; ";")) (expression_statement "iVar1 = _rl_last_v_pos;" (assignment_expression "iVar1 = _rl_last_v_pos" (identifier "iVar1") (= "=") (identifier "_rl_last_v_pos")) (; ";")) (if_statement "if (-1 < _rl_last_v_pos) {\n    do {\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    } while (iVar1 != -1);\n  }" (if "if") (parenthesized_expression "(-1 < _rl_last_v_pos)" (( "(") (binary_expression "-1 < _rl_last_v_pos" (number_literal "-1") (< "<") (identifier "_rl_last_v_pos")) () ")")) (compound_statement "{\n    do {\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    } while (iVar1 != -1);\n  }" ({ "{") (do_statement "do {\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    } while (iVar1 != -1);" (do "do") (compound_statement "{\n      _rl_move_vert(iVar1);\n      if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }\n      iVar1 = iVar1 + -1;\n    }" ({ "{") (expression_statement "_rl_move_vert(iVar1);" (call_expression "_rl_move_vert(iVar1)" (identifier "_rl_move_vert") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (if_statement "if (_rl_term_clreol != 0) {\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }" (if "if") (parenthesized_expression "(_rl_term_clreol != 0)" (( "(") (binary_expression "_rl_term_clreol != 0" (identifier "_rl_term_clreol") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        tputs(_rl_term_clreol,1,_rl_output_character_function);\n      }" ({ "{") (expression_statement "tputs(_rl_term_clreol,1,_rl_output_character_function);" (call_expression "tputs(_rl_term_clreol,1,_rl_output_character_function)" (identifier "tputs") (argument_list "(_rl_term_clreol,1,_rl_output_character_function)" (( "(") (identifier "_rl_term_clreol") (, ",") (number_literal "1") (, ",") (identifier "_rl_output_character_function") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != -1)" (( "(") (binary_expression "iVar1 != -1" (identifier "iVar1") (!= "!=") (number_literal "-1")) () ")")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int function_1(void)

{
  int var_5;
  
  var_1(_rl_term_cr,1,_rl_output_character_function);
  _rl_last_c_pos = 0;
  var_2(_rl_vis_botlin);
  var_5 = var_3;
  if (-1 < var_3) {
    do {
      var_2(var_5);
      if (var_4 != (char *)0x0) {
        var_1(var_4,1,_rl_output_character_function);
      }
      var_5 = var_5 + -1;
    } while (var_5 != -1);
  }
  return 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)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(void)

{
  int iVar1;
  
  tputs(_rl_term_cr,1,_rl_output_character_function);
  _rl_last_c_pos = 0;
  _rl_move_vert(_rl_vis_botlin);
  iVar1 = _rl_last_v_pos;
  if (-1 < _rl_last_v_pos) {
    do {
      _rl_move_vert(iVar1);
      if (_rl_term_clreol != 0) {
        tputs(_rl_term_clreol,1,_rl_output_character_function);
      }
      iVar1 = iVar1 + -1;
    } while (iVar1 != -1);
  }
  return 0;
}

