
size_t host_strcspn(char *s,char *set)

{
  char *pcVar1;
  size_t sVar2;
  
  pcVar1 = host_strchr_internal(s,set,1);
  if (pcVar1 != (char *)0x0) {
    return (int)pcVar1 - (int)s;
  }
                    /* WARNING: Could not recover jumptable at 0x000349f0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  sVar2 = (*(code *)PTR_strlen_000b6000)(s);
  return sVar2;
}



int host_strcspn(int param_1,undefined4 param_2)

{
  int iVar1;
  
  iVar1 = FUN_00034610(param_1,param_2,1);
  if (iVar1 != 0) {
    return iVar1 - param_1;
  }
                    /* WARNING: Could not recover jumptable at 0x000349f0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  iVar1 = (*(code *)PTR_strlen_000b6000)(param_1);
  return iVar1;
}


lui gp,0x9
addiu gp,gp,-0x77c4
addu gp,gp,t9
lw t9,-0x7d28(gp)
addiu sp,sp,-0x20
li a2,0x1
addiu t9,t9,0x4610
sw gp,0x10(sp)
sw s0,0x18(sp)
sw ra,0x1c(sp)
bal 0x00034610
_or s0,a0,zero
beq v0,zero,0x000349e0
_lw gp,0x10(sp)
lw ra,0x1c(sp)
subu v0,v0,s0
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw ra,0x1c(sp)
or a0,s0,zero
lw t9,-0x71d0(gp)
lw s0,0x18(sp)
jr t9
_addiu sp,sp,0x20
(translation_unit "int host_strcspn(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00034610(param_1,param_2,1);\n  if (iVar1 != 0) {\n    return iVar1 - param_1;\n  }\n                    /* WARNING: Could not recover jumptable at 0x000349f0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar1 = (*(code *)PTR_strlen_000b6000)(param_1);\n  return iVar1;\n}\n\n" (function_definition "int host_strcspn(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00034610(param_1,param_2,1);\n  if (iVar1 != 0) {\n    return iVar1 - param_1;\n  }\n                    /* WARNING: Could not recover jumptable at 0x000349f0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar1 = (*(code *)PTR_strlen_000b6000)(param_1);\n  return iVar1;\n}" primitive_type (function_declarator "host_strcspn(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00034610(param_1,param_2,1);\n  if (iVar1 != 0) {\n    return iVar1 - param_1;\n  }\n                    /* WARNING: Could not recover jumptable at 0x000349f0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar1 = (*(code *)PTR_strlen_000b6000)(param_1);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00034610(param_1,param_2,1);" (assignment_expression "iVar1 = FUN_00034610(param_1,param_2,1)" identifier = (call_expression "FUN_00034610(param_1,param_2,1)" identifier (argument_list "(param_1,param_2,1)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    return iVar1 - param_1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return iVar1 - param_1;\n  }" { (return_statement "return iVar1 - param_1;" return (binary_expression "iVar1 - param_1" identifier - identifier) ;) })) comment comment (expression_statement "iVar1 = (*(code *)PTR_strlen_000b6000)(param_1);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_000b6000)(param_1)" identifier = (call_expression "(*(code *)PTR_strlen_000b6000)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_000b6000)" ( (pointer_expression "*(code *)PTR_strlen_000b6000" * (cast_expression "(code *)PTR_strlen_000b6000" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "size_t host_strcspn(char *s,char *set)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  \n  pcVar1 = host_strchr_internal(s,set,1);\n  if (pcVar1 != (char *)0x0) {\n    return (int)pcVar1 - (int)s;\n  }\n                    /* WARNING: Could not recover jumptable at 0x000349f0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  sVar2 = (*(code *)PTR_strlen_000b6000)(s);\n  return sVar2;\n}\n\n" (function_definition "size_t host_strcspn(char *s,char *set)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  \n  pcVar1 = host_strchr_internal(s,set,1);\n  if (pcVar1 != (char *)0x0) {\n    return (int)pcVar1 - (int)s;\n  }\n                    /* WARNING: Could not recover jumptable at 0x000349f0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  sVar2 = (*(code *)PTR_strlen_000b6000)(s);\n  return sVar2;\n}" primitive_type (function_declarator "host_strcspn(char *s,char *set)" identifier (parameter_list "(char *s,char *set)" ( (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) , (parameter_declaration "char *set" primitive_type (pointer_declarator "*set" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  size_t sVar2;\n  \n  pcVar1 = host_strchr_internal(s,set,1);\n  if (pcVar1 != (char *)0x0) {\n    return (int)pcVar1 - (int)s;\n  }\n                    /* WARNING: Could not recover jumptable at 0x000349f0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  sVar2 = (*(code *)PTR_strlen_000b6000)(s);\n  return sVar2;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (expression_statement "pcVar1 = host_strchr_internal(s,set,1);" (assignment_expression "pcVar1 = host_strchr_internal(s,set,1)" identifier = (call_expression "host_strchr_internal(s,set,1)" identifier (argument_list "(s,set,1)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    return (int)pcVar1 - (int)s;\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    return (int)pcVar1 - (int)s;\n  }" { (return_statement "return (int)pcVar1 - (int)s;" return (binary_expression "(int)pcVar1 - (int)s" (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)s" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) comment comment (expression_statement "sVar2 = (*(code *)PTR_strlen_000b6000)(s);" (assignment_expression "sVar2 = (*(code *)PTR_strlen_000b6000)(s)" identifier = (call_expression "(*(code *)PTR_strlen_000b6000)(s)" (parenthesized_expression "(*(code *)PTR_strlen_000b6000)" ( (pointer_expression "*(code *)PTR_strlen_000b6000" * (cast_expression "(code *)PTR_strlen_000b6000" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(s)" ( identifier )))) ;) (return_statement "return sVar2;" return identifier ;) })))
(translation_unit "int host_strcspn(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00034610(param_1,param_2,1);\n  if (iVar1 != 0) {\n    return iVar1 - param_1;\n  }\n                    \n                    \n  iVar1 = (*(code *)PTR_strlen_000b6000)(param_1);\n  return iVar1;\n}\n\n" (function_definition "int host_strcspn(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00034610(param_1,param_2,1);\n  if (iVar1 != 0) {\n    return iVar1 - param_1;\n  }\n                    \n                    \n  iVar1 = (*(code *)PTR_strlen_000b6000)(param_1);\n  return iVar1;\n}" primitive_type (function_declarator "host_strcspn(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00034610(param_1,param_2,1);\n  if (iVar1 != 0) {\n    return iVar1 - param_1;\n  }\n                    \n                    \n  iVar1 = (*(code *)PTR_strlen_000b6000)(param_1);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00034610(param_1,param_2,1);" (assignment_expression "iVar1 = FUN_00034610(param_1,param_2,1)" identifier = (call_expression "FUN_00034610(param_1,param_2,1)" identifier (argument_list "(param_1,param_2,1)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    return iVar1 - param_1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return iVar1 - param_1;\n  }" { (return_statement "return iVar1 - param_1;" return (binary_expression "iVar1 - param_1" identifier - identifier) ;) })) (expression_statement "iVar1 = (*(code *)PTR_strlen_000b6000)(param_1);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_000b6000)(param_1)" identifier = (call_expression "(*(code *)PTR_strlen_000b6000)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_000b6000)" ( (pointer_expression "*(code *)PTR_strlen_000b6000" * (cast_expression "(code *)PTR_strlen_000b6000" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return (binary_expression IDENT - IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (return_statement return IDENT ;) })))
(function_definition "int host_strcspn(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00034610(param_1,param_2,1);\n  if (iVar1 != 0) {\n    return iVar1 - param_1;\n  }\n                    \n                    \n  iVar1 = (*(code *)PTR_strlen_000b6000)(param_1);\n  return iVar1;\n}" (primitive_type "int") (function_declarator "host_strcspn(int param_1,undefined4 param_2)" (identifier "host_strcspn") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00034610(param_1,param_2,1);\n  if (iVar1 != 0) {\n    return iVar1 - param_1;\n  }\n                    \n                    \n  iVar1 = (*(code *)PTR_strlen_000b6000)(param_1);\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_00034610(param_1,param_2,1);" (assignment_expression "iVar1 = FUN_00034610(param_1,param_2,1)" (identifier "iVar1") (= "=") (call_expression "FUN_00034610(param_1,param_2,1)" (identifier "FUN_00034610") (argument_list "(param_1,param_2,1)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    return iVar1 - param_1;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return iVar1 - param_1;\n  }" ({ "{") (return_statement "return iVar1 - param_1;" (return "return") (binary_expression "iVar1 - param_1" (identifier "iVar1") (- "-") (identifier "param_1")) (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR_strlen_000b6000)(param_1);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_000b6000)(param_1)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strlen_000b6000)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_000b6000)" (( "(") (pointer_expression "*(code *)PTR_strlen_000b6000" (* "*") (cast_expression "(code *)PTR_strlen_000b6000" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_000b6000"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

size_t function_1(char *s,char *set)

{
  char *var_2;
  size_t sVar2;
  
  var_2 = var_1(s,set,1);
  if (var_2 != (char *)0x0) {
    return (int)var_2 - (int)s;
  }
                    /* WARNING: Could not recover jumptable at 0x000349f0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  sVar2 = (*(type_1 *)PTR_strlen_000b6000)(s);
  return sVar2;
}


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

int MASKED(int param_1,undefined4 param_2)

{
  int iVar1;
  
  iVar1 = FUN_00034610(param_1,param_2,1);
  if (iVar1 != 0) {
    return iVar1 - param_1;
  }
                    /* WARNING: Could not recover jumptable at 0x000349f0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  iVar1 = (*(code *)PTR_strlen_000b6000)(param_1);
  return iVar1;
}

