
MagickBooleanType ValidateEntities(char *tag,char *xml,size_t depth,char **entities)

{
  char cVar1;
  char *pcVar2;
  undefined4 uVar3;
  int iVar4;
  int iVar5;
  MagickBooleanType MVar6;
  char *pcVar7;
  char **ppcVar8;
  
  if (depth == 0x259) {
    return MagickFalse;
  }
  cVar1 = *xml;
  pcVar2 = xml + 1;
  do {
    if (cVar1 == '\0') {
      return MagickTrue;
    }
    if (cVar1 == '&') {
      uVar3 = (*(code *)PTR_strlen_003a9338)(tag);
      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,tag,uVar3);
      if (iVar4 == 0) {
        return MagickFalse;
      }
      pcVar7 = *entities;
      if (pcVar7 != (char *)0x0) {
        iVar4 = 0;
        ppcVar8 = entities + 2;
        do {
          uVar3 = (*(code *)PTR_strlen_003a9338)(pcVar7);
          iVar5 = (*(code *)PTR_strncmp_003a8e0c)(pcVar7,pcVar2,uVar3);
          if (iVar5 != 0) {
            MVar6 = ValidateEntities(tag,entities[iVar4 + 1],depth + 1,entities);
            if (MVar6 == MagickFalse) {
              return MagickFalse;
            }
            break;
          }
          pcVar7 = *ppcVar8;
          iVar4 = iVar4 + 2;
          ppcVar8 = ppcVar8 + 2;
        } while (pcVar7 != (char *)0x0);
      }
    }
    cVar1 = *pcVar2;
    pcVar2 = pcVar2 + 1;
  } while( true );
}



undefined4 FUN_001e9cbc(undefined4 param_1,char *param_2,int param_3,int *param_4)

{
  char cVar1;
  char *pcVar2;
  undefined4 uVar3;
  int iVar4;
  int *piVar5;
  int iVar6;
  
  if (param_3 == 0x259) {
    return 0;
  }
  cVar1 = *param_2;
  pcVar2 = param_2 + 1;
  do {
    if (cVar1 == '\0') {
      return 1;
    }
    if (cVar1 == '&') {
      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);
      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);
      if (iVar4 == 0) {
        return 0;
      }
      iVar4 = *param_4;
      if (iVar4 != 0) {
        iVar6 = 0;
        piVar5 = param_4 + 2;
        do {
          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);
          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);
          if (iVar4 != 0) {
            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);
            if (iVar4 == 0) {
              return 0;
            }
            break;
          }
          iVar4 = *piVar5;
          iVar6 = iVar6 + 2;
          piVar5 = piVar5 + 2;
        } while (iVar4 != 0);
      }
    }
    cVar1 = *pcVar2;
    pcVar2 = pcVar2 + 1;
  } while( true );
}


