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

PixelIterator *
NewPixelRegionIterator(MagickWand *wand,ssize_t x,ssize_t y,size_t width,size_t height)

{
  MagickBooleanType MVar1;
  undefined8 uVar2;
  Image *pIVar3;
  ExceptionInfo *pEVar4;
  CacheView *pCVar5;
  PixelIterator *__s;
  size_t sVar6;
  PixelWand **ppPVar7;
  undefined8 uVar8;
  long in_FS_OFFSET;
  size_t depth;
  long local_40;
  
  local_40 = *(long *)(in_FS_OFFSET + 0x28);
  if (wand == (MagickWand *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,
                  "NewPixelRegionIterator");
  }
  depth = 0x10;
  uVar2 = GetMagickQuantumDepth(&depth);
  if (depth != 0x10) {
    uVar8 = AcquireExceptionInfo();
    ThrowMagickException
              (uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,
               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);
    CatchException(uVar8);
    DestroyExceptionInfo(uVar8);
    MagickWandTerminus();
                    /* WARNING: Subroutine does not return */
    _exit(-0xe5);
  }
  if ((width == 0) || (height == 0)) {
    uVar8 = AcquireExceptionInfo();
    ThrowMagickException
              (uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,
               "ZeroRegionSize",&DAT_0020ca76,uVar2);
    CatchException(uVar8);
    DestroyExceptionInfo(uVar8);
    MagickWandTerminus();
                    /* WARNING: Subroutine does not return */
    _exit(-0xe5);
  }
  pIVar3 = GetImageFromMagickWand(wand);
  if (pIVar3 == (Image *)0x0) {
    __s = (PixelIterator *)0x0;
  }
  else {
    pEVar4 = (ExceptionInfo *)AcquireExceptionInfo();
    pCVar5 = (CacheView *)AcquireVirtualCacheView(pIVar3,pEVar4);
    if (pCVar5 == (CacheView *)0x0) {
      __s = (PixelIterator *)0x0;
    }
    else {
      __s = (PixelIterator *)AcquireMagickMemory(0x1060);
      if (__s == (PixelIterator *)0x0) {
        uVar2 = AcquireExceptionInfo();
        ThrowMagickException
                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,
                   "MemoryAllocationFailed",&DAT_0020ca76,wand->name);
        CatchException(uVar2);
        DestroyExceptionInfo(uVar2);
        MagickWandTerminus();
                    /* WARNING: Subroutine does not return */
        _exit(1);
      }
      memset(__s,0,0x1060);
      sVar6 = AcquireWandId();
      __s->id = sVar6;
      FormatLocaleString((double)sVar6,__s->name,0x1000,"%s-%.20g","PixelIterator");
      __s->exception = pEVar4;
      __s->view = pCVar5;
      SetGeometry(pIVar3,&__s->region);
      (__s->region).width = width;
      (__s->region).height = height;
      (__s->region).x = x;
      (__s->region).y = y;
      ppPVar7 = NewPixelWands(width);
      __s->pixel_wands = ppPVar7;
      __s->y = 0;
      MVar1 = IsEventLogging();
      __s->debug = MVar1;
      if (MVar1 != MagickFalse) {
        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",
                       __s->name);
      }
      __s->signature = 0xabacadab;
    }
  }
  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {
    return __s;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}



ulong * NewPixelRegionIterator(long param_1,ulong param_2,ulong param_3,ulong param_4,ulong param_5)

