
SHELL_VAR * array_variable_part(char *s,int flags,char **subp,int *lenp)

{
  char *pcVar1;
  SHELL_VAR *pSVar2;
  
  pcVar1 = array_variable_name(s,flags,subp,lenp);
  if (pcVar1 != (char *)0x0) {
    pSVar2 = (SHELL_VAR *)(*(code *)PTR_find_variable_00144788)(pcVar1);
    (*(code *)PTR_free_001464fc)(pcVar1);
    return pSVar2;
  }
  return (SHELL_VAR *)0x0;
}



undefined4 array_variable_part(void)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = array_variable_name();
  if (iVar1 != 0) {
    uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);
    (*(code *)PTR_free_001464fc)(iVar1);
    return uVar2;
  }
  return 0;
}


lui gp,0xb
addiu gp,gp,0x7a04
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7a7c(gp)
sw gp,0x10(sp)
sw ra,0x24(sp)
bal 0x0009468c
_sw s0,0x20(sp)
beq v0,zero,0x00094ba0
_lw gp,0x10(sp)
lw t9,-0x7db8(gp)
or a0,v0,zero
jalr t9
_or s0,v0,zero
or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x6044(gp)
jalr t9
_sw v0,0x1c(sp)
lw ra,0x24(sp)
lw v0,0x1c(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
lw ra,0x24(sp)
or v0,zero,zero
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "undefined4 array_variable_part(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = array_variable_name();\n  if (iVar1 != 0) {\n    uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);\n    (*(code *)PTR_free_001464fc)(iVar1);\n    return uVar2;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 array_variable_part(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = array_variable_name();\n  if (iVar1 != 0) {\n    uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);\n    (*(code *)PTR_free_001464fc)(iVar1);\n    return uVar2;\n  }\n  return 0;\n}" type_identifier (function_declarator "array_variable_part(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = array_variable_name();\n  if (iVar1 != 0) {\n    uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);\n    (*(code *)PTR_free_001464fc)(iVar1);\n    return uVar2;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = array_variable_name();" (assignment_expression "iVar1 = array_variable_name()" identifier = (call_expression "array_variable_name()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);\n    (*(code *)PTR_free_001464fc)(iVar1);\n    return uVar2;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);\n    (*(code *)PTR_free_001464fc)(iVar1);\n    return uVar2;\n  }" { (expression_statement "uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1)" identifier = (call_expression "(*(code *)PTR_find_variable_00144788)(iVar1)" (parenthesized_expression "(*(code *)PTR_find_variable_00144788)" ( (pointer_expression "*(code *)PTR_find_variable_00144788" * (cast_expression "(code *)PTR_find_variable_00144788" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_free_001464fc)(iVar1);" (call_expression "(*(code *)PTR_free_001464fc)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "SHELL_VAR * array_variable_part(char *s,int flags,char **subp,int *lenp)\n\n{\n  char *pcVar1;\n  SHELL_VAR *pSVar2;\n  \n  pcVar1 = array_variable_name(s,flags,subp,lenp);\n  if (pcVar1 != (char *)0x0) {\n    pSVar2 = (SHELL_VAR *)(*(code *)PTR_find_variable_00144788)(pcVar1);\n    (*(code *)PTR_free_001464fc)(pcVar1);\n    return pSVar2;\n  }\n  return (SHELL_VAR *)0x0;\n}\n\n" (function_definition "SHELL_VAR * array_variable_part(char *s,int flags,char **subp,int *lenp)\n\n{\n  char *pcVar1;\n  SHELL_VAR *pSVar2;\n  \n  pcVar1 = array_variable_name(s,flags,subp,lenp);\n  if (pcVar1 != (char *)0x0) {\n    pSVar2 = (SHELL_VAR *)(*(code *)PTR_find_variable_00144788)(pcVar1);\n    (*(code *)PTR_free_001464fc)(pcVar1);\n    return pSVar2;\n  }\n  return (SHELL_VAR *)0x0;\n}" type_identifier (pointer_declarator "* array_variable_part(char *s,int flags,char **subp,int *lenp)" * (function_declarator "array_variable_part(char *s,int flags,char **subp,int *lenp)" identifier (parameter_list "(char *s,int flags,char **subp,int *lenp)" ( (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) , (parameter_declaration "int flags" primitive_type identifier) , (parameter_declaration "char **subp" primitive_type (pointer_declarator "**subp" * (pointer_declarator "*subp" * identifier))) , (parameter_declaration "int *lenp" primitive_type (pointer_declarator "*lenp" * identifier)) )))) (compound_statement "{\n  char *pcVar1;\n  SHELL_VAR *pSVar2;\n  \n  pcVar1 = array_variable_name(s,flags,subp,lenp);\n  if (pcVar1 != (char *)0x0) {\n    pSVar2 = (SHELL_VAR *)(*(code *)PTR_find_variable_00144788)(pcVar1);\n    (*(code *)PTR_free_001464fc)(pcVar1);\n    return pSVar2;\n  }\n  return (SHELL_VAR *)0x0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "SHELL_VAR *pSVar2;" type_identifier (pointer_declarator "*pSVar2" * identifier) ;) (expression_statement "pcVar1 = array_variable_name(s,flags,subp,lenp);" (assignment_expression "pcVar1 = array_variable_name(s,flags,subp,lenp)" identifier = (call_expression "array_variable_name(s,flags,subp,lenp)" identifier (argument_list "(s,flags,subp,lenp)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    pSVar2 = (SHELL_VAR *)(*(code *)PTR_find_variable_00144788)(pcVar1);\n    (*(code *)PTR_free_001464fc)(pcVar1);\n    return pSVar2;\n  }" if (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pSVar2 = (SHELL_VAR *)(*(code *)PTR_find_variable_00144788)(pcVar1);\n    (*(code *)PTR_free_001464fc)(pcVar1);\n    return pSVar2;\n  }" { (expression_statement "pSVar2 = (SHELL_VAR *)(*(code *)PTR_find_variable_00144788)(pcVar1);" (assignment_expression "pSVar2 = (SHELL_VAR *)(*(code *)PTR_find_variable_00144788)(pcVar1)" identifier = (cast_expression "(SHELL_VAR *)(*(code *)PTR_find_variable_00144788)(pcVar1)" ( (type_descriptor "SHELL_VAR *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_find_variable_00144788)(pcVar1)" (parenthesized_expression "(*(code *)PTR_find_variable_00144788)" ( (pointer_expression "*(code *)PTR_find_variable_00144788" * (cast_expression "(code *)PTR_find_variable_00144788" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_free_001464fc)(pcVar1);" (call_expression "(*(code *)PTR_free_001464fc)(pcVar1)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1)" ( identifier ))) ;) (return_statement "return pSVar2;" return identifier ;) })) (return_statement "return (SHELL_VAR *)0x0;" return (cast_expression "(SHELL_VAR *)0x0" ( (type_descriptor "SHELL_VAR *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "undefined4 array_variable_part(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = array_variable_name();\n  if (iVar1 != 0) {\n    uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);\n    (*(code *)PTR_free_001464fc)(iVar1);\n    return uVar2;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 array_variable_part(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = array_variable_name();\n  if (iVar1 != 0) {\n    uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);\n    (*(code *)PTR_free_001464fc)(iVar1);\n    return uVar2;\n  }\n  return 0;\n}" type_identifier (function_declarator "array_variable_part(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = array_variable_name();\n  if (iVar1 != 0) {\n    uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);\n    (*(code *)PTR_free_001464fc)(iVar1);\n    return uVar2;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = array_variable_name();" (assignment_expression "iVar1 = array_variable_name()" identifier = (call_expression "array_variable_name()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);\n    (*(code *)PTR_free_001464fc)(iVar1);\n    return uVar2;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);\n    (*(code *)PTR_free_001464fc)(iVar1);\n    return uVar2;\n  }" { (expression_statement "uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1)" identifier = (call_expression "(*(code *)PTR_find_variable_00144788)(iVar1)" (parenthesized_expression "(*(code *)PTR_find_variable_00144788)" ( (pointer_expression "*(code *)PTR_find_variable_00144788" * (cast_expression "(code *)PTR_find_variable_00144788" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_free_001464fc)(iVar1);" (call_expression "(*(code *)PTR_free_001464fc)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return uVar2;" return identifier ;) })) (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 ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != 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 ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 array_variable_part(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = array_variable_name();\n  if (iVar1 != 0) {\n    uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);\n    (*(code *)PTR_free_001464fc)(iVar1);\n    return uVar2;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "array_variable_part(void)" (identifier "array_variable_part") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = array_variable_name();\n  if (iVar1 != 0) {\n    uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);\n    (*(code *)PTR_free_001464fc)(iVar1);\n    return uVar2;\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = array_variable_name();" (assignment_expression "iVar1 = array_variable_name()" (identifier "iVar1") (= "=") (call_expression "array_variable_name()" (identifier "array_variable_name") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);\n    (*(code *)PTR_free_001464fc)(iVar1);\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);\n    (*(code *)PTR_free_001464fc)(iVar1);\n    return uVar2;\n  }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_find_variable_00144788)(iVar1)" (parenthesized_expression "(*(code *)PTR_find_variable_00144788)" (( "(") (pointer_expression "*(code *)PTR_find_variable_00144788" (* "*") (cast_expression "(code *)PTR_find_variable_00144788" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_find_variable_00144788"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_free_001464fc)(iVar1);" (call_expression "(*(code *)PTR_free_001464fc)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" (( "(") (pointer_expression "*(code *)PTR_free_001464fc" (* "*") (cast_expression "(code *)PTR_free_001464fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001464fc"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

type_1 * function_1(char *s,int flags,char **subp,int *lenp)

{
  char *var_2;
  type_1 *pSVar2;
  
  var_2 = var_1(s,flags,subp,lenp);
  if (var_2 != (char *)0x0) {
    pSVar2 = (type_1 *)(*(type_2 *)PTR_find_variable_00144788)(var_2);
    (*(type_2 *)PTR_free_001464fc)(var_2);
    return pSVar2;
  }
  return (type_1 *)0x0;
}


(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)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) 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 (identifier))))) (expression_statement (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 (identifier)))) (return_statement (identifier)))) (return_statement (number_literal)))))

undefined4 MASKED(void)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = array_variable_name();
  if (iVar1 != 0) {
    uVar2 = (*(code *)PTR_find_variable_00144788)(iVar1);
    (*(code *)PTR_free_001464fc)(iVar1);
    return uVar2;
  }
  return 0;
}

