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

MagickBooleanType DefineImageProperty(Image *image,char *property,ExceptionInfo *exception)

{
  long lVar1;
  MagickBooleanType MVar2;
  char *pcVar3;
  long in_FS_OFFSET;
  char key [4096];
  char value [4096];
  
  pcVar3 = key;
  lVar1 = *(long *)(in_FS_OFFSET + 0x28);
  if (image == (Image *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");
  }
  if (property != (char *)0x0) {
    CopyMagickString(key,property,0xfff);
    while ((key[0] != '=' && (key[0] != '\0'))) {
      pcVar3 = pcVar3 + 1;
      key[0] = *pcVar3;
    }
    value[0] = '\0';
    if (key[0] == '=') {
      CopyMagickString(value,pcVar3 + 1,0x1000);
    }
    *pcVar3 = '\0';
    MVar2 = SetImageProperty(image,key,value,exception);
    if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {
      return MVar2;
    }
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"
               );
}



void DefineImageProperty(long param_1,long param_2,undefined8 param_3)

{
  char *pcVar1;
  long in_FS_OFFSET;
  char local_2028;
  char local_2027 [4095];
  undefined1 local_1028 [4104];
  long local_20;
  
  pcVar1 = &local_2028;
  local_20 = *(long *)(in_FS_OFFSET + 0x28);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");
  }
  if (param_2 != 0) {
    CopyMagickString(&local_2028,param_2,0xfff);
    while ((local_2028 != '=' && (local_2028 != '\0'))) {
      pcVar1 = pcVar1 + 1;
      local_2028 = *pcVar1;
    }
    local_1028[0] = 0;
    if (local_2028 == '=') {
      CopyMagickString(local_1028,pcVar1 + 1,0x1000);
    }
    *pcVar1 = '\0';
    SetImageProperty(param_1,&local_2028,local_1028,param_3);
    if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {
      return;
    }
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"
               );
}


PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x2010
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x2008],RAX
XOR EAX,EAX
TEST RDI,RDI
JZ 0x0025d277
MOV RBP,RDI
MOV R12,RDX
TEST RSI,RSI
JZ 0x0025d296
MOV RDI,RSP
MOV EDX,0xfff
CALL 0x0014a0b0
MOVZX EAX,byte ptr [RSP]
CMP AL,0x3d
JZ 0x0025d2b5
TEST AL,AL
JZ 0x0025d2b5
MOV RBX,RSP
ADD RBX,0x1
MOVZX EAX,byte ptr [RBX]
CMP AL,0x3d
JZ 0x0025d233
TEST AL,AL
JNZ 0x0025d224
MOV byte ptr [RSP + 0x1000],0x0
CMP AL,0x3d
JZ 0x0025d2bd
MOV byte ptr [RBX],0x0
LEA RDX,[RSP + 0x1000]
MOV RSI,RSP
MOV RCX,R12
MOV RDI,RBP
CALL 0x0014ae60
MOV RCX,qword ptr [RSP + 0x2008]
XOR RCX,qword ptr FS:[0x28]
JNZ 0x0025d2d8
ADD RSP,0x2010
POP RBX
POP RBP
POP R12
RET
LEA RCX,[0x42de70]
MOV EDX,0xf2
LEA RSI,[0x4298c6]
LEA RDI,[0x420571]
CALL 0x0014a360
LEA RCX,[0x42de70]
MOV EDX,0xf3
LEA RSI,[0x4298c6]
LEA RDI,[0x429c08]
CALL 0x0014a360
MOV RBX,RSP
JMP 0x0025d233
LEA RSI,[RBX + 0x1]
LEA RDI,[RSP + 0x1000]
MOV EDX,0x1000
CALL 0x0014a0b0
JMP 0x0025d23f
CALL 0x0014c5c0
(translation_unit "void DefineImageProperty(long param_1,long param_2,undefined8 param_3)\n\n{\n  char *pcVar1;\n  long in_FS_OFFSET;\n  char local_2028;\n  char local_2027 [4095];\n  undefined1 local_1028 [4104];\n  long local_20;\n  \n  pcVar1 = &local_2028;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");\n  }\n  if (param_2 != 0) {\n    CopyMagickString(&local_2028,param_2,0xfff);\n    while ((local_2028 != '=' && (local_2028 != '\0'))) {\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }\n    local_1028[0] = 0;\n    if (local_2028 == '=') {\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }\n    *pcVar1 = '\0';\n    SetImageProperty(param_1,&local_2028,local_1028,param_3);\n    if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               );\n}\n\n" (function_definition "void DefineImageProperty(long param_1,long param_2,undefined8 param_3)\n\n{\n  char *pcVar1;\n  long in_FS_OFFSET;\n  char local_2028;\n  char local_2027 [4095];\n  undefined1 local_1028 [4104];\n  long local_20;\n  \n  pcVar1 = &local_2028;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");\n  }\n  if (param_2 != 0) {\n    CopyMagickString(&local_2028,param_2,0xfff);\n    while ((local_2028 != '=' && (local_2028 != '\0'))) {\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }\n    local_1028[0] = 0;\n    if (local_2028 == '=') {\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }\n    *pcVar1 = '\0';\n    SetImageProperty(param_1,&local_2028,local_1028,param_3);\n    if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               );\n}" primitive_type (function_declarator "DefineImageProperty(long param_1,long param_2,undefined8 param_3)" identifier (parameter_list "(long param_1,long param_2,undefined8 param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  long in_FS_OFFSET;\n  char local_2028;\n  char local_2027 [4095];\n  undefined1 local_1028 [4104];\n  long local_20;\n  \n  pcVar1 = &local_2028;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");\n  }\n  if (param_2 != 0) {\n    CopyMagickString(&local_2028,param_2,0xfff);\n    while ((local_2028 != '=' && (local_2028 != '\0'))) {\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }\n    local_1028[0] = 0;\n    if (local_2028 == '=') {\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }\n    *pcVar1 = '\0';\n    SetImageProperty(param_1,&local_2028,local_1028,param_3);\n    if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               );\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "char local_2028;" primitive_type identifier ;) (declaration "char local_2027 [4095];" primitive_type (array_declarator "local_2027 [4095]" identifier [ number_literal ]) ;) (declaration "undefined1 local_1028 [4104];" type_identifier (array_declarator "local_1028 [4104]" identifier [ number_literal ]) ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (expression_statement "pcVar1 = &local_2028;" (assignment_expression "pcVar1 = &local_2028" identifier = (pointer_expression "&local_2028" & identifier)) ;) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");\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/property.c",0xf2,"DefineImageProperty");\n  }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty")" identifier (argument_list "("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/property.c"" " string_content ") , number_literal , (string_literal ""DefineImageProperty"" " string_content ") ))) ;) })) (if_statement "if (param_2 != 0) {\n    CopyMagickString(&local_2028,param_2,0xfff);\n    while ((local_2028 != '=' && (local_2028 != '\0'))) {\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }\n    local_1028[0] = 0;\n    if (local_2028 == '=') {\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }\n    *pcVar1 = '\0';\n    SetImageProperty(param_1,&local_2028,local_1028,param_3);\n    if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    CopyMagickString(&local_2028,param_2,0xfff);\n    while ((local_2028 != '=' && (local_2028 != '\0'))) {\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }\n    local_1028[0] = 0;\n    if (local_2028 == '=') {\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }\n    *pcVar1 = '\0';\n    SetImageProperty(param_1,&local_2028,local_1028,param_3);\n    if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" { (expression_statement "CopyMagickString(&local_2028,param_2,0xfff);" (call_expression "CopyMagickString(&local_2028,param_2,0xfff)" identifier (argument_list "(&local_2028,param_2,0xfff)" ( (pointer_expression "&local_2028" & identifier) , identifier , number_literal ))) ;) (while_statement "while ((local_2028 != '=' && (local_2028 != '\0'))) {\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }" while (parenthesized_expression "((local_2028 != '=' && (local_2028 != '\0')))" ( (parenthesized_expression "(local_2028 != '=' && (local_2028 != '\0'))" ( (binary_expression "local_2028 != '=' && (local_2028 != '\0')" (binary_expression "local_2028 != '='" identifier != (char_literal "'='" ' character ')) && (parenthesized_expression "(local_2028 != '\0')" ( (binary_expression "local_2028 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) ))) )) )) (compound_statement "{\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }" { (expression_statement "pcVar1 = pcVar1 + 1;" (assignment_expression "pcVar1 = pcVar1 + 1" identifier = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "local_2028 = *pcVar1;" (assignment_expression "local_2028 = *pcVar1" identifier = (pointer_expression "*pcVar1" * identifier)) ;) })) (expression_statement "local_1028[0] = 0;" (assignment_expression "local_1028[0] = 0" (subscript_expression "local_1028[0]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (local_2028 == '=') {\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }" if (parenthesized_expression "(local_2028 == '=')" ( (binary_expression "local_2028 == '='" identifier == (char_literal "'='" ' character ')) )) (compound_statement "{\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }" { (expression_statement "CopyMagickString(local_1028,pcVar1 + 1,0x1000);" (call_expression "CopyMagickString(local_1028,pcVar1 + 1,0x1000)" identifier (argument_list "(local_1028,pcVar1 + 1,0x1000)" ( identifier , (binary_expression "pcVar1 + 1" identifier + number_literal) , number_literal ))) ;) })) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "SetImageProperty(param_1,&local_2028,local_1028,param_3);" (call_expression "SetImageProperty(param_1,&local_2028,local_1028,param_3)" identifier (argument_list "(param_1,&local_2028,local_1028,param_3)" ( identifier , (pointer_expression "&local_2028" & identifier) , identifier , identifier ))) ;) (if_statement "if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return;\n    }" if (parenthesized_expression "(local_20 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_20 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })) comment (expression_statement "__assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               );" (call_expression "__assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               )" identifier (argument_list "("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               )" ( (string_literal ""property != (const char *) NULL"" " string_content ") , (string_literal ""MagickCore/property.c"" " string_content ") , number_literal , (string_literal ""DefineImageProperty"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\nMagickBooleanType DefineImageProperty(Image *image,char *property,ExceptionInfo *exception)\n\n{\n  long lVar1;\n  MagickBooleanType MVar2;\n  char *pcVar3;\n  long in_FS_OFFSET;\n  char key [4096];\n  char value [4096];\n  \n  pcVar3 = key;\n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");\n  }\n  if (property != (char *)0x0) {\n    CopyMagickString(key,property,0xfff);\n    while ((key[0] != '=' && (key[0] != '\0'))) {\n      pcVar3 = pcVar3 + 1;\n      key[0] = *pcVar3;\n    }\n    value[0] = '\0';\n    if (key[0] == '=') {\n      CopyMagickString(value,pcVar3 + 1,0x1000);\n    }\n    *pcVar3 = '\0';\n    MVar2 = SetImageProperty(image,key,value,exception);\n    if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return MVar2;\n    }\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               );\n}\n\n" comment comment comment comment comment (function_definition "MagickBooleanType DefineImageProperty(Image *image,char *property,ExceptionInfo *exception)\n\n{\n  long lVar1;\n  MagickBooleanType MVar2;\n  char *pcVar3;\n  long in_FS_OFFSET;\n  char key [4096];\n  char value [4096];\n  \n  pcVar3 = key;\n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");\n  }\n  if (property != (char *)0x0) {\n    CopyMagickString(key,property,0xfff);\n    while ((key[0] != '=' && (key[0] != '\0'))) {\n      pcVar3 = pcVar3 + 1;\n      key[0] = *pcVar3;\n    }\n    value[0] = '\0';\n    if (key[0] == '=') {\n      CopyMagickString(value,pcVar3 + 1,0x1000);\n    }\n    *pcVar3 = '\0';\n    MVar2 = SetImageProperty(image,key,value,exception);\n    if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return MVar2;\n    }\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               );\n}" type_identifier (function_declarator "DefineImageProperty(Image *image,char *property,ExceptionInfo *exception)" identifier (parameter_list "(Image *image,char *property,ExceptionInfo *exception)" ( (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "char *property" primitive_type (pointer_declarator "*property" * identifier)) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  MagickBooleanType MVar2;\n  char *pcVar3;\n  long in_FS_OFFSET;\n  char key [4096];\n  char value [4096];\n  \n  pcVar3 = key;\n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");\n  }\n  if (property != (char *)0x0) {\n    CopyMagickString(key,property,0xfff);\n    while ((key[0] != '=' && (key[0] != '\0'))) {\n      pcVar3 = pcVar3 + 1;\n      key[0] = *pcVar3;\n    }\n    value[0] = '\0';\n    if (key[0] == '=') {\n      CopyMagickString(value,pcVar3 + 1,0x1000);\n    }\n    *pcVar3 = '\0';\n    MVar2 = SetImageProperty(image,key,value,exception);\n    if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return MVar2;\n    }\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               );\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "MagickBooleanType MVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "char key [4096];" primitive_type (array_declarator "key [4096]" identifier [ number_literal ]) ;) (declaration "char value [4096];" primitive_type (array_declarator "value [4096]" identifier [ number_literal ]) ;) (expression_statement "pcVar3 = key;" (assignment_expression "pcVar3 = key" identifier = identifier) ;) (expression_statement "lVar1 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "lVar1 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");\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/property.c",0xf2,"DefineImageProperty");\n  }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty")" identifier (argument_list "("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/property.c"" " string_content ") , number_literal , (string_literal ""DefineImageProperty"" " string_content ") ))) ;) })) (if_statement "if (property != (char *)0x0) {\n    CopyMagickString(key,property,0xfff);\n    while ((key[0] != '=' && (key[0] != '\0'))) {\n      pcVar3 = pcVar3 + 1;\n      key[0] = *pcVar3;\n    }\n    value[0] = '\0';\n    if (key[0] == '=') {\n      CopyMagickString(value,pcVar3 + 1,0x1000);\n    }\n    *pcVar3 = '\0';\n    MVar2 = SetImageProperty(image,key,value,exception);\n    if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return MVar2;\n    }\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" if (parenthesized_expression "(property != (char *)0x0)" ( (binary_expression "property != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    CopyMagickString(key,property,0xfff);\n    while ((key[0] != '=' && (key[0] != '\0'))) {\n      pcVar3 = pcVar3 + 1;\n      key[0] = *pcVar3;\n    }\n    value[0] = '\0';\n    if (key[0] == '=') {\n      CopyMagickString(value,pcVar3 + 1,0x1000);\n    }\n    *pcVar3 = '\0';\n    MVar2 = SetImageProperty(image,key,value,exception);\n    if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return MVar2;\n    }\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" { (expression_statement "CopyMagickString(key,property,0xfff);" (call_expression "CopyMagickString(key,property,0xfff)" identifier (argument_list "(key,property,0xfff)" ( identifier , identifier , number_literal ))) ;) (while_statement "while ((key[0] != '=' && (key[0] != '\0'))) {\n      pcVar3 = pcVar3 + 1;\n      key[0] = *pcVar3;\n    }" while (parenthesized_expression "((key[0] != '=' && (key[0] != '\0')))" ( (parenthesized_expression "(key[0] != '=' && (key[0] != '\0'))" ( (binary_expression "key[0] != '=' && (key[0] != '\0')" (binary_expression "key[0] != '='" (subscript_expression "key[0]" identifier [ number_literal ]) != (char_literal "'='" ' character ')) && (parenthesized_expression "(key[0] != '\0')" ( (binary_expression "key[0] != '\0'" (subscript_expression "key[0]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) )) (compound_statement "{\n      pcVar3 = pcVar3 + 1;\n      key[0] = *pcVar3;\n    }" { (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "key[0] = *pcVar3;" (assignment_expression "key[0] = *pcVar3" (subscript_expression "key[0]" identifier [ number_literal ]) = (pointer_expression "*pcVar3" * identifier)) ;) })) (expression_statement "value[0] = '\0';" (assignment_expression "value[0] = '\0'" (subscript_expression "value[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (key[0] == '=') {\n      CopyMagickString(value,pcVar3 + 1,0x1000);\n    }" if (parenthesized_expression "(key[0] == '=')" ( (binary_expression "key[0] == '='" (subscript_expression "key[0]" identifier [ number_literal ]) == (char_literal "'='" ' character ')) )) (compound_statement "{\n      CopyMagickString(value,pcVar3 + 1,0x1000);\n    }" { (expression_statement "CopyMagickString(value,pcVar3 + 1,0x1000);" (call_expression "CopyMagickString(value,pcVar3 + 1,0x1000)" identifier (argument_list "(value,pcVar3 + 1,0x1000)" ( identifier , (binary_expression "pcVar3 + 1" identifier + number_literal) , number_literal ))) ;) })) (expression_statement "*pcVar3 = '\0';" (assignment_expression "*pcVar3 = '\0'" (pointer_expression "*pcVar3" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "MVar2 = SetImageProperty(image,key,value,exception);" (assignment_expression "MVar2 = SetImageProperty(image,key,value,exception)" identifier = (call_expression "SetImageProperty(image,key,value,exception)" identifier (argument_list "(image,key,value,exception)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return MVar2;\n    }" if (parenthesized_expression "(lVar1 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "lVar1 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n      return MVar2;\n    }" { (return_statement "return MVar2;" return identifier ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })) comment (expression_statement "__assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               );" (call_expression "__assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               )" identifier (argument_list "("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               )" ( (string_literal ""property != (const char *) NULL"" " string_content ") , (string_literal ""MagickCore/property.c"" " string_content ") , number_literal , (string_literal ""DefineImageProperty"" " string_content ") ))) ;) })))
(translation_unit "void DefineImageProperty(long param_1,long param_2,undefined8 param_3)\n\n{\n  char *pcVar1;\n  long in_FS_OFFSET;\n  char local_2028;\n  char local_2027 [4095];\n  undefined1 local_1028 [4104];\n  long local_20;\n  \n  pcVar1 = &local_2028;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");\n  }\n  if (param_2 != 0) {\n    CopyMagickString(&local_2028,param_2,0xfff);\n    while ((local_2028 != '=' && (local_2028 != '\0'))) {\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }\n    local_1028[0] = 0;\n    if (local_2028 == '=') {\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }\n    *pcVar1 = '\0';\n    SetImageProperty(param_1,&local_2028,local_1028,param_3);\n    if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return;\n    }\n                    \n    __stack_chk_fail();\n  }\n                    \n  __assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               );\n}\n\n" (function_definition "void DefineImageProperty(long param_1,long param_2,undefined8 param_3)\n\n{\n  char *pcVar1;\n  long in_FS_OFFSET;\n  char local_2028;\n  char local_2027 [4095];\n  undefined1 local_1028 [4104];\n  long local_20;\n  \n  pcVar1 = &local_2028;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");\n  }\n  if (param_2 != 0) {\n    CopyMagickString(&local_2028,param_2,0xfff);\n    while ((local_2028 != '=' && (local_2028 != '\0'))) {\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }\n    local_1028[0] = 0;\n    if (local_2028 == '=') {\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }\n    *pcVar1 = '\0';\n    SetImageProperty(param_1,&local_2028,local_1028,param_3);\n    if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return;\n    }\n                    \n    __stack_chk_fail();\n  }\n                    \n  __assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               );\n}" primitive_type (function_declarator "DefineImageProperty(long param_1,long param_2,undefined8 param_3)" identifier (parameter_list "(long param_1,long param_2,undefined8 param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  long in_FS_OFFSET;\n  char local_2028;\n  char local_2027 [4095];\n  undefined1 local_1028 [4104];\n  long local_20;\n  \n  pcVar1 = &local_2028;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");\n  }\n  if (param_2 != 0) {\n    CopyMagickString(&local_2028,param_2,0xfff);\n    while ((local_2028 != '=' && (local_2028 != '\0'))) {\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }\n    local_1028[0] = 0;\n    if (local_2028 == '=') {\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }\n    *pcVar1 = '\0';\n    SetImageProperty(param_1,&local_2028,local_1028,param_3);\n    if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return;\n    }\n                    \n    __stack_chk_fail();\n  }\n                    \n  __assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               );\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "char local_2028;" primitive_type identifier ;) (declaration "char local_2027 [4095];" primitive_type (array_declarator "local_2027 [4095]" identifier [ number_literal ]) ;) (declaration "undefined1 local_1028 [4104];" type_identifier (array_declarator "local_1028 [4104]" identifier [ number_literal ]) ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (expression_statement "pcVar1 = &local_2028;" (assignment_expression "pcVar1 = &local_2028" identifier = (pointer_expression "&local_2028" & identifier)) ;) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");\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/property.c",0xf2,"DefineImageProperty");\n  }" { (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty")" identifier (argument_list "("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/property.c"" " string_content ") , number_literal , (string_literal ""DefineImageProperty"" " string_content ") ))) ;) })) (if_statement "if (param_2 != 0) {\n    CopyMagickString(&local_2028,param_2,0xfff);\n    while ((local_2028 != '=' && (local_2028 != '\0'))) {\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }\n    local_1028[0] = 0;\n    if (local_2028 == '=') {\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }\n    *pcVar1 = '\0';\n    SetImageProperty(param_1,&local_2028,local_1028,param_3);\n    if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return;\n    }\n                    \n    __stack_chk_fail();\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    CopyMagickString(&local_2028,param_2,0xfff);\n    while ((local_2028 != '=' && (local_2028 != '\0'))) {\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }\n    local_1028[0] = 0;\n    if (local_2028 == '=') {\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }\n    *pcVar1 = '\0';\n    SetImageProperty(param_1,&local_2028,local_1028,param_3);\n    if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return;\n    }\n                    \n    __stack_chk_fail();\n  }" { (expression_statement "CopyMagickString(&local_2028,param_2,0xfff);" (call_expression "CopyMagickString(&local_2028,param_2,0xfff)" identifier (argument_list "(&local_2028,param_2,0xfff)" ( (pointer_expression "&local_2028" & identifier) , identifier , number_literal ))) ;) (while_statement "while ((local_2028 != '=' && (local_2028 != '\0'))) {\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }" while (parenthesized_expression "((local_2028 != '=' && (local_2028 != '\0')))" ( (parenthesized_expression "(local_2028 != '=' && (local_2028 != '\0'))" ( (binary_expression "local_2028 != '=' && (local_2028 != '\0')" (binary_expression "local_2028 != '='" identifier != (char_literal "'='" ' character ')) && (parenthesized_expression "(local_2028 != '\0')" ( (binary_expression "local_2028 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) ))) )) )) (compound_statement "{\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }" { (expression_statement "pcVar1 = pcVar1 + 1;" (assignment_expression "pcVar1 = pcVar1 + 1" identifier = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "local_2028 = *pcVar1;" (assignment_expression "local_2028 = *pcVar1" identifier = (pointer_expression "*pcVar1" * identifier)) ;) })) (expression_statement "local_1028[0] = 0;" (assignment_expression "local_1028[0] = 0" (subscript_expression "local_1028[0]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (local_2028 == '=') {\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }" if (parenthesized_expression "(local_2028 == '=')" ( (binary_expression "local_2028 == '='" identifier == (char_literal "'='" ' character ')) )) (compound_statement "{\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }" { (expression_statement "CopyMagickString(local_1028,pcVar1 + 1,0x1000);" (call_expression "CopyMagickString(local_1028,pcVar1 + 1,0x1000)" identifier (argument_list "(local_1028,pcVar1 + 1,0x1000)" ( identifier , (binary_expression "pcVar1 + 1" identifier + number_literal) , number_literal ))) ;) })) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "SetImageProperty(param_1,&local_2028,local_1028,param_3);" (call_expression "SetImageProperty(param_1,&local_2028,local_1028,param_3)" identifier (argument_list "(param_1,&local_2028,local_1028,param_3)" ( identifier , (pointer_expression "&local_2028" & identifier) , identifier , identifier ))) ;) (if_statement "if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return;\n    }" if (parenthesized_expression "(local_20 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_20 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "__assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               );" (call_expression "__assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               )" identifier (argument_list "("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               )" ( (string_literal ""property != (const char *) NULL"" " string_content ") , (string_literal ""MagickCore/property.c"" " string_content ") , number_literal , (string_literal ""DefineImageProperty"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , LIT ))) ;) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != (char_literal ' character ')) && (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) ))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void DefineImageProperty(long param_1,long param_2,undefined8 param_3)\n\n{\n  char *pcVar1;\n  long in_FS_OFFSET;\n  char local_2028;\n  char local_2027 [4095];\n  undefined1 local_1028 [4104];\n  long local_20;\n  \n  pcVar1 = &local_2028;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");\n  }\n  if (param_2 != 0) {\n    CopyMagickString(&local_2028,param_2,0xfff);\n    while ((local_2028 != '=' && (local_2028 != '\0'))) {\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }\n    local_1028[0] = 0;\n    if (local_2028 == '=') {\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }\n    *pcVar1 = '\0';\n    SetImageProperty(param_1,&local_2028,local_1028,param_3);\n    if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return;\n    }\n                    \n    __stack_chk_fail();\n  }\n                    \n  __assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               );\n}" (primitive_type "void") (function_declarator "DefineImageProperty(long param_1,long param_2,undefined8 param_3)" (identifier "DefineImageProperty") (parameter_list "(long param_1,long param_2,undefined8 param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  long in_FS_OFFSET;\n  char local_2028;\n  char local_2027 [4095];\n  undefined1 local_1028 [4104];\n  long local_20;\n  \n  pcVar1 = &local_2028;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");\n  }\n  if (param_2 != 0) {\n    CopyMagickString(&local_2028,param_2,0xfff);\n    while ((local_2028 != '=' && (local_2028 != '\0'))) {\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }\n    local_1028[0] = 0;\n    if (local_2028 == '=') {\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }\n    *pcVar1 = '\0';\n    SetImageProperty(param_1,&local_2028,local_1028,param_3);\n    if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return;\n    }\n                    \n    __stack_chk_fail();\n  }\n                    \n  __assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               );\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "char local_2028;" (primitive_type "char") (identifier "local_2028") (; ";")) (declaration "char local_2027 [4095];" (primitive_type "char") (array_declarator "local_2027 [4095]" (identifier "local_2027") ([ "[") (number_literal "4095") (] "]")) (; ";")) (declaration "undefined1 local_1028 [4104];" (type_identifier "undefined1") (array_declarator "local_1028 [4104]" (identifier "local_1028") ([ "[") (number_literal "4104") (] "]")) (; ";")) (declaration "long local_20;" (sized_type_specifier "long" (long "long")) (identifier "local_20") (; ";")) (expression_statement "pcVar1 = &local_2028;" (assignment_expression "pcVar1 = &local_2028" (identifier "pcVar1") (= "=") (pointer_expression "&local_2028" (& "&") (identifier "local_2028"))) (; ";")) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_20") (= "=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");\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/property.c",0xf2,"DefineImageProperty");\n  }" ({ "{") (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty")" (identifier "__assert_fail") (argument_list "("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty")" (( "(") (string_literal ""image != (Image *) NULL"" (" """) (string_content "image != (Image *) NULL") (" """)) (, ",") (string_literal ""MagickCore/property.c"" (" """) (string_content "MagickCore/property.c") (" """)) (, ",") (number_literal "0xf2") (, ",") (string_literal ""DefineImageProperty"" (" """) (string_content "DefineImageProperty") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 != 0) {\n    CopyMagickString(&local_2028,param_2,0xfff);\n    while ((local_2028 != '=' && (local_2028 != '\0'))) {\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }\n    local_1028[0] = 0;\n    if (local_2028 == '=') {\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }\n    *pcVar1 = '\0';\n    SetImageProperty(param_1,&local_2028,local_1028,param_3);\n    if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return;\n    }\n                    \n    __stack_chk_fail();\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    CopyMagickString(&local_2028,param_2,0xfff);\n    while ((local_2028 != '=' && (local_2028 != '\0'))) {\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }\n    local_1028[0] = 0;\n    if (local_2028 == '=') {\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }\n    *pcVar1 = '\0';\n    SetImageProperty(param_1,&local_2028,local_1028,param_3);\n    if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return;\n    }\n                    \n    __stack_chk_fail();\n  }" ({ "{") (expression_statement "CopyMagickString(&local_2028,param_2,0xfff);" (call_expression "CopyMagickString(&local_2028,param_2,0xfff)" (identifier "CopyMagickString") (argument_list "(&local_2028,param_2,0xfff)" (( "(") (pointer_expression "&local_2028" (& "&") (identifier "local_2028")) (, ",") (identifier "param_2") (, ",") (number_literal "0xfff") () ")"))) (; ";")) (while_statement "while ((local_2028 != '=' && (local_2028 != '\0'))) {\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }" (while "while") (parenthesized_expression "((local_2028 != '=' && (local_2028 != '\0')))" (( "(") (parenthesized_expression "(local_2028 != '=' && (local_2028 != '\0'))" (( "(") (binary_expression "local_2028 != '=' && (local_2028 != '\0')" (binary_expression "local_2028 != '='" (identifier "local_2028") (!= "!=") (char_literal "'='" (' "'") (character "=") (' "'"))) (&& "&&") (parenthesized_expression "(local_2028 != '\0')" (( "(") (binary_expression "local_2028 != '\0'" (identifier "local_2028") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) () ")")) (compound_statement "{\n      pcVar1 = pcVar1 + 1;\n      local_2028 = *pcVar1;\n    }" ({ "{") (expression_statement "pcVar1 = pcVar1 + 1;" (assignment_expression "pcVar1 = pcVar1 + 1" (identifier "pcVar1") (= "=") (binary_expression "pcVar1 + 1" (identifier "pcVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_2028 = *pcVar1;" (assignment_expression "local_2028 = *pcVar1" (identifier "local_2028") (= "=") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1"))) (; ";")) (} "}"))) (expression_statement "local_1028[0] = 0;" (assignment_expression "local_1028[0] = 0" (subscript_expression "local_1028[0]" (identifier "local_1028") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (local_2028 == '=') {\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }" (if "if") (parenthesized_expression "(local_2028 == '=')" (( "(") (binary_expression "local_2028 == '='" (identifier "local_2028") (== "==") (char_literal "'='" (' "'") (character "=") (' "'"))) () ")")) (compound_statement "{\n      CopyMagickString(local_1028,pcVar1 + 1,0x1000);\n    }" ({ "{") (expression_statement "CopyMagickString(local_1028,pcVar1 + 1,0x1000);" (call_expression "CopyMagickString(local_1028,pcVar1 + 1,0x1000)" (identifier "CopyMagickString") (argument_list "(local_1028,pcVar1 + 1,0x1000)" (( "(") (identifier "local_1028") (, ",") (binary_expression "pcVar1 + 1" (identifier "pcVar1") (+ "+") (number_literal "1")) (, ",") (number_literal "0x1000") () ")"))) (; ";")) (} "}"))) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "SetImageProperty(param_1,&local_2028,local_1028,param_3);" (call_expression "SetImageProperty(param_1,&local_2028,local_1028,param_3)" (identifier "SetImageProperty") (argument_list "(param_1,&local_2028,local_1028,param_3)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_2028" (& "&") (identifier "local_2028")) (, ",") (identifier "local_1028") (, ",") (identifier "param_3") () ")"))) (; ";")) (if_statement "if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n      return;\n    }" (if "if") (parenthesized_expression "(local_20 == *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_20 == *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_20") (== "==") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "__assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               );" (call_expression "__assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               )" (identifier "__assert_fail") (argument_list "("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"\n               )" (( "(") (string_literal ""property != (const char *) NULL"" (" """) (string_content "property != (const char *) NULL") (" """)) (, ",") (string_literal ""MagickCore/property.c"" (" """) (string_content "MagickCore/property.c") (" """)) (, ",") (number_literal "0xf3") (, ",") (string_literal ""DefineImageProperty"" (" """) (string_content "DefineImageProperty") (" """)) () ")"))) (; ";")) (} "}")))

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

type_1 function_1(type_2 *var_2,char *var_4,type_3 *exception)

{
  long var_8;
  type_1 MVar2;
  char *var_6;
  long var_1;
  char key [4096];
  char value [4096];
  
  var_6 = key;
  var_8 = *(long *)(var_1 + 0x28);
  if (var_2 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("image != (Image *) NULL","MagickCore/property.c",0xf2,"DefineImageProperty");
  }
  if (var_4 != (char *)0x0) {
    var_5(key,var_4,0xfff);
    while ((key[0] != '=' && (key[0] != '\0'))) {
      var_6 = var_6 + 1;
      key[0] = *var_6;
    }
    value[0] = '\0';
    if (key[0] == '=') {
      var_5(value,var_6 + 1,0x1000);
    }
    *var_6 = '\0';
    MVar2 = var_7(var_2,key,value,exception);
    if (var_8 == *(long *)(var_1 + 0x28)) {
      return MVar2;
    }
                    /* WARNING: Subroutine does not return */
    var_9();
  }
                    /* WARNING: Subroutine does not return */
  var_3("property != (const char *) NULL","MagickCore/property.c",0xf3,"DefineImageProperty"
               );
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (number_literal)))) (while_statement condition: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (char_literal (character))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence))))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))))

void MASKED(long param_1,long param_2,undefined8 param_3)

{
  char *pcVar1;
  long in_FS_OFFSET;
  char local_2028;
  char local_2027 [4095];
  undefined1 local_1028 [4104];
  long local_20;
  
  pcVar1 = &local_2028;
  local_20 = *(long *)(in_FS_OFFSET + 0x28);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/property.c",0xf2,"MASKED");
  }
  if (param_2 != 0) {
    CopyMagickString(&local_2028,param_2,0xfff);
    while ((local_2028 != '=' && (local_2028 != '\0'))) {
      pcVar1 = pcVar1 + 1;
      local_2028 = *pcVar1;
    }
    local_1028[0] = 0;
    if (local_2028 == '=') {
      CopyMagickString(local_1028,pcVar1 + 1,0x1000);
    }
    *pcVar1 = '\0';
    SetImageProperty(param_1,&local_2028,local_1028,param_3);
    if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {
      return;
    }
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("property != (const char *) NULL","MagickCore/property.c",0xf3,"MASKED"
               );
}

