
size_t sb_skip_white(size_t idx,sb *ptr)

{
  uint uVar1;
  size_t sVar2;
  
  uVar1 = ptr->len;
  if (idx < uVar1) {
    sVar2 = idx;
    do {
      if ((ptr->ptr[sVar2] != ' ') && (ptr->ptr[sVar2] != '\t')) {
        return sVar2;
      }
      sVar2 = sVar2 + 1;
      idx = uVar1;
    } while (sVar2 != uVar1);
  }
  return idx;
}



uint FUN_00035980(uint param_1,int *param_2)

{
  uint uVar1;
  uint uVar2;
  
  uVar1 = param_2[1];
  if (param_1 < uVar1) {
    uVar2 = param_1;
    do {
      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {
        return uVar2;
      }
      uVar2 = uVar2 + 1;
      param_1 = uVar1;
    } while (uVar2 != uVar1);
  }
  return param_1;
}


PUSH EBX
MOV ECX,dword ptr [ESP + 0xc]
MOV EDX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [ECX + 0x4]
CMP EDX,EAX
JNC 0x000359ad
MOV EBX,dword ptr [ECX]
JMP 0x0003599f
ADD EDX,0x1
CMP EDX,EAX
JZ 0x000359af
MOVZX ECX,byte ptr [EBX + EDX*0x1]
CMP CL,0x20
JZ 0x00035998
CMP CL,0x9
JZ 0x00035998
MOV EAX,EDX
POP EBX
RET
(translation_unit "uint FUN_00035980(uint param_1,int *param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  \n  uVar1 = param_2[1];\n  if (param_1 < uVar1) {\n    uVar2 = param_1;\n    do {\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    } while (uVar2 != uVar1);\n  }\n  return param_1;\n}\n\n" (function_definition "uint FUN_00035980(uint param_1,int *param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  \n  uVar1 = param_2[1];\n  if (param_1 < uVar1) {\n    uVar2 = param_1;\n    do {\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    } while (uVar2 != uVar1);\n  }\n  return param_1;\n}" type_identifier (function_declarator "FUN_00035980(uint param_1,int *param_2)" identifier (parameter_list "(uint param_1,int *param_2)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  \n  uVar1 = param_2[1];\n  if (param_1 < uVar1) {\n    uVar2 = param_1;\n    do {\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    } while (uVar2 != uVar1);\n  }\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "uVar1 = param_2[1];" (assignment_expression "uVar1 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (if_statement "if (param_1 < uVar1) {\n    uVar2 = param_1;\n    do {\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    } while (uVar2 != uVar1);\n  }" if (parenthesized_expression "(param_1 < uVar1)" ( (binary_expression "param_1 < uVar1" identifier < identifier) )) (compound_statement "{\n    uVar2 = param_1;\n    do {\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    } while (uVar2 != uVar1);\n  }" { (expression_statement "uVar2 = param_1;" (assignment_expression "uVar2 = param_1" identifier = identifier) ;) (do_statement "do {\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    } while (uVar2 != uVar1);" do (compound_statement "{\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    }" { (if_statement "if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }" if (parenthesized_expression "((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t'))" ( (binary_expression "(*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')" (parenthesized_expression "(*(char *)(*param_2 + uVar2) != ' ')" ( (binary_expression "*(char *)(*param_2 + uVar2) != ' '" (pointer_expression "*(char *)(*param_2 + uVar2)" * (cast_expression "(char *)(*param_2 + uVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + uVar2)" ( (binary_expression "*param_2 + uVar2" (pointer_expression "*param_2" * identifier) + identifier) )))) != (char_literal "' '" ' character ')) )) && (parenthesized_expression "(*(char *)(*param_2 + uVar2) != '\t')" ( (binary_expression "*(char *)(*param_2 + uVar2) != '\t'" (pointer_expression "*(char *)(*param_2 + uVar2)" * (cast_expression "(char *)(*param_2 + uVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + uVar2)" ( (binary_expression "*param_2 + uVar2" (pointer_expression "*param_2" * identifier) + identifier) )))) != (char_literal "'\t'" ' escape_sequence ')) ))) )) (compound_statement "{\n        return uVar2;\n      }" { (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (expression_statement "param_1 = uVar1;" (assignment_expression "param_1 = uVar1" identifier = identifier) ;) }) while (parenthesized_expression "(uVar2 != uVar1)" ( (binary_expression "uVar2 != uVar1" identifier != identifier) )) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "size_t sb_skip_white(size_t idx,sb *ptr)\n\n{\n  uint uVar1;\n  size_t sVar2;\n  \n  uVar1 = ptr->len;\n  if (idx < uVar1) {\n    sVar2 = idx;\n    do {\n      if ((ptr->ptr[sVar2] != ' ') && (ptr->ptr[sVar2] != '\t')) {\n        return sVar2;\n      }\n      sVar2 = sVar2 + 1;\n      idx = uVar1;\n    } while (sVar2 != uVar1);\n  }\n  return idx;\n}\n\n" (function_definition "size_t sb_skip_white(size_t idx,sb *ptr)\n\n{\n  uint uVar1;\n  size_t sVar2;\n  \n  uVar1 = ptr->len;\n  if (idx < uVar1) {\n    sVar2 = idx;\n    do {\n      if ((ptr->ptr[sVar2] != ' ') && (ptr->ptr[sVar2] != '\t')) {\n        return sVar2;\n      }\n      sVar2 = sVar2 + 1;\n      idx = uVar1;\n    } while (sVar2 != uVar1);\n  }\n  return idx;\n}" primitive_type (function_declarator "sb_skip_white(size_t idx,sb *ptr)" identifier (parameter_list "(size_t idx,sb *ptr)" ( (parameter_declaration "size_t idx" primitive_type identifier) , (parameter_declaration "sb *ptr" type_identifier (pointer_declarator "*ptr" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  size_t sVar2;\n  \n  uVar1 = ptr->len;\n  if (idx < uVar1) {\n    sVar2 = idx;\n    do {\n      if ((ptr->ptr[sVar2] != ' ') && (ptr->ptr[sVar2] != '\t')) {\n        return sVar2;\n      }\n      sVar2 = sVar2 + 1;\n      idx = uVar1;\n    } while (sVar2 != uVar1);\n  }\n  return idx;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (expression_statement "uVar1 = ptr->len;" (assignment_expression "uVar1 = ptr->len" identifier = (field_expression "ptr->len" identifier -> field_identifier)) ;) (if_statement "if (idx < uVar1) {\n    sVar2 = idx;\n    do {\n      if ((ptr->ptr[sVar2] != ' ') && (ptr->ptr[sVar2] != '\t')) {\n        return sVar2;\n      }\n      sVar2 = sVar2 + 1;\n      idx = uVar1;\n    } while (sVar2 != uVar1);\n  }" if (parenthesized_expression "(idx < uVar1)" ( (binary_expression "idx < uVar1" identifier < identifier) )) (compound_statement "{\n    sVar2 = idx;\n    do {\n      if ((ptr->ptr[sVar2] != ' ') && (ptr->ptr[sVar2] != '\t')) {\n        return sVar2;\n      }\n      sVar2 = sVar2 + 1;\n      idx = uVar1;\n    } while (sVar2 != uVar1);\n  }" { (expression_statement "sVar2 = idx;" (assignment_expression "sVar2 = idx" identifier = identifier) ;) (do_statement "do {\n      if ((ptr->ptr[sVar2] != ' ') && (ptr->ptr[sVar2] != '\t')) {\n        return sVar2;\n      }\n      sVar2 = sVar2 + 1;\n      idx = uVar1;\n    } while (sVar2 != uVar1);" do (compound_statement "{\n      if ((ptr->ptr[sVar2] != ' ') && (ptr->ptr[sVar2] != '\t')) {\n        return sVar2;\n      }\n      sVar2 = sVar2 + 1;\n      idx = uVar1;\n    }" { (if_statement "if ((ptr->ptr[sVar2] != ' ') && (ptr->ptr[sVar2] != '\t')) {\n        return sVar2;\n      }" if (parenthesized_expression "((ptr->ptr[sVar2] != ' ') && (ptr->ptr[sVar2] != '\t'))" ( (binary_expression "(ptr->ptr[sVar2] != ' ') && (ptr->ptr[sVar2] != '\t')" (parenthesized_expression "(ptr->ptr[sVar2] != ' ')" ( (binary_expression "ptr->ptr[sVar2] != ' '" (subscript_expression "ptr->ptr[sVar2]" (field_expression "ptr->ptr" identifier -> field_identifier) [ identifier ]) != (char_literal "' '" ' character ')) )) && (parenthesized_expression "(ptr->ptr[sVar2] != '\t')" ( (binary_expression "ptr->ptr[sVar2] != '\t'" (subscript_expression "ptr->ptr[sVar2]" (field_expression "ptr->ptr" identifier -> field_identifier) [ identifier ]) != (char_literal "'\t'" ' escape_sequence ')) ))) )) (compound_statement "{\n        return sVar2;\n      }" { (return_statement "return sVar2;" return identifier ;) })) (expression_statement "sVar2 = sVar2 + 1;" (assignment_expression "sVar2 = sVar2 + 1" identifier = (binary_expression "sVar2 + 1" identifier + number_literal)) ;) (expression_statement "idx = uVar1;" (assignment_expression "idx = uVar1" identifier = identifier) ;) }) while (parenthesized_expression "(sVar2 != uVar1)" ( (binary_expression "sVar2 != uVar1" identifier != identifier) )) ;) })) (return_statement "return idx;" return identifier ;) })))
(translation_unit "uint FUN_00035980(uint param_1,int *param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  \n  uVar1 = param_2[1];\n  if (param_1 < uVar1) {\n    uVar2 = param_1;\n    do {\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    } while (uVar2 != uVar1);\n  }\n  return param_1;\n}\n\n" (function_definition "uint FUN_00035980(uint param_1,int *param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  \n  uVar1 = param_2[1];\n  if (param_1 < uVar1) {\n    uVar2 = param_1;\n    do {\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    } while (uVar2 != uVar1);\n  }\n  return param_1;\n}" type_identifier (function_declarator "FUN_00035980(uint param_1,int *param_2)" identifier (parameter_list "(uint param_1,int *param_2)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  \n  uVar1 = param_2[1];\n  if (param_1 < uVar1) {\n    uVar2 = param_1;\n    do {\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    } while (uVar2 != uVar1);\n  }\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "uVar1 = param_2[1];" (assignment_expression "uVar1 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (if_statement "if (param_1 < uVar1) {\n    uVar2 = param_1;\n    do {\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    } while (uVar2 != uVar1);\n  }" if (parenthesized_expression "(param_1 < uVar1)" ( (binary_expression "param_1 < uVar1" identifier < identifier) )) (compound_statement "{\n    uVar2 = param_1;\n    do {\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    } while (uVar2 != uVar1);\n  }" { (expression_statement "uVar2 = param_1;" (assignment_expression "uVar2 = param_1" identifier = identifier) ;) (do_statement "do {\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    } while (uVar2 != uVar1);" do (compound_statement "{\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    }" { (if_statement "if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }" if (parenthesized_expression "((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t'))" ( (binary_expression "(*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')" (parenthesized_expression "(*(char *)(*param_2 + uVar2) != ' ')" ( (binary_expression "*(char *)(*param_2 + uVar2) != ' '" (pointer_expression "*(char *)(*param_2 + uVar2)" * (cast_expression "(char *)(*param_2 + uVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + uVar2)" ( (binary_expression "*param_2 + uVar2" (pointer_expression "*param_2" * identifier) + identifier) )))) != (char_literal "' '" ' character ')) )) && (parenthesized_expression "(*(char *)(*param_2 + uVar2) != '\t')" ( (binary_expression "*(char *)(*param_2 + uVar2) != '\t'" (pointer_expression "*(char *)(*param_2 + uVar2)" * (cast_expression "(char *)(*param_2 + uVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + uVar2)" ( (binary_expression "*param_2 + uVar2" (pointer_expression "*param_2" * identifier) + identifier) )))) != (char_literal "'\t'" ' escape_sequence ')) ))) )) (compound_statement "{\n        return uVar2;\n      }" { (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (expression_statement "param_1 = uVar1;" (assignment_expression "param_1 = uVar1" identifier = identifier) ;) }) while (parenthesized_expression "(uVar2 != uVar1)" ( (binary_expression "uVar2 != uVar1" identifier != identifier) )) ;) })) (return_statement "return param_1;" return identifier ;) })))
(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 ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) )))) != (char_literal ' character ')) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) )))) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_00035980(uint param_1,int *param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  \n  uVar1 = param_2[1];\n  if (param_1 < uVar1) {\n    uVar2 = param_1;\n    do {\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    } while (uVar2 != uVar1);\n  }\n  return param_1;\n}" (type_identifier "uint") (function_declarator "FUN_00035980(uint param_1,int *param_2)" (identifier "FUN_00035980") (parameter_list "(uint param_1,int *param_2)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  \n  uVar1 = param_2[1];\n  if (param_1 < uVar1) {\n    uVar2 = param_1;\n    do {\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    } while (uVar2 != uVar1);\n  }\n  return param_1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (expression_statement "uVar1 = param_2[1];" (assignment_expression "uVar1 = param_2[1]" (identifier "uVar1") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (param_1 < uVar1) {\n    uVar2 = param_1;\n    do {\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    } while (uVar2 != uVar1);\n  }" (if "if") (parenthesized_expression "(param_1 < uVar1)" (( "(") (binary_expression "param_1 < uVar1" (identifier "param_1") (< "<") (identifier "uVar1")) () ")")) (compound_statement "{\n    uVar2 = param_1;\n    do {\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    } while (uVar2 != uVar1);\n  }" ({ "{") (expression_statement "uVar2 = param_1;" (assignment_expression "uVar2 = param_1" (identifier "uVar2") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    } while (uVar2 != uVar1);" (do "do") (compound_statement "{\n      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }\n      uVar2 = uVar2 + 1;\n      param_1 = uVar1;\n    }" ({ "{") (if_statement "if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {\n        return uVar2;\n      }" (if "if") (parenthesized_expression "((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t'))" (( "(") (binary_expression "(*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')" (parenthesized_expression "(*(char *)(*param_2 + uVar2) != ' ')" (( "(") (binary_expression "*(char *)(*param_2 + uVar2) != ' '" (pointer_expression "*(char *)(*param_2 + uVar2)" (* "*") (cast_expression "(char *)(*param_2 + uVar2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + uVar2)" (( "(") (binary_expression "*param_2 + uVar2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (identifier "uVar2")) () ")")))) (!= "!=") (char_literal "' '" (' "'") (character " ") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(*param_2 + uVar2) != '\t')" (( "(") (binary_expression "*(char *)(*param_2 + uVar2) != '\t'" (pointer_expression "*(char *)(*param_2 + uVar2)" (* "*") (cast_expression "(char *)(*param_2 + uVar2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + uVar2)" (( "(") (binary_expression "*param_2 + uVar2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (identifier "uVar2")) () ")")))) (!= "!=") (char_literal "'\t'" (' "'") (escape_sequence "\t") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        return uVar2;\n      }" ({ "{") (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" (identifier "uVar2") (= "=") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1 = uVar1;" (assignment_expression "param_1 = uVar1" (identifier "param_1") (= "=") (identifier "uVar1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar2 != uVar1)" (( "(") (binary_expression "uVar2 != uVar1" (identifier "uVar2") (!= "!=") (identifier "uVar1")) () ")")) (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

size_t function_1(size_t var_1,type_1 *ptr)

{
  type_2 var_2;
  size_t var_3;
  
  var_2 = ptr->len;
  if (var_1 < var_2) {
    var_3 = var_1;
    do {
      if ((ptr->ptr[var_3] != ' ') && (ptr->ptr[var_3] != '\t')) {
        return var_3;
      }
      var_3 = var_3 + 1;
      var_1 = var_2;
    } while (var_3 != var_2);
  }
  return var_1;
}


(translation_unit (function_definition type: (type_identifier) 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)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) right: (char_literal (character)))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (return_statement (identifier)))))

uint MASKED(uint param_1,int *param_2)

{
  uint uVar1;
  uint uVar2;
  
  uVar1 = param_2[1];
  if (param_1 < uVar1) {
    uVar2 = param_1;
    do {
      if ((*(char *)(*param_2 + uVar2) != ' ') && (*(char *)(*param_2 + uVar2) != '\t')) {
        return uVar2;
      }
      uVar2 = uVar2 + 1;
      param_1 = uVar1;
    } while (uVar2 != uVar1);
  }
  return param_1;
}

