
char * host_strchr_internal(char *s,char *set,int first)

{
  int iVar1;
  char cVar2;
  int iVar3;
  char *pcVar4;
  
  cVar2 = *s;
  if (cVar2 == '\0') {
    pcVar4 = (char *)0x0;
  }
  else {
    pcVar4 = (char *)0x0;
    iVar3 = 0;
    do {
      while (cVar2 != '[') {
        if (cVar2 == ']') {
          if (iVar3 == 0) goto LAB_0002142c;
          iVar3 = iVar3 + -1;
        }
        else if ((iVar3 == 0) || (cVar2 != ':')) {
LAB_0002142c:
          iVar1 = (*(code *)PTR_strchr_000adc2c)(set);
          if ((iVar1 != 0) && (pcVar4 = s, first != 0)) {
            return s;
          }
        }
        s = s + 1;
        cVar2 = *s;
        if (cVar2 == '\0') {
          return pcVar4;
        }
      }
      s = s + 1;
      cVar2 = *s;
      iVar3 = iVar3 + 1;
    } while (cVar2 != '\0');
  }
  return pcVar4;
}



char * FUN_000213b0(char *param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  char cVar2;
  int iVar3;
  char *pcVar4;
  
  cVar2 = *param_1;
  if (cVar2 == '\0') {
    pcVar4 = (char *)0x0;
  }
  else {
    pcVar4 = (char *)0x0;
    iVar3 = 0;
    do {
      while (cVar2 != '[') {
        if (cVar2 == ']') {
          if (iVar3 == 0) goto LAB_0002142c;
          iVar3 = iVar3 + -1;
        }
        else if ((iVar3 == 0) || (cVar2 != ':')) {
LAB_0002142c:
          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);
          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {
            return param_1;
          }
        }
        param_1 = param_1 + 1;
        cVar2 = *param_1;
        if (cVar2 == '\0') {
          return pcVar4;
        }
      }
      param_1 = param_1 + 1;
      cVar2 = *param_1;
      iVar3 = iVar3 + 1;
    } while (cVar2 != '\0');
  }
  return pcVar4;
}


