
MagickBooleanType IsXBM(uchar *magick,size_t length)

{
  MagickBooleanType MVar1;
  
  MVar1 = MagickFalse;
  if (6 < length) {
    if (((*(int *)magick == 0x66656423) && (*(short *)(magick + 4) == 0x6e69)) && (magick[6] == 'e')
       ) {
      MVar1 = MagickFalse;
    }
    else {
      MVar1 = MagickTrue;
    }
    MVar1 = MVar1 ^ MagickTrue;
  }
  return MVar1;
}



uint FUN_00292870(int *param_1,uint param_2)

{
  uint uVar1;
  
  uVar1 = 0;
  if (6 < param_2) {
    if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&
       (*(char *)((int)param_1 + 6) == 'e')) {
      uVar1 = 0;
    }
    else {
      uVar1 = 1;
    }
    uVar1 = uVar1 ^ 1;
  }
  return uVar1;
}


XOR EAX,EAX
CMP dword ptr [ESP + 0x8],0x6
JBE 0x0029288d
MOV EAX,dword ptr [ESP + 0x4]
CMP dword ptr [EAX],0x66656423
JZ 0x00292890
MOV EAX,0x1
XOR EAX,0x1
RET
CMP word ptr [EAX + 0x4],0x6e69
JNZ 0x00292885
CMP byte ptr [EAX + 0x6],0x65
JNZ 0x00292885
XOR EAX,EAX
JMP 0x0029288a
(translation_unit "uint FUN_00292870(int *param_1,uint param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (6 < param_2) {\n    if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = 1;\n    }\n    uVar1 = uVar1 ^ 1;\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_00292870(int *param_1,uint param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (6 < param_2) {\n    if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = 1;\n    }\n    uVar1 = uVar1 ^ 1;\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00292870(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (6 < param_2) {\n    if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = 1;\n    }\n    uVar1 = uVar1 ^ 1;\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 (6 < param_2) {\n    if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = 1;\n    }\n    uVar1 = uVar1 ^ 1;\n  }" if (parenthesized_expression "(6 < param_2)" ( (binary_expression "6 < param_2" number_literal < identifier) )) (compound_statement "{\n    if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = 1;\n    }\n    uVar1 = uVar1 ^ 1;\n  }" { (if_statement "if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = 1;\n    }" if (parenthesized_expression "(((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e'))" ( (binary_expression "((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')" (parenthesized_expression "((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69))" ( (binary_expression "(*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)" (parenthesized_expression "(*param_1 == 0x66656423)" ( (binary_expression "*param_1 == 0x66656423" (pointer_expression "*param_1" * identifier) == number_literal) )) && (parenthesized_expression "((short)param_1[1] == 0x6e69)" ( (binary_expression "(short)param_1[1] == 0x6e69" (cast_expression "(short)param_1[1]" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) == number_literal) ))) )) && (parenthesized_expression "(*(char *)((int)param_1 + 6) == 'e')" ( (binary_expression "*(char *)((int)param_1 + 6) == 'e'" (pointer_expression "*(char *)((int)param_1 + 6)" * (cast_expression "(char *)((int)param_1 + 6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 6)" ( (binary_expression "(int)param_1 + 6" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'e'" ' 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 IsXBM(uchar *magick,size_t length)\n\n{\n  MagickBooleanType MVar1;\n  \n  MVar1 = MagickFalse;\n  if (6 < length) {\n    if (((*(int *)magick == 0x66656423) && (*(short *)(magick + 4) == 0x6e69)) && (magick[6] == 'e')\n       ) {\n      MVar1 = MagickFalse;\n    }\n    else {\n      MVar1 = MagickTrue;\n    }\n    MVar1 = MVar1 ^ MagickTrue;\n  }\n  return MVar1;\n}\n\n" (function_definition "MagickBooleanType IsXBM(uchar *magick,size_t length)\n\n{\n  MagickBooleanType MVar1;\n  \n  MVar1 = MagickFalse;\n  if (6 < length) {\n    if (((*(int *)magick == 0x66656423) && (*(short *)(magick + 4) == 0x6e69)) && (magick[6] == 'e')\n       ) {\n      MVar1 = MagickFalse;\n    }\n    else {\n      MVar1 = MagickTrue;\n    }\n    MVar1 = MVar1 ^ MagickTrue;\n  }\n  return MVar1;\n}" type_identifier (function_declarator "IsXBM(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 (6 < length) {\n    if (((*(int *)magick == 0x66656423) && (*(short *)(magick + 4) == 0x6e69)) && (magick[6] == 'e')\n       ) {\n      MVar1 = MagickFalse;\n    }\n    else {\n      MVar1 = MagickTrue;\n    }\n    MVar1 = MVar1 ^ MagickTrue;\n  }\n  return MVar1;\n}" { (declaration "MagickBooleanType MVar1;" type_identifier identifier ;) (expression_statement "MVar1 = MagickFalse;" (assignment_expression "MVar1 = MagickFalse" identifier = identifier) ;) (if_statement "if (6 < length) {\n    if (((*(int *)magick == 0x66656423) && (*(short *)(magick + 4) == 0x6e69)) && (magick[6] == 'e')\n       ) {\n      MVar1 = MagickFalse;\n    }\n    else {\n      MVar1 = MagickTrue;\n    }\n    MVar1 = MVar1 ^ MagickTrue;\n  }" if (parenthesized_expression "(6 < length)" ( (binary_expression "6 < length" number_literal < identifier) )) (compound_statement "{\n    if (((*(int *)magick == 0x66656423) && (*(short *)(magick + 4) == 0x6e69)) && (magick[6] == 'e')\n       ) {\n      MVar1 = MagickFalse;\n    }\n    else {\n      MVar1 = MagickTrue;\n    }\n    MVar1 = MVar1 ^ MagickTrue;\n  }" { (if_statement "if (((*(int *)magick == 0x66656423) && (*(short *)(magick + 4) == 0x6e69)) && (magick[6] == 'e')\n       ) {\n      MVar1 = MagickFalse;\n    }\n    else {\n      MVar1 = MagickTrue;\n    }" if (parenthesized_expression "(((*(int *)magick == 0x66656423) && (*(short *)(magick + 4) == 0x6e69)) && (magick[6] == 'e')\n       )" ( (binary_expression "((*(int *)magick == 0x66656423) && (*(short *)(magick + 4) == 0x6e69)) && (magick[6] == 'e')" (parenthesized_expression "((*(int *)magick == 0x66656423) && (*(short *)(magick + 4) == 0x6e69))" ( (binary_expression "(*(int *)magick == 0x66656423) && (*(short *)(magick + 4) == 0x6e69)" (parenthesized_expression "(*(int *)magick == 0x66656423)" ( (binary_expression "*(int *)magick == 0x66656423" (pointer_expression "*(int *)magick" * (cast_expression "(int *)magick" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) && (parenthesized_expression "(*(short *)(magick + 4) == 0x6e69)" ( (binary_expression "*(short *)(magick + 4) == 0x6e69" (pointer_expression "*(short *)(magick + 4)" * (cast_expression "(short *)(magick + 4)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(magick + 4)" ( (binary_expression "magick + 4" identifier + number_literal) )))) == number_literal) ))) )) && (parenthesized_expression "(magick[6] == 'e')" ( (binary_expression "magick[6] == 'e'" (subscript_expression "magick[6]" identifier [ number_literal ]) == (char_literal "'e'" ' 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_00292870(int *param_1,uint param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (6 < param_2) {\n    if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = 1;\n    }\n    uVar1 = uVar1 ^ 1;\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_00292870(int *param_1,uint param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (6 < param_2) {\n    if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = 1;\n    }\n    uVar1 = uVar1 ^ 1;\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00292870(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (6 < param_2) {\n    if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = 1;\n    }\n    uVar1 = uVar1 ^ 1;\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 (6 < param_2) {\n    if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = 1;\n    }\n    uVar1 = uVar1 ^ 1;\n  }" if (parenthesized_expression "(6 < param_2)" ( (binary_expression "6 < param_2" number_literal < identifier) )) (compound_statement "{\n    if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = 1;\n    }\n    uVar1 = uVar1 ^ 1;\n  }" { (if_statement "if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = 1;\n    }" if (parenthesized_expression "(((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e'))" ( (binary_expression "((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')" (parenthesized_expression "((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69))" ( (binary_expression "(*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)" (parenthesized_expression "(*param_1 == 0x66656423)" ( (binary_expression "*param_1 == 0x66656423" (pointer_expression "*param_1" * identifier) == number_literal) )) && (parenthesized_expression "((short)param_1[1] == 0x6e69)" ( (binary_expression "(short)param_1[1] == 0x6e69" (cast_expression "(short)param_1[1]" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) == number_literal) ))) )) && (parenthesized_expression "(*(char *)((int)param_1 + 6) == 'e')" ( (binary_expression "*(char *)((int)param_1 + 6) == 'e'" (pointer_expression "*(char *)((int)param_1 + 6)" * (cast_expression "(char *)((int)param_1 + 6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 6)" ( (binary_expression "(int)param_1 + 6" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'e'" ' 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 TYPE (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 { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier short)) ) (subscript_expression IDENT [ LIT ])) == LIT) ))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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_00292870(int *param_1,uint param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (6 < param_2) {\n    if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = 1;\n    }\n    uVar1 = uVar1 ^ 1;\n  }\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "FUN_00292870(int *param_1,uint param_2)" (identifier "FUN_00292870") (parameter_list "(int *param_1,uint param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (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 (6 < param_2) {\n    if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = 1;\n    }\n    uVar1 = uVar1 ^ 1;\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 (6 < param_2) {\n    if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = 1;\n    }\n    uVar1 = uVar1 ^ 1;\n  }" (if "if") (parenthesized_expression "(6 < param_2)" (( "(") (binary_expression "6 < param_2" (number_literal "6") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n    if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = 1;\n    }\n    uVar1 = uVar1 ^ 1;\n  }" ({ "{") (if_statement "if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = 1;\n    }" (if "if") (parenthesized_expression "(((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e'))" (( "(") (binary_expression "((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&\n       (*(char *)((int)param_1 + 6) == 'e')" (parenthesized_expression "((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69))" (( "(") (binary_expression "(*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)" (parenthesized_expression "(*param_1 == 0x66656423)" (( "(") (binary_expression "*param_1 == 0x66656423" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0x66656423")) () ")")) (&& "&&") (parenthesized_expression "((short)param_1[1] == 0x6e69)" (( "(") (binary_expression "(short)param_1[1] == 0x6e69" (cast_expression "(short)param_1[1]" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (== "==") (number_literal "0x6e69")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(char *)((int)param_1 + 6) == 'e')" (( "(") (binary_expression "*(char *)((int)param_1 + 6) == 'e'" (pointer_expression "*(char *)((int)param_1 + 6)" (* "*") (cast_expression "(char *)((int)param_1 + 6)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 6)" (( "(") (binary_expression "(int)param_1 + 6" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "6")) () ")")))) (== "==") (char_literal "'e'" (' "'") (character "e") (' "'"))) () ")"))) () ")")) (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 *var_2,size_t var_1)

{
  type_1 var_3;
  
  var_3 = MagickFalse;
  if (6 < var_1) {
    if (((*(int *)var_2 == 0x66656423) && (*(short *)(var_2 + 4) == 0x6e69)) && (var_2[6] == 'e')
       ) {
      var_3 = MagickFalse;
    }
    else {
      var_3 = var_4;
    }
    var_3 = var_3 ^ var_4;
  }
  return var_3;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) 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 (if_statement condition: (parenthesized_expression (binary_expression left: (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: (sized_type_specifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (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(int *param_1,uint param_2)

{
  uint uVar1;
  
  uVar1 = 0;
  if (6 < param_2) {
    if (((*param_1 == 0x66656423) && ((short)param_1[1] == 0x6e69)) &&
       (*(char *)((int)param_1 + 6) == 'e')) {
      uVar1 = 0;
    }
    else {
      uVar1 = 1;
    }
    uVar1 = uVar1 ^ 1;
  }
  return uVar1;
}