{
  int iVar1;
  undefined8 uVar2;
  long lVar3;
  ulong uVar4;
  ulong uVar5;
  ulong *__s;
  ulong uVar6;
  undefined8 uVar7;
  long in_FS_OFFSET;
  long local_48;
  long local_40;
  
  local_40 = *(long *)(in_FS_OFFSET + 0x28);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,
                  "NewPixelRegionIterator");
  }
  local_48 = 0x10;
  uVar2 = GetMagickQuantumDepth(&local_48);
  if (local_48 != 0x10) {
    uVar7 = AcquireExceptionInfo();
    ThrowMagickException
              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,
               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);
    CatchException(uVar7);
    DestroyExceptionInfo(uVar7);
    MagickWandTerminus();
                    /* WARNING: Subroutine does not return */
    _exit(-0xe5);
  }
  if ((param_4 == 0) || (param_5 == 0)) {
    uVar7 = AcquireExceptionInfo();
    ThrowMagickException
              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,
               "ZeroRegionSize",&DAT_0020ca76,uVar2);
    CatchException(uVar7);
    DestroyExceptionInfo(uVar7);
    MagickWandTerminus();
                    /* WARNING: Subroutine does not return */
    _exit(-0xe5);
  }
  lVar3 = GetImageFromMagickWand(param_1);
  if (lVar3 == 0) {
    __s = (ulong *)0x0;
  }
  else {
    uVar4 = AcquireExceptionInfo();
    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);
    if (uVar5 == 0) {
      __s = (ulong *)0x0;
    }
    else {
      __s = (ulong *)AcquireMagickMemory(0x1060);
      if (__s == (ulong *)0x0) {
        uVar2 = AcquireExceptionInfo();
        ThrowMagickException
                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,
                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);
        CatchException(uVar2);
        DestroyExceptionInfo(uVar2);
        MagickWandTerminus();
                    /* WARNING: Subroutine does not return */
        _exit(1);
      }
      memset(__s,0,0x1060);
      uVar6 = AcquireWandId();
      *__s = uVar6;
      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");
      __s[0x201] = uVar4;
      __s[0x202] = uVar5;
      SetGeometry(lVar3,__s + 0x203);
      __s[0x203] = param_4;
      __s[0x204] = param_5;
      __s[0x205] = param_2;
      __s[0x206] = param_3;
      uVar4 = NewPixelWands(param_4);
      __s[0x209] = uVar4;
      __s[0x208] = 0;
      iVar1 = IsEventLogging();
      *(int *)(__s + 0x20a) = iVar1;
      if (iVar1 != 0) {
        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",
                       __s + 1);
      }
      __s[0x20b] = 0xabacadab;
    }
  }
  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {
    return __s;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x38
MOV qword ptr [RSP + 0x8],RSI
MOV qword ptr [RSP + 0x10],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x28],RAX
XOR EAX,EAX
TEST RDI,RDI
JZ 0x001fee21
MOV R13,RDI
MOV R12,RCX
MOV R14,R8
MOV qword ptr [RSP + 0x20],0x10
LEA RDI,[RSP + 0x20]
CALL 0x00113030
MOV RBX,RAX
CMP qword ptr [RSP + 0x20],0x10
JNZ 0x001fee40
TEST R12,R12
JZ 0x001feea1
TEST R14,R14
JZ 0x001feea1
MOV RDI,R13
CALL 0x00112be0
MOV RBP,RAX
TEST RAX,RAX
JZ 0x001fefb7
CALL 0x00112e20
MOV qword ptr [RSP + 0x18],RAX
MOV RSI,RAX
MOV RDI,RBP
CALL 0x00111920
MOV R15,RAX
TEST RAX,RAX
JZ 0x001fefc1
MOV EDI,0x1060
CALL 0x001114f0
MOV RBX,RAX
TEST RAX,RAX
JZ 0x001fef02
MOV EDX,0x1060
MOV ESI,0x0
MOV RDI,RAX
CALL 0x00111470
CALL 0x00112650
MOV qword ptr [RBX],RAX
LEA R13,[RBX + 0x8]
TEST RAX,RAX
JS 0x001fef68
PXOR XMM0,XMM0
CVTSI2SD XMM0,RAX
LEA RCX,[0x229774]
LEA RDX,[0x21806d]
MOV ESI,0x1000
MOV RDI,R13
MOV EAX,0x1
CALL 0x001132d0
MOV RAX,qword ptr [RSP + 0x18]
MOV qword ptr [RBX + 0x1008],RAX
MOV qword ptr [RBX + 0x1010],R15
LEA RSI,[RBX + 0x1018]
MOV RDI,RBP
CALL 0x00111b60
MOV qword ptr [RBX + 0x1018],R12
MOV qword ptr [RBX + 0x1020],R14
MOV RAX,qword ptr [RSP + 0x8]
MOV qword ptr [RBX + 0x1028],RAX
MOV RAX,qword ptr [RSP + 0x10]
MOV qword ptr [RBX + 0x1030],RAX
MOV RDI,R12
CALL 0x00113340
MOV qword ptr [RBX + 0x1048],RAX
MOV qword ptr [RBX + 0x1040],0x0
CALL 0x00111870
MOV dword ptr [RBX + 0x1050],EAX
TEST EAX,EAX
JNZ 0x001fef86
MOV EAX,0xabacadab
MOV qword ptr [RBX + 0x1058],RAX
MOV RAX,RBX
MOV RCX,qword ptr [RSP + 0x28]
XOR RCX,qword ptr FS:[0x28]
JNZ 0x001fefcb
ADD RSP,0x38
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
LEA RCX,[0x229b00]
MOV EDX,0x1a8
LEA RSI,[0x229758]
LEA RDI,[0x21ce3f]
CALL 0x00111850
CALL 0x00112e20
MOV RBP,RAX
PUSH RBX
LEA RAX,[0x20ca76]
PUSH RAX
LEA R9,[0x218058]
MOV R8D,0x1d6
MOV ECX,0x1ac
LEA RDX,[0x229ae0]
LEA RSI,[0x229758]
MOV RDI,RBP
MOV EAX,0x0
CALL 0x00112db0
ADD RSP,0x10
MOV RDI,RBP
CALL 0x001123c0
MOV RDI,RBP
CALL 0x00113380
CALL 0x00111940
MOV EDI,0xffffff1b
CALL 0x00111aa0
CALL 0x00112e20
MOV RBP,RAX
PUSH RBX
LEA RAX,[0x20ca76]
PUSH RAX
LEA R9,[0x229782]
MOV R8D,0x1d6
MOV ECX,0x1ae
LEA RDX,[0x229ae0]
LEA RSI,[0x229758]
MOV RDI,RBP
MOV EAX,0x0
CALL 0x00112db0
ADD RSP,0x10
MOV RDI,RBP
CALL 0x001123c0
MOV RDI,RBP
CALL 0x00113380
CALL 0x00111940
MOV EDI,0xffffff1b
CALL 0x00111aa0
CALL 0x00112e20
MOV RBX,RAX
ADD R13,0x8
PUSH R13
LEA RAX,[0x20ca76]
PUSH RAX
LEA R9,[0x20ca5f]
MOV R8D,0x2bc
MOV ECX,0x1b9
LEA RDX,[0x229ae0]
LEA RSI,[0x229758]
MOV RDI,RBX
MOV EAX,0x0
CALL 0x00112db0
ADD RSP,0x10
MOV RDI,RBX
CALL 0x001123c0
MOV RDI,RBX
CALL 0x00113380
CALL 0x00111940
MOV EDI,0x1
CALL 0x00111aa0
MOV RDX,RAX
SHR RDX,0x1
AND EAX,0x1
OR RDX,RAX
PXOR XMM0,XMM0
CVTSI2SD XMM0,RDX
ADDSD XMM0,XMM0
JMP 0x001fed5a
MOV R9,R13
LEA R8,[0x2228e2]
MOV ECX,0x1c9
LEA RDX,[0x229ae0]
LEA RSI,[0x229758]
MOV EDI,0x40000
MOV EAX,0x0
CALL 0x00112620
JMP 0x001fedef
MOV EBX,0x0
JMP 0x001fedfb
MOV EBX,0x0
JMP 0x001fedfb
CALL 0x00112a70
(translation_unit "ulong * NewPixelRegionIterator(long param_1,ulong param_2,ulong param_3,ulong param_4,ulong param_5)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong *__s;\n  ulong uVar6;\n  undefined8 uVar7;\n  long in_FS_OFFSET;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }\n  local_48 = 0x10;\n  uVar2 = GetMagickQuantumDepth(&local_48);\n  if (local_48 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }\n  if ((param_4 == 0) || (param_5 == 0)) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }\n  lVar3 = GetImageFromMagickWand(param_1);\n  if (lVar3 == 0) {\n    __s = (ulong *)0x0;\n  }\n  else {\n    uVar4 = AcquireExceptionInfo();\n    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);\n    if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }\n  }\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return __s;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "ulong * NewPixelRegionIterator(long param_1,ulong param_2,ulong param_3,ulong param_4,ulong param_5)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong *__s;\n  ulong uVar6;\n  undefined8 uVar7;\n  long in_FS_OFFSET;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }\n  local_48 = 0x10;\n  uVar2 = GetMagickQuantumDepth(&local_48);\n  if (local_48 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }\n  if ((param_4 == 0) || (param_5 == 0)) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }\n  lVar3 = GetImageFromMagickWand(param_1);\n  if (lVar3 == 0) {\n    __s = (ulong *)0x0;\n  }\n  else {\n    uVar4 = AcquireExceptionInfo();\n    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);\n    if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }\n  }\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return __s;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" type_identifier (pointer_declarator "* NewPixelRegionIterator(long param_1,ulong param_2,ulong param_3,ulong param_4,ulong param_5)" * (function_declarator "NewPixelRegionIterator(long param_1,ulong param_2,ulong param_3,ulong param_4,ulong param_5)" identifier (parameter_list "(long param_1,ulong param_2,ulong param_3,ulong param_4,ulong param_5)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong param_2" type_identifier identifier) , (parameter_declaration "ulong param_3" type_identifier identifier) , (parameter_declaration "ulong param_4" type_identifier identifier) , (parameter_declaration "ulong param_5" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong *__s;\n  ulong uVar6;\n  undefined8 uVar7;\n  long in_FS_OFFSET;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }\n  local_48 = 0x10;\n  uVar2 = GetMagickQuantumDepth(&local_48);\n  if (local_48 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }\n  if ((param_4 == 0) || (param_5 == 0)) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }\n  lVar3 = GetImageFromMagickWand(param_1);\n  if (lVar3 == 0) {\n    __s = (ulong *)0x0;\n  }\n  else {\n    uVar4 = AcquireExceptionInfo();\n    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);\n    if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }\n  }\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return __s;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "ulong *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "undefined8 uVar7;" type_identifier identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_48;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_40;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\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("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }" { comment (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator")" identifier (argument_list "("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator")" ( (string_literal ""wand != (MagickWand *) NULL"" " string_content ") , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , number_literal , (string_literal ""NewPixelRegionIterator"" " string_content ") ))) ;) })) (expression_statement "local_48 = 0x10;" (assignment_expression "local_48 = 0x10" identifier = number_literal) ;) (expression_statement "uVar2 = GetMagickQuantumDepth(&local_48);" (assignment_expression "uVar2 = GetMagickQuantumDepth(&local_48)" identifier = (call_expression "GetMagickQuantumDepth(&local_48)" identifier (argument_list "(&local_48)" ( (pointer_expression "&local_48" & identifier) )))) ;) (if_statement "if (local_48 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }" if (parenthesized_expression "(local_48 != 0x10)" ( (binary_expression "local_48 != 0x10" identifier != number_literal) )) (compound_statement "{\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }" { (expression_statement "uVar7 = AcquireExceptionInfo();" (assignment_expression "uVar7 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);" (call_expression "ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2)" identifier (argument_list "(uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2)" ( identifier , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , (string_literal ""NewPixelRegionIterator"" " string_content ") , number_literal , number_literal , (string_literal ""QuantumDepthMismatch"" " string_content ") , (pointer_expression "&DAT_0020ca76" & identifier) , identifier ))) ;) (expression_statement "CatchException(uVar7);" (call_expression "CatchException(uVar7)" identifier (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "DestroyExceptionInfo(uVar7);" (call_expression "DestroyExceptionInfo(uVar7)" identifier (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "MagickWandTerminus();" (call_expression "MagickWandTerminus()" identifier (argument_list "()" ( ))) ;) comment (expression_statement "_exit(-0xe5);" (call_expression "_exit(-0xe5)" identifier (argument_list "(-0xe5)" ( number_literal ))) ;) })) (if_statement "if ((param_4 == 0) || (param_5 == 0)) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }" if (parenthesized_expression "((param_4 == 0) || (param_5 == 0))" ( (binary_expression "(param_4 == 0) || (param_5 == 0)" (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) || (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) ))) )) (compound_statement "{\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }" { (expression_statement "uVar7 = AcquireExceptionInfo();" (assignment_expression "uVar7 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);" (call_expression "ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2)" identifier (argument_list "(uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2)" ( identifier , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , (string_literal ""NewPixelRegionIterator"" " string_content ") , number_literal , number_literal , (string_literal ""ZeroRegionSize"" " string_content ") , (pointer_expression "&DAT_0020ca76" & identifier) , identifier ))) ;) (expression_statement "CatchException(uVar7);" (call_expression "CatchException(uVar7)" identifier (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "DestroyExceptionInfo(uVar7);" (call_expression "DestroyExceptionInfo(uVar7)" identifier (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "MagickWandTerminus();" (call_expression "MagickWandTerminus()" identifier (argument_list "()" ( ))) ;) comment (expression_statement "_exit(-0xe5);" (call_expression "_exit(-0xe5)" identifier (argument_list "(-0xe5)" ( number_literal ))) ;) })) (expression_statement "lVar3 = GetImageFromMagickWand(param_1);" (assignment_expression "lVar3 = GetImageFromMagickWand(param_1)" identifier = (call_expression "GetImageFromMagickWand(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (lVar3 == 0) {\n    __s = (ulong *)0x0;\n  }\n  else {\n    uVar4 = AcquireExceptionInfo();\n    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);\n    if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }\n  }" if (parenthesized_expression "(lVar3 == 0)" ( (binary_expression "lVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    __s = (ulong *)0x0;\n  }" { (expression_statement "__s = (ulong *)0x0;" (assignment_expression "__s = (ulong *)0x0" identifier = (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    uVar4 = AcquireExceptionInfo();\n    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);\n    if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }\n  }" else (compound_statement "{\n    uVar4 = AcquireExceptionInfo();\n    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);\n    if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }\n  }" { (expression_statement "uVar4 = AcquireExceptionInfo();" (assignment_expression "uVar4 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar5 = AcquireVirtualCacheView(lVar3,uVar4);" (assignment_expression "uVar5 = AcquireVirtualCacheView(lVar3,uVar4)" identifier = (call_expression "AcquireVirtualCacheView(lVar3,uVar4)" identifier (argument_list "(lVar3,uVar4)" ( identifier , identifier )))) ;) (if_statement "if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      __s = (ulong *)0x0;\n    }" { (expression_statement "__s = (ulong *)0x0;" (assignment_expression "__s = (ulong *)0x0" identifier = (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }" else (compound_statement "{\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }" { (expression_statement "__s = (ulong *)AcquireMagickMemory(0x1060);" (assignment_expression "__s = (ulong *)AcquireMagickMemory(0x1060)" identifier = (cast_expression "(ulong *)AcquireMagickMemory(0x1060)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireMagickMemory(0x1060)" identifier (argument_list "(0x1060)" ( number_literal ))))) ;) (if_statement "if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }" if (parenthesized_expression "(__s == (ulong *)0x0)" ( (binary_expression "__s == (ulong *)0x0" identifier == (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }" { (expression_statement "uVar2 = AcquireExceptionInfo();" (assignment_expression "uVar2 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);" (call_expression "ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8)" identifier (argument_list "(uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8)" ( identifier , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , (string_literal ""NewPixelRegionIterator"" " string_content ") , number_literal , number_literal , (string_literal ""MemoryAllocationFailed"" " string_content ") , (pointer_expression "&DAT_0020ca76" & identifier) , (binary_expression "param_1 + 8" identifier + number_literal) ))) ;) (expression_statement "CatchException(uVar2);" (call_expression "CatchException(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "DestroyExceptionInfo(uVar2);" (call_expression "DestroyExceptionInfo(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "MagickWandTerminus();" (call_expression "MagickWandTerminus()" identifier (argument_list "()" ( ))) ;) comment (expression_statement "_exit(1);" (call_expression "_exit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "memset(__s,0,0x1060);" (call_expression "memset(__s,0,0x1060)" identifier (argument_list "(__s,0,0x1060)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "uVar6 = AcquireWandId();" (assignment_expression "uVar6 = AcquireWandId()" identifier = (call_expression "AcquireWandId()" identifier (argument_list "()" ( )))) ;) (expression_statement "*__s = uVar6;" (assignment_expression "*__s = uVar6" (pointer_expression "*__s" * identifier) = identifier) ;) (expression_statement "FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");" (call_expression "FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator")" identifier (argument_list "((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator")" ( (cast_expression "(double)uVar6" ( (type_descriptor "double" primitive_type) ) identifier) , (binary_expression "__s + 1" identifier + number_literal) , number_literal , (string_literal ""%s-%.20g"" " string_content ") , (string_literal ""PixelIterator"" " string_content ") ))) ;) (expression_statement "__s[0x201] = uVar4;" (assignment_expression "__s[0x201] = uVar4" (subscript_expression "__s[0x201]" identifier [ number_literal ]) = identifier) ;) (expression_statement "__s[0x202] = uVar5;" (assignment_expression "__s[0x202] = uVar5" (subscript_expression "__s[0x202]" identifier [ number_literal ]) = identifier) ;) (expression_statement "SetGeometry(lVar3,__s + 0x203);" (call_expression "SetGeometry(lVar3,__s + 0x203)" identifier (argument_list "(lVar3,__s + 0x203)" ( identifier , (binary_expression "__s + 0x203" identifier + number_literal) ))) ;) (expression_statement "__s[0x203] = param_4;" (assignment_expression "__s[0x203] = param_4" (subscript_expression "__s[0x203]" identifier [ number_literal ]) = identifier) ;) (expression_statement "__s[0x204] = param_5;" (assignment_expression "__s[0x204] = param_5" (subscript_expression "__s[0x204]" identifier [ number_literal ]) = identifier) ;) (expression_statement "__s[0x205] = param_2;" (assignment_expression "__s[0x205] = param_2" (subscript_expression "__s[0x205]" identifier [ number_literal ]) = identifier) ;) (expression_statement "__s[0x206] = param_3;" (assignment_expression "__s[0x206] = param_3" (subscript_expression "__s[0x206]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar4 = NewPixelWands(param_4);" (assignment_expression "uVar4 = NewPixelWands(param_4)" identifier = (call_expression "NewPixelWands(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "__s[0x209] = uVar4;" (assignment_expression "__s[0x209] = uVar4" (subscript_expression "__s[0x209]" identifier [ number_literal ]) = identifier) ;) (expression_statement "__s[0x208] = 0;" (assignment_expression "__s[0x208] = 0" (subscript_expression "__s[0x208]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar1 = IsEventLogging();" (assignment_expression "iVar1 = IsEventLogging()" identifier = (call_expression "IsEventLogging()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(int *)(__s + 0x20a) = iVar1;" (assignment_expression "*(int *)(__s + 0x20a) = iVar1" (pointer_expression "*(int *)(__s + 0x20a)" * (cast_expression "(int *)(__s + 0x20a)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__s + 0x20a)" ( (binary_expression "__s + 0x20a" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);" (call_expression "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1)" identifier (argument_list "(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1)" ( number_literal , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , (string_literal ""NewPixelRegionIterator"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "__s + 1" identifier + number_literal) ))) ;) })) (expression_statement "__s[0x20b] = 0xabacadab;" (assignment_expression "__s[0x20b] = 0xabacadab" (subscript_expression "__s[0x20b]" identifier [ number_literal ]) = number_literal) ;) }))) }))) (if_statement "if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return __s;\n  }" if (parenthesized_expression "(local_40 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_40 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return __s;\n  }" { (return_statement "return __s;" return identifier ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\nPixelIterator *\nNewPixelRegionIterator(MagickWand *wand,ssize_t x,ssize_t y,size_t width,size_t height)\n\n{\n  MagickBooleanType MVar1;\n  undefined8 uVar2;\n  Image *pIVar3;\n  ExceptionInfo *pEVar4;\n  CacheView *pCVar5;\n  PixelIterator *__s;\n  size_t sVar6;\n  PixelWand **ppPVar7;\n  undefined8 uVar8;\n  long in_FS_OFFSET;\n  size_t depth;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }\n  depth = 0x10;\n  uVar2 = GetMagickQuantumDepth(&depth);\n  if (depth != 0x10) {\n    uVar8 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar8);\n    DestroyExceptionInfo(uVar8);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }\n  if ((width == 0) || (height == 0)) {\n    uVar8 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar8);\n    DestroyExceptionInfo(uVar8);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }\n  pIVar3 = GetImageFromMagickWand(wand);\n  if (pIVar3 == (Image *)0x0) {\n    __s = (PixelIterator *)0x0;\n  }\n  else {\n    pEVar4 = (ExceptionInfo *)AcquireExceptionInfo();\n    pCVar5 = (CacheView *)AcquireVirtualCacheView(pIVar3,pEVar4);\n    if (pCVar5 == (CacheView *)0x0) {\n      __s = (PixelIterator *)0x0;\n    }\n    else {\n      __s = (PixelIterator *)AcquireMagickMemory(0x1060);\n      if (__s == (PixelIterator *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,wand->name);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      sVar6 = AcquireWandId();\n      __s->id = sVar6;\n      FormatLocaleString((double)sVar6,__s->name,0x1000,"%s-%.20g","PixelIterator");\n      __s->exception = pEVar4;\n      __s->view = pCVar5;\n      SetGeometry(pIVar3,&__s->region);\n      (__s->region).width = width;\n      (__s->region).height = height;\n      (__s->region).x = x;\n      (__s->region).y = y;\n      ppPVar7 = NewPixelWands(width);\n      __s->pixel_wands = ppPVar7;\n      __s->y = 0;\n      MVar1 = IsEventLogging();\n      __s->debug = MVar1;\n      if (MVar1 != MagickFalse) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s->name);\n      }\n      __s->signature = 0xabacadab;\n    }\n  }\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return __s;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" comment comment comment comment comment (function_definition "PixelIterator *\nNewPixelRegionIterator(MagickWand *wand,ssize_t x,ssize_t y,size_t width,size_t height)\n\n{\n  MagickBooleanType MVar1;\n  undefined8 uVar2;\n  Image *pIVar3;\n  ExceptionInfo *pEVar4;\n  CacheView *pCVar5;\n  PixelIterator *__s;\n  size_t sVar6;\n  PixelWand **ppPVar7;\n  undefined8 uVar8;\n  long in_FS_OFFSET;\n  size_t depth;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }\n  depth = 0x10;\n  uVar2 = GetMagickQuantumDepth(&depth);\n  if (depth != 0x10) {\n    uVar8 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar8);\n    DestroyExceptionInfo(uVar8);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }\n  if ((width == 0) || (height == 0)) {\n    uVar8 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar8);\n    DestroyExceptionInfo(uVar8);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }\n  pIVar3 = GetImageFromMagickWand(wand);\n  if (pIVar3 == (Image *)0x0) {\n    __s = (PixelIterator *)0x0;\n  }\n  else {\n    pEVar4 = (ExceptionInfo *)AcquireExceptionInfo();\n    pCVar5 = (CacheView *)AcquireVirtualCacheView(pIVar3,pEVar4);\n    if (pCVar5 == (CacheView *)0x0) {\n      __s = (PixelIterator *)0x0;\n    }\n    else {\n      __s = (PixelIterator *)AcquireMagickMemory(0x1060);\n      if (__s == (PixelIterator *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,wand->name);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      sVar6 = AcquireWandId();\n      __s->id = sVar6;\n      FormatLocaleString((double)sVar6,__s->name,0x1000,"%s-%.20g","PixelIterator");\n      __s->exception = pEVar4;\n      __s->view = pCVar5;\n      SetGeometry(pIVar3,&__s->region);\n      (__s->region).width = width;\n      (__s->region).height = height;\n      (__s->region).x = x;\n      (__s->region).y = y;\n      ppPVar7 = NewPixelWands(width);\n      __s->pixel_wands = ppPVar7;\n      __s->y = 0;\n      MVar1 = IsEventLogging();\n      __s->debug = MVar1;\n      if (MVar1 != MagickFalse) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s->name);\n      }\n      __s->signature = 0xabacadab;\n    }\n  }\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return __s;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" type_identifier (pointer_declarator "*\nNewPixelRegionIterator(MagickWand *wand,ssize_t x,ssize_t y,size_t width,size_t height)" * (function_declarator "NewPixelRegionIterator(MagickWand *wand,ssize_t x,ssize_t y,size_t width,size_t height)" identifier (parameter_list "(MagickWand *wand,ssize_t x,ssize_t y,size_t width,size_t height)" ( (parameter_declaration "MagickWand *wand" type_identifier (pointer_declarator "*wand" * identifier)) , (parameter_declaration "ssize_t x" primitive_type identifier) , (parameter_declaration "ssize_t y" primitive_type identifier) , (parameter_declaration "size_t width" primitive_type identifier) , (parameter_declaration "size_t height" primitive_type identifier) )))) (compound_statement "{\n  MagickBooleanType MVar1;\n  undefined8 uVar2;\n  Image *pIVar3;\n  ExceptionInfo *pEVar4;\n  CacheView *pCVar5;\n  PixelIterator *__s;\n  size_t sVar6;\n  PixelWand **ppPVar7;\n  undefined8 uVar8;\n  long in_FS_OFFSET;\n  size_t depth;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }\n  depth = 0x10;\n  uVar2 = GetMagickQuantumDepth(&depth);\n  if (depth != 0x10) {\n    uVar8 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar8);\n    DestroyExceptionInfo(uVar8);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }\n  if ((width == 0) || (height == 0)) {\n    uVar8 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar8);\n    DestroyExceptionInfo(uVar8);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }\n  pIVar3 = GetImageFromMagickWand(wand);\n  if (pIVar3 == (Image *)0x0) {\n    __s = (PixelIterator *)0x0;\n  }\n  else {\n    pEVar4 = (ExceptionInfo *)AcquireExceptionInfo();\n    pCVar5 = (CacheView *)AcquireVirtualCacheView(pIVar3,pEVar4);\n    if (pCVar5 == (CacheView *)0x0) {\n      __s = (PixelIterator *)0x0;\n    }\n    else {\n      __s = (PixelIterator *)AcquireMagickMemory(0x1060);\n      if (__s == (PixelIterator *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,wand->name);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      sVar6 = AcquireWandId();\n      __s->id = sVar6;\n      FormatLocaleString((double)sVar6,__s->name,0x1000,"%s-%.20g","PixelIterator");\n      __s->exception = pEVar4;\n      __s->view = pCVar5;\n      SetGeometry(pIVar3,&__s->region);\n      (__s->region).width = width;\n      (__s->region).height = height;\n      (__s->region).x = x;\n      (__s->region).y = y;\n      ppPVar7 = NewPixelWands(width);\n      __s->pixel_wands = ppPVar7;\n      __s->y = 0;\n      MVar1 = IsEventLogging();\n      __s->debug = MVar1;\n      if (MVar1 != MagickFalse) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s->name);\n      }\n      __s->signature = 0xabacadab;\n    }\n  }\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return __s;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "MagickBooleanType MVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "Image *pIVar3;" type_identifier (pointer_declarator "*pIVar3" * identifier) ;) (declaration "ExceptionInfo *pEVar4;" type_identifier (pointer_declarator "*pEVar4" * identifier) ;) (declaration "CacheView *pCVar5;" type_identifier (pointer_declarator "*pCVar5" * identifier) ;) (declaration "PixelIterator *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "PixelWand **ppPVar7;" type_identifier (pointer_declarator "**ppPVar7" * (pointer_declarator "*ppPVar7" * identifier)) ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "size_t depth;" primitive_type identifier ;) (declaration "long local_40;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (wand == (MagickWand *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }" if (parenthesized_expression "(wand == (MagickWand *)0x0)" ( (binary_expression "wand == (MagickWand *)0x0" identifier == (cast_expression "(MagickWand *)0x0" ( (type_descriptor "MagickWand *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }" { comment (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator")" identifier (argument_list "("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator")" ( (string_literal ""wand != (MagickWand *) NULL"" " string_content ") , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , number_literal , (string_literal ""NewPixelRegionIterator"" " string_content ") ))) ;) })) (expression_statement "depth = 0x10;" (assignment_expression "depth = 0x10" identifier = number_literal) ;) (expression_statement "uVar2 = GetMagickQuantumDepth(&depth);" (assignment_expression "uVar2 = GetMagickQuantumDepth(&depth)" identifier = (call_expression "GetMagickQuantumDepth(&depth)" identifier (argument_list "(&depth)" ( (pointer_expression "&depth" & identifier) )))) ;) (if_statement "if (depth != 0x10) {\n    uVar8 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar8);\n    DestroyExceptionInfo(uVar8);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }" if (parenthesized_expression "(depth != 0x10)" ( (binary_expression "depth != 0x10" identifier != number_literal) )) (compound_statement "{\n    uVar8 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar8);\n    DestroyExceptionInfo(uVar8);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }" { (expression_statement "uVar8 = AcquireExceptionInfo();" (assignment_expression "uVar8 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "ThrowMagickException\n              (uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);" (call_expression "ThrowMagickException\n              (uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2)" identifier (argument_list "(uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2)" ( identifier , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , (string_literal ""NewPixelRegionIterator"" " string_content ") , number_literal , number_literal , (string_literal ""QuantumDepthMismatch"" " string_content ") , (pointer_expression "&DAT_0020ca76" & identifier) , identifier ))) ;) (expression_statement "CatchException(uVar8);" (call_expression "CatchException(uVar8)" identifier (argument_list "(uVar8)" ( identifier ))) ;) (expression_statement "DestroyExceptionInfo(uVar8);" (call_expression "DestroyExceptionInfo(uVar8)" identifier (argument_list "(uVar8)" ( identifier ))) ;) (expression_statement "MagickWandTerminus();" (call_expression "MagickWandTerminus()" identifier (argument_list "()" ( ))) ;) comment (expression_statement "_exit(-0xe5);" (call_expression "_exit(-0xe5)" identifier (argument_list "(-0xe5)" ( number_literal ))) ;) })) (if_statement "if ((width == 0) || (height == 0)) {\n    uVar8 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar8);\n    DestroyExceptionInfo(uVar8);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }" if (parenthesized_expression "((width == 0) || (height == 0))" ( (binary_expression "(width == 0) || (height == 0)" (parenthesized_expression "(width == 0)" ( (binary_expression "width == 0" identifier == number_literal) )) || (parenthesized_expression "(height == 0)" ( (binary_expression "height == 0" identifier == number_literal) ))) )) (compound_statement "{\n    uVar8 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar8);\n    DestroyExceptionInfo(uVar8);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }" { (expression_statement "uVar8 = AcquireExceptionInfo();" (assignment_expression "uVar8 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "ThrowMagickException\n              (uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);" (call_expression "ThrowMagickException\n              (uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2)" identifier (argument_list "(uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2)" ( identifier , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , (string_literal ""NewPixelRegionIterator"" " string_content ") , number_literal , number_literal , (string_literal ""ZeroRegionSize"" " string_content ") , (pointer_expression "&DAT_0020ca76" & identifier) , identifier ))) ;) (expression_statement "CatchException(uVar8);" (call_expression "CatchException(uVar8)" identifier (argument_list "(uVar8)" ( identifier ))) ;) (expression_statement "DestroyExceptionInfo(uVar8);" (call_expression "DestroyExceptionInfo(uVar8)" identifier (argument_list "(uVar8)" ( identifier ))) ;) (expression_statement "MagickWandTerminus();" (call_expression "MagickWandTerminus()" identifier (argument_list "()" ( ))) ;) comment (expression_statement "_exit(-0xe5);" (call_expression "_exit(-0xe5)" identifier (argument_list "(-0xe5)" ( number_literal ))) ;) })) (expression_statement "pIVar3 = GetImageFromMagickWand(wand);" (assignment_expression "pIVar3 = GetImageFromMagickWand(wand)" identifier = (call_expression "GetImageFromMagickWand(wand)" identifier (argument_list "(wand)" ( identifier )))) ;) (if_statement "if (pIVar3 == (Image *)0x0) {\n    __s = (PixelIterator *)0x0;\n  }\n  else {\n    pEVar4 = (ExceptionInfo *)AcquireExceptionInfo();\n    pCVar5 = (CacheView *)AcquireVirtualCacheView(pIVar3,pEVar4);\n    if (pCVar5 == (CacheView *)0x0) {\n      __s = (PixelIterator *)0x0;\n    }\n    else {\n      __s = (PixelIterator *)AcquireMagickMemory(0x1060);\n      if (__s == (PixelIterator *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,wand->name);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      sVar6 = AcquireWandId();\n      __s->id = sVar6;\n      FormatLocaleString((double)sVar6,__s->name,0x1000,"%s-%.20g","PixelIterator");\n      __s->exception = pEVar4;\n      __s->view = pCVar5;\n      SetGeometry(pIVar3,&__s->region);\n      (__s->region).width = width;\n      (__s->region).height = height;\n      (__s->region).x = x;\n      (__s->region).y = y;\n      ppPVar7 = NewPixelWands(width);\n      __s->pixel_wands = ppPVar7;\n      __s->y = 0;\n      MVar1 = IsEventLogging();\n      __s->debug = MVar1;\n      if (MVar1 != MagickFalse) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s->name);\n      }\n      __s->signature = 0xabacadab;\n    }\n  }" if (parenthesized_expression "(pIVar3 == (Image *)0x0)" ( (binary_expression "pIVar3 == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __s = (PixelIterator *)0x0;\n  }" { (expression_statement "__s = (PixelIterator *)0x0;" (assignment_expression "__s = (PixelIterator *)0x0" identifier = (cast_expression "(PixelIterator *)0x0" ( (type_descriptor "PixelIterator *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    pEVar4 = (ExceptionInfo *)AcquireExceptionInfo();\n    pCVar5 = (CacheView *)AcquireVirtualCacheView(pIVar3,pEVar4);\n    if (pCVar5 == (CacheView *)0x0) {\n      __s = (PixelIterator *)0x0;\n    }\n    else {\n      __s = (PixelIterator *)AcquireMagickMemory(0x1060);\n      if (__s == (PixelIterator *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,wand->name);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      sVar6 = AcquireWandId();\n      __s->id = sVar6;\n      FormatLocaleString((double)sVar6,__s->name,0x1000,"%s-%.20g","PixelIterator");\n      __s->exception = pEVar4;\n      __s->view = pCVar5;\n      SetGeometry(pIVar3,&__s->region);\n      (__s->region).width = width;\n      (__s->region).height = height;\n      (__s->region).x = x;\n      (__s->region).y = y;\n      ppPVar7 = NewPixelWands(width);\n      __s->pixel_wands = ppPVar7;\n      __s->y = 0;\n      MVar1 = IsEventLogging();\n      __s->debug = MVar1;\n      if (MVar1 != MagickFalse) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s->name);\n      }\n      __s->signature = 0xabacadab;\n    }\n  }" else (compound_statement "{\n    pEVar4 = (ExceptionInfo *)AcquireExceptionInfo();\n    pCVar5 = (CacheView *)AcquireVirtualCacheView(pIVar3,pEVar4);\n    if (pCVar5 == (CacheView *)0x0) {\n      __s = (PixelIterator *)0x0;\n    }\n    else {\n      __s = (PixelIterator *)AcquireMagickMemory(0x1060);\n      if (__s == (PixelIterator *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,wand->name);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      sVar6 = AcquireWandId();\n      __s->id = sVar6;\n      FormatLocaleString((double)sVar6,__s->name,0x1000,"%s-%.20g","PixelIterator");\n      __s->exception = pEVar4;\n      __s->view = pCVar5;\n      SetGeometry(pIVar3,&__s->region);\n      (__s->region).width = width;\n      (__s->region).height = height;\n      (__s->region).x = x;\n      (__s->region).y = y;\n      ppPVar7 = NewPixelWands(width);\n      __s->pixel_wands = ppPVar7;\n      __s->y = 0;\n      MVar1 = IsEventLogging();\n      __s->debug = MVar1;\n      if (MVar1 != MagickFalse) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s->name);\n      }\n      __s->signature = 0xabacadab;\n    }\n  }" { (expression_statement "pEVar4 = (ExceptionInfo *)AcquireExceptionInfo();" (assignment_expression "pEVar4 = (ExceptionInfo *)AcquireExceptionInfo()" identifier = (cast_expression "(ExceptionInfo *)AcquireExceptionInfo()" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( ))))) ;) (expression_statement "pCVar5 = (CacheView *)AcquireVirtualCacheView(pIVar3,pEVar4);" (assignment_expression "pCVar5 = (CacheView *)AcquireVirtualCacheView(pIVar3,pEVar4)" identifier = (cast_expression "(CacheView *)AcquireVirtualCacheView(pIVar3,pEVar4)" ( (type_descriptor "CacheView *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireVirtualCacheView(pIVar3,pEVar4)" identifier (argument_list "(pIVar3,pEVar4)" ( identifier , identifier ))))) ;) (if_statement "if (pCVar5 == (CacheView *)0x0) {\n      __s = (PixelIterator *)0x0;\n    }\n    else {\n      __s = (PixelIterator *)AcquireMagickMemory(0x1060);\n      if (__s == (PixelIterator *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,wand->name);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      sVar6 = AcquireWandId();\n      __s->id = sVar6;\n      FormatLocaleString((double)sVar6,__s->name,0x1000,"%s-%.20g","PixelIterator");\n      __s->exception = pEVar4;\n      __s->view = pCVar5;\n      SetGeometry(pIVar3,&__s->region);\n      (__s->region).width = width;\n      (__s->region).height = height;\n      (__s->region).x = x;\n      (__s->region).y = y;\n      ppPVar7 = NewPixelWands(width);\n      __s->pixel_wands = ppPVar7;\n      __s->y = 0;\n      MVar1 = IsEventLogging();\n      __s->debug = MVar1;\n      if (MVar1 != MagickFalse) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s->name);\n      }\n      __s->signature = 0xabacadab;\n    }" if (parenthesized_expression "(pCVar5 == (CacheView *)0x0)" ( (binary_expression "pCVar5 == (CacheView *)0x0" identifier == (cast_expression "(CacheView *)0x0" ( (type_descriptor "CacheView *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      __s = (PixelIterator *)0x0;\n    }" { (expression_statement "__s = (PixelIterator *)0x0;" (assignment_expression "__s = (PixelIterator *)0x0" identifier = (cast_expression "(PixelIterator *)0x0" ( (type_descriptor "PixelIterator *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      __s = (PixelIterator *)AcquireMagickMemory(0x1060);\n      if (__s == (PixelIterator *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,wand->name);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      sVar6 = AcquireWandId();\n      __s->id = sVar6;\n      FormatLocaleString((double)sVar6,__s->name,0x1000,"%s-%.20g","PixelIterator");\n      __s->exception = pEVar4;\n      __s->view = pCVar5;\n      SetGeometry(pIVar3,&__s->region);\n      (__s->region).width = width;\n      (__s->region).height = height;\n      (__s->region).x = x;\n      (__s->region).y = y;\n      ppPVar7 = NewPixelWands(width);\n      __s->pixel_wands = ppPVar7;\n      __s->y = 0;\n      MVar1 = IsEventLogging();\n      __s->debug = MVar1;\n      if (MVar1 != MagickFalse) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s->name);\n      }\n      __s->signature = 0xabacadab;\n    }" else (compound_statement "{\n      __s = (PixelIterator *)AcquireMagickMemory(0x1060);\n      if (__s == (PixelIterator *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,wand->name);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      sVar6 = AcquireWandId();\n      __s->id = sVar6;\n      FormatLocaleString((double)sVar6,__s->name,0x1000,"%s-%.20g","PixelIterator");\n      __s->exception = pEVar4;\n      __s->view = pCVar5;\n      SetGeometry(pIVar3,&__s->region);\n      (__s->region).width = width;\n      (__s->region).height = height;\n      (__s->region).x = x;\n      (__s->region).y = y;\n      ppPVar7 = NewPixelWands(width);\n      __s->pixel_wands = ppPVar7;\n      __s->y = 0;\n      MVar1 = IsEventLogging();\n      __s->debug = MVar1;\n      if (MVar1 != MagickFalse) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s->name);\n      }\n      __s->signature = 0xabacadab;\n    }" { (expression_statement "__s = (PixelIterator *)AcquireMagickMemory(0x1060);" (assignment_expression "__s = (PixelIterator *)AcquireMagickMemory(0x1060)" identifier = (cast_expression "(PixelIterator *)AcquireMagickMemory(0x1060)" ( (type_descriptor "PixelIterator *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireMagickMemory(0x1060)" identifier (argument_list "(0x1060)" ( number_literal ))))) ;) (if_statement "if (__s == (PixelIterator *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,wand->name);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }" if (parenthesized_expression "(__s == (PixelIterator *)0x0)" ( (binary_expression "__s == (PixelIterator *)0x0" identifier == (cast_expression "(PixelIterator *)0x0" ( (type_descriptor "PixelIterator *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,wand->name);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }" { (expression_statement "uVar2 = AcquireExceptionInfo();" (assignment_expression "uVar2 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,wand->name);" (call_expression "ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,wand->name)" identifier (argument_list "(uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,wand->name)" ( identifier , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , (string_literal ""NewPixelRegionIterator"" " string_content ") , number_literal , number_literal , (string_literal ""MemoryAllocationFailed"" " string_content ") , (pointer_expression "&DAT_0020ca76" & identifier) , (field_expression "wand->name" identifier -> field_identifier) ))) ;) (expression_statement "CatchException(uVar2);" (call_expression "CatchException(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "DestroyExceptionInfo(uVar2);" (call_expression "DestroyExceptionInfo(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "MagickWandTerminus();" (call_expression "MagickWandTerminus()" identifier (argument_list "()" ( ))) ;) comment (expression_statement "_exit(1);" (call_expression "_exit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "memset(__s,0,0x1060);" (call_expression "memset(__s,0,0x1060)" identifier (argument_list "(__s,0,0x1060)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "sVar6 = AcquireWandId();" (assignment_expression "sVar6 = AcquireWandId()" identifier = (call_expression "AcquireWandId()" identifier (argument_list "()" ( )))) ;) (expression_statement "__s->id = sVar6;" (assignment_expression "__s->id = sVar6" (field_expression "__s->id" identifier -> field_identifier) = identifier) ;) (expression_statement "FormatLocaleString((double)sVar6,__s->name,0x1000,"%s-%.20g","PixelIterator");" (call_expression "FormatLocaleString((double)sVar6,__s->name,0x1000,"%s-%.20g","PixelIterator")" identifier (argument_list "((double)sVar6,__s->name,0x1000,"%s-%.20g","PixelIterator")" ( (cast_expression "(double)sVar6" ( (type_descriptor "double" primitive_type) ) identifier) , (field_expression "__s->name" identifier -> field_identifier) , number_literal , (string_literal ""%s-%.20g"" " string_content ") , (string_literal ""PixelIterator"" " string_content ") ))) ;) (expression_statement "__s->exception = pEVar4;" (assignment_expression "__s->exception = pEVar4" (field_expression "__s->exception" identifier -> field_identifier) = identifier) ;) (expression_statement "__s->view = pCVar5;" (assignment_expression "__s->view = pCVar5" (field_expression "__s->view" identifier -> field_identifier) = identifier) ;) (expression_statement "SetGeometry(pIVar3,&__s->region);" (call_expression "SetGeometry(pIVar3,&__s->region)" identifier (argument_list "(pIVar3,&__s->region)" ( identifier , (pointer_expression "&__s->region" & (field_expression "__s->region" identifier -> field_identifier)) ))) ;) (expression_statement "(__s->region).width = width;" (assignment_expression "(__s->region).width = width" (field_expression "(__s->region).width" (parenthesized_expression "(__s->region)" ( (field_expression "__s->region" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(__s->region).height = height;" (assignment_expression "(__s->region).height = height" (field_expression "(__s->region).height" (parenthesized_expression "(__s->region)" ( (field_expression "__s->region" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(__s->region).x = x;" (assignment_expression "(__s->region).x = x" (field_expression "(__s->region).x" (parenthesized_expression "(__s->region)" ( (field_expression "__s->region" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(__s->region).y = y;" (assignment_expression "(__s->region).y = y" (field_expression "(__s->region).y" (parenthesized_expression "(__s->region)" ( (field_expression "__s->region" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "ppPVar7 = NewPixelWands(width);" (assignment_expression "ppPVar7 = NewPixelWands(width)" identifier = (call_expression "NewPixelWands(width)" identifier (argument_list "(width)" ( identifier )))) ;) (expression_statement "__s->pixel_wands = ppPVar7;" (assignment_expression "__s->pixel_wands = ppPVar7" (field_expression "__s->pixel_wands" identifier -> field_identifier) = identifier) ;) (expression_statement "__s->y = 0;" (assignment_expression "__s->y = 0" (field_expression "__s->y" identifier -> field_identifier) = number_literal) ;) (expression_statement "MVar1 = IsEventLogging();" (assignment_expression "MVar1 = IsEventLogging()" identifier = (call_expression "IsEventLogging()" identifier (argument_list "()" ( )))) ;) (expression_statement "__s->debug = MVar1;" (assignment_expression "__s->debug = MVar1" (field_expression "__s->debug" identifier -> field_identifier) = identifier) ;) (if_statement "if (MVar1 != MagickFalse) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s->name);\n      }" if (parenthesized_expression "(MVar1 != MagickFalse)" ( (binary_expression "MVar1 != MagickFalse" identifier != identifier) )) (compound_statement "{\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s->name);\n      }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s->name);" (call_expression "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s->name)" identifier (argument_list "(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s->name)" ( number_literal , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , (string_literal ""NewPixelRegionIterator"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "__s->name" identifier -> field_identifier) ))) ;) })) (expression_statement "__s->signature = 0xabacadab;" (assignment_expression "__s->signature = 0xabacadab" (field_expression "__s->signature" identifier -> field_identifier) = number_literal) ;) }))) }))) (if_statement "if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return __s;\n  }" if (parenthesized_expression "(local_40 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_40 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return __s;\n  }" { (return_statement "return __s;" return identifier ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "ulong * NewPixelRegionIterator(long param_1,ulong param_2,ulong param_3,ulong param_4,ulong param_5)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong *__s;\n  ulong uVar6;\n  undefined8 uVar7;\n  long in_FS_OFFSET;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }\n  local_48 = 0x10;\n  uVar2 = GetMagickQuantumDepth(&local_48);\n  if (local_48 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }\n  if ((param_4 == 0) || (param_5 == 0)) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }\n  lVar3 = GetImageFromMagickWand(param_1);\n  if (lVar3 == 0) {\n    __s = (ulong *)0x0;\n  }\n  else {\n    uVar4 = AcquireExceptionInfo();\n    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);\n    if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }\n  }\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return __s;\n  }\n                    \n  __stack_chk_fail();\n}\n\n" (function_definition "ulong * NewPixelRegionIterator(long param_1,ulong param_2,ulong param_3,ulong param_4,ulong param_5)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong *__s;\n  ulong uVar6;\n  undefined8 uVar7;\n  long in_FS_OFFSET;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }\n  local_48 = 0x10;\n  uVar2 = GetMagickQuantumDepth(&local_48);\n  if (local_48 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }\n  if ((param_4 == 0) || (param_5 == 0)) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }\n  lVar3 = GetImageFromMagickWand(param_1);\n  if (lVar3 == 0) {\n    __s = (ulong *)0x0;\n  }\n  else {\n    uVar4 = AcquireExceptionInfo();\n    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);\n    if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }\n  }\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return __s;\n  }\n                    \n  __stack_chk_fail();\n}" type_identifier (pointer_declarator "* NewPixelRegionIterator(long param_1,ulong param_2,ulong param_3,ulong param_4,ulong param_5)" * (function_declarator "NewPixelRegionIterator(long param_1,ulong param_2,ulong param_3,ulong param_4,ulong param_5)" identifier (parameter_list "(long param_1,ulong param_2,ulong param_3,ulong param_4,ulong param_5)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong param_2" type_identifier identifier) , (parameter_declaration "ulong param_3" type_identifier identifier) , (parameter_declaration "ulong param_4" type_identifier identifier) , (parameter_declaration "ulong param_5" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong *__s;\n  ulong uVar6;\n  undefined8 uVar7;\n  long in_FS_OFFSET;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }\n  local_48 = 0x10;\n  uVar2 = GetMagickQuantumDepth(&local_48);\n  if (local_48 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }\n  if ((param_4 == 0) || (param_5 == 0)) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }\n  lVar3 = GetImageFromMagickWand(param_1);\n  if (lVar3 == 0) {\n    __s = (ulong *)0x0;\n  }\n  else {\n    uVar4 = AcquireExceptionInfo();\n    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);\n    if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }\n  }\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return __s;\n  }\n                    \n  __stack_chk_fail();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "ulong *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "undefined8 uVar7;" type_identifier identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_48;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_40;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }" { (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator")" identifier (argument_list "("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator")" ( (string_literal ""wand != (MagickWand *) NULL"" " string_content ") , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , number_literal , (string_literal ""NewPixelRegionIterator"" " string_content ") ))) ;) })) (expression_statement "local_48 = 0x10;" (assignment_expression "local_48 = 0x10" identifier = number_literal) ;) (expression_statement "uVar2 = GetMagickQuantumDepth(&local_48);" (assignment_expression "uVar2 = GetMagickQuantumDepth(&local_48)" identifier = (call_expression "GetMagickQuantumDepth(&local_48)" identifier (argument_list "(&local_48)" ( (pointer_expression "&local_48" & identifier) )))) ;) (if_statement "if (local_48 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }" if (parenthesized_expression "(local_48 != 0x10)" ( (binary_expression "local_48 != 0x10" identifier != number_literal) )) (compound_statement "{\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }" { (expression_statement "uVar7 = AcquireExceptionInfo();" (assignment_expression "uVar7 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);" (call_expression "ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2)" identifier (argument_list "(uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2)" ( identifier , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , (string_literal ""NewPixelRegionIterator"" " string_content ") , number_literal , number_literal , (string_literal ""QuantumDepthMismatch"" " string_content ") , (pointer_expression "&DAT_0020ca76" & identifier) , identifier ))) ;) (expression_statement "CatchException(uVar7);" (call_expression "CatchException(uVar7)" identifier (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "DestroyExceptionInfo(uVar7);" (call_expression "DestroyExceptionInfo(uVar7)" identifier (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "MagickWandTerminus();" (call_expression "MagickWandTerminus()" identifier (argument_list "()" ( ))) ;) (expression_statement "_exit(-0xe5);" (call_expression "_exit(-0xe5)" identifier (argument_list "(-0xe5)" ( number_literal ))) ;) })) (if_statement "if ((param_4 == 0) || (param_5 == 0)) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }" if (parenthesized_expression "((param_4 == 0) || (param_5 == 0))" ( (binary_expression "(param_4 == 0) || (param_5 == 0)" (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) || (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) ))) )) (compound_statement "{\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }" { (expression_statement "uVar7 = AcquireExceptionInfo();" (assignment_expression "uVar7 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);" (call_expression "ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2)" identifier (argument_list "(uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2)" ( identifier , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , (string_literal ""NewPixelRegionIterator"" " string_content ") , number_literal , number_literal , (string_literal ""ZeroRegionSize"" " string_content ") , (pointer_expression "&DAT_0020ca76" & identifier) , identifier ))) ;) (expression_statement "CatchException(uVar7);" (call_expression "CatchException(uVar7)" identifier (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "DestroyExceptionInfo(uVar7);" (call_expression "DestroyExceptionInfo(uVar7)" identifier (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "MagickWandTerminus();" (call_expression "MagickWandTerminus()" identifier (argument_list "()" ( ))) ;) (expression_statement "_exit(-0xe5);" (call_expression "_exit(-0xe5)" identifier (argument_list "(-0xe5)" ( number_literal ))) ;) })) (expression_statement "lVar3 = GetImageFromMagickWand(param_1);" (assignment_expression "lVar3 = GetImageFromMagickWand(param_1)" identifier = (call_expression "GetImageFromMagickWand(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (lVar3 == 0) {\n    __s = (ulong *)0x0;\n  }\n  else {\n    uVar4 = AcquireExceptionInfo();\n    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);\n    if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }\n  }" if (parenthesized_expression "(lVar3 == 0)" ( (binary_expression "lVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    __s = (ulong *)0x0;\n  }" { (expression_statement "__s = (ulong *)0x0;" (assignment_expression "__s = (ulong *)0x0" identifier = (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    uVar4 = AcquireExceptionInfo();\n    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);\n    if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }\n  }" else (compound_statement "{\n    uVar4 = AcquireExceptionInfo();\n    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);\n    if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }\n  }" { (expression_statement "uVar4 = AcquireExceptionInfo();" (assignment_expression "uVar4 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar5 = AcquireVirtualCacheView(lVar3,uVar4);" (assignment_expression "uVar5 = AcquireVirtualCacheView(lVar3,uVar4)" identifier = (call_expression "AcquireVirtualCacheView(lVar3,uVar4)" identifier (argument_list "(lVar3,uVar4)" ( identifier , identifier )))) ;) (if_statement "if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      __s = (ulong *)0x0;\n    }" { (expression_statement "__s = (ulong *)0x0;" (assignment_expression "__s = (ulong *)0x0" identifier = (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }" else (compound_statement "{\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }" { (expression_statement "__s = (ulong *)AcquireMagickMemory(0x1060);" (assignment_expression "__s = (ulong *)AcquireMagickMemory(0x1060)" identifier = (cast_expression "(ulong *)AcquireMagickMemory(0x1060)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireMagickMemory(0x1060)" identifier (argument_list "(0x1060)" ( number_literal ))))) ;) (if_statement "if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }" if (parenthesized_expression "(__s == (ulong *)0x0)" ( (binary_expression "__s == (ulong *)0x0" identifier == (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }" { (expression_statement "uVar2 = AcquireExceptionInfo();" (assignment_expression "uVar2 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);" (call_expression "ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8)" identifier (argument_list "(uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8)" ( identifier , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , (string_literal ""NewPixelRegionIterator"" " string_content ") , number_literal , number_literal , (string_literal ""MemoryAllocationFailed"" " string_content ") , (pointer_expression "&DAT_0020ca76" & identifier) , (binary_expression "param_1 + 8" identifier + number_literal) ))) ;) (expression_statement "CatchException(uVar2);" (call_expression "CatchException(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "DestroyExceptionInfo(uVar2);" (call_expression "DestroyExceptionInfo(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "MagickWandTerminus();" (call_expression "MagickWandTerminus()" identifier (argument_list "()" ( ))) ;) (expression_statement "_exit(1);" (call_expression "_exit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "memset(__s,0,0x1060);" (call_expression "memset(__s,0,0x1060)" identifier (argument_list "(__s,0,0x1060)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "uVar6 = AcquireWandId();" (assignment_expression "uVar6 = AcquireWandId()" identifier = (call_expression "AcquireWandId()" identifier (argument_list "()" ( )))) ;) (expression_statement "*__s = uVar6;" (assignment_expression "*__s = uVar6" (pointer_expression "*__s" * identifier) = identifier) ;) (expression_statement "FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");" (call_expression "FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator")" identifier (argument_list "((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator")" ( (cast_expression "(double)uVar6" ( (type_descriptor "double" primitive_type) ) identifier) , (binary_expression "__s + 1" identifier + number_literal) , number_literal , (string_literal ""%s-%.20g"" " string_content ") , (string_literal ""PixelIterator"" " string_content ") ))) ;) (expression_statement "__s[0x201] = uVar4;" (assignment_expression "__s[0x201] = uVar4" (subscript_expression "__s[0x201]" identifier [ number_literal ]) = identifier) ;) (expression_statement "__s[0x202] = uVar5;" (assignment_expression "__s[0x202] = uVar5" (subscript_expression "__s[0x202]" identifier [ number_literal ]) = identifier) ;) (expression_statement "SetGeometry(lVar3,__s + 0x203);" (call_expression "SetGeometry(lVar3,__s + 0x203)" identifier (argument_list "(lVar3,__s + 0x203)" ( identifier , (binary_expression "__s + 0x203" identifier + number_literal) ))) ;) (expression_statement "__s[0x203] = param_4;" (assignment_expression "__s[0x203] = param_4" (subscript_expression "__s[0x203]" identifier [ number_literal ]) = identifier) ;) (expression_statement "__s[0x204] = param_5;" (assignment_expression "__s[0x204] = param_5" (subscript_expression "__s[0x204]" identifier [ number_literal ]) = identifier) ;) (expression_statement "__s[0x205] = param_2;" (assignment_expression "__s[0x205] = param_2" (subscript_expression "__s[0x205]" identifier [ number_literal ]) = identifier) ;) (expression_statement "__s[0x206] = param_3;" (assignment_expression "__s[0x206] = param_3" (subscript_expression "__s[0x206]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar4 = NewPixelWands(param_4);" (assignment_expression "uVar4 = NewPixelWands(param_4)" identifier = (call_expression "NewPixelWands(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "__s[0x209] = uVar4;" (assignment_expression "__s[0x209] = uVar4" (subscript_expression "__s[0x209]" identifier [ number_literal ]) = identifier) ;) (expression_statement "__s[0x208] = 0;" (assignment_expression "__s[0x208] = 0" (subscript_expression "__s[0x208]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar1 = IsEventLogging();" (assignment_expression "iVar1 = IsEventLogging()" identifier = (call_expression "IsEventLogging()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(int *)(__s + 0x20a) = iVar1;" (assignment_expression "*(int *)(__s + 0x20a) = iVar1" (pointer_expression "*(int *)(__s + 0x20a)" * (cast_expression "(int *)(__s + 0x20a)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__s + 0x20a)" ( (binary_expression "__s + 0x20a" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);" (call_expression "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1)" identifier (argument_list "(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1)" ( number_literal , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , (string_literal ""NewPixelRegionIterator"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (binary_expression "__s + 1" identifier + number_literal) ))) ;) })) (expression_statement "__s[0x20b] = 0xabacadab;" (assignment_expression "__s[0x20b] = 0xabacadab" (subscript_expression "__s[0x20b]" identifier [ number_literal ]) = number_literal) ;) }))) }))) (if_statement "if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return __s;\n  }" if (parenthesized_expression "(local_40 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_40 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return __s;\n  }" { (return_statement "return __s;" return identifier ;) })) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , LIT , (string_literal " string_content ") , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , LIT , (string_literal " string_content ") , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , LIT , (string_literal " string_content ") , (pointer_expression & IDENT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) , (binary_expression IDENT + LIT) , LIT , (string_literal " string_content ") , (string_literal " string_content ") ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }))) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "ulong * NewPixelRegionIterator(long param_1,ulong param_2,ulong param_3,ulong param_4,ulong param_5)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong *__s;\n  ulong uVar6;\n  undefined8 uVar7;\n  long in_FS_OFFSET;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }\n  local_48 = 0x10;\n  uVar2 = GetMagickQuantumDepth(&local_48);\n  if (local_48 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }\n  if ((param_4 == 0) || (param_5 == 0)) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }\n  lVar3 = GetImageFromMagickWand(param_1);\n  if (lVar3 == 0) {\n    __s = (ulong *)0x0;\n  }\n  else {\n    uVar4 = AcquireExceptionInfo();\n    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);\n    if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }\n  }\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return __s;\n  }\n                    \n  __stack_chk_fail();\n}" (type_identifier "ulong") (pointer_declarator "* NewPixelRegionIterator(long param_1,ulong param_2,ulong param_3,ulong param_4,ulong param_5)" (* "*") (function_declarator "NewPixelRegionIterator(long param_1,ulong param_2,ulong param_3,ulong param_4,ulong param_5)" (identifier "NewPixelRegionIterator") (parameter_list "(long param_1,ulong param_2,ulong param_3,ulong param_4,ulong param_5)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "ulong param_2" (type_identifier "ulong") (identifier "param_2")) (, ",") (parameter_declaration "ulong param_3" (type_identifier "ulong") (identifier "param_3")) (, ",") (parameter_declaration "ulong param_4" (type_identifier "ulong") (identifier "param_4")) (, ",") (parameter_declaration "ulong param_5" (type_identifier "ulong") (identifier "param_5")) () ")")))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong *__s;\n  ulong uVar6;\n  undefined8 uVar7;\n  long in_FS_OFFSET;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }\n  local_48 = 0x10;\n  uVar2 = GetMagickQuantumDepth(&local_48);\n  if (local_48 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }\n  if ((param_4 == 0) || (param_5 == 0)) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }\n  lVar3 = GetImageFromMagickWand(param_1);\n  if (lVar3 == 0) {\n    __s = (ulong *)0x0;\n  }\n  else {\n    uVar4 = AcquireExceptionInfo();\n    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);\n    if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }\n  }\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return __s;\n  }\n                    \n  __stack_chk_fail();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (declaration "ulong uVar5;" (type_identifier "ulong") (identifier "uVar5") (; ";")) (declaration "ulong *__s;" (type_identifier "ulong") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "ulong uVar6;" (type_identifier "ulong") (identifier "uVar6") (; ";")) (declaration "undefined8 uVar7;" (type_identifier "undefined8") (identifier "uVar7") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "long local_48;" (sized_type_specifier "long" (long "long")) (identifier "local_48") (; ";")) (declaration "long local_40;" (sized_type_specifier "long" (long "long")) (identifier "local_40") (; ";")) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_40") (= "=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\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("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }" ({ "{") (expression_statement "__assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");" (call_expression "__assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator")" (identifier "__assert_fail") (argument_list "("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator")" (( "(") (string_literal ""wand != (MagickWand *) NULL"" (" """) (string_content "wand != (MagickWand *) NULL") (" """)) (, ",") (string_literal ""MagickWand/pixel-iterator.c"" (" """) (string_content "MagickWand/pixel-iterator.c") (" """)) (, ",") (number_literal "0x1a8") (, ",") (string_literal ""NewPixelRegionIterator"" (" """) (string_content "NewPixelRegionIterator") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "local_48 = 0x10;" (assignment_expression "local_48 = 0x10" (identifier "local_48") (= "=") (number_literal "0x10")) (; ";")) (expression_statement "uVar2 = GetMagickQuantumDepth(&local_48);" (assignment_expression "uVar2 = GetMagickQuantumDepth(&local_48)" (identifier "uVar2") (= "=") (call_expression "GetMagickQuantumDepth(&local_48)" (identifier "GetMagickQuantumDepth") (argument_list "(&local_48)" (( "(") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")")))) (; ";")) (if_statement "if (local_48 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }" (if "if") (parenthesized_expression "(local_48 != 0x10)" (( "(") (binary_expression "local_48 != 0x10" (identifier "local_48") (!= "!=") (number_literal "0x10")) () ")")) (compound_statement "{\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }" ({ "{") (expression_statement "uVar7 = AcquireExceptionInfo();" (assignment_expression "uVar7 = AcquireExceptionInfo()" (identifier "uVar7") (= "=") (call_expression "AcquireExceptionInfo()" (identifier "AcquireExceptionInfo") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);" (call_expression "ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2)" (identifier "ThrowMagickException") (argument_list "(uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,\n               "QuantumDepthMismatch",&DAT_0020ca76,uVar2)" (( "(") (identifier "uVar7") (, ",") (string_literal ""MagickWand/pixel-iterator.c"" (" """) (string_content "MagickWand/pixel-iterator.c") (" """)) (, ",") (string_literal ""NewPixelRegionIterator"" (" """) (string_content "NewPixelRegionIterator") (" """)) (, ",") (number_literal "0x1ac") (, ",") (number_literal "0x1d6") (, ",") (string_literal ""QuantumDepthMismatch"" (" """) (string_content "QuantumDepthMismatch") (" """)) (, ",") (pointer_expression "&DAT_0020ca76" (& "&") (identifier "DAT_0020ca76")) (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "CatchException(uVar7);" (call_expression "CatchException(uVar7)" (identifier "CatchException") (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")"))) (; ";")) (expression_statement "DestroyExceptionInfo(uVar7);" (call_expression "DestroyExceptionInfo(uVar7)" (identifier "DestroyExceptionInfo") (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")"))) (; ";")) (expression_statement "MagickWandTerminus();" (call_expression "MagickWandTerminus()" (identifier "MagickWandTerminus") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "_exit(-0xe5);" (call_expression "_exit(-0xe5)" (identifier "_exit") (argument_list "(-0xe5)" (( "(") (number_literal "-0xe5") () ")"))) (; ";")) (} "}"))) (if_statement "if ((param_4 == 0) || (param_5 == 0)) {\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }" (if "if") (parenthesized_expression "((param_4 == 0) || (param_5 == 0))" (( "(") (binary_expression "(param_4 == 0) || (param_5 == 0)" (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    uVar7 = AcquireExceptionInfo();\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }" ({ "{") (expression_statement "uVar7 = AcquireExceptionInfo();" (assignment_expression "uVar7 = AcquireExceptionInfo()" (identifier "uVar7") (= "=") (call_expression "AcquireExceptionInfo()" (identifier "AcquireExceptionInfo") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2);" (call_expression "ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2)" (identifier "ThrowMagickException") (argument_list "(uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,\n               "ZeroRegionSize",&DAT_0020ca76,uVar2)" (( "(") (identifier "uVar7") (, ",") (string_literal ""MagickWand/pixel-iterator.c"" (" """) (string_content "MagickWand/pixel-iterator.c") (" """)) (, ",") (string_literal ""NewPixelRegionIterator"" (" """) (string_content "NewPixelRegionIterator") (" """)) (, ",") (number_literal "0x1ae") (, ",") (number_literal "0x1d6") (, ",") (string_literal ""ZeroRegionSize"" (" """) (string_content "ZeroRegionSize") (" """)) (, ",") (pointer_expression "&DAT_0020ca76" (& "&") (identifier "DAT_0020ca76")) (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "CatchException(uVar7);" (call_expression "CatchException(uVar7)" (identifier "CatchException") (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")"))) (; ";")) (expression_statement "DestroyExceptionInfo(uVar7);" (call_expression "DestroyExceptionInfo(uVar7)" (identifier "DestroyExceptionInfo") (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")"))) (; ";")) (expression_statement "MagickWandTerminus();" (call_expression "MagickWandTerminus()" (identifier "MagickWandTerminus") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "_exit(-0xe5);" (call_expression "_exit(-0xe5)" (identifier "_exit") (argument_list "(-0xe5)" (( "(") (number_literal "-0xe5") () ")"))) (; ";")) (} "}"))) (expression_statement "lVar3 = GetImageFromMagickWand(param_1);" (assignment_expression "lVar3 = GetImageFromMagickWand(param_1)" (identifier "lVar3") (= "=") (call_expression "GetImageFromMagickWand(param_1)" (identifier "GetImageFromMagickWand") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (lVar3 == 0) {\n    __s = (ulong *)0x0;\n  }\n  else {\n    uVar4 = AcquireExceptionInfo();\n    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);\n    if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }\n  }" (if "if") (parenthesized_expression "(lVar3 == 0)" (( "(") (binary_expression "lVar3 == 0" (identifier "lVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    __s = (ulong *)0x0;\n  }" ({ "{") (expression_statement "__s = (ulong *)0x0;" (assignment_expression "__s = (ulong *)0x0" (identifier "__s") (= "=") (cast_expression "(ulong *)0x0" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n    uVar4 = AcquireExceptionInfo();\n    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);\n    if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }\n  }" (else "else") (compound_statement "{\n    uVar4 = AcquireExceptionInfo();\n    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);\n    if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }\n  }" ({ "{") (expression_statement "uVar4 = AcquireExceptionInfo();" (assignment_expression "uVar4 = AcquireExceptionInfo()" (identifier "uVar4") (= "=") (call_expression "AcquireExceptionInfo()" (identifier "AcquireExceptionInfo") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar5 = AcquireVirtualCacheView(lVar3,uVar4);" (assignment_expression "uVar5 = AcquireVirtualCacheView(lVar3,uVar4)" (identifier "uVar5") (= "=") (call_expression "AcquireVirtualCacheView(lVar3,uVar4)" (identifier "AcquireVirtualCacheView") (argument_list "(lVar3,uVar4)" (( "(") (identifier "lVar3") (, ",") (identifier "uVar4") () ")")))) (; ";")) (if_statement "if (uVar5 == 0) {\n      __s = (ulong *)0x0;\n    }\n    else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }" (if "if") (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      __s = (ulong *)0x0;\n    }" ({ "{") (expression_statement "__s = (ulong *)0x0;" (assignment_expression "__s = (ulong *)0x0" (identifier "__s") (= "=") (cast_expression "(ulong *)0x0" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }" (else "else") (compound_statement "{\n      __s = (ulong *)AcquireMagickMemory(0x1060);\n      if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      memset(__s,0,0x1060);\n      uVar6 = AcquireWandId();\n      *__s = uVar6;\n      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");\n      __s[0x201] = uVar4;\n      __s[0x202] = uVar5;\n      SetGeometry(lVar3,__s + 0x203);\n      __s[0x203] = param_4;\n      __s[0x204] = param_5;\n      __s[0x205] = param_2;\n      __s[0x206] = param_3;\n      uVar4 = NewPixelWands(param_4);\n      __s[0x209] = uVar4;\n      __s[0x208] = 0;\n      iVar1 = IsEventLogging();\n      *(int *)(__s + 0x20a) = iVar1;\n      if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }\n      __s[0x20b] = 0xabacadab;\n    }" ({ "{") (expression_statement "__s = (ulong *)AcquireMagickMemory(0x1060);" (assignment_expression "__s = (ulong *)AcquireMagickMemory(0x1060)" (identifier "__s") (= "=") (cast_expression "(ulong *)AcquireMagickMemory(0x1060)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "AcquireMagickMemory(0x1060)" (identifier "AcquireMagickMemory") (argument_list "(0x1060)" (( "(") (number_literal "0x1060") () ")"))))) (; ";")) (if_statement "if (__s == (ulong *)0x0) {\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }" (if "if") (parenthesized_expression "(__s == (ulong *)0x0)" (( "(") (binary_expression "__s == (ulong *)0x0" (identifier "__s") (== "==") (cast_expression "(ulong *)0x0" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        uVar2 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);\n        CatchException(uVar2);\n        DestroyExceptionInfo(uVar2);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }" ({ "{") (expression_statement "uVar2 = AcquireExceptionInfo();" (assignment_expression "uVar2 = AcquireExceptionInfo()" (identifier "uVar2") (= "=") (call_expression "AcquireExceptionInfo()" (identifier "AcquireExceptionInfo") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);" (call_expression "ThrowMagickException\n                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8)" (identifier "ThrowMagickException") (argument_list "(uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8)" (( "(") (identifier "uVar2") (, ",") (string_literal ""MagickWand/pixel-iterator.c"" (" """) (string_content "MagickWand/pixel-iterator.c") (" """)) (, ",") (string_literal ""NewPixelRegionIterator"" (" """) (string_content "NewPixelRegionIterator") (" """)) (, ",") (number_literal "0x1b9") (, ",") (number_literal "700") (, ",") (string_literal ""MemoryAllocationFailed"" (" """) (string_content "MemoryAllocationFailed") (" """)) (, ",") (pointer_expression "&DAT_0020ca76" (& "&") (identifier "DAT_0020ca76")) (, ",") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))) (; ";")) (expression_statement "CatchException(uVar2);" (call_expression "CatchException(uVar2)" (identifier "CatchException") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "DestroyExceptionInfo(uVar2);" (call_expression "DestroyExceptionInfo(uVar2)" (identifier "DestroyExceptionInfo") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "MagickWandTerminus();" (call_expression "MagickWandTerminus()" (identifier "MagickWandTerminus") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "_exit(1);" (call_expression "_exit(1)" (identifier "_exit") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}"))) (expression_statement "memset(__s,0,0x1060);" (call_expression "memset(__s,0,0x1060)" (identifier "memset") (argument_list "(__s,0,0x1060)" (( "(") (identifier "__s") (, ",") (number_literal "0") (, ",") (number_literal "0x1060") () ")"))) (; ";")) (expression_statement "uVar6 = AcquireWandId();" (assignment_expression "uVar6 = AcquireWandId()" (identifier "uVar6") (= "=") (call_expression "AcquireWandId()" (identifier "AcquireWandId") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*__s = uVar6;" (assignment_expression "*__s = uVar6" (pointer_expression "*__s" (* "*") (identifier "__s")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");" (call_expression "FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator")" (identifier "FormatLocaleString") (argument_list "((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator")" (( "(") (cast_expression "(double)uVar6" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "uVar6")) (, ",") (binary_expression "__s + 1" (identifier "__s") (+ "+") (number_literal "1")) (, ",") (number_literal "0x1000") (, ",") (string_literal ""%s-%.20g"" (" """) (string_content "%s-%.20g") (" """)) (, ",") (string_literal ""PixelIterator"" (" """) (string_content "PixelIterator") (" """)) () ")"))) (; ";")) (expression_statement "__s[0x201] = uVar4;" (assignment_expression "__s[0x201] = uVar4" (subscript_expression "__s[0x201]" (identifier "__s") ([ "[") (number_literal "0x201") (] "]")) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "__s[0x202] = uVar5;" (assignment_expression "__s[0x202] = uVar5" (subscript_expression "__s[0x202]" (identifier "__s") ([ "[") (number_literal "0x202") (] "]")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "SetGeometry(lVar3,__s + 0x203);" (call_expression "SetGeometry(lVar3,__s + 0x203)" (identifier "SetGeometry") (argument_list "(lVar3,__s + 0x203)" (( "(") (identifier "lVar3") (, ",") (binary_expression "__s + 0x203" (identifier "__s") (+ "+") (number_literal "0x203")) () ")"))) (; ";")) (expression_statement "__s[0x203] = param_4;" (assignment_expression "__s[0x203] = param_4" (subscript_expression "__s[0x203]" (identifier "__s") ([ "[") (number_literal "0x203") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "__s[0x204] = param_5;" (assignment_expression "__s[0x204] = param_5" (subscript_expression "__s[0x204]" (identifier "__s") ([ "[") (number_literal "0x204") (] "]")) (= "=") (identifier "param_5")) (; ";")) (expression_statement "__s[0x205] = param_2;" (assignment_expression "__s[0x205] = param_2" (subscript_expression "__s[0x205]" (identifier "__s") ([ "[") (number_literal "0x205") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "__s[0x206] = param_3;" (assignment_expression "__s[0x206] = param_3" (subscript_expression "__s[0x206]" (identifier "__s") ([ "[") (number_literal "0x206") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "uVar4 = NewPixelWands(param_4);" (assignment_expression "uVar4 = NewPixelWands(param_4)" (identifier "uVar4") (= "=") (call_expression "NewPixelWands(param_4)" (identifier "NewPixelWands") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")")))) (; ";")) (expression_statement "__s[0x209] = uVar4;" (assignment_expression "__s[0x209] = uVar4" (subscript_expression "__s[0x209]" (identifier "__s") ([ "[") (number_literal "0x209") (] "]")) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "__s[0x208] = 0;" (assignment_expression "__s[0x208] = 0" (subscript_expression "__s[0x208]" (identifier "__s") ([ "[") (number_literal "0x208") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar1 = IsEventLogging();" (assignment_expression "iVar1 = IsEventLogging()" (identifier "iVar1") (= "=") (call_expression "IsEventLogging()" (identifier "IsEventLogging") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(int *)(__s + 0x20a) = iVar1;" (assignment_expression "*(int *)(__s + 0x20a) = iVar1" (pointer_expression "*(int *)(__s + 0x20a)" (* "*") (cast_expression "(int *)(__s + 0x20a)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(__s + 0x20a)" (( "(") (binary_expression "__s + 0x20a" (identifier "__s") (+ "+") (number_literal "0x20a")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (if_statement "if (iVar1 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);\n      }" ({ "{") (expression_statement "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1);" (call_expression "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1)" (identifier "LogMagickEvent") (argument_list "(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       __s + 1)" (( "(") (number_literal "0x40000") (, ",") (string_literal ""MagickWand/pixel-iterator.c"" (" """) (string_content "MagickWand/pixel-iterator.c") (" """)) (, ",") (string_literal ""NewPixelRegionIterator"" (" """) (string_content "NewPixelRegionIterator") (" """)) (, ",") (number_literal "0x1c9") (, ",") (string_literal ""%s"" (" """) (string_content "%s") (" """)) (, ",") (binary_expression "__s + 1" (identifier "__s") (+ "+") (number_literal "1")) () ")"))) (; ";")) (} "}"))) (expression_statement "__s[0x20b] = 0xabacadab;" (assignment_expression "__s[0x20b] = 0xabacadab" (subscript_expression "__s[0x20b]" (identifier "__s") ([ "[") (number_literal "0x20b") (] "]")) (= "=") (number_literal "0xabacadab")) (; ";")) (} "}")))) (} "}")))) (if_statement "if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return __s;\n  }" (if "if") (parenthesized_expression "(local_40 == *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_40 == *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_40") (== "==") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n    return __s;\n  }" ({ "{") (return_statement "return __s;" (return "return") (identifier "__s") (; ";")) (} "}"))) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

type_1 *
function_1(type_2 *var_2,ssize_t x,ssize_t y,size_t var_12,size_t var_13)

{
  type_3 var_26;
  type_4 uVar2;
  type_5 *var_15;
  type_6 *pEVar4;
  type_7 *var_17;
  type_1 *var_19;
  size_t sVar6;
  type_8 **ppPVar7;
  type_4 uVar8;
  long var_1;
  size_t var_5;
  long var_29;
  
  var_29 = *(long *)(var_1 + 0x28);
  if (var_2 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,
                  "NewPixelRegionIterator");
  }
  var_5 = 0x10;
  uVar2 = var_4(&var_5);
  if (var_5 != 0x10) {
    uVar8 = var_6();
    var_7
              (uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ac,0x1d6,
               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);
    var_8(uVar8);
    var_9(uVar8);
    var_10();
                    /* WARNING: Subroutine does not return */
    var_11(-0xe5);
  }
  if ((var_12 == 0) || (var_13 == 0)) {
    uVar8 = var_6();
    var_7
              (uVar8,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1ae,0x1d6,
               "ZeroRegionSize",&DAT_0020ca76,uVar2);
    var_8(uVar8);
    var_9(uVar8);
    var_10();
                    /* WARNING: Subroutine does not return */
    var_11(-0xe5);
  }
  var_15 = var_14(var_2);
  if (var_15 == (type_5 *)0x0) {
    var_19 = (type_1 *)0x0;
  }
  else {
    pEVar4 = (type_6 *)var_6();
    var_17 = (type_7 *)var_16(var_15,pEVar4);
    if (var_17 == (type_7 *)0x0) {
      var_19 = (type_1 *)0x0;
    }
    else {
      var_19 = (type_1 *)var_18(0x1060);
      if (var_19 == (type_1 *)0x0) {
        uVar2 = var_6();
        var_7
                  (uVar2,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,
                   "MemoryAllocationFailed",&DAT_0020ca76,var_2->name);
        var_8(uVar2);
        var_9(uVar2);
        var_10();
                    /* WARNING: Subroutine does not return */
        var_11(1);
      }
      var_20(var_19,0,0x1060);
      sVar6 = var_21();
      var_19->id = sVar6;
      var_22((double)sVar6,var_19->name,0x1000,"%s-%.20g","PixelIterator");
      var_19->exception = pEVar4;
      var_19->view = var_17;
      var_23(var_15,&var_19->region);
      (var_19->region).var_12 = var_12;
      (var_19->region).var_13 = var_13;
      (var_19->region).x = x;
      (var_19->region).y = y;
      ppPVar7 = var_24(var_12);
      var_19->pixel_wands = ppPVar7;
      var_19->y = 0;
      var_26 = var_25();
      var_19->debug = var_26;
      if (var_26 != var_27) {
        var_28(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",
                       var_19->name);
      }
      var_19->signature = 0xabacadab;
    }
  }
  if (var_29 == *(long *)(var_1 + 0x28)) {
    return var_19;
  }
                    /* WARNING: Subroutine does not return */
  var_30();
}


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

ulong * MASKED(long param_1,ulong param_2,ulong param_3,ulong param_4,ulong param_5)

{
  int iVar1;
  undefined8 uVar2;
  long lVar3;
  ulong uVar4;
  ulong uVar5;
  ulong *__s;
  ulong uVar6;
  undefined8 uVar7;
  long in_FS_OFFSET;
  long local_48;
  long local_40;
  
  local_40 = *(long *)(in_FS_OFFSET + 0x28);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,
                  "MASKED");
  }
  local_48 = 0x10;
  uVar2 = GetMagickQuantumDepth(&local_48);
  if (local_48 != 0x10) {
    uVar7 = AcquireExceptionInfo();
    ThrowMagickException
              (uVar7,"MagickWand/pixel-iterator.c","MASKED",0x1ac,0x1d6,
               "QuantumDepthMismatch",&DAT_0020ca76,uVar2);
    CatchException(uVar7);
    DestroyExceptionInfo(uVar7);
    MagickWandTerminus();
                    /* WARNING: Subroutine does not return */
    _exit(-0xe5);
  }
  if ((param_4 == 0) || (param_5 == 0)) {
    uVar7 = AcquireExceptionInfo();
    ThrowMagickException
              (uVar7,"MagickWand/pixel-iterator.c","MASKED",0x1ae,0x1d6,
               "ZeroRegionSize",&DAT_0020ca76,uVar2);
    CatchException(uVar7);
    DestroyExceptionInfo(uVar7);
    MagickWandTerminus();
                    /* WARNING: Subroutine does not return */
    _exit(-0xe5);
  }
  lVar3 = GetImageFromMagickWand(param_1);
  if (lVar3 == 0) {
    __s = (ulong *)0x0;
  }
  else {
    uVar4 = AcquireExceptionInfo();
    uVar5 = AcquireVirtualCacheView(lVar3,uVar4);
    if (uVar5 == 0) {
      __s = (ulong *)0x0;
    }
    else {
      __s = (ulong *)AcquireMagickMemory(0x1060);
      if (__s == (ulong *)0x0) {
        uVar2 = AcquireExceptionInfo();
        ThrowMagickException
                  (uVar2,"MagickWand/pixel-iterator.c","MASKED",0x1b9,700,
                   "MemoryAllocationFailed",&DAT_0020ca76,param_1 + 8);
        CatchException(uVar2);
        DestroyExceptionInfo(uVar2);
        MagickWandTerminus();
                    /* WARNING: Subroutine does not return */
        _exit(1);
      }
      memset(__s,0,0x1060);
      uVar6 = AcquireWandId();
      *__s = uVar6;
      FormatLocaleString((double)uVar6,__s + 1,0x1000,"%s-%.20g","PixelIterator");
      __s[0x201] = uVar4;
      __s[0x202] = uVar5;
      SetGeometry(lVar3,__s + 0x203);
      __s[0x203] = param_4;
      __s[0x204] = param_5;
      __s[0x205] = param_2;
      __s[0x206] = param_3;
      uVar4 = NewPixelWands(param_4);
      __s[0x209] = uVar4;
      __s[0x208] = 0;
      iVar1 = IsEventLogging();
      *(int *)(__s + 0x20a) = iVar1;
      if (iVar1 != 0) {
        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","MASKED",0x1c9,"%s",
                       __s + 1);
      }
      __s[0x20b] = 0xabacadab;
    }
  }
  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {
    return __s;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}

