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

{
  undefined4 uVar1;
  Image *pIVar2;
  ExceptionInfo *pEVar3;
  CacheView *pCVar4;
  PixelIterator *pPVar5;
  size_t sVar6;
  PixelWand **ppPVar7;
  MagickBooleanType MVar8;
  undefined4 uVar9;
  int iVar10;
  PixelIterator *pPVar11;
  int in_GS_OFFSET;
  byte bVar12;
  undefined4 uVar13;
  char *pcVar14;
  size_t depth;
  int local_20;
  undefined4 uStack_14;
  
  bVar12 = 0;
  uStack_14 = 0xda199;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (wand == (MagickWand *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,
                  "NewPixelRegionIterator");
  }
  depth = 0x10;
  uVar1 = GetMagickQuantumDepth(&depth);
  if (depth != 0x10) {
    uVar9 = AcquireExceptionInfo();
    pcVar14 = "QuantumDepthMismatch";
    uVar13 = 0x1ac;
LAB_000da389:
    ThrowMagickException
              (uVar9,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar13,
               CONCAT44(pcVar14,0x1d6),&DAT_000e91ee,uVar1);
    CatchException(uVar9);
    DestroyExceptionInfo(uVar9);
    MagickWandTerminus();
                    /* WARNING: Subroutine does not return */
    _exit(-0xe5);
  }
  if ((width == 0) || (height == 0)) {
    uVar9 = AcquireExceptionInfo();
    pcVar14 = "ZeroRegionSize";
    uVar13 = 0x1ae;
    goto LAB_000da389;
  }
  pIVar2 = GetImageFromMagickWand(wand);
  if (pIVar2 != (Image *)0x0) {
    pEVar3 = (ExceptionInfo *)AcquireExceptionInfo();
    pCVar4 = (CacheView *)AcquireVirtualCacheView(pIVar2);
    if (pCVar4 != (CacheView *)0x0) {
      pPVar5 = (PixelIterator *)AcquireMagickMemory(0x1030);
      if (pPVar5 == (PixelIterator *)0x0) {
        uVar1 = AcquireExceptionInfo();
        ThrowMagickException
                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,
                   "MemoryAllocationFailed",&DAT_000e91ee,wand->name);
        CatchException(uVar1);
        DestroyExceptionInfo(uVar1);
        MagickWandTerminus();
                    /* WARNING: Subroutine does not return */
        _exit(1);
      }
      pPVar11 = pPVar5;
      for (iVar10 = 0x40c; iVar10 != 0; iVar10 = iVar10 + -1) {
        pPVar11->id = 0;
        pPVar11 = (PixelIterator *)((int)pPVar11 + (uint)bVar12 * -8 + 4);
      }
      sVar6 = AcquireWandId();
      pPVar5->id = sVar6;
      FormatLocaleString(pPVar5->name,0x1000,"%s-%.20g","PixelIterator",(double)sVar6);
      pPVar5->exception = pEVar3;
      pPVar5->view = pCVar4;
      SetGeometry(pIVar2);
      (pPVar5->region).width = width;
      (pPVar5->region).height = height;
      (pPVar5->region).x = x;
      (pPVar5->region).y = y;
      ppPVar7 = NewPixelWands(width);
      pPVar5->y = 0;
      pPVar5->pixel_wands = ppPVar7;
      MVar8 = IsEventLogging();
      pPVar5->debug = MVar8;
      if (MVar8 != MagickFalse) {
        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",
                       pPVar5->name);
      }
      pPVar5->signature = 0xabacadab;
      goto LAB_000da30f;
    }
  }
  pPVar5 = (PixelIterator *)0x0;
LAB_000da30f:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return pPVar5;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



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

uint * NewPixelRegionIterator(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)

{
  undefined4 uVar1;
  int iVar2;
  uint uVar3;
  uint uVar4;
  uint *puVar5;
  uint uVar6;
  undefined4 uVar7;
  int iVar8;
  uint *puVar9;
  int in_GS_OFFSET;
  byte bVar10;
  undefined4 uVar11;
  char *pcVar12;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  bVar10 = 0;
  uStack_14 = 0xda199;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,
                  "NewPixelRegionIterator");
  }
  local_24 = 0x10;
  uVar1 = GetMagickQuantumDepth(&local_24);
  if (local_24 != 0x10) {
    uVar7 = AcquireExceptionInfo();
    pcVar12 = "QuantumDepthMismatch";
    uVar11 = 0x1ac;
LAB_000da389:
    ThrowMagickException
              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,
               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);
    CatchException(uVar7);
    DestroyExceptionInfo(uVar7);
    MagickWandTerminus();
                    /* WARNING: Subroutine does not return */
    _exit(-0xe5);
  }
  if ((param_4 == 0) || (param_5 == 0)) {
    uVar7 = AcquireExceptionInfo();
    pcVar12 = "ZeroRegionSize";
    uVar11 = 0x1ae;
    goto LAB_000da389;
  }
  iVar2 = GetImageFromMagickWand(param_1);
  if (iVar2 != 0) {
    uVar3 = AcquireExceptionInfo();
    uVar4 = AcquireVirtualCacheView(iVar2);
    if (uVar4 != 0) {
      puVar5 = (uint *)AcquireMagickMemory(0x1030);
      if (puVar5 == (uint *)0x0) {
        uVar1 = AcquireExceptionInfo();
        ThrowMagickException
                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,
                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);
        CatchException(uVar1);
        DestroyExceptionInfo(uVar1);
        MagickWandTerminus();
                    /* WARNING: Subroutine does not return */
        _exit(1);
      }
      puVar9 = puVar5;
      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {
        *puVar9 = 0;
        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;
      }
      uVar6 = AcquireWandId();
      *puVar5 = uVar6;
      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);
      puVar5[0x401] = uVar3;
      puVar5[0x402] = uVar4;
      SetGeometry(iVar2,puVar5 + 0x403);
      puVar5[0x403] = param_4;
      puVar5[0x404] = param_5;
      puVar5[0x405] = param_2;
      puVar5[0x406] = param_3;
      uVar3 = NewPixelWands(param_4);
      puVar5[0x408] = 0;
      puVar5[0x409] = uVar3;
      uVar3 = IsEventLogging();
      puVar5[0x40a] = uVar3;
      if (uVar3 != 0) {
        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",
                       puVar5 + 1);
      }
      puVar5[0x40b] = 0xabacadab;
      goto LAB_000da30f;
    }
  }
  puVar5 = (uint *)0x0;
