
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */

MagickBooleanType MagickOptimizeImageTransparency(MagickWand *wand)

{
  Image *pIVar1;
  
  if (wand == (MagickWand *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,
                  "MagickOptimizeImageTransparency");
  }
  if (wand->signature == 0xabacadab) {
    if (wand->debug != MagickFalse) {
      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,
                     "%s",wand->name);
    }
    pIVar1 = wand->images;
    if (pIVar1 != (Image *)0x0) {
      OptimizeImageTransparency(pIVar1,wand->exception);
    }
    return (MagickBooleanType)(pIVar1 != (Image *)0x0);
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,
                "MagickOptimizeImageTransparency");
}



bool MagickOptimizeImageTransparency(long param_1)

{
  long lVar1;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,
                  "MagickOptimizeImageTransparency");
  }
  if (*(long *)(param_1 + 0x1030) == 0xabacadab) {
    if (*(int *)(param_1 + 0x1028) != 0) {
      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,
                     "%s",param_1 + 8);
    }
    lVar1 = *(long *)(param_1 + 0x1008);
    if (lVar1 != 0) {
      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));
    }
    return lVar1 != 0;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,
                "MagickOptimizeImageTransparency");
}


PUSH RBX
TEST RDI,RDI
JZ 0x0019cd1e
MOV RBX,RDI
MOV EAX,0xabacadab
CMP qword ptr [RDI + 0x1030],RAX
JNZ 0x0019cd3d
CMP dword ptr [RDI + 0x1028],0x0
JNZ 0x0019cd5c
MOV RDI,qword ptr [RBX + 0x1008]
MOV EAX,0x0
TEST RDI,RDI
JZ 0x0019cd1c
MOV RSI,qword ptr [RBX + 0x1018]
CALL 0x00111380
MOV EAX,0x1
POP RBX
RET
LEA RCX,[0x21ece0]
MOV EDX,0x1f60
LEA RSI,[0x21ce25]
LEA RDI,[0x21ce3f]
CALL 0x00111850
LEA RCX,[0x21ece0]
MOV EDX,0x1f61
LEA RSI,[0x21ce25]
LEA RDI,[0x215f68]
CALL 0x00111850
LEA R9,[RDI + 0x8]
LEA R8,[0x2228e2]
MOV ECX,0x1f63
LEA RDX,[0x21ecc0]
LEA RSI,[0x21ce25]
MOV EDI,0x40000
MOV EAX,0x0
CALL 0x00112620
JMP 0x0019ccfa
(translation_unit "bool MagickOptimizeImageTransparency(long param_1)\n\n{\n  long lVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }\n  if (*(long *)(param_1 + 0x1030) == 0xabacadab) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }\n    lVar1 = *(long *)(param_1 + 0x1008);\n    if (lVar1 != 0) {\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }\n    return lVar1 != 0;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency");\n}\n\n" (function_definition "bool MagickOptimizeImageTransparency(long param_1)\n\n{\n  long lVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }\n  if (*(long *)(param_1 + 0x1030) == 0xabacadab) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }\n    lVar1 = *(long *)(param_1 + 0x1008);\n    if (lVar1 != 0) {\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }\n    return lVar1 != 0;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency");\n}" primitive_type (function_declarator "MagickOptimizeImageTransparency(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }\n  if (*(long *)(param_1 + 0x1030) == 0xabacadab) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }\n    lVar1 = *(long *)(param_1 + 0x1008);\n    if (lVar1 != 0) {\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }\n    return lVar1 != 0;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }" { comment (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency")" identifier (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency")" ( (string_literal ""wand != (MagickWand *) NULL"" " string_content ") , (string_literal ""MagickWand/magick-image.c"" " string_content ") , number_literal , (string_literal ""MagickOptimizeImageTransparency"" " string_content ") ))) ;) })) (if_statement "if (*(long *)(param_1 + 0x1030) == 0xabacadab) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }\n    lVar1 = *(long *)(param_1 + 0x1008);\n    if (lVar1 != 0) {\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }\n    return lVar1 != 0;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x1030) == 0xabacadab)" ( (binary_expression "*(long *)(param_1 + 0x1030) == 0xabacadab" (pointer_expression "*(long *)(param_1 + 0x1030)" * (cast_expression "(long *)(param_1 + 0x1030)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1030)" ( (binary_expression "param_1 + 0x1030" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }\n    lVar1 = *(long *)(param_1 + 0x1008);\n    if (lVar1 != 0) {\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }\n    return lVar1 != 0;\n  }" { (if_statement "if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x1028) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1028) != 0" (pointer_expression "*(int *)(param_1 + 0x1028)" * (cast_expression "(int *)(param_1 + 0x1028)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1028)" ( (binary_expression "param_1 + 0x1028" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8)" identifier (argument_list "(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8)" ( number_literal , (string_literal ""MagickWand/magick-image.c"" " string_content ") , (string_literal ""MagickOptimizeImageTransparency"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 8" identifier + number_literal) ))) ;) })) (expression_statement "lVar1 = *(long *)(param_1 + 0x1008);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x1008)" identifier = (pointer_expression "*(long *)(param_1 + 0x1008)" * (cast_expression "(long *)(param_1 + 0x1008)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) ))))) ;) (if_statement "if (lVar1 != 0) {\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }" { (expression_statement "OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));" (call_expression "OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018))" identifier (argument_list "(lVar1,*(undefined8 *)(param_1 + 0x1018))" ( identifier , (pointer_expression "*(undefined8 *)(param_1 + 0x1018)" * (cast_expression "(undefined8 *)(param_1 + 0x1018)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1018)" ( (binary_expression "param_1 + 0x1018" identifier + number_literal) )))) ))) ;) })) (return_statement "return lVar1 != 0;" return (binary_expression "lVar1 != 0" identifier != number_literal) ;) })) comment (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/magick-image.c"" " string_content ") , number_literal , (string_literal ""MagickOptimizeImageTransparency"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\nMagickBooleanType MagickOptimizeImageTransparency(MagickWand *wand)\n\n{\n  Image *pIVar1;\n  \n  if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",wand->name);\n    }\n    pIVar1 = wand->images;\n    if (pIVar1 != (Image *)0x0) {\n      OptimizeImageTransparency(pIVar1,wand->exception);\n    }\n    return (MagickBooleanType)(pIVar1 != (Image *)0x0);\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency");\n}\n\n" comment comment comment comment comment (function_definition "MagickBooleanType MagickOptimizeImageTransparency(MagickWand *wand)\n\n{\n  Image *pIVar1;\n  \n  if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",wand->name);\n    }\n    pIVar1 = wand->images;\n    if (pIVar1 != (Image *)0x0) {\n      OptimizeImageTransparency(pIVar1,wand->exception);\n    }\n    return (MagickBooleanType)(pIVar1 != (Image *)0x0);\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency");\n}" type_identifier (function_declarator "MagickOptimizeImageTransparency(MagickWand *wand)" identifier (parameter_list "(MagickWand *wand)" ( (parameter_declaration "MagickWand *wand" type_identifier (pointer_declarator "*wand" * identifier)) ))) (compound_statement "{\n  Image *pIVar1;\n  \n  if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }\n  if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",wand->name);\n    }\n    pIVar1 = wand->images;\n    if (pIVar1 != (Image *)0x0) {\n      OptimizeImageTransparency(pIVar1,wand->exception);\n    }\n    return (MagickBooleanType)(pIVar1 != (Image *)0x0);\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency");\n}" { (declaration "Image *pIVar1;" type_identifier (pointer_declarator "*pIVar1" * identifier) ;) (if_statement "if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }" if (parenthesized_expression "(wand == (MagickWand *)0x0)" ( (binary_expression "wand == (MagickWand *)0x0" identifier == (cast_expression "(MagickWand *)0x0" ( (type_descriptor "MagickWand *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }" { comment (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency")" identifier (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency")" ( (string_literal ""wand != (MagickWand *) NULL"" " string_content ") , (string_literal ""MagickWand/magick-image.c"" " string_content ") , number_literal , (string_literal ""MagickOptimizeImageTransparency"" " string_content ") ))) ;) })) (if_statement "if (wand->signature == 0xabacadab) {\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",wand->name);\n    }\n    pIVar1 = wand->images;\n    if (pIVar1 != (Image *)0x0) {\n      OptimizeImageTransparency(pIVar1,wand->exception);\n    }\n    return (MagickBooleanType)(pIVar1 != (Image *)0x0);\n  }" if (parenthesized_expression "(wand->signature == 0xabacadab)" ( (binary_expression "wand->signature == 0xabacadab" (field_expression "wand->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",wand->name);\n    }\n    pIVar1 = wand->images;\n    if (pIVar1 != (Image *)0x0) {\n      OptimizeImageTransparency(pIVar1,wand->exception);\n    }\n    return (MagickBooleanType)(pIVar1 != (Image *)0x0);\n  }" { (if_statement "if (wand->debug != MagickFalse) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",wand->name);\n    }" if (parenthesized_expression "(wand->debug != MagickFalse)" ( (binary_expression "wand->debug != MagickFalse" (field_expression "wand->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",wand->name);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",wand->name);" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",wand->name)" identifier (argument_list "(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",wand->name)" ( number_literal , (string_literal ""MagickWand/magick-image.c"" " string_content ") , (string_literal ""MagickOptimizeImageTransparency"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "wand->name" identifier -> field_identifier) ))) ;) })) (expression_statement "pIVar1 = wand->images;" (assignment_expression "pIVar1 = wand->images" identifier = (field_expression "wand->images" identifier -> field_identifier)) ;) (if_statement "if (pIVar1 != (Image *)0x0) {\n      OptimizeImageTransparency(pIVar1,wand->exception);\n    }" if (parenthesized_expression "(pIVar1 != (Image *)0x0)" ( (binary_expression "pIVar1 != (Image *)0x0" identifier != (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      OptimizeImageTransparency(pIVar1,wand->exception);\n    }" { (expression_statement "OptimizeImageTransparency(pIVar1,wand->exception);" (call_expression "OptimizeImageTransparency(pIVar1,wand->exception)" identifier (argument_list "(pIVar1,wand->exception)" ( identifier , (field_expression "wand->exception" identifier -> field_identifier) ))) ;) })) (return_statement "return (MagickBooleanType)(pIVar1 != (Image *)0x0);" return (call_expression "(MagickBooleanType)(pIVar1 != (Image *)0x0)" (parenthesized_expression "(MagickBooleanType)" ( identifier )) (argument_list "(pIVar1 != (Image *)0x0)" ( (binary_expression "pIVar1 != (Image *)0x0" identifier != (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) ;) })) comment (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/magick-image.c"" " string_content ") , number_literal , (string_literal ""MagickOptimizeImageTransparency"" " string_content ") ))) ;) })))
(translation_unit "bool MagickOptimizeImageTransparency(long param_1)\n\n{\n  long lVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }\n  if (*(long *)(param_1 + 0x1030) == 0xabacadab) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }\n    lVar1 = *(long *)(param_1 + 0x1008);\n    if (lVar1 != 0) {\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }\n    return lVar1 != 0;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency");\n}\n\n" (function_definition "bool MagickOptimizeImageTransparency(long param_1)\n\n{\n  long lVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }\n  if (*(long *)(param_1 + 0x1030) == 0xabacadab) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }\n    lVar1 = *(long *)(param_1 + 0x1008);\n    if (lVar1 != 0) {\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }\n    return lVar1 != 0;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency");\n}" primitive_type (function_declarator "MagickOptimizeImageTransparency(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }\n  if (*(long *)(param_1 + 0x1030) == 0xabacadab) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }\n    lVar1 = *(long *)(param_1 + 0x1008);\n    if (lVar1 != 0) {\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }\n    return lVar1 != 0;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }" { (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency")" identifier (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency")" ( (string_literal ""wand != (MagickWand *) NULL"" " string_content ") , (string_literal ""MagickWand/magick-image.c"" " string_content ") , number_literal , (string_literal ""MagickOptimizeImageTransparency"" " string_content ") ))) ;) })) (if_statement "if (*(long *)(param_1 + 0x1030) == 0xabacadab) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }\n    lVar1 = *(long *)(param_1 + 0x1008);\n    if (lVar1 != 0) {\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }\n    return lVar1 != 0;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x1030) == 0xabacadab)" ( (binary_expression "*(long *)(param_1 + 0x1030) == 0xabacadab" (pointer_expression "*(long *)(param_1 + 0x1030)" * (cast_expression "(long *)(param_1 + 0x1030)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1030)" ( (binary_expression "param_1 + 0x1030" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }\n    lVar1 = *(long *)(param_1 + 0x1008);\n    if (lVar1 != 0) {\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }\n    return lVar1 != 0;\n  }" { (if_statement "if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x1028) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1028) != 0" (pointer_expression "*(int *)(param_1 + 0x1028)" * (cast_expression "(int *)(param_1 + 0x1028)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1028)" ( (binary_expression "param_1 + 0x1028" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8)" identifier (argument_list "(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8)" ( number_literal , (string_literal ""MagickWand/magick-image.c"" " string_content ") , (string_literal ""MagickOptimizeImageTransparency"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "param_1 + 8" identifier + number_literal) ))) ;) })) (expression_statement "lVar1 = *(long *)(param_1 + 0x1008);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x1008)" identifier = (pointer_expression "*(long *)(param_1 + 0x1008)" * (cast_expression "(long *)(param_1 + 0x1008)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) ))))) ;) (if_statement "if (lVar1 != 0) {\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }" { (expression_statement "OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));" (call_expression "OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018))" identifier (argument_list "(lVar1,*(undefined8 *)(param_1 + 0x1018))" ( identifier , (pointer_expression "*(undefined8 *)(param_1 + 0x1018)" * (cast_expression "(undefined8 *)(param_1 + 0x1018)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1018)" ( (binary_expression "param_1 + 0x1018" identifier + number_literal) )))) ))) ;) })) (return_statement "return lVar1 != 0;" return (binary_expression "lVar1 != 0" identifier != number_literal) ;) })) (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency")" identifier (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency")" ( (string_literal ""wand->signature == MagickWandSignature"" " string_content ") , (string_literal ""MagickWand/magick-image.c"" " string_content ") , number_literal , (string_literal ""MagickOptimizeImageTransparency"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (return_statement return (binary_expression IDENT != LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "bool MagickOptimizeImageTransparency(long param_1)\n\n{\n  long lVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }\n  if (*(long *)(param_1 + 0x1030) == 0xabacadab) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }\n    lVar1 = *(long *)(param_1 + 0x1008);\n    if (lVar1 != 0) {\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }\n    return lVar1 != 0;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency");\n}" (primitive_type "bool") (function_declarator "MagickOptimizeImageTransparency(long param_1)" (identifier "MagickOptimizeImageTransparency") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  long lVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }\n  if (*(long *)(param_1 + 0x1030) == 0xabacadab) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }\n    lVar1 = *(long *)(param_1 + 0x1008);\n    if (lVar1 != 0) {\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }\n    return lVar1 != 0;\n  }\n                    \n  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency");\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");\n  }" ({ "{") (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency")" (identifier "__assert_fail") (argument_list "("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,\n                  "MagickOptimizeImageTransparency")" (( "(") (string_literal ""wand != (MagickWand *) NULL"" (" """) (string_content "wand != (MagickWand *) NULL") (" """)) (, ",") (string_literal ""MagickWand/magick-image.c"" (" """) (string_content "MagickWand/magick-image.c") (" """)) (, ",") (number_literal "0x1f60") (, ",") (string_literal ""MagickOptimizeImageTransparency"" (" """) (string_content "MagickOptimizeImageTransparency") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(long *)(param_1 + 0x1030) == 0xabacadab) {\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }\n    lVar1 = *(long *)(param_1 + 0x1008);\n    if (lVar1 != 0) {\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }\n    return lVar1 != 0;\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 0x1030) == 0xabacadab)" (( "(") (binary_expression "*(long *)(param_1 + 0x1030) == 0xabacadab" (pointer_expression "*(long *)(param_1 + 0x1030)" (* "*") (cast_expression "(long *)(param_1 + 0x1030)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1030)" (( "(") (binary_expression "param_1 + 0x1030" (identifier "param_1") (+ "+") (number_literal "0x1030")) () ")")))) (== "==") (number_literal "0xabacadab")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }\n    lVar1 = *(long *)(param_1 + 0x1008);\n    if (lVar1 != 0) {\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }\n    return lVar1 != 0;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x1028) != 0) {\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1028) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1028) != 0" (pointer_expression "*(int *)(param_1 + 0x1028)" (* "*") (cast_expression "(int *)(param_1 + 0x1028)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1028)" (( "(") (binary_expression "param_1 + 0x1028" (identifier "param_1") (+ "+") (number_literal "0x1028")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);\n    }" ({ "{") (expression_statement "LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8);" (call_expression "LogMagickEvent(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8)" (identifier "LogMagickEvent") (argument_list "(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,\n                     "%s",param_1 + 8)" (( "(") (number_literal "0x40000") (, ",") (string_literal ""MagickWand/magick-image.c"" (" """) (string_content "MagickWand/magick-image.c") (" """)) (, ",") (string_literal ""MagickOptimizeImageTransparency"" (" """) (string_content "MagickOptimizeImageTransparency") (" """)) (, ",") (number_literal "0x1f63") (, ",") (string_literal ""%s"" (" """) (string_content "%s") (" """)) (, ",") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))) (; ";")) (} "}"))) (expression_statement "lVar1 = *(long *)(param_1 + 0x1008);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x1008)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(param_1 + 0x1008)" (* "*") (cast_expression "(long *)(param_1 + 0x1008)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1008)" (( "(") (binary_expression "param_1 + 0x1008" (identifier "param_1") (+ "+") (number_literal "0x1008")) () ")"))))) (; ";")) (if_statement "if (lVar1 != 0) {\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }" (if "if") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));\n    }" ({ "{") (expression_statement "OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));" (call_expression "OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018))" (identifier "OptimizeImageTransparency") (argument_list "(lVar1,*(undefined8 *)(param_1 + 0x1018))" (( "(") (identifier "lVar1") (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x1018)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x1018)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1018)" (( "(") (binary_expression "param_1 + 0x1018" (identifier "param_1") (+ "+") (number_literal "0x1018")) () ")")))) () ")"))) (; ";")) (} "}"))) (return_statement "return lVar1 != 0;" (return "return") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency");" (call_expression "__assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency")" (identifier "__assert_fail") (argument_list "("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,\n                "MagickOptimizeImageTransparency")" (( "(") (string_literal ""wand->signature == MagickWandSignature"" (" """) (string_content "wand->signature == MagickWandSignature") (" """)) (, ",") (string_literal ""MagickWand/magick-image.c"" (" """) (string_content "MagickWand/magick-image.c") (" """)) (, ",") (number_literal "0x1f61") (, ",") (string_literal ""MagickOptimizeImageTransparency"" (" """) (string_content "MagickOptimizeImageTransparency") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */

type_1 function_1(type_2 *var_1)

{
  type_3 *var_5;
  
  if (var_1 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,
                  "MagickOptimizeImageTransparency");
  }
  if (var_1->signature == 0xabacadab) {
    if (var_1->debug != var_3) {
      var_4(0x40000,"MagickWand/magick-image.c","MagickOptimizeImageTransparency",0x1f63,
                     "%s",var_1->name);
    }
    var_5 = var_1->images;
    if (var_5 != (type_3 *)0x0) {
      var_6(var_5,var_1->exception);
    }
    return (type_1)(var_5 != (type_3 *)0x0);
  }
                    /* WARNING: Subroutine does not return */
  var_2("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,
                "MagickOptimizeImageTransparency");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (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: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content)) (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (return_statement (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))))

bool MASKED(long param_1)

{
  long lVar1;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/magick-image.c",0x1f60,
                  "MASKED");
  }
  if (*(long *)(param_1 + 0x1030) == 0xabacadab) {
    if (*(int *)(param_1 + 0x1028) != 0) {
      LogMagickEvent(0x40000,"MagickWand/magick-image.c","MASKED",0x1f63,
                     "%s",param_1 + 8);
    }
    lVar1 = *(long *)(param_1 + 0x1008);
    if (lVar1 != 0) {
      OptimizeImageTransparency(lVar1,*(undefined8 *)(param_1 + 0x1018));
    }
    return lVar1 != 0;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("wand->signature == MagickWandSignature","MagickWand/magick-image.c",0x1f61,
                "MASKED");
}

