
MagickBooleanType IsXCF(uchar *magick,size_t length)

{
  int iVar1;
  
  if (7 < length) {
    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(magick,PTR_s_t_to_left_003a88e4 + -0x3674,8);
    return (uint)(iVar1 == 0);
  }
  return MagickFalse;
}



bool FUN_002d1e94(undefined4 param_1,uint param_2)

{
  int iVar1;
  
  if (7 < param_2) {
    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);
    return iVar1 == 0;
  }
  return false;
}


lui gp,0xe
addiu gp,gp,-0x15e4
addu gp,gp,t9
sltiu a1,a1,0x8
bne a1,zero,0x002d1ed8
_lw a1,-0x7fcc(gp)
addiu sp,sp,-0x20
lw t9,-0x7294(gp)
li a2,0x8
sw ra,0x1c(sp)
sw gp,0x10(sp)
jalr t9
_addiu a1,a1,-0x3674
lw ra,0x1c(sp)
sltiu v0,v0,0x1
jr ra
_addiu sp,sp,0x20
jr ra
_or v0,zero,zero
(translation_unit "bool FUN_002d1e94(undefined4 param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if (7 < param_2) {\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return iVar1 == 0;\n  }\n  return false;\n}\n\n" (function_definition "bool FUN_002d1e94(undefined4 param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if (7 < param_2) {\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return iVar1 == 0;\n  }\n  return false;\n}" primitive_type (function_declarator "FUN_002d1e94(undefined4 param_1,uint param_2)" identifier (parameter_list "(undefined4 param_1,uint param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (7 < param_2) {\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return iVar1 == 0;\n  }\n  return false;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (7 < param_2) {\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return iVar1 == 0;\n  }" if (parenthesized_expression "(7 < param_2)" ( (binary_expression "7 < param_2" number_literal < identifier) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return iVar1 == 0;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);" (assignment_expression "iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8)" identifier = (call_expression "(*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8)" (parenthesized_expression "(*(code *)PTR_LocaleNCompare_003a961c)" ( (pointer_expression "*(code *)PTR_LocaleNCompare_003a961c" * (cast_expression "(code *)PTR_LocaleNCompare_003a961c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8)" ( identifier , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3674" identifier + number_literal) , number_literal )))) ;) (return_statement "return iVar1 == 0;" return (binary_expression "iVar1 == 0" identifier == number_literal) ;) })) (return_statement "return false;" return false ;) })))
(translation_unit "MagickBooleanType IsXCF(uchar *magick,size_t length)\n\n{\n  int iVar1;\n  \n  if (7 < length) {\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(magick,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return (uint)(iVar1 == 0);\n  }\n  return MagickFalse;\n}\n\n" (function_definition "MagickBooleanType IsXCF(uchar *magick,size_t length)\n\n{\n  int iVar1;\n  \n  if (7 < length) {\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(magick,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return (uint)(iVar1 == 0);\n  }\n  return MagickFalse;\n}" type_identifier (function_declarator "IsXCF(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  int iVar1;\n  \n  if (7 < length) {\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(magick,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return (uint)(iVar1 == 0);\n  }\n  return MagickFalse;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (7 < length) {\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(magick,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return (uint)(iVar1 == 0);\n  }" if (parenthesized_expression "(7 < length)" ( (binary_expression "7 < length" number_literal < identifier) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(magick,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return (uint)(iVar1 == 0);\n  }" { (expression_statement "iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(magick,PTR_s_t_to_left_003a88e4 + -0x3674,8);" (assignment_expression "iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(magick,PTR_s_t_to_left_003a88e4 + -0x3674,8)" identifier = (call_expression "(*(code *)PTR_LocaleNCompare_003a961c)(magick,PTR_s_t_to_left_003a88e4 + -0x3674,8)" (parenthesized_expression "(*(code *)PTR_LocaleNCompare_003a961c)" ( (pointer_expression "*(code *)PTR_LocaleNCompare_003a961c" * (cast_expression "(code *)PTR_LocaleNCompare_003a961c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(magick,PTR_s_t_to_left_003a88e4 + -0x3674,8)" ( identifier , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3674" identifier + number_literal) , number_literal )))) ;) (return_statement "return (uint)(iVar1 == 0);" return (call_expression "(uint)(iVar1 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) ))) ;) })) (return_statement "return MagickFalse;" return identifier ;) })))
(translation_unit "bool FUN_002d1e94(undefined4 param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if (7 < param_2) {\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return iVar1 == 0;\n  }\n  return false;\n}\n\n" (function_definition "bool FUN_002d1e94(undefined4 param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if (7 < param_2) {\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return iVar1 == 0;\n  }\n  return false;\n}" primitive_type (function_declarator "FUN_002d1e94(undefined4 param_1,uint param_2)" identifier (parameter_list "(undefined4 param_1,uint param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (7 < param_2) {\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return iVar1 == 0;\n  }\n  return false;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (7 < param_2) {\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return iVar1 == 0;\n  }" if (parenthesized_expression "(7 < param_2)" ( (binary_expression "7 < param_2" number_literal < identifier) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return iVar1 == 0;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);" (assignment_expression "iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8)" identifier = (call_expression "(*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8)" (parenthesized_expression "(*(code *)PTR_LocaleNCompare_003a961c)" ( (pointer_expression "*(code *)PTR_LocaleNCompare_003a961c" * (cast_expression "(code *)PTR_LocaleNCompare_003a961c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8)" ( identifier , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3674" identifier + number_literal) , number_literal )))) ;) (return_statement "return iVar1 == 0;" return (binary_expression "iVar1 == 0" identifier == number_literal) ;) })) (return_statement "return false;" return false ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (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 , (binary_expression IDENT + LIT) , LIT )))) ;) (return_statement return (binary_expression IDENT == LIT) ;) })) (return_statement return BOOL ;) })))
(function_definition "bool FUN_002d1e94(undefined4 param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if (7 < param_2) {\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return iVar1 == 0;\n  }\n  return false;\n}" (primitive_type "bool") (function_declarator "FUN_002d1e94(undefined4 param_1,uint param_2)" (identifier "FUN_002d1e94") (parameter_list "(undefined4 param_1,uint param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (7 < param_2) {\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return iVar1 == 0;\n  }\n  return false;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (7 < param_2) {\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return iVar1 == 0;\n  }" (if "if") (parenthesized_expression "(7 < param_2)" (( "(") (binary_expression "7 < param_2" (number_literal "7") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);\n    return iVar1 == 0;\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);" (assignment_expression "iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8)" (parenthesized_expression "(*(code *)PTR_LocaleNCompare_003a961c)" (( "(") (pointer_expression "*(code *)PTR_LocaleNCompare_003a961c" (* "*") (cast_expression "(code *)PTR_LocaleNCompare_003a961c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LocaleNCompare_003a961c"))) () ")")) (argument_list "(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3674" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x3674")) (, ",") (number_literal "8") () ")")))) (; ";")) (return_statement "return iVar1 == 0;" (return "return") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}")))

type_1 function_1(type_2 *magick,size_t var_1)

{
  int var_3;
  
  if (7 < var_1) {
    var_3 = (*(type_3 *)PTR_LocaleNCompare_003a961c)(magick,var_2 + -0x3674,8);
    return (uint)(var_3 == 0);
  }
  return MagickFalse;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) 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) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (return_statement (binary_expression left: (identifier) right: (number_literal))))) (return_statement (false)))))

bool MASKED(undefined4 param_1,uint param_2)

{
  int iVar1;
  
  if (7 < param_2) {
    iVar1 = (*(code *)PTR_LocaleNCompare_003a961c)(param_1,PTR_s_t_to_left_003a88e4 + -0x3674,8);
    return iVar1 == 0;
  }
  return false;
}

