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

Image * PingImage(ImageInfo *image_info,ExceptionInfo *exception)

{
  ImageInfo *image_info_00;
  Image *image;
  
  if (image_info == (ImageInfo *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");
  }
  if (image_info->signature == 0xabacadab) {
    if (image_info->debug != MagickFalse) {
      LogMagickEvent(TraceEvent,"MagickCore/constitute.c","PingImage",0x116,"%s",
                     image_info->filename);
    }
    if (exception != (ExceptionInfo *)0x0) {
      image_info_00 = CloneImageInfo(image_info);
      image_info_00->ping = MagickTrue;
      image = ReadStream(image_info_00,PingStream,exception);
      if (image != (Image *)0x0) {
        ResetTimer(&image->timer);
        if (image_info_00->verbose != MagickFalse) {
          IdentifyImage(image,*(FILE **)PTR_stdout_0041dfdc,MagickFalse,exception);
        }
      }
      DestroyImageInfo(image_info_00);
      return image;
    }
                    /* WARNING: Subroutine does not return */
    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")
    ;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,
                "PingImage");
}



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

int PingImage(int param_1,int param_2)

{
  int iVar1;
  int iVar2;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");
  }
  if (*(int *)(param_1 + 0x31f4) == -0x54535255) {
    if (*(int *)(param_1 + 0x31f0) != 0) {
      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,
                     param_1 + 0x21f0);
    }
    if (param_2 != 0) {
      iVar1 = CloneImageInfo(param_1);
      *(undefined4 *)(iVar1 + 0x1bc) = 1;
      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);
      if (iVar2 != 0) {
        ResetTimer(iVar2 + 0x2c8);
        if (*(int *)(iVar1 + 0x1c0) != 0) {
          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);
        }
      }
      DestroyImageInfo(iVar1);
      return iVar2;
    }
                    /* WARNING: Subroutine does not return */
    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")
    ;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,
                "PingImage");
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00039d70
ADD EBX,0x39df17
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x20]
MOV EDI,dword ptr [ESP + 0x24]
TEST ESI,ESI
JZ 0x00080224
CMP dword ptr [ESI + 0x31f4],0xabacadab
JNZ 0x00080205
MOV EDX,dword ptr [ESI + 0x31f0]
TEST EDX,EDX
JNZ 0x000801b0
TEST EDI,EDI
JZ 0x000801e6
SUB ESP,0xc
PUSH ESI
CALL 0x000324c0
ADD ESP,0xc
MOV dword ptr [EAX + 0x1bc],0x1
MOV EBP,EAX
LEA EAX,[EBX + 0xffc61e20]
PUSH EDI
PUSH EAX
PUSH EBP
CALL 0x00031e50
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JZ 0x00080173
LEA EAX,[EAX + 0x2c8]
SUB ESP,0xc
PUSH EAX
CALL 0x00033940
MOV EAX,dword ptr [EBP + 0x1c0]
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00080190
SUB ESP,0xc
PUSH EBP
CALL 0x00031450
ADD ESP,0x1c
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EBX + 0xffffffdc]
PUSH EDI
PUSH 0x0
PUSH dword ptr [EAX]
PUSH ESI
CALL 0x00031790
ADD ESP,0x10
JMP 0x00080173
LEA EAX,[ESI + 0x21f0]
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xffed95ae]
PUSH EAX
LEA EAX,[EBX + 0xffece9f4]
PUSH 0x116
PUSH EAX
LEA EAX,[EBX + 0xffece5cc]
PUSH EAX
PUSH 0x8000
CALL 0x000323b0
ADD ESP,0x20
JMP 0x00080120
LEA EAX,[EBX + 0xffecea00]
PUSH EAX
LEA EAX,[EBX + 0xffece5cc]
PUSH 0x118
PUSH EAX
LEA EAX,[EBX + 0xffec1be4]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffecea00]
PUSH EAX
LEA EAX,[EBX + 0xffece5cc]
PUSH 0x114
PUSH EAX
LEA EAX,[EBX + 0xffec0d48]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffecea00]
PUSH EAX
LEA EAX,[EBX + 0xffece5cc]
PUSH 0x113
PUSH EAX
LEA EAX,[EBX + 0xffec1bc0]
PUSH EAX
CALL 0x000313d0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint PingImage(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\n  }\n  if (*(int *)(param_1 + 0x31f4) == -0x54535255) {\n    if (*(int *)(param_1 + 0x31f0) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }\n    if (param_2 != 0) {\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage");\n}\n\n" comment (function_definition "int PingImage(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\n  }\n  if (*(int *)(param_1 + 0x31f4) == -0x54535255) {\n    if (*(int *)(param_1 + 0x31f0) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }\n    if (param_2 != 0) {\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage");\n}" primitive_type (function_declarator "PingImage(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\n  }\n  if (*(int *)(param_1 + 0x31f4) == -0x54535255) {\n    if (*(int *)(param_1 + 0x31f0) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }\n    if (param_2 != 0) {\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\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_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\n  }" { comment (expression_statement "__assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");" (call_expression "__assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage")" identifier (argument_list "("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage")" ( (string_literal ""image_info != (ImageInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/constitute.c"" " string_content ") , number_literal , (string_literal ""PingImage"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x31f4) == -0x54535255) {\n    if (*(int *)(param_1 + 0x31f0) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }\n    if (param_2 != 0) {\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x31f4) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x31f4) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x31f4)" * (cast_expression "(int *)(param_1 + 0x31f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x31f4)" ( (binary_expression "param_1 + 0x31f4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x31f0) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }\n    if (param_2 != 0) {\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }" { (if_statement "if (*(int *)(param_1 + 0x31f0) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x31f0) != 0)" ( (binary_expression "*(int *)(param_1 + 0x31f0) != 0" (pointer_expression "*(int *)(param_1 + 0x31f0)" * (cast_expression "(int *)(param_1 + 0x31f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x31f0)" ( (binary_expression "param_1 + 0x31f0" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);" (call_expression "LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0)" identifier (argument_list "(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0)" ( number_literal , (string_literal ""MagickCore/constitute.c"" " string_content ") , (string_literal ""PingImage"" " string_content ") , number_literal , (pointer_expression "&DAT_002f75ae" & identifier) , (binary_expression "param_1 + 0x21f0" identifier + number_literal) ))) ;) })) (if_statement "if (param_2 != 0) {\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }" { (expression_statement "iVar1 = CloneImageInfo(param_1);" (assignment_expression "iVar1 = CloneImageInfo(param_1)" identifier = (call_expression "CloneImageInfo(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x1bc) = 1;" (assignment_expression "*(undefined4 *)(iVar1 + 0x1bc) = 1" (pointer_expression "*(undefined4 *)(iVar1 + 0x1bc)" * (cast_expression "(undefined4 *)(iVar1 + 0x1bc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1bc)" ( (binary_expression "iVar1 + 0x1bc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);" (assignment_expression "iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2)" identifier = (call_expression "ReadStream(iVar1,FUN_0007fe20,param_2)" identifier (argument_list "(iVar1,FUN_0007fe20,param_2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }" { (expression_statement "ResetTimer(iVar2 + 0x2c8);" (call_expression "ResetTimer(iVar2 + 0x2c8)" identifier (argument_list "(iVar2 + 0x2c8)" ( (binary_expression "iVar2 + 0x2c8" identifier + number_literal) ))) ;) (if_statement "if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }" if (parenthesized_expression "(*(int *)(iVar1 + 0x1c0) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x1c0) != 0" (pointer_expression "*(int *)(iVar1 + 0x1c0)" * (cast_expression "(int *)(iVar1 + 0x1c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c0)" ( (binary_expression "iVar1 + 0x1c0" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }" { (expression_statement "IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);" (call_expression "IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2)" identifier (argument_list "(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2)" ( identifier , (pointer_expression "*(undefined4 *)PTR_stdout_0041dfdc" * (cast_expression "(undefined4 *)PTR_stdout_0041dfdc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier ))) ;) })) })) (expression_statement "DestroyImageInfo(iVar1);" (call_expression "DestroyImageInfo(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return iVar2;" return identifier ;) })) comment (expression_statement "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;" (call_expression "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")" identifier (argument_list "("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")" ( (string_literal ""exception != (ExceptionInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/constitute.c"" " string_content ") , number_literal , (string_literal ""PingImage"" " string_content ") ))) ;) })) comment (expression_statement "__assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage");" (call_expression "__assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage")" identifier (argument_list "("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage")" ( (string_literal ""image_info->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/constitute.c"" " string_content ") , number_literal , (string_literal ""PingImage"" " 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 "ExceptionType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\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 "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "LogEventType": Some values do not have unique names */\n\nImage * PingImage(ImageInfo *image_info,ExceptionInfo *exception)\n\n{\n  ImageInfo *image_info_00;\n  Image *image;\n  \n  if (image_info == (ImageInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\n  }\n  if (image_info->signature == 0xabacadab) {\n    if (image_info->debug != MagickFalse) {\n      LogMagickEvent(TraceEvent,"MagickCore/constitute.c","PingImage",0x116,"%s",\n                     image_info->filename);\n    }\n    if (exception != (ExceptionInfo *)0x0) {\n      image_info_00 = CloneImageInfo(image_info);\n      image_info_00->ping = MagickTrue;\n      image = ReadStream(image_info_00,PingStream,exception);\n      if (image != (Image *)0x0) {\n        ResetTimer(&image->timer);\n        if (image_info_00->verbose != MagickFalse) {\n          IdentifyImage(image,*(FILE **)PTR_stdout_0041dfdc,MagickFalse,exception);\n        }\n      }\n      DestroyImageInfo(image_info_00);\n      return image;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage");\n}\n\n" comment comment comment comment comment comment comment comment (function_definition "Image * PingImage(ImageInfo *image_info,ExceptionInfo *exception)\n\n{\n  ImageInfo *image_info_00;\n  Image *image;\n  \n  if (image_info == (ImageInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\n  }\n  if (image_info->signature == 0xabacadab) {\n    if (image_info->debug != MagickFalse) {\n      LogMagickEvent(TraceEvent,"MagickCore/constitute.c","PingImage",0x116,"%s",\n                     image_info->filename);\n    }\n    if (exception != (ExceptionInfo *)0x0) {\n      image_info_00 = CloneImageInfo(image_info);\n      image_info_00->ping = MagickTrue;\n      image = ReadStream(image_info_00,PingStream,exception);\n      if (image != (Image *)0x0) {\n        ResetTimer(&image->timer);\n        if (image_info_00->verbose != MagickFalse) {\n          IdentifyImage(image,*(FILE **)PTR_stdout_0041dfdc,MagickFalse,exception);\n        }\n      }\n      DestroyImageInfo(image_info_00);\n      return image;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage");\n}" type_identifier (pointer_declarator "* PingImage(ImageInfo *image_info,ExceptionInfo *exception)" * (function_declarator "PingImage(ImageInfo *image_info,ExceptionInfo *exception)" identifier (parameter_list "(ImageInfo *image_info,ExceptionInfo *exception)" ( (parameter_declaration "ImageInfo *image_info" type_identifier (pointer_declarator "*image_info" * identifier)) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) )))) (compound_statement "{\n  ImageInfo *image_info_00;\n  Image *image;\n  \n  if (image_info == (ImageInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\n  }\n  if (image_info->signature == 0xabacadab) {\n    if (image_info->debug != MagickFalse) {\n      LogMagickEvent(TraceEvent,"MagickCore/constitute.c","PingImage",0x116,"%s",\n                     image_info->filename);\n    }\n    if (exception != (ExceptionInfo *)0x0) {\n      image_info_00 = CloneImageInfo(image_info);\n      image_info_00->ping = MagickTrue;\n      image = ReadStream(image_info_00,PingStream,exception);\n      if (image != (Image *)0x0) {\n        ResetTimer(&image->timer);\n        if (image_info_00->verbose != MagickFalse) {\n          IdentifyImage(image,*(FILE **)PTR_stdout_0041dfdc,MagickFalse,exception);\n        }\n      }\n      DestroyImageInfo(image_info_00);\n      return image;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage");\n}" { (declaration "ImageInfo *image_info_00;" type_identifier (pointer_declarator "*image_info_00" * identifier) ;) (declaration "Image *image;" type_identifier (pointer_declarator "*image" * identifier) ;) (if_statement "if (image_info == (ImageInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\n  }" if (parenthesized_expression "(image_info == (ImageInfo *)0x0)" ( (binary_expression "image_info == (ImageInfo *)0x0" identifier == (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\n  }" { comment (expression_statement "__assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");" (call_expression "__assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage")" identifier (argument_list "("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage")" ( (string_literal ""image_info != (ImageInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/constitute.c"" " string_content ") , number_literal , (string_literal ""PingImage"" " string_content ") ))) ;) })) (if_statement "if (image_info->signature == 0xabacadab) {\n    if (image_info->debug != MagickFalse) {\n      LogMagickEvent(TraceEvent,"MagickCore/constitute.c","PingImage",0x116,"%s",\n                     image_info->filename);\n    }\n    if (exception != (ExceptionInfo *)0x0) {\n      image_info_00 = CloneImageInfo(image_info);\n      image_info_00->ping = MagickTrue;\n      image = ReadStream(image_info_00,PingStream,exception);\n      if (image != (Image *)0x0) {\n        ResetTimer(&image->timer);\n        if (image_info_00->verbose != MagickFalse) {\n          IdentifyImage(image,*(FILE **)PTR_stdout_0041dfdc,MagickFalse,exception);\n        }\n      }\n      DestroyImageInfo(image_info_00);\n      return image;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }" if (parenthesized_expression "(image_info->signature == 0xabacadab)" ( (binary_expression "image_info->signature == 0xabacadab" (field_expression "image_info->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    if (image_info->debug != MagickFalse) {\n      LogMagickEvent(TraceEvent,"MagickCore/constitute.c","PingImage",0x116,"%s",\n                     image_info->filename);\n    }\n    if (exception != (ExceptionInfo *)0x0) {\n      image_info_00 = CloneImageInfo(image_info);\n      image_info_00->ping = MagickTrue;\n      image = ReadStream(image_info_00,PingStream,exception);\n      if (image != (Image *)0x0) {\n        ResetTimer(&image->timer);\n        if (image_info_00->verbose != MagickFalse) {\n          IdentifyImage(image,*(FILE **)PTR_stdout_0041dfdc,MagickFalse,exception);\n        }\n      }\n      DestroyImageInfo(image_info_00);\n      return image;\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }" { (if_statement "if (image_info->debug != MagickFalse) {\n      LogMagickEvent(TraceEvent,"MagickCore/constitute.c","PingImage",0x116,"%s",\n                     image_info->filename);\n    }" if (parenthesized_expression "(image_info->debug != MagickFalse)" ( (binary_expression "image_info->debug != MagickFalse" (field_expression "image_info->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n      LogMagickEvent(TraceEvent,"MagickCore/constitute.c","PingImage",0x116,"%s",\n                     image_info->filename);\n    }" { (expression_statement "LogMagickEvent(TraceEvent,"MagickCore/constitute.c","PingImage",0x116,"%s",\n                     image_info->filename);" (call_expression "LogMagickEvent(TraceEvent,"MagickCore/constitute.c","PingImage",0x116,"%s",\n                     image_info->filename)" identifier (argument_list "(TraceEvent,"MagickCore/constitute.c","PingImage",0x116,"%s",\n                     image_info->filename)" ( identifier , (string_literal ""MagickCore/constitute.c"" " string_content ") , (string_literal ""PingImage"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "image_info->filename" identifier -> field_identifier) ))) ;) })) (if_statement "if (exception != (ExceptionInfo *)0x0) {\n      image_info_00 = CloneImageInfo(image_info);\n      image_info_00->ping = MagickTrue;\n      image = ReadStream(image_info_00,PingStream,exception);\n      if (image != (Image *)0x0) {\n        ResetTimer(&image->timer);\n        if (image_info_00->verbose != MagickFalse) {\n          IdentifyImage(image,*(FILE **)PTR_stdout_0041dfdc,MagickFalse,exception);\n        }\n      }\n      DestroyImageInfo(image_info_00);\n      return image;\n    }" if (parenthesized_expression "(exception != (ExceptionInfo *)0x0)" ( (binary_expression "exception != (ExceptionInfo *)0x0" identifier != (cast_expression "(ExceptionInfo *)0x0" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      image_info_00 = CloneImageInfo(image_info);\n      image_info_00->ping = MagickTrue;\n      image = ReadStream(image_info_00,PingStream,exception);\n      if (image != (Image *)0x0) {\n        ResetTimer(&image->timer);\n        if (image_info_00->verbose != MagickFalse) {\n          IdentifyImage(image,*(FILE **)PTR_stdout_0041dfdc,MagickFalse,exception);\n        }\n      }\n      DestroyImageInfo(image_info_00);\n      return image;\n    }" { (expression_statement "image_info_00 = CloneImageInfo(image_info);" (assignment_expression "image_info_00 = CloneImageInfo(image_info)" identifier = (call_expression "CloneImageInfo(image_info)" identifier (argument_list "(image_info)" ( identifier )))) ;) (expression_statement "image_info_00->ping = MagickTrue;" (assignment_expression "image_info_00->ping = MagickTrue" (field_expression "image_info_00->ping" identifier -> field_identifier) = identifier) ;) (expression_statement "image = ReadStream(image_info_00,PingStream,exception);" (assignment_expression "image = ReadStream(image_info_00,PingStream,exception)" identifier = (call_expression "ReadStream(image_info_00,PingStream,exception)" identifier (argument_list "(image_info_00,PingStream,exception)" ( identifier , identifier , identifier )))) ;) (if_statement "if (image != (Image *)0x0) {\n        ResetTimer(&image->timer);\n        if (image_info_00->verbose != MagickFalse) {\n          IdentifyImage(image,*(FILE **)PTR_stdout_0041dfdc,MagickFalse,exception);\n        }\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        ResetTimer(&image->timer);\n        if (image_info_00->verbose != MagickFalse) {\n          IdentifyImage(image,*(FILE **)PTR_stdout_0041dfdc,MagickFalse,exception);\n        }\n      }" { (expression_statement "ResetTimer(&image->timer);" (call_expression "ResetTimer(&image->timer)" identifier (argument_list "(&image->timer)" ( (pointer_expression "&image->timer" & (field_expression "image->timer" identifier -> field_identifier)) ))) ;) (if_statement "if (image_info_00->verbose != MagickFalse) {\n          IdentifyImage(image,*(FILE **)PTR_stdout_0041dfdc,MagickFalse,exception);\n        }" if (parenthesized_expression "(image_info_00->verbose != MagickFalse)" ( (binary_expression "image_info_00->verbose != MagickFalse" (field_expression "image_info_00->verbose" identifier -> field_identifier) != identifier) )) (compound_statement "{\n          IdentifyImage(image,*(FILE **)PTR_stdout_0041dfdc,MagickFalse,exception);\n        }" { (expression_statement "IdentifyImage(image,*(FILE **)PTR_stdout_0041dfdc,MagickFalse,exception);" (call_expression "IdentifyImage(image,*(FILE **)PTR_stdout_0041dfdc,MagickFalse,exception)" identifier (argument_list "(image,*(FILE **)PTR_stdout_0041dfdc,MagickFalse,exception)" ( identifier , (pointer_expression "*(FILE **)PTR_stdout_0041dfdc" * (cast_expression "(FILE **)PTR_stdout_0041dfdc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier ))) ;) })) })) (expression_statement "DestroyImageInfo(image_info_00);" (call_expression "DestroyImageInfo(image_info_00)" identifier (argument_list "(image_info_00)" ( identifier ))) ;) (return_statement "return image;" return identifier ;) })) comment (expression_statement "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;" (call_expression "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")" identifier (argument_list "("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")" ( (string_literal ""exception != (ExceptionInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/constitute.c"" " string_content ") , number_literal , (string_literal ""PingImage"" " string_content ") ))) ;) })) comment (expression_statement "__assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage");" (call_expression "__assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage")" identifier (argument_list "("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage")" ( (string_literal ""image_info->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/constitute.c"" " string_content ") , number_literal , (string_literal ""PingImage"" " string_content ") ))) ;) })))
(translation_unit "int PingImage(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\n  }\n  if (*(int *)(param_1 + 0x31f4) == -0x54535255) {\n    if (*(int *)(param_1 + 0x31f0) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }\n    if (param_2 != 0) {\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }\n                    \n  __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage");\n}\n\n" (function_definition "int PingImage(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\n  }\n  if (*(int *)(param_1 + 0x31f4) == -0x54535255) {\n    if (*(int *)(param_1 + 0x31f0) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }\n    if (param_2 != 0) {\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }\n                    \n  __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage");\n}" primitive_type (function_declarator "PingImage(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\n  }\n  if (*(int *)(param_1 + 0x31f4) == -0x54535255) {\n    if (*(int *)(param_1 + 0x31f0) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }\n    if (param_2 != 0) {\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }\n                    \n  __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\n  }" { (expression_statement "__assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");" (call_expression "__assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage")" identifier (argument_list "("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage")" ( (string_literal ""image_info != (ImageInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/constitute.c"" " string_content ") , number_literal , (string_literal ""PingImage"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x31f4) == -0x54535255) {\n    if (*(int *)(param_1 + 0x31f0) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }\n    if (param_2 != 0) {\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x31f4) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x31f4) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x31f4)" * (cast_expression "(int *)(param_1 + 0x31f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x31f4)" ( (binary_expression "param_1 + 0x31f4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x31f0) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }\n    if (param_2 != 0) {\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }" { (if_statement "if (*(int *)(param_1 + 0x31f0) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x31f0) != 0)" ( (binary_expression "*(int *)(param_1 + 0x31f0) != 0" (pointer_expression "*(int *)(param_1 + 0x31f0)" * (cast_expression "(int *)(param_1 + 0x31f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x31f0)" ( (binary_expression "param_1 + 0x31f0" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);" (call_expression "LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0)" identifier (argument_list "(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0)" ( number_literal , (string_literal ""MagickCore/constitute.c"" " string_content ") , (string_literal ""PingImage"" " string_content ") , number_literal , (pointer_expression "&DAT_002f75ae" & identifier) , (binary_expression "param_1 + 0x21f0" identifier + number_literal) ))) ;) })) (if_statement "if (param_2 != 0) {\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }" { (expression_statement "iVar1 = CloneImageInfo(param_1);" (assignment_expression "iVar1 = CloneImageInfo(param_1)" identifier = (call_expression "CloneImageInfo(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x1bc) = 1;" (assignment_expression "*(undefined4 *)(iVar1 + 0x1bc) = 1" (pointer_expression "*(undefined4 *)(iVar1 + 0x1bc)" * (cast_expression "(undefined4 *)(iVar1 + 0x1bc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1bc)" ( (binary_expression "iVar1 + 0x1bc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);" (assignment_expression "iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2)" identifier = (call_expression "ReadStream(iVar1,FUN_0007fe20,param_2)" identifier (argument_list "(iVar1,FUN_0007fe20,param_2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }" { (expression_statement "ResetTimer(iVar2 + 0x2c8);" (call_expression "ResetTimer(iVar2 + 0x2c8)" identifier (argument_list "(iVar2 + 0x2c8)" ( (binary_expression "iVar2 + 0x2c8" identifier + number_literal) ))) ;) (if_statement "if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }" if (parenthesized_expression "(*(int *)(iVar1 + 0x1c0) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x1c0) != 0" (pointer_expression "*(int *)(iVar1 + 0x1c0)" * (cast_expression "(int *)(iVar1 + 0x1c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c0)" ( (binary_expression "iVar1 + 0x1c0" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }" { (expression_statement "IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);" (call_expression "IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2)" identifier (argument_list "(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2)" ( identifier , (pointer_expression "*(undefined4 *)PTR_stdout_0041dfdc" * (cast_expression "(undefined4 *)PTR_stdout_0041dfdc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier ))) ;) })) })) (expression_statement "DestroyImageInfo(iVar1);" (call_expression "DestroyImageInfo(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;" (call_expression "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")" identifier (argument_list "("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")" ( (string_literal ""exception != (ExceptionInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/constitute.c"" " string_content ") , number_literal , (string_literal ""PingImage"" " string_content ") ))) ;) })) (expression_statement "__assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage");" (call_expression "__assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage")" identifier (argument_list "("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage")" ( (string_literal ""image_info->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/constitute.c"" " string_content ") , number_literal , (string_literal ""PingImage"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (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 IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (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 (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , IDENT ))) ;) })) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "int PingImage(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\n  }\n  if (*(int *)(param_1 + 0x31f4) == -0x54535255) {\n    if (*(int *)(param_1 + 0x31f0) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }\n    if (param_2 != 0) {\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }\n                    \n  __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage");\n}" (primitive_type "int") (function_declarator "PingImage(int param_1,int param_2)" (identifier "PingImage") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\n  }\n  if (*(int *)(param_1 + 0x31f4) == -0x54535255) {\n    if (*(int *)(param_1 + 0x31f0) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }\n    if (param_2 != 0) {\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }\n                    \n  __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage");\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\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_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");\n  }" ({ "{") (expression_statement "__assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");" (call_expression "__assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage")" (identifier "__assert_fail") (argument_list "("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage")" (( "(") (string_literal ""image_info != (ImageInfo *) NULL"" (" """) (string_content "image_info != (ImageInfo *) NULL") (" """)) (, ",") (string_literal ""MagickCore/constitute.c"" (" """) (string_content "MagickCore/constitute.c") (" """)) (, ",") (number_literal "0x113") (, ",") (string_literal ""PingImage"" (" """) (string_content "PingImage") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x31f4) == -0x54535255) {\n    if (*(int *)(param_1 + 0x31f0) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }\n    if (param_2 != 0) {\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x31f4) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x31f4) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x31f4)" (* "*") (cast_expression "(int *)(param_1 + 0x31f4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x31f4)" (( "(") (binary_expression "param_1 + 0x31f4" (identifier "param_1") (+ "+") (number_literal "0x31f4")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x31f0) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }\n    if (param_2 != 0) {\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x31f0) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x31f0) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x31f0) != 0" (pointer_expression "*(int *)(param_1 + 0x31f0)" (* "*") (cast_expression "(int *)(param_1 + 0x31f0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x31f0)" (( "(") (binary_expression "param_1 + 0x31f0" (identifier "param_1") (+ "+") (number_literal "0x31f0")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);\n    }" ({ "{") (expression_statement "LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0);" (call_expression "LogMagickEvent(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0)" (identifier "LogMagickEvent") (argument_list "(0x8000,"MagickCore/constitute.c","PingImage",0x116,&DAT_002f75ae,\n                     param_1 + 0x21f0)" (( "(") (number_literal "0x8000") (, ",") (string_literal ""MagickCore/constitute.c"" (" """) (string_content "MagickCore/constitute.c") (" """)) (, ",") (string_literal ""PingImage"" (" """) (string_content "PingImage") (" """)) (, ",") (number_literal "0x116") (, ",") (pointer_expression "&DAT_002f75ae" (& "&") (identifier "DAT_002f75ae")) (, ",") (binary_expression "param_1 + 0x21f0" (identifier "param_1") (+ "+") (number_literal "0x21f0")) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 != 0) {\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = CloneImageInfo(param_1);\n      *(undefined4 *)(iVar1 + 0x1bc) = 1;\n      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);\n      if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }\n      DestroyImageInfo(iVar1);\n      return iVar2;\n    }" ({ "{") (expression_statement "iVar1 = CloneImageInfo(param_1);" (assignment_expression "iVar1 = CloneImageInfo(param_1)" (identifier "iVar1") (= "=") (call_expression "CloneImageInfo(param_1)" (identifier "CloneImageInfo") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x1bc) = 1;" (assignment_expression "*(undefined4 *)(iVar1 + 0x1bc) = 1" (pointer_expression "*(undefined4 *)(iVar1 + 0x1bc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x1bc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1bc)" (( "(") (binary_expression "iVar1 + 0x1bc" (identifier "iVar1") (+ "+") (number_literal "0x1bc")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);" (assignment_expression "iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2)" (identifier "iVar2") (= "=") (call_expression "ReadStream(iVar1,FUN_0007fe20,param_2)" (identifier "ReadStream") (argument_list "(iVar1,FUN_0007fe20,param_2)" (( "(") (identifier "iVar1") (, ",") (identifier "FUN_0007fe20") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        ResetTimer(iVar2 + 0x2c8);\n        if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }\n      }" ({ "{") (expression_statement "ResetTimer(iVar2 + 0x2c8);" (call_expression "ResetTimer(iVar2 + 0x2c8)" (identifier "ResetTimer") (argument_list "(iVar2 + 0x2c8)" (( "(") (binary_expression "iVar2 + 0x2c8" (identifier "iVar2") (+ "+") (number_literal "0x2c8")) () ")"))) (; ";")) (if_statement "if (*(int *)(iVar1 + 0x1c0) != 0) {\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x1c0) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x1c0) != 0" (pointer_expression "*(int *)(iVar1 + 0x1c0)" (* "*") (cast_expression "(int *)(iVar1 + 0x1c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c0)" (( "(") (binary_expression "iVar1 + 0x1c0" (identifier "iVar1") (+ "+") (number_literal "0x1c0")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);\n        }" ({ "{") (expression_statement "IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);" (call_expression "IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2)" (identifier "IdentifyImage") (argument_list "(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2)" (( "(") (identifier "iVar2") (, ",") (pointer_expression "*(undefined4 *)PTR_stdout_0041dfdc" (* "*") (cast_expression "(undefined4 *)PTR_stdout_0041dfdc" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stdout_0041dfdc"))) (, ",") (number_literal "0") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "DestroyImageInfo(iVar1);" (call_expression "DestroyImageInfo(iVar1)" (identifier "DestroyImageInfo") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")\n    ;" (call_expression "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")" (identifier "__assert_fail") (argument_list "("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")" (( "(") (string_literal ""exception != (ExceptionInfo *) NULL"" (" """) (string_content "exception != (ExceptionInfo *) NULL") (" """)) (, ",") (string_literal ""MagickCore/constitute.c"" (" """) (string_content "MagickCore/constitute.c") (" """)) (, ",") (number_literal "0x118") (, ",") (string_literal ""PingImage"" (" """) (string_content "PingImage") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "__assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage");" (call_expression "__assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage")" (identifier "__assert_fail") (argument_list "("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,\n                "PingImage")" (( "(") (string_literal ""image_info->signature == MagickCoreSignature"" (" """) (string_content "image_info->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/constitute.c"" (" """) (string_content "MagickCore/constitute.c") (" """)) (, ",") (number_literal "0x114") (, ",") (string_literal ""PingImage"" (" """) (string_content "PingImage") (" """)) () ")"))) (; ";")) (} "}")))

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

type_1 * function_1(type_2 *var_1,type_3 *var_5)

{
  type_2 *image_info_00;
  type_1 *var_8;
  
  if (var_1 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"PingImage");
  }
  if (var_1->signature == 0xabacadab) {
    if (var_1->debug != var_3) {
      var_4(TraceEvent,"MagickCore/constitute.c","PingImage",0x116,"%s",
                     var_1->filename);
    }
    if (var_5 != (type_3 *)0x0) {
      image_info_00 = var_6(var_1);
      image_info_00->ping = MagickTrue;
      var_8 = var_7(image_info_00,PingStream,var_5);
      if (var_8 != (type_1 *)0x0) {
        var_9(&var_8->timer);
        if (image_info_00->verbose != var_3) {
          var_10(var_8,*(type_4 **)PTR_stdout_0041dfdc,var_3,var_5);
        }
      }
      var_11(image_info_00);
      return var_8;
    }
                    /* WARNING: Subroutine does not return */
    var_2("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"PingImage")
    ;
  }
                    /* WARNING: Subroutine does not return */
  var_2("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,
                "PingImage");
}


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

int MASKED(int param_1,int param_2)

{
  int iVar1;
  int iVar2;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image_info != (ImageInfo *) NULL","MagickCore/constitute.c",0x113,"MASKED");
  }
  if (*(int *)(param_1 + 0x31f4) == -0x54535255) {
    if (*(int *)(param_1 + 0x31f0) != 0) {
      LogMagickEvent(0x8000,"MagickCore/constitute.c","MASKED",0x116,&DAT_002f75ae,
                     param_1 + 0x21f0);
    }
    if (param_2 != 0) {
      iVar1 = CloneImageInfo(param_1);
      *(undefined4 *)(iVar1 + 0x1bc) = 1;
      iVar2 = ReadStream(iVar1,FUN_0007fe20,param_2);
      if (iVar2 != 0) {
        ResetTimer(iVar2 + 0x2c8);
        if (*(int *)(iVar1 + 0x1c0) != 0) {
          IdentifyImage(iVar2,*(undefined4 *)PTR_stdout_0041dfdc,0,param_2);
        }
      }
      DestroyImageInfo(iVar1);
      return iVar2;
    }
                    /* WARNING: Subroutine does not return */
    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/constitute.c",0x118,"MASKED")
    ;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/constitute.c",0x114,
                "MASKED");
}

