
size_t base_len(char *name)

{
  char cVar1;
  uint uVar2;
  uint uVar3;
  
  uVar3 = (*(code *)PTR_strlen_000485b8)();
  if (1 < uVar3) {
    cVar1 = name[uVar3 - 1];
    uVar2 = uVar3 - 1;
    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {
      cVar1 = name[uVar2 - 1];
      uVar2 = uVar2 - 1;
    }
  }
  return uVar3;
}



uint base_len(int param_1)

{
  char cVar1;
  uint uVar2;
  uint uVar3;
  
  uVar3 = (*(code *)PTR_strlen_000485b8)();
  if (1 < uVar3) {
    cVar1 = *(char *)(param_1 + (uVar3 - 1));
    uVar2 = uVar3 - 1;
    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {
      cVar1 = *(char *)(param_1 + (uVar2 - 1));
      uVar2 = uVar2 - 1;
    }
  }
  return uVar3;
}


lui gp,0x3
addiu gp,gp,-0xf8c
addu gp,gp,t9
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
or s0,a0,zero
lw t9,-0x7b58(gp)
jalr t9
_nop
lw gp,0x10(sp)
sltiu v1,v0,0x2
bne v1,zero,0x000210f4
_lw ra,0x1c(sp)
addiu v1,v0,-0x1
addu a0,s0,v1
lb a1,0x0(a0)
li a0,0x2f
beq a1,a0,0x00021100
_li a1,0x1
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
li a2,0x2f
beq v1,a1,0x000210f0
_or v0,v1,zero
addiu v0,v1,-0x1
addu a0,s0,v0
lb a0,0x0(a0)
beq a0,a2,0x00021128
_nop
b 0x000210f0
_or v0,v1,zero
b 0x00021104
_or v1,v0,zero
(translation_unit "uint base_len(int param_1)\n\n{\n  char cVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar3 = (*(code *)PTR_strlen_000485b8)();\n  if (1 < uVar3) {\n    cVar1 = *(char *)(param_1 + (uVar3 - 1));\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }\n  }\n  return uVar3;\n}\n\n" (function_definition "uint base_len(int param_1)\n\n{\n  char cVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar3 = (*(code *)PTR_strlen_000485b8)();\n  if (1 < uVar3) {\n    cVar1 = *(char *)(param_1 + (uVar3 - 1));\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }\n  }\n  return uVar3;\n}" type_identifier (function_declarator "base_len(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar3 = (*(code *)PTR_strlen_000485b8)();\n  if (1 < uVar3) {\n    cVar1 = *(char *)(param_1 + (uVar3 - 1));\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }\n  }\n  return uVar3;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = (*(code *)PTR_strlen_000485b8)();" (assignment_expression "uVar3 = (*(code *)PTR_strlen_000485b8)()" identifier = (call_expression "(*(code *)PTR_strlen_000485b8)()" (parenthesized_expression "(*(code *)PTR_strlen_000485b8)" ( (pointer_expression "*(code *)PTR_strlen_000485b8" * (cast_expression "(code *)PTR_strlen_000485b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (1 < uVar3) {\n    cVar1 = *(char *)(param_1 + (uVar3 - 1));\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }\n  }" if (parenthesized_expression "(1 < uVar3)" ( (binary_expression "1 < uVar3" number_literal < identifier) )) (compound_statement "{\n    cVar1 = *(char *)(param_1 + (uVar3 - 1));\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }\n  }" { (expression_statement "cVar1 = *(char *)(param_1 + (uVar3 - 1));" (assignment_expression "cVar1 = *(char *)(param_1 + (uVar3 - 1))" identifier = (pointer_expression "*(char *)(param_1 + (uVar3 - 1))" * (cast_expression "(char *)(param_1 + (uVar3 - 1))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (uVar3 - 1))" ( (binary_expression "param_1 + (uVar3 - 1)" identifier + (parenthesized_expression "(uVar3 - 1)" ( (binary_expression "uVar3 - 1" identifier - number_literal) ))) ))))) ;) (expression_statement "uVar2 = uVar3 - 1;" (assignment_expression "uVar2 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ;) (while_statement "while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }" while (parenthesized_expression "((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1)))" ( (parenthesized_expression "(cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))" ( (binary_expression "cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1)" (binary_expression "cVar1 == '/'" identifier == (char_literal "'/'" ' character ')) && (parenthesized_expression "(uVar3 = uVar2, uVar2 != 1)" ( (comma_expression "uVar3 = uVar2, uVar2 != 1" (assignment_expression "uVar3 = uVar2" identifier = identifier) , (binary_expression "uVar2 != 1" identifier != number_literal)) ))) )) )) (compound_statement "{\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }" { (expression_statement "cVar1 = *(char *)(param_1 + (uVar2 - 1));" (assignment_expression "cVar1 = *(char *)(param_1 + (uVar2 - 1))" identifier = (pointer_expression "*(char *)(param_1 + (uVar2 - 1))" * (cast_expression "(char *)(param_1 + (uVar2 - 1))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (uVar2 - 1))" ( (binary_expression "param_1 + (uVar2 - 1)" identifier + (parenthesized_expression "(uVar2 - 1)" ( (binary_expression "uVar2 - 1" identifier - number_literal) ))) ))))) ;) (expression_statement "uVar2 = uVar2 - 1;" (assignment_expression "uVar2 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ;) })) })) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "size_t base_len(char *name)\n\n{\n  char cVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar3 = (*(code *)PTR_strlen_000485b8)();\n  if (1 < uVar3) {\n    cVar1 = name[uVar3 - 1];\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = name[uVar2 - 1];\n      uVar2 = uVar2 - 1;\n    }\n  }\n  return uVar3;\n}\n\n" (function_definition "size_t base_len(char *name)\n\n{\n  char cVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar3 = (*(code *)PTR_strlen_000485b8)();\n  if (1 < uVar3) {\n    cVar1 = name[uVar3 - 1];\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = name[uVar2 - 1];\n      uVar2 = uVar2 - 1;\n    }\n  }\n  return uVar3;\n}" primitive_type (function_declarator "base_len(char *name)" identifier (parameter_list "(char *name)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar3 = (*(code *)PTR_strlen_000485b8)();\n  if (1 < uVar3) {\n    cVar1 = name[uVar3 - 1];\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = name[uVar2 - 1];\n      uVar2 = uVar2 - 1;\n    }\n  }\n  return uVar3;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = (*(code *)PTR_strlen_000485b8)();" (assignment_expression "uVar3 = (*(code *)PTR_strlen_000485b8)()" identifier = (call_expression "(*(code *)PTR_strlen_000485b8)()" (parenthesized_expression "(*(code *)PTR_strlen_000485b8)" ( (pointer_expression "*(code *)PTR_strlen_000485b8" * (cast_expression "(code *)PTR_strlen_000485b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (1 < uVar3) {\n    cVar1 = name[uVar3 - 1];\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = name[uVar2 - 1];\n      uVar2 = uVar2 - 1;\n    }\n  }" if (parenthesized_expression "(1 < uVar3)" ( (binary_expression "1 < uVar3" number_literal < identifier) )) (compound_statement "{\n    cVar1 = name[uVar3 - 1];\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = name[uVar2 - 1];\n      uVar2 = uVar2 - 1;\n    }\n  }" { (expression_statement "cVar1 = name[uVar3 - 1];" (assignment_expression "cVar1 = name[uVar3 - 1]" identifier = (subscript_expression "name[uVar3 - 1]" identifier [ (binary_expression "uVar3 - 1" identifier - number_literal) ])) ;) (expression_statement "uVar2 = uVar3 - 1;" (assignment_expression "uVar2 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ;) (while_statement "while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = name[uVar2 - 1];\n      uVar2 = uVar2 - 1;\n    }" while (parenthesized_expression "((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1)))" ( (parenthesized_expression "(cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))" ( (binary_expression "cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1)" (binary_expression "cVar1 == '/'" identifier == (char_literal "'/'" ' character ')) && (parenthesized_expression "(uVar3 = uVar2, uVar2 != 1)" ( (comma_expression "uVar3 = uVar2, uVar2 != 1" (assignment_expression "uVar3 = uVar2" identifier = identifier) , (binary_expression "uVar2 != 1" identifier != number_literal)) ))) )) )) (compound_statement "{\n      cVar1 = name[uVar2 - 1];\n      uVar2 = uVar2 - 1;\n    }" { (expression_statement "cVar1 = name[uVar2 - 1];" (assignment_expression "cVar1 = name[uVar2 - 1]" identifier = (subscript_expression "name[uVar2 - 1]" identifier [ (binary_expression "uVar2 - 1" identifier - number_literal) ])) ;) (expression_statement "uVar2 = uVar2 - 1;" (assignment_expression "uVar2 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ;) })) })) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "uint base_len(int param_1)\n\n{\n  char cVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar3 = (*(code *)PTR_strlen_000485b8)();\n  if (1 < uVar3) {\n    cVar1 = *(char *)(param_1 + (uVar3 - 1));\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }\n  }\n  return uVar3;\n}\n\n" (function_definition "uint base_len(int param_1)\n\n{\n  char cVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar3 = (*(code *)PTR_strlen_000485b8)();\n  if (1 < uVar3) {\n    cVar1 = *(char *)(param_1 + (uVar3 - 1));\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }\n  }\n  return uVar3;\n}" type_identifier (function_declarator "base_len(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar3 = (*(code *)PTR_strlen_000485b8)();\n  if (1 < uVar3) {\n    cVar1 = *(char *)(param_1 + (uVar3 - 1));\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }\n  }\n  return uVar3;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = (*(code *)PTR_strlen_000485b8)();" (assignment_expression "uVar3 = (*(code *)PTR_strlen_000485b8)()" identifier = (call_expression "(*(code *)PTR_strlen_000485b8)()" (parenthesized_expression "(*(code *)PTR_strlen_000485b8)" ( (pointer_expression "*(code *)PTR_strlen_000485b8" * (cast_expression "(code *)PTR_strlen_000485b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (1 < uVar3) {\n    cVar1 = *(char *)(param_1 + (uVar3 - 1));\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }\n  }" if (parenthesized_expression "(1 < uVar3)" ( (binary_expression "1 < uVar3" number_literal < identifier) )) (compound_statement "{\n    cVar1 = *(char *)(param_1 + (uVar3 - 1));\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }\n  }" { (expression_statement "cVar1 = *(char *)(param_1 + (uVar3 - 1));" (assignment_expression "cVar1 = *(char *)(param_1 + (uVar3 - 1))" identifier = (pointer_expression "*(char *)(param_1 + (uVar3 - 1))" * (cast_expression "(char *)(param_1 + (uVar3 - 1))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (uVar3 - 1))" ( (binary_expression "param_1 + (uVar3 - 1)" identifier + (parenthesized_expression "(uVar3 - 1)" ( (binary_expression "uVar3 - 1" identifier - number_literal) ))) ))))) ;) (expression_statement "uVar2 = uVar3 - 1;" (assignment_expression "uVar2 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ;) (while_statement "while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }" while (parenthesized_expression "((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1)))" ( (parenthesized_expression "(cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))" ( (binary_expression "cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1)" (binary_expression "cVar1 == '/'" identifier == (char_literal "'/'" ' character ')) && (parenthesized_expression "(uVar3 = uVar2, uVar2 != 1)" ( (comma_expression "uVar3 = uVar2, uVar2 != 1" (assignment_expression "uVar3 = uVar2" identifier = identifier) , (binary_expression "uVar2 != 1" identifier != number_literal)) ))) )) )) (compound_statement "{\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }" { (expression_statement "cVar1 = *(char *)(param_1 + (uVar2 - 1));" (assignment_expression "cVar1 = *(char *)(param_1 + (uVar2 - 1))" identifier = (pointer_expression "*(char *)(param_1 + (uVar2 - 1))" * (cast_expression "(char *)(param_1 + (uVar2 - 1))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (uVar2 - 1))" ( (binary_expression "param_1 + (uVar2 - 1)" identifier + (parenthesized_expression "(uVar2 - 1)" ( (binary_expression "uVar2 - 1" identifier - number_literal) ))) ))))) ;) (expression_statement "uVar2 = uVar2 - 1;" (assignment_expression "uVar2 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ;) })) })) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - LIT) ))) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == (char_literal ' character ')) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT)) ))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - LIT) ))) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "uint base_len(int param_1)\n\n{\n  char cVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar3 = (*(code *)PTR_strlen_000485b8)();\n  if (1 < uVar3) {\n    cVar1 = *(char *)(param_1 + (uVar3 - 1));\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }\n  }\n  return uVar3;\n}" (type_identifier "uint") (function_declarator "base_len(int param_1)" (identifier "base_len") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  uint uVar3;\n  \n  uVar3 = (*(code *)PTR_strlen_000485b8)();\n  if (1 < uVar3) {\n    cVar1 = *(char *)(param_1 + (uVar3 - 1));\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }\n  }\n  return uVar3;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (expression_statement "uVar3 = (*(code *)PTR_strlen_000485b8)();" (assignment_expression "uVar3 = (*(code *)PTR_strlen_000485b8)()" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_strlen_000485b8)()" (parenthesized_expression "(*(code *)PTR_strlen_000485b8)" (( "(") (pointer_expression "*(code *)PTR_strlen_000485b8" (* "*") (cast_expression "(code *)PTR_strlen_000485b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_000485b8"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (1 < uVar3) {\n    cVar1 = *(char *)(param_1 + (uVar3 - 1));\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }\n  }" (if "if") (parenthesized_expression "(1 < uVar3)" (( "(") (binary_expression "1 < uVar3" (number_literal "1") (< "<") (identifier "uVar3")) () ")")) (compound_statement "{\n    cVar1 = *(char *)(param_1 + (uVar3 - 1));\n    uVar2 = uVar3 - 1;\n    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }\n  }" ({ "{") (expression_statement "cVar1 = *(char *)(param_1 + (uVar3 - 1));" (assignment_expression "cVar1 = *(char *)(param_1 + (uVar3 - 1))" (identifier "cVar1") (= "=") (pointer_expression "*(char *)(param_1 + (uVar3 - 1))" (* "*") (cast_expression "(char *)(param_1 + (uVar3 - 1))" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + (uVar3 - 1))" (( "(") (binary_expression "param_1 + (uVar3 - 1)" (identifier "param_1") (+ "+") (parenthesized_expression "(uVar3 - 1)" (( "(") (binary_expression "uVar3 - 1" (identifier "uVar3") (- "-") (number_literal "1")) () ")"))) () ")"))))) (; ";")) (expression_statement "uVar2 = uVar3 - 1;" (assignment_expression "uVar2 = uVar3 - 1" (identifier "uVar2") (= "=") (binary_expression "uVar3 - 1" (identifier "uVar3") (- "-") (number_literal "1"))) (; ";")) (while_statement "while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }" (while "while") (parenthesized_expression "((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1)))" (( "(") (parenthesized_expression "(cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))" (( "(") (binary_expression "cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1)" (binary_expression "cVar1 == '/'" (identifier "cVar1") (== "==") (char_literal "'/'" (' "'") (character "/") (' "'"))) (&& "&&") (parenthesized_expression "(uVar3 = uVar2, uVar2 != 1)" (( "(") (comma_expression "uVar3 = uVar2, uVar2 != 1" (assignment_expression "uVar3 = uVar2" (identifier "uVar3") (= "=") (identifier "uVar2")) (, ",") (binary_expression "uVar2 != 1" (identifier "uVar2") (!= "!=") (number_literal "1"))) () ")"))) () ")")) () ")")) (compound_statement "{\n      cVar1 = *(char *)(param_1 + (uVar2 - 1));\n      uVar2 = uVar2 - 1;\n    }" ({ "{") (expression_statement "cVar1 = *(char *)(param_1 + (uVar2 - 1));" (assignment_expression "cVar1 = *(char *)(param_1 + (uVar2 - 1))" (identifier "cVar1") (= "=") (pointer_expression "*(char *)(param_1 + (uVar2 - 1))" (* "*") (cast_expression "(char *)(param_1 + (uVar2 - 1))" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + (uVar2 - 1))" (( "(") (binary_expression "param_1 + (uVar2 - 1)" (identifier "param_1") (+ "+") (parenthesized_expression "(uVar2 - 1)" (( "(") (binary_expression "uVar2 - 1" (identifier "uVar2") (- "-") (number_literal "1")) () ")"))) () ")"))))) (; ";")) (expression_statement "uVar2 = uVar2 - 1;" (assignment_expression "uVar2 = uVar2 - 1" (identifier "uVar2") (= "=") (binary_expression "uVar2 - 1" (identifier "uVar2") (- "-") (number_literal "1"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (while_statement condition: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (char_literal (character))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) (return_statement (identifier)))))

uint MASKED(int param_1)

{
  char cVar1;
  uint uVar2;
  uint uVar3;
  
  uVar3 = (*(code *)PTR_strlen_000485b8)();
  if (1 < uVar3) {
    cVar1 = *(char *)(param_1 + (uVar3 - 1));
    uVar2 = uVar3 - 1;
    while ((cVar1 == '/' && (uVar3 = uVar2, uVar2 != 1))) {
      cVar1 = *(char *)(param_1 + (uVar2 - 1));
      uVar2 = uVar2 - 1;
    }
  }
  return uVar3;
}

