
/* WARNING: Enum "LogEventType": Some values do not have unique names */

MagickBooleanType GetXMLTreeAttributes(XMLTreeInfo *xml_info,SplayTreeInfo *attributes)

{
  char **ppcVar1;
  char *value;
  char *key;
  long lVar2;
  
  if (xml_info == (XMLTreeInfo *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,
                  "GetXMLTreeAttributes");
  }
  if ((xml_info->signature != 0xabacadab) && (xml_info[1].ordered != (XMLTreeInfo *)0xabacadab)) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"
                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");
  }
  if (xml_info->debug != MagickFalse) {
    LogMagickEvent(TraceEvent,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");
  }
  if (attributes != (SplayTreeInfo *)0x0) {
    ppcVar1 = xml_info->attributes;
    if ((ppcVar1 != (char **)0x0) && (*ppcVar1 != (char *)0x0)) {
      lVar2 = 0;
      do {
        value = ConstantString(*(char **)((long)ppcVar1 + lVar2 + 8));
        key = ConstantString(*(char **)((long)xml_info->attributes + lVar2));
        AddValueToSplayTree(attributes,key,value);
        ppcVar1 = xml_info->attributes;
        lVar2 = lVar2 + 0x10;
      } while (*(long *)((long)ppcVar1 + lVar2) != 0);
    }
    return MagickTrue;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,
                "GetXMLTreeAttributes");
}



undefined8 FUN_0030cbfe(long param_1,long param_2)

{
  long *plVar1;
  undefined8 uVar2;
  undefined8 uVar3;
  long lVar4;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,
                  "GetXMLTreeAttributes");
  }
  if ((*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab)) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"
                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");
  }
  if (*(int *)(param_1 + 0x48) != 0) {
    LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");
  }
  if (param_2 != 0) {
    plVar1 = *(long **)(param_1 + 8);
    if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {
      lVar4 = 0;
      do {
        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));
        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));
        AddValueToSplayTree(param_2,uVar3,uVar2);
        plVar1 = *(long **)(param_1 + 8);
        lVar4 = lVar4 + 0x10;
      } while (*(long *)((long)plVar1 + lVar4) != 0);
    }
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,
                "GetXMLTreeAttributes");
}


PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x8
TEST RDI,RDI
JZ 0x0030cc9d
MOV RBP,RDI
MOV R13,RSI
MOV EAX,0xabacadab
CMP qword ptr [RDI + 0x58],RAX
JZ 0x0030cc2f
CMP qword ptr [RDI + 0x98],RAX
JNZ 0x0030ccbc
CMP dword ptr [RBP + 0x48],0x0
JNZ 0x0030ccdb
TEST R13,R13
JZ 0x0030cd09
MOV RAX,qword ptr [RBP + 0x8]
TEST RAX,RAX
JZ 0x0030cc8d
CMP qword ptr [RAX],0x0
JZ 0x0030cc8d
MOV EBX,0x0
MOV RDI,qword ptr [RAX + RBX*0x1 + 0x8]
CALL 0x0014dac8
MOV R12,RAX
MOV RAX,qword ptr [RBP + 0x8]
MOV RDI,qword ptr [RAX + RBX*0x1]
CALL 0x0014dac8
MOV RDX,R12
MOV RSI,RAX
MOV RDI,R13
CALL 0x0014c340
MOV RAX,qword ptr [RBP + 0x8]
ADD RBX,0x10
CMP qword ptr [RAX + RBX*0x1],0x0
JNZ 0x0030cc56
MOV EAX,0x1
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
RET
LEA RCX,[0x4383f0]
MOV EDX,0x356
LEA RSI,[0x437dff]
LEA RDI,[0x438538]
CALL 0x0014a360
LEA RCX,[0x4383f0]
MOV EDX,0x358
LEA RSI,[0x437dff]
LEA RDI,[0x4385d0]
CALL 0x0014a360
LEA R8,[0x3fdacc]
MOV ECX,0x35a
LEA RDX,[0x4383d0]
LEA RSI,[0x437dff]
MOV EDI,0x8000
MOV EAX,0x0
CALL 0x0014be20
JMP 0x0030cc39
LEA RCX,[0x4383f0]
MOV EDX,0x35b
LEA RSI,[0x437dff]
LEA RDI,[0x438648]
CALL 0x0014a360
(translation_unit "undefined8 FUN_0030cbfe(long param_1,long param_2)\n\n{\n  long *plVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\n  }\n  if ((*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab)) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }\n  if (*(int *)(param_1 + 0x48) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }\n  if (param_2 != 0) {\n    plVar1 = *(long **)(param_1 + 8);\n    if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes");\n}\n\n" (function_definition "undefined8 FUN_0030cbfe(long param_1,long param_2)\n\n{\n  long *plVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\n  }\n  if ((*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab)) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }\n  if (*(int *)(param_1 + 0x48) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }\n  if (param_2 != 0) {\n    plVar1 = *(long **)(param_1 + 8);\n    if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes");\n}" type_identifier (function_declarator "FUN_0030cbfe(long param_1,long param_2)" identifier (parameter_list "(long param_1,long param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long *plVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\n  }\n  if ((*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab)) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }\n  if (*(int *)(param_1 + 0x48) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }\n  if (param_2 != 0) {\n    plVar1 = *(long **)(param_1 + 8);\n    if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes");\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\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("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\n  }" { comment (expression_statement "__assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");" (call_expression "__assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes")" identifier (argument_list "("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes")" ( (string_literal ""xml_info != (XMLTreeInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/xml-tree.c"" " string_content ") , number_literal , (string_literal ""GetXMLTreeAttributes"" " string_content ") ))) ;) })) (if_statement "if ((*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab)) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }" if (parenthesized_expression "((*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab))" ( (binary_expression "(*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab)" (parenthesized_expression "(*(long *)(param_1 + 0x58) != 0xabacadab)" ( (binary_expression "*(long *)(param_1 + 0x58) != 0xabacadab" (pointer_expression "*(long *)(param_1 + 0x58)" * (cast_expression "(long *)(param_1 + 0x58)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(long *)(param_1 + 0x98) != 0xabacadab)" ( (binary_expression "*(long *)(param_1 + 0x98) != 0xabacadab" (pointer_expression "*(long *)(param_1 + 0x98)" * (cast_expression "(long *)(param_1 + 0x98)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x98)" ( (binary_expression "param_1 + 0x98" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }" { comment (expression_statement "__assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");" (call_expression "__assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes")" identifier (argument_list "("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes")" ( (string_literal ""(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"" " string_content ") , (string_literal ""MagickCore/xml-tree.c"" " string_content ") , number_literal , (string_literal ""GetXMLTreeAttributes"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x48) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x48) != 0)" ( (binary_expression "*(int *)(param_1 + 0x48) != 0" (pointer_expression "*(int *)(param_1 + 0x48)" * (cast_expression "(int *)(param_1 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");" (call_expression "LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...")" identifier (argument_list "(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...")" ( number_literal , (string_literal ""MagickCore/xml-tree.c"" " string_content ") , (string_literal ""GetXMLTreeAttributes"" " string_content ") , number_literal , (string_literal ""..."" " string_content ") ))) ;) })) (if_statement "if (param_2 != 0) {\n    plVar1 = *(long **)(param_1 + 8);\n    if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }\n    return 1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    plVar1 = *(long **)(param_1 + 8);\n    if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }\n    return 1;\n  }" { (expression_statement "plVar1 = *(long **)(param_1 + 8);" (assignment_expression "plVar1 = *(long **)(param_1 + 8)" identifier = (pointer_expression "*(long **)(param_1 + 8)" * (cast_expression "(long **)(param_1 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }" if (parenthesized_expression "((plVar1 != (long *)0x0) && (*plVar1 != 0))" ( (binary_expression "(plVar1 != (long *)0x0) && (*plVar1 != 0)" (parenthesized_expression "(plVar1 != (long *)0x0)" ( (binary_expression "plVar1 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*plVar1 != 0)" ( (binary_expression "*plVar1 != 0" (pointer_expression "*plVar1" * identifier) != number_literal) ))) )) (compound_statement "{\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }" { (expression_statement "lVar4 = 0;" (assignment_expression "lVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);" do (compound_statement "{\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      }" { (expression_statement "uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));" (assignment_expression "uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8))" identifier = (call_expression "ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8))" identifier (argument_list "(*(undefined8 *)((long)plVar1 + lVar4 + 8))" ( (pointer_expression "*(undefined8 *)((long)plVar1 + lVar4 + 8)" * (cast_expression "(undefined8 *)((long)plVar1 + lVar4 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar1 + lVar4 + 8)" ( (binary_expression "(long)plVar1 + lVar4 + 8" (binary_expression "(long)plVar1 + lVar4" (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) )))) ;) (expression_statement "uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));" (assignment_expression "uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4))" identifier = (call_expression "ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4))" identifier (argument_list "(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4))" ( (pointer_expression "*(undefined8 *)(*(long *)(param_1 + 8) + lVar4)" * (cast_expression "(undefined8 *)(*(long *)(param_1 + 8) + lVar4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 8) + lVar4)" ( (binary_expression "*(long *)(param_1 + 8) + lVar4" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + identifier) )))) )))) ;) (expression_statement "AddValueToSplayTree(param_2,uVar3,uVar2);" (call_expression "AddValueToSplayTree(param_2,uVar3,uVar2)" identifier (argument_list "(param_2,uVar3,uVar2)" ( identifier , identifier , identifier ))) ;) (expression_statement "plVar1 = *(long **)(param_1 + 8);" (assignment_expression "plVar1 = *(long **)(param_1 + 8)" identifier = (pointer_expression "*(long **)(param_1 + 8)" * (cast_expression "(long **)(param_1 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "lVar4 = lVar4 + 0x10;" (assignment_expression "lVar4 = lVar4 + 0x10" identifier = (binary_expression "lVar4 + 0x10" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(long *)((long)plVar1 + lVar4) != 0)" ( (binary_expression "*(long *)((long)plVar1 + lVar4) != 0" (pointer_expression "*(long *)((long)plVar1 + lVar4)" * (cast_expression "(long *)((long)plVar1 + lVar4)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar1 + lVar4)" ( (binary_expression "(long)plVar1 + lVar4" (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) != number_literal) )) ;) })) (return_statement "return 1;" return number_literal ;) })) comment (expression_statement "__assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes");" (call_expression "__assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes")" identifier (argument_list "("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes")" ( (string_literal ""attributes != (SplayTreeInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/xml-tree.c"" " string_content ") , number_literal , (string_literal ""GetXMLTreeAttributes"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Enum "LogEventType": Some values do not have unique names */\n\nMagickBooleanType GetXMLTreeAttributes(XMLTreeInfo *xml_info,SplayTreeInfo *attributes)\n\n{\n  char **ppcVar1;\n  char *value;\n  char *key;\n  long lVar2;\n  \n  if (xml_info == (XMLTreeInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\n  }\n  if ((xml_info->signature != 0xabacadab) && (xml_info[1].ordered != (XMLTreeInfo *)0xabacadab)) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }\n  if (xml_info->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }\n  if (attributes != (SplayTreeInfo *)0x0) {\n    ppcVar1 = xml_info->attributes;\n    if ((ppcVar1 != (char **)0x0) && (*ppcVar1 != (char *)0x0)) {\n      lVar2 = 0;\n      do {\n        value = ConstantString(*(char **)((long)ppcVar1 + lVar2 + 8));\n        key = ConstantString(*(char **)((long)xml_info->attributes + lVar2));\n        AddValueToSplayTree(attributes,key,value);\n        ppcVar1 = xml_info->attributes;\n        lVar2 = lVar2 + 0x10;\n      } while (*(long *)((long)ppcVar1 + lVar2) != 0);\n    }\n    return MagickTrue;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes");\n}\n\n" comment (function_definition "MagickBooleanType GetXMLTreeAttributes(XMLTreeInfo *xml_info,SplayTreeInfo *attributes)\n\n{\n  char **ppcVar1;\n  char *value;\n  char *key;\n  long lVar2;\n  \n  if (xml_info == (XMLTreeInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\n  }\n  if ((xml_info->signature != 0xabacadab) && (xml_info[1].ordered != (XMLTreeInfo *)0xabacadab)) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }\n  if (xml_info->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }\n  if (attributes != (SplayTreeInfo *)0x0) {\n    ppcVar1 = xml_info->attributes;\n    if ((ppcVar1 != (char **)0x0) && (*ppcVar1 != (char *)0x0)) {\n      lVar2 = 0;\n      do {\n        value = ConstantString(*(char **)((long)ppcVar1 + lVar2 + 8));\n        key = ConstantString(*(char **)((long)xml_info->attributes + lVar2));\n        AddValueToSplayTree(attributes,key,value);\n        ppcVar1 = xml_info->attributes;\n        lVar2 = lVar2 + 0x10;\n      } while (*(long *)((long)ppcVar1 + lVar2) != 0);\n    }\n    return MagickTrue;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes");\n}" type_identifier (function_declarator "GetXMLTreeAttributes(XMLTreeInfo *xml_info,SplayTreeInfo *attributes)" identifier (parameter_list "(XMLTreeInfo *xml_info,SplayTreeInfo *attributes)" ( (parameter_declaration "XMLTreeInfo *xml_info" type_identifier (pointer_declarator "*xml_info" * identifier)) , (parameter_declaration "SplayTreeInfo *attributes" type_identifier (pointer_declarator "*attributes" * identifier)) ))) (compound_statement "{\n  char **ppcVar1;\n  char *value;\n  char *key;\n  long lVar2;\n  \n  if (xml_info == (XMLTreeInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\n  }\n  if ((xml_info->signature != 0xabacadab) && (xml_info[1].ordered != (XMLTreeInfo *)0xabacadab)) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }\n  if (xml_info->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }\n  if (attributes != (SplayTreeInfo *)0x0) {\n    ppcVar1 = xml_info->attributes;\n    if ((ppcVar1 != (char **)0x0) && (*ppcVar1 != (char *)0x0)) {\n      lVar2 = 0;\n      do {\n        value = ConstantString(*(char **)((long)ppcVar1 + lVar2 + 8));\n        key = ConstantString(*(char **)((long)xml_info->attributes + lVar2));\n        AddValueToSplayTree(attributes,key,value);\n        ppcVar1 = xml_info->attributes;\n        lVar2 = lVar2 + 0x10;\n      } while (*(long *)((long)ppcVar1 + lVar2) != 0);\n    }\n    return MagickTrue;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes");\n}" { (declaration "char **ppcVar1;" primitive_type (pointer_declarator "**ppcVar1" * (pointer_declarator "*ppcVar1" * identifier)) ;) (declaration "char *value;" primitive_type (pointer_declarator "*value" * identifier) ;) (declaration "char *key;" primitive_type (pointer_declarator "*key" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (xml_info == (XMLTreeInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\n  }" if (parenthesized_expression "(xml_info == (XMLTreeInfo *)0x0)" ( (binary_expression "xml_info == (XMLTreeInfo *)0x0" identifier == (cast_expression "(XMLTreeInfo *)0x0" ( (type_descriptor "XMLTreeInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\n  }" { comment (expression_statement "__assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");" (call_expression "__assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes")" identifier (argument_list "("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes")" ( (string_literal ""xml_info != (XMLTreeInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/xml-tree.c"" " string_content ") , number_literal , (string_literal ""GetXMLTreeAttributes"" " string_content ") ))) ;) })) (if_statement "if ((xml_info->signature != 0xabacadab) && (xml_info[1].ordered != (XMLTreeInfo *)0xabacadab)) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }" if (parenthesized_expression "((xml_info->signature != 0xabacadab) && (xml_info[1].ordered != (XMLTreeInfo *)0xabacadab))" ( (binary_expression "(xml_info->signature != 0xabacadab) && (xml_info[1].ordered != (XMLTreeInfo *)0xabacadab)" (parenthesized_expression "(xml_info->signature != 0xabacadab)" ( (binary_expression "xml_info->signature != 0xabacadab" (field_expression "xml_info->signature" identifier -> field_identifier) != number_literal) )) && (parenthesized_expression "(xml_info[1].ordered != (XMLTreeInfo *)0xabacadab)" ( (binary_expression "xml_info[1].ordered != (XMLTreeInfo *)0xabacadab" (field_expression "xml_info[1].ordered" (subscript_expression "xml_info[1]" identifier [ number_literal ]) . field_identifier) != (cast_expression "(XMLTreeInfo *)0xabacadab" ( (type_descriptor "XMLTreeInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }" { comment (expression_statement "__assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");" (call_expression "__assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes")" identifier (argument_list "("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes")" ( (string_literal ""(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"" " string_content ") , (string_literal ""MagickCore/xml-tree.c"" " string_content ") , number_literal , (string_literal ""GetXMLTreeAttributes"" " string_content ") ))) ;) })) (if_statement "if (xml_info->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }" if (parenthesized_expression "(xml_info->debug != MagickFalse)" ( (binary_expression "xml_info->debug != MagickFalse" (field_expression "xml_info->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    LogMagickEvent(TraceEvent,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }" { (expression_statement "LogMagickEvent(TraceEvent,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");" (call_expression "LogMagickEvent(TraceEvent,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...")" identifier (argument_list "(TraceEvent,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...")" ( identifier , (string_literal ""MagickCore/xml-tree.c"" " string_content ") , (string_literal ""GetXMLTreeAttributes"" " string_content ") , number_literal , (string_literal ""..."" " string_content ") ))) ;) })) (if_statement "if (attributes != (SplayTreeInfo *)0x0) {\n    ppcVar1 = xml_info->attributes;\n    if ((ppcVar1 != (char **)0x0) && (*ppcVar1 != (char *)0x0)) {\n      lVar2 = 0;\n      do {\n        value = ConstantString(*(char **)((long)ppcVar1 + lVar2 + 8));\n        key = ConstantString(*(char **)((long)xml_info->attributes + lVar2));\n        AddValueToSplayTree(attributes,key,value);\n        ppcVar1 = xml_info->attributes;\n        lVar2 = lVar2 + 0x10;\n      } while (*(long *)((long)ppcVar1 + lVar2) != 0);\n    }\n    return MagickTrue;\n  }" if (parenthesized_expression "(attributes != (SplayTreeInfo *)0x0)" ( (binary_expression "attributes != (SplayTreeInfo *)0x0" identifier != (cast_expression "(SplayTreeInfo *)0x0" ( (type_descriptor "SplayTreeInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    ppcVar1 = xml_info->attributes;\n    if ((ppcVar1 != (char **)0x0) && (*ppcVar1 != (char *)0x0)) {\n      lVar2 = 0;\n      do {\n        value = ConstantString(*(char **)((long)ppcVar1 + lVar2 + 8));\n        key = ConstantString(*(char **)((long)xml_info->attributes + lVar2));\n        AddValueToSplayTree(attributes,key,value);\n        ppcVar1 = xml_info->attributes;\n        lVar2 = lVar2 + 0x10;\n      } while (*(long *)((long)ppcVar1 + lVar2) != 0);\n    }\n    return MagickTrue;\n  }" { (expression_statement "ppcVar1 = xml_info->attributes;" (assignment_expression "ppcVar1 = xml_info->attributes" identifier = (field_expression "xml_info->attributes" identifier -> field_identifier)) ;) (if_statement "if ((ppcVar1 != (char **)0x0) && (*ppcVar1 != (char *)0x0)) {\n      lVar2 = 0;\n      do {\n        value = ConstantString(*(char **)((long)ppcVar1 + lVar2 + 8));\n        key = ConstantString(*(char **)((long)xml_info->attributes + lVar2));\n        AddValueToSplayTree(attributes,key,value);\n        ppcVar1 = xml_info->attributes;\n        lVar2 = lVar2 + 0x10;\n      } while (*(long *)((long)ppcVar1 + lVar2) != 0);\n    }" if (parenthesized_expression "((ppcVar1 != (char **)0x0) && (*ppcVar1 != (char *)0x0))" ( (binary_expression "(ppcVar1 != (char **)0x0) && (*ppcVar1 != (char *)0x0)" (parenthesized_expression "(ppcVar1 != (char **)0x0)" ( (binary_expression "ppcVar1 != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) && (parenthesized_expression "(*ppcVar1 != (char *)0x0)" ( (binary_expression "*ppcVar1 != (char *)0x0" (pointer_expression "*ppcVar1" * identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      lVar2 = 0;\n      do {\n        value = ConstantString(*(char **)((long)ppcVar1 + lVar2 + 8));\n        key = ConstantString(*(char **)((long)xml_info->attributes + lVar2));\n        AddValueToSplayTree(attributes,key,value);\n        ppcVar1 = xml_info->attributes;\n        lVar2 = lVar2 + 0x10;\n      } while (*(long *)((long)ppcVar1 + lVar2) != 0);\n    }" { (expression_statement "lVar2 = 0;" (assignment_expression "lVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n        value = ConstantString(*(char **)((long)ppcVar1 + lVar2 + 8));\n        key = ConstantString(*(char **)((long)xml_info->attributes + lVar2));\n        AddValueToSplayTree(attributes,key,value);\n        ppcVar1 = xml_info->attributes;\n        lVar2 = lVar2 + 0x10;\n      } while (*(long *)((long)ppcVar1 + lVar2) != 0);" do (compound_statement "{\n        value = ConstantString(*(char **)((long)ppcVar1 + lVar2 + 8));\n        key = ConstantString(*(char **)((long)xml_info->attributes + lVar2));\n        AddValueToSplayTree(attributes,key,value);\n        ppcVar1 = xml_info->attributes;\n        lVar2 = lVar2 + 0x10;\n      }" { (expression_statement "value = ConstantString(*(char **)((long)ppcVar1 + lVar2 + 8));" (assignment_expression "value = ConstantString(*(char **)((long)ppcVar1 + lVar2 + 8))" identifier = (call_expression "ConstantString(*(char **)((long)ppcVar1 + lVar2 + 8))" identifier (argument_list "(*(char **)((long)ppcVar1 + lVar2 + 8))" ( (pointer_expression "*(char **)((long)ppcVar1 + lVar2 + 8)" * (cast_expression "(char **)((long)ppcVar1 + lVar2 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)ppcVar1 + lVar2 + 8)" ( (binary_expression "(long)ppcVar1 + lVar2 + 8" (binary_expression "(long)ppcVar1 + lVar2" (cast_expression "(long)ppcVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) )))) ;) (expression_statement "key = ConstantString(*(char **)((long)xml_info->attributes + lVar2));" (assignment_expression "key = ConstantString(*(char **)((long)xml_info->attributes + lVar2))" identifier = (call_expression "ConstantString(*(char **)((long)xml_info->attributes + lVar2))" identifier (argument_list "(*(char **)((long)xml_info->attributes + lVar2))" ( (pointer_expression "*(char **)((long)xml_info->attributes + lVar2)" * (cast_expression "(char **)((long)xml_info->attributes + lVar2)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)xml_info->attributes + lVar2)" ( (binary_expression "(long)xml_info->attributes + lVar2" (cast_expression "(long)xml_info->attributes" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "xml_info->attributes" identifier -> field_identifier)) + identifier) )))) )))) ;) (expression_statement "AddValueToSplayTree(attributes,key,value);" (call_expression "AddValueToSplayTree(attributes,key,value)" identifier (argument_list "(attributes,key,value)" ( identifier , identifier , identifier ))) ;) (expression_statement "ppcVar1 = xml_info->attributes;" (assignment_expression "ppcVar1 = xml_info->attributes" identifier = (field_expression "xml_info->attributes" identifier -> field_identifier)) ;) (expression_statement "lVar2 = lVar2 + 0x10;" (assignment_expression "lVar2 = lVar2 + 0x10" identifier = (binary_expression "lVar2 + 0x10" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(long *)((long)ppcVar1 + lVar2) != 0)" ( (binary_expression "*(long *)((long)ppcVar1 + lVar2) != 0" (pointer_expression "*(long *)((long)ppcVar1 + lVar2)" * (cast_expression "(long *)((long)ppcVar1 + lVar2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)ppcVar1 + lVar2)" ( (binary_expression "(long)ppcVar1 + lVar2" (cast_expression "(long)ppcVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) != number_literal) )) ;) })) (return_statement "return MagickTrue;" return identifier ;) })) comment (expression_statement "__assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes");" (call_expression "__assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes")" identifier (argument_list "("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes")" ( (string_literal ""attributes != (SplayTreeInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/xml-tree.c"" " string_content ") , number_literal , (string_literal ""GetXMLTreeAttributes"" " string_content ") ))) ;) })))
(translation_unit "undefined8 FUN_0030cbfe(long param_1,long param_2)\n\n{\n  long *plVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\n  }\n  if ((*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab)) {\n                    \n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }\n  if (*(int *)(param_1 + 0x48) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }\n  if (param_2 != 0) {\n    plVar1 = *(long **)(param_1 + 8);\n    if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }\n    return 1;\n  }\n                    \n  __assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes");\n}\n\n" (function_definition "undefined8 FUN_0030cbfe(long param_1,long param_2)\n\n{\n  long *plVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\n  }\n  if ((*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab)) {\n                    \n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }\n  if (*(int *)(param_1 + 0x48) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }\n  if (param_2 != 0) {\n    plVar1 = *(long **)(param_1 + 8);\n    if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }\n    return 1;\n  }\n                    \n  __assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes");\n}" type_identifier (function_declarator "FUN_0030cbfe(long param_1,long param_2)" identifier (parameter_list "(long param_1,long param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long *plVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\n  }\n  if ((*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab)) {\n                    \n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }\n  if (*(int *)(param_1 + 0x48) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }\n  if (param_2 != 0) {\n    plVar1 = *(long **)(param_1 + 8);\n    if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }\n    return 1;\n  }\n                    \n  __assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes");\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\n  }" { (expression_statement "__assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");" (call_expression "__assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes")" identifier (argument_list "("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes")" ( (string_literal ""xml_info != (XMLTreeInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/xml-tree.c"" " string_content ") , number_literal , (string_literal ""GetXMLTreeAttributes"" " string_content ") ))) ;) })) (if_statement "if ((*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab)) {\n                    \n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }" if (parenthesized_expression "((*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab))" ( (binary_expression "(*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab)" (parenthesized_expression "(*(long *)(param_1 + 0x58) != 0xabacadab)" ( (binary_expression "*(long *)(param_1 + 0x58) != 0xabacadab" (pointer_expression "*(long *)(param_1 + 0x58)" * (cast_expression "(long *)(param_1 + 0x58)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(long *)(param_1 + 0x98) != 0xabacadab)" ( (binary_expression "*(long *)(param_1 + 0x98) != 0xabacadab" (pointer_expression "*(long *)(param_1 + 0x98)" * (cast_expression "(long *)(param_1 + 0x98)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x98)" ( (binary_expression "param_1 + 0x98" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n                    \n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }" { (expression_statement "__assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");" (call_expression "__assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes")" identifier (argument_list "("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes")" ( (string_literal ""(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"" " string_content ") , (string_literal ""MagickCore/xml-tree.c"" " string_content ") , number_literal , (string_literal ""GetXMLTreeAttributes"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x48) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x48) != 0)" ( (binary_expression "*(int *)(param_1 + 0x48) != 0" (pointer_expression "*(int *)(param_1 + 0x48)" * (cast_expression "(int *)(param_1 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");" (call_expression "LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...")" identifier (argument_list "(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...")" ( number_literal , (string_literal ""MagickCore/xml-tree.c"" " string_content ") , (string_literal ""GetXMLTreeAttributes"" " string_content ") , number_literal , (string_literal ""..."" " string_content ") ))) ;) })) (if_statement "if (param_2 != 0) {\n    plVar1 = *(long **)(param_1 + 8);\n    if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }\n    return 1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    plVar1 = *(long **)(param_1 + 8);\n    if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }\n    return 1;\n  }" { (expression_statement "plVar1 = *(long **)(param_1 + 8);" (assignment_expression "plVar1 = *(long **)(param_1 + 8)" identifier = (pointer_expression "*(long **)(param_1 + 8)" * (cast_expression "(long **)(param_1 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }" if (parenthesized_expression "((plVar1 != (long *)0x0) && (*plVar1 != 0))" ( (binary_expression "(plVar1 != (long *)0x0) && (*plVar1 != 0)" (parenthesized_expression "(plVar1 != (long *)0x0)" ( (binary_expression "plVar1 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*plVar1 != 0)" ( (binary_expression "*plVar1 != 0" (pointer_expression "*plVar1" * identifier) != number_literal) ))) )) (compound_statement "{\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }" { (expression_statement "lVar4 = 0;" (assignment_expression "lVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);" do (compound_statement "{\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      }" { (expression_statement "uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));" (assignment_expression "uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8))" identifier = (call_expression "ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8))" identifier (argument_list "(*(undefined8 *)((long)plVar1 + lVar4 + 8))" ( (pointer_expression "*(undefined8 *)((long)plVar1 + lVar4 + 8)" * (cast_expression "(undefined8 *)((long)plVar1 + lVar4 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar1 + lVar4 + 8)" ( (binary_expression "(long)plVar1 + lVar4 + 8" (binary_expression "(long)plVar1 + lVar4" (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) )))) ;) (expression_statement "uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));" (assignment_expression "uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4))" identifier = (call_expression "ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4))" identifier (argument_list "(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4))" ( (pointer_expression "*(undefined8 *)(*(long *)(param_1 + 8) + lVar4)" * (cast_expression "(undefined8 *)(*(long *)(param_1 + 8) + lVar4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 8) + lVar4)" ( (binary_expression "*(long *)(param_1 + 8) + lVar4" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + identifier) )))) )))) ;) (expression_statement "AddValueToSplayTree(param_2,uVar3,uVar2);" (call_expression "AddValueToSplayTree(param_2,uVar3,uVar2)" identifier (argument_list "(param_2,uVar3,uVar2)" ( identifier , identifier , identifier ))) ;) (expression_statement "plVar1 = *(long **)(param_1 + 8);" (assignment_expression "plVar1 = *(long **)(param_1 + 8)" identifier = (pointer_expression "*(long **)(param_1 + 8)" * (cast_expression "(long **)(param_1 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "lVar4 = lVar4 + 0x10;" (assignment_expression "lVar4 = lVar4 + 0x10" identifier = (binary_expression "lVar4 + 0x10" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(long *)((long)plVar1 + lVar4) != 0)" ( (binary_expression "*(long *)((long)plVar1 + lVar4) != 0" (pointer_expression "*(long *)((long)plVar1 + lVar4)" * (cast_expression "(long *)((long)plVar1 + lVar4)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar1 + lVar4)" ( (binary_expression "(long)plVar1 + lVar4" (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) != number_literal) )) ;) })) (return_statement "return 1;" return number_literal ;) })) (expression_statement "__assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes");" (call_expression "__assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes")" identifier (argument_list "("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes")" ( (string_literal ""attributes != (SplayTreeInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/xml-tree.c"" " string_content ") , number_literal , (string_literal ""GetXMLTreeAttributes"" " 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) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (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 { (expression_statement (call_expression IDENT (argument_list ( LIT , (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 (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) )))) != LIT) )) ;) })) (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "undefined8 FUN_0030cbfe(long param_1,long param_2)\n\n{\n  long *plVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\n  }\n  if ((*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab)) {\n                    \n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }\n  if (*(int *)(param_1 + 0x48) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }\n  if (param_2 != 0) {\n    plVar1 = *(long **)(param_1 + 8);\n    if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }\n    return 1;\n  }\n                    \n  __assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes");\n}" (type_identifier "undefined8") (function_declarator "FUN_0030cbfe(long param_1,long param_2)" (identifier "FUN_0030cbfe") (parameter_list "(long param_1,long param_2)" (( "(") (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")) () ")"))) (compound_statement "{\n  long *plVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\n  }\n  if ((*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab)) {\n                    \n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }\n  if (*(int *)(param_1 + 0x48) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }\n  if (param_2 != 0) {\n    plVar1 = *(long **)(param_1 + 8);\n    if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }\n    return 1;\n  }\n                    \n  __assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes");\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\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("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");\n  }" ({ "{") (expression_statement "__assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes");" (call_expression "__assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes")" (identifier "__assert_fail") (argument_list "("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,\n                  "GetXMLTreeAttributes")" (( "(") (string_literal ""xml_info != (XMLTreeInfo *) NULL"" (" """) (string_content "xml_info != (XMLTreeInfo *) NULL") (" """)) (, ",") (string_literal ""MagickCore/xml-tree.c"" (" """) (string_content "MagickCore/xml-tree.c") (" """)) (, ",") (number_literal "0x356") (, ",") (string_literal ""GetXMLTreeAttributes"" (" """) (string_content "GetXMLTreeAttributes") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if ((*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab)) {\n                    \n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }" (if "if") (parenthesized_expression "((*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab))" (( "(") (binary_expression "(*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab)" (parenthesized_expression "(*(long *)(param_1 + 0x58) != 0xabacadab)" (( "(") (binary_expression "*(long *)(param_1 + 0x58) != 0xabacadab" (pointer_expression "*(long *)(param_1 + 0x58)" (* "*") (cast_expression "(long *)(param_1 + 0x58)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))) (!= "!=") (number_literal "0xabacadab")) () ")")) (&& "&&") (parenthesized_expression "(*(long *)(param_1 + 0x98) != 0xabacadab)" (( "(") (binary_expression "*(long *)(param_1 + 0x98) != 0xabacadab" (pointer_expression "*(long *)(param_1 + 0x98)" (* "*") (cast_expression "(long *)(param_1 + 0x98)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x98)" (( "(") (binary_expression "param_1 + 0x98" (identifier "param_1") (+ "+") (number_literal "0x98")) () ")")))) (!= "!=") (number_literal "0xabacadab")) () ")"))) () ")")) (compound_statement "{\n                    \n    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");\n  }" ({ "{") (expression_statement "__assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");" (call_expression "__assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes")" (identifier "__assert_fail") (argument_list "("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"\n                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes")" (( "(") (string_literal ""(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"" (" """) (string_content "(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)") (" """)) (, ",") (string_literal ""MagickCore/xml-tree.c"" (" """) (string_content "MagickCore/xml-tree.c") (" """)) (, ",") (number_literal "0x358") (, ",") (string_literal ""GetXMLTreeAttributes"" (" """) (string_content "GetXMLTreeAttributes") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x48) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x48) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x48) != 0" (pointer_expression "*(int *)(param_1 + 0x48)" (* "*") (cast_expression "(int *)(param_1 + 0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");\n  }" ({ "{") (expression_statement "LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");" (call_expression "LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...")" (identifier "LogMagickEvent") (argument_list "(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...")" (( "(") (number_literal "0x8000") (, ",") (string_literal ""MagickCore/xml-tree.c"" (" """) (string_content "MagickCore/xml-tree.c") (" """)) (, ",") (string_literal ""GetXMLTreeAttributes"" (" """) (string_content "GetXMLTreeAttributes") (" """)) (, ",") (number_literal "0x35a") (, ",") (string_literal ""..."" (" """) (string_content "...") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 != 0) {\n    plVar1 = *(long **)(param_1 + 8);\n    if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }\n    return 1;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    plVar1 = *(long **)(param_1 + 8);\n    if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }\n    return 1;\n  }" ({ "{") (expression_statement "plVar1 = *(long **)(param_1 + 8);" (assignment_expression "plVar1 = *(long **)(param_1 + 8)" (identifier "plVar1") (= "=") (pointer_expression "*(long **)(param_1 + 8)" (* "*") (cast_expression "(long **)(param_1 + 8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }" (if "if") (parenthesized_expression "((plVar1 != (long *)0x0) && (*plVar1 != 0))" (( "(") (binary_expression "(plVar1 != (long *)0x0) && (*plVar1 != 0)" (parenthesized_expression "(plVar1 != (long *)0x0)" (( "(") (binary_expression "plVar1 != (long *)0x0" (identifier "plVar1") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(*plVar1 != 0)" (( "(") (binary_expression "*plVar1 != 0" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      lVar4 = 0;\n      do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);\n    }" ({ "{") (expression_statement "lVar4 = 0;" (assignment_expression "lVar4 = 0" (identifier "lVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      } while (*(long *)((long)plVar1 + lVar4) != 0);" (do "do") (compound_statement "{\n        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));\n        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));\n        AddValueToSplayTree(param_2,uVar3,uVar2);\n        plVar1 = *(long **)(param_1 + 8);\n        lVar4 = lVar4 + 0x10;\n      }" ({ "{") (expression_statement "uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));" (assignment_expression "uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8))" (identifier "uVar2") (= "=") (call_expression "ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8))" (identifier "ConstantString") (argument_list "(*(undefined8 *)((long)plVar1 + lVar4 + 8))" (( "(") (pointer_expression "*(undefined8 *)((long)plVar1 + lVar4 + 8)" (* "*") (cast_expression "(undefined8 *)((long)plVar1 + lVar4 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)plVar1 + lVar4 + 8)" (( "(") (binary_expression "(long)plVar1 + lVar4 + 8" (binary_expression "(long)plVar1 + lVar4" (cast_expression "(long)plVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "plVar1")) (+ "+") (identifier "lVar4")) (+ "+") (number_literal "8")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));" (assignment_expression "uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4))" (identifier "uVar3") (= "=") (call_expression "ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4))" (identifier "ConstantString") (argument_list "(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4))" (( "(") (pointer_expression "*(undefined8 *)(*(long *)(param_1 + 8) + lVar4)" (* "*") (cast_expression "(undefined8 *)(*(long *)(param_1 + 8) + lVar4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 8) + lVar4)" (( "(") (binary_expression "*(long *)(param_1 + 8) + lVar4" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (identifier "lVar4")) () ")")))) () ")")))) (; ";")) (expression_statement "AddValueToSplayTree(param_2,uVar3,uVar2);" (call_expression "AddValueToSplayTree(param_2,uVar3,uVar2)" (identifier "AddValueToSplayTree") (argument_list "(param_2,uVar3,uVar2)" (( "(") (identifier "param_2") (, ",") (identifier "uVar3") (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "plVar1 = *(long **)(param_1 + 8);" (assignment_expression "plVar1 = *(long **)(param_1 + 8)" (identifier "plVar1") (= "=") (pointer_expression "*(long **)(param_1 + 8)" (* "*") (cast_expression "(long **)(param_1 + 8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "lVar4 = lVar4 + 0x10;" (assignment_expression "lVar4 = lVar4 + 0x10" (identifier "lVar4") (= "=") (binary_expression "lVar4 + 0x10" (identifier "lVar4") (+ "+") (number_literal "0x10"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(long *)((long)plVar1 + lVar4) != 0)" (( "(") (binary_expression "*(long *)((long)plVar1 + lVar4) != 0" (pointer_expression "*(long *)((long)plVar1 + lVar4)" (* "*") (cast_expression "(long *)((long)plVar1 + lVar4)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)plVar1 + lVar4)" (( "(") (binary_expression "(long)plVar1 + lVar4" (cast_expression "(long)plVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "plVar1")) (+ "+") (identifier "lVar4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "__assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes");" (call_expression "__assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes")" (identifier "__assert_fail") (argument_list "("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,\n                "GetXMLTreeAttributes")" (( "(") (string_literal ""attributes != (SplayTreeInfo *) NULL"" (" """) (string_content "attributes != (SplayTreeInfo *) NULL") (" """)) (, ",") (string_literal ""MagickCore/xml-tree.c"" (" """) (string_content "MagickCore/xml-tree.c") (" """)) (, ",") (number_literal "0x35b") (, ",") (string_literal ""GetXMLTreeAttributes"" (" """) (string_content "GetXMLTreeAttributes") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Enum "LogEventType": Some values do not have unique names */

type_1 function_1(type_2 *var_1,type_3 *var_5)

{
  char **var_6;
  char *value;
  char *key;
  long var_8;
  
  if (var_1 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,
                  "GetXMLTreeAttributes");
  }
  if ((var_1->signature != 0xabacadab) && (var_1[1].ordered != (type_2 *)0xabacadab)) {
                    /* WARNING: Subroutine does not return */
    var_2("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"
                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");
  }
  if (var_1->debug != var_3) {
    var_4(TraceEvent,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");
  }
  if (var_5 != (type_3 *)0x0) {
    var_6 = var_1->var_5;
    if ((var_6 != (char **)0x0) && (*var_6 != (char *)0x0)) {
      var_8 = 0;
      do {
        value = var_7(*(char **)((long)var_6 + var_8 + 8));
        key = var_7(*(char **)((long)var_1->var_5 + var_8));
        var_9(var_5,key,value);
        var_6 = var_1->var_5;
        var_8 = var_8 + 0x10;
      } while (*(long *)((long)var_6 + var_8) != 0);
    }
    return MagickTrue;
  }
                    /* WARNING: Subroutine does not return */
  var_2("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,
                "GetXMLTreeAttributes");
}


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

undefined8 MASKED(long param_1,long param_2)

{
  long *plVar1;
  undefined8 uVar2;
  undefined8 uVar3;
  long lVar4;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("xml_info != (XMLTreeInfo *) NULL","MagickCore/xml-tree.c",0x356,
                  "GetXMLTreeAttributes");
  }
  if ((*(long *)(param_1 + 0x58) != 0xabacadab) && (*(long *)(param_1 + 0x98) != 0xabacadab)) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("(xml_info->signature == MagickCoreSignature) || (((const XMLTreeRoot *) xml_info)->signature == MagickCoreSignature)"
                  ,"MagickCore/xml-tree.c",0x358,"GetXMLTreeAttributes");
  }
  if (*(int *)(param_1 + 0x48) != 0) {
    LogMagickEvent(0x8000,"MagickCore/xml-tree.c","GetXMLTreeAttributes",0x35a,"...");
  }
  if (param_2 != 0) {
    plVar1 = *(long **)(param_1 + 8);
    if ((plVar1 != (long *)0x0) && (*plVar1 != 0)) {
      lVar4 = 0;
      do {
        uVar2 = ConstantString(*(undefined8 *)((long)plVar1 + lVar4 + 8));
        uVar3 = ConstantString(*(undefined8 *)(*(long *)(param_1 + 8) + lVar4));
        AddValueToSplayTree(param_2,uVar3,uVar2);
        plVar1 = *(long **)(param_1 + 8);
        lVar4 = lVar4 + 0x10;
      } while (*(long *)((long)plVar1 + lVar4) != 0);
    }
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("attributes != (SplayTreeInfo *) NULL","MagickCore/xml-tree.c",0x35b,
                "GetXMLTreeAttributes");
}

