
int wordsplit(char *command,wordsplit *ws,int flags)

{
  size_t length;
  int iVar1;
  int in_stack_00000010;
  
  if (command != (char *)0x0) {
    length = (*(code *)PTR_strlen_00045c60)();
    iVar1 = wordsplit_run(command,length,ws,flags,in_stack_00000010);
    return iVar1;
  }
  iVar1 = wordsplit_run((char *)0x0,0,ws,flags,in_stack_00000010);
  return iVar1;
}



void wordsplit(int param_1,undefined4 param_2,undefined4 param_3)

{
  undefined4 uVar1;
  
  if (param_1 != 0) {
    uVar1 = (*(code *)PTR_strlen_00045c60)();
    FUN_00025608(param_1,uVar1,param_2,param_3);
    return;
  }
  FUN_00025608(0,0,param_2,param_3);
  return;
}


lui gp,0x3
addiu gp,gp,-0x7f20
addu gp,gp,t9
addiu sp,sp,-0x28
sw gp,0x10(sp)
sw s2,0x20(sp)
or s2,a2,zero
sw s1,0x1c(sp)
or s1,a1,zero
sw s0,0x18(sp)
or s0,a0,zero
beq a0,zero,0x000257c4
_sw ra,0x24(sp)
lw t9,-0x7bd0(gp)
jalr t9
_nop
or a3,s2,zero
lw gp,0x10(sp)
or a2,s1,zero
lw ra,0x24(sp)
or a0,s0,zero
lw s2,0x20(sp)
or a1,v0,zero
lw s1,0x1c(sp)
lw t9,-0x7fc4(gp)
lw s0,0x18(sp)
addiu t9,t9,0x5608
b 0x00025608
_addiu sp,sp,0x28
lw t9,-0x7fc4(gp)
or a3,s2,zero
lw ra,0x24(sp)
or a2,s1,zero
lw s2,0x20(sp)
or a0,s0,zero
lw s1,0x1c(sp)
or a1,zero,zero
lw s0,0x18(sp)
addiu t9,t9,0x5608
b 0x00025608
_addiu sp,sp,0x28
(translation_unit "void wordsplit(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 != 0) {\n    uVar1 = (*(code *)PTR_strlen_00045c60)();\n    FUN_00025608(param_1,uVar1,param_2,param_3);\n    return;\n  }\n  FUN_00025608(0,0,param_2,param_3);\n  return;\n}\n\n" (function_definition "void wordsplit(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 != 0) {\n    uVar1 = (*(code *)PTR_strlen_00045c60)();\n    FUN_00025608(param_1,uVar1,param_2,param_3);\n    return;\n  }\n  FUN_00025608(0,0,param_2,param_3);\n  return;\n}" primitive_type (function_declarator "wordsplit(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 != 0) {\n    uVar1 = (*(code *)PTR_strlen_00045c60)();\n    FUN_00025608(param_1,uVar1,param_2,param_3);\n    return;\n  }\n  FUN_00025608(0,0,param_2,param_3);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 != 0) {\n    uVar1 = (*(code *)PTR_strlen_00045c60)();\n    FUN_00025608(param_1,uVar1,param_2,param_3);\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_strlen_00045c60)();\n    FUN_00025608(param_1,uVar1,param_2,param_3);\n    return;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_strlen_00045c60)();" (assignment_expression "uVar1 = (*(code *)PTR_strlen_00045c60)()" identifier = (call_expression "(*(code *)PTR_strlen_00045c60)()" (parenthesized_expression "(*(code *)PTR_strlen_00045c60)" ( (pointer_expression "*(code *)PTR_strlen_00045c60" * (cast_expression "(code *)PTR_strlen_00045c60" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "FUN_00025608(param_1,uVar1,param_2,param_3);" (call_expression "FUN_00025608(param_1,uVar1,param_2,param_3)" identifier (argument_list "(param_1,uVar1,param_2,param_3)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00025608(0,0,param_2,param_3);" (call_expression "FUN_00025608(0,0,param_2,param_3)" identifier (argument_list "(0,0,param_2,param_3)" ( number_literal , number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "int wordsplit(char *command,wordsplit *ws,int flags)\n\n{\n  size_t length;\n  int iVar1;\n  int in_stack_00000010;\n  \n  if (command != (char *)0x0) {\n    length = (*(code *)PTR_strlen_00045c60)();\n    iVar1 = wordsplit_run(command,length,ws,flags,in_stack_00000010);\n    return iVar1;\n  }\n  iVar1 = wordsplit_run((char *)0x0,0,ws,flags,in_stack_00000010);\n  return iVar1;\n}\n\n" (function_definition "int wordsplit(char *command,wordsplit *ws,int flags)\n\n{\n  size_t length;\n  int iVar1;\n  int in_stack_00000010;\n  \n  if (command != (char *)0x0) {\n    length = (*(code *)PTR_strlen_00045c60)();\n    iVar1 = wordsplit_run(command,length,ws,flags,in_stack_00000010);\n    return iVar1;\n  }\n  iVar1 = wordsplit_run((char *)0x0,0,ws,flags,in_stack_00000010);\n  return iVar1;\n}" primitive_type (function_declarator "wordsplit(char *command,wordsplit *ws,int flags)" identifier (parameter_list "(char *command,wordsplit *ws,int flags)" ( (parameter_declaration "char *command" primitive_type (pointer_declarator "*command" * identifier)) , (parameter_declaration "wordsplit *ws" type_identifier (pointer_declarator "*ws" * identifier)) , (parameter_declaration "int flags" primitive_type identifier) ))) (compound_statement "{\n  size_t length;\n  int iVar1;\n  int in_stack_00000010;\n  \n  if (command != (char *)0x0) {\n    length = (*(code *)PTR_strlen_00045c60)();\n    iVar1 = wordsplit_run(command,length,ws,flags,in_stack_00000010);\n    return iVar1;\n  }\n  iVar1 = wordsplit_run((char *)0x0,0,ws,flags,in_stack_00000010);\n  return iVar1;\n}" { (declaration "size_t length;" primitive_type identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int in_stack_00000010;" primitive_type identifier ;) (if_statement "if (command != (char *)0x0) {\n    length = (*(code *)PTR_strlen_00045c60)();\n    iVar1 = wordsplit_run(command,length,ws,flags,in_stack_00000010);\n    return iVar1;\n  }" if (parenthesized_expression "(command != (char *)0x0)" ( (binary_expression "command != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    length = (*(code *)PTR_strlen_00045c60)();\n    iVar1 = wordsplit_run(command,length,ws,flags,in_stack_00000010);\n    return iVar1;\n  }" { (expression_statement "length = (*(code *)PTR_strlen_00045c60)();" (assignment_expression "length = (*(code *)PTR_strlen_00045c60)()" identifier = (call_expression "(*(code *)PTR_strlen_00045c60)()" (parenthesized_expression "(*(code *)PTR_strlen_00045c60)" ( (pointer_expression "*(code *)PTR_strlen_00045c60" * (cast_expression "(code *)PTR_strlen_00045c60" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar1 = wordsplit_run(command,length,ws,flags,in_stack_00000010);" (assignment_expression "iVar1 = wordsplit_run(command,length,ws,flags,in_stack_00000010)" identifier = (call_expression "wordsplit_run(command,length,ws,flags,in_stack_00000010)" identifier (argument_list "(command,length,ws,flags,in_stack_00000010)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = wordsplit_run((char *)0x0,0,ws,flags,in_stack_00000010);" (assignment_expression "iVar1 = wordsplit_run((char *)0x0,0,ws,flags,in_stack_00000010)" identifier = (call_expression "wordsplit_run((char *)0x0,0,ws,flags,in_stack_00000010)" identifier (argument_list "((char *)0x0,0,ws,flags,in_stack_00000010)" ( (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal , identifier , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void wordsplit(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 != 0) {\n    uVar1 = (*(code *)PTR_strlen_00045c60)();\n    FUN_00025608(param_1,uVar1,param_2,param_3);\n    return;\n  }\n  FUN_00025608(0,0,param_2,param_3);\n  return;\n}\n\n" (function_definition "void wordsplit(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 != 0) {\n    uVar1 = (*(code *)PTR_strlen_00045c60)();\n    FUN_00025608(param_1,uVar1,param_2,param_3);\n    return;\n  }\n  FUN_00025608(0,0,param_2,param_3);\n  return;\n}" primitive_type (function_declarator "wordsplit(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 != 0) {\n    uVar1 = (*(code *)PTR_strlen_00045c60)();\n    FUN_00025608(param_1,uVar1,param_2,param_3);\n    return;\n  }\n  FUN_00025608(0,0,param_2,param_3);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 != 0) {\n    uVar1 = (*(code *)PTR_strlen_00045c60)();\n    FUN_00025608(param_1,uVar1,param_2,param_3);\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_strlen_00045c60)();\n    FUN_00025608(param_1,uVar1,param_2,param_3);\n    return;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_strlen_00045c60)();" (assignment_expression "uVar1 = (*(code *)PTR_strlen_00045c60)()" identifier = (call_expression "(*(code *)PTR_strlen_00045c60)()" (parenthesized_expression "(*(code *)PTR_strlen_00045c60)" ( (pointer_expression "*(code *)PTR_strlen_00045c60" * (cast_expression "(code *)PTR_strlen_00045c60" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "FUN_00025608(param_1,uVar1,param_2,param_3);" (call_expression "FUN_00025608(param_1,uVar1,param_2,param_3)" identifier (argument_list "(param_1,uVar1,param_2,param_3)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00025608(0,0,param_2,param_3);" (call_expression "FUN_00025608(0,0,param_2,param_3)" identifier (argument_list "(0,0,param_2,param_3)" ( number_literal , number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (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 ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( LIT , LIT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void wordsplit(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 != 0) {\n    uVar1 = (*(code *)PTR_strlen_00045c60)();\n    FUN_00025608(param_1,uVar1,param_2,param_3);\n    return;\n  }\n  FUN_00025608(0,0,param_2,param_3);\n  return;\n}" (primitive_type "void") (function_declarator "wordsplit(int param_1,undefined4 param_2,undefined4 param_3)" (identifier "wordsplit") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 != 0) {\n    uVar1 = (*(code *)PTR_strlen_00045c60)();\n    FUN_00025608(param_1,uVar1,param_2,param_3);\n    return;\n  }\n  FUN_00025608(0,0,param_2,param_3);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_1 != 0) {\n    uVar1 = (*(code *)PTR_strlen_00045c60)();\n    FUN_00025608(param_1,uVar1,param_2,param_3);\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = (*(code *)PTR_strlen_00045c60)();\n    FUN_00025608(param_1,uVar1,param_2,param_3);\n    return;\n  }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR_strlen_00045c60)();" (assignment_expression "uVar1 = (*(code *)PTR_strlen_00045c60)()" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_strlen_00045c60)()" (parenthesized_expression "(*(code *)PTR_strlen_00045c60)" (( "(") (pointer_expression "*(code *)PTR_strlen_00045c60" (* "*") (cast_expression "(code *)PTR_strlen_00045c60" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00045c60"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_00025608(param_1,uVar1,param_2,param_3);" (call_expression "FUN_00025608(param_1,uVar1,param_2,param_3)" (identifier "FUN_00025608") (argument_list "(param_1,uVar1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "uVar1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00025608(0,0,param_2,param_3);" (call_expression "FUN_00025608(0,0,param_2,param_3)" (identifier "FUN_00025608") (argument_list "(0,0,param_2,param_3)" (( "(") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (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) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (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)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (identifier) (identifier)))) (return_statement))))

void MASKED(int param_1,undefined4 param_2,undefined4 param_3)

{
  undefined4 uVar1;
  
  if (param_1 != 0) {
    uVar1 = (*(code *)PTR_strlen_00045c60)();
    FUN_00025608(param_1,uVar1,param_2,param_3);
    return;
  }
  FUN_00025608(0,0,param_2,param_3);
  return;
}