LAB_000da30f:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return puVar5;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000e7d60();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0001e920
ADD EBX,0x8fe67
SUB ESP,0x3c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x2c],EAX
XOR EAX,EAX
MOV EDI,dword ptr [ESP + 0x50]
TEST EDI,EDI
JZ 0x000da3e5
MOV dword ptr [ESP + 0x28],0x10
SUB ESP,0xc
LEA EAX,[ESP + 0x34]
PUSH EAX
CALL 0x0001e090
ADD ESP,0x10
CMP dword ptr [ESP + 0x28],0x10
MOV ESI,EAX
JNZ 0x000da3c3
MOV ECX,dword ptr [ESP + 0x5c]
TEST ECX,ECX
JZ 0x000da369
MOV EDX,dword ptr [ESP + 0x60]
TEST EDX,EDX
JZ 0x000da369
SUB ESP,0xc
PUSH EDI
CALL 0x0001dc60
ADD ESP,0x10
MOV EBP,EAX
TEST EAX,EAX
JZ 0x000da360
CALL 0x0001de80
SUB ESP,0x8
MOV dword ptr [ESP + 0x10],EAX
PUSH EAX
PUSH EBP
CALL 0x0001ca10
MOV dword ptr [ESP + 0x1c],EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000da360
SUB ESP,0xc
PUSH 0x1030
CALL 0x0001c660
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JZ 0x000da404
XOR EAX,EAX
MOV ECX,0x40c
MOV EDI,ESI
STOSD.REP ES:EDI
LEA EDI,[ESI + 0x4]
CALL 0x0001d720
SUB ESP,0x10
MOV dword ptr [ESP + 0x20],EAX
MOV dword ptr [ESP + 0x24],0x0
FILD qword ptr [ESP + 0x20]
MOV dword ptr [ESI],EAX
LEA EAX,[EBX + 0xfff98804]
FSTP qword ptr [ESP]
PUSH EAX
LEA EAX,[EBX + 0xfff88f3a]
PUSH EAX
PUSH 0x1000
PUSH EDI
CALL 0x0001e2f0
MOV EAX,dword ptr [ESP + 0x28]
MOV dword ptr [ESI + 0x1004],EAX
MOV EAX,dword ptr [ESP + 0x2c]
ADD ESP,0x18
MOV dword ptr [ESI + 0x1008],EAX
LEA EAX,[ESI + 0x100c]
PUSH EAX
PUSH EBP
CALL 0x0001cc60
MOV EAX,dword ptr [ESP + 0x6c]
MOV dword ptr [ESI + 0x100c],EAX
MOV EAX,dword ptr [ESP + 0x70]
MOV dword ptr [ESI + 0x1010],EAX
MOV EAX,dword ptr [ESP + 0x64]
MOV dword ptr [ESI + 0x1014],EAX
MOV EAX,dword ptr [ESP + 0x68]
MOV dword ptr [ESI + 0x1018],EAX
POP EAX
PUSH dword ptr [ESP + 0x68]
CALL 0x0001e360
ADD ESP,0x10
MOV dword ptr [ESI + 0x1020],0x0
MOV dword ptr [ESI + 0x1024],EAX
CALL 0x0001c950
MOV dword ptr [ESI + 0x1028],EAX
TEST EAX,EAX
JNZ 0x000da330
MOV dword ptr [ESI + 0x102c],0xabacadab
MOV EDX,dword ptr [ESP + 0x2c]
XOR EDX,dword ptr GS:[0x14]
MOV EAX,ESI
JNZ 0x000da364
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0xfff91a64]
SUB ESP,0x8
PUSH EDI
PUSH EAX
LEA EAX,[EBX + 0xfff98ac0]
PUSH 0x1c9
PUSH EAX
LEA EAX,[EBX + 0xfff987e8]
PUSH EAX
PUSH 0x40000
CALL 0x0001d6f0
ADD ESP,0x20
JMP 0x000da305
XOR ESI,ESI
JMP 0x000da30f
CALL 0x000e7d60
CALL 0x0001de80
PUSH ESI
MOV EDI,EAX
LEA EAX,[EBX + 0xfff7f1ee]
PUSH EAX
LEA EAX,[EBX + 0xfff98812]
PUSH EAX
PUSH 0x1d6
PUSH 0x1ae
LEA EAX,[EBX + 0xfff98ac0]
PUSH EAX
LEA EAX,[EBX + 0xfff987e8]
PUSH EAX
PUSH EDI
CALL 0x0001de10
ADD ESP,0x14
PUSH EDI
CALL 0x0001d4a0
MOV dword ptr [ESP],EDI
CALL 0x0001e3a0
ADD ESP,0x10
CALL 0x0001ca30
SUB ESP,0xc
PUSH 0xffffff1b
CALL 0x0001cbe0
CALL 0x0001de80
PUSH ESI
MOV EDI,EAX
LEA EAX,[EBX + 0xfff7f1ee]
PUSH EAX
LEA EAX,[EBX + 0xfff88f25]
PUSH EAX
PUSH 0x1d6
PUSH 0x1ac
JMP 0x000da389
LEA EAX,[EBX + 0xfff98ad8]
PUSH EAX
LEA EAX,[EBX + 0xfff987e8]
PUSH 0x1a8
PUSH EAX
LEA EAX,[EBX + 0xfff8d3f3]
PUSH EAX
CALL 0x0001ccf0
CALL 0x0001de80
ADD EDI,0x4
MOV ESI,EAX
PUSH EDI
LEA EAX,[EBX + 0xfff7f1ee]
PUSH EAX
LEA EAX,[EBX + 0xfff7f1f3]
PUSH EAX
LEA EAX,[EBX + 0xfff98ac0]
PUSH 0x2bc
PUSH 0x1b9
PUSH EAX
LEA EAX,[EBX + 0xfff987e8]
PUSH EAX
PUSH ESI
CALL 0x0001de10
ADD ESP,0x14
PUSH ESI
CALL 0x0001d4a0
MOV dword ptr [ESP],ESI
CALL 0x0001e3a0
ADD ESP,0x10
CALL 0x0001ca30
SUB ESP,0xc
PUSH 0x1
CALL 0x0001cbe0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint * NewPixelRegionIterator(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint *puVar9;\n  int in_GS_OFFSET;\n  byte bVar10;\n  undefined4 uVar11;\n  char *pcVar12;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar10 = 0;\n  uStack_14 = 0xda199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\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_24 = 0x10;\n  uVar1 = GetMagickQuantumDepth(&local_24);\n  if (local_24 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    pcVar12 = "QuantumDepthMismatch";\n    uVar11 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);\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    pcVar12 = "ZeroRegionSize";\n    uVar11 = 0x1ae;\n    goto LAB_000da389;\n  }\n  iVar2 = GetImageFromMagickWand(param_1);\n  if (iVar2 != 0) {\n    uVar3 = AcquireExceptionInfo();\n    uVar4 = AcquireVirtualCacheView(iVar2);\n    if (uVar4 != 0) {\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }\n  puVar5 = (uint *)0x0;\nLAB_000da30f:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000e7d60();\n}\n\n" comment (function_definition "uint * NewPixelRegionIterator(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint *puVar9;\n  int in_GS_OFFSET;\n  byte bVar10;\n  undefined4 uVar11;\n  char *pcVar12;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar10 = 0;\n  uStack_14 = 0xda199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\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_24 = 0x10;\n  uVar1 = GetMagickQuantumDepth(&local_24);\n  if (local_24 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    pcVar12 = "QuantumDepthMismatch";\n    uVar11 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);\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    pcVar12 = "ZeroRegionSize";\n    uVar11 = 0x1ae;\n    goto LAB_000da389;\n  }\n  iVar2 = GetImageFromMagickWand(param_1);\n  if (iVar2 != 0) {\n    uVar3 = AcquireExceptionInfo();\n    uVar4 = AcquireVirtualCacheView(iVar2);\n    if (uVar4 != 0) {\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }\n  puVar5 = (uint *)0x0;\nLAB_000da30f:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000e7d60();\n}" type_identifier (pointer_declarator "* NewPixelRegionIterator(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)" * (function_declarator "NewPixelRegionIterator(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)" identifier (parameter_list "(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "uint param_5" type_identifier identifier) )))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint *puVar9;\n  int in_GS_OFFSET;\n  byte bVar10;\n  undefined4 uVar11;\n  char *pcVar12;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar10 = 0;\n  uStack_14 = 0xda199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\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_24 = 0x10;\n  uVar1 = GetMagickQuantumDepth(&local_24);\n  if (local_24 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    pcVar12 = "QuantumDepthMismatch";\n    uVar11 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);\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    pcVar12 = "ZeroRegionSize";\n    uVar11 = 0x1ae;\n    goto LAB_000da389;\n  }\n  iVar2 = GetImageFromMagickWand(param_1);\n  if (iVar2 != 0) {\n    uVar3 = AcquireExceptionInfo();\n    uVar4 = AcquireVirtualCacheView(iVar2);\n    if (uVar4 != 0) {\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }\n  puVar5 = (uint *)0x0;\nLAB_000da30f:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000e7d60();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar10;" type_identifier identifier ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "char *pcVar12;" primitive_type (pointer_declarator "*pcVar12" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar10 = 0;" (assignment_expression "bVar10 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0xda199;" (assignment_expression "uStack_14 = 0xda199" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" 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_24 = 0x10;" (assignment_expression "local_24 = 0x10" identifier = number_literal) ;) (expression_statement "uVar1 = GetMagickQuantumDepth(&local_24);" (assignment_expression "uVar1 = GetMagickQuantumDepth(&local_24)" identifier = (call_expression "GetMagickQuantumDepth(&local_24)" identifier (argument_list "(&local_24)" ( (pointer_expression "&local_24" & identifier) )))) ;) (if_statement "if (local_24 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    pcVar12 = "QuantumDepthMismatch";\n    uVar11 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }" if (parenthesized_expression "(local_24 != 0x10)" ( (binary_expression "local_24 != 0x10" identifier != number_literal) )) (compound_statement "{\n    uVar7 = AcquireExceptionInfo();\n    pcVar12 = "QuantumDepthMismatch";\n    uVar11 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);\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 "pcVar12 = "QuantumDepthMismatch";" (assignment_expression "pcVar12 = "QuantumDepthMismatch"" identifier = (string_literal ""QuantumDepthMismatch"" " string_content ")) ;) (expression_statement "uVar11 = 0x1ac;" (assignment_expression "uVar11 = 0x1ac" identifier = number_literal) ;) (labeled_statement "LAB_000da389:\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);" statement_identifier : (expression_statement "ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);" (call_expression "ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1)" identifier (argument_list "(uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1)" ( identifier , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , (string_literal ""NewPixelRegionIterator"" " string_content ") , identifier , (call_expression "CONCAT44(pcVar12,0x1d6)" identifier (argument_list "(pcVar12,0x1d6)" ( identifier , number_literal ))) , (pointer_expression "&DAT_000e91ee" & 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    pcVar12 = "ZeroRegionSize";\n    uVar11 = 0x1ae;\n    goto LAB_000da389;\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    pcVar12 = "ZeroRegionSize";\n    uVar11 = 0x1ae;\n    goto LAB_000da389;\n  }" { (expression_statement "uVar7 = AcquireExceptionInfo();" (assignment_expression "uVar7 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar12 = "ZeroRegionSize";" (assignment_expression "pcVar12 = "ZeroRegionSize"" identifier = (string_literal ""ZeroRegionSize"" " string_content ")) ;) (expression_statement "uVar11 = 0x1ae;" (assignment_expression "uVar11 = 0x1ae" identifier = number_literal) ;) (goto_statement "goto LAB_000da389;" goto statement_identifier ;) })) (expression_statement "iVar2 = GetImageFromMagickWand(param_1);" (assignment_expression "iVar2 = GetImageFromMagickWand(param_1)" identifier = (call_expression "GetImageFromMagickWand(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) {\n    uVar3 = AcquireExceptionInfo();\n    uVar4 = AcquireVirtualCacheView(iVar2);\n    if (uVar4 != 0) {\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar3 = AcquireExceptionInfo();\n    uVar4 = AcquireVirtualCacheView(iVar2);\n    if (uVar4 != 0) {\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }" { (expression_statement "uVar3 = AcquireExceptionInfo();" (assignment_expression "uVar3 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar4 = AcquireVirtualCacheView(iVar2);" (assignment_expression "uVar4 = AcquireVirtualCacheView(iVar2)" identifier = (call_expression "AcquireVirtualCacheView(iVar2)" identifier (argument_list "(iVar2)" ( identifier )))) ;) (if_statement "if (uVar4 != 0) {\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }" if (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }" { (expression_statement "puVar5 = (uint *)AcquireMagickMemory(0x1030);" (assignment_expression "puVar5 = (uint *)AcquireMagickMemory(0x1030)" identifier = (cast_expression "(uint *)AcquireMagickMemory(0x1030)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireMagickMemory(0x1030)" identifier (argument_list "(0x1030)" ( number_literal ))))) ;) (if_statement "if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }" if (parenthesized_expression "(puVar5 == (uint *)0x0)" ( (binary_expression "puVar5 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }" { (expression_statement "uVar1 = AcquireExceptionInfo();" (assignment_expression "uVar1 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);" (call_expression "ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4)" identifier (argument_list "(uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4)" ( 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_000e91ee" & identifier) , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) (expression_statement "CatchException(uVar1);" (call_expression "CatchException(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "DestroyExceptionInfo(uVar1);" (call_expression "DestroyExceptionInfo(uVar1)" identifier (argument_list "(uVar1)" ( 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 "puVar9 = puVar5;" (assignment_expression "puVar9 = puVar5" identifier = identifier) ;) (for_statement "for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }" for ( (assignment_expression "iVar8 = 0x40c" identifier = number_literal) ; (binary_expression "iVar8 != 0" identifier != number_literal) ; (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ) (compound_statement "{\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }" { (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar10 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar10 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar10 * -2 + 1" (binary_expression "puVar9 + (uint)bVar10 * -2" identifier + (binary_expression "(uint)bVar10 * -2" (cast_expression "(uint)bVar10" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "uVar6 = AcquireWandId();" (assignment_expression "uVar6 = AcquireWandId()" identifier = (call_expression "AcquireWandId()" identifier (argument_list "()" ( )))) ;) (expression_statement "*puVar5 = uVar6;" (assignment_expression "*puVar5 = uVar6" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);" (call_expression "FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6)" identifier (argument_list "(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6)" ( (binary_expression "puVar5 + 1" identifier + number_literal) , number_literal , (string_literal ""%s-%.20g"" " string_content ") , (string_literal ""PixelIterator"" " string_content ") , (cast_expression "(double)uVar6" ( (type_descriptor "double" primitive_type) ) identifier) ))) ;) (expression_statement "puVar5[0x401] = uVar3;" (assignment_expression "puVar5[0x401] = uVar3" (subscript_expression "puVar5[0x401]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[0x402] = uVar4;" (assignment_expression "puVar5[0x402] = uVar4" (subscript_expression "puVar5[0x402]" identifier [ number_literal ]) = identifier) ;) (expression_statement "SetGeometry(iVar2,puVar5 + 0x403);" (call_expression "SetGeometry(iVar2,puVar5 + 0x403)" identifier (argument_list "(iVar2,puVar5 + 0x403)" ( identifier , (binary_expression "puVar5 + 0x403" identifier + number_literal) ))) ;) (expression_statement "puVar5[0x403] = param_4;" (assignment_expression "puVar5[0x403] = param_4" (subscript_expression "puVar5[0x403]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[0x404] = param_5;" (assignment_expression "puVar5[0x404] = param_5" (subscript_expression "puVar5[0x404]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[0x405] = param_2;" (assignment_expression "puVar5[0x405] = param_2" (subscript_expression "puVar5[0x405]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[0x406] = param_3;" (assignment_expression "puVar5[0x406] = param_3" (subscript_expression "puVar5[0x406]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar3 = NewPixelWands(param_4);" (assignment_expression "uVar3 = NewPixelWands(param_4)" identifier = (call_expression "NewPixelWands(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "puVar5[0x408] = 0;" (assignment_expression "puVar5[0x408] = 0" (subscript_expression "puVar5[0x408]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5[0x409] = uVar3;" (assignment_expression "puVar5[0x409] = uVar3" (subscript_expression "puVar5[0x409]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar3 = IsEventLogging();" (assignment_expression "uVar3 = IsEventLogging()" identifier = (call_expression "IsEventLogging()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar5[0x40a] = uVar3;" (assignment_expression "puVar5[0x40a] = uVar3" (subscript_expression "puVar5[0x40a]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);" (call_expression "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1)" identifier (argument_list "(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 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 "puVar5 + 1" identifier + number_literal) ))) ;) })) (expression_statement "puVar5[0x40b] = 0xabacadab;" (assignment_expression "puVar5[0x40b] = 0xabacadab" (subscript_expression "puVar5[0x40b]" identifier [ number_literal ]) = number_literal) ;) (goto_statement "goto LAB_000da30f;" goto statement_identifier ;) })) })) (expression_statement "puVar5 = (uint *)0x0;" (assignment_expression "puVar5 = (uint *)0x0" identifier = (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_000da30f:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar5;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar5;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return puVar5;\n  }" { (return_statement "return puVar5;" return identifier ;) }))) comment (expression_statement "FUN_000e7d60();" (call_expression "FUN_000e7d60()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "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  undefined4 uVar1;\n  Image *pIVar2;\n  ExceptionInfo *pEVar3;\n  CacheView *pCVar4;\n  PixelIterator *pPVar5;\n  size_t sVar6;\n  PixelWand **ppPVar7;\n  MagickBooleanType MVar8;\n  undefined4 uVar9;\n  int iVar10;\n  PixelIterator *pPVar11;\n  int in_GS_OFFSET;\n  byte bVar12;\n  undefined4 uVar13;\n  char *pcVar14;\n  size_t depth;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar12 = 0;\n  uStack_14 = 0xda199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\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  uVar1 = GetMagickQuantumDepth(&depth);\n  if (depth != 0x10) {\n    uVar9 = AcquireExceptionInfo();\n    pcVar14 = "QuantumDepthMismatch";\n    uVar13 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar9,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar13,\n               CONCAT44(pcVar14,0x1d6),&DAT_000e91ee,uVar1);\n    CatchException(uVar9);\n    DestroyExceptionInfo(uVar9);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }\n  if ((width == 0) || (height == 0)) {\n    uVar9 = AcquireExceptionInfo();\n    pcVar14 = "ZeroRegionSize";\n    uVar13 = 0x1ae;\n    goto LAB_000da389;\n  }\n  pIVar2 = GetImageFromMagickWand(wand);\n  if (pIVar2 != (Image *)0x0) {\n    pEVar3 = (ExceptionInfo *)AcquireExceptionInfo();\n    pCVar4 = (CacheView *)AcquireVirtualCacheView(pIVar2);\n    if (pCVar4 != (CacheView *)0x0) {\n      pPVar5 = (PixelIterator *)AcquireMagickMemory(0x1030);\n      if (pPVar5 == (PixelIterator *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,wand->name);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      pPVar11 = pPVar5;\n      for (iVar10 = 0x40c; iVar10 != 0; iVar10 = iVar10 + -1) {\n        pPVar11->id = 0;\n        pPVar11 = (PixelIterator *)((int)pPVar11 + (uint)bVar12 * -8 + 4);\n      }\n      sVar6 = AcquireWandId();\n      pPVar5->id = sVar6;\n      FormatLocaleString(pPVar5->name,0x1000,"%s-%.20g","PixelIterator",(double)sVar6);\n      pPVar5->exception = pEVar3;\n      pPVar5->view = pCVar4;\n      SetGeometry(pIVar2);\n      (pPVar5->region).width = width;\n      (pPVar5->region).height = height;\n      (pPVar5->region).x = x;\n      (pPVar5->region).y = y;\n      ppPVar7 = NewPixelWands(width);\n      pPVar5->y = 0;\n      pPVar5->pixel_wands = ppPVar7;\n      MVar8 = IsEventLogging();\n      pPVar5->debug = MVar8;\n      if (MVar8 != MagickFalse) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       pPVar5->name);\n      }\n      pPVar5->signature = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }\n  pPVar5 = (PixelIterator *)0x0;\nLAB_000da30f:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pPVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment 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  undefined4 uVar1;\n  Image *pIVar2;\n  ExceptionInfo *pEVar3;\n  CacheView *pCVar4;\n  PixelIterator *pPVar5;\n  size_t sVar6;\n  PixelWand **ppPVar7;\n  MagickBooleanType MVar8;\n  undefined4 uVar9;\n  int iVar10;\n  PixelIterator *pPVar11;\n  int in_GS_OFFSET;\n  byte bVar12;\n  undefined4 uVar13;\n  char *pcVar14;\n  size_t depth;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar12 = 0;\n  uStack_14 = 0xda199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\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  uVar1 = GetMagickQuantumDepth(&depth);\n  if (depth != 0x10) {\n    uVar9 = AcquireExceptionInfo();\n    pcVar14 = "QuantumDepthMismatch";\n    uVar13 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar9,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar13,\n               CONCAT44(pcVar14,0x1d6),&DAT_000e91ee,uVar1);\n    CatchException(uVar9);\n    DestroyExceptionInfo(uVar9);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }\n  if ((width == 0) || (height == 0)) {\n    uVar9 = AcquireExceptionInfo();\n    pcVar14 = "ZeroRegionSize";\n    uVar13 = 0x1ae;\n    goto LAB_000da389;\n  }\n  pIVar2 = GetImageFromMagickWand(wand);\n  if (pIVar2 != (Image *)0x0) {\n    pEVar3 = (ExceptionInfo *)AcquireExceptionInfo();\n    pCVar4 = (CacheView *)AcquireVirtualCacheView(pIVar2);\n    if (pCVar4 != (CacheView *)0x0) {\n      pPVar5 = (PixelIterator *)AcquireMagickMemory(0x1030);\n      if (pPVar5 == (PixelIterator *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,wand->name);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      pPVar11 = pPVar5;\n      for (iVar10 = 0x40c; iVar10 != 0; iVar10 = iVar10 + -1) {\n        pPVar11->id = 0;\n        pPVar11 = (PixelIterator *)((int)pPVar11 + (uint)bVar12 * -8 + 4);\n      }\n      sVar6 = AcquireWandId();\n      pPVar5->id = sVar6;\n      FormatLocaleString(pPVar5->name,0x1000,"%s-%.20g","PixelIterator",(double)sVar6);\n      pPVar5->exception = pEVar3;\n      pPVar5->view = pCVar4;\n      SetGeometry(pIVar2);\n      (pPVar5->region).width = width;\n      (pPVar5->region).height = height;\n      (pPVar5->region).x = x;\n      (pPVar5->region).y = y;\n      ppPVar7 = NewPixelWands(width);\n      pPVar5->y = 0;\n      pPVar5->pixel_wands = ppPVar7;\n      MVar8 = IsEventLogging();\n      pPVar5->debug = MVar8;\n      if (MVar8 != MagickFalse) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       pPVar5->name);\n      }\n      pPVar5->signature = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }\n  pPVar5 = (PixelIterator *)0x0;\nLAB_000da30f:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pPVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\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  undefined4 uVar1;\n  Image *pIVar2;\n  ExceptionInfo *pEVar3;\n  CacheView *pCVar4;\n  PixelIterator *pPVar5;\n  size_t sVar6;\n  PixelWand **ppPVar7;\n  MagickBooleanType MVar8;\n  undefined4 uVar9;\n  int iVar10;\n  PixelIterator *pPVar11;\n  int in_GS_OFFSET;\n  byte bVar12;\n  undefined4 uVar13;\n  char *pcVar14;\n  size_t depth;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar12 = 0;\n  uStack_14 = 0xda199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\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  uVar1 = GetMagickQuantumDepth(&depth);\n  if (depth != 0x10) {\n    uVar9 = AcquireExceptionInfo();\n    pcVar14 = "QuantumDepthMismatch";\n    uVar13 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar9,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar13,\n               CONCAT44(pcVar14,0x1d6),&DAT_000e91ee,uVar1);\n    CatchException(uVar9);\n    DestroyExceptionInfo(uVar9);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }\n  if ((width == 0) || (height == 0)) {\n    uVar9 = AcquireExceptionInfo();\n    pcVar14 = "ZeroRegionSize";\n    uVar13 = 0x1ae;\n    goto LAB_000da389;\n  }\n  pIVar2 = GetImageFromMagickWand(wand);\n  if (pIVar2 != (Image *)0x0) {\n    pEVar3 = (ExceptionInfo *)AcquireExceptionInfo();\n    pCVar4 = (CacheView *)AcquireVirtualCacheView(pIVar2);\n    if (pCVar4 != (CacheView *)0x0) {\n      pPVar5 = (PixelIterator *)AcquireMagickMemory(0x1030);\n      if (pPVar5 == (PixelIterator *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,wand->name);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      pPVar11 = pPVar5;\n      for (iVar10 = 0x40c; iVar10 != 0; iVar10 = iVar10 + -1) {\n        pPVar11->id = 0;\n        pPVar11 = (PixelIterator *)((int)pPVar11 + (uint)bVar12 * -8 + 4);\n      }\n      sVar6 = AcquireWandId();\n      pPVar5->id = sVar6;\n      FormatLocaleString(pPVar5->name,0x1000,"%s-%.20g","PixelIterator",(double)sVar6);\n      pPVar5->exception = pEVar3;\n      pPVar5->view = pCVar4;\n      SetGeometry(pIVar2);\n      (pPVar5->region).width = width;\n      (pPVar5->region).height = height;\n      (pPVar5->region).x = x;\n      (pPVar5->region).y = y;\n      ppPVar7 = NewPixelWands(width);\n      pPVar5->y = 0;\n      pPVar5->pixel_wands = ppPVar7;\n      MVar8 = IsEventLogging();\n      pPVar5->debug = MVar8;\n      if (MVar8 != MagickFalse) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       pPVar5->name);\n      }\n      pPVar5->signature = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }\n  pPVar5 = (PixelIterator *)0x0;\nLAB_000da30f:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pPVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "Image *pIVar2;" type_identifier (pointer_declarator "*pIVar2" * identifier) ;) (declaration "ExceptionInfo *pEVar3;" type_identifier (pointer_declarator "*pEVar3" * identifier) ;) (declaration "CacheView *pCVar4;" type_identifier (pointer_declarator "*pCVar4" * identifier) ;) (declaration "PixelIterator *pPVar5;" type_identifier (pointer_declarator "*pPVar5" * identifier) ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "PixelWand **ppPVar7;" type_identifier (pointer_declarator "**ppPVar7" * (pointer_declarator "*ppPVar7" * identifier)) ;) (declaration "MagickBooleanType MVar8;" type_identifier identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "PixelIterator *pPVar11;" type_identifier (pointer_declarator "*pPVar11" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar12;" type_identifier identifier ;) (declaration "undefined4 uVar13;" type_identifier identifier ;) (declaration "char *pcVar14;" primitive_type (pointer_declarator "*pcVar14" * identifier) ;) (declaration "size_t depth;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar12 = 0;" (assignment_expression "bVar12 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0xda199;" (assignment_expression "uStack_14 = 0xda199" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" 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 "uVar1 = GetMagickQuantumDepth(&depth);" (assignment_expression "uVar1 = GetMagickQuantumDepth(&depth)" identifier = (call_expression "GetMagickQuantumDepth(&depth)" identifier (argument_list "(&depth)" ( (pointer_expression "&depth" & identifier) )))) ;) (if_statement "if (depth != 0x10) {\n    uVar9 = AcquireExceptionInfo();\n    pcVar14 = "QuantumDepthMismatch";\n    uVar13 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar9,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar13,\n               CONCAT44(pcVar14,0x1d6),&DAT_000e91ee,uVar1);\n    CatchException(uVar9);\n    DestroyExceptionInfo(uVar9);\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    uVar9 = AcquireExceptionInfo();\n    pcVar14 = "QuantumDepthMismatch";\n    uVar13 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar9,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar13,\n               CONCAT44(pcVar14,0x1d6),&DAT_000e91ee,uVar1);\n    CatchException(uVar9);\n    DestroyExceptionInfo(uVar9);\n    MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n    _exit(-0xe5);\n  }" { (expression_statement "uVar9 = AcquireExceptionInfo();" (assignment_expression "uVar9 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar14 = "QuantumDepthMismatch";" (assignment_expression "pcVar14 = "QuantumDepthMismatch"" identifier = (string_literal ""QuantumDepthMismatch"" " string_content ")) ;) (expression_statement "uVar13 = 0x1ac;" (assignment_expression "uVar13 = 0x1ac" identifier = number_literal) ;) (labeled_statement "LAB_000da389:\n    ThrowMagickException\n              (uVar9,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar13,\n               CONCAT44(pcVar14,0x1d6),&DAT_000e91ee,uVar1);" statement_identifier : (expression_statement "ThrowMagickException\n              (uVar9,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar13,\n               CONCAT44(pcVar14,0x1d6),&DAT_000e91ee,uVar1);" (call_expression "ThrowMagickException\n              (uVar9,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar13,\n               CONCAT44(pcVar14,0x1d6),&DAT_000e91ee,uVar1)" identifier (argument_list "(uVar9,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar13,\n               CONCAT44(pcVar14,0x1d6),&DAT_000e91ee,uVar1)" ( identifier , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , (string_literal ""NewPixelRegionIterator"" " string_content ") , identifier , (call_expression "CONCAT44(pcVar14,0x1d6)" identifier (argument_list "(pcVar14,0x1d6)" ( identifier , number_literal ))) , (pointer_expression "&DAT_000e91ee" & identifier) , identifier ))) ;)) (expression_statement "CatchException(uVar9);" (call_expression "CatchException(uVar9)" identifier (argument_list "(uVar9)" ( identifier ))) ;) (expression_statement "DestroyExceptionInfo(uVar9);" (call_expression "DestroyExceptionInfo(uVar9)" identifier (argument_list "(uVar9)" ( 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    uVar9 = AcquireExceptionInfo();\n    pcVar14 = "ZeroRegionSize";\n    uVar13 = 0x1ae;\n    goto LAB_000da389;\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    uVar9 = AcquireExceptionInfo();\n    pcVar14 = "ZeroRegionSize";\n    uVar13 = 0x1ae;\n    goto LAB_000da389;\n  }" { (expression_statement "uVar9 = AcquireExceptionInfo();" (assignment_expression "uVar9 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar14 = "ZeroRegionSize";" (assignment_expression "pcVar14 = "ZeroRegionSize"" identifier = (string_literal ""ZeroRegionSize"" " string_content ")) ;) (expression_statement "uVar13 = 0x1ae;" (assignment_expression "uVar13 = 0x1ae" identifier = number_literal) ;) (goto_statement "goto LAB_000da389;" goto statement_identifier ;) })) (expression_statement "pIVar2 = GetImageFromMagickWand(wand);" (assignment_expression "pIVar2 = GetImageFromMagickWand(wand)" identifier = (call_expression "GetImageFromMagickWand(wand)" identifier (argument_list "(wand)" ( identifier )))) ;) (if_statement "if (pIVar2 != (Image *)0x0) {\n    pEVar3 = (ExceptionInfo *)AcquireExceptionInfo();\n    pCVar4 = (CacheView *)AcquireVirtualCacheView(pIVar2);\n    if (pCVar4 != (CacheView *)0x0) {\n      pPVar5 = (PixelIterator *)AcquireMagickMemory(0x1030);\n      if (pPVar5 == (PixelIterator *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,wand->name);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      pPVar11 = pPVar5;\n      for (iVar10 = 0x40c; iVar10 != 0; iVar10 = iVar10 + -1) {\n        pPVar11->id = 0;\n        pPVar11 = (PixelIterator *)((int)pPVar11 + (uint)bVar12 * -8 + 4);\n      }\n      sVar6 = AcquireWandId();\n      pPVar5->id = sVar6;\n      FormatLocaleString(pPVar5->name,0x1000,"%s-%.20g","PixelIterator",(double)sVar6);\n      pPVar5->exception = pEVar3;\n      pPVar5->view = pCVar4;\n      SetGeometry(pIVar2);\n      (pPVar5->region).width = width;\n      (pPVar5->region).height = height;\n      (pPVar5->region).x = x;\n      (pPVar5->region).y = y;\n      ppPVar7 = NewPixelWands(width);\n      pPVar5->y = 0;\n      pPVar5->pixel_wands = ppPVar7;\n      MVar8 = IsEventLogging();\n      pPVar5->debug = MVar8;\n      if (MVar8 != MagickFalse) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       pPVar5->name);\n      }\n      pPVar5->signature = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }" if (parenthesized_expression "(pIVar2 != (Image *)0x0)" ( (binary_expression "pIVar2 != (Image *)0x0" identifier != (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pEVar3 = (ExceptionInfo *)AcquireExceptionInfo();\n    pCVar4 = (CacheView *)AcquireVirtualCacheView(pIVar2);\n    if (pCVar4 != (CacheView *)0x0) {\n      pPVar5 = (PixelIterator *)AcquireMagickMemory(0x1030);\n      if (pPVar5 == (PixelIterator *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,wand->name);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      pPVar11 = pPVar5;\n      for (iVar10 = 0x40c; iVar10 != 0; iVar10 = iVar10 + -1) {\n        pPVar11->id = 0;\n        pPVar11 = (PixelIterator *)((int)pPVar11 + (uint)bVar12 * -8 + 4);\n      }\n      sVar6 = AcquireWandId();\n      pPVar5->id = sVar6;\n      FormatLocaleString(pPVar5->name,0x1000,"%s-%.20g","PixelIterator",(double)sVar6);\n      pPVar5->exception = pEVar3;\n      pPVar5->view = pCVar4;\n      SetGeometry(pIVar2);\n      (pPVar5->region).width = width;\n      (pPVar5->region).height = height;\n      (pPVar5->region).x = x;\n      (pPVar5->region).y = y;\n      ppPVar7 = NewPixelWands(width);\n      pPVar5->y = 0;\n      pPVar5->pixel_wands = ppPVar7;\n      MVar8 = IsEventLogging();\n      pPVar5->debug = MVar8;\n      if (MVar8 != MagickFalse) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       pPVar5->name);\n      }\n      pPVar5->signature = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }" { (expression_statement "pEVar3 = (ExceptionInfo *)AcquireExceptionInfo();" (assignment_expression "pEVar3 = (ExceptionInfo *)AcquireExceptionInfo()" identifier = (cast_expression "(ExceptionInfo *)AcquireExceptionInfo()" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( ))))) ;) (expression_statement "pCVar4 = (CacheView *)AcquireVirtualCacheView(pIVar2);" (assignment_expression "pCVar4 = (CacheView *)AcquireVirtualCacheView(pIVar2)" identifier = (cast_expression "(CacheView *)AcquireVirtualCacheView(pIVar2)" ( (type_descriptor "CacheView *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireVirtualCacheView(pIVar2)" identifier (argument_list "(pIVar2)" ( identifier ))))) ;) (if_statement "if (pCVar4 != (CacheView *)0x0) {\n      pPVar5 = (PixelIterator *)AcquireMagickMemory(0x1030);\n      if (pPVar5 == (PixelIterator *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,wand->name);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      pPVar11 = pPVar5;\n      for (iVar10 = 0x40c; iVar10 != 0; iVar10 = iVar10 + -1) {\n        pPVar11->id = 0;\n        pPVar11 = (PixelIterator *)((int)pPVar11 + (uint)bVar12 * -8 + 4);\n      }\n      sVar6 = AcquireWandId();\n      pPVar5->id = sVar6;\n      FormatLocaleString(pPVar5->name,0x1000,"%s-%.20g","PixelIterator",(double)sVar6);\n      pPVar5->exception = pEVar3;\n      pPVar5->view = pCVar4;\n      SetGeometry(pIVar2);\n      (pPVar5->region).width = width;\n      (pPVar5->region).height = height;\n      (pPVar5->region).x = x;\n      (pPVar5->region).y = y;\n      ppPVar7 = NewPixelWands(width);\n      pPVar5->y = 0;\n      pPVar5->pixel_wands = ppPVar7;\n      MVar8 = IsEventLogging();\n      pPVar5->debug = MVar8;\n      if (MVar8 != MagickFalse) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       pPVar5->name);\n      }\n      pPVar5->signature = 0xabacadab;\n      goto LAB_000da30f;\n    }" if (parenthesized_expression "(pCVar4 != (CacheView *)0x0)" ( (binary_expression "pCVar4 != (CacheView *)0x0" identifier != (cast_expression "(CacheView *)0x0" ( (type_descriptor "CacheView *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pPVar5 = (PixelIterator *)AcquireMagickMemory(0x1030);\n      if (pPVar5 == (PixelIterator *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,wand->name);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }\n      pPVar11 = pPVar5;\n      for (iVar10 = 0x40c; iVar10 != 0; iVar10 = iVar10 + -1) {\n        pPVar11->id = 0;\n        pPVar11 = (PixelIterator *)((int)pPVar11 + (uint)bVar12 * -8 + 4);\n      }\n      sVar6 = AcquireWandId();\n      pPVar5->id = sVar6;\n      FormatLocaleString(pPVar5->name,0x1000,"%s-%.20g","PixelIterator",(double)sVar6);\n      pPVar5->exception = pEVar3;\n      pPVar5->view = pCVar4;\n      SetGeometry(pIVar2);\n      (pPVar5->region).width = width;\n      (pPVar5->region).height = height;\n      (pPVar5->region).x = x;\n      (pPVar5->region).y = y;\n      ppPVar7 = NewPixelWands(width);\n      pPVar5->y = 0;\n      pPVar5->pixel_wands = ppPVar7;\n      MVar8 = IsEventLogging();\n      pPVar5->debug = MVar8;\n      if (MVar8 != MagickFalse) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       pPVar5->name);\n      }\n      pPVar5->signature = 0xabacadab;\n      goto LAB_000da30f;\n    }" { (expression_statement "pPVar5 = (PixelIterator *)AcquireMagickMemory(0x1030);" (assignment_expression "pPVar5 = (PixelIterator *)AcquireMagickMemory(0x1030)" identifier = (cast_expression "(PixelIterator *)AcquireMagickMemory(0x1030)" ( (type_descriptor "PixelIterator *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireMagickMemory(0x1030)" identifier (argument_list "(0x1030)" ( number_literal ))))) ;) (if_statement "if (pPVar5 == (PixelIterator *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,wand->name);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }" if (parenthesized_expression "(pPVar5 == (PixelIterator *)0x0)" ( (binary_expression "pPVar5 == (PixelIterator *)0x0" identifier == (cast_expression "(PixelIterator *)0x0" ( (type_descriptor "PixelIterator *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,wand->name);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    /* WARNING: Subroutine does not return */\n        _exit(1);\n      }" { (expression_statement "uVar1 = AcquireExceptionInfo();" (assignment_expression "uVar1 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,wand->name);" (call_expression "ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,wand->name)" identifier (argument_list "(uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,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_000e91ee" & identifier) , (field_expression "wand->name" identifier -> field_identifier) ))) ;) (expression_statement "CatchException(uVar1);" (call_expression "CatchException(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "DestroyExceptionInfo(uVar1);" (call_expression "DestroyExceptionInfo(uVar1)" identifier (argument_list "(uVar1)" ( 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 "pPVar11 = pPVar5;" (assignment_expression "pPVar11 = pPVar5" identifier = identifier) ;) (for_statement "for (iVar10 = 0x40c; iVar10 != 0; iVar10 = iVar10 + -1) {\n        pPVar11->id = 0;\n        pPVar11 = (PixelIterator *)((int)pPVar11 + (uint)bVar12 * -8 + 4);\n      }" for ( (assignment_expression "iVar10 = 0x40c" identifier = number_literal) ; (binary_expression "iVar10 != 0" identifier != number_literal) ; (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ) (compound_statement "{\n        pPVar11->id = 0;\n        pPVar11 = (PixelIterator *)((int)pPVar11 + (uint)bVar12 * -8 + 4);\n      }" { (expression_statement "pPVar11->id = 0;" (assignment_expression "pPVar11->id = 0" (field_expression "pPVar11->id" identifier -> field_identifier) = number_literal) ;) (expression_statement "pPVar11 = (PixelIterator *)((int)pPVar11 + (uint)bVar12 * -8 + 4);" (assignment_expression "pPVar11 = (PixelIterator *)((int)pPVar11 + (uint)bVar12 * -8 + 4)" identifier = (cast_expression "(PixelIterator *)((int)pPVar11 + (uint)bVar12 * -8 + 4)" ( (type_descriptor "PixelIterator *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pPVar11 + (uint)bVar12 * -8 + 4)" ( (binary_expression "(int)pPVar11 + (uint)bVar12 * -8 + 4" (binary_expression "(int)pPVar11 + (uint)bVar12 * -8" (cast_expression "(int)pPVar11" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar12 * -8" (cast_expression "(uint)bVar12" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) })) (expression_statement "sVar6 = AcquireWandId();" (assignment_expression "sVar6 = AcquireWandId()" identifier = (call_expression "AcquireWandId()" identifier (argument_list "()" ( )))) ;) (expression_statement "pPVar5->id = sVar6;" (assignment_expression "pPVar5->id = sVar6" (field_expression "pPVar5->id" identifier -> field_identifier) = identifier) ;) (expression_statement "FormatLocaleString(pPVar5->name,0x1000,"%s-%.20g","PixelIterator",(double)sVar6);" (call_expression "FormatLocaleString(pPVar5->name,0x1000,"%s-%.20g","PixelIterator",(double)sVar6)" identifier (argument_list "(pPVar5->name,0x1000,"%s-%.20g","PixelIterator",(double)sVar6)" ( (field_expression "pPVar5->name" identifier -> field_identifier) , number_literal , (string_literal ""%s-%.20g"" " string_content ") , (string_literal ""PixelIterator"" " string_content ") , (cast_expression "(double)sVar6" ( (type_descriptor "double" primitive_type) ) identifier) ))) ;) (expression_statement "pPVar5->exception = pEVar3;" (assignment_expression "pPVar5->exception = pEVar3" (field_expression "pPVar5->exception" identifier -> field_identifier) = identifier) ;) (expression_statement "pPVar5->view = pCVar4;" (assignment_expression "pPVar5->view = pCVar4" (field_expression "pPVar5->view" identifier -> field_identifier) = identifier) ;) (expression_statement "SetGeometry(pIVar2);" (call_expression "SetGeometry(pIVar2)" identifier (argument_list "(pIVar2)" ( identifier ))) ;) (expression_statement "(pPVar5->region).width = width;" (assignment_expression "(pPVar5->region).width = width" (field_expression "(pPVar5->region).width" (parenthesized_expression "(pPVar5->region)" ( (field_expression "pPVar5->region" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(pPVar5->region).height = height;" (assignment_expression "(pPVar5->region).height = height" (field_expression "(pPVar5->region).height" (parenthesized_expression "(pPVar5->region)" ( (field_expression "pPVar5->region" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(pPVar5->region).x = x;" (assignment_expression "(pPVar5->region).x = x" (field_expression "(pPVar5->region).x" (parenthesized_expression "(pPVar5->region)" ( (field_expression "pPVar5->region" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(pPVar5->region).y = y;" (assignment_expression "(pPVar5->region).y = y" (field_expression "(pPVar5->region).y" (parenthesized_expression "(pPVar5->region)" ( (field_expression "pPVar5->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 "pPVar5->y = 0;" (assignment_expression "pPVar5->y = 0" (field_expression "pPVar5->y" identifier -> field_identifier) = number_literal) ;) (expression_statement "pPVar5->pixel_wands = ppPVar7;" (assignment_expression "pPVar5->pixel_wands = ppPVar7" (field_expression "pPVar5->pixel_wands" identifier -> field_identifier) = identifier) ;) (expression_statement "MVar8 = IsEventLogging();" (assignment_expression "MVar8 = IsEventLogging()" identifier = (call_expression "IsEventLogging()" identifier (argument_list "()" ( )))) ;) (expression_statement "pPVar5->debug = MVar8;" (assignment_expression "pPVar5->debug = MVar8" (field_expression "pPVar5->debug" identifier -> field_identifier) = identifier) ;) (if_statement "if (MVar8 != MagickFalse) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       pPVar5->name);\n      }" if (parenthesized_expression "(MVar8 != MagickFalse)" ( (binary_expression "MVar8 != MagickFalse" identifier != identifier) )) (compound_statement "{\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       pPVar5->name);\n      }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       pPVar5->name);" (call_expression "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       pPVar5->name)" identifier (argument_list "(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       pPVar5->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 "pPVar5->name" identifier -> field_identifier) ))) ;) })) (expression_statement "pPVar5->signature = 0xabacadab;" (assignment_expression "pPVar5->signature = 0xabacadab" (field_expression "pPVar5->signature" identifier -> field_identifier) = number_literal) ;) (goto_statement "goto LAB_000da30f;" goto statement_identifier ;) })) })) (expression_statement "pPVar5 = (PixelIterator *)0x0;" (assignment_expression "pPVar5 = (PixelIterator *)0x0" identifier = (cast_expression "(PixelIterator *)0x0" ( (type_descriptor "PixelIterator *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_000da30f:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pPVar5;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pPVar5;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return pPVar5;\n  }" { (return_statement "return pPVar5;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "uint * NewPixelRegionIterator(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint *puVar9;\n  int in_GS_OFFSET;\n  byte bVar10;\n  undefined4 uVar11;\n  char *pcVar12;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar10 = 0;\n  uStack_14 = 0xda199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }\n  local_24 = 0x10;\n  uVar1 = GetMagickQuantumDepth(&local_24);\n  if (local_24 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    pcVar12 = "QuantumDepthMismatch";\n    uVar11 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);\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    pcVar12 = "ZeroRegionSize";\n    uVar11 = 0x1ae;\n    goto LAB_000da389;\n  }\n  iVar2 = GetImageFromMagickWand(param_1);\n  if (iVar2 != 0) {\n    uVar3 = AcquireExceptionInfo();\n    uVar4 = AcquireVirtualCacheView(iVar2);\n    if (uVar4 != 0) {\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }\n  puVar5 = (uint *)0x0;\nLAB_000da30f:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar5;\n  }\n                    \n  FUN_000e7d60();\n}\n\n" (function_definition "uint * NewPixelRegionIterator(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint *puVar9;\n  int in_GS_OFFSET;\n  byte bVar10;\n  undefined4 uVar11;\n  char *pcVar12;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar10 = 0;\n  uStack_14 = 0xda199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }\n  local_24 = 0x10;\n  uVar1 = GetMagickQuantumDepth(&local_24);\n  if (local_24 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    pcVar12 = "QuantumDepthMismatch";\n    uVar11 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);\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    pcVar12 = "ZeroRegionSize";\n    uVar11 = 0x1ae;\n    goto LAB_000da389;\n  }\n  iVar2 = GetImageFromMagickWand(param_1);\n  if (iVar2 != 0) {\n    uVar3 = AcquireExceptionInfo();\n    uVar4 = AcquireVirtualCacheView(iVar2);\n    if (uVar4 != 0) {\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }\n  puVar5 = (uint *)0x0;\nLAB_000da30f:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar5;\n  }\n                    \n  FUN_000e7d60();\n}" type_identifier (pointer_declarator "* NewPixelRegionIterator(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)" * (function_declarator "NewPixelRegionIterator(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)" identifier (parameter_list "(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "uint param_5" type_identifier identifier) )))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint *puVar9;\n  int in_GS_OFFSET;\n  byte bVar10;\n  undefined4 uVar11;\n  char *pcVar12;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar10 = 0;\n  uStack_14 = 0xda199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }\n  local_24 = 0x10;\n  uVar1 = GetMagickQuantumDepth(&local_24);\n  if (local_24 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    pcVar12 = "QuantumDepthMismatch";\n    uVar11 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);\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    pcVar12 = "ZeroRegionSize";\n    uVar11 = 0x1ae;\n    goto LAB_000da389;\n  }\n  iVar2 = GetImageFromMagickWand(param_1);\n  if (iVar2 != 0) {\n    uVar3 = AcquireExceptionInfo();\n    uVar4 = AcquireVirtualCacheView(iVar2);\n    if (uVar4 != 0) {\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }\n  puVar5 = (uint *)0x0;\nLAB_000da30f:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar5;\n  }\n                    \n  FUN_000e7d60();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar10;" type_identifier identifier ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "char *pcVar12;" primitive_type (pointer_declarator "*pcVar12" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar10 = 0;" (assignment_expression "bVar10 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0xda199;" (assignment_expression "uStack_14 = 0xda199" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" 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_24 = 0x10;" (assignment_expression "local_24 = 0x10" identifier = number_literal) ;) (expression_statement "uVar1 = GetMagickQuantumDepth(&local_24);" (assignment_expression "uVar1 = GetMagickQuantumDepth(&local_24)" identifier = (call_expression "GetMagickQuantumDepth(&local_24)" identifier (argument_list "(&local_24)" ( (pointer_expression "&local_24" & identifier) )))) ;) (if_statement "if (local_24 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    pcVar12 = "QuantumDepthMismatch";\n    uVar11 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }" if (parenthesized_expression "(local_24 != 0x10)" ( (binary_expression "local_24 != 0x10" identifier != number_literal) )) (compound_statement "{\n    uVar7 = AcquireExceptionInfo();\n    pcVar12 = "QuantumDepthMismatch";\n    uVar11 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);\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 "pcVar12 = "QuantumDepthMismatch";" (assignment_expression "pcVar12 = "QuantumDepthMismatch"" identifier = (string_literal ""QuantumDepthMismatch"" " string_content ")) ;) (expression_statement "uVar11 = 0x1ac;" (assignment_expression "uVar11 = 0x1ac" identifier = number_literal) ;) (labeled_statement "LAB_000da389:\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);" statement_identifier : (expression_statement "ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);" (call_expression "ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1)" identifier (argument_list "(uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1)" ( identifier , (string_literal ""MagickWand/pixel-iterator.c"" " string_content ") , (string_literal ""NewPixelRegionIterator"" " string_content ") , identifier , (call_expression "CONCAT44(pcVar12,0x1d6)" identifier (argument_list "(pcVar12,0x1d6)" ( identifier , number_literal ))) , (pointer_expression "&DAT_000e91ee" & 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    pcVar12 = "ZeroRegionSize";\n    uVar11 = 0x1ae;\n    goto LAB_000da389;\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    pcVar12 = "ZeroRegionSize";\n    uVar11 = 0x1ae;\n    goto LAB_000da389;\n  }" { (expression_statement "uVar7 = AcquireExceptionInfo();" (assignment_expression "uVar7 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar12 = "ZeroRegionSize";" (assignment_expression "pcVar12 = "ZeroRegionSize"" identifier = (string_literal ""ZeroRegionSize"" " string_content ")) ;) (expression_statement "uVar11 = 0x1ae;" (assignment_expression "uVar11 = 0x1ae" identifier = number_literal) ;) (goto_statement "goto LAB_000da389;" goto statement_identifier ;) })) (expression_statement "iVar2 = GetImageFromMagickWand(param_1);" (assignment_expression "iVar2 = GetImageFromMagickWand(param_1)" identifier = (call_expression "GetImageFromMagickWand(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) {\n    uVar3 = AcquireExceptionInfo();\n    uVar4 = AcquireVirtualCacheView(iVar2);\n    if (uVar4 != 0) {\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar3 = AcquireExceptionInfo();\n    uVar4 = AcquireVirtualCacheView(iVar2);\n    if (uVar4 != 0) {\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }" { (expression_statement "uVar3 = AcquireExceptionInfo();" (assignment_expression "uVar3 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar4 = AcquireVirtualCacheView(iVar2);" (assignment_expression "uVar4 = AcquireVirtualCacheView(iVar2)" identifier = (call_expression "AcquireVirtualCacheView(iVar2)" identifier (argument_list "(iVar2)" ( identifier )))) ;) (if_statement "if (uVar4 != 0) {\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }" if (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }" { (expression_statement "puVar5 = (uint *)AcquireMagickMemory(0x1030);" (assignment_expression "puVar5 = (uint *)AcquireMagickMemory(0x1030)" identifier = (cast_expression "(uint *)AcquireMagickMemory(0x1030)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireMagickMemory(0x1030)" identifier (argument_list "(0x1030)" ( number_literal ))))) ;) (if_statement "if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }" if (parenthesized_expression "(puVar5 == (uint *)0x0)" ( (binary_expression "puVar5 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }" { (expression_statement "uVar1 = AcquireExceptionInfo();" (assignment_expression "uVar1 = AcquireExceptionInfo()" identifier = (call_expression "AcquireExceptionInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);" (call_expression "ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4)" identifier (argument_list "(uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4)" ( 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_000e91ee" & identifier) , (binary_expression "param_1 + 4" identifier + number_literal) ))) ;) (expression_statement "CatchException(uVar1);" (call_expression "CatchException(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "DestroyExceptionInfo(uVar1);" (call_expression "DestroyExceptionInfo(uVar1)" identifier (argument_list "(uVar1)" ( 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 "puVar9 = puVar5;" (assignment_expression "puVar9 = puVar5" identifier = identifier) ;) (for_statement "for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }" for ( (assignment_expression "iVar8 = 0x40c" identifier = number_literal) ; (binary_expression "iVar8 != 0" identifier != number_literal) ; (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ) (compound_statement "{\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }" { (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar10 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar10 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar10 * -2 + 1" (binary_expression "puVar9 + (uint)bVar10 * -2" identifier + (binary_expression "(uint)bVar10 * -2" (cast_expression "(uint)bVar10" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "uVar6 = AcquireWandId();" (assignment_expression "uVar6 = AcquireWandId()" identifier = (call_expression "AcquireWandId()" identifier (argument_list "()" ( )))) ;) (expression_statement "*puVar5 = uVar6;" (assignment_expression "*puVar5 = uVar6" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);" (call_expression "FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6)" identifier (argument_list "(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6)" ( (binary_expression "puVar5 + 1" identifier + number_literal) , number_literal , (string_literal ""%s-%.20g"" " string_content ") , (string_literal ""PixelIterator"" " string_content ") , (cast_expression "(double)uVar6" ( (type_descriptor "double" primitive_type) ) identifier) ))) ;) (expression_statement "puVar5[0x401] = uVar3;" (assignment_expression "puVar5[0x401] = uVar3" (subscript_expression "puVar5[0x401]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[0x402] = uVar4;" (assignment_expression "puVar5[0x402] = uVar4" (subscript_expression "puVar5[0x402]" identifier [ number_literal ]) = identifier) ;) (expression_statement "SetGeometry(iVar2,puVar5 + 0x403);" (call_expression "SetGeometry(iVar2,puVar5 + 0x403)" identifier (argument_list "(iVar2,puVar5 + 0x403)" ( identifier , (binary_expression "puVar5 + 0x403" identifier + number_literal) ))) ;) (expression_statement "puVar5[0x403] = param_4;" (assignment_expression "puVar5[0x403] = param_4" (subscript_expression "puVar5[0x403]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[0x404] = param_5;" (assignment_expression "puVar5[0x404] = param_5" (subscript_expression "puVar5[0x404]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[0x405] = param_2;" (assignment_expression "puVar5[0x405] = param_2" (subscript_expression "puVar5[0x405]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[0x406] = param_3;" (assignment_expression "puVar5[0x406] = param_3" (subscript_expression "puVar5[0x406]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar3 = NewPixelWands(param_4);" (assignment_expression "uVar3 = NewPixelWands(param_4)" identifier = (call_expression "NewPixelWands(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "puVar5[0x408] = 0;" (assignment_expression "puVar5[0x408] = 0" (subscript_expression "puVar5[0x408]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5[0x409] = uVar3;" (assignment_expression "puVar5[0x409] = uVar3" (subscript_expression "puVar5[0x409]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar3 = IsEventLogging();" (assignment_expression "uVar3 = IsEventLogging()" identifier = (call_expression "IsEventLogging()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar5[0x40a] = uVar3;" (assignment_expression "puVar5[0x40a] = uVar3" (subscript_expression "puVar5[0x40a]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }" { (expression_statement "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);" (call_expression "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1)" identifier (argument_list "(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 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 "puVar5 + 1" identifier + number_literal) ))) ;) })) (expression_statement "puVar5[0x40b] = 0xabacadab;" (assignment_expression "puVar5[0x40b] = 0xabacadab" (subscript_expression "puVar5[0x40b]" identifier [ number_literal ]) = number_literal) ;) (goto_statement "goto LAB_000da30f;" goto statement_identifier ;) })) })) (expression_statement "puVar5 = (uint *)0x0;" (assignment_expression "puVar5 = (uint *)0x0" identifier = (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_000da30f:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar5;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar5;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return puVar5;\n  }" { (return_statement "return puVar5;" return identifier ;) }))) (expression_statement "FUN_000e7d60();" (call_expression "FUN_000e7d60()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE 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 TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (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 (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (string_literal " string_content ") , IDENT , (call_expression IDENT (argument_list ( IDENT , LIT ))) , (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 (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (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 = (call_expression IDENT (argument_list ( )))) ;) (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 *)) ) (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 (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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 ( (binary_expression IDENT + LIT) , LIT , (string_literal " string_content ") , (string_literal " string_content ") , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) (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 ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_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) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "uint * NewPixelRegionIterator(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint *puVar9;\n  int in_GS_OFFSET;\n  byte bVar10;\n  undefined4 uVar11;\n  char *pcVar12;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar10 = 0;\n  uStack_14 = 0xda199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }\n  local_24 = 0x10;\n  uVar1 = GetMagickQuantumDepth(&local_24);\n  if (local_24 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    pcVar12 = "QuantumDepthMismatch";\n    uVar11 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);\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    pcVar12 = "ZeroRegionSize";\n    uVar11 = 0x1ae;\n    goto LAB_000da389;\n  }\n  iVar2 = GetImageFromMagickWand(param_1);\n  if (iVar2 != 0) {\n    uVar3 = AcquireExceptionInfo();\n    uVar4 = AcquireVirtualCacheView(iVar2);\n    if (uVar4 != 0) {\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }\n  puVar5 = (uint *)0x0;\nLAB_000da30f:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar5;\n  }\n                    \n  FUN_000e7d60();\n}" (type_identifier "uint") (pointer_declarator "* NewPixelRegionIterator(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)" (* "*") (function_declarator "NewPixelRegionIterator(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)" (identifier "NewPixelRegionIterator") (parameter_list "(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) (, ",") (parameter_declaration "uint param_5" (type_identifier "uint") (identifier "param_5")) () ")")))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint *puVar9;\n  int in_GS_OFFSET;\n  byte bVar10;\n  undefined4 uVar11;\n  char *pcVar12;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar10 = 0;\n  uStack_14 = 0xda199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,\n                  "NewPixelRegionIterator");\n  }\n  local_24 = 0x10;\n  uVar1 = GetMagickQuantumDepth(&local_24);\n  if (local_24 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    pcVar12 = "QuantumDepthMismatch";\n    uVar11 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);\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    pcVar12 = "ZeroRegionSize";\n    uVar11 = 0x1ae;\n    goto LAB_000da389;\n  }\n  iVar2 = GetImageFromMagickWand(param_1);\n  if (iVar2 != 0) {\n    uVar3 = AcquireExceptionInfo();\n    uVar4 = AcquireVirtualCacheView(iVar2);\n    if (uVar4 != 0) {\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }\n  puVar5 = (uint *)0x0;\nLAB_000da30f:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar5;\n  }\n                    \n  FUN_000e7d60();\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint *puVar5;" (type_identifier "uint") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "uint *puVar9;" (type_identifier "uint") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "byte bVar10;" (type_identifier "byte") (identifier "bVar10") (; ";")) (declaration "undefined4 uVar11;" (type_identifier "undefined4") (identifier "uVar11") (; ";")) (declaration "char *pcVar12;" (primitive_type "char") (pointer_declarator "*pcVar12" (* "*") (identifier "pcVar12")) (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "bVar10 = 0;" (assignment_expression "bVar10 = 0" (identifier "bVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_14 = 0xda199;" (assignment_expression "uStack_14 = 0xda199" (identifier "uStack_14") (= "=") (number_literal "0xda199")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (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_24 = 0x10;" (assignment_expression "local_24 = 0x10" (identifier "local_24") (= "=") (number_literal "0x10")) (; ";")) (expression_statement "uVar1 = GetMagickQuantumDepth(&local_24);" (assignment_expression "uVar1 = GetMagickQuantumDepth(&local_24)" (identifier "uVar1") (= "=") (call_expression "GetMagickQuantumDepth(&local_24)" (identifier "GetMagickQuantumDepth") (argument_list "(&local_24)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")")))) (; ";")) (if_statement "if (local_24 != 0x10) {\n    uVar7 = AcquireExceptionInfo();\n    pcVar12 = "QuantumDepthMismatch";\n    uVar11 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);\n    CatchException(uVar7);\n    DestroyExceptionInfo(uVar7);\n    MagickWandTerminus();\n                    \n    _exit(-0xe5);\n  }" (if "if") (parenthesized_expression "(local_24 != 0x10)" (( "(") (binary_expression "local_24 != 0x10" (identifier "local_24") (!= "!=") (number_literal "0x10")) () ")")) (compound_statement "{\n    uVar7 = AcquireExceptionInfo();\n    pcVar12 = "QuantumDepthMismatch";\n    uVar11 = 0x1ac;\nLAB_000da389:\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);\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 "pcVar12 = "QuantumDepthMismatch";" (assignment_expression "pcVar12 = "QuantumDepthMismatch"" (identifier "pcVar12") (= "=") (string_literal ""QuantumDepthMismatch"" (" """) (string_content "QuantumDepthMismatch") (" """))) (; ";")) (expression_statement "uVar11 = 0x1ac;" (assignment_expression "uVar11 = 0x1ac" (identifier "uVar11") (= "=") (number_literal "0x1ac")) (; ";")) (labeled_statement "LAB_000da389:\n    ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);" (statement_identifier "LAB_000da389") (: ":") (expression_statement "ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);" (call_expression "ThrowMagickException\n              (uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1)" (identifier "ThrowMagickException") (argument_list "(uVar7,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar11,\n               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1)" (( "(") (identifier "uVar7") (, ",") (string_literal ""MagickWand/pixel-iterator.c"" (" """) (string_content "MagickWand/pixel-iterator.c") (" """)) (, ",") (string_literal ""NewPixelRegionIterator"" (" """) (string_content "NewPixelRegionIterator") (" """)) (, ",") (identifier "uVar11") (, ",") (call_expression "CONCAT44(pcVar12,0x1d6)" (identifier "CONCAT44") (argument_list "(pcVar12,0x1d6)" (( "(") (identifier "pcVar12") (, ",") (number_literal "0x1d6") () ")"))) (, ",") (pointer_expression "&DAT_000e91ee" (& "&") (identifier "DAT_000e91ee")) (, ",") (identifier "uVar1") () ")"))) (; ";"))) (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    pcVar12 = "ZeroRegionSize";\n    uVar11 = 0x1ae;\n    goto LAB_000da389;\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    pcVar12 = "ZeroRegionSize";\n    uVar11 = 0x1ae;\n    goto LAB_000da389;\n  }" ({ "{") (expression_statement "uVar7 = AcquireExceptionInfo();" (assignment_expression "uVar7 = AcquireExceptionInfo()" (identifier "uVar7") (= "=") (call_expression "AcquireExceptionInfo()" (identifier "AcquireExceptionInfo") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pcVar12 = "ZeroRegionSize";" (assignment_expression "pcVar12 = "ZeroRegionSize"" (identifier "pcVar12") (= "=") (string_literal ""ZeroRegionSize"" (" """) (string_content "ZeroRegionSize") (" """))) (; ";")) (expression_statement "uVar11 = 0x1ae;" (assignment_expression "uVar11 = 0x1ae" (identifier "uVar11") (= "=") (number_literal "0x1ae")) (; ";")) (goto_statement "goto LAB_000da389;" (goto "goto") (statement_identifier "LAB_000da389") (; ";")) (} "}"))) (expression_statement "iVar2 = GetImageFromMagickWand(param_1);" (assignment_expression "iVar2 = GetImageFromMagickWand(param_1)" (identifier "iVar2") (= "=") (call_expression "GetImageFromMagickWand(param_1)" (identifier "GetImageFromMagickWand") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n    uVar3 = AcquireExceptionInfo();\n    uVar4 = AcquireVirtualCacheView(iVar2);\n    if (uVar4 != 0) {\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = AcquireExceptionInfo();\n    uVar4 = AcquireVirtualCacheView(iVar2);\n    if (uVar4 != 0) {\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }\n  }" ({ "{") (expression_statement "uVar3 = AcquireExceptionInfo();" (assignment_expression "uVar3 = AcquireExceptionInfo()" (identifier "uVar3") (= "=") (call_expression "AcquireExceptionInfo()" (identifier "AcquireExceptionInfo") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar4 = AcquireVirtualCacheView(iVar2);" (assignment_expression "uVar4 = AcquireVirtualCacheView(iVar2)" (identifier "uVar4") (= "=") (call_expression "AcquireVirtualCacheView(iVar2)" (identifier "AcquireVirtualCacheView") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")")))) (; ";")) (if_statement "if (uVar4 != 0) {\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }" (if "if") (parenthesized_expression "(uVar4 != 0)" (( "(") (binary_expression "uVar4 != 0" (identifier "uVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      puVar5 = (uint *)AcquireMagickMemory(0x1030);\n      if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }\n      puVar9 = puVar5;\n      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }\n      uVar6 = AcquireWandId();\n      *puVar5 = uVar6;\n      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);\n      puVar5[0x401] = uVar3;\n      puVar5[0x402] = uVar4;\n      SetGeometry(iVar2,puVar5 + 0x403);\n      puVar5[0x403] = param_4;\n      puVar5[0x404] = param_5;\n      puVar5[0x405] = param_2;\n      puVar5[0x406] = param_3;\n      uVar3 = NewPixelWands(param_4);\n      puVar5[0x408] = 0;\n      puVar5[0x409] = uVar3;\n      uVar3 = IsEventLogging();\n      puVar5[0x40a] = uVar3;\n      if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }\n      puVar5[0x40b] = 0xabacadab;\n      goto LAB_000da30f;\n    }" ({ "{") (expression_statement "puVar5 = (uint *)AcquireMagickMemory(0x1030);" (assignment_expression "puVar5 = (uint *)AcquireMagickMemory(0x1030)" (identifier "puVar5") (= "=") (cast_expression "(uint *)AcquireMagickMemory(0x1030)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "AcquireMagickMemory(0x1030)" (identifier "AcquireMagickMemory") (argument_list "(0x1030)" (( "(") (number_literal "0x1030") () ")"))))) (; ";")) (if_statement "if (puVar5 == (uint *)0x0) {\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }" (if "if") (parenthesized_expression "(puVar5 == (uint *)0x0)" (( "(") (binary_expression "puVar5 == (uint *)0x0" (identifier "puVar5") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        uVar1 = AcquireExceptionInfo();\n        ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);\n        CatchException(uVar1);\n        DestroyExceptionInfo(uVar1);\n        MagickWandTerminus();\n                    \n        _exit(1);\n      }" ({ "{") (expression_statement "uVar1 = AcquireExceptionInfo();" (assignment_expression "uVar1 = AcquireExceptionInfo()" (identifier "uVar1") (= "=") (call_expression "AcquireExceptionInfo()" (identifier "AcquireExceptionInfo") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);" (call_expression "ThrowMagickException\n                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4)" (identifier "ThrowMagickException") (argument_list "(uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,\n                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4)" (( "(") (identifier "uVar1") (, ",") (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_000e91ee" (& "&") (identifier "DAT_000e91ee")) (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (expression_statement "CatchException(uVar1);" (call_expression "CatchException(uVar1)" (identifier "CatchException") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "DestroyExceptionInfo(uVar1);" (call_expression "DestroyExceptionInfo(uVar1)" (identifier "DestroyExceptionInfo") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (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 "puVar9 = puVar5;" (assignment_expression "puVar9 = puVar5" (identifier "puVar9") (= "=") (identifier "puVar5")) (; ";")) (for_statement "for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }" (for "for") (( "(") (assignment_expression "iVar8 = 0x40c" (identifier "iVar8") (= "=") (number_literal "0x40c")) (; ";") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar8 = iVar8 + -1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;\n      }" ({ "{") (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar9 = puVar9 + (uint)bVar10 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar10 * -2 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + (uint)bVar10 * -2 + 1" (binary_expression "puVar9 + (uint)bVar10 * -2" (identifier "puVar9") (+ "+") (binary_expression "(uint)bVar10 * -2" (cast_expression "(uint)bVar10" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar10")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar6 = AcquireWandId();" (assignment_expression "uVar6 = AcquireWandId()" (identifier "uVar6") (= "=") (call_expression "AcquireWandId()" (identifier "AcquireWandId") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*puVar5 = uVar6;" (assignment_expression "*puVar5 = uVar6" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);" (call_expression "FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6)" (identifier "FormatLocaleString") (argument_list "(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6)" (( "(") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1")) (, ",") (number_literal "0x1000") (, ",") (string_literal ""%s-%.20g"" (" """) (string_content "%s-%.20g") (" """)) (, ",") (string_literal ""PixelIterator"" (" """) (string_content "PixelIterator") (" """)) (, ",") (cast_expression "(double)uVar6" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "uVar6")) () ")"))) (; ";")) (expression_statement "puVar5[0x401] = uVar3;" (assignment_expression "puVar5[0x401] = uVar3" (subscript_expression "puVar5[0x401]" (identifier "puVar5") ([ "[") (number_literal "0x401") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "puVar5[0x402] = uVar4;" (assignment_expression "puVar5[0x402] = uVar4" (subscript_expression "puVar5[0x402]" (identifier "puVar5") ([ "[") (number_literal "0x402") (] "]")) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "SetGeometry(iVar2,puVar5 + 0x403);" (call_expression "SetGeometry(iVar2,puVar5 + 0x403)" (identifier "SetGeometry") (argument_list "(iVar2,puVar5 + 0x403)" (( "(") (identifier "iVar2") (, ",") (binary_expression "puVar5 + 0x403" (identifier "puVar5") (+ "+") (number_literal "0x403")) () ")"))) (; ";")) (expression_statement "puVar5[0x403] = param_4;" (assignment_expression "puVar5[0x403] = param_4" (subscript_expression "puVar5[0x403]" (identifier "puVar5") ([ "[") (number_literal "0x403") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "puVar5[0x404] = param_5;" (assignment_expression "puVar5[0x404] = param_5" (subscript_expression "puVar5[0x404]" (identifier "puVar5") ([ "[") (number_literal "0x404") (] "]")) (= "=") (identifier "param_5")) (; ";")) (expression_statement "puVar5[0x405] = param_2;" (assignment_expression "puVar5[0x405] = param_2" (subscript_expression "puVar5[0x405]" (identifier "puVar5") ([ "[") (number_literal "0x405") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "puVar5[0x406] = param_3;" (assignment_expression "puVar5[0x406] = param_3" (subscript_expression "puVar5[0x406]" (identifier "puVar5") ([ "[") (number_literal "0x406") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "uVar3 = NewPixelWands(param_4);" (assignment_expression "uVar3 = NewPixelWands(param_4)" (identifier "uVar3") (= "=") (call_expression "NewPixelWands(param_4)" (identifier "NewPixelWands") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")")))) (; ";")) (expression_statement "puVar5[0x408] = 0;" (assignment_expression "puVar5[0x408] = 0" (subscript_expression "puVar5[0x408]" (identifier "puVar5") ([ "[") (number_literal "0x408") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5[0x409] = uVar3;" (assignment_expression "puVar5[0x409] = uVar3" (subscript_expression "puVar5[0x409]" (identifier "puVar5") ([ "[") (number_literal "0x409") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "uVar3 = IsEventLogging();" (assignment_expression "uVar3 = IsEventLogging()" (identifier "uVar3") (= "=") (call_expression "IsEventLogging()" (identifier "IsEventLogging") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar5[0x40a] = uVar3;" (assignment_expression "puVar5[0x40a] = uVar3" (subscript_expression "puVar5[0x40a]" (identifier "puVar5") ([ "[") (number_literal "0x40a") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (if_statement "if (uVar3 != 0) {\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }" (if "if") (parenthesized_expression "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);\n      }" ({ "{") (expression_statement "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1);" (call_expression "LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 1)" (identifier "LogMagickEvent") (argument_list "(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",\n                       puVar5 + 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 "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1")) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar5[0x40b] = 0xabacadab;" (assignment_expression "puVar5[0x40b] = 0xabacadab" (subscript_expression "puVar5[0x40b]" (identifier "puVar5") ([ "[") (number_literal "0x40b") (] "]")) (= "=") (number_literal "0xabacadab")) (; ";")) (goto_statement "goto LAB_000da30f;" (goto "goto") (statement_identifier "LAB_000da30f") (; ";")) (} "}"))) (} "}"))) (expression_statement "puVar5 = (uint *)0x0;" (assignment_expression "puVar5 = (uint *)0x0" (identifier "puVar5") (= "=") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (labeled_statement "LAB_000da30f:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar5;\n  }" (statement_identifier "LAB_000da30f") (: ":") (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar5;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return puVar5;\n  }" ({ "{") (return_statement "return puVar5;" (return "return") (identifier "puVar5") (; ";")) (} "}")))) (expression_statement "FUN_000e7d60();" (call_expression "FUN_000e7d60()" (identifier "FUN_000e7d60") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* 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_13,size_t var_14)

{
  type_3 uVar1;
  type_4 *var_16;
  type_5 *pEVar3;
  type_6 *var_18;
  type_1 *var_20;
  size_t sVar6;
  type_7 **ppPVar7;
  type_8 var_27;
  type_3 uVar9;
  int var_21;
  type_1 *pPVar11;
  int var_1;
  type_9 bVar12;
  type_3 uVar13;
  char *pcVar14;
  size_t var_5;
  int var_30;
  type_3 uStack_14;
  
  bVar12 = 0;
  uStack_14 = 0xda199;
  var_30 = *(int *)(var_1 + 0x14);
  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;
  uVar1 = var_4(&var_5);
  if (var_5 != 0x10) {
    uVar9 = var_6();
    pcVar14 = "QuantumDepthMismatch";
    uVar13 = 0x1ac;
LAB_000da389:
    var_7
              (uVar9,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",uVar13,
               var_8(pcVar14,0x1d6),&DAT_000e91ee,uVar1);
    var_9(uVar9);
    var_10(uVar9);
    var_11();
                    /* WARNING: Subroutine does not return */
    var_12(-0xe5);
  }
  if ((var_13 == 0) || (var_14 == 0)) {
    uVar9 = var_6();
    pcVar14 = "ZeroRegionSize";
    uVar13 = 0x1ae;
    goto LAB_000da389;
  }
  var_16 = var_15(var_2);
  if (var_16 != (type_4 *)0x0) {
    pEVar3 = (type_5 *)var_6();
    var_18 = (type_6 *)var_17(var_16);
    if (var_18 != (type_6 *)0x0) {
      var_20 = (type_1 *)var_19(0x1030);
      if (var_20 == (type_1 *)0x0) {
        uVar1 = var_6();
        var_7
                  (uVar1,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1b9,700,
                   "MemoryAllocationFailed",&DAT_000e91ee,var_2->name);
        var_9(uVar1);
        var_10(uVar1);
        var_11();
                    /* WARNING: Subroutine does not return */
        var_12(1);
      }
      pPVar11 = var_20;
      for (var_21 = 0x40c; var_21 != 0; var_21 = var_21 + -1) {
        pPVar11->id = 0;
        pPVar11 = (type_1 *)((int)pPVar11 + (type_10)bVar12 * -8 + 4);
      }
      sVar6 = var_22();
      var_20->id = sVar6;
      var_23(var_20->name,0x1000,"%s-%.20g","PixelIterator",(double)sVar6);
      var_20->exception = pEVar3;
      var_20->view = var_18;
      var_24(var_16);
      (var_20->region).var_13 = var_13;
      (var_20->region).var_14 = var_14;
      (var_20->region).x = x;
      (var_20->region).y = y;
      ppPVar7 = var_25(var_13);
      var_20->y = 0;
      var_20->pixel_wands = ppPVar7;
      var_27 = var_26();
      var_20->debug = var_27;
      if (var_27 != var_28) {
        var_29(0x40000,"MagickWand/pixel-iterator.c","NewPixelRegionIterator",0x1c9,"%s",
                       var_20->name);
      }
      var_20->signature = 0xabacadab;
      goto LAB_000da30f;
    }
  }
  var_20 = (type_1 *)0x0;
LAB_000da30f:
  if (var_30 == *(int *)(var_1 + 0x14)) {
    return var_20;
  }
                    /* WARNING: Subroutine does not return */
  var_31();
}


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

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

uint * MASKED(int param_1,uint param_2,uint param_3,uint param_4,uint param_5)

{
  undefined4 uVar1;
  int iVar2;
  uint uVar3;
  uint uVar4;
  uint *puVar5;
  uint uVar6;
  undefined4 uVar7;
  int iVar8;
  uint *puVar9;
  int in_GS_OFFSET;
  byte bVar10;
  undefined4 uVar11;
  char *pcVar12;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  bVar10 = 0;
  uStack_14 = 0xda199;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("wand != (MagickWand *) NULL","MagickWand/pixel-iterator.c",0x1a8,
                  "MASKED");
  }
  local_24 = 0x10;
  uVar1 = GetMagickQuantumDepth(&local_24);
  if (local_24 != 0x10) {
    uVar7 = AcquireExceptionInfo();
    pcVar12 = "QuantumDepthMismatch";
    uVar11 = 0x1ac;
LAB_000da389:
    ThrowMagickException
              (uVar7,"MagickWand/pixel-iterator.c","MASKED",uVar11,
               CONCAT44(pcVar12,0x1d6),&DAT_000e91ee,uVar1);
    CatchException(uVar7);
    DestroyExceptionInfo(uVar7);
    MagickWandTerminus();
                    /* WARNING: Subroutine does not return */
    _exit(-0xe5);
  }
  if ((param_4 == 0) || (param_5 == 0)) {
    uVar7 = AcquireExceptionInfo();
    pcVar12 = "ZeroRegionSize";
    uVar11 = 0x1ae;
    goto LAB_000da389;
  }
  iVar2 = GetImageFromMagickWand(param_1);
  if (iVar2 != 0) {
    uVar3 = AcquireExceptionInfo();
    uVar4 = AcquireVirtualCacheView(iVar2);
    if (uVar4 != 0) {
      puVar5 = (uint *)AcquireMagickMemory(0x1030);
      if (puVar5 == (uint *)0x0) {
        uVar1 = AcquireExceptionInfo();
        ThrowMagickException
                  (uVar1,"MagickWand/pixel-iterator.c","MASKED",0x1b9,700,
                   "MemoryAllocationFailed",&DAT_000e91ee,param_1 + 4);
        CatchException(uVar1);
        DestroyExceptionInfo(uVar1);
        MagickWandTerminus();
                    /* WARNING: Subroutine does not return */
        _exit(1);
      }
      puVar9 = puVar5;
      for (iVar8 = 0x40c; iVar8 != 0; iVar8 = iVar8 + -1) {
        *puVar9 = 0;
        puVar9 = puVar9 + (uint)bVar10 * -2 + 1;
      }
      uVar6 = AcquireWandId();
      *puVar5 = uVar6;
      FormatLocaleString(puVar5 + 1,0x1000,"%s-%.20g","PixelIterator",(double)uVar6);
      puVar5[0x401] = uVar3;
      puVar5[0x402] = uVar4;
      SetGeometry(iVar2,puVar5 + 0x403);
      puVar5[0x403] = param_4;
      puVar5[0x404] = param_5;
      puVar5[0x405] = param_2;
      puVar5[0x406] = param_3;
      uVar3 = NewPixelWands(param_4);
      puVar5[0x408] = 0;
      puVar5[0x409] = uVar3;
      uVar3 = IsEventLogging();
      puVar5[0x40a] = uVar3;
      if (uVar3 != 0) {
        LogMagickEvent(0x40000,"MagickWand/pixel-iterator.c","MASKED",0x1c9,"%s",
                       puVar5 + 1);
      }
      puVar5[0x40b] = 0xabacadab;
      goto LAB_000da30f;
    }
  }
  puVar5 = (uint *)0x0;
LAB_000da30f:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return puVar5;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000e7d60();
}