lui gp,0x1c
addiu gp,gp,0x6bf4
addu gp,gp,t9
li v0,0x259
beq a2,v0,0x001e9e20
_nop
addiu sp,sp,-0x40
sw s3,0x24(sp)
addiu s3,a1,0x1
sw s8,0x38(sp)
li s8,0x26
sw s7,0x34(sp)
sw s6,0x30(sp)
addiu s6,a2,0x1
sw s5,0x2c(sp)
or s5,a0,zero
sw s4,0x28(sp)
or s4,a3,zero
sw gp,0x10(sp)
sw ra,0x3c(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
lw s7,-0x7d08(gp)
lb v0,-0x1(s3)
beq v0,zero,0x001e9d40
_addiu s7,s7,-0x6344
beq v0,s8,0x001e9d74
_lw t9,-0x7578(gp)
addiu s3,s3,0x1
lb v0,-0x1(s3)
bne v0,zero,0x001e9d28
_nop
li v0,0x1
lw ra,0x3c(sp)
lw s8,0x38(sp)
lw s7,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x40
jalr t9
_or a0,s5,zero
or a1,s5,zero
lw gp,0x10(sp)
or a2,v0,zero
lw t9,-0x7aa4(gp)
jalr t9
_or a0,s3,zero
beq v0,zero,0x001e9e28
_lw gp,0x10(sp)
lw s0,0x0(s4)
beq s0,zero,0x001e9d30
_addiu s1,s4,0x8
b 0x001e9dbc
_or s2,zero,zero
lw s0,-0x8(s1)
beq s0,zero,0x001e9d30
_addiu s2,s2,0x2
lw t9,-0x7578(gp)
or a0,s0,zero
jalr t9
_addiu s1,s1,0x8
or a0,s0,zero
lw gp,0x10(sp)
or a2,v0,zero
lw t9,-0x7aa4(gp)
jalr t9
_or a1,s3,zero
beq v0,zero,0x001e9db0
_lw gp,0x10(sp)
addiu s2,s2,0x1
or a3,s4,zero
sll s2,s2,0x2
or a2,s6,zero
addu s2,s4,s2
or a0,s5,zero
or t9,s7,zero
bal 0x001e9cbc
_lw a1,0x0(s2)
beq v0,zero,0x001e9d44
_lw gp,0x10(sp)
b 0x001e9d34
_addiu s3,s3,0x1
jr ra
_or v0,zero,zero
lw ra,0x3c(sp)
or v0,zero,zero
lw s8,0x38(sp)
lw s7,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x40
(translation_unit "undefined4 FUN_001e9cbc(undefined4 param_1,char *param_2,int param_3,int *param_4)\n\n{\n  char cVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  \n  if (param_3 == 0x259) {\n    return 0;\n  }\n  cVar1 = *param_2;\n  pcVar2 = param_2 + 1;\n  do {\n    if (cVar1 == '\0') {\n      return 1;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  } while( true );\n}\n\n" (function_definition "undefined4 FUN_001e9cbc(undefined4 param_1,char *param_2,int param_3,int *param_4)\n\n{\n  char cVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  \n  if (param_3 == 0x259) {\n    return 0;\n  }\n  cVar1 = *param_2;\n  pcVar2 = param_2 + 1;\n  do {\n    if (cVar1 == '\0') {\n      return 1;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  } while( true );\n}" type_identifier (function_declarator "FUN_001e9cbc(undefined4 param_1,char *param_2,int param_3,int *param_4)" identifier (parameter_list "(undefined4 param_1,char *param_2,int param_3,int *param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  \n  if (param_3 == 0x259) {\n    return 0;\n  }\n  cVar1 = *param_2;\n  pcVar2 = param_2 + 1;\n  do {\n    if (cVar1 == '\0') {\n      return 1;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (if_statement "if (param_3 == 0x259) {\n    return 0;\n  }" if (parenthesized_expression "(param_3 == 0x259)" ( (binary_expression "param_3 == 0x259" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "cVar1 = *param_2;" (assignment_expression "cVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "pcVar2 = param_2 + 1;" (assignment_expression "pcVar2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (do_statement "do {\n    if (cVar1 == '\0') {\n      return 1;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  } while( true );" do (compound_statement "{\n    if (cVar1 == '\0') {\n      return 1;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  }" { (if_statement "if (cVar1 == '\0') {\n      return 1;\n    }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }" if (parenthesized_expression "(cVar1 == '&')" ( (binary_expression "cVar1 == '&'" identifier == (char_literal "'&'" ' character ')) )) (compound_statement "{\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }" { (expression_statement "uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);" (assignment_expression "uVar3 = (*(code *)PTR_strlen_003a9338)(param_1)" identifier = (call_expression "(*(code *)PTR_strlen_003a9338)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_003a9338)" ( (pointer_expression "*(code *)PTR_strlen_003a9338" * (cast_expression "(code *)PTR_strlen_003a9338" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);" (assignment_expression "iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3)" identifier = (call_expression "(*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3)" (parenthesized_expression "(*(code *)PTR_strncmp_003a8e0c)" ( (pointer_expression "*(code *)PTR_strncmp_003a8e0c" * (cast_expression "(code *)PTR_strncmp_003a8e0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar2,param_1,uVar3)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n        return 0;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = *param_4;" (assignment_expression "iVar4 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (if_statement "if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "piVar5 = param_4 + 2;" (assignment_expression "piVar5 = param_4 + 2" identifier = (binary_expression "param_4 + 2" identifier + number_literal)) ;) (do_statement "do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);" do (compound_statement "{\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        }" { (expression_statement "uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);" (assignment_expression "uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4)" identifier = (call_expression "(*(code *)PTR_strlen_003a9338)(iVar4)" (parenthesized_expression "(*(code *)PTR_strlen_003a9338)" ( (pointer_expression "*(code *)PTR_strlen_003a9338" * (cast_expression "(code *)PTR_strlen_003a9338" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);" (assignment_expression "iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3)" identifier = (call_expression "(*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3)" (parenthesized_expression "(*(code *)PTR_strncmp_003a8e0c)" ( (pointer_expression "*(code *)PTR_strncmp_003a8e0c" * (cast_expression "(code *)PTR_strncmp_003a8e0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,pcVar2,uVar3)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }" { (expression_statement "iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);" (assignment_expression "iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4)" identifier = (call_expression "FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4)" identifier (argument_list "(param_1,param_4[iVar6 + 1],param_3 + 1,param_4)" ( identifier , (subscript_expression "param_4[iVar6 + 1]" identifier [ (binary_expression "iVar6 + 1" identifier + number_literal) ]) , (binary_expression "param_3 + 1" identifier + number_literal) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n              return 0;\n            }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n              return 0;\n            }" { (return_statement "return 0;" return number_literal ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar4 = *piVar5;" (assignment_expression "iVar4 = *piVar5" identifier = (pointer_expression "*piVar5" * identifier)) ;) (expression_statement "iVar6 = iVar6 + 2;" (assignment_expression "iVar6 = iVar6 + 2" identifier = (binary_expression "iVar6 + 2" identifier + number_literal)) ;) (expression_statement "piVar5 = piVar5 + 2;" (assignment_expression "piVar5 = piVar5 + 2" identifier = (binary_expression "piVar5 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) })) })) (expression_statement "cVar1 = *pcVar2;" (assignment_expression "cVar1 = *pcVar2" identifier = (pointer_expression "*pcVar2" * identifier)) ;) (expression_statement "pcVar2 = pcVar2 + 1;" (assignment_expression "pcVar2 = pcVar2 + 1" identifier = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "MagickBooleanType ValidateEntities(char *tag,char *xml,size_t depth,char **entities)\n\n{\n  char cVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  MagickBooleanType MVar6;\n  char *pcVar7;\n  char **ppcVar8;\n  \n  if (depth == 0x259) {\n    return MagickFalse;\n  }\n  cVar1 = *xml;\n  pcVar2 = xml + 1;\n  do {\n    if (cVar1 == '\0') {\n      return MagickTrue;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(tag);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,tag,uVar3);\n      if (iVar4 == 0) {\n        return MagickFalse;\n      }\n      pcVar7 = *entities;\n      if (pcVar7 != (char *)0x0) {\n        iVar4 = 0;\n        ppcVar8 = entities + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(pcVar7);\n          iVar5 = (*(code *)PTR_strncmp_003a8e0c)(pcVar7,pcVar2,uVar3);\n          if (iVar5 != 0) {\n            MVar6 = ValidateEntities(tag,entities[iVar4 + 1],depth + 1,entities);\n            if (MVar6 == MagickFalse) {\n              return MagickFalse;\n            }\n            break;\n          }\n          pcVar7 = *ppcVar8;\n          iVar4 = iVar4 + 2;\n          ppcVar8 = ppcVar8 + 2;\n        } while (pcVar7 != (char *)0x0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  } while( true );\n}\n\n" (function_definition "MagickBooleanType ValidateEntities(char *tag,char *xml,size_t depth,char **entities)\n\n{\n  char cVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  MagickBooleanType MVar6;\n  char *pcVar7;\n  char **ppcVar8;\n  \n  if (depth == 0x259) {\n    return MagickFalse;\n  }\n  cVar1 = *xml;\n  pcVar2 = xml + 1;\n  do {\n    if (cVar1 == '\0') {\n      return MagickTrue;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(tag);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,tag,uVar3);\n      if (iVar4 == 0) {\n        return MagickFalse;\n      }\n      pcVar7 = *entities;\n      if (pcVar7 != (char *)0x0) {\n        iVar4 = 0;\n        ppcVar8 = entities + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(pcVar7);\n          iVar5 = (*(code *)PTR_strncmp_003a8e0c)(pcVar7,pcVar2,uVar3);\n          if (iVar5 != 0) {\n            MVar6 = ValidateEntities(tag,entities[iVar4 + 1],depth + 1,entities);\n            if (MVar6 == MagickFalse) {\n              return MagickFalse;\n            }\n            break;\n          }\n          pcVar7 = *ppcVar8;\n          iVar4 = iVar4 + 2;\n          ppcVar8 = ppcVar8 + 2;\n        } while (pcVar7 != (char *)0x0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  } while( true );\n}" type_identifier (function_declarator "ValidateEntities(char *tag,char *xml,size_t depth,char **entities)" identifier (parameter_list "(char *tag,char *xml,size_t depth,char **entities)" ( (parameter_declaration "char *tag" primitive_type (pointer_declarator "*tag" * identifier)) , (parameter_declaration "char *xml" primitive_type (pointer_declarator "*xml" * identifier)) , (parameter_declaration "size_t depth" primitive_type identifier) , (parameter_declaration "char **entities" primitive_type (pointer_declarator "**entities" * (pointer_declarator "*entities" * identifier))) ))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  MagickBooleanType MVar6;\n  char *pcVar7;\n  char **ppcVar8;\n  \n  if (depth == 0x259) {\n    return MagickFalse;\n  }\n  cVar1 = *xml;\n  pcVar2 = xml + 1;\n  do {\n    if (cVar1 == '\0') {\n      return MagickTrue;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(tag);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,tag,uVar3);\n      if (iVar4 == 0) {\n        return MagickFalse;\n      }\n      pcVar7 = *entities;\n      if (pcVar7 != (char *)0x0) {\n        iVar4 = 0;\n        ppcVar8 = entities + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(pcVar7);\n          iVar5 = (*(code *)PTR_strncmp_003a8e0c)(pcVar7,pcVar2,uVar3);\n          if (iVar5 != 0) {\n            MVar6 = ValidateEntities(tag,entities[iVar4 + 1],depth + 1,entities);\n            if (MVar6 == MagickFalse) {\n              return MagickFalse;\n            }\n            break;\n          }\n          pcVar7 = *ppcVar8;\n          iVar4 = iVar4 + 2;\n          ppcVar8 = ppcVar8 + 2;\n        } while (pcVar7 != (char *)0x0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "MagickBooleanType MVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "char **ppcVar8;" primitive_type (pointer_declarator "**ppcVar8" * (pointer_declarator "*ppcVar8" * identifier)) ;) (if_statement "if (depth == 0x259) {\n    return MagickFalse;\n  }" if (parenthesized_expression "(depth == 0x259)" ( (binary_expression "depth == 0x259" identifier == number_literal) )) (compound_statement "{\n    return MagickFalse;\n  }" { (return_statement "return MagickFalse;" return identifier ;) })) (expression_statement "cVar1 = *xml;" (assignment_expression "cVar1 = *xml" identifier = (pointer_expression "*xml" * identifier)) ;) (expression_statement "pcVar2 = xml + 1;" (assignment_expression "pcVar2 = xml + 1" identifier = (binary_expression "xml + 1" identifier + number_literal)) ;) (do_statement "do {\n    if (cVar1 == '\0') {\n      return MagickTrue;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(tag);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,tag,uVar3);\n      if (iVar4 == 0) {\n        return MagickFalse;\n      }\n      pcVar7 = *entities;\n      if (pcVar7 != (char *)0x0) {\n        iVar4 = 0;\n        ppcVar8 = entities + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(pcVar7);\n          iVar5 = (*(code *)PTR_strncmp_003a8e0c)(pcVar7,pcVar2,uVar3);\n          if (iVar5 != 0) {\n            MVar6 = ValidateEntities(tag,entities[iVar4 + 1],depth + 1,entities);\n            if (MVar6 == MagickFalse) {\n              return MagickFalse;\n            }\n            break;\n          }\n          pcVar7 = *ppcVar8;\n          iVar4 = iVar4 + 2;\n          ppcVar8 = ppcVar8 + 2;\n        } while (pcVar7 != (char *)0x0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  } while( true );" do (compound_statement "{\n    if (cVar1 == '\0') {\n      return MagickTrue;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(tag);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,tag,uVar3);\n      if (iVar4 == 0) {\n        return MagickFalse;\n      }\n      pcVar7 = *entities;\n      if (pcVar7 != (char *)0x0) {\n        iVar4 = 0;\n        ppcVar8 = entities + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(pcVar7);\n          iVar5 = (*(code *)PTR_strncmp_003a8e0c)(pcVar7,pcVar2,uVar3);\n          if (iVar5 != 0) {\n            MVar6 = ValidateEntities(tag,entities[iVar4 + 1],depth + 1,entities);\n            if (MVar6 == MagickFalse) {\n              return MagickFalse;\n            }\n            break;\n          }\n          pcVar7 = *ppcVar8;\n          iVar4 = iVar4 + 2;\n          ppcVar8 = ppcVar8 + 2;\n        } while (pcVar7 != (char *)0x0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  }" { (if_statement "if (cVar1 == '\0') {\n      return MagickTrue;\n    }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return MagickTrue;\n    }" { (return_statement "return MagickTrue;" return identifier ;) })) (if_statement "if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(tag);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,tag,uVar3);\n      if (iVar4 == 0) {\n        return MagickFalse;\n      }\n      pcVar7 = *entities;\n      if (pcVar7 != (char *)0x0) {\n        iVar4 = 0;\n        ppcVar8 = entities + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(pcVar7);\n          iVar5 = (*(code *)PTR_strncmp_003a8e0c)(pcVar7,pcVar2,uVar3);\n          if (iVar5 != 0) {\n            MVar6 = ValidateEntities(tag,entities[iVar4 + 1],depth + 1,entities);\n            if (MVar6 == MagickFalse) {\n              return MagickFalse;\n            }\n            break;\n          }\n          pcVar7 = *ppcVar8;\n          iVar4 = iVar4 + 2;\n          ppcVar8 = ppcVar8 + 2;\n        } while (pcVar7 != (char *)0x0);\n      }\n    }" if (parenthesized_expression "(cVar1 == '&')" ( (binary_expression "cVar1 == '&'" identifier == (char_literal "'&'" ' character ')) )) (compound_statement "{\n      uVar3 = (*(code *)PTR_strlen_003a9338)(tag);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,tag,uVar3);\n      if (iVar4 == 0) {\n        return MagickFalse;\n      }\n      pcVar7 = *entities;\n      if (pcVar7 != (char *)0x0) {\n        iVar4 = 0;\n        ppcVar8 = entities + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(pcVar7);\n          iVar5 = (*(code *)PTR_strncmp_003a8e0c)(pcVar7,pcVar2,uVar3);\n          if (iVar5 != 0) {\n            MVar6 = ValidateEntities(tag,entities[iVar4 + 1],depth + 1,entities);\n            if (MVar6 == MagickFalse) {\n              return MagickFalse;\n            }\n            break;\n          }\n          pcVar7 = *ppcVar8;\n          iVar4 = iVar4 + 2;\n          ppcVar8 = ppcVar8 + 2;\n        } while (pcVar7 != (char *)0x0);\n      }\n    }" { (expression_statement "uVar3 = (*(code *)PTR_strlen_003a9338)(tag);" (assignment_expression "uVar3 = (*(code *)PTR_strlen_003a9338)(tag)" identifier = (call_expression "(*(code *)PTR_strlen_003a9338)(tag)" (parenthesized_expression "(*(code *)PTR_strlen_003a9338)" ( (pointer_expression "*(code *)PTR_strlen_003a9338" * (cast_expression "(code *)PTR_strlen_003a9338" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(tag)" ( identifier )))) ;) (expression_statement "iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,tag,uVar3);" (assignment_expression "iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,tag,uVar3)" identifier = (call_expression "(*(code *)PTR_strncmp_003a8e0c)(pcVar2,tag,uVar3)" (parenthesized_expression "(*(code *)PTR_strncmp_003a8e0c)" ( (pointer_expression "*(code *)PTR_strncmp_003a8e0c" * (cast_expression "(code *)PTR_strncmp_003a8e0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar2,tag,uVar3)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n        return MagickFalse;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        return MagickFalse;\n      }" { (return_statement "return MagickFalse;" return identifier ;) })) (expression_statement "pcVar7 = *entities;" (assignment_expression "pcVar7 = *entities" identifier = (pointer_expression "*entities" * identifier)) ;) (if_statement "if (pcVar7 != (char *)0x0) {\n        iVar4 = 0;\n        ppcVar8 = entities + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(pcVar7);\n          iVar5 = (*(code *)PTR_strncmp_003a8e0c)(pcVar7,pcVar2,uVar3);\n          if (iVar5 != 0) {\n            MVar6 = ValidateEntities(tag,entities[iVar4 + 1],depth + 1,entities);\n            if (MVar6 == MagickFalse) {\n              return MagickFalse;\n            }\n            break;\n          }\n          pcVar7 = *ppcVar8;\n          iVar4 = iVar4 + 2;\n          ppcVar8 = ppcVar8 + 2;\n        } while (pcVar7 != (char *)0x0);\n      }" if (parenthesized_expression "(pcVar7 != (char *)0x0)" ( (binary_expression "pcVar7 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar4 = 0;\n        ppcVar8 = entities + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(pcVar7);\n          iVar5 = (*(code *)PTR_strncmp_003a8e0c)(pcVar7,pcVar2,uVar3);\n          if (iVar5 != 0) {\n            MVar6 = ValidateEntities(tag,entities[iVar4 + 1],depth + 1,entities);\n            if (MVar6 == MagickFalse) {\n              return MagickFalse;\n            }\n            break;\n          }\n          pcVar7 = *ppcVar8;\n          iVar4 = iVar4 + 2;\n          ppcVar8 = ppcVar8 + 2;\n        } while (pcVar7 != (char *)0x0);\n      }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "ppcVar8 = entities + 2;" (assignment_expression "ppcVar8 = entities + 2" identifier = (binary_expression "entities + 2" identifier + number_literal)) ;) (do_statement "do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(pcVar7);\n          iVar5 = (*(code *)PTR_strncmp_003a8e0c)(pcVar7,pcVar2,uVar3);\n          if (iVar5 != 0) {\n            MVar6 = ValidateEntities(tag,entities[iVar4 + 1],depth + 1,entities);\n            if (MVar6 == MagickFalse) {\n              return MagickFalse;\n            }\n            break;\n          }\n          pcVar7 = *ppcVar8;\n          iVar4 = iVar4 + 2;\n          ppcVar8 = ppcVar8 + 2;\n        } while (pcVar7 != (char *)0x0);" do (compound_statement "{\n          uVar3 = (*(code *)PTR_strlen_003a9338)(pcVar7);\n          iVar5 = (*(code *)PTR_strncmp_003a8e0c)(pcVar7,pcVar2,uVar3);\n          if (iVar5 != 0) {\n            MVar6 = ValidateEntities(tag,entities[iVar4 + 1],depth + 1,entities);\n            if (MVar6 == MagickFalse) {\n              return MagickFalse;\n            }\n            break;\n          }\n          pcVar7 = *ppcVar8;\n          iVar4 = iVar4 + 2;\n          ppcVar8 = ppcVar8 + 2;\n        }" { (expression_statement "uVar3 = (*(code *)PTR_strlen_003a9338)(pcVar7);" (assignment_expression "uVar3 = (*(code *)PTR_strlen_003a9338)(pcVar7)" identifier = (call_expression "(*(code *)PTR_strlen_003a9338)(pcVar7)" (parenthesized_expression "(*(code *)PTR_strlen_003a9338)" ( (pointer_expression "*(code *)PTR_strlen_003a9338" * (cast_expression "(code *)PTR_strlen_003a9338" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "iVar5 = (*(code *)PTR_strncmp_003a8e0c)(pcVar7,pcVar2,uVar3);" (assignment_expression "iVar5 = (*(code *)PTR_strncmp_003a8e0c)(pcVar7,pcVar2,uVar3)" identifier = (call_expression "(*(code *)PTR_strncmp_003a8e0c)(pcVar7,pcVar2,uVar3)" (parenthesized_expression "(*(code *)PTR_strncmp_003a8e0c)" ( (pointer_expression "*(code *)PTR_strncmp_003a8e0c" * (cast_expression "(code *)PTR_strncmp_003a8e0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar7,pcVar2,uVar3)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar5 != 0) {\n            MVar6 = ValidateEntities(tag,entities[iVar4 + 1],depth + 1,entities);\n            if (MVar6 == MagickFalse) {\n              return MagickFalse;\n            }\n            break;\n          }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n            MVar6 = ValidateEntities(tag,entities[iVar4 + 1],depth + 1,entities);\n            if (MVar6 == MagickFalse) {\n              return MagickFalse;\n            }\n            break;\n          }" { (expression_statement "MVar6 = ValidateEntities(tag,entities[iVar4 + 1],depth + 1,entities);" (assignment_expression "MVar6 = ValidateEntities(tag,entities[iVar4 + 1],depth + 1,entities)" identifier = (call_expression "ValidateEntities(tag,entities[iVar4 + 1],depth + 1,entities)" identifier (argument_list "(tag,entities[iVar4 + 1],depth + 1,entities)" ( identifier , (subscript_expression "entities[iVar4 + 1]" identifier [ (binary_expression "iVar4 + 1" identifier + number_literal) ]) , (binary_expression "depth + 1" identifier + number_literal) , identifier )))) ;) (if_statement "if (MVar6 == MagickFalse) {\n              return MagickFalse;\n            }" if (parenthesized_expression "(MVar6 == MagickFalse)" ( (binary_expression "MVar6 == MagickFalse" identifier == identifier) )) (compound_statement "{\n              return MagickFalse;\n            }" { (return_statement "return MagickFalse;" return identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "pcVar7 = *ppcVar8;" (assignment_expression "pcVar7 = *ppcVar8" identifier = (pointer_expression "*ppcVar8" * identifier)) ;) (expression_statement "iVar4 = iVar4 + 2;" (assignment_expression "iVar4 = iVar4 + 2" identifier = (binary_expression "iVar4 + 2" identifier + number_literal)) ;) (expression_statement "ppcVar8 = ppcVar8 + 2;" (assignment_expression "ppcVar8 = ppcVar8 + 2" identifier = (binary_expression "ppcVar8 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(pcVar7 != (char *)0x0)" ( (binary_expression "pcVar7 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) })) (expression_statement "cVar1 = *pcVar2;" (assignment_expression "cVar1 = *pcVar2" identifier = (pointer_expression "*pcVar2" * identifier)) ;) (expression_statement "pcVar2 = pcVar2 + 1;" (assignment_expression "pcVar2 = pcVar2 + 1" identifier = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "undefined4 FUN_001e9cbc(undefined4 param_1,char *param_2,int param_3,int *param_4)\n\n{\n  char cVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  \n  if (param_3 == 0x259) {\n    return 0;\n  }\n  cVar1 = *param_2;\n  pcVar2 = param_2 + 1;\n  do {\n    if (cVar1 == '\0') {\n      return 1;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  } while( true );\n}\n\n" (function_definition "undefined4 FUN_001e9cbc(undefined4 param_1,char *param_2,int param_3,int *param_4)\n\n{\n  char cVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  \n  if (param_3 == 0x259) {\n    return 0;\n  }\n  cVar1 = *param_2;\n  pcVar2 = param_2 + 1;\n  do {\n    if (cVar1 == '\0') {\n      return 1;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  } while( true );\n}" type_identifier (function_declarator "FUN_001e9cbc(undefined4 param_1,char *param_2,int param_3,int *param_4)" identifier (parameter_list "(undefined4 param_1,char *param_2,int param_3,int *param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  \n  if (param_3 == 0x259) {\n    return 0;\n  }\n  cVar1 = *param_2;\n  pcVar2 = param_2 + 1;\n  do {\n    if (cVar1 == '\0') {\n      return 1;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (if_statement "if (param_3 == 0x259) {\n    return 0;\n  }" if (parenthesized_expression "(param_3 == 0x259)" ( (binary_expression "param_3 == 0x259" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "cVar1 = *param_2;" (assignment_expression "cVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "pcVar2 = param_2 + 1;" (assignment_expression "pcVar2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (do_statement "do {\n    if (cVar1 == '\0') {\n      return 1;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  } while( true );" do (compound_statement "{\n    if (cVar1 == '\0') {\n      return 1;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  }" { (if_statement "if (cVar1 == '\0') {\n      return 1;\n    }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }" if (parenthesized_expression "(cVar1 == '&')" ( (binary_expression "cVar1 == '&'" identifier == (char_literal "'&'" ' character ')) )) (compound_statement "{\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }" { (expression_statement "uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);" (assignment_expression "uVar3 = (*(code *)PTR_strlen_003a9338)(param_1)" identifier = (call_expression "(*(code *)PTR_strlen_003a9338)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_003a9338)" ( (pointer_expression "*(code *)PTR_strlen_003a9338" * (cast_expression "(code *)PTR_strlen_003a9338" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);" (assignment_expression "iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3)" identifier = (call_expression "(*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3)" (parenthesized_expression "(*(code *)PTR_strncmp_003a8e0c)" ( (pointer_expression "*(code *)PTR_strncmp_003a8e0c" * (cast_expression "(code *)PTR_strncmp_003a8e0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar2,param_1,uVar3)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n        return 0;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = *param_4;" (assignment_expression "iVar4 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (if_statement "if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "piVar5 = param_4 + 2;" (assignment_expression "piVar5 = param_4 + 2" identifier = (binary_expression "param_4 + 2" identifier + number_literal)) ;) (do_statement "do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);" do (compound_statement "{\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        }" { (expression_statement "uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);" (assignment_expression "uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4)" identifier = (call_expression "(*(code *)PTR_strlen_003a9338)(iVar4)" (parenthesized_expression "(*(code *)PTR_strlen_003a9338)" ( (pointer_expression "*(code *)PTR_strlen_003a9338" * (cast_expression "(code *)PTR_strlen_003a9338" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);" (assignment_expression "iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3)" identifier = (call_expression "(*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3)" (parenthesized_expression "(*(code *)PTR_strncmp_003a8e0c)" ( (pointer_expression "*(code *)PTR_strncmp_003a8e0c" * (cast_expression "(code *)PTR_strncmp_003a8e0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,pcVar2,uVar3)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }" { (expression_statement "iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);" (assignment_expression "iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4)" identifier = (call_expression "FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4)" identifier (argument_list "(param_1,param_4[iVar6 + 1],param_3 + 1,param_4)" ( identifier , (subscript_expression "param_4[iVar6 + 1]" identifier [ (binary_expression "iVar6 + 1" identifier + number_literal) ]) , (binary_expression "param_3 + 1" identifier + number_literal) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n              return 0;\n            }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n              return 0;\n            }" { (return_statement "return 0;" return number_literal ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar4 = *piVar5;" (assignment_expression "iVar4 = *piVar5" identifier = (pointer_expression "*piVar5" * identifier)) ;) (expression_statement "iVar6 = iVar6 + 2;" (assignment_expression "iVar6 = iVar6 + 2" identifier = (binary_expression "iVar6 + 2" identifier + number_literal)) ;) (expression_statement "piVar5 = piVar5 + 2;" (assignment_expression "piVar5 = piVar5 + 2" identifier = (binary_expression "piVar5 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) })) })) (expression_statement "cVar1 = *pcVar2;" (assignment_expression "cVar1 = *pcVar2" identifier = (pointer_expression "*pcVar2" * identifier)) ;) (expression_statement "pcVar2 = pcVar2 + 1;" (assignment_expression "pcVar2 = pcVar2 + 1" identifier = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) , (binary_expression IDENT + LIT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "undefined4 FUN_001e9cbc(undefined4 param_1,char *param_2,int param_3,int *param_4)\n\n{\n  char cVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  \n  if (param_3 == 0x259) {\n    return 0;\n  }\n  cVar1 = *param_2;\n  pcVar2 = param_2 + 1;\n  do {\n    if (cVar1 == '\0') {\n      return 1;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  } while( true );\n}" (type_identifier "undefined4") (function_declarator "FUN_001e9cbc(undefined4 param_1,char *param_2,int param_3,int *param_4)" (identifier "FUN_001e9cbc") (parameter_list "(undefined4 param_1,char *param_2,int param_3,int *param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int *param_4" (primitive_type "int") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  \n  if (param_3 == 0x259) {\n    return 0;\n  }\n  cVar1 = *param_2;\n  pcVar2 = param_2 + 1;\n  do {\n    if (cVar1 == '\0') {\n      return 1;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  } while( true );\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (if_statement "if (param_3 == 0x259) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_3 == 0x259)" (( "(") (binary_expression "param_3 == 0x259" (identifier "param_3") (== "==") (number_literal "0x259")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "cVar1 = *param_2;" (assignment_expression "cVar1 = *param_2" (identifier "cVar1") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "pcVar2 = param_2 + 1;" (assignment_expression "pcVar2 = param_2 + 1" (identifier "pcVar2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (do_statement "do {\n    if (cVar1 == '\0') {\n      return 1;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  } while( true );" (do "do") (compound_statement "{\n    if (cVar1 == '\0') {\n      return 1;\n    }\n    if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }\n    cVar1 = *pcVar2;\n    pcVar2 = pcVar2 + 1;\n  }" ({ "{") (if_statement "if (cVar1 == '\0') {\n      return 1;\n    }" (if "if") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if (cVar1 == '&') {\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }" (if "if") (parenthesized_expression "(cVar1 == '&')" (( "(") (binary_expression "cVar1 == '&'" (identifier "cVar1") (== "==") (char_literal "'&'" (' "'") (character "&") (' "'"))) () ")")) (compound_statement "{\n      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);\n      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);\n      if (iVar4 == 0) {\n        return 0;\n      }\n      iVar4 = *param_4;\n      if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }\n    }" ({ "{") (expression_statement "uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);" (assignment_expression "uVar3 = (*(code *)PTR_strlen_003a9338)(param_1)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_strlen_003a9338)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_003a9338)" (( "(") (pointer_expression "*(code *)PTR_strlen_003a9338" (* "*") (cast_expression "(code *)PTR_strlen_003a9338" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_003a9338"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);" (assignment_expression "iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3)" (parenthesized_expression "(*(code *)PTR_strncmp_003a8e0c)" (( "(") (pointer_expression "*(code *)PTR_strncmp_003a8e0c" (* "*") (cast_expression "(code *)PTR_strncmp_003a8e0c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncmp_003a8e0c"))) () ")")) (argument_list "(pcVar2,param_1,uVar3)" (( "(") (identifier "pcVar2") (, ",") (identifier "param_1") (, ",") (identifier "uVar3") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar4 = *param_4;" (assignment_expression "iVar4 = *param_4" (identifier "iVar4") (= "=") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (; ";")) (if_statement "if (iVar4 != 0) {\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar6 = 0;\n        piVar5 = param_4 + 2;\n        do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);\n      }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar5 = param_4 + 2;" (assignment_expression "piVar5 = param_4 + 2" (identifier "piVar5") (= "=") (binary_expression "param_4 + 2" (identifier "param_4") (+ "+") (number_literal "2"))) (; ";")) (do_statement "do {\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        } while (iVar4 != 0);" (do "do") (compound_statement "{\n          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);\n          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);\n          if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }\n          iVar4 = *piVar5;\n          iVar6 = iVar6 + 2;\n          piVar5 = piVar5 + 2;\n        }" ({ "{") (expression_statement "uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);" (assignment_expression "uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_strlen_003a9338)(iVar4)" (parenthesized_expression "(*(code *)PTR_strlen_003a9338)" (( "(") (pointer_expression "*(code *)PTR_strlen_003a9338" (* "*") (cast_expression "(code *)PTR_strlen_003a9338" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_003a9338"))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);" (assignment_expression "iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3)" (parenthesized_expression "(*(code *)PTR_strncmp_003a8e0c)" (( "(") (pointer_expression "*(code *)PTR_strncmp_003a8e0c" (* "*") (cast_expression "(code *)PTR_strncmp_003a8e0c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncmp_003a8e0c"))) () ")")) (argument_list "(iVar4,pcVar2,uVar3)" (( "(") (identifier "iVar4") (, ",") (identifier "pcVar2") (, ",") (identifier "uVar3") () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);\n            if (iVar4 == 0) {\n              return 0;\n            }\n            break;\n          }" ({ "{") (expression_statement "iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);" (assignment_expression "iVar4 = FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4)" (identifier "iVar4") (= "=") (call_expression "FUN_001e9cbc(param_1,param_4[iVar6 + 1],param_3 + 1,param_4)" (identifier "FUN_001e9cbc") (argument_list "(param_1,param_4[iVar6 + 1],param_3 + 1,param_4)" (( "(") (identifier "param_1") (, ",") (subscript_expression "param_4[iVar6 + 1]" (identifier "param_4") ([ "[") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1")) (] "]")) (, ",") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1")) (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n              return 0;\n            }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              return 0;\n            }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "iVar4 = *piVar5;" (assignment_expression "iVar4 = *piVar5" (identifier "iVar4") (= "=") (pointer_expression "*piVar5" (* "*") (identifier "piVar5"))) (; ";")) (expression_statement "iVar6 = iVar6 + 2;" (assignment_expression "iVar6 = iVar6 + 2" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 2" (identifier "iVar6") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "piVar5 = piVar5 + 2;" (assignment_expression "piVar5 = piVar5 + 2" (identifier "piVar5") (= "=") (binary_expression "piVar5 + 2" (identifier "piVar5") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (} "}"))) (expression_statement "cVar1 = *pcVar2;" (assignment_expression "cVar1 = *pcVar2" (identifier "cVar1") (= "=") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2"))) (; ";")) (expression_statement "pcVar2 = pcVar2 + 1;" (assignment_expression "pcVar2 = pcVar2 + 1" (identifier "pcVar2") (= "=") (binary_expression "pcVar2 + 1" (identifier "pcVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

type_1 function_1(char *tag,char *var_2,size_t var_1,char **var_6)

{
  char var_3;
  char *var_11;
  type_2 uVar3;
  int var_4;
  int var_7;
  type_1 var_8;
  char *var_5;
  char **var_10;
  
  if (var_1 == 0x259) {
    return var_9;
  }
  var_3 = *var_2;
  var_11 = var_2 + 1;
  do {
    if (var_3 == '\0') {
      return MagickTrue;
    }
    if (var_3 == '&') {
      uVar3 = (*(type_3 *)PTR_strlen_003a9338)(tag);
      var_4 = (*(type_3 *)PTR_strncmp_003a8e0c)(var_11,tag,uVar3);
      if (var_4 == 0) {
        return var_9;
      }
      var_5 = *var_6;
      if (var_5 != (char *)0x0) {
        var_4 = 0;
        var_10 = var_6 + 2;
        do {
          uVar3 = (*(type_3 *)PTR_strlen_003a9338)(var_5);
          var_7 = (*(type_3 *)PTR_strncmp_003a8e0c)(var_5,var_11,uVar3);
          if (var_7 != 0) {
            var_8 = function_1(tag,var_6[var_4 + 1],var_1 + 1,var_6);
            if (var_8 == var_9) {
              return var_9;
            }
            break;
          }
          var_5 = *var_10;
          var_4 = var_4 + 2;
          var_10 = var_10 + 2;
        } while (var_5 != (char *)0x0);
      }
    }
    var_3 = *var_11;
    var_11 = var_11 + 1;
  } while( true );
}


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

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

{
  char cVar1;
  char *pcVar2;
  undefined4 uVar3;
  int iVar4;
  int *piVar5;
  int iVar6;
  
  if (param_3 == 0x259) {
    return 0;
  }
  cVar1 = *param_2;
  pcVar2 = param_2 + 1;
  do {
    if (cVar1 == '\0') {
      return 1;
    }
    if (cVar1 == '&') {
      uVar3 = (*(code *)PTR_strlen_003a9338)(param_1);
      iVar4 = (*(code *)PTR_strncmp_003a8e0c)(pcVar2,param_1,uVar3);
      if (iVar4 == 0) {
        return 0;
      }
      iVar4 = *param_4;
      if (iVar4 != 0) {
        iVar6 = 0;
        piVar5 = param_4 + 2;
        do {
          uVar3 = (*(code *)PTR_strlen_003a9338)(iVar4);
          iVar4 = (*(code *)PTR_strncmp_003a8e0c)(iVar4,pcVar2,uVar3);
          if (iVar4 != 0) {
            iVar4 = MASKED(param_1,param_4[iVar6 + 1],param_3 + 1,param_4);
            if (iVar4 == 0) {
              return 0;
            }
            break;
          }
          iVar4 = *piVar5;
          iVar6 = iVar6 + 2;
          piVar5 = piVar5 + 2;
        } while (iVar4 != 0);
      }
    }
    cVar1 = *pcVar2;
    pcVar2 = pcVar2 + 1;
  } while( true );
}

