
MagickBooleanType IsPS(uchar *magick,size_t length)

{
  MagickBooleanType MVar1;
  
  MVar1 = MagickFalse;
  if (3 < length) {
    MVar1 = MagickTrue;
    if (*(short *)magick != 0x2125) {
      if ((*(short *)magick == 0x2504) && (magick[2] == '!')) {
        MVar1 = MagickFalse;
      }
      else {
        MVar1 = MagickTrue;
      }
      MVar1 = MVar1 ^ MagickTrue;
    }
  }
  return MVar1;
}



uint FUN_002557b0(short *param_1,uint param_2)

{
  uint uVar1;
  
  uVar1 = 0;
  if (3 < param_2) {
    uVar1 = 1;
    if (*param_1 != 0x2125) {
      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {
        uVar1 = 0;
      }
      else {
        uVar1 = 1;
      }
      uVar1 = uVar1 ^ 1;
    }
  }
  return uVar1;
}


XOR EAX,EAX
CMP dword ptr [ESP + 0x8],0x3
JBE 0x002557d8
MOV EDX,dword ptr [ESP + 0x4]
MOV EAX,0x1
CMP word ptr [EDX],0x2125
JZ 0x002557d8
CMP word ptr [EDX],0x2504
JZ 0x002557e0
MOV EAX,0x1
XOR EAX,0x1
RET
CMP byte ptr [EDX + 0x2],0x21
JNZ 0x002557d0
XOR EAX,EAX
JMP 0x002557d5
(translation_unit "uint FUN_002557b0(short *param_1,uint param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (3 < param_2) {\n    uVar1 = 1;\n    if (*param_1 != 0x2125) {\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_002557b0(short *param_1,uint param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (3 < param_2) {\n    uVar1 = 1;\n    if (*param_1 != 0x2125) {\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_002557b0(short *param_1,uint param_2)" identifier (parameter_list "(short *param_1,uint param_2)" ( (parameter_declaration "short *param_1" (sized_type_specifier "short" short) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (3 < param_2) {\n    uVar1 = 1;\n    if (*param_1 != 0x2125) {\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (3 < param_2) {\n    uVar1 = 1;\n    if (*param_1 != 0x2125) {\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }\n  }" if (parenthesized_expression "(3 < param_2)" ( (binary_expression "3 < param_2" number_literal < identifier) )) (compound_statement "{\n    uVar1 = 1;\n    if (*param_1 != 0x2125) {\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }\n  }" { (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (if_statement "if (*param_1 != 0x2125) {\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }" if (parenthesized_expression "(*param_1 != 0x2125)" ( (binary_expression "*param_1 != 0x2125" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }" { (if_statement "if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }" if (parenthesized_expression "((*param_1 == 0x2504) && ((char)param_1[1] == '!'))" ( (binary_expression "(*param_1 == 0x2504) && ((char)param_1[1] == '!')" (parenthesized_expression "(*param_1 == 0x2504)" ( (binary_expression "*param_1 == 0x2504" (pointer_expression "*param_1" * identifier) == number_literal) )) && (parenthesized_expression "((char)param_1[1] == '!')" ( (binary_expression "(char)param_1[1] == '!'" (cast_expression "(char)param_1[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) == (char_literal "'!'" ' character ')) ))) )) (compound_statement "{\n        uVar1 = 0;\n      }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        uVar1 = 1;\n      }" else (compound_statement "{\n        uVar1 = 1;\n      }" { (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) }))) (expression_statement "uVar1 = uVar1 ^ 1;" (assignment_expression "uVar1 = uVar1 ^ 1" identifier = (binary_expression "uVar1 ^ 1" identifier ^ number_literal)) ;) })) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "MagickBooleanType IsPS(uchar *magick,size_t length)\n\n{\n  MagickBooleanType MVar1;\n  \n  MVar1 = MagickFalse;\n  if (3 < length) {\n    MVar1 = MagickTrue;\n    if (*(short *)magick != 0x2125) {\n      if ((*(short *)magick == 0x2504) && (magick[2] == '!')) {\n        MVar1 = MagickFalse;\n      }\n      else {\n        MVar1 = MagickTrue;\n      }\n      MVar1 = MVar1 ^ MagickTrue;\n    }\n  }\n  return MVar1;\n}\n\n" (function_definition "MagickBooleanType IsPS(uchar *magick,size_t length)\n\n{\n  MagickBooleanType MVar1;\n  \n  MVar1 = MagickFalse;\n  if (3 < length) {\n    MVar1 = MagickTrue;\n    if (*(short *)magick != 0x2125) {\n      if ((*(short *)magick == 0x2504) && (magick[2] == '!')) {\n        MVar1 = MagickFalse;\n      }\n      else {\n        MVar1 = MagickTrue;\n      }\n      MVar1 = MVar1 ^ MagickTrue;\n    }\n  }\n  return MVar1;\n}" type_identifier (function_declarator "IsPS(uchar *magick,size_t length)" identifier (parameter_list "(uchar *magick,size_t length)" ( (parameter_declaration "uchar *magick" type_identifier (pointer_declarator "*magick" * identifier)) , (parameter_declaration "size_t length" primitive_type identifier) ))) (compound_statement "{\n  MagickBooleanType MVar1;\n  \n  MVar1 = MagickFalse;\n  if (3 < length) {\n    MVar1 = MagickTrue;\n    if (*(short *)magick != 0x2125) {\n      if ((*(short *)magick == 0x2504) && (magick[2] == '!')) {\n        MVar1 = MagickFalse;\n      }\n      else {\n        MVar1 = MagickTrue;\n      }\n      MVar1 = MVar1 ^ MagickTrue;\n    }\n  }\n  return MVar1;\n}" { (declaration "MagickBooleanType MVar1;" type_identifier identifier ;) (expression_statement "MVar1 = MagickFalse;" (assignment_expression "MVar1 = MagickFalse" identifier = identifier) ;) (if_statement "if (3 < length) {\n    MVar1 = MagickTrue;\n    if (*(short *)magick != 0x2125) {\n      if ((*(short *)magick == 0x2504) && (magick[2] == '!')) {\n        MVar1 = MagickFalse;\n      }\n      else {\n        MVar1 = MagickTrue;\n      }\n      MVar1 = MVar1 ^ MagickTrue;\n    }\n  }" if (parenthesized_expression "(3 < length)" ( (binary_expression "3 < length" number_literal < identifier) )) (compound_statement "{\n    MVar1 = MagickTrue;\n    if (*(short *)magick != 0x2125) {\n      if ((*(short *)magick == 0x2504) && (magick[2] == '!')) {\n        MVar1 = MagickFalse;\n      }\n      else {\n        MVar1 = MagickTrue;\n      }\n      MVar1 = MVar1 ^ MagickTrue;\n    }\n  }" { (expression_statement "MVar1 = MagickTrue;" (assignment_expression "MVar1 = MagickTrue" identifier = identifier) ;) (if_statement "if (*(short *)magick != 0x2125) {\n      if ((*(short *)magick == 0x2504) && (magick[2] == '!')) {\n        MVar1 = MagickFalse;\n      }\n      else {\n        MVar1 = MagickTrue;\n      }\n      MVar1 = MVar1 ^ MagickTrue;\n    }" if (parenthesized_expression "(*(short *)magick != 0x2125)" ( (binary_expression "*(short *)magick != 0x2125" (pointer_expression "*(short *)magick" * (cast_expression "(short *)magick" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n      if ((*(short *)magick == 0x2504) && (magick[2] == '!')) {\n        MVar1 = MagickFalse;\n      }\n      else {\n        MVar1 = MagickTrue;\n      }\n      MVar1 = MVar1 ^ MagickTrue;\n    }" { (if_statement "if ((*(short *)magick == 0x2504) && (magick[2] == '!')) {\n        MVar1 = MagickFalse;\n      }\n      else {\n        MVar1 = MagickTrue;\n      }" if (parenthesized_expression "((*(short *)magick == 0x2504) && (magick[2] == '!'))" ( (binary_expression "(*(short *)magick == 0x2504) && (magick[2] == '!')" (parenthesized_expression "(*(short *)magick == 0x2504)" ( (binary_expression "*(short *)magick == 0x2504" (pointer_expression "*(short *)magick" * (cast_expression "(short *)magick" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) && (parenthesized_expression "(magick[2] == '!')" ( (binary_expression "magick[2] == '!'" (subscript_expression "magick[2]" identifier [ number_literal ]) == (char_literal "'!'" ' character ')) ))) )) (compound_statement "{\n        MVar1 = MagickFalse;\n      }" { (expression_statement "MVar1 = MagickFalse;" (assignment_expression "MVar1 = MagickFalse" identifier = identifier) ;) }) (else_clause "else {\n        MVar1 = MagickTrue;\n      }" else (compound_statement "{\n        MVar1 = MagickTrue;\n      }" { (expression_statement "MVar1 = MagickTrue;" (assignment_expression "MVar1 = MagickTrue" identifier = identifier) ;) }))) (expression_statement "MVar1 = MVar1 ^ MagickTrue;" (assignment_expression "MVar1 = MVar1 ^ MagickTrue" identifier = (binary_expression "MVar1 ^ MagickTrue" identifier ^ identifier)) ;) })) })) (return_statement "return MVar1;" return identifier ;) })))
(translation_unit "uint FUN_002557b0(short *param_1,uint param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (3 < param_2) {\n    uVar1 = 1;\n    if (*param_1 != 0x2125) {\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_002557b0(short *param_1,uint param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (3 < param_2) {\n    uVar1 = 1;\n    if (*param_1 != 0x2125) {\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_002557b0(short *param_1,uint param_2)" identifier (parameter_list "(short *param_1,uint param_2)" ( (parameter_declaration "short *param_1" (sized_type_specifier "short" short) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (3 < param_2) {\n    uVar1 = 1;\n    if (*param_1 != 0x2125) {\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (3 < param_2) {\n    uVar1 = 1;\n    if (*param_1 != 0x2125) {\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }\n  }" if (parenthesized_expression "(3 < param_2)" ( (binary_expression "3 < param_2" number_literal < identifier) )) (compound_statement "{\n    uVar1 = 1;\n    if (*param_1 != 0x2125) {\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }\n  }" { (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (if_statement "if (*param_1 != 0x2125) {\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }" if (parenthesized_expression "(*param_1 != 0x2125)" ( (binary_expression "*param_1 != 0x2125" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }" { (if_statement "if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }" if (parenthesized_expression "((*param_1 == 0x2504) && ((char)param_1[1] == '!'))" ( (binary_expression "(*param_1 == 0x2504) && ((char)param_1[1] == '!')" (parenthesized_expression "(*param_1 == 0x2504)" ( (binary_expression "*param_1 == 0x2504" (pointer_expression "*param_1" * identifier) == number_literal) )) && (parenthesized_expression "((char)param_1[1] == '!')" ( (binary_expression "(char)param_1[1] == '!'" (cast_expression "(char)param_1[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) == (char_literal "'!'" ' character ')) ))) )) (compound_statement "{\n        uVar1 = 0;\n      }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        uVar1 = 1;\n      }" else (compound_statement "{\n        uVar1 = 1;\n      }" { (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) }))) (expression_statement "uVar1 = uVar1 ^ 1;" (assignment_expression "uVar1 = uVar1 ^ 1" identifier = (binary_expression "uVar1 ^ 1" identifier ^ number_literal)) ;) })) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier short) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) == (char_literal ' character ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT ^ LIT)) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_002557b0(short *param_1,uint param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (3 < param_2) {\n    uVar1 = 1;\n    if (*param_1 != 0x2125) {\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }\n  }\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "FUN_002557b0(short *param_1,uint param_2)" (identifier "FUN_002557b0") (parameter_list "(short *param_1,uint param_2)" (( "(") (parameter_declaration "short *param_1" (sized_type_specifier "short" (short "short")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (3 < param_2) {\n    uVar1 = 1;\n    if (*param_1 != 0x2125) {\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }\n  }\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (if_statement "if (3 < param_2) {\n    uVar1 = 1;\n    if (*param_1 != 0x2125) {\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }\n  }" (if "if") (parenthesized_expression "(3 < param_2)" (( "(") (binary_expression "3 < param_2" (number_literal "3") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n    uVar1 = 1;\n    if (*param_1 != 0x2125) {\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }\n  }" ({ "{") (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" (identifier "uVar1") (= "=") (number_literal "1")) (; ";")) (if_statement "if (*param_1 != 0x2125) {\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }" (if "if") (parenthesized_expression "(*param_1 != 0x2125)" (( "(") (binary_expression "*param_1 != 0x2125" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0x2125")) () ")")) (compound_statement "{\n      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }\n      uVar1 = uVar1 ^ 1;\n    }" ({ "{") (if_statement "if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {\n        uVar1 = 0;\n      }\n      else {\n        uVar1 = 1;\n      }" (if "if") (parenthesized_expression "((*param_1 == 0x2504) && ((char)param_1[1] == '!'))" (( "(") (binary_expression "(*param_1 == 0x2504) && ((char)param_1[1] == '!')" (parenthesized_expression "(*param_1 == 0x2504)" (( "(") (binary_expression "*param_1 == 0x2504" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0x2504")) () ")")) (&& "&&") (parenthesized_expression "((char)param_1[1] == '!')" (( "(") (binary_expression "(char)param_1[1] == '!'" (cast_expression "(char)param_1[1]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (== "==") (char_literal "'!'" (' "'") (character "!") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        uVar1 = 0;\n      }" ({ "{") (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        uVar1 = 1;\n      }" (else "else") (compound_statement "{\n        uVar1 = 1;\n      }" ({ "{") (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" (identifier "uVar1") (= "=") (number_literal "1")) (; ";")) (} "}")))) (expression_statement "uVar1 = uVar1 ^ 1;" (assignment_expression "uVar1 = uVar1 ^ 1" (identifier "uVar1") (= "=") (binary_expression "uVar1 ^ 1" (identifier "uVar1") (^ "^") (number_literal "1"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

type_1 function_1(type_2 *magick,size_t var_1)

{
  type_1 var_2;
  
  var_2 = MagickFalse;
  if (3 < var_1) {
    var_2 = var_3;
    if (*(short *)magick != 0x2125) {
      if ((*(short *)magick == 0x2504) && (magick[2] == '!')) {
        var_2 = MagickFalse;
      }
      else {
        var_2 = var_3;
      }
      var_2 = var_2 ^ var_3;
    }
  }
  return var_2;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (char_literal (character)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (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)))))))) (return_statement (identifier)))))

uint MASKED(short *param_1,uint param_2)

{
  uint uVar1;
  
  uVar1 = 0;
  if (3 < param_2) {
    uVar1 = 1;
    if (*param_1 != 0x2125) {
      if ((*param_1 == 0x2504) && ((char)param_1[1] == '!')) {
        uVar1 = 0;
      }
      else {
        uVar1 = 1;
      }
      uVar1 = uVar1 ^ 1;
    }
  }
  return uVar1;
}

