
int _rl_nsearch_cleanup(_rl_search_cxt *cxt,int r)

{
  undefined *puVar1;
  uint uVar2;
  
  _rl_scxt_dispose(cxt,0);
  puVar1 = PTR_rl_readline_state_00144658;
  uVar2 = *(uint *)PTR_rl_readline_state_00144658;
  *(undefined4 *)PTR__rl_nscxt_00145e78 = 0;
  *(uint *)puVar1 = uVar2 & 0xfffffeff;
  return (uint)(r != 1);
}



bool _rl_nsearch_cleanup(undefined4 param_1,int param_2)

{
  undefined *puVar1;
  uint uVar2;
  
  _rl_scxt_dispose(param_1,0);
  puVar1 = PTR_rl_readline_state_00144658;
  uVar2 = *(uint *)PTR_rl_readline_state_00144658;
  *(undefined4 *)PTR__rl_nscxt_00145e78 = 0;
  *(uint *)puVar1 = uVar2 & 0xfffffeff;
  return param_2 != 1;
}


lui gp,0x6
addiu gp,gp,0x3358
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x66bc(gp)
sw s0,0x18(sp)
or s0,a1,zero
sw ra,0x1c(sp)
sw gp,0x10(sp)
bal 0x000f5f28
_or a1,zero,zero
xori v0,s0,0x1
lw gp,0x10(sp)
sltu v0,zero,v0
lw ra,0x1c(sp)
lw s0,0x18(sp)
lw a0,-0x7ee8(gp)
lw a1,-0x66c8(gp)
lw v1,0x0(a0)
sw zero,0x0(a1)
li a1,-0x101
and v1,v1,a1
sw v1,0x0(a0)
jr ra
_addiu sp,sp,0x20
(translation_unit "bool _rl_nsearch_cleanup(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  \n  _rl_scxt_dispose(param_1,0);\n  puVar1 = PTR_rl_readline_state_00144658;\n  uVar2 = *(uint *)PTR_rl_readline_state_00144658;\n  *(undefined4 *)PTR__rl_nscxt_00145e78 = 0;\n  *(uint *)puVar1 = uVar2 & 0xfffffeff;\n  return param_2 != 1;\n}\n\n" (function_definition "bool _rl_nsearch_cleanup(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  \n  _rl_scxt_dispose(param_1,0);\n  puVar1 = PTR_rl_readline_state_00144658;\n  uVar2 = *(uint *)PTR_rl_readline_state_00144658;\n  *(undefined4 *)PTR__rl_nscxt_00145e78 = 0;\n  *(uint *)puVar1 = uVar2 & 0xfffffeff;\n  return param_2 != 1;\n}" primitive_type (function_declarator "_rl_nsearch_cleanup(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  \n  _rl_scxt_dispose(param_1,0);\n  puVar1 = PTR_rl_readline_state_00144658;\n  uVar2 = *(uint *)PTR_rl_readline_state_00144658;\n  *(undefined4 *)PTR__rl_nscxt_00145e78 = 0;\n  *(uint *)puVar1 = uVar2 & 0xfffffeff;\n  return param_2 != 1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "_rl_scxt_dispose(param_1,0);" (call_expression "_rl_scxt_dispose(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal ))) ;) (expression_statement "puVar1 = PTR_rl_readline_state_00144658;" (assignment_expression "puVar1 = PTR_rl_readline_state_00144658" identifier = identifier) ;) (expression_statement "uVar2 = *(uint *)PTR_rl_readline_state_00144658;" (assignment_expression "uVar2 = *(uint *)PTR_rl_readline_state_00144658" identifier = (pointer_expression "*(uint *)PTR_rl_readline_state_00144658" * (cast_expression "(uint *)PTR_rl_readline_state_00144658" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)PTR__rl_nscxt_00145e78 = 0;" (assignment_expression "*(undefined4 *)PTR__rl_nscxt_00145e78 = 0" (pointer_expression "*(undefined4 *)PTR__rl_nscxt_00145e78" * (cast_expression "(undefined4 *)PTR__rl_nscxt_00145e78" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(uint *)puVar1 = uVar2 & 0xfffffeff;" (assignment_expression "*(uint *)puVar1 = uVar2 & 0xfffffeff" (pointer_expression "*(uint *)puVar1" * (cast_expression "(uint *)puVar1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "uVar2 & 0xfffffeff" identifier & number_literal)) ;) (return_statement "return param_2 != 1;" return (binary_expression "param_2 != 1" identifier != number_literal) ;) })))
(translation_unit "int _rl_nsearch_cleanup(_rl_search_cxt *cxt,int r)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  \n  _rl_scxt_dispose(cxt,0);\n  puVar1 = PTR_rl_readline_state_00144658;\n  uVar2 = *(uint *)PTR_rl_readline_state_00144658;\n  *(undefined4 *)PTR__rl_nscxt_00145e78 = 0;\n  *(uint *)puVar1 = uVar2 & 0xfffffeff;\n  return (uint)(r != 1);\n}\n\n" (function_definition "int _rl_nsearch_cleanup(_rl_search_cxt *cxt,int r)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  \n  _rl_scxt_dispose(cxt,0);\n  puVar1 = PTR_rl_readline_state_00144658;\n  uVar2 = *(uint *)PTR_rl_readline_state_00144658;\n  *(undefined4 *)PTR__rl_nscxt_00145e78 = 0;\n  *(uint *)puVar1 = uVar2 & 0xfffffeff;\n  return (uint)(r != 1);\n}" primitive_type (function_declarator "_rl_nsearch_cleanup(_rl_search_cxt *cxt,int r)" identifier (parameter_list "(_rl_search_cxt *cxt,int r)" ( (parameter_declaration "_rl_search_cxt *cxt" type_identifier (pointer_declarator "*cxt" * identifier)) , (parameter_declaration "int r" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  \n  _rl_scxt_dispose(cxt,0);\n  puVar1 = PTR_rl_readline_state_00144658;\n  uVar2 = *(uint *)PTR_rl_readline_state_00144658;\n  *(undefined4 *)PTR__rl_nscxt_00145e78 = 0;\n  *(uint *)puVar1 = uVar2 & 0xfffffeff;\n  return (uint)(r != 1);\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "_rl_scxt_dispose(cxt,0);" (call_expression "_rl_scxt_dispose(cxt,0)" identifier (argument_list "(cxt,0)" ( identifier , number_literal ))) ;) (expression_statement "puVar1 = PTR_rl_readline_state_00144658;" (assignment_expression "puVar1 = PTR_rl_readline_state_00144658" identifier = identifier) ;) (expression_statement "uVar2 = *(uint *)PTR_rl_readline_state_00144658;" (assignment_expression "uVar2 = *(uint *)PTR_rl_readline_state_00144658" identifier = (pointer_expression "*(uint *)PTR_rl_readline_state_00144658" * (cast_expression "(uint *)PTR_rl_readline_state_00144658" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)PTR__rl_nscxt_00145e78 = 0;" (assignment_expression "*(undefined4 *)PTR__rl_nscxt_00145e78 = 0" (pointer_expression "*(undefined4 *)PTR__rl_nscxt_00145e78" * (cast_expression "(undefined4 *)PTR__rl_nscxt_00145e78" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(uint *)puVar1 = uVar2 & 0xfffffeff;" (assignment_expression "*(uint *)puVar1 = uVar2 & 0xfffffeff" (pointer_expression "*(uint *)puVar1" * (cast_expression "(uint *)puVar1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "uVar2 & 0xfffffeff" identifier & number_literal)) ;) (return_statement "return (uint)(r != 1);" return (call_expression "(uint)(r != 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(r != 1)" ( (binary_expression "r != 1" identifier != number_literal) ))) ;) })))
(translation_unit "bool _rl_nsearch_cleanup(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  \n  _rl_scxt_dispose(param_1,0);\n  puVar1 = PTR_rl_readline_state_00144658;\n  uVar2 = *(uint *)PTR_rl_readline_state_00144658;\n  *(undefined4 *)PTR__rl_nscxt_00145e78 = 0;\n  *(uint *)puVar1 = uVar2 & 0xfffffeff;\n  return param_2 != 1;\n}\n\n" (function_definition "bool _rl_nsearch_cleanup(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  \n  _rl_scxt_dispose(param_1,0);\n  puVar1 = PTR_rl_readline_state_00144658;\n  uVar2 = *(uint *)PTR_rl_readline_state_00144658;\n  *(undefined4 *)PTR__rl_nscxt_00145e78 = 0;\n  *(uint *)puVar1 = uVar2 & 0xfffffeff;\n  return param_2 != 1;\n}" primitive_type (function_declarator "_rl_nsearch_cleanup(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  \n  _rl_scxt_dispose(param_1,0);\n  puVar1 = PTR_rl_readline_state_00144658;\n  uVar2 = *(uint *)PTR_rl_readline_state_00144658;\n  *(undefined4 *)PTR__rl_nscxt_00145e78 = 0;\n  *(uint *)puVar1 = uVar2 & 0xfffffeff;\n  return param_2 != 1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "_rl_scxt_dispose(param_1,0);" (call_expression "_rl_scxt_dispose(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal ))) ;) (expression_statement "puVar1 = PTR_rl_readline_state_00144658;" (assignment_expression "puVar1 = PTR_rl_readline_state_00144658" identifier = identifier) ;) (expression_statement "uVar2 = *(uint *)PTR_rl_readline_state_00144658;" (assignment_expression "uVar2 = *(uint *)PTR_rl_readline_state_00144658" identifier = (pointer_expression "*(uint *)PTR_rl_readline_state_00144658" * (cast_expression "(uint *)PTR_rl_readline_state_00144658" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)PTR__rl_nscxt_00145e78 = 0;" (assignment_expression "*(undefined4 *)PTR__rl_nscxt_00145e78 = 0" (pointer_expression "*(undefined4 *)PTR__rl_nscxt_00145e78" * (cast_expression "(undefined4 *)PTR__rl_nscxt_00145e78" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(uint *)puVar1 = uVar2 & 0xfffffeff;" (assignment_expression "*(uint *)puVar1 = uVar2 & 0xfffffeff" (pointer_expression "*(uint *)puVar1" * (cast_expression "(uint *)puVar1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "uVar2 & 0xfffffeff" identifier & number_literal)) ;) (return_statement "return param_2 != 1;" return (binary_expression "param_2 != 1" identifier != number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (binary_expression IDENT & LIT)) ;) (return_statement return (binary_expression IDENT != LIT) ;) })))
(function_definition "bool _rl_nsearch_cleanup(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  \n  _rl_scxt_dispose(param_1,0);\n  puVar1 = PTR_rl_readline_state_00144658;\n  uVar2 = *(uint *)PTR_rl_readline_state_00144658;\n  *(undefined4 *)PTR__rl_nscxt_00145e78 = 0;\n  *(uint *)puVar1 = uVar2 & 0xfffffeff;\n  return param_2 != 1;\n}" (primitive_type "bool") (function_declarator "_rl_nsearch_cleanup(undefined4 param_1,int param_2)" (identifier "_rl_nsearch_cleanup") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  \n  _rl_scxt_dispose(param_1,0);\n  puVar1 = PTR_rl_readline_state_00144658;\n  uVar2 = *(uint *)PTR_rl_readline_state_00144658;\n  *(undefined4 *)PTR__rl_nscxt_00145e78 = 0;\n  *(uint *)puVar1 = uVar2 & 0xfffffeff;\n  return param_2 != 1;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (expression_statement "_rl_scxt_dispose(param_1,0);" (call_expression "_rl_scxt_dispose(param_1,0)" (identifier "_rl_scxt_dispose") (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "puVar1 = PTR_rl_readline_state_00144658;" (assignment_expression "puVar1 = PTR_rl_readline_state_00144658" (identifier "puVar1") (= "=") (identifier "PTR_rl_readline_state_00144658")) (; ";")) (expression_statement "uVar2 = *(uint *)PTR_rl_readline_state_00144658;" (assignment_expression "uVar2 = *(uint *)PTR_rl_readline_state_00144658" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)PTR_rl_readline_state_00144658" (* "*") (cast_expression "(uint *)PTR_rl_readline_state_00144658" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_readline_state_00144658")))) (; ";")) (expression_statement "*(undefined4 *)PTR__rl_nscxt_00145e78 = 0;" (assignment_expression "*(undefined4 *)PTR__rl_nscxt_00145e78 = 0" (pointer_expression "*(undefined4 *)PTR__rl_nscxt_00145e78" (* "*") (cast_expression "(undefined4 *)PTR__rl_nscxt_00145e78" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__rl_nscxt_00145e78"))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(uint *)puVar1 = uVar2 & 0xfffffeff;" (assignment_expression "*(uint *)puVar1 = uVar2 & 0xfffffeff" (pointer_expression "*(uint *)puVar1" (* "*") (cast_expression "(uint *)puVar1" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (= "=") (binary_expression "uVar2 & 0xfffffeff" (identifier "uVar2") (& "&") (number_literal "0xfffffeff"))) (; ";")) (return_statement "return param_2 != 1;" (return "return") (binary_expression "param_2 != 1" (identifier "param_2") (!= "!=") (number_literal "1")) (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (binary_expression left: (identifier) right: (number_literal)))) (return_statement (binary_expression left: (identifier) right: (number_literal))))))

bool MASKED(undefined4 param_1,int param_2)

{
  undefined *puVar1;
  uint uVar2;
  
  _rl_scxt_dispose(param_1,0);
  puVar1 = PTR_rl_readline_state_00144658;
  uVar2 = *(uint *)PTR_rl_readline_state_00144658;
  *(undefined4 *)PTR__rl_nscxt_00145e78 = 0;
  *(uint *)puVar1 = uVar2 & 0xfffffeff;
  return param_2 != 1;
}

