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

void rl_redraw_prompt_last_line(void)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10);
  if (iVar1 != 0) {
    redraw_prompt((char *)(iVar1 + 1));
    return;
  }
  rl_forced_update_display();
  return;
}



void rl_redraw_prompt_last_line(void)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10);
  if (iVar1 != 0) {
    FUN_000f9534(iVar1 + 1);
    return;
  }
  rl_forced_update_display();
  return;
}


lui gp,0x5
addiu gp,gp,0x2f2c
addu gp,gp,t9
lw v0,-0x696c(gp)
addiu sp,sp,-0x20
lw t9,-0x6288(gp)
li a1,0xa
sw gp,0x10(sp)
sw ra,0x1c(sp)
jalr t9
_lw a0,0x0(v0)
beq v0,zero,0x000f9660
_lw gp,0x10(sp)
lw t9,-0x6520(gp)
addiu a0,v0,0x1
lw ra,0x1c(sp)
addiu t9,t9,-0x6acc
b 0x000f9534
_addiu sp,sp,0x20
lw ra,0x1c(sp)
lw t9,-0x6fe0(gp)
b 0x000f86d8
_addiu sp,sp,0x20
(translation_unit "void rl_redraw_prompt_last_line(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10);\n  if (iVar1 != 0) {\n    FUN_000f9534(iVar1 + 1);\n    return;\n  }\n  rl_forced_update_display();\n  return;\n}\n\n" (function_definition "void rl_redraw_prompt_last_line(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10);\n  if (iVar1 != 0) {\n    FUN_000f9534(iVar1 + 1);\n    return;\n  }\n  rl_forced_update_display();\n  return;\n}" primitive_type (function_declarator "rl_redraw_prompt_last_line(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10);\n  if (iVar1 != 0) {\n    FUN_000f9534(iVar1 + 1);\n    return;\n  }\n  rl_forced_update_display();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10);" (assignment_expression "iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10)" identifier = (call_expression "(*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10)" (parenthesized_expression "(*(code *)PTR_strrchr_001462b8)" ( (pointer_expression "*(code *)PTR_strrchr_001462b8" * (cast_expression "(code *)PTR_strrchr_001462b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10)" ( (pointer_expression "*(undefined4 *)PTR_rl_display_prompt_00145bd4" * (cast_expression "(undefined4 *)PTR_rl_display_prompt_00145bd4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    FUN_000f9534(iVar1 + 1);\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_000f9534(iVar1 + 1);\n    return;\n  }" { (expression_statement "FUN_000f9534(iVar1 + 1);" (call_expression "FUN_000f9534(iVar1 + 1)" identifier (argument_list "(iVar1 + 1)" ( (binary_expression "iVar1 + 1" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "rl_forced_update_display();" (call_expression "rl_forced_update_display()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid rl_redraw_prompt_last_line(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10);\n  if (iVar1 != 0) {\n    redraw_prompt((char *)(iVar1 + 1));\n    return;\n  }\n  rl_forced_update_display();\n  return;\n}\n\n" comment (function_definition "void rl_redraw_prompt_last_line(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10);\n  if (iVar1 != 0) {\n    redraw_prompt((char *)(iVar1 + 1));\n    return;\n  }\n  rl_forced_update_display();\n  return;\n}" primitive_type (function_declarator "rl_redraw_prompt_last_line(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10);\n  if (iVar1 != 0) {\n    redraw_prompt((char *)(iVar1 + 1));\n    return;\n  }\n  rl_forced_update_display();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10);" (assignment_expression "iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10)" identifier = (call_expression "(*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10)" (parenthesized_expression "(*(code *)PTR_strrchr_001462b8)" ( (pointer_expression "*(code *)PTR_strrchr_001462b8" * (cast_expression "(code *)PTR_strrchr_001462b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10)" ( (pointer_expression "*(undefined4 *)PTR_rl_display_prompt_00145bd4" * (cast_expression "(undefined4 *)PTR_rl_display_prompt_00145bd4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    redraw_prompt((char *)(iVar1 + 1));\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    redraw_prompt((char *)(iVar1 + 1));\n    return;\n  }" { (expression_statement "redraw_prompt((char *)(iVar1 + 1));" (call_expression "redraw_prompt((char *)(iVar1 + 1))" identifier (argument_list "((char *)(iVar1 + 1))" ( (cast_expression "(char *)(iVar1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 1)" ( (binary_expression "iVar1 + 1" identifier + number_literal) ))) ))) ;) (return_statement "return;" return ;) })) (expression_statement "rl_forced_update_display();" (call_expression "rl_forced_update_display()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void rl_redraw_prompt_last_line(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10);\n  if (iVar1 != 0) {\n    FUN_000f9534(iVar1 + 1);\n    return;\n  }\n  rl_forced_update_display();\n  return;\n}\n\n" (function_definition "void rl_redraw_prompt_last_line(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10);\n  if (iVar1 != 0) {\n    FUN_000f9534(iVar1 + 1);\n    return;\n  }\n  rl_forced_update_display();\n  return;\n}" primitive_type (function_declarator "rl_redraw_prompt_last_line(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10);\n  if (iVar1 != 0) {\n    FUN_000f9534(iVar1 + 1);\n    return;\n  }\n  rl_forced_update_display();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10);" (assignment_expression "iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10)" identifier = (call_expression "(*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10)" (parenthesized_expression "(*(code *)PTR_strrchr_001462b8)" ( (pointer_expression "*(code *)PTR_strrchr_001462b8" * (cast_expression "(code *)PTR_strrchr_001462b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10)" ( (pointer_expression "*(undefined4 *)PTR_rl_display_prompt_00145bd4" * (cast_expression "(undefined4 *)PTR_rl_display_prompt_00145bd4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    FUN_000f9534(iVar1 + 1);\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_000f9534(iVar1 + 1);\n    return;\n  }" { (expression_statement "FUN_000f9534(iVar1 + 1);" (call_expression "FUN_000f9534(iVar1 + 1)" identifier (argument_list "(iVar1 + 1)" ( (binary_expression "iVar1 + 1" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "rl_forced_update_display();" (call_expression "rl_forced_update_display()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void rl_redraw_prompt_last_line(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10);\n  if (iVar1 != 0) {\n    FUN_000f9534(iVar1 + 1);\n    return;\n  }\n  rl_forced_update_display();\n  return;\n}" (primitive_type "void") (function_declarator "rl_redraw_prompt_last_line(void)" (identifier "rl_redraw_prompt_last_line") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10);\n  if (iVar1 != 0) {\n    FUN_000f9534(iVar1 + 1);\n    return;\n  }\n  rl_forced_update_display();\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10);" (assignment_expression "iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10)" (parenthesized_expression "(*(code *)PTR_strrchr_001462b8)" (( "(") (pointer_expression "*(code *)PTR_strrchr_001462b8" (* "*") (cast_expression "(code *)PTR_strrchr_001462b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strrchr_001462b8"))) () ")")) (argument_list "(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10)" (( "(") (pointer_expression "*(undefined4 *)PTR_rl_display_prompt_00145bd4" (* "*") (cast_expression "(undefined4 *)PTR_rl_display_prompt_00145bd4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_display_prompt_00145bd4"))) (, ",") (number_literal "10") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    FUN_000f9534(iVar1 + 1);\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_000f9534(iVar1 + 1);\n    return;\n  }" ({ "{") (expression_statement "FUN_000f9534(iVar1 + 1);" (call_expression "FUN_000f9534(iVar1 + 1)" (identifier "FUN_000f9534") (argument_list "(iVar1 + 1)" (( "(") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "rl_forced_update_display();" (call_expression "rl_forced_update_display()" (identifier "rl_forced_update_display") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void)

{
  int var_1;
  
  var_1 = (*(type_1 *)PTR_strrchr_001462b8)(*(type_2 *)PTR_rl_display_prompt_00145bd4,10);
  if (var_1 != 0) {
    var_2((char *)(var_1 + 1));
    return;
  }
  var_3();
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (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 (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

void MASKED(void)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_strrchr_001462b8)(*(undefined4 *)PTR_rl_display_prompt_00145bd4,10);
  if (iVar1 != 0) {
    FUN_000f9534(iVar1 + 1);
    return;
  }
  rl_forced_update_display();
  return;
}

