
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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 */

MagickBooleanType SetQuantumPad(Image *image,QuantumInfo *quantum_info,size_t pad)

{
  MagickBooleanType MVar1;
  
  if (image == (Image *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");
  }
  if (image->signature == 0xabacadab) {
    if (image->debug != MagickFalse) {
      LogMagickEvent(TraceEvent,"MagickCore/quantum.c","SetQuantumPad",0x393,"%s",image->filename);
    }
    if (quantum_info != (QuantumInfo *)0x0) {
      if (quantum_info->signature == 0xabacadab) {
        quantum_info->pad = pad;
        MVar1 = SetQuantumDepth(image,quantum_info,quantum_info->depth);
        return MVar1;
      }
                    /* WARNING: Subroutine does not return */
      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,
                    "SetQuantumPad");
    }
                    /* WARNING: Subroutine does not return */
    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,
                  "SetQuantumPad");
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,
                "SetQuantumPad");
}



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

void SetQuantumPad(int param_1,undefined4 *param_2,undefined4 param_3)

{
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");
  }
  if (*(int *)(param_1 + 0x3344) == -0x54535255) {
    if (*(int *)(param_1 + 0x3328) != 0) {
      LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,
                     param_1 + 0x318);
    }
    if (param_2 != (undefined4 *)0x0) {
      if (param_2[0x17] == -0x54535255) {
        param_2[9] = param_3;
        SetQuantumDepth(param_1,param_2,*param_2);
        return;
      }
                    /* WARNING: Subroutine does not return */
      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,
                    "SetQuantumPad");
    }
                    /* WARNING: Subroutine does not return */
    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,
                  "SetQuantumPad");
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,
                "SetQuantumPad");
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x10]
CALL 0x00039d70
ADD EBX,0x2caeb4
MOV ESI,dword ptr [ESP + 0x14]
TEST EDI,EDI
JZ 0x001531fa
CMP dword ptr [EDI + 0x3344],0xabacadab
JNZ 0x001531db
MOV EAX,dword ptr [EDI + 0x3328]
TEST EAX,EAX
JNZ 0x001531a8
TEST ESI,ESI
JZ 0x00153238
CMP dword ptr [ESI + 0x5c],0xabacadab
JNZ 0x00153219
MOV EAX,dword ptr [ESP + 0x18]
SUB ESP,0x4
MOV dword ptr [ESI + 0x24],EAX
PUSH dword ptr [ESI]
PUSH ESI
PUSH EDI
CALL 0x000318b0
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
LEA EAX,[EDI + 0x318]
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xffed95ae]
PUSH EAX
LEA EAX,[EBX + 0xffee6fdc]
PUSH 0x393
PUSH EAX
LEA EAX,[EBX + 0xffee6e18]
PUSH EAX
PUSH 0x8000
CALL 0x000323b0
ADD ESP,0x20
JMP 0x00153174
LEA EAX,[EBX + 0xffee6fec]
PUSH EAX
LEA EAX,[EBX + 0xffee6e18]
PUSH 0x391
PUSH EAX
LEA EAX,[EBX + 0xffecc4b8]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffee6fec]
PUSH EAX
LEA EAX,[EBX + 0xffee6e18]
PUSH 0x390
PUSH EAX
LEA EAX,[EBX + 0xffed9cf4]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffee6fec]
PUSH EAX
LEA EAX,[EBX + 0xffee6e18]
PUSH 0x395
PUSH EAX
LEA EAX,[EBX + 0xffee6eb0]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffee6fec]
PUSH EAX
LEA EAX,[EBX + 0xffee6e18]
PUSH 0x394
PUSH EAX
LEA EAX,[EBX + 0xffee6e88]
PUSH EAX
CALL 0x000313d0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid SetQuantumPad(int param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");\n  }\n  if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (param_2 != (undefined4 *)0x0) {\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad");\n}\n\n" comment (function_definition "void SetQuantumPad(int param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");\n  }\n  if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (param_2 != (undefined4 *)0x0) {\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad");\n}" primitive_type (function_declarator "SetQuantumPad(int param_1,undefined4 *param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 *param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");\n  }\n  if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (param_2 != (undefined4 *)0x0) {\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad");\n}" { (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");\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/quantum.c",0x390,"SetQuantumPad");\n  }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad")" identifier (argument_list "("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/quantum.c"" " string_content ") , number_literal , (string_literal ""SetQuantumPad"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (param_2 != (undefined4 *)0x0) {\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\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/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (param_2 != (undefined4 *)0x0) {\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\n  }" { (if_statement "if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&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/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318)" identifier (argument_list "(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318)" ( number_literal , (string_literal ""MagickCore/quantum.c"" " string_content ") , (string_literal ""SetQuantumPad"" " string_content ") , number_literal , (pointer_expression "&DAT_002f75ae" & identifier) , (binary_expression "param_1 + 0x318" identifier + number_literal) ))) ;) })) (if_statement "if (param_2 != (undefined4 *)0x0) {\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }" if (parenthesized_expression "(param_2 != (undefined4 *)0x0)" ( (binary_expression "param_2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }" { (if_statement "if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }" if (parenthesized_expression "(param_2[0x17] == -0x54535255)" ( (binary_expression "param_2[0x17] == -0x54535255" (subscript_expression "param_2[0x17]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }" { (expression_statement "param_2[9] = param_3;" (assignment_expression "param_2[9] = param_3" (subscript_expression "param_2[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "SetQuantumDepth(param_1,param_2,*param_2);" (call_expression "SetQuantumDepth(param_1,param_2,*param_2)" identifier (argument_list "(param_1,param_2,*param_2)" ( identifier , identifier , (pointer_expression "*param_2" * identifier) ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "__assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");" (call_expression "__assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad")" identifier (argument_list "("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad")" ( (string_literal ""quantum_info->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/quantum.c"" " string_content ") , number_literal , (string_literal ""SetQuantumPad"" " string_content ") ))) ;) })) comment (expression_statement "__assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");" (call_expression "__assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad")" identifier (argument_list "("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad")" ( (string_literal ""quantum_info != (QuantumInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/quantum.c"" " string_content ") , number_literal , (string_literal ""SetQuantumPad"" " string_content ") ))) ;) })) comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/quantum.c"" " string_content ") , number_literal , (string_literal ""SetQuantumPad"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\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\nMagickBooleanType SetQuantumPad(Image *image,QuantumInfo *quantum_info,size_t pad)\n\n{\n  MagickBooleanType MVar1;\n  \n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");\n  }\n  if (image->signature == 0xabacadab) {\n    if (image->debug != MagickFalse) {\n      LogMagickEvent(TraceEvent,"MagickCore/quantum.c","SetQuantumPad",0x393,"%s",image->filename);\n    }\n    if (quantum_info != (QuantumInfo *)0x0) {\n      if (quantum_info->signature == 0xabacadab) {\n        quantum_info->pad = pad;\n        MVar1 = SetQuantumDepth(image,quantum_info,quantum_info->depth);\n        return MVar1;\n      }\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad");\n}\n\n" comment comment comment comment comment comment (function_definition "MagickBooleanType SetQuantumPad(Image *image,QuantumInfo *quantum_info,size_t pad)\n\n{\n  MagickBooleanType MVar1;\n  \n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");\n  }\n  if (image->signature == 0xabacadab) {\n    if (image->debug != MagickFalse) {\n      LogMagickEvent(TraceEvent,"MagickCore/quantum.c","SetQuantumPad",0x393,"%s",image->filename);\n    }\n    if (quantum_info != (QuantumInfo *)0x0) {\n      if (quantum_info->signature == 0xabacadab) {\n        quantum_info->pad = pad;\n        MVar1 = SetQuantumDepth(image,quantum_info,quantum_info->depth);\n        return MVar1;\n      }\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad");\n}" type_identifier (function_declarator "SetQuantumPad(Image *image,QuantumInfo *quantum_info,size_t pad)" identifier (parameter_list "(Image *image,QuantumInfo *quantum_info,size_t pad)" ( (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "QuantumInfo *quantum_info" type_identifier (pointer_declarator "*quantum_info" * identifier)) , (parameter_declaration "size_t pad" primitive_type identifier) ))) (compound_statement "{\n  MagickBooleanType MVar1;\n  \n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");\n  }\n  if (image->signature == 0xabacadab) {\n    if (image->debug != MagickFalse) {\n      LogMagickEvent(TraceEvent,"MagickCore/quantum.c","SetQuantumPad",0x393,"%s",image->filename);\n    }\n    if (quantum_info != (QuantumInfo *)0x0) {\n      if (quantum_info->signature == 0xabacadab) {\n        quantum_info->pad = pad;\n        MVar1 = SetQuantumDepth(image,quantum_info,quantum_info->depth);\n        return MVar1;\n      }\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad");\n}" { (declaration "MagickBooleanType MVar1;" type_identifier identifier ;) (if_statement "if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");\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/quantum.c",0x390,"SetQuantumPad");\n  }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad")" identifier (argument_list "("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/quantum.c"" " string_content ") , number_literal , (string_literal ""SetQuantumPad"" " string_content ") ))) ;) })) (if_statement "if (image->signature == 0xabacadab) {\n    if (image->debug != MagickFalse) {\n      LogMagickEvent(TraceEvent,"MagickCore/quantum.c","SetQuantumPad",0x393,"%s",image->filename);\n    }\n    if (quantum_info != (QuantumInfo *)0x0) {\n      if (quantum_info->signature == 0xabacadab) {\n        quantum_info->pad = pad;\n        MVar1 = SetQuantumDepth(image,quantum_info,quantum_info->depth);\n        return MVar1;\n      }\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\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/quantum.c","SetQuantumPad",0x393,"%s",image->filename);\n    }\n    if (quantum_info != (QuantumInfo *)0x0) {\n      if (quantum_info->signature == 0xabacadab) {\n        quantum_info->pad = pad;\n        MVar1 = SetQuantumDepth(image,quantum_info,quantum_info->depth);\n        return MVar1;\n      }\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\n  }" { (if_statement "if (image->debug != MagickFalse) {\n      LogMagickEvent(TraceEvent,"MagickCore/quantum.c","SetQuantumPad",0x393,"%s",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/quantum.c","SetQuantumPad",0x393,"%s",image->filename);\n    }" { (expression_statement "LogMagickEvent(TraceEvent,"MagickCore/quantum.c","SetQuantumPad",0x393,"%s",image->filename);" (call_expression "LogMagickEvent(TraceEvent,"MagickCore/quantum.c","SetQuantumPad",0x393,"%s",image->filename)" identifier (argument_list "(TraceEvent,"MagickCore/quantum.c","SetQuantumPad",0x393,"%s",image->filename)" ( identifier , (string_literal ""MagickCore/quantum.c"" " string_content ") , (string_literal ""SetQuantumPad"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "image->filename" identifier -> field_identifier) ))) ;) })) (if_statement "if (quantum_info != (QuantumInfo *)0x0) {\n      if (quantum_info->signature == 0xabacadab) {\n        quantum_info->pad = pad;\n        MVar1 = SetQuantumDepth(image,quantum_info,quantum_info->depth);\n        return MVar1;\n      }\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }" if (parenthesized_expression "(quantum_info != (QuantumInfo *)0x0)" ( (binary_expression "quantum_info != (QuantumInfo *)0x0" identifier != (cast_expression "(QuantumInfo *)0x0" ( (type_descriptor "QuantumInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (quantum_info->signature == 0xabacadab) {\n        quantum_info->pad = pad;\n        MVar1 = SetQuantumDepth(image,quantum_info,quantum_info->depth);\n        return MVar1;\n      }\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }" { (if_statement "if (quantum_info->signature == 0xabacadab) {\n        quantum_info->pad = pad;\n        MVar1 = SetQuantumDepth(image,quantum_info,quantum_info->depth);\n        return MVar1;\n      }" if (parenthesized_expression "(quantum_info->signature == 0xabacadab)" ( (binary_expression "quantum_info->signature == 0xabacadab" (field_expression "quantum_info->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n        quantum_info->pad = pad;\n        MVar1 = SetQuantumDepth(image,quantum_info,quantum_info->depth);\n        return MVar1;\n      }" { (expression_statement "quantum_info->pad = pad;" (assignment_expression "quantum_info->pad = pad" (field_expression "quantum_info->pad" identifier -> field_identifier) = identifier) ;) (expression_statement "MVar1 = SetQuantumDepth(image,quantum_info,quantum_info->depth);" (assignment_expression "MVar1 = SetQuantumDepth(image,quantum_info,quantum_info->depth)" identifier = (call_expression "SetQuantumDepth(image,quantum_info,quantum_info->depth)" identifier (argument_list "(image,quantum_info,quantum_info->depth)" ( identifier , identifier , (field_expression "quantum_info->depth" identifier -> field_identifier) )))) ;) (return_statement "return MVar1;" return identifier ;) })) comment (expression_statement "__assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");" (call_expression "__assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad")" identifier (argument_list "("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad")" ( (string_literal ""quantum_info->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/quantum.c"" " string_content ") , number_literal , (string_literal ""SetQuantumPad"" " string_content ") ))) ;) })) comment (expression_statement "__assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");" (call_expression "__assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad")" identifier (argument_list "("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad")" ( (string_literal ""quantum_info != (QuantumInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/quantum.c"" " string_content ") , number_literal , (string_literal ""SetQuantumPad"" " string_content ") ))) ;) })) comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/quantum.c"" " string_content ") , number_literal , (string_literal ""SetQuantumPad"" " string_content ") ))) ;) })))
(translation_unit "void SetQuantumPad(int param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");\n  }\n  if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (param_2 != (undefined4 *)0x0) {\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    \n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    \n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\n  }\n                    \n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad");\n}\n\n" (function_definition "void SetQuantumPad(int param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");\n  }\n  if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (param_2 != (undefined4 *)0x0) {\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    \n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    \n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\n  }\n                    \n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad");\n}" primitive_type (function_declarator "SetQuantumPad(int param_1,undefined4 *param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 *param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");\n  }\n  if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (param_2 != (undefined4 *)0x0) {\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    \n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    \n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\n  }\n                    \n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad");\n}" { (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");\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/quantum.c",0x390,"SetQuantumPad");\n  }" { (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad")" identifier (argument_list "("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/quantum.c"" " string_content ") , number_literal , (string_literal ""SetQuantumPad"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (param_2 != (undefined4 *)0x0) {\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    \n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    \n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\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/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (param_2 != (undefined4 *)0x0) {\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    \n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    \n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\n  }" { (if_statement "if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&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/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318)" identifier (argument_list "(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318)" ( number_literal , (string_literal ""MagickCore/quantum.c"" " string_content ") , (string_literal ""SetQuantumPad"" " string_content ") , number_literal , (pointer_expression "&DAT_002f75ae" & identifier) , (binary_expression "param_1 + 0x318" identifier + number_literal) ))) ;) })) (if_statement "if (param_2 != (undefined4 *)0x0) {\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    \n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }" if (parenthesized_expression "(param_2 != (undefined4 *)0x0)" ( (binary_expression "param_2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    \n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }" { (if_statement "if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }" if (parenthesized_expression "(param_2[0x17] == -0x54535255)" ( (binary_expression "param_2[0x17] == -0x54535255" (subscript_expression "param_2[0x17]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }" { (expression_statement "param_2[9] = param_3;" (assignment_expression "param_2[9] = param_3" (subscript_expression "param_2[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "SetQuantumDepth(param_1,param_2,*param_2);" (call_expression "SetQuantumDepth(param_1,param_2,*param_2)" identifier (argument_list "(param_1,param_2,*param_2)" ( identifier , identifier , (pointer_expression "*param_2" * identifier) ))) ;) (return_statement "return;" return ;) })) (expression_statement "__assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");" (call_expression "__assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad")" identifier (argument_list "("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad")" ( (string_literal ""quantum_info->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/quantum.c"" " string_content ") , number_literal , (string_literal ""SetQuantumPad"" " string_content ") ))) ;) })) (expression_statement "__assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");" (call_expression "__assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad")" identifier (argument_list "("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad")" ( (string_literal ""quantum_info != (QuantumInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/quantum.c"" " string_content ") , number_literal , (string_literal ""SetQuantumPad"" " string_content ") ))) ;) })) (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/quantum.c"" " string_content ") , number_literal , (string_literal ""SetQuantumPad"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * IDENT) ))) ;) (return_statement return ;) })) (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 ") ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void SetQuantumPad(int param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");\n  }\n  if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (param_2 != (undefined4 *)0x0) {\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    \n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    \n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\n  }\n                    \n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad");\n}" (primitive_type "void") (function_declarator "SetQuantumPad(int param_1,undefined4 *param_2,undefined4 param_3)" (identifier "SetQuantumPad") (parameter_list "(int param_1,undefined4 *param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");\n  }\n  if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (param_2 != (undefined4 *)0x0) {\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    \n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    \n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\n  }\n                    \n  __assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad");\n}" ({ "{") (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");\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/quantum.c",0x390,"SetQuantumPad");\n  }" ({ "{") (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad")" (identifier "__assert_fail") (argument_list "("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad")" (( "(") (string_literal ""image != (Image *) NULL"" (" """) (string_content "image != (Image *) NULL") (" """)) (, ",") (string_literal ""MagickCore/quantum.c"" (" """) (string_content "MagickCore/quantum.c") (" """)) (, ",") (number_literal "0x390") (, ",") (string_literal ""SetQuantumPad"" (" """) (string_content "SetQuantumPad") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x3344) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (param_2 != (undefined4 *)0x0) {\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    \n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    \n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\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/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }\n    if (param_2 != (undefined4 *)0x0) {\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    \n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }\n                    \n    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x3328) != 0) {\n      LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&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/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);\n    }" ({ "{") (expression_statement "LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318)" (identifier "LogMagickEvent") (argument_list "(0x8000,"MagickCore/quantum.c","SetQuantumPad",0x393,&DAT_002f75ae,\n                     param_1 + 0x318)" (( "(") (number_literal "0x8000") (, ",") (string_literal ""MagickCore/quantum.c"" (" """) (string_content "MagickCore/quantum.c") (" """)) (, ",") (string_literal ""SetQuantumPad"" (" """) (string_content "SetQuantumPad") (" """)) (, ",") (number_literal "0x393") (, ",") (pointer_expression "&DAT_002f75ae" (& "&") (identifier "DAT_002f75ae")) (, ",") (binary_expression "param_1 + 0x318" (identifier "param_1") (+ "+") (number_literal "0x318")) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 != (undefined4 *)0x0) {\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    \n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }" (if "if") (parenthesized_expression "(param_2 != (undefined4 *)0x0)" (( "(") (binary_expression "param_2 != (undefined4 *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }\n                    \n      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");\n    }" ({ "{") (if_statement "if (param_2[0x17] == -0x54535255) {\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }" (if "if") (parenthesized_expression "(param_2[0x17] == -0x54535255)" (( "(") (binary_expression "param_2[0x17] == -0x54535255" (subscript_expression "param_2[0x17]" (identifier "param_2") ([ "[") (number_literal "0x17") (] "]")) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n        param_2[9] = param_3;\n        SetQuantumDepth(param_1,param_2,*param_2);\n        return;\n      }" ({ "{") (expression_statement "param_2[9] = param_3;" (assignment_expression "param_2[9] = param_3" (subscript_expression "param_2[9]" (identifier "param_2") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "SetQuantumDepth(param_1,param_2,*param_2);" (call_expression "SetQuantumDepth(param_1,param_2,*param_2)" (identifier "SetQuantumDepth") (argument_list "(param_1,param_2,*param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad");" (call_expression "__assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad")" (identifier "__assert_fail") (argument_list "("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,\n                    "SetQuantumPad")" (( "(") (string_literal ""quantum_info->signature == MagickCoreSignature"" (" """) (string_content "quantum_info->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/quantum.c"" (" """) (string_content "MagickCore/quantum.c") (" """)) (, ",") (number_literal "0x395") (, ",") (string_literal ""SetQuantumPad"" (" """) (string_content "SetQuantumPad") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "__assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad");" (call_expression "__assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad")" (identifier "__assert_fail") (argument_list "("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,\n                  "SetQuantumPad")" (( "(") (string_literal ""quantum_info != (QuantumInfo *) NULL"" (" """) (string_content "quantum_info != (QuantumInfo *) NULL") (" """)) (, ",") (string_literal ""MagickCore/quantum.c"" (" """) (string_content "MagickCore/quantum.c") (" """)) (, ",") (number_literal "0x394") (, ",") (string_literal ""SetQuantumPad"" (" """) (string_content "SetQuantumPad") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad")" (identifier "__assert_fail") (argument_list "("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,\n                "SetQuantumPad")" (( "(") (string_literal ""image->signature == MagickCoreSignature"" (" """) (string_content "image->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/quantum.c"" (" """) (string_content "MagickCore/quantum.c") (" """)) (, ",") (number_literal "0x391") (, ",") (string_literal ""SetQuantumPad"" (" """) (string_content "SetQuantumPad") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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 */

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

{
  type_1 MVar1;
  
  if (var_1 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("image != (Image *) NULL","MagickCore/quantum.c",0x390,"SetQuantumPad");
  }
  if (var_1->signature == 0xabacadab) {
    if (var_1->debug != var_3) {
      var_4(TraceEvent,"MagickCore/quantum.c","SetQuantumPad",0x393,"%s",var_1->filename);
    }
    if (var_5 != (type_3 *)0x0) {
      if (var_5->signature == 0xabacadab) {
        var_5->pad = pad;
        MVar1 = var_6(var_1,var_5,var_5->depth);
        return MVar1;
      }
                    /* WARNING: Subroutine does not return */
      var_2("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,
                    "SetQuantumPad");
    }
                    /* WARNING: Subroutine does not return */
    var_2("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,
                  "SetQuantumPad");
  }
                    /* WARNING: Subroutine does not return */
  var_2("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,
                "SetQuantumPad");
}


(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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (pointer_expression argument: (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))))))) (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 */

void MASKED(int param_1,undefined4 *param_2,undefined4 param_3)

{
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/quantum.c",0x390,"MASKED");
  }
  if (*(int *)(param_1 + 0x3344) == -0x54535255) {
    if (*(int *)(param_1 + 0x3328) != 0) {
      LogMagickEvent(0x8000,"MagickCore/quantum.c","MASKED",0x393,&DAT_002f75ae,
                     param_1 + 0x318);
    }
    if (param_2 != (undefined4 *)0x0) {
      if (param_2[0x17] == -0x54535255) {
        param_2[9] = param_3;
        SetQuantumDepth(param_1,param_2,*param_2);
        return;
      }
                    /* WARNING: Subroutine does not return */
      __assert_fail("quantum_info->signature == MagickCoreSignature","MagickCore/quantum.c",0x395,
                    "MASKED");
    }
                    /* WARNING: Subroutine does not return */
    __assert_fail("quantum_info != (QuantumInfo *) NULL","MagickCore/quantum.c",0x394,
                  "MASKED");
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("image->signature == MagickCoreSignature","MagickCore/quantum.c",0x391,
                "MASKED");
}