lui gp,0x9
addiu gp,gp,0x3ee0
addu gp,gp,t9
addiu sp,sp,-0x40
sw s4,0x2c(sp)
or s4,a1,zero
sw gp,0x10(sp)
sw ra,0x3c(sp)
sw s7,0x38(sp)
sw s6,0x34(sp)
sw s5,0x30(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
lb a1,0x0(a0)
beq a1,zero,0x000214ac
_or s0,a0,zero
or s6,a2,zero
or s5,zero,zero
or s1,zero,zero
li s2,0x5b
li s3,0x5d
b 0x00021454
_li s7,0x3a
beq a1,s3,0x0002149c
_nop
beq s1,zero,0x0002142c
_lw t9,-0x7664(gp)
beq a1,s7,0x00021444
_nop
jalr t9
_or a0,s4,zero
beq v0,zero,0x00021444
_lw gp,0x10(sp)
bne s6,zero,0x0002146c
_or s5,s0,zero
addiu s0,s0,0x1
lb a1,0x0(s0)
beq a1,zero,0x00021470
_lw ra,0x3c(sp)
bne a1,s2,0x00021414
_nop
addiu s0,s0,0x1
lb a1,0x0(s0)
bne a1,zero,0x00021454
_addiu s1,s1,0x1
lw ra,0x3c(sp)
or v0,s5,zero
lw s7,0x38(sp)
lw s6,0x34(sp)
lw s5,0x30(sp)
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x40
beq s1,zero,0x0002142c
_lw t9,-0x7664(gp)
b 0x00021444
_addiu s1,s1,-0x1
b 0x0002146c
_or s5,zero,zero
(translation_unit "char * FUN_000213b0(char *param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  cVar2 = *param_1;\n  if (cVar2 == '\0') {\n    pcVar4 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }\n  return pcVar4;\n}\n\n" (function_definition "char * FUN_000213b0(char *param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  cVar2 = *param_1;\n  if (cVar2 == '\0') {\n    pcVar4 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }\n  return pcVar4;\n}" primitive_type (pointer_declarator "* FUN_000213b0(char *param_1,undefined4 param_2,int param_3)" * (function_declarator "FUN_000213b0(char *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(char *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  cVar2 = *param_1;\n  if (cVar2 == '\0') {\n    pcVar4 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }\n  return pcVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "cVar2 = *param_1;" (assignment_expression "cVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (cVar2 == '\0') {\n    pcVar4 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar4 = (char *)0x0;\n  }" { (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }" else (compound_statement "{\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }" { (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');" do (compound_statement "{\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    }" { (while_statement "while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }" while (parenthesized_expression "(cVar2 != '[')" ( (binary_expression "cVar2 != '['" identifier != (char_literal "'['" ' character ')) )) (compound_statement "{\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }" { (if_statement "if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }" if (parenthesized_expression "(cVar2 == ']')" ( (binary_expression "cVar2 == ']'" identifier == (char_literal "']'" ' character ')) )) (compound_statement "{\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }" { (if_statement "if (iVar3 == 0) goto LAB_0002142c;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0002142c;" goto statement_identifier ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) (else_clause "else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }" else (if_statement "if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }" if (parenthesized_expression "((iVar3 == 0) || (cVar2 != ':'))" ( (binary_expression "(iVar3 == 0) || (cVar2 != ':')" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(cVar2 != ':')" ( (binary_expression "cVar2 != ':'" identifier != (char_literal "':'" ' character ')) ))) )) (compound_statement "{\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }" { (labeled_statement "LAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);" statement_identifier : (expression_statement "iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);" (assignment_expression "iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2)" identifier = (call_expression "(*(code *)PTR_strchr_000adc2c)(param_2)" (parenthesized_expression "(*(code *)PTR_strchr_000adc2c)" ( (pointer_expression "*(code *)PTR_strchr_000adc2c" * (cast_expression "(code *)PTR_strchr_000adc2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;)) (if_statement "if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }" if (parenthesized_expression "((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0))" ( (binary_expression "(iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(pcVar4 = param_1, param_3 != 0)" ( (comma_expression "pcVar4 = param_1, param_3 != 0" (assignment_expression "pcVar4 = param_1" identifier = identifier) , (binary_expression "param_3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n            return param_1;\n          }" { (return_statement "return param_1;" return identifier ;) })) })))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "cVar2 = *param_1;" (assignment_expression "cVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (cVar2 == '\0') {\n          return pcVar4;\n        }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          return pcVar4;\n        }" { (return_statement "return pcVar4;" return identifier ;) })) })) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "cVar2 = *param_1;" (assignment_expression "cVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) }))) (return_statement "return pcVar4;" return identifier ;) })))
(translation_unit "char * host_strchr_internal(char *s,char *set,int first)\n\n{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  cVar2 = *s;\n  if (cVar2 == '\0') {\n    pcVar4 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(set);\n          if ((iVar1 != 0) && (pcVar4 = s, first != 0)) {\n            return s;\n          }\n        }\n        s = s + 1;\n        cVar2 = *s;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      s = s + 1;\n      cVar2 = *s;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }\n  return pcVar4;\n}\n\n" (function_definition "char * host_strchr_internal(char *s,char *set,int first)\n\n{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  cVar2 = *s;\n  if (cVar2 == '\0') {\n    pcVar4 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(set);\n          if ((iVar1 != 0) && (pcVar4 = s, first != 0)) {\n            return s;\n          }\n        }\n        s = s + 1;\n        cVar2 = *s;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      s = s + 1;\n      cVar2 = *s;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }\n  return pcVar4;\n}" primitive_type (pointer_declarator "* host_strchr_internal(char *s,char *set,int first)" * (function_declarator "host_strchr_internal(char *s,char *set,int first)" identifier (parameter_list "(char *s,char *set,int first)" ( (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) , (parameter_declaration "char *set" primitive_type (pointer_declarator "*set" * identifier)) , (parameter_declaration "int first" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  cVar2 = *s;\n  if (cVar2 == '\0') {\n    pcVar4 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(set);\n          if ((iVar1 != 0) && (pcVar4 = s, first != 0)) {\n            return s;\n          }\n        }\n        s = s + 1;\n        cVar2 = *s;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      s = s + 1;\n      cVar2 = *s;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }\n  return pcVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "cVar2 = *s;" (assignment_expression "cVar2 = *s" identifier = (pointer_expression "*s" * identifier)) ;) (if_statement "if (cVar2 == '\0') {\n    pcVar4 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(set);\n          if ((iVar1 != 0) && (pcVar4 = s, first != 0)) {\n            return s;\n          }\n        }\n        s = s + 1;\n        cVar2 = *s;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      s = s + 1;\n      cVar2 = *s;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar4 = (char *)0x0;\n  }" { (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(set);\n          if ((iVar1 != 0) && (pcVar4 = s, first != 0)) {\n            return s;\n          }\n        }\n        s = s + 1;\n        cVar2 = *s;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      s = s + 1;\n      cVar2 = *s;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }" else (compound_statement "{\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(set);\n          if ((iVar1 != 0) && (pcVar4 = s, first != 0)) {\n            return s;\n          }\n        }\n        s = s + 1;\n        cVar2 = *s;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      s = s + 1;\n      cVar2 = *s;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }" { (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(set);\n          if ((iVar1 != 0) && (pcVar4 = s, first != 0)) {\n            return s;\n          }\n        }\n        s = s + 1;\n        cVar2 = *s;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      s = s + 1;\n      cVar2 = *s;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');" do (compound_statement "{\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(set);\n          if ((iVar1 != 0) && (pcVar4 = s, first != 0)) {\n            return s;\n          }\n        }\n        s = s + 1;\n        cVar2 = *s;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      s = s + 1;\n      cVar2 = *s;\n      iVar3 = iVar3 + 1;\n    }" { (while_statement "while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(set);\n          if ((iVar1 != 0) && (pcVar4 = s, first != 0)) {\n            return s;\n          }\n        }\n        s = s + 1;\n        cVar2 = *s;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }" while (parenthesized_expression "(cVar2 != '[')" ( (binary_expression "cVar2 != '['" identifier != (char_literal "'['" ' character ')) )) (compound_statement "{\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(set);\n          if ((iVar1 != 0) && (pcVar4 = s, first != 0)) {\n            return s;\n          }\n        }\n        s = s + 1;\n        cVar2 = *s;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }" { (if_statement "if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(set);\n          if ((iVar1 != 0) && (pcVar4 = s, first != 0)) {\n            return s;\n          }\n        }" if (parenthesized_expression "(cVar2 == ']')" ( (binary_expression "cVar2 == ']'" identifier == (char_literal "']'" ' character ')) )) (compound_statement "{\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }" { (if_statement "if (iVar3 == 0) goto LAB_0002142c;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0002142c;" goto statement_identifier ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) (else_clause "else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(set);\n          if ((iVar1 != 0) && (pcVar4 = s, first != 0)) {\n            return s;\n          }\n        }" else (if_statement "if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(set);\n          if ((iVar1 != 0) && (pcVar4 = s, first != 0)) {\n            return s;\n          }\n        }" if (parenthesized_expression "((iVar3 == 0) || (cVar2 != ':'))" ( (binary_expression "(iVar3 == 0) || (cVar2 != ':')" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(cVar2 != ':')" ( (binary_expression "cVar2 != ':'" identifier != (char_literal "':'" ' character ')) ))) )) (compound_statement "{\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(set);\n          if ((iVar1 != 0) && (pcVar4 = s, first != 0)) {\n            return s;\n          }\n        }" { (labeled_statement "LAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(set);" statement_identifier : (expression_statement "iVar1 = (*(code *)PTR_strchr_000adc2c)(set);" (assignment_expression "iVar1 = (*(code *)PTR_strchr_000adc2c)(set)" identifier = (call_expression "(*(code *)PTR_strchr_000adc2c)(set)" (parenthesized_expression "(*(code *)PTR_strchr_000adc2c)" ( (pointer_expression "*(code *)PTR_strchr_000adc2c" * (cast_expression "(code *)PTR_strchr_000adc2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(set)" ( identifier )))) ;)) (if_statement "if ((iVar1 != 0) && (pcVar4 = s, first != 0)) {\n            return s;\n          }" if (parenthesized_expression "((iVar1 != 0) && (pcVar4 = s, first != 0))" ( (binary_expression "(iVar1 != 0) && (pcVar4 = s, first != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(pcVar4 = s, first != 0)" ( (comma_expression "pcVar4 = s, first != 0" (assignment_expression "pcVar4 = s" identifier = identifier) , (binary_expression "first != 0" identifier != number_literal)) ))) )) (compound_statement "{\n            return s;\n          }" { (return_statement "return s;" return identifier ;) })) })))) (expression_statement "s = s + 1;" (assignment_expression "s = s + 1" identifier = (binary_expression "s + 1" identifier + number_literal)) ;) (expression_statement "cVar2 = *s;" (assignment_expression "cVar2 = *s" identifier = (pointer_expression "*s" * identifier)) ;) (if_statement "if (cVar2 == '\0') {\n          return pcVar4;\n        }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          return pcVar4;\n        }" { (return_statement "return pcVar4;" return identifier ;) })) })) (expression_statement "s = s + 1;" (assignment_expression "s = s + 1" identifier = (binary_expression "s + 1" identifier + number_literal)) ;) (expression_statement "cVar2 = *s;" (assignment_expression "cVar2 = *s" identifier = (pointer_expression "*s" * identifier)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) }))) (return_statement "return pcVar4;" return identifier ;) })))
(translation_unit "char * FUN_000213b0(char *param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  cVar2 = *param_1;\n  if (cVar2 == '\0') {\n    pcVar4 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }\n  return pcVar4;\n}\n\n" (function_definition "char * FUN_000213b0(char *param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  cVar2 = *param_1;\n  if (cVar2 == '\0') {\n    pcVar4 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }\n  return pcVar4;\n}" primitive_type (pointer_declarator "* FUN_000213b0(char *param_1,undefined4 param_2,int param_3)" * (function_declarator "FUN_000213b0(char *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(char *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  cVar2 = *param_1;\n  if (cVar2 == '\0') {\n    pcVar4 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }\n  return pcVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "cVar2 = *param_1;" (assignment_expression "cVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (cVar2 == '\0') {\n    pcVar4 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar4 = (char *)0x0;\n  }" { (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }" else (compound_statement "{\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }" { (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');" do (compound_statement "{\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    }" { (while_statement "while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }" while (parenthesized_expression "(cVar2 != '[')" ( (binary_expression "cVar2 != '['" identifier != (char_literal "'['" ' character ')) )) (compound_statement "{\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }" { (if_statement "if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }" if (parenthesized_expression "(cVar2 == ']')" ( (binary_expression "cVar2 == ']'" identifier == (char_literal "']'" ' character ')) )) (compound_statement "{\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }" { (if_statement "if (iVar3 == 0) goto LAB_0002142c;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0002142c;" goto statement_identifier ;)) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) (else_clause "else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }" else (if_statement "if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }" if (parenthesized_expression "((iVar3 == 0) || (cVar2 != ':'))" ( (binary_expression "(iVar3 == 0) || (cVar2 != ':')" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(cVar2 != ':')" ( (binary_expression "cVar2 != ':'" identifier != (char_literal "':'" ' character ')) ))) )) (compound_statement "{\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }" { (labeled_statement "LAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);" statement_identifier : (expression_statement "iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);" (assignment_expression "iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2)" identifier = (call_expression "(*(code *)PTR_strchr_000adc2c)(param_2)" (parenthesized_expression "(*(code *)PTR_strchr_000adc2c)" ( (pointer_expression "*(code *)PTR_strchr_000adc2c" * (cast_expression "(code *)PTR_strchr_000adc2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;)) (if_statement "if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }" if (parenthesized_expression "((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0))" ( (binary_expression "(iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(pcVar4 = param_1, param_3 != 0)" ( (comma_expression "pcVar4 = param_1, param_3 != 0" (assignment_expression "pcVar4 = param_1" identifier = identifier) , (binary_expression "param_3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n            return param_1;\n          }" { (return_statement "return param_1;" return identifier ;) })) })))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "cVar2 = *param_1;" (assignment_expression "cVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (cVar2 == '\0') {\n          return pcVar4;\n        }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          return pcVar4;\n        }" { (return_statement "return pcVar4;" return identifier ;) })) })) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "cVar2 = *param_1;" (assignment_expression "cVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) }))) (return_statement "return pcVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (return_statement return IDENT ;) })) })))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression 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 = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) ;) }))) (return_statement return IDENT ;) })))
(function_definition "char * FUN_000213b0(char *param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  cVar2 = *param_1;\n  if (cVar2 == '\0') {\n    pcVar4 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }\n  return pcVar4;\n}" (primitive_type "char") (pointer_declarator "* FUN_000213b0(char *param_1,undefined4 param_2,int param_3)" (* "*") (function_declarator "FUN_000213b0(char *param_1,undefined4 param_2,int param_3)" (identifier "FUN_000213b0") (parameter_list "(char *param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")")))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  cVar2 = *param_1;\n  if (cVar2 == '\0') {\n    pcVar4 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }\n  return pcVar4;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (expression_statement "cVar2 = *param_1;" (assignment_expression "cVar2 = *param_1" (identifier "cVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (cVar2 == '\0') {\n    pcVar4 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    pcVar4 = (char *)0x0;\n  }" ({ "{") (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" (identifier "pcVar4") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }" (else "else") (compound_statement "{\n    pcVar4 = (char *)0x0;\n    iVar3 = 0;\n    do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');\n  }" ({ "{") (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" (identifier "pcVar4") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    } while (cVar2 != '\0');" (do "do") (compound_statement "{\n      while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }\n      param_1 = param_1 + 1;\n      cVar2 = *param_1;\n      iVar3 = iVar3 + 1;\n    }" ({ "{") (while_statement "while (cVar2 != '[') {\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }" (while "while") (parenthesized_expression "(cVar2 != '[')" (( "(") (binary_expression "cVar2 != '['" (identifier "cVar2") (!= "!=") (char_literal "'['" (' "'") (character "[") (' "'"))) () ")")) (compound_statement "{\n        if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }\n        param_1 = param_1 + 1;\n        cVar2 = *param_1;\n        if (cVar2 == '\0') {\n          return pcVar4;\n        }\n      }" ({ "{") (if_statement "if (cVar2 == ']') {\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }\n        else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }" (if "if") (parenthesized_expression "(cVar2 == ']')" (( "(") (binary_expression "cVar2 == ']'" (identifier "cVar2") (== "==") (char_literal "']'" (' "'") (character "]") (' "'"))) () ")")) (compound_statement "{\n          if (iVar3 == 0) goto LAB_0002142c;\n          iVar3 = iVar3 + -1;\n        }" ({ "{") (if_statement "if (iVar3 == 0) goto LAB_0002142c;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0002142c;" (goto "goto") (statement_identifier "LAB_0002142c") (; ";"))) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (else_clause "else if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }" (else "else") (if_statement "if ((iVar3 == 0) || (cVar2 != ':')) {\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }" (if "if") (parenthesized_expression "((iVar3 == 0) || (cVar2 != ':'))" (( "(") (binary_expression "(iVar3 == 0) || (cVar2 != ':')" (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(cVar2 != ':')" (( "(") (binary_expression "cVar2 != ':'" (identifier "cVar2") (!= "!=") (char_literal "':'" (' "'") (character ":") (' "'"))) () ")"))) () ")")) (compound_statement "{\nLAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);\n          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }\n        }" ({ "{") (labeled_statement "LAB_0002142c:\n          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);" (statement_identifier "LAB_0002142c") (: ":") (expression_statement "iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);" (assignment_expression "iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strchr_000adc2c)(param_2)" (parenthesized_expression "(*(code *)PTR_strchr_000adc2c)" (( "(") (pointer_expression "*(code *)PTR_strchr_000adc2c" (* "*") (cast_expression "(code *)PTR_strchr_000adc2c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_000adc2c"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";"))) (if_statement "if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {\n            return param_1;\n          }" (if "if") (parenthesized_expression "((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0))" (( "(") (binary_expression "(iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(pcVar4 = param_1, param_3 != 0)" (( "(") (comma_expression "pcVar4 = param_1, param_3 != 0" (assignment_expression "pcVar4 = param_1" (identifier "pcVar4") (= "=") (identifier "param_1")) (, ",") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n            return param_1;\n          }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (} "}"))))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar2 = *param_1;" (assignment_expression "cVar2 = *param_1" (identifier "cVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (cVar2 == '\0') {\n          return pcVar4;\n        }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          return pcVar4;\n        }" ({ "{") (return_statement "return pcVar4;" (return "return") (identifier "pcVar4") (; ";")) (} "}"))) (} "}"))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar2 = *param_1;" (assignment_expression "cVar2 = *param_1" (identifier "cVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(cVar2 != '\0')" (( "(") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (} "}")))) (return_statement "return pcVar4;" (return "return") (identifier "pcVar4") (; ";")) (} "}")))

char * function_1(char *var_5,char *set,int var_4)

{
  int var_3;
  char var_1;
  int var_2;
  char *pcVar4;
  
  var_1 = *var_5;
  if (var_1 == '\0') {
    pcVar4 = (char *)0x0;
  }
  else {
    pcVar4 = (char *)0x0;
    var_2 = 0;
    do {
      while (var_1 != '[') {
        if (var_1 == ']') {
          if (var_2 == 0) goto LAB_0002142c;
          var_2 = var_2 + -1;
        }
        else if ((var_2 == 0) || (var_1 != ':')) {
LAB_0002142c:
          var_3 = (*(type_1 *)PTR_strchr_000adc2c)(set);
          if ((var_3 != 0) && (pcVar4 = var_5, var_4 != 0)) {
            return var_5;
          }
        }
        var_5 = var_5 + 1;
        var_1 = *var_5;
        if (var_1 == '\0') {
          return pcVar4;
        }
      }
      var_5 = var_5 + 1;
      var_1 = *var_5;
      var_2 = var_2 + 1;
    } while (var_1 != '\0');
  }
  return pcVar4;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))))) consequence: (compound_statement (labeled_statement label: (statement_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)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))) 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: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (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: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))))) (return_statement (identifier)))))

char * MASKED(char *param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  char cVar2;
  int iVar3;
  char *pcVar4;
  
  cVar2 = *param_1;
  if (cVar2 == '\0') {
    pcVar4 = (char *)0x0;
  }
  else {
    pcVar4 = (char *)0x0;
    iVar3 = 0;
    do {
      while (cVar2 != '[') {
        if (cVar2 == ']') {
          if (iVar3 == 0) goto LAB_0002142c;
          iVar3 = iVar3 + -1;
        }
        else if ((iVar3 == 0) || (cVar2 != ':')) {
LAB_0002142c:
          iVar1 = (*(code *)PTR_strchr_000adc2c)(param_2);
          if ((iVar1 != 0) && (pcVar4 = param_1, param_3 != 0)) {
            return param_1;
          }
        }
        param_1 = param_1 + 1;
        cVar2 = *param_1;
        if (cVar2 == '\0') {
          return pcVar4;
        }
      }
      param_1 = param_1 + 1;
      cVar2 = *param_1;
      iVar3 = iVar3 + 1;
    } while (cVar2 != '\0');
  }
  return pcVar4;
}

