
SHELL_VAR * find_variable_noref(char *name)

{
  SHELL_VAR *pSVar1;
  
  if (*(int *)PTR_expanding_redir_00144f24 == 0) {
    pSVar1 = find_variable_internal
                       (name,(uint)(*(int *)PTR_assigning_in_environment_00144f30 != 0 ||
                                   *(int *)PTR_executing_builtin_00144c04 != 0));
    return pSVar1;
  }
  pSVar1 = find_variable_internal(name,0);
  return pSVar1;
}



void find_variable_noref(undefined4 param_1)

{
  if (*(int *)PTR_expanding_redir_00144f24 == 0) {
    FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||
                         *(int *)PTR_executing_builtin_00144c04 != 0);
    return;
  }
  FUN_000555b0(param_1,0);
  return;
}


lui gp,0xf
addiu gp,gp,0x6180
addu gp,gp,t9
lw v0,-0x761c(gp)
lw v0,0x0(v0)
bne v0,zero,0x000563fc
_lw t9,-0x7970(gp)
lw v0,-0x7610(gp)
lw a1,0x0(v0)
addiu t9,t9,0x55b0
lw v0,-0x793c(gp)
lw v0,0x0(v0)
or a1,a1,v0
b 0x000555b0
_sltu a1,zero,a1
addiu t9,t9,0x55b0
b 0x000555b0
_or a1,zero,zero
(translation_unit "void find_variable_noref(undefined4 param_1)\n\n{\n  if (*(int *)PTR_expanding_redir_00144f24 == 0) {\n    FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0);\n    return;\n  }\n  FUN_000555b0(param_1,0);\n  return;\n}\n\n" (function_definition "void find_variable_noref(undefined4 param_1)\n\n{\n  if (*(int *)PTR_expanding_redir_00144f24 == 0) {\n    FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0);\n    return;\n  }\n  FUN_000555b0(param_1,0);\n  return;\n}" primitive_type (function_declarator "find_variable_noref(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  if (*(int *)PTR_expanding_redir_00144f24 == 0) {\n    FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0);\n    return;\n  }\n  FUN_000555b0(param_1,0);\n  return;\n}" { (if_statement "if (*(int *)PTR_expanding_redir_00144f24 == 0) {\n    FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0);\n    return;\n  }" if (parenthesized_expression "(*(int *)PTR_expanding_redir_00144f24 == 0)" ( (binary_expression "*(int *)PTR_expanding_redir_00144f24 == 0" (pointer_expression "*(int *)PTR_expanding_redir_00144f24" * (cast_expression "(int *)PTR_expanding_redir_00144f24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0);\n    return;\n  }" { (expression_statement "FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0);" (call_expression "FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0)" identifier (argument_list "(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0)" ( identifier , (binary_expression "*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0" (binary_expression "*(int *)PTR_assigning_in_environment_00144f30 != 0" (pointer_expression "*(int *)PTR_assigning_in_environment_00144f30" * (cast_expression "(int *)PTR_assigning_in_environment_00144f30" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) || (binary_expression "*(int *)PTR_executing_builtin_00144c04 != 0" (pointer_expression "*(int *)PTR_executing_builtin_00144c04" * (cast_expression "(int *)PTR_executing_builtin_00144c04" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal)) ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_000555b0(param_1,0);" (call_expression "FUN_000555b0(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "SHELL_VAR * find_variable_noref(char *name)\n\n{\n  SHELL_VAR *pSVar1;\n  \n  if (*(int *)PTR_expanding_redir_00144f24 == 0) {\n    pSVar1 = find_variable_internal\n                       (name,(uint)(*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                                   *(int *)PTR_executing_builtin_00144c04 != 0));\n    return pSVar1;\n  }\n  pSVar1 = find_variable_internal(name,0);\n  return pSVar1;\n}\n\n" (function_definition "SHELL_VAR * find_variable_noref(char *name)\n\n{\n  SHELL_VAR *pSVar1;\n  \n  if (*(int *)PTR_expanding_redir_00144f24 == 0) {\n    pSVar1 = find_variable_internal\n                       (name,(uint)(*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                                   *(int *)PTR_executing_builtin_00144c04 != 0));\n    return pSVar1;\n  }\n  pSVar1 = find_variable_internal(name,0);\n  return pSVar1;\n}" type_identifier (pointer_declarator "* find_variable_noref(char *name)" * (function_declarator "find_variable_noref(char *name)" identifier (parameter_list "(char *name)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) )))) (compound_statement "{\n  SHELL_VAR *pSVar1;\n  \n  if (*(int *)PTR_expanding_redir_00144f24 == 0) {\n    pSVar1 = find_variable_internal\n                       (name,(uint)(*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                                   *(int *)PTR_executing_builtin_00144c04 != 0));\n    return pSVar1;\n  }\n  pSVar1 = find_variable_internal(name,0);\n  return pSVar1;\n}" { (declaration "SHELL_VAR *pSVar1;" type_identifier (pointer_declarator "*pSVar1" * identifier) ;) (if_statement "if (*(int *)PTR_expanding_redir_00144f24 == 0) {\n    pSVar1 = find_variable_internal\n                       (name,(uint)(*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                                   *(int *)PTR_executing_builtin_00144c04 != 0));\n    return pSVar1;\n  }" if (parenthesized_expression "(*(int *)PTR_expanding_redir_00144f24 == 0)" ( (binary_expression "*(int *)PTR_expanding_redir_00144f24 == 0" (pointer_expression "*(int *)PTR_expanding_redir_00144f24" * (cast_expression "(int *)PTR_expanding_redir_00144f24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    pSVar1 = find_variable_internal\n                       (name,(uint)(*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                                   *(int *)PTR_executing_builtin_00144c04 != 0));\n    return pSVar1;\n  }" { (expression_statement "pSVar1 = find_variable_internal\n                       (name,(uint)(*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                                   *(int *)PTR_executing_builtin_00144c04 != 0));" (assignment_expression "pSVar1 = find_variable_internal\n                       (name,(uint)(*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                                   *(int *)PTR_executing_builtin_00144c04 != 0))" identifier = (call_expression "find_variable_internal\n                       (name,(uint)(*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                                   *(int *)PTR_executing_builtin_00144c04 != 0))" identifier (argument_list "(name,(uint)(*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                                   *(int *)PTR_executing_builtin_00144c04 != 0))" ( identifier , (call_expression "(uint)(*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                                   *(int *)PTR_executing_builtin_00144c04 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                                   *(int *)PTR_executing_builtin_00144c04 != 0)" ( (binary_expression "*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                                   *(int *)PTR_executing_builtin_00144c04 != 0" (binary_expression "*(int *)PTR_assigning_in_environment_00144f30 != 0" (pointer_expression "*(int *)PTR_assigning_in_environment_00144f30" * (cast_expression "(int *)PTR_assigning_in_environment_00144f30" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) || (binary_expression "*(int *)PTR_executing_builtin_00144c04 != 0" (pointer_expression "*(int *)PTR_executing_builtin_00144c04" * (cast_expression "(int *)PTR_executing_builtin_00144c04" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal)) ))) )))) ;) (return_statement "return pSVar1;" return identifier ;) })) (expression_statement "pSVar1 = find_variable_internal(name,0);" (assignment_expression "pSVar1 = find_variable_internal(name,0)" identifier = (call_expression "find_variable_internal(name,0)" identifier (argument_list "(name,0)" ( identifier , number_literal )))) ;) (return_statement "return pSVar1;" return identifier ;) })))
(translation_unit "void find_variable_noref(undefined4 param_1)\n\n{\n  if (*(int *)PTR_expanding_redir_00144f24 == 0) {\n    FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0);\n    return;\n  }\n  FUN_000555b0(param_1,0);\n  return;\n}\n\n" (function_definition "void find_variable_noref(undefined4 param_1)\n\n{\n  if (*(int *)PTR_expanding_redir_00144f24 == 0) {\n    FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0);\n    return;\n  }\n  FUN_000555b0(param_1,0);\n  return;\n}" primitive_type (function_declarator "find_variable_noref(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  if (*(int *)PTR_expanding_redir_00144f24 == 0) {\n    FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0);\n    return;\n  }\n  FUN_000555b0(param_1,0);\n  return;\n}" { (if_statement "if (*(int *)PTR_expanding_redir_00144f24 == 0) {\n    FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0);\n    return;\n  }" if (parenthesized_expression "(*(int *)PTR_expanding_redir_00144f24 == 0)" ( (binary_expression "*(int *)PTR_expanding_redir_00144f24 == 0" (pointer_expression "*(int *)PTR_expanding_redir_00144f24" * (cast_expression "(int *)PTR_expanding_redir_00144f24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0);\n    return;\n  }" { (expression_statement "FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0);" (call_expression "FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0)" identifier (argument_list "(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0)" ( identifier , (binary_expression "*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0" (binary_expression "*(int *)PTR_assigning_in_environment_00144f30 != 0" (pointer_expression "*(int *)PTR_assigning_in_environment_00144f30" * (cast_expression "(int *)PTR_assigning_in_environment_00144f30" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) || (binary_expression "*(int *)PTR_executing_builtin_00144c04 != 0" (pointer_expression "*(int *)PTR_executing_builtin_00144c04" * (cast_expression "(int *)PTR_executing_builtin_00144c04" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal)) ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_000555b0(param_1,0);" (call_expression "FUN_000555b0(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) != LIT) || (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) != LIT)) ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void find_variable_noref(undefined4 param_1)\n\n{\n  if (*(int *)PTR_expanding_redir_00144f24 == 0) {\n    FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0);\n    return;\n  }\n  FUN_000555b0(param_1,0);\n  return;\n}" (primitive_type "void") (function_declarator "find_variable_noref(undefined4 param_1)" (identifier "find_variable_noref") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (*(int *)PTR_expanding_redir_00144f24 == 0) {\n    FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0);\n    return;\n  }\n  FUN_000555b0(param_1,0);\n  return;\n}" ({ "{") (if_statement "if (*(int *)PTR_expanding_redir_00144f24 == 0) {\n    FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0);\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)PTR_expanding_redir_00144f24 == 0)" (( "(") (binary_expression "*(int *)PTR_expanding_redir_00144f24 == 0" (pointer_expression "*(int *)PTR_expanding_redir_00144f24" (* "*") (cast_expression "(int *)PTR_expanding_redir_00144f24" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_expanding_redir_00144f24"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0);\n    return;\n  }" ({ "{") (expression_statement "FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0);" (call_expression "FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0)" (identifier "FUN_000555b0") (argument_list "(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0)" (( "(") (identifier "param_1") (, ",") (binary_expression "*(int *)PTR_assigning_in_environment_00144f30 != 0 ||\n                         *(int *)PTR_executing_builtin_00144c04 != 0" (binary_expression "*(int *)PTR_assigning_in_environment_00144f30 != 0" (pointer_expression "*(int *)PTR_assigning_in_environment_00144f30" (* "*") (cast_expression "(int *)PTR_assigning_in_environment_00144f30" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_assigning_in_environment_00144f30"))) (!= "!=") (number_literal "0")) (|| "||") (binary_expression "*(int *)PTR_executing_builtin_00144c04 != 0" (pointer_expression "*(int *)PTR_executing_builtin_00144c04" (* "*") (cast_expression "(int *)PTR_executing_builtin_00144c04" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_executing_builtin_00144c04"))) (!= "!=") (number_literal "0"))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_000555b0(param_1,0);" (call_expression "FUN_000555b0(param_1,0)" (identifier "FUN_000555b0") (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

type_1 * function_1(char *name)

{
  type_1 *pSVar1;
  
  if (*(int *)PTR_expanding_redir_00144f24 == 0) {
    pSVar1 = var_1
                       (name,(uint)(*(int *)PTR_assigning_in_environment_00144f30 != 0 ||
                                   *(int *)PTR_executing_builtin_00144c04 != 0));
    return pSVar1;
  }
  pSVar1 = var_1(name,0);
  return pSVar1;
}


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

void MASKED(undefined4 param_1)

{
  if (*(int *)PTR_expanding_redir_00144f24 == 0) {
    FUN_000555b0(param_1,*(int *)PTR_assigning_in_environment_00144f30 != 0 ||
                         *(int *)PTR_executing_builtin_00144c04 != 0);
    return;
  }
  FUN_000555b0(param_1,0);
  return;
}

