
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* 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 "LogEventType": Some values do not have unique names */

void DestroyImagePixelCache(Image *image)

{
  Cache pvVar1;
  
  if (image == (Image *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");
  }
  if (image->signature == 0xabacadab) {
    if (image->debug != MagickFalse) {
      LogMagickEvent(TraceEvent,"MagickCore/cache.c","DestroyImagePixelCache",0x379,"%s",
                     image->filename);
    }
    if (image->cache != (Cache)0x0) {
      pvVar1 = DestroyPixelCache(image->cache);
      image->cache = pvVar1;
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,
                "DestroyImagePixelCache");
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_00055390(int param_1)

{
  undefined4 uVar1;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");
  }
  if (*(int *)(param_1 + 0x3344) == -0x54535255) {
    if (*(int *)(param_1 + 0x3328) != 0) {
      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,
                     param_1 + 0x318);
    }
    if (*(int *)(param_1 + 0x2ac) != 0) {
      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));
      *(undefined4 *)(param_1 + 0x2ac) = uVar1;
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,
                "DestroyImagePixelCache");
}


PUSH ESI
PUSH EBX
CALL 0x00039d70
ADD EBX,0x3c8c69
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
TEST ESI,ESI
JZ 0x0005543a
CMP dword ptr [ESI + 0x3344],0xabacadab
JNZ 0x0005541b
MOV EAX,dword ptr [ESI + 0x3328]
TEST EAX,EAX
JNZ 0x000553e8
MOV EAX,dword ptr [ESI + 0x2ac]
TEST EAX,EAX
JZ 0x000553de
SUB ESP,0xc
PUSH EAX
CALL 0x00054da0
ADD ESP,0x10
MOV dword ptr [ESI + 0x2ac],EAX
ADD ESP,0x4
POP EBX
POP ESI
RET
LEA EAX,[ESI + 0x318]
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xffed95ae]
PUSH EAX
LEA EAX,[EBX + 0xffec30f8]
PUSH 0x379
PUSH EAX
LEA EAX,[EBX + 0xffec25e7]
PUSH EAX
PUSH 0x8000
CALL 0x000323b0
ADD ESP,0x20
JMP 0x000553c2
LEA EAX,[EBX + 0xffec3110]
PUSH EAX
LEA EAX,[EBX + 0xffec25e7]
PUSH 0x377
PUSH EAX
LEA EAX,[EBX + 0xffecc4b8]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffec3110]
PUSH EAX
LEA EAX,[EBX + 0xffec25e7]
PUSH 0x376
PUSH EAX
LEA EAX,[EBX + 0xffed9cf4]
PUSH EAX
CALL 0x000313d0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00055390(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\n  }\n  if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (*(int *)(param_1 + 0x2ac) != 0) {\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache");\n}\n\n" comment (function_definition "void FUN_00055390(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\n  }\n  if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (*(int *)(param_1 + 0x2ac) != 0) {\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache");\n}" primitive_type (function_declarator "FUN_00055390(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\n  }\n  if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (*(int *)(param_1 + 0x2ac) != 0) {\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache");\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\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("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\n  }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache")" identifier (argument_list "("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/cache.c"" " string_content ") , number_literal , (string_literal ""DestroyImagePixelCache"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (*(int *)(param_1 + 0x2ac) != 0) {\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3344) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x3344) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3344)" * (cast_expression "(int *)(param_1 + 0x3344)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3344)" ( (binary_expression "param_1 + 0x3344" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (*(int *)(param_1 + 0x2ac) != 0) {\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }\n    return;\n  }" { (if_statement "if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x3328) != 0)" ( (binary_expression "*(int *)(param_1 + 0x3328) != 0" (pointer_expression "*(int *)(param_1 + 0x3328)" * (cast_expression "(int *)(param_1 + 0x3328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3328)" ( (binary_expression "param_1 + 0x3328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318)" identifier (argument_list "(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318)" ( number_literal , (string_literal ""MagickCore/cache.c"" " string_content ") , (string_literal ""DestroyImagePixelCache"" " string_content ") , number_literal , (pointer_expression "&DAT_002f75ae" & identifier) , (binary_expression "param_1 + 0x318" identifier + number_literal) ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x2ac) != 0) {\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x2ac) != 0)" ( (binary_expression "*(int *)(param_1 + 0x2ac) != 0" (pointer_expression "*(int *)(param_1 + 0x2ac)" * (cast_expression "(int *)(param_1 + 0x2ac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2ac)" ( (binary_expression "param_1 + 0x2ac" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }" { (expression_statement "uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));" (assignment_expression "uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac))" identifier = (call_expression "FUN_00054da0(*(int *)(param_1 + 0x2ac))" identifier (argument_list "(*(int *)(param_1 + 0x2ac))" ( (pointer_expression "*(int *)(param_1 + 0x2ac)" * (cast_expression "(int *)(param_1 + 0x2ac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2ac)" ( (binary_expression "param_1 + 0x2ac" identifier + number_literal) )))) )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x2ac) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x2ac) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x2ac)" * (cast_expression "(undefined4 *)(param_1 + 0x2ac)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2ac)" ( (binary_expression "param_1 + 0x2ac" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })) comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/cache.c"" " string_content ") , number_literal , (string_literal ""DestroyImagePixelCache"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* 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 "LogEventType": Some values do not have unique names */\n\nvoid DestroyImagePixelCache(Image *image)\n\n{\n  Cache pvVar1;\n  \n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\n  }\n  if (image->signature == 0xabacadab) {\n    if (image->debug != MagickFalse) {\n      LogMagickEvent(TraceEvent,"MagickCore/cache.c","DestroyImagePixelCache",0x379,"%s",\n                     image->filename);\n    }\n    if (image->cache != (Cache)0x0) {\n      pvVar1 = DestroyPixelCache(image->cache);\n      image->cache = pvVar1;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache");\n}\n\n" comment comment comment comment comment comment comment (function_definition "void DestroyImagePixelCache(Image *image)\n\n{\n  Cache pvVar1;\n  \n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\n  }\n  if (image->signature == 0xabacadab) {\n    if (image->debug != MagickFalse) {\n      LogMagickEvent(TraceEvent,"MagickCore/cache.c","DestroyImagePixelCache",0x379,"%s",\n                     image->filename);\n    }\n    if (image->cache != (Cache)0x0) {\n      pvVar1 = DestroyPixelCache(image->cache);\n      image->cache = pvVar1;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache");\n}" primitive_type (function_declarator "DestroyImagePixelCache(Image *image)" identifier (parameter_list "(Image *image)" ( (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) ))) (compound_statement "{\n  Cache pvVar1;\n  \n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\n  }\n  if (image->signature == 0xabacadab) {\n    if (image->debug != MagickFalse) {\n      LogMagickEvent(TraceEvent,"MagickCore/cache.c","DestroyImagePixelCache",0x379,"%s",\n                     image->filename);\n    }\n    if (image->cache != (Cache)0x0) {\n      pvVar1 = DestroyPixelCache(image->cache);\n      image->cache = pvVar1;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache");\n}" { (declaration "Cache pvVar1;" type_identifier identifier ;) (if_statement "if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\n  }" if (parenthesized_expression "(image == (Image *)0x0)" ( (binary_expression "image == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\n  }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache")" identifier (argument_list "("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/cache.c"" " string_content ") , number_literal , (string_literal ""DestroyImagePixelCache"" " string_content ") ))) ;) })) (if_statement "if (image->signature == 0xabacadab) {\n    if (image->debug != MagickFalse) {\n      LogMagickEvent(TraceEvent,"MagickCore/cache.c","DestroyImagePixelCache",0x379,"%s",\n                     image->filename);\n    }\n    if (image->cache != (Cache)0x0) {\n      pvVar1 = DestroyPixelCache(image->cache);\n      image->cache = pvVar1;\n    }\n    return;\n  }" if (parenthesized_expression "(image->signature == 0xabacadab)" ( (binary_expression "image->signature == 0xabacadab" (field_expression "image->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    if (image->debug != MagickFalse) {\n      LogMagickEvent(TraceEvent,"MagickCore/cache.c","DestroyImagePixelCache",0x379,"%s",\n                     image->filename);\n    }\n    if (image->cache != (Cache)0x0) {\n      pvVar1 = DestroyPixelCache(image->cache);\n      image->cache = pvVar1;\n    }\n    return;\n  }" { (if_statement "if (image->debug != MagickFalse) {\n      LogMagickEvent(TraceEvent,"MagickCore/cache.c","DestroyImagePixelCache",0x379,"%s",\n                     image->filename);\n    }" if (parenthesized_expression "(image->debug != MagickFalse)" ( (binary_expression "image->debug != MagickFalse" (field_expression "image->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n      LogMagickEvent(TraceEvent,"MagickCore/cache.c","DestroyImagePixelCache",0x379,"%s",\n                     image->filename);\n    }" { (expression_statement "LogMagickEvent(TraceEvent,"MagickCore/cache.c","DestroyImagePixelCache",0x379,"%s",\n                     image->filename);" (call_expression "LogMagickEvent(TraceEvent,"MagickCore/cache.c","DestroyImagePixelCache",0x379,"%s",\n                     image->filename)" identifier (argument_list "(TraceEvent,"MagickCore/cache.c","DestroyImagePixelCache",0x379,"%s",\n                     image->filename)" ( identifier , (string_literal ""MagickCore/cache.c"" " string_content ") , (string_literal ""DestroyImagePixelCache"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "image->filename" identifier -> field_identifier) ))) ;) })) (if_statement "if (image->cache != (Cache)0x0) {\n      pvVar1 = DestroyPixelCache(image->cache);\n      image->cache = pvVar1;\n    }" if (parenthesized_expression "(image->cache != (Cache)0x0)" ( (binary_expression "image->cache != (Cache)0x0" (field_expression "image->cache" identifier -> field_identifier) != (cast_expression "(Cache)0x0" ( (type_descriptor "Cache" type_identifier) ) number_literal)) )) (compound_statement "{\n      pvVar1 = DestroyPixelCache(image->cache);\n      image->cache = pvVar1;\n    }" { (expression_statement "pvVar1 = DestroyPixelCache(image->cache);" (assignment_expression "pvVar1 = DestroyPixelCache(image->cache)" identifier = (call_expression "DestroyPixelCache(image->cache)" identifier (argument_list "(image->cache)" ( (field_expression "image->cache" identifier -> field_identifier) )))) ;) (expression_statement "image->cache = pvVar1;" (assignment_expression "image->cache = pvVar1" (field_expression "image->cache" identifier -> field_identifier) = identifier) ;) })) (return_statement "return;" return ;) })) comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/cache.c"" " string_content ") , number_literal , (string_literal ""DestroyImagePixelCache"" " string_content ") ))) ;) })))
(translation_unit "void FUN_00055390(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\n  }\n  if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (*(int *)(param_1 + 0x2ac) != 0) {\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }\n    return;\n  }\n                    \n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache");\n}\n\n" (function_definition "void FUN_00055390(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\n  }\n  if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (*(int *)(param_1 + 0x2ac) != 0) {\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }\n    return;\n  }\n                    \n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache");\n}" primitive_type (function_declarator "FUN_00055390(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\n  }\n  if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (*(int *)(param_1 + 0x2ac) != 0) {\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }\n    return;\n  }\n                    \n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache");\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\n  }" { (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache")" identifier (argument_list "("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/cache.c"" " string_content ") , number_literal , (string_literal ""DestroyImagePixelCache"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (*(int *)(param_1 + 0x2ac) != 0) {\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3344) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x3344) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3344)" * (cast_expression "(int *)(param_1 + 0x3344)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3344)" ( (binary_expression "param_1 + 0x3344" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (*(int *)(param_1 + 0x2ac) != 0) {\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }\n    return;\n  }" { (if_statement "if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x3328) != 0)" ( (binary_expression "*(int *)(param_1 + 0x3328) != 0" (pointer_expression "*(int *)(param_1 + 0x3328)" * (cast_expression "(int *)(param_1 + 0x3328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3328)" ( (binary_expression "param_1 + 0x3328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318)" identifier (argument_list "(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318)" ( number_literal , (string_literal ""MagickCore/cache.c"" " string_content ") , (string_literal ""DestroyImagePixelCache"" " string_content ") , number_literal , (pointer_expression "&DAT_002f75ae" & identifier) , (binary_expression "param_1 + 0x318" identifier + number_literal) ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x2ac) != 0) {\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x2ac) != 0)" ( (binary_expression "*(int *)(param_1 + 0x2ac) != 0" (pointer_expression "*(int *)(param_1 + 0x2ac)" * (cast_expression "(int *)(param_1 + 0x2ac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2ac)" ( (binary_expression "param_1 + 0x2ac" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }" { (expression_statement "uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));" (assignment_expression "uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac))" identifier = (call_expression "FUN_00054da0(*(int *)(param_1 + 0x2ac))" identifier (argument_list "(*(int *)(param_1 + 0x2ac))" ( (pointer_expression "*(int *)(param_1 + 0x2ac)" * (cast_expression "(int *)(param_1 + 0x2ac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2ac)" ( (binary_expression "param_1 + 0x2ac" identifier + number_literal) )))) )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x2ac) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x2ac) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x2ac)" * (cast_expression "(undefined4 *)(param_1 + 0x2ac)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2ac)" ( (binary_expression "param_1 + 0x2ac" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })) (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/cache.c"" " string_content ") , number_literal , (string_literal ""DestroyImagePixelCache"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE 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 TYPE (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 , (pointer_expression & IDENT) , (binary_expression IDENT + LIT) ))) ;) })) (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 (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_00055390(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\n  }\n  if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (*(int *)(param_1 + 0x2ac) != 0) {\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }\n    return;\n  }\n                    \n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache");\n}" (primitive_type "void") (function_declarator "FUN_00055390(int param_1)" (identifier "FUN_00055390") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\n  }\n  if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (*(int *)(param_1 + 0x2ac) != 0) {\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }\n    return;\n  }\n                    \n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache");\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\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("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");\n  }" ({ "{") (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache")" (identifier "__assert_fail") (argument_list "("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache")" (( "(") (string_literal ""image != (Image *) NULL"" (" """) (string_content "image != (Image *) NULL") (" """)) (, ",") (string_literal ""MagickCore/cache.c"" (" """) (string_content "MagickCore/cache.c") (" """)) (, ",") (number_literal "0x376") (, ",") (string_literal ""DestroyImagePixelCache"" (" """) (string_content "DestroyImagePixelCache") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (*(int *)(param_1 + 0x2ac) != 0) {\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3344) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x3344) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3344)" (* "*") (cast_expression "(int *)(param_1 + 0x3344)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3344)" (( "(") (binary_expression "param_1 + 0x3344" (identifier "param_1") (+ "+") (number_literal "0x3344")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (*(int *)(param_1 + 0x2ac) != 0) {\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }\n    return;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3328) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x3328) != 0" (pointer_expression "*(int *)(param_1 + 0x3328)" (* "*") (cast_expression "(int *)(param_1 + 0x3328)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3328)" (( "(") (binary_expression "param_1 + 0x3328" (identifier "param_1") (+ "+") (number_literal "0x3328")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }" ({ "{") (expression_statement "LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318)" (identifier "LogMagickEvent") (argument_list "(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,\n                     param_1 + 0x318)" (( "(") (number_literal "0x8000") (, ",") (string_literal ""MagickCore/cache.c"" (" """) (string_content "MagickCore/cache.c") (" """)) (, ",") (string_literal ""DestroyImagePixelCache"" (" """) (string_content "DestroyImagePixelCache") (" """)) (, ",") (number_literal "0x379") (, ",") (pointer_expression "&DAT_002f75ae" (& "&") (identifier "DAT_002f75ae")) (, ",") (binary_expression "param_1 + 0x318" (identifier "param_1") (+ "+") (number_literal "0x318")) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x2ac) != 0) {\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x2ac) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x2ac) != 0" (pointer_expression "*(int *)(param_1 + 0x2ac)" (* "*") (cast_expression "(int *)(param_1 + 0x2ac)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2ac)" (( "(") (binary_expression "param_1 + 0x2ac" (identifier "param_1") (+ "+") (number_literal "0x2ac")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));\n      *(undefined4 *)(param_1 + 0x2ac) = uVar1;\n    }" ({ "{") (expression_statement "uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));" (assignment_expression "uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac))" (identifier "uVar1") (= "=") (call_expression "FUN_00054da0(*(int *)(param_1 + 0x2ac))" (identifier "FUN_00054da0") (argument_list "(*(int *)(param_1 + 0x2ac))" (( "(") (pointer_expression "*(int *)(param_1 + 0x2ac)" (* "*") (cast_expression "(int *)(param_1 + 0x2ac)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2ac)" (( "(") (binary_expression "param_1 + 0x2ac" (identifier "param_1") (+ "+") (number_literal "0x2ac")) () ")")))) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x2ac) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x2ac) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x2ac)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2ac)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2ac)" (( "(") (binary_expression "param_1 + 0x2ac" (identifier "param_1") (+ "+") (number_literal "0x2ac")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache")" (identifier "__assert_fail") (argument_list "("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,\n                "DestroyImagePixelCache")" (( "(") (string_literal ""image->signature == MagickCoreSignature"" (" """) (string_content "image->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/cache.c"" (" """) (string_content "MagickCore/cache.c") (" """)) (, ",") (number_literal "0x377") (, ",") (string_literal ""DestroyImagePixelCache"" (" """) (string_content "DestroyImagePixelCache") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* 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 "LogEventType": Some values do not have unique names */

void function_1(type_1 *var_1)

{
  type_2 pvVar1;
  
  if (var_1 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");
  }
  if (var_1->signature == 0xabacadab) {
    if (var_1->debug != var_3) {
      var_4(TraceEvent,"MagickCore/cache.c","DestroyImagePixelCache",0x379,"%s",
                     var_1->filename);
    }
    if (var_1->cache != (type_2)0x0) {
      pvVar1 = var_5(var_1->cache);
      var_1->cache = pvVar1;
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_2("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,
                "DestroyImagePixelCache");
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(int param_1)

{
  undefined4 uVar1;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/cache.c",0x376,"DestroyImagePixelCache");
  }
  if (*(int *)(param_1 + 0x3344) == -0x54535255) {
    if (*(int *)(param_1 + 0x3328) != 0) {
      LogMagickEvent(0x8000,"MagickCore/cache.c","DestroyImagePixelCache",0x379,&DAT_002f75ae,
                     param_1 + 0x318);
    }
    if (*(int *)(param_1 + 0x2ac) != 0) {
      uVar1 = FUN_00054da0(*(int *)(param_1 + 0x2ac));
      *(undefined4 *)(param_1 + 0x2ac) = uVar1;
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("image->signature == MagickCoreSignature","MagickCore/cache.c",0x377,
                "DestroyImagePixelCache");
}

