
/* WARNING: Unknown calling convention */

int _rl_restore_tty_signals(void)

{
  undefined *puVar1;
  int iVar2;
  
  puVar1 = PTR___environ_00145154;
  if (*(int *)(PTR___environ_00145154 + -0x6220) == 0) {
    iVar2 = 0;
  }
  else {
    iVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);
    iVar2 = _set_tty_settings(iVar2,(termios *)(PTR___environ_00145154 + -0x61e8));
    if (iVar2 == 0) {
      *(undefined4 *)(puVar1 + -0x6220) = 0;
      return 0;
    }
  }
  return iVar2;
}



void _rl_restore_tty_signals(void)

{
  undefined *puVar1;
  undefined4 uVar2;
  int iVar3;
  
  puVar1 = PTR___environ_00145154;
  if (*(int *)(PTR___environ_00145154 + -0x6220) != 0) {
    uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);
    iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);
    if (iVar3 == 0) {
      *(undefined4 *)(puVar1 + -0x6220) = 0;
      return;
    }
  }
  return;
}


lui gp,0x6
addiu gp,gp,0x2390
addu gp,gp,t9
addiu sp,sp,-0x20
sw s0,0x18(sp)
lw s0,-0x73ec(gp)
sw gp,0x10(sp)
sw ra,0x1c(sp)
lw v0,-0x6220(s0)
bne v0,zero,0x000ea1ec
_lw t9,-0x6218(gp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw v0,-0x7c90(gp)
jalr t9
_lw a0,0x0(v0)
lw gp,0x10(sp)
or a0,v0,zero
lw a1,-0x73ec(gp)
lw t9,-0x6704(gp)
addiu t9,t9,-0x6aa8
bal 0x000e9558
_addiu a1,a1,-0x61e8
bne v0,zero,0x000ea1e0
_lw ra,0x1c(sp)
sw zero,-0x6220(s0)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "void _rl_restore_tty_signals(void)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  puVar1 = PTR___environ_00145154;\n  if (*(int *)(PTR___environ_00145154 + -0x6220) != 0) {\n    uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);\n    if (iVar3 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void _rl_restore_tty_signals(void)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  puVar1 = PTR___environ_00145154;\n  if (*(int *)(PTR___environ_00145154 + -0x6220) != 0) {\n    uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);\n    if (iVar3 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "_rl_restore_tty_signals(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  puVar1 = PTR___environ_00145154;\n  if (*(int *)(PTR___environ_00145154 + -0x6220) != 0) {\n    uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);\n    if (iVar3 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___environ_00145154;" (assignment_expression "puVar1 = PTR___environ_00145154" identifier = identifier) ;) (if_statement "if (*(int *)(PTR___environ_00145154 + -0x6220) != 0) {\n    uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);\n    if (iVar3 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }\n  }" if (parenthesized_expression "(*(int *)(PTR___environ_00145154 + -0x6220) != 0)" ( (binary_expression "*(int *)(PTR___environ_00145154 + -0x6220) != 0" (pointer_expression "*(int *)(PTR___environ_00145154 + -0x6220)" * (cast_expression "(int *)(PTR___environ_00145154 + -0x6220)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x6220)" ( (binary_expression "PTR___environ_00145154 + -0x6220" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);\n    if (iVar3 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }\n  }" { (expression_statement "uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);" (assignment_expression "uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0)" identifier = (call_expression "(*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0)" (parenthesized_expression "(*(code *)PTR_fileno_00146328)" ( (pointer_expression "*(code *)PTR_fileno_00146328" * (cast_expression "(code *)PTR_fileno_00146328" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_rl_instream_001448b0)" ( (pointer_expression "*(undefined4 *)PTR_rl_instream_001448b0" * (cast_expression "(undefined4 *)PTR_rl_instream_001448b0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (expression_statement "iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);" (assignment_expression "iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8)" identifier = (call_expression "FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8)" identifier (argument_list "(uVar2,PTR___environ_00145154 + -0x61e8)" ( identifier , (binary_expression "PTR___environ_00145154 + -0x61e8" identifier + number_literal) )))) ;) (if_statement "if (iVar3 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }" { (expression_statement "*(undefined4 *)(puVar1 + -0x6220) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0x6220) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0x6220)" * (cast_expression "(undefined4 *)(puVar1 + -0x6220)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x6220)" ( (binary_expression "puVar1 + -0x6220" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint _rl_restore_tty_signals(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR___environ_00145154;\n  if (*(int *)(PTR___environ_00145154 + -0x6220) == 0) {\n    iVar2 = 0;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar2 = _set_tty_settings(iVar2,(termios *)(PTR___environ_00145154 + -0x61e8));\n    if (iVar2 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return 0;\n    }\n  }\n  return iVar2;\n}\n\n" comment (function_definition "int _rl_restore_tty_signals(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR___environ_00145154;\n  if (*(int *)(PTR___environ_00145154 + -0x6220) == 0) {\n    iVar2 = 0;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar2 = _set_tty_settings(iVar2,(termios *)(PTR___environ_00145154 + -0x61e8));\n    if (iVar2 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return 0;\n    }\n  }\n  return iVar2;\n}" primitive_type (function_declarator "_rl_restore_tty_signals(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR___environ_00145154;\n  if (*(int *)(PTR___environ_00145154 + -0x6220) == 0) {\n    iVar2 = 0;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar2 = _set_tty_settings(iVar2,(termios *)(PTR___environ_00145154 + -0x61e8));\n    if (iVar2 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return 0;\n    }\n  }\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___environ_00145154;" (assignment_expression "puVar1 = PTR___environ_00145154" identifier = identifier) ;) (if_statement "if (*(int *)(PTR___environ_00145154 + -0x6220) == 0) {\n    iVar2 = 0;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar2 = _set_tty_settings(iVar2,(termios *)(PTR___environ_00145154 + -0x61e8));\n    if (iVar2 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return 0;\n    }\n  }" if (parenthesized_expression "(*(int *)(PTR___environ_00145154 + -0x6220) == 0)" ( (binary_expression "*(int *)(PTR___environ_00145154 + -0x6220) == 0" (pointer_expression "*(int *)(PTR___environ_00145154 + -0x6220)" * (cast_expression "(int *)(PTR___environ_00145154 + -0x6220)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x6220)" ( (binary_expression "PTR___environ_00145154 + -0x6220" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar2 = 0;\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar2 = _set_tty_settings(iVar2,(termios *)(PTR___environ_00145154 + -0x61e8));\n    if (iVar2 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return 0;\n    }\n  }" else (compound_statement "{\n    iVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar2 = _set_tty_settings(iVar2,(termios *)(PTR___environ_00145154 + -0x61e8));\n    if (iVar2 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return 0;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);" (assignment_expression "iVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0)" identifier = (call_expression "(*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0)" (parenthesized_expression "(*(code *)PTR_fileno_00146328)" ( (pointer_expression "*(code *)PTR_fileno_00146328" * (cast_expression "(code *)PTR_fileno_00146328" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_rl_instream_001448b0)" ( (pointer_expression "*(undefined4 *)PTR_rl_instream_001448b0" * (cast_expression "(undefined4 *)PTR_rl_instream_001448b0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (expression_statement "iVar2 = _set_tty_settings(iVar2,(termios *)(PTR___environ_00145154 + -0x61e8));" (assignment_expression "iVar2 = _set_tty_settings(iVar2,(termios *)(PTR___environ_00145154 + -0x61e8))" identifier = (call_expression "_set_tty_settings(iVar2,(termios *)(PTR___environ_00145154 + -0x61e8))" identifier (argument_list "(iVar2,(termios *)(PTR___environ_00145154 + -0x61e8))" ( identifier , (cast_expression "(termios *)(PTR___environ_00145154 + -0x61e8)" ( (type_descriptor "termios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x61e8)" ( (binary_expression "PTR___environ_00145154 + -0x61e8" identifier + number_literal) ))) )))) ;) (if_statement "if (iVar2 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return 0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return 0;\n    }" { (expression_statement "*(undefined4 *)(puVar1 + -0x6220) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0x6220) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0x6220)" * (cast_expression "(undefined4 *)(puVar1 + -0x6220)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x6220)" ( (binary_expression "puVar1 + -0x6220" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "void _rl_restore_tty_signals(void)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  puVar1 = PTR___environ_00145154;\n  if (*(int *)(PTR___environ_00145154 + -0x6220) != 0) {\n    uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);\n    if (iVar3 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void _rl_restore_tty_signals(void)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  puVar1 = PTR___environ_00145154;\n  if (*(int *)(PTR___environ_00145154 + -0x6220) != 0) {\n    uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);\n    if (iVar3 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "_rl_restore_tty_signals(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  puVar1 = PTR___environ_00145154;\n  if (*(int *)(PTR___environ_00145154 + -0x6220) != 0) {\n    uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);\n    if (iVar3 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___environ_00145154;" (assignment_expression "puVar1 = PTR___environ_00145154" identifier = identifier) ;) (if_statement "if (*(int *)(PTR___environ_00145154 + -0x6220) != 0) {\n    uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);\n    if (iVar3 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }\n  }" if (parenthesized_expression "(*(int *)(PTR___environ_00145154 + -0x6220) != 0)" ( (binary_expression "*(int *)(PTR___environ_00145154 + -0x6220) != 0" (pointer_expression "*(int *)(PTR___environ_00145154 + -0x6220)" * (cast_expression "(int *)(PTR___environ_00145154 + -0x6220)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___environ_00145154 + -0x6220)" ( (binary_expression "PTR___environ_00145154 + -0x6220" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);\n    if (iVar3 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }\n  }" { (expression_statement "uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);" (assignment_expression "uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0)" identifier = (call_expression "(*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0)" (parenthesized_expression "(*(code *)PTR_fileno_00146328)" ( (pointer_expression "*(code *)PTR_fileno_00146328" * (cast_expression "(code *)PTR_fileno_00146328" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_rl_instream_001448b0)" ( (pointer_expression "*(undefined4 *)PTR_rl_instream_001448b0" * (cast_expression "(undefined4 *)PTR_rl_instream_001448b0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (expression_statement "iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);" (assignment_expression "iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8)" identifier = (call_expression "FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8)" identifier (argument_list "(uVar2,PTR___environ_00145154 + -0x61e8)" ( identifier , (binary_expression "PTR___environ_00145154 + -0x61e8" identifier + number_literal) )))) ;) (if_statement "if (iVar3 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }" { (expression_statement "*(undefined4 *)(puVar1 + -0x6220) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0x6220) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0x6220)" * (cast_expression "(undefined4 *)(puVar1 + -0x6220)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x6220)" ( (binary_expression "puVar1 + -0x6220" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != 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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })) })) (return_statement return ;) })))
(function_definition "void _rl_restore_tty_signals(void)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  puVar1 = PTR___environ_00145154;\n  if (*(int *)(PTR___environ_00145154 + -0x6220) != 0) {\n    uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);\n    if (iVar3 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "_rl_restore_tty_signals(void)" (identifier "_rl_restore_tty_signals") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  puVar1 = PTR___environ_00145154;\n  if (*(int *)(PTR___environ_00145154 + -0x6220) != 0) {\n    uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);\n    if (iVar3 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "puVar1 = PTR___environ_00145154;" (assignment_expression "puVar1 = PTR___environ_00145154" (identifier "puVar1") (= "=") (identifier "PTR___environ_00145154")) (; ";")) (if_statement "if (*(int *)(PTR___environ_00145154 + -0x6220) != 0) {\n    uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);\n    if (iVar3 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR___environ_00145154 + -0x6220) != 0)" (( "(") (binary_expression "*(int *)(PTR___environ_00145154 + -0x6220) != 0" (pointer_expression "*(int *)(PTR___environ_00145154 + -0x6220)" (* "*") (cast_expression "(int *)(PTR___environ_00145154 + -0x6220)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR___environ_00145154 + -0x6220)" (( "(") (binary_expression "PTR___environ_00145154 + -0x6220" (identifier "PTR___environ_00145154") (+ "+") (number_literal "-0x6220")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);\n    iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);\n    if (iVar3 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }\n  }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);" (assignment_expression "uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0)" (parenthesized_expression "(*(code *)PTR_fileno_00146328)" (( "(") (pointer_expression "*(code *)PTR_fileno_00146328" (* "*") (cast_expression "(code *)PTR_fileno_00146328" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fileno_00146328"))) () ")")) (argument_list "(*(undefined4 *)PTR_rl_instream_001448b0)" (( "(") (pointer_expression "*(undefined4 *)PTR_rl_instream_001448b0" (* "*") (cast_expression "(undefined4 *)PTR_rl_instream_001448b0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_instream_001448b0"))) () ")")))) (; ";")) (expression_statement "iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);" (assignment_expression "iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8)" (identifier "iVar3") (= "=") (call_expression "FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8)" (identifier "FUN_000e9558") (argument_list "(uVar2,PTR___environ_00145154 + -0x61e8)" (( "(") (identifier "uVar2") (, ",") (binary_expression "PTR___environ_00145154 + -0x61e8" (identifier "PTR___environ_00145154") (+ "+") (number_literal "-0x61e8")) () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined4 *)(puVar1 + -0x6220) = 0;\n      return;\n    }" ({ "{") (expression_statement "*(undefined4 *)(puVar1 + -0x6220) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0x6220) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0x6220)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0x6220)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x6220)" (( "(") (binary_expression "puVar1 + -0x6220" (identifier "puVar1") (+ "+") (number_literal "-0x6220")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) 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 (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (return_statement))))) (return_statement))))

void MASKED(void)

{
  undefined *puVar1;
  undefined4 uVar2;
  int iVar3;
  
  puVar1 = PTR___environ_00145154;
  if (*(int *)(PTR___environ_00145154 + -0x6220) != 0) {
    uVar2 = (*(code *)PTR_fileno_00146328)(*(undefined4 *)PTR_rl_instream_001448b0);
    iVar3 = FUN_000e9558(uVar2,PTR___environ_00145154 + -0x61e8);
    if (iVar3 == 0) {
      *(undefined4 *)(puVar1 + -0x6220) = 0;
      return;
    }
  }
  return;
}

