
backup_type xget_version(char *context,char *version)

{
  char *version_00;
  backup_type bVar1;
  
  if ((version != (char *)0x0) && (*version != '\0')) {
    bVar1 = get_version(context,version);
    return bVar1;
  }
  version_00 = (char *)(*(code *)PTR_getenv_00044594)
                                 (PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4);
  bVar1 = get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,version_00);
  return bVar1;
}



void xget_version(undefined4 param_1,char *param_2)

{
  undefined4 uVar1;
  
  if ((param_2 != (char *)0x0) && (*param_2 != '\0')) {
    get_version();
    return;
  }
  uVar1 = (*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4);
  get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1);
  return;
}


lui gp,0x3
addiu gp,gp,-0x2db0
addu gp,gp,t9
addiu sp,sp,-0x20
sw gp,0x10(sp)
sw ra,0x1c(sp)
beq a1,zero,0x0001eecc
_nop
lb v0,0x0(a1)
bne v0,zero,0x0001eefc
_lw ra,0x1c(sp)
lw a0,-0x7fc8(gp)
lw t9,-0x7b5c(gp)
jalr t9
_addiu a0,a0,0x23e4
lw gp,0x10(sp)
or a1,v0,zero
lw ra,0x1c(sp)
addiu sp,sp,0x20
lw a0,-0x7fc8(gp)
lw t9,-0x7e44(gp)
b 0x0001ee14
_addiu a0,a0,0x23f4
lw t9,-0x7e44(gp)
b 0x0001ee14
_addiu sp,sp,0x20
(translation_unit "void xget_version(undefined4 param_1,char *param_2)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_2 != (char *)0x0) && (*param_2 != '\0')) {\n    get_version();\n    return;\n  }\n  uVar1 = (*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4);\n  get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1);\n  return;\n}\n\n" (function_definition "void xget_version(undefined4 param_1,char *param_2)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_2 != (char *)0x0) && (*param_2 != '\0')) {\n    get_version();\n    return;\n  }\n  uVar1 = (*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4);\n  get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1);\n  return;\n}" primitive_type (function_declarator "xget_version(undefined4 param_1,char *param_2)" identifier (parameter_list "(undefined4 param_1,char *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if ((param_2 != (char *)0x0) && (*param_2 != '\0')) {\n    get_version();\n    return;\n  }\n  uVar1 = (*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4);\n  get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if ((param_2 != (char *)0x0) && (*param_2 != '\0')) {\n    get_version();\n    return;\n  }" if (parenthesized_expression "((param_2 != (char *)0x0) && (*param_2 != '\0'))" ( (binary_expression "(param_2 != (char *)0x0) && (*param_2 != '\0')" (parenthesized_expression "(param_2 != (char *)0x0)" ( (binary_expression "param_2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*param_2 != '\0')" ( (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    get_version();\n    return;\n  }" { (expression_statement "get_version();" (call_expression "get_version()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar1 = (*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4);" (assignment_expression "uVar1 = (*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4)" identifier = (call_expression "(*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4)" (parenthesized_expression "(*(code *)PTR_getenv_00044594)" ( (pointer_expression "*(code *)PTR_getenv_00044594" * (cast_expression "(code *)PTR_getenv_00044594" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4)" ( (binary_expression "PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4" identifier + number_literal) )))) ;) (expression_statement "get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1);" (call_expression "get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1)" identifier (argument_list "(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1)" ( (binary_expression "PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4" identifier + number_literal) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "backup_type xget_version(char *context,char *version)\n\n{\n  char *version_00;\n  backup_type bVar1;\n  \n  if ((version != (char *)0x0) && (*version != '\0')) {\n    bVar1 = get_version(context,version);\n    return bVar1;\n  }\n  version_00 = (char *)(*(code *)PTR_getenv_00044594)\n                                 (PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4);\n  bVar1 = get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,version_00);\n  return bVar1;\n}\n\n" (function_definition "backup_type xget_version(char *context,char *version)\n\n{\n  char *version_00;\n  backup_type bVar1;\n  \n  if ((version != (char *)0x0) && (*version != '\0')) {\n    bVar1 = get_version(context,version);\n    return bVar1;\n  }\n  version_00 = (char *)(*(code *)PTR_getenv_00044594)\n                                 (PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4);\n  bVar1 = get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,version_00);\n  return bVar1;\n}" type_identifier (function_declarator "xget_version(char *context,char *version)" identifier (parameter_list "(char *context,char *version)" ( (parameter_declaration "char *context" primitive_type (pointer_declarator "*context" * identifier)) , (parameter_declaration "char *version" primitive_type (pointer_declarator "*version" * identifier)) ))) (compound_statement "{\n  char *version_00;\n  backup_type bVar1;\n  \n  if ((version != (char *)0x0) && (*version != '\0')) {\n    bVar1 = get_version(context,version);\n    return bVar1;\n  }\n  version_00 = (char *)(*(code *)PTR_getenv_00044594)\n                                 (PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4);\n  bVar1 = get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,version_00);\n  return bVar1;\n}" { (declaration "char *version_00;" primitive_type (pointer_declarator "*version_00" * identifier) ;) (declaration "backup_type bVar1;" type_identifier identifier ;) (if_statement "if ((version != (char *)0x0) && (*version != '\0')) {\n    bVar1 = get_version(context,version);\n    return bVar1;\n  }" if (parenthesized_expression "((version != (char *)0x0) && (*version != '\0'))" ( (binary_expression "(version != (char *)0x0) && (*version != '\0')" (parenthesized_expression "(version != (char *)0x0)" ( (binary_expression "version != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*version != '\0')" ( (binary_expression "*version != '\0'" (pointer_expression "*version" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    bVar1 = get_version(context,version);\n    return bVar1;\n  }" { (expression_statement "bVar1 = get_version(context,version);" (assignment_expression "bVar1 = get_version(context,version)" identifier = (call_expression "get_version(context,version)" identifier (argument_list "(context,version)" ( identifier , identifier )))) ;) (return_statement "return bVar1;" return identifier ;) })) (expression_statement "version_00 = (char *)(*(code *)PTR_getenv_00044594)\n                                 (PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4);" (assignment_expression "version_00 = (char *)(*(code *)PTR_getenv_00044594)\n                                 (PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4)" identifier = (cast_expression "(char *)(*(code *)PTR_getenv_00044594)\n                                 (PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_getenv_00044594)\n                                 (PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4)" (parenthesized_expression "(*(code *)PTR_getenv_00044594)" ( (pointer_expression "*(code *)PTR_getenv_00044594" * (cast_expression "(code *)PTR_getenv_00044594" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4)" ( (binary_expression "PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,version_00);" (assignment_expression "bVar1 = get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,version_00)" identifier = (call_expression "get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,version_00)" identifier (argument_list "(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,version_00)" ( (binary_expression "PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4" identifier + number_literal) , identifier )))) ;) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "void xget_version(undefined4 param_1,char *param_2)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_2 != (char *)0x0) && (*param_2 != '\0')) {\n    get_version();\n    return;\n  }\n  uVar1 = (*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4);\n  get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1);\n  return;\n}\n\n" (function_definition "void xget_version(undefined4 param_1,char *param_2)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_2 != (char *)0x0) && (*param_2 != '\0')) {\n    get_version();\n    return;\n  }\n  uVar1 = (*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4);\n  get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1);\n  return;\n}" primitive_type (function_declarator "xget_version(undefined4 param_1,char *param_2)" identifier (parameter_list "(undefined4 param_1,char *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if ((param_2 != (char *)0x0) && (*param_2 != '\0')) {\n    get_version();\n    return;\n  }\n  uVar1 = (*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4);\n  get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if ((param_2 != (char *)0x0) && (*param_2 != '\0')) {\n    get_version();\n    return;\n  }" if (parenthesized_expression "((param_2 != (char *)0x0) && (*param_2 != '\0'))" ( (binary_expression "(param_2 != (char *)0x0) && (*param_2 != '\0')" (parenthesized_expression "(param_2 != (char *)0x0)" ( (binary_expression "param_2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*param_2 != '\0')" ( (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    get_version();\n    return;\n  }" { (expression_statement "get_version();" (call_expression "get_version()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar1 = (*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4);" (assignment_expression "uVar1 = (*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4)" identifier = (call_expression "(*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4)" (parenthesized_expression "(*(code *)PTR_getenv_00044594)" ( (pointer_expression "*(code *)PTR_getenv_00044594" * (cast_expression "(code *)PTR_getenv_00044594" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4)" ( (binary_expression "PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4" identifier + number_literal) )))) ;) (expression_statement "get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1);" (call_expression "get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1)" identifier (argument_list "(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1)" ( (binary_expression "PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4" identifier + number_literal) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void xget_version(undefined4 param_1,char *param_2)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_2 != (char *)0x0) && (*param_2 != '\0')) {\n    get_version();\n    return;\n  }\n  uVar1 = (*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4);\n  get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1);\n  return;\n}" (primitive_type "void") (function_declarator "xget_version(undefined4 param_1,char *param_2)" (identifier "xget_version") (parameter_list "(undefined4 param_1,char *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if ((param_2 != (char *)0x0) && (*param_2 != '\0')) {\n    get_version();\n    return;\n  }\n  uVar1 = (*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4);\n  get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if ((param_2 != (char *)0x0) && (*param_2 != '\0')) {\n    get_version();\n    return;\n  }" (if "if") (parenthesized_expression "((param_2 != (char *)0x0) && (*param_2 != '\0'))" (( "(") (binary_expression "(param_2 != (char *)0x0) && (*param_2 != '\0')" (parenthesized_expression "(param_2 != (char *)0x0)" (( "(") (binary_expression "param_2 != (char *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(*param_2 != '\0')" (( "(") (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    get_version();\n    return;\n  }" ({ "{") (expression_statement "get_version();" (call_expression "get_version()" (identifier "get_version") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar1 = (*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4);" (assignment_expression "uVar1 = (*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4)" (parenthesized_expression "(*(code *)PTR_getenv_00044594)" (( "(") (pointer_expression "*(code *)PTR_getenv_00044594" (* "*") (cast_expression "(code *)PTR_getenv_00044594" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_getenv_00044594"))) () ")")) (argument_list "(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4)" (( "(") (binary_expression "PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4" (identifier "PTR_s_option___H_follow_command_line_s_00044128") (+ "+") (number_literal "0x23e4")) () ")")))) (; ";")) (expression_statement "get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1);" (call_expression "get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1)" (identifier "get_version") (argument_list "(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1)" (( "(") (binary_expression "PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4" (identifier "PTR_s_option___H_follow_command_line_s_00044128") (+ "+") (number_literal "0x23f4")) (, ",") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

type_1 function_1(char *context,char *var_1)

{
  char *version_00;
  type_1 bVar1;
  
  if ((var_1 != (char *)0x0) && (*var_1 != '\0')) {
    bVar1 = var_2(context,var_1);
    return bVar1;
  }
  version_00 = (char *)(*(type_2 *)PTR_getenv_00044594)
                                 (var_3 + 0x23e4);
  bVar1 = var_2(var_3 + 0x23f4,version_00);
  return bVar1;
}


(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: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_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 (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (return_statement))))

void MASKED(undefined4 param_1,char *param_2)

{
  undefined4 uVar1;
  
  if ((param_2 != (char *)0x0) && (*param_2 != '\0')) {
    get_version();
    return;
  }
  uVar1 = (*(code *)PTR_getenv_00044594)(PTR_s_option___H_follow_command_line_s_00044128 + 0x23e4);
  get_version(PTR_s_option___H_follow_command_line_s_00044128 + 0x23f4,uVar1);
  return;
}

