
/* 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 */
/* WARNING: Enum "LogEventType": Some values do not have unique names */

MagickBooleanType
FunctionImage(Image *image,MagickFunction function,size_t number_parameters,double *parameters,
             ExceptionInfo *exception)

{
  size_t sVar1;
  bool bVar2;
  MagickBooleanType MVar3;
  CacheView *cache_view;
  CacheType CVar4;
  int iVar5;
  size_t sVar6;
  int in_GS_OFFSET;
  MagickSizeType MVar7;
  MagickOffsetType progress;
  Image *local_40;
  MagickFunction local_3c;
  size_t local_38;
  double *local_34;
  ExceptionInfo *local_30;
  CacheView *local_2c;
  MagickBooleanType local_28;
  MagickOffsetType *local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x1911a9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (image == (Image *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");
  }
  if (image->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,
                  "FunctionImage");
  }
  if (image->debug != MagickFalse) {
    LogMagickEvent(TraceEvent,"MagickCore/statistic.c","FunctionImage",0x445,"%s",image->filename);
  }
  if (exception == (ExceptionInfo *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,
                  "FunctionImage");
  }
  if (exception->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,
                  "FunctionImage");
  }
  MVar3 = SetImageStorageClass(image,DirectClass,exception);
  if (MVar3 == MagickFalse) goto LAB_0019121a;
  progress._0_4_ = 0;
  progress._4_4_ = 0;
  cache_view = AcquireAuthenticCacheView(image,exception);
  CVar4 = GetImagePixelCacheType(image);
  if (((CVar4 == MemoryCache) || (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)) &&
     ((CVar4 = GetImagePixelCacheType(image), CVar4 == MemoryCache ||
      (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)))) {
    MVar7 = GetMagickResourceLimit(ThreadResource);
    sVar1 = image->rows;
    sVar6 = sVar1 + 0x3f;
    if (-1 < (int)sVar1) {
      sVar6 = sVar1;
    }
    bVar2 = 0x7f < (int)sVar1;
    if ((int)MVar7 < (int)sVar6 >> 6) {
      MVar7 = GetMagickResourceLimit(ThreadResource);
      bVar2 = 1 < (int)MVar7;
    }
    if (bVar2) {
      MVar7 = GetMagickResourceLimit(ThreadResource);
      sVar1 = image->rows;
      sVar6 = sVar1 + 0x3f;
      if (-1 < (int)sVar1) {
        sVar6 = sVar1;
      }
      iVar5 = (int)sVar6 >> 6;
      if ((int)MVar7 < iVar5) {
        MVar7 = GetMagickResourceLimit(ThreadResource);
        iVar5 = (int)MVar7;
      }
    }
    else {
LAB_00191391:
      iVar5 = 1;
    }
  }
  else {
    MVar7 = GetMagickResourceLimit(ThreadResource);
    if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) {
      MVar7 = GetMagickResourceLimit(ThreadResource);
      if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) goto LAB_00191391;
    }
    MVar7 = GetMagickResourceLimit(ThreadResource);
    if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) {
      MVar7 = GetMagickResourceLimit(ThreadResource);
      iVar5 = (int)MVar7;
    }
    else {
      iVar5 = 2;
    }
  }
  local_30 = exception;
  local_34 = parameters;
  local_40 = image;
  local_28 = MagickTrue;
  local_38 = number_parameters;
  local_3c = function;
  local_24 = &progress;
  local_2c = cache_view;
  GOMP_parallel(FunctionImage__omp_fn_3,&local_40,iVar5,0);
  MVar3 = local_28;
  DestroyCacheView(cache_view);
LAB_0019121a:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return MVar3;
}



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

int FunctionImage(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5)

{
  bool bVar1;
  int iVar2;
  undefined4 uVar3;
  int iVar4;
  int iVar5;
  int in_GS_OFFSET;
  undefined8 uVar6;
  undefined4 local_4c;
  undefined4 local_48;
  int local_40;
  undefined4 local_3c;
  undefined4 local_38;
  undefined4 local_34;
  int local_30;
  undefined4 local_2c;
  int local_28;
  undefined4 *local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x1911a9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");
  }
  if (*(int *)(param_1 + 0x3344) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,
                  "FunctionImage");
  }
  if (*(int *)(param_1 + 0x3328) != 0) {
    LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,
                   param_1 + 0x318);
  }
  if (param_5 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,
                  "FunctionImage");
  }
  if (*(int *)(param_5 + 0x1c) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,
                  "FunctionImage");
  }
  iVar2 = SetImageStorageClass(param_1,1,param_5);
  if (iVar2 == 0) goto LAB_0019121a;
  local_4c = 0;
  local_48 = 0;
  uVar3 = AcquireAuthenticCacheView(param_1,param_5);
  iVar2 = GetImagePixelCacheType(param_1);
  if (((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&
     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||
      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))) {
    iVar5 = GetMagickResourceLimit(7);
    iVar2 = *(int *)(param_1 + 0x1c);
    iVar4 = iVar2 + 0x3f;
    if (-1 < iVar2) {
      iVar4 = iVar2;
    }
    bVar1 = 0x7f < iVar2;
    if (iVar5 < iVar4 >> 6) {
      iVar2 = GetMagickResourceLimit(7);
      bVar1 = 1 < iVar2;
    }
    if (bVar1) {
      iVar5 = GetMagickResourceLimit(7);
      iVar2 = *(int *)(param_1 + 0x1c);
      iVar4 = iVar2 + 0x3f;
      if (-1 < iVar2) {
        iVar4 = iVar2;
      }
      iVar4 = iVar4 >> 6;
      if (iVar5 < iVar4) {
        iVar4 = GetMagickResourceLimit(7);
      }
    }
    else {
LAB_00191391:
      iVar4 = 1;
    }
  }
  else {
    uVar6 = GetMagickResourceLimit(7);
    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {
      uVar6 = GetMagickResourceLimit(7);
      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;
    }
    uVar6 = GetMagickResourceLimit(7);
    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {
      iVar4 = GetMagickResourceLimit(7);
    }
    else {
      iVar4 = 2;
    }
  }
  local_30 = param_5;
  local_34 = param_4;
  local_40 = param_1;
  local_28 = 1;
  local_38 = param_3;
  local_3c = param_2;
  local_24 = &local_4c;
  local_2c = uVar3;
  GOMP_parallel(FUN_0018ffc0,&local_40,iVar4,0);
  iVar2 = local_28;
  DestroyCacheView(uVar3);
LAB_0019121a:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0029eab0();
  }
  return iVar2;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00038830
ADD EBX,0x247e57
SUB ESP,0x4c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x3c],EAX
XOR EAX,EAX
MOV EBP,dword ptr [ESP + 0x60]
MOV EDI,dword ptr [ESP + 0x6c]
MOV ESI,dword ptr [ESP + 0x70]
TEST EBP,EBP
JZ 0x001914d3
CMP dword ptr [EBP + 0x3344],0xabacadab
JNZ 0x00191476
MOV EDX,dword ptr [EBP + 0x3328]
TEST EDX,EDX
JNZ 0x001913a0
TEST ESI,ESI
JZ 0x001914b4
CMP dword ptr [ESI + 0x1c],0xabacadab
JNZ 0x00191495
SUB ESP,0x4
PUSH ESI
PUSH 0x1
PUSH EBP
CALL 0x00030bc0
ADD ESP,0x10
MOV EDX,EAX
TEST EAX,EAX
JNZ 0x00191238
MOV ECX,dword ptr [ESP + 0x3c]
XOR ECX,dword ptr GS:[0x14]
MOV EAX,EDX
JNZ 0x001914f2
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ESP + 0x10],0x0
SUB ESP,0x8
MOV dword ptr [ESP + 0x1c],0x0
PUSH ESI
PUSH EBP
CALL 0x00032fa0
MOV dword ptr [ESP],EBP
MOV dword ptr [ESP + 0x18],EAX
CALL 0x000318f0
ADD ESP,0x10
CMP EAX,0x4
JZ 0x00191338
SUB ESP,0xc
PUSH EBP
CALL 0x000318f0
ADD ESP,0x10
CMP EAX,0x3
JZ 0x00191338
SUB ESP,0xc
PUSH 0x7
CALL 0x00032640
ADD ESP,0x10
CMP EDX,0x0
JA 0x001912b0
CMP EAX,0x1
JA 0x001912b0
SUB ESP,0xc
PUSH 0x7
CALL 0x00032640
ADD ESP,0x10
CMP EDX,0x0
JBE 0x00191400
LEA ESI,[ESI]
SUB ESP,0xc
PUSH 0x7
CALL 0x00032640
ADD ESP,0x10
CMP EDX,0x0
JBE 0x001913e0
MOV EAX,0x2
MOV EDX,dword ptr [ESP + 0x68]
MOV dword ptr [ESP + 0x2c],ESI
MOV ECX,dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0x28],EDI
MOV dword ptr [ESP + 0x1c],EBP
MOV dword ptr [ESP + 0x34],0x1
MOV dword ptr [ESP + 0x24],EDX
MOV EDX,dword ptr [ESP + 0x64]
MOV dword ptr [ESP + 0x30],ECX
MOV dword ptr [ESP + 0x20],EDX
LEA EDX,[ESP + 0x10]
MOV dword ptr [ESP + 0x38],EDX
PUSH 0x0
PUSH EAX
LEA EAX,[ESP + 0x24]
PUSH EAX
LEA EAX,[EBX + 0xffdb6fc0]
PUSH EAX
CALL 0x000324d0
MOV EDX,dword ptr [ESP + 0x44]
MOV dword ptr [ESP + 0x1c],EDX
POP EAX
PUSH dword ptr [ESP + 0x14]
CALL 0x00032f30
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
JMP 0x0019121a
SUB ESP,0xc
PUSH EBP
CALL 0x000318f0
ADD ESP,0x10
CMP EAX,0x4
JZ 0x0019135e
SUB ESP,0xc
PUSH EBP
CALL 0x000318f0
ADD ESP,0x10
CMP EAX,0x3
JNZ 0x0019127f
SUB ESP,0xc
PUSH 0x7
CALL 0x00032640
MOV EDX,dword ptr [EBP + 0x1c]
ADD ESP,0x10
MOV ECX,EAX
LEA EAX,[EDX + 0x3f]
TEST EDX,EDX
CMOVNS EAX,EDX
SAR EAX,0x6
CMP EDX,0x7f
SETG DL
CMP EAX,ECX
JG 0x00191410
TEST DL,DL
JNZ 0x00191430
MOV EAX,0x1
JMP 0x001912cb
LEA EAX,[EBP + 0x318]
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xffedde4e]
PUSH EAX
LEA EAX,[EBX + 0xffeef3e4]
PUSH 0x445
PUSH EAX
LEA EAX,[EBX + 0xffeef4a2]
PUSH EAX
PUSH 0x8000
CALL 0x000323b0
ADD ESP,0x20
JMP 0x001911f0
CMP EAX,0x1
JA 0x001912c6
SUB ESP,0xc
PUSH 0x7
CALL 0x00032640
ADD ESP,0x10
JMP 0x001912cb
CMP EAX,0x1
JA 0x001912b0
JMP 0x00191391
SUB ESP,0xc
PUSH 0x7
CALL 0x00032640
ADD ESP,0x10
CMP EAX,0x1
SETG DL
JMP 0x00191389
SUB ESP,0xc
PUSH 0x7
CALL 0x00032640
MOV ECX,dword ptr [EBP + 0x1c]
ADD ESP,0x10
LEA EDX,[ECX + 0x3f]
TEST ECX,ECX
CMOVNS EDX,ECX
SAR EDX,0x6
CMP EDX,EAX
JG 0x00191460
MOV EAX,EDX
JMP 0x001912cb
SUB ESP,0xc
PUSH 0x7
CALL 0x00032640
ADD ESP,0x10
MOV EDX,EAX
MOV EAX,EDX
JMP 0x001912cb
LEA EAX,[EBX + 0xffeef3f4]
PUSH EAX
LEA EAX,[EBX + 0xffeef4a2]
PUSH 0x443
PUSH EAX
LEA EAX,[EBX + 0xffed1338]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffeef3f4]
PUSH EAX
LEA EAX,[EBX + 0xffeef4a2]
PUSH 0x447
PUSH EAX
LEA EAX,[EBX + 0xffec776c]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffeef3f4]
PUSH EAX
LEA EAX,[EBX + 0xffeef4a2]
PUSH 0x446
PUSH EAX
LEA EAX,[EBX + 0xffec6a3c]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffeef3f4]
PUSH EAX
LEA EAX,[EBX + 0xffeef4a2]
PUSH 0x442
PUSH EAX
LEA EAX,[EBX + 0xffede594]
PUSH EAX
CALL 0x000313d0
CALL 0x0029eab0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FunctionImage(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5)\n\n{\n  bool bVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  undefined8 uVar6;\n  undefined4 local_4c;\n  undefined4 local_48;\n  int local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_30;\n  undefined4 local_2c;\n  int local_28;\n  undefined4 *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1911a9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  if (param_5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }\n  if (*(int *)(param_5 + 0x1c) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }\n  iVar2 = SetImageStorageClass(param_1,1,param_5);\n  if (iVar2 == 0) goto LAB_0019121a;\n  local_4c = 0;\n  local_48 = 0;\n  uVar3 = AcquireAuthenticCacheView(param_1,param_5);\n  iVar2 = GetImagePixelCacheType(param_1);\n  if (((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&\n     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))) {\n    iVar5 = GetMagickResourceLimit(7);\n    iVar2 = *(int *)(param_1 + 0x1c);\n    iVar4 = iVar2 + 0x3f;\n    if (-1 < iVar2) {\n      iVar4 = iVar2;\n    }\n    bVar1 = 0x7f < iVar2;\n    if (iVar5 < iVar4 >> 6) {\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }\n    if (bVar1) {\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }\n    else {\nLAB_00191391:\n      iVar4 = 1;\n    }\n  }\n  else {\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }\n  }\n  local_30 = param_5;\n  local_34 = param_4;\n  local_40 = param_1;\n  local_28 = 1;\n  local_38 = param_3;\n  local_3c = param_2;\n  local_24 = &local_4c;\n  local_2c = uVar3;\n  GOMP_parallel(FUN_0018ffc0,&local_40,iVar4,0);\n  iVar2 = local_28;\n  DestroyCacheView(uVar3);\nLAB_0019121a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }\n  return iVar2;\n}\n\n" comment (function_definition "int FunctionImage(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5)\n\n{\n  bool bVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  undefined8 uVar6;\n  undefined4 local_4c;\n  undefined4 local_48;\n  int local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_30;\n  undefined4 local_2c;\n  int local_28;\n  undefined4 *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1911a9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  if (param_5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }\n  if (*(int *)(param_5 + 0x1c) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }\n  iVar2 = SetImageStorageClass(param_1,1,param_5);\n  if (iVar2 == 0) goto LAB_0019121a;\n  local_4c = 0;\n  local_48 = 0;\n  uVar3 = AcquireAuthenticCacheView(param_1,param_5);\n  iVar2 = GetImagePixelCacheType(param_1);\n  if (((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&\n     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))) {\n    iVar5 = GetMagickResourceLimit(7);\n    iVar2 = *(int *)(param_1 + 0x1c);\n    iVar4 = iVar2 + 0x3f;\n    if (-1 < iVar2) {\n      iVar4 = iVar2;\n    }\n    bVar1 = 0x7f < iVar2;\n    if (iVar5 < iVar4 >> 6) {\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }\n    if (bVar1) {\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }\n    else {\nLAB_00191391:\n      iVar4 = 1;\n    }\n  }\n  else {\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }\n  }\n  local_30 = param_5;\n  local_34 = param_4;\n  local_40 = param_1;\n  local_28 = 1;\n  local_38 = param_3;\n  local_3c = param_2;\n  local_24 = &local_4c;\n  local_2c = uVar3;\n  GOMP_parallel(FUN_0018ffc0,&local_40,iVar4,0);\n  iVar2 = local_28;\n  DestroyCacheView(uVar3);\nLAB_0019121a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FunctionImage(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  undefined8 uVar6;\n  undefined4 local_4c;\n  undefined4 local_48;\n  int local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_30;\n  undefined4 local_2c;\n  int local_28;\n  undefined4 *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1911a9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  if (param_5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }\n  if (*(int *)(param_5 + 0x1c) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }\n  iVar2 = SetImageStorageClass(param_1,1,param_5);\n  if (iVar2 == 0) goto LAB_0019121a;\n  local_4c = 0;\n  local_48 = 0;\n  uVar3 = AcquireAuthenticCacheView(param_1,param_5);\n  iVar2 = GetImagePixelCacheType(param_1);\n  if (((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&\n     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))) {\n    iVar5 = GetMagickResourceLimit(7);\n    iVar2 = *(int *)(param_1 + 0x1c);\n    iVar4 = iVar2 + 0x3f;\n    if (-1 < iVar2) {\n      iVar4 = iVar2;\n    }\n    bVar1 = 0x7f < iVar2;\n    if (iVar5 < iVar4 >> 6) {\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }\n    if (bVar1) {\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }\n    else {\nLAB_00191391:\n      iVar4 = 1;\n    }\n  }\n  else {\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }\n  }\n  local_30 = param_5;\n  local_34 = param_4;\n  local_40 = param_1;\n  local_28 = 1;\n  local_38 = param_3;\n  local_3c = param_2;\n  local_24 = &local_4c;\n  local_2c = uVar3;\n  GOMP_parallel(FUN_0018ffc0,&local_40,iVar4,0);\n  iVar2 = local_28;\n  DestroyCacheView(uVar3);\nLAB_0019121a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }\n  return iVar2;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (declaration "undefined4 local_4c;" type_identifier identifier ;) (declaration "undefined4 local_48;" type_identifier identifier ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "undefined4 *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1911a9;" (assignment_expression "uStack_14 = 0x1911a9" 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("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage")" identifier (argument_list "("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/statistic.c"" " string_content ") , number_literal , (string_literal ""FunctionImage"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3344) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3344)" * (cast_expression "(int *)(param_1 + 0x3344)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3344)" ( (binary_expression "param_1 + 0x3344" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }" { comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/statistic.c"" " string_content ") , number_literal , (string_literal ""FunctionImage"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3328) != 0)" ( (binary_expression "*(int *)(param_1 + 0x3328) != 0" (pointer_expression "*(int *)(param_1 + 0x3328)" * (cast_expression "(int *)(param_1 + 0x3328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3328)" ( (binary_expression "param_1 + 0x3328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318)" identifier (argument_list "(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318)" ( number_literal , (string_literal ""MagickCore/statistic.c"" " string_content ") , (string_literal ""FunctionImage"" " string_content ") , number_literal , (pointer_expression "&DAT_002b6e4e" & identifier) , (binary_expression "param_1 + 0x318" identifier + number_literal) ))) ;) })) (if_statement "if (param_5 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }" { comment (expression_statement "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");" (call_expression "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage")" identifier (argument_list "("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage")" ( (string_literal ""exception != (ExceptionInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/statistic.c"" " string_content ") , number_literal , (string_literal ""FunctionImage"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_5 + 0x1c) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }" if (parenthesized_expression "(*(int *)(param_5 + 0x1c) != -0x54535255)" ( (binary_expression "*(int *)(param_5 + 0x1c) != -0x54535255" (pointer_expression "*(int *)(param_5 + 0x1c)" * (cast_expression "(int *)(param_5 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x1c)" ( (binary_expression "param_5 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }" { comment (expression_statement "__assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");" (call_expression "__assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage")" identifier (argument_list "("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage")" ( (string_literal ""exception->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/statistic.c"" " string_content ") , number_literal , (string_literal ""FunctionImage"" " string_content ") ))) ;) })) (expression_statement "iVar2 = SetImageStorageClass(param_1,1,param_5);" (assignment_expression "iVar2 = SetImageStorageClass(param_1,1,param_5)" identifier = (call_expression "SetImageStorageClass(param_1,1,param_5)" identifier (argument_list "(param_1,1,param_5)" ( identifier , number_literal , identifier )))) ;) (if_statement "if (iVar2 == 0) goto LAB_0019121a;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0019121a;" goto statement_identifier ;)) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = AcquireAuthenticCacheView(param_1,param_5);" (assignment_expression "uVar3 = AcquireAuthenticCacheView(param_1,param_5)" identifier = (call_expression "AcquireAuthenticCacheView(param_1,param_5)" identifier (argument_list "(param_1,param_5)" ( identifier , identifier )))) ;) (expression_statement "iVar2 = GetImagePixelCacheType(param_1);" (assignment_expression "iVar2 = GetImagePixelCacheType(param_1)" identifier = (call_expression "GetImagePixelCacheType(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&\n     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))) {\n    iVar5 = GetMagickResourceLimit(7);\n    iVar2 = *(int *)(param_1 + 0x1c);\n    iVar4 = iVar2 + 0x3f;\n    if (-1 < iVar2) {\n      iVar4 = iVar2;\n    }\n    bVar1 = 0x7f < iVar2;\n    if (iVar5 < iVar4 >> 6) {\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }\n    if (bVar1) {\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }\n    else {\nLAB_00191391:\n      iVar4 = 1;\n    }\n  }\n  else {\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }\n  }" if (parenthesized_expression "(((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&\n     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3))))" ( (binary_expression "((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&\n     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))" (parenthesized_expression "((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3))" ( (binary_expression "(iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)" (parenthesized_expression "(iVar2 == 4)" ( (binary_expression "iVar2 == 4" identifier == number_literal) )) || (parenthesized_expression "(iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)" ( (comma_expression "iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3" (assignment_expression "iVar2 = GetImagePixelCacheType(param_1)" identifier = (call_expression "GetImagePixelCacheType(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar2 == 3" identifier == number_literal)) ))) )) && (parenthesized_expression "((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))" ( (parenthesized_expression "(iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3))" ( (comma_expression "iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)" (assignment_expression "iVar2 = GetImagePixelCacheType(param_1)" identifier = (call_expression "GetImagePixelCacheType(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)" (binary_expression "iVar2 == 4" identifier == number_literal) || (parenthesized_expression "(iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)" ( (comma_expression "iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3" (assignment_expression "iVar2 = GetImagePixelCacheType(param_1)" identifier = (call_expression "GetImagePixelCacheType(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar2 == 3" identifier == number_literal)) )))) )) ))) )) (compound_statement "{\n    iVar5 = GetMagickResourceLimit(7);\n    iVar2 = *(int *)(param_1 + 0x1c);\n    iVar4 = iVar2 + 0x3f;\n    if (-1 < iVar2) {\n      iVar4 = iVar2;\n    }\n    bVar1 = 0x7f < iVar2;\n    if (iVar5 < iVar4 >> 6) {\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }\n    if (bVar1) {\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }\n    else {\nLAB_00191391:\n      iVar4 = 1;\n    }\n  }" { (expression_statement "iVar5 = GetMagickResourceLimit(7);" (assignment_expression "iVar5 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iVar2 + 0x3f;" (assignment_expression "iVar4 = iVar2 + 0x3f" identifier = (binary_expression "iVar2 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < iVar2) {\n      iVar4 = iVar2;\n    }" if (parenthesized_expression "(-1 < iVar2)" ( (binary_expression "-1 < iVar2" number_literal < identifier) )) (compound_statement "{\n      iVar4 = iVar2;\n    }" { (expression_statement "iVar4 = iVar2;" (assignment_expression "iVar4 = iVar2" identifier = identifier) ;) })) (expression_statement "bVar1 = 0x7f < iVar2;" (assignment_expression "bVar1 = 0x7f < iVar2" identifier = (binary_expression "0x7f < iVar2" number_literal < identifier)) ;) (if_statement "if (iVar5 < iVar4 >> 6) {\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }" if (parenthesized_expression "(iVar5 < iVar4 >> 6)" ( (binary_expression "iVar5 < iVar4 >> 6" identifier < (binary_expression "iVar4 >> 6" identifier >> number_literal)) )) (compound_statement "{\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }" { (expression_statement "iVar2 = GetMagickResourceLimit(7);" (assignment_expression "iVar2 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (expression_statement "bVar1 = 1 < iVar2;" (assignment_expression "bVar1 = 1 < iVar2" identifier = (binary_expression "1 < iVar2" number_literal < identifier)) ;) })) (if_statement "if (bVar1) {\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }\n    else {\nLAB_00191391:\n      iVar4 = 1;\n    }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }" { (expression_statement "iVar5 = GetMagickResourceLimit(7);" (assignment_expression "iVar5 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iVar2 + 0x3f;" (assignment_expression "iVar4 = iVar2 + 0x3f" identifier = (binary_expression "iVar2 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }" if (parenthesized_expression "(-1 < iVar2)" ( (binary_expression "-1 < iVar2" number_literal < identifier) )) (compound_statement "{\n        iVar4 = iVar2;\n      }" { (expression_statement "iVar4 = iVar2;" (assignment_expression "iVar4 = iVar2" identifier = identifier) ;) })) (expression_statement "iVar4 = iVar4 >> 6;" (assignment_expression "iVar4 = iVar4 >> 6" identifier = (binary_expression "iVar4 >> 6" identifier >> number_literal)) ;) (if_statement "if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }" if (parenthesized_expression "(iVar5 < iVar4)" ( (binary_expression "iVar5 < iVar4" identifier < identifier) )) (compound_statement "{\n        iVar4 = GetMagickResourceLimit(7);\n      }" { (expression_statement "iVar4 = GetMagickResourceLimit(7);" (assignment_expression "iVar4 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) })) }) (else_clause "else {\nLAB_00191391:\n      iVar4 = 1;\n    }" else (compound_statement "{\nLAB_00191391:\n      iVar4 = 1;\n    }" { (labeled_statement "LAB_00191391:\n      iVar4 = 1;" statement_identifier : (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;)) }))) }) (else_clause "else {\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }\n  }" else (compound_statement "{\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }\n  }" { (expression_statement "uVar6 = GetMagickResourceLimit(7);" (assignment_expression "uVar6 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }" if (parenthesized_expression "(((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2))" ( (binary_expression "((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)" (parenthesized_expression "((int)((ulonglong)uVar6 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar6 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar6 < 2)" ( (binary_expression "(uint)uVar6 < 2" (cast_expression "(uint)uVar6" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }" { (expression_statement "uVar6 = GetMagickResourceLimit(7);" (assignment_expression "uVar6 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;" if (parenthesized_expression "(((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2))" ( (binary_expression "((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)" (parenthesized_expression "((int)((ulonglong)uVar6 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar6 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar6 < 2)" ( (binary_expression "(uint)uVar6 < 2" (cast_expression "(uint)uVar6" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (goto_statement "goto LAB_00191391;" goto statement_identifier ;)) })) (expression_statement "uVar6 = GetMagickResourceLimit(7);" (assignment_expression "uVar6 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }" if (parenthesized_expression "(((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2))" ( (binary_expression "((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)" (parenthesized_expression "((int)((ulonglong)uVar6 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar6 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar6 < 2)" ( (binary_expression "(uint)uVar6 < 2" (cast_expression "(uint)uVar6" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n      iVar4 = GetMagickResourceLimit(7);\n    }" { (expression_statement "iVar4 = GetMagickResourceLimit(7);" (assignment_expression "iVar4 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) }) (else_clause "else {\n      iVar4 = 2;\n    }" else (compound_statement "{\n      iVar4 = 2;\n    }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) }))) }))) (expression_statement "local_30 = param_5;" (assignment_expression "local_30 = param_5" identifier = identifier) ;) (expression_statement "local_34 = param_4;" (assignment_expression "local_34 = param_4" identifier = identifier) ;) (expression_statement "local_40 = param_1;" (assignment_expression "local_40 = param_1" identifier = identifier) ;) (expression_statement "local_28 = 1;" (assignment_expression "local_28 = 1" identifier = number_literal) ;) (expression_statement "local_38 = param_3;" (assignment_expression "local_38 = param_3" identifier = identifier) ;) (expression_statement "local_3c = param_2;" (assignment_expression "local_3c = param_2" identifier = identifier) ;) (expression_statement "local_24 = &local_4c;" (assignment_expression "local_24 = &local_4c" identifier = (pointer_expression "&local_4c" & identifier)) ;) (expression_statement "local_2c = uVar3;" (assignment_expression "local_2c = uVar3" identifier = identifier) ;) (expression_statement "GOMP_parallel(FUN_0018ffc0,&local_40,iVar4,0);" (call_expression "GOMP_parallel(FUN_0018ffc0,&local_40,iVar4,0)" identifier (argument_list "(FUN_0018ffc0,&local_40,iVar4,0)" ( identifier , (pointer_expression "&local_40" & identifier) , identifier , number_literal ))) ;) (expression_statement "iVar2 = local_28;" (assignment_expression "iVar2 = local_28" identifier = identifier) ;) (expression_statement "DestroyCacheView(uVar3);" (call_expression "DestroyCacheView(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (labeled_statement "LAB_0019121a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\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                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }" { comment (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return iVar2;" return identifier ;) })))
(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/* WARNING: Enum "LogEventType": Some values do not have unique names */\n\nMagickBooleanType\nFunctionImage(Image *image,MagickFunction function,size_t number_parameters,double *parameters,\n             ExceptionInfo *exception)\n\n{\n  size_t sVar1;\n  bool bVar2;\n  MagickBooleanType MVar3;\n  CacheView *cache_view;\n  CacheType CVar4;\n  int iVar5;\n  size_t sVar6;\n  int in_GS_OFFSET;\n  MagickSizeType MVar7;\n  MagickOffsetType progress;\n  Image *local_40;\n  MagickFunction local_3c;\n  size_t local_38;\n  double *local_34;\n  ExceptionInfo *local_30;\n  CacheView *local_2c;\n  MagickBooleanType local_28;\n  MagickOffsetType *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1911a9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/statistic.c","FunctionImage",0x445,"%s",image->filename);\n  }\n  if (exception == (ExceptionInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }\n  if (exception->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }\n  MVar3 = SetImageStorageClass(image,DirectClass,exception);\n  if (MVar3 == MagickFalse) goto LAB_0019121a;\n  progress._0_4_ = 0;\n  progress._4_4_ = 0;\n  cache_view = AcquireAuthenticCacheView(image,exception);\n  CVar4 = GetImagePixelCacheType(image);\n  if (((CVar4 == MemoryCache) || (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)) &&\n     ((CVar4 = GetImagePixelCacheType(image), CVar4 == MemoryCache ||\n      (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)))) {\n    MVar7 = GetMagickResourceLimit(ThreadResource);\n    sVar1 = image->rows;\n    sVar6 = sVar1 + 0x3f;\n    if (-1 < (int)sVar1) {\n      sVar6 = sVar1;\n    }\n    bVar2 = 0x7f < (int)sVar1;\n    if ((int)MVar7 < (int)sVar6 >> 6) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      bVar2 = 1 < (int)MVar7;\n    }\n    if (bVar2) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      sVar1 = image->rows;\n      sVar6 = sVar1 + 0x3f;\n      if (-1 < (int)sVar1) {\n        sVar6 = sVar1;\n      }\n      iVar5 = (int)sVar6 >> 6;\n      if ((int)MVar7 < iVar5) {\n        MVar7 = GetMagickResourceLimit(ThreadResource);\n        iVar5 = (int)MVar7;\n      }\n    }\n    else {\nLAB_00191391:\n      iVar5 = 1;\n    }\n  }\n  else {\n    MVar7 = GetMagickResourceLimit(ThreadResource);\n    if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) goto LAB_00191391;\n    }\n    MVar7 = GetMagickResourceLimit(ThreadResource);\n    if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      iVar5 = (int)MVar7;\n    }\n    else {\n      iVar5 = 2;\n    }\n  }\n  local_30 = exception;\n  local_34 = parameters;\n  local_40 = image;\n  local_28 = MagickTrue;\n  local_38 = number_parameters;\n  local_3c = function;\n  local_24 = &progress;\n  local_2c = cache_view;\n  GOMP_parallel(FunctionImage__omp_fn_3,&local_40,iVar5,0);\n  MVar3 = local_28;\n  DestroyCacheView(cache_view);\nLAB_0019121a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return MVar3;\n}\n\n" comment comment comment comment comment comment comment comment (function_definition "MagickBooleanType\nFunctionImage(Image *image,MagickFunction function,size_t number_parameters,double *parameters,\n             ExceptionInfo *exception)\n\n{\n  size_t sVar1;\n  bool bVar2;\n  MagickBooleanType MVar3;\n  CacheView *cache_view;\n  CacheType CVar4;\n  int iVar5;\n  size_t sVar6;\n  int in_GS_OFFSET;\n  MagickSizeType MVar7;\n  MagickOffsetType progress;\n  Image *local_40;\n  MagickFunction local_3c;\n  size_t local_38;\n  double *local_34;\n  ExceptionInfo *local_30;\n  CacheView *local_2c;\n  MagickBooleanType local_28;\n  MagickOffsetType *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1911a9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/statistic.c","FunctionImage",0x445,"%s",image->filename);\n  }\n  if (exception == (ExceptionInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }\n  if (exception->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }\n  MVar3 = SetImageStorageClass(image,DirectClass,exception);\n  if (MVar3 == MagickFalse) goto LAB_0019121a;\n  progress._0_4_ = 0;\n  progress._4_4_ = 0;\n  cache_view = AcquireAuthenticCacheView(image,exception);\n  CVar4 = GetImagePixelCacheType(image);\n  if (((CVar4 == MemoryCache) || (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)) &&\n     ((CVar4 = GetImagePixelCacheType(image), CVar4 == MemoryCache ||\n      (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)))) {\n    MVar7 = GetMagickResourceLimit(ThreadResource);\n    sVar1 = image->rows;\n    sVar6 = sVar1 + 0x3f;\n    if (-1 < (int)sVar1) {\n      sVar6 = sVar1;\n    }\n    bVar2 = 0x7f < (int)sVar1;\n    if ((int)MVar7 < (int)sVar6 >> 6) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      bVar2 = 1 < (int)MVar7;\n    }\n    if (bVar2) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      sVar1 = image->rows;\n      sVar6 = sVar1 + 0x3f;\n      if (-1 < (int)sVar1) {\n        sVar6 = sVar1;\n      }\n      iVar5 = (int)sVar6 >> 6;\n      if ((int)MVar7 < iVar5) {\n        MVar7 = GetMagickResourceLimit(ThreadResource);\n        iVar5 = (int)MVar7;\n      }\n    }\n    else {\nLAB_00191391:\n      iVar5 = 1;\n    }\n  }\n  else {\n    MVar7 = GetMagickResourceLimit(ThreadResource);\n    if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) goto LAB_00191391;\n    }\n    MVar7 = GetMagickResourceLimit(ThreadResource);\n    if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      iVar5 = (int)MVar7;\n    }\n    else {\n      iVar5 = 2;\n    }\n  }\n  local_30 = exception;\n  local_34 = parameters;\n  local_40 = image;\n  local_28 = MagickTrue;\n  local_38 = number_parameters;\n  local_3c = function;\n  local_24 = &progress;\n  local_2c = cache_view;\n  GOMP_parallel(FunctionImage__omp_fn_3,&local_40,iVar5,0);\n  MVar3 = local_28;\n  DestroyCacheView(cache_view);\nLAB_0019121a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return MVar3;\n}" type_identifier (function_declarator "FunctionImage(Image *image,MagickFunction function,size_t number_parameters,double *parameters,\n             ExceptionInfo *exception)" identifier (parameter_list "(Image *image,MagickFunction function,size_t number_parameters,double *parameters,\n             ExceptionInfo *exception)" ( (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "MagickFunction function" type_identifier identifier) , (parameter_declaration "size_t number_parameters" primitive_type identifier) , (parameter_declaration "double *parameters" primitive_type (pointer_declarator "*parameters" * identifier)) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) ))) (compound_statement "{\n  size_t sVar1;\n  bool bVar2;\n  MagickBooleanType MVar3;\n  CacheView *cache_view;\n  CacheType CVar4;\n  int iVar5;\n  size_t sVar6;\n  int in_GS_OFFSET;\n  MagickSizeType MVar7;\n  MagickOffsetType progress;\n  Image *local_40;\n  MagickFunction local_3c;\n  size_t local_38;\n  double *local_34;\n  ExceptionInfo *local_30;\n  CacheView *local_2c;\n  MagickBooleanType local_28;\n  MagickOffsetType *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1911a9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/statistic.c","FunctionImage",0x445,"%s",image->filename);\n  }\n  if (exception == (ExceptionInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }\n  if (exception->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }\n  MVar3 = SetImageStorageClass(image,DirectClass,exception);\n  if (MVar3 == MagickFalse) goto LAB_0019121a;\n  progress._0_4_ = 0;\n  progress._4_4_ = 0;\n  cache_view = AcquireAuthenticCacheView(image,exception);\n  CVar4 = GetImagePixelCacheType(image);\n  if (((CVar4 == MemoryCache) || (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)) &&\n     ((CVar4 = GetImagePixelCacheType(image), CVar4 == MemoryCache ||\n      (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)))) {\n    MVar7 = GetMagickResourceLimit(ThreadResource);\n    sVar1 = image->rows;\n    sVar6 = sVar1 + 0x3f;\n    if (-1 < (int)sVar1) {\n      sVar6 = sVar1;\n    }\n    bVar2 = 0x7f < (int)sVar1;\n    if ((int)MVar7 < (int)sVar6 >> 6) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      bVar2 = 1 < (int)MVar7;\n    }\n    if (bVar2) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      sVar1 = image->rows;\n      sVar6 = sVar1 + 0x3f;\n      if (-1 < (int)sVar1) {\n        sVar6 = sVar1;\n      }\n      iVar5 = (int)sVar6 >> 6;\n      if ((int)MVar7 < iVar5) {\n        MVar7 = GetMagickResourceLimit(ThreadResource);\n        iVar5 = (int)MVar7;\n      }\n    }\n    else {\nLAB_00191391:\n      iVar5 = 1;\n    }\n  }\n  else {\n    MVar7 = GetMagickResourceLimit(ThreadResource);\n    if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) goto LAB_00191391;\n    }\n    MVar7 = GetMagickResourceLimit(ThreadResource);\n    if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      iVar5 = (int)MVar7;\n    }\n    else {\n      iVar5 = 2;\n    }\n  }\n  local_30 = exception;\n  local_34 = parameters;\n  local_40 = image;\n  local_28 = MagickTrue;\n  local_38 = number_parameters;\n  local_3c = function;\n  local_24 = &progress;\n  local_2c = cache_view;\n  GOMP_parallel(FunctionImage__omp_fn_3,&local_40,iVar5,0);\n  MVar3 = local_28;\n  DestroyCacheView(cache_view);\nLAB_0019121a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return MVar3;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "MagickBooleanType MVar3;" type_identifier identifier ;) (declaration "CacheView *cache_view;" type_identifier (pointer_declarator "*cache_view" * identifier) ;) (declaration "CacheType CVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "MagickSizeType MVar7;" type_identifier identifier ;) (declaration "MagickOffsetType progress;" type_identifier identifier ;) (declaration "Image *local_40;" type_identifier (pointer_declarator "*local_40" * identifier) ;) (declaration "MagickFunction local_3c;" type_identifier identifier ;) (declaration "size_t local_38;" primitive_type identifier ;) (declaration "double *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "ExceptionInfo *local_30;" type_identifier (pointer_declarator "*local_30" * identifier) ;) (declaration "CacheView *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (declaration "MagickBooleanType local_28;" type_identifier identifier ;) (declaration "MagickOffsetType *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1911a9;" (assignment_expression "uStack_14 = 0x1911a9" 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 (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }" if (parenthesized_expression "(image == (Image *)0x0)" ( (binary_expression "image == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage")" identifier (argument_list "("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/statistic.c"" " string_content ") , number_literal , (string_literal ""FunctionImage"" " string_content ") ))) ;) })) (if_statement "if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }" if (parenthesized_expression "(image->signature != 0xabacadab)" ( (binary_expression "image->signature != 0xabacadab" (field_expression "image->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }" { comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/statistic.c"" " string_content ") , number_literal , (string_literal ""FunctionImage"" " string_content ") ))) ;) })) (if_statement "if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/statistic.c","FunctionImage",0x445,"%s",image->filename);\n  }" if (parenthesized_expression "(image->debug != MagickFalse)" ( (binary_expression "image->debug != MagickFalse" (field_expression "image->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    LogMagickEvent(TraceEvent,"MagickCore/statistic.c","FunctionImage",0x445,"%s",image->filename);\n  }" { (expression_statement "LogMagickEvent(TraceEvent,"MagickCore/statistic.c","FunctionImage",0x445,"%s",image->filename);" (call_expression "LogMagickEvent(TraceEvent,"MagickCore/statistic.c","FunctionImage",0x445,"%s",image->filename)" identifier (argument_list "(TraceEvent,"MagickCore/statistic.c","FunctionImage",0x445,"%s",image->filename)" ( identifier , (string_literal ""MagickCore/statistic.c"" " string_content ") , (string_literal ""FunctionImage"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "image->filename" identifier -> field_identifier) ))) ;) })) (if_statement "if (exception == (ExceptionInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }" if (parenthesized_expression "(exception == (ExceptionInfo *)0x0)" ( (binary_expression "exception == (ExceptionInfo *)0x0" identifier == (cast_expression "(ExceptionInfo *)0x0" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }" { comment (expression_statement "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");" (call_expression "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage")" identifier (argument_list "("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage")" ( (string_literal ""exception != (ExceptionInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/statistic.c"" " string_content ") , number_literal , (string_literal ""FunctionImage"" " string_content ") ))) ;) })) (if_statement "if (exception->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }" if (parenthesized_expression "(exception->signature != 0xabacadab)" ( (binary_expression "exception->signature != 0xabacadab" (field_expression "exception->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }" { comment (expression_statement "__assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");" (call_expression "__assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage")" identifier (argument_list "("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage")" ( (string_literal ""exception->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/statistic.c"" " string_content ") , number_literal , (string_literal ""FunctionImage"" " string_content ") ))) ;) })) (expression_statement "MVar3 = SetImageStorageClass(image,DirectClass,exception);" (assignment_expression "MVar3 = SetImageStorageClass(image,DirectClass,exception)" identifier = (call_expression "SetImageStorageClass(image,DirectClass,exception)" identifier (argument_list "(image,DirectClass,exception)" ( identifier , identifier , identifier )))) ;) (if_statement "if (MVar3 == MagickFalse) goto LAB_0019121a;" if (parenthesized_expression "(MVar3 == MagickFalse)" ( (binary_expression "MVar3 == MagickFalse" identifier == identifier) )) (goto_statement "goto LAB_0019121a;" goto statement_identifier ;)) (expression_statement "progress._0_4_ = 0;" (assignment_expression "progress._0_4_ = 0" (field_expression "progress._0_4_" identifier . field_identifier) = number_literal) ;) (expression_statement "progress._4_4_ = 0;" (assignment_expression "progress._4_4_ = 0" (field_expression "progress._4_4_" identifier . field_identifier) = number_literal) ;) (expression_statement "cache_view = AcquireAuthenticCacheView(image,exception);" (assignment_expression "cache_view = AcquireAuthenticCacheView(image,exception)" identifier = (call_expression "AcquireAuthenticCacheView(image,exception)" identifier (argument_list "(image,exception)" ( identifier , identifier )))) ;) (expression_statement "CVar4 = GetImagePixelCacheType(image);" (assignment_expression "CVar4 = GetImagePixelCacheType(image)" identifier = (call_expression "GetImagePixelCacheType(image)" identifier (argument_list "(image)" ( identifier )))) ;) (if_statement "if (((CVar4 == MemoryCache) || (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)) &&\n     ((CVar4 = GetImagePixelCacheType(image), CVar4 == MemoryCache ||\n      (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)))) {\n    MVar7 = GetMagickResourceLimit(ThreadResource);\n    sVar1 = image->rows;\n    sVar6 = sVar1 + 0x3f;\n    if (-1 < (int)sVar1) {\n      sVar6 = sVar1;\n    }\n    bVar2 = 0x7f < (int)sVar1;\n    if ((int)MVar7 < (int)sVar6 >> 6) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      bVar2 = 1 < (int)MVar7;\n    }\n    if (bVar2) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      sVar1 = image->rows;\n      sVar6 = sVar1 + 0x3f;\n      if (-1 < (int)sVar1) {\n        sVar6 = sVar1;\n      }\n      iVar5 = (int)sVar6 >> 6;\n      if ((int)MVar7 < iVar5) {\n        MVar7 = GetMagickResourceLimit(ThreadResource);\n        iVar5 = (int)MVar7;\n      }\n    }\n    else {\nLAB_00191391:\n      iVar5 = 1;\n    }\n  }\n  else {\n    MVar7 = GetMagickResourceLimit(ThreadResource);\n    if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) goto LAB_00191391;\n    }\n    MVar7 = GetMagickResourceLimit(ThreadResource);\n    if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      iVar5 = (int)MVar7;\n    }\n    else {\n      iVar5 = 2;\n    }\n  }" if (parenthesized_expression "(((CVar4 == MemoryCache) || (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)) &&\n     ((CVar4 = GetImagePixelCacheType(image), CVar4 == MemoryCache ||\n      (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache))))" ( (binary_expression "((CVar4 == MemoryCache) || (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)) &&\n     ((CVar4 = GetImagePixelCacheType(image), CVar4 == MemoryCache ||\n      (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)))" (parenthesized_expression "((CVar4 == MemoryCache) || (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache))" ( (binary_expression "(CVar4 == MemoryCache) || (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)" (parenthesized_expression "(CVar4 == MemoryCache)" ( (binary_expression "CVar4 == MemoryCache" identifier == identifier) )) || (parenthesized_expression "(CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)" ( (comma_expression "CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache" (assignment_expression "CVar4 = GetImagePixelCacheType(image)" identifier = (call_expression "GetImagePixelCacheType(image)" identifier (argument_list "(image)" ( identifier )))) , (binary_expression "CVar4 == MapCache" identifier == identifier)) ))) )) && (parenthesized_expression "((CVar4 = GetImagePixelCacheType(image), CVar4 == MemoryCache ||\n      (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)))" ( (parenthesized_expression "(CVar4 = GetImagePixelCacheType(image), CVar4 == MemoryCache ||\n      (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache))" ( (comma_expression "CVar4 = GetImagePixelCacheType(image), CVar4 == MemoryCache ||\n      (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)" (assignment_expression "CVar4 = GetImagePixelCacheType(image)" identifier = (call_expression "GetImagePixelCacheType(image)" identifier (argument_list "(image)" ( identifier )))) , (binary_expression "CVar4 == MemoryCache ||\n      (CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)" (binary_expression "CVar4 == MemoryCache" identifier == identifier) || (parenthesized_expression "(CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache)" ( (comma_expression "CVar4 = GetImagePixelCacheType(image), CVar4 == MapCache" (assignment_expression "CVar4 = GetImagePixelCacheType(image)" identifier = (call_expression "GetImagePixelCacheType(image)" identifier (argument_list "(image)" ( identifier )))) , (binary_expression "CVar4 == MapCache" identifier == identifier)) )))) )) ))) )) (compound_statement "{\n    MVar7 = GetMagickResourceLimit(ThreadResource);\n    sVar1 = image->rows;\n    sVar6 = sVar1 + 0x3f;\n    if (-1 < (int)sVar1) {\n      sVar6 = sVar1;\n    }\n    bVar2 = 0x7f < (int)sVar1;\n    if ((int)MVar7 < (int)sVar6 >> 6) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      bVar2 = 1 < (int)MVar7;\n    }\n    if (bVar2) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      sVar1 = image->rows;\n      sVar6 = sVar1 + 0x3f;\n      if (-1 < (int)sVar1) {\n        sVar6 = sVar1;\n      }\n      iVar5 = (int)sVar6 >> 6;\n      if ((int)MVar7 < iVar5) {\n        MVar7 = GetMagickResourceLimit(ThreadResource);\n        iVar5 = (int)MVar7;\n      }\n    }\n    else {\nLAB_00191391:\n      iVar5 = 1;\n    }\n  }" { (expression_statement "MVar7 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar7 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (expression_statement "sVar1 = image->rows;" (assignment_expression "sVar1 = image->rows" identifier = (field_expression "image->rows" identifier -> field_identifier)) ;) (expression_statement "sVar6 = sVar1 + 0x3f;" (assignment_expression "sVar6 = sVar1 + 0x3f" identifier = (binary_expression "sVar1 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < (int)sVar1) {\n      sVar6 = sVar1;\n    }" if (parenthesized_expression "(-1 < (int)sVar1)" ( (binary_expression "-1 < (int)sVar1" number_literal < (cast_expression "(int)sVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      sVar6 = sVar1;\n    }" { (expression_statement "sVar6 = sVar1;" (assignment_expression "sVar6 = sVar1" identifier = identifier) ;) })) (expression_statement "bVar2 = 0x7f < (int)sVar1;" (assignment_expression "bVar2 = 0x7f < (int)sVar1" identifier = (binary_expression "0x7f < (int)sVar1" number_literal < (cast_expression "(int)sVar1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((int)MVar7 < (int)sVar6 >> 6) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      bVar2 = 1 < (int)MVar7;\n    }" if (parenthesized_expression "((int)MVar7 < (int)sVar6 >> 6)" ( (binary_expression "(int)MVar7 < (int)sVar6 >> 6" (cast_expression "(int)MVar7" ( (type_descriptor "int" primitive_type) ) identifier) < (binary_expression "(int)sVar6 >> 6" (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) (compound_statement "{\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      bVar2 = 1 < (int)MVar7;\n    }" { (expression_statement "MVar7 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar7 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (expression_statement "bVar2 = 1 < (int)MVar7;" (assignment_expression "bVar2 = 1 < (int)MVar7" identifier = (binary_expression "1 < (int)MVar7" number_literal < (cast_expression "(int)MVar7" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (if_statement "if (bVar2) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      sVar1 = image->rows;\n      sVar6 = sVar1 + 0x3f;\n      if (-1 < (int)sVar1) {\n        sVar6 = sVar1;\n      }\n      iVar5 = (int)sVar6 >> 6;\n      if ((int)MVar7 < iVar5) {\n        MVar7 = GetMagickResourceLimit(ThreadResource);\n        iVar5 = (int)MVar7;\n      }\n    }\n    else {\nLAB_00191391:\n      iVar5 = 1;\n    }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      sVar1 = image->rows;\n      sVar6 = sVar1 + 0x3f;\n      if (-1 < (int)sVar1) {\n        sVar6 = sVar1;\n      }\n      iVar5 = (int)sVar6 >> 6;\n      if ((int)MVar7 < iVar5) {\n        MVar7 = GetMagickResourceLimit(ThreadResource);\n        iVar5 = (int)MVar7;\n      }\n    }" { (expression_statement "MVar7 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar7 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (expression_statement "sVar1 = image->rows;" (assignment_expression "sVar1 = image->rows" identifier = (field_expression "image->rows" identifier -> field_identifier)) ;) (expression_statement "sVar6 = sVar1 + 0x3f;" (assignment_expression "sVar6 = sVar1 + 0x3f" identifier = (binary_expression "sVar1 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < (int)sVar1) {\n        sVar6 = sVar1;\n      }" if (parenthesized_expression "(-1 < (int)sVar1)" ( (binary_expression "-1 < (int)sVar1" number_literal < (cast_expression "(int)sVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        sVar6 = sVar1;\n      }" { (expression_statement "sVar6 = sVar1;" (assignment_expression "sVar6 = sVar1" identifier = identifier) ;) })) (expression_statement "iVar5 = (int)sVar6 >> 6;" (assignment_expression "iVar5 = (int)sVar6 >> 6" identifier = (binary_expression "(int)sVar6 >> 6" (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if ((int)MVar7 < iVar5) {\n        MVar7 = GetMagickResourceLimit(ThreadResource);\n        iVar5 = (int)MVar7;\n      }" if (parenthesized_expression "((int)MVar7 < iVar5)" ( (binary_expression "(int)MVar7 < iVar5" (cast_expression "(int)MVar7" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) (compound_statement "{\n        MVar7 = GetMagickResourceLimit(ThreadResource);\n        iVar5 = (int)MVar7;\n      }" { (expression_statement "MVar7 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar7 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (expression_statement "iVar5 = (int)MVar7;" (assignment_expression "iVar5 = (int)MVar7" identifier = (cast_expression "(int)MVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) }) (else_clause "else {\nLAB_00191391:\n      iVar5 = 1;\n    }" else (compound_statement "{\nLAB_00191391:\n      iVar5 = 1;\n    }" { (labeled_statement "LAB_00191391:\n      iVar5 = 1;" statement_identifier : (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;)) }))) }) (else_clause "else {\n    MVar7 = GetMagickResourceLimit(ThreadResource);\n    if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) goto LAB_00191391;\n    }\n    MVar7 = GetMagickResourceLimit(ThreadResource);\n    if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      iVar5 = (int)MVar7;\n    }\n    else {\n      iVar5 = 2;\n    }\n  }" else (compound_statement "{\n    MVar7 = GetMagickResourceLimit(ThreadResource);\n    if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) goto LAB_00191391;\n    }\n    MVar7 = GetMagickResourceLimit(ThreadResource);\n    if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      iVar5 = (int)MVar7;\n    }\n    else {\n      iVar5 = 2;\n    }\n  }" { (expression_statement "MVar7 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar7 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (if_statement "if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) goto LAB_00191391;\n    }" if (parenthesized_expression "(((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2))" ( (binary_expression "((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)" (parenthesized_expression "((int)(MVar7 >> 0x20) == 0)" ( (binary_expression "(int)(MVar7 >> 0x20) == 0" (cast_expression "(int)(MVar7 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(MVar7 >> 0x20)" ( (binary_expression "MVar7 >> 0x20" identifier >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)MVar7 < 2)" ( (binary_expression "(uint)MVar7 < 2" (cast_expression "(uint)MVar7" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) goto LAB_00191391;\n    }" { (expression_statement "MVar7 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar7 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (if_statement "if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) goto LAB_00191391;" if (parenthesized_expression "(((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2))" ( (binary_expression "((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)" (parenthesized_expression "((int)(MVar7 >> 0x20) == 0)" ( (binary_expression "(int)(MVar7 >> 0x20) == 0" (cast_expression "(int)(MVar7 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(MVar7 >> 0x20)" ( (binary_expression "MVar7 >> 0x20" identifier >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)MVar7 < 2)" ( (binary_expression "(uint)MVar7 < 2" (cast_expression "(uint)MVar7" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (goto_statement "goto LAB_00191391;" goto statement_identifier ;)) })) (expression_statement "MVar7 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar7 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (if_statement "if (((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)) {\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      iVar5 = (int)MVar7;\n    }\n    else {\n      iVar5 = 2;\n    }" if (parenthesized_expression "(((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2))" ( (binary_expression "((int)(MVar7 >> 0x20) == 0) && ((uint)MVar7 < 2)" (parenthesized_expression "((int)(MVar7 >> 0x20) == 0)" ( (binary_expression "(int)(MVar7 >> 0x20) == 0" (cast_expression "(int)(MVar7 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(MVar7 >> 0x20)" ( (binary_expression "MVar7 >> 0x20" identifier >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)MVar7 < 2)" ( (binary_expression "(uint)MVar7 < 2" (cast_expression "(uint)MVar7" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n      MVar7 = GetMagickResourceLimit(ThreadResource);\n      iVar5 = (int)MVar7;\n    }" { (expression_statement "MVar7 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar7 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (expression_statement "iVar5 = (int)MVar7;" (assignment_expression "iVar5 = (int)MVar7" identifier = (cast_expression "(int)MVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n      iVar5 = 2;\n    }" else (compound_statement "{\n      iVar5 = 2;\n    }" { (expression_statement "iVar5 = 2;" (assignment_expression "iVar5 = 2" identifier = number_literal) ;) }))) }))) (expression_statement "local_30 = exception;" (assignment_expression "local_30 = exception" identifier = identifier) ;) (expression_statement "local_34 = parameters;" (assignment_expression "local_34 = parameters" identifier = identifier) ;) (expression_statement "local_40 = image;" (assignment_expression "local_40 = image" identifier = identifier) ;) (expression_statement "local_28 = MagickTrue;" (assignment_expression "local_28 = MagickTrue" identifier = identifier) ;) (expression_statement "local_38 = number_parameters;" (assignment_expression "local_38 = number_parameters" identifier = identifier) ;) (expression_statement "local_3c = function;" (assignment_expression "local_3c = function" identifier = identifier) ;) (expression_statement "local_24 = &progress;" (assignment_expression "local_24 = &progress" identifier = (pointer_expression "&progress" & identifier)) ;) (expression_statement "local_2c = cache_view;" (assignment_expression "local_2c = cache_view" identifier = identifier) ;) (expression_statement "GOMP_parallel(FunctionImage__omp_fn_3,&local_40,iVar5,0);" (call_expression "GOMP_parallel(FunctionImage__omp_fn_3,&local_40,iVar5,0)" identifier (argument_list "(FunctionImage__omp_fn_3,&local_40,iVar5,0)" ( identifier , (pointer_expression "&local_40" & identifier) , identifier , number_literal ))) ;) (expression_statement "MVar3 = local_28;" (assignment_expression "MVar3 = local_28" identifier = identifier) ;) (expression_statement "DestroyCacheView(cache_view);" (call_expression "DestroyCacheView(cache_view)" identifier (argument_list "(cache_view)" ( identifier ))) ;) (labeled_statement "LAB_0019121a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\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                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return MVar3;" return identifier ;) })))
(translation_unit "int FunctionImage(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5)\n\n{\n  bool bVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  undefined8 uVar6;\n  undefined4 local_4c;\n  undefined4 local_48;\n  int local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_30;\n  undefined4 local_2c;\n  int local_28;\n  undefined4 *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1911a9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  if (param_5 == 0) {\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }\n  if (*(int *)(param_5 + 0x1c) != -0x54535255) {\n                    \n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }\n  iVar2 = SetImageStorageClass(param_1,1,param_5);\n  if (iVar2 == 0) goto LAB_0019121a;\n  local_4c = 0;\n  local_48 = 0;\n  uVar3 = AcquireAuthenticCacheView(param_1,param_5);\n  iVar2 = GetImagePixelCacheType(param_1);\n  if (((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&\n     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))) {\n    iVar5 = GetMagickResourceLimit(7);\n    iVar2 = *(int *)(param_1 + 0x1c);\n    iVar4 = iVar2 + 0x3f;\n    if (-1 < iVar2) {\n      iVar4 = iVar2;\n    }\n    bVar1 = 0x7f < iVar2;\n    if (iVar5 < iVar4 >> 6) {\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }\n    if (bVar1) {\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }\n    else {\nLAB_00191391:\n      iVar4 = 1;\n    }\n  }\n  else {\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }\n  }\n  local_30 = param_5;\n  local_34 = param_4;\n  local_40 = param_1;\n  local_28 = 1;\n  local_38 = param_3;\n  local_3c = param_2;\n  local_24 = &local_4c;\n  local_2c = uVar3;\n  GOMP_parallel(FUN_0018ffc0,&local_40,iVar4,0);\n  iVar2 = local_28;\n  DestroyCacheView(uVar3);\nLAB_0019121a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return iVar2;\n}\n\n" (function_definition "int FunctionImage(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5)\n\n{\n  bool bVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  undefined8 uVar6;\n  undefined4 local_4c;\n  undefined4 local_48;\n  int local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_30;\n  undefined4 local_2c;\n  int local_28;\n  undefined4 *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1911a9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  if (param_5 == 0) {\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }\n  if (*(int *)(param_5 + 0x1c) != -0x54535255) {\n                    \n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }\n  iVar2 = SetImageStorageClass(param_1,1,param_5);\n  if (iVar2 == 0) goto LAB_0019121a;\n  local_4c = 0;\n  local_48 = 0;\n  uVar3 = AcquireAuthenticCacheView(param_1,param_5);\n  iVar2 = GetImagePixelCacheType(param_1);\n  if (((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&\n     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))) {\n    iVar5 = GetMagickResourceLimit(7);\n    iVar2 = *(int *)(param_1 + 0x1c);\n    iVar4 = iVar2 + 0x3f;\n    if (-1 < iVar2) {\n      iVar4 = iVar2;\n    }\n    bVar1 = 0x7f < iVar2;\n    if (iVar5 < iVar4 >> 6) {\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }\n    if (bVar1) {\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }\n    else {\nLAB_00191391:\n      iVar4 = 1;\n    }\n  }\n  else {\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }\n  }\n  local_30 = param_5;\n  local_34 = param_4;\n  local_40 = param_1;\n  local_28 = 1;\n  local_38 = param_3;\n  local_3c = param_2;\n  local_24 = &local_4c;\n  local_2c = uVar3;\n  GOMP_parallel(FUN_0018ffc0,&local_40,iVar4,0);\n  iVar2 = local_28;\n  DestroyCacheView(uVar3);\nLAB_0019121a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FunctionImage(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  undefined8 uVar6;\n  undefined4 local_4c;\n  undefined4 local_48;\n  int local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_30;\n  undefined4 local_2c;\n  int local_28;\n  undefined4 *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1911a9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  if (param_5 == 0) {\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }\n  if (*(int *)(param_5 + 0x1c) != -0x54535255) {\n                    \n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }\n  iVar2 = SetImageStorageClass(param_1,1,param_5);\n  if (iVar2 == 0) goto LAB_0019121a;\n  local_4c = 0;\n  local_48 = 0;\n  uVar3 = AcquireAuthenticCacheView(param_1,param_5);\n  iVar2 = GetImagePixelCacheType(param_1);\n  if (((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&\n     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))) {\n    iVar5 = GetMagickResourceLimit(7);\n    iVar2 = *(int *)(param_1 + 0x1c);\n    iVar4 = iVar2 + 0x3f;\n    if (-1 < iVar2) {\n      iVar4 = iVar2;\n    }\n    bVar1 = 0x7f < iVar2;\n    if (iVar5 < iVar4 >> 6) {\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }\n    if (bVar1) {\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }\n    else {\nLAB_00191391:\n      iVar4 = 1;\n    }\n  }\n  else {\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }\n  }\n  local_30 = param_5;\n  local_34 = param_4;\n  local_40 = param_1;\n  local_28 = 1;\n  local_38 = param_3;\n  local_3c = param_2;\n  local_24 = &local_4c;\n  local_2c = uVar3;\n  GOMP_parallel(FUN_0018ffc0,&local_40,iVar4,0);\n  iVar2 = local_28;\n  DestroyCacheView(uVar3);\nLAB_0019121a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return iVar2;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (declaration "undefined4 local_4c;" type_identifier identifier ;) (declaration "undefined4 local_48;" type_identifier identifier ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "undefined4 *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1911a9;" (assignment_expression "uStack_14 = 0x1911a9" 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("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }" { (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage")" identifier (argument_list "("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/statistic.c"" " string_content ") , number_literal , (string_literal ""FunctionImage"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3344) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3344)" * (cast_expression "(int *)(param_1 + 0x3344)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3344)" ( (binary_expression "param_1 + 0x3344" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }" { (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/statistic.c"" " string_content ") , number_literal , (string_literal ""FunctionImage"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3328) != 0)" ( (binary_expression "*(int *)(param_1 + 0x3328) != 0" (pointer_expression "*(int *)(param_1 + 0x3328)" * (cast_expression "(int *)(param_1 + 0x3328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3328)" ( (binary_expression "param_1 + 0x3328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318)" identifier (argument_list "(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318)" ( number_literal , (string_literal ""MagickCore/statistic.c"" " string_content ") , (string_literal ""FunctionImage"" " string_content ") , number_literal , (pointer_expression "&DAT_002b6e4e" & identifier) , (binary_expression "param_1 + 0x318" identifier + number_literal) ))) ;) })) (if_statement "if (param_5 == 0) {\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }" { (expression_statement "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");" (call_expression "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage")" identifier (argument_list "("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage")" ( (string_literal ""exception != (ExceptionInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/statistic.c"" " string_content ") , number_literal , (string_literal ""FunctionImage"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_5 + 0x1c) != -0x54535255) {\n                    \n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }" if (parenthesized_expression "(*(int *)(param_5 + 0x1c) != -0x54535255)" ( (binary_expression "*(int *)(param_5 + 0x1c) != -0x54535255" (pointer_expression "*(int *)(param_5 + 0x1c)" * (cast_expression "(int *)(param_5 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x1c)" ( (binary_expression "param_5 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }" { (expression_statement "__assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");" (call_expression "__assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage")" identifier (argument_list "("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage")" ( (string_literal ""exception->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/statistic.c"" " string_content ") , number_literal , (string_literal ""FunctionImage"" " string_content ") ))) ;) })) (expression_statement "iVar2 = SetImageStorageClass(param_1,1,param_5);" (assignment_expression "iVar2 = SetImageStorageClass(param_1,1,param_5)" identifier = (call_expression "SetImageStorageClass(param_1,1,param_5)" identifier (argument_list "(param_1,1,param_5)" ( identifier , number_literal , identifier )))) ;) (if_statement "if (iVar2 == 0) goto LAB_0019121a;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0019121a;" goto statement_identifier ;)) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = AcquireAuthenticCacheView(param_1,param_5);" (assignment_expression "uVar3 = AcquireAuthenticCacheView(param_1,param_5)" identifier = (call_expression "AcquireAuthenticCacheView(param_1,param_5)" identifier (argument_list "(param_1,param_5)" ( identifier , identifier )))) ;) (expression_statement "iVar2 = GetImagePixelCacheType(param_1);" (assignment_expression "iVar2 = GetImagePixelCacheType(param_1)" identifier = (call_expression "GetImagePixelCacheType(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&\n     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))) {\n    iVar5 = GetMagickResourceLimit(7);\n    iVar2 = *(int *)(param_1 + 0x1c);\n    iVar4 = iVar2 + 0x3f;\n    if (-1 < iVar2) {\n      iVar4 = iVar2;\n    }\n    bVar1 = 0x7f < iVar2;\n    if (iVar5 < iVar4 >> 6) {\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }\n    if (bVar1) {\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }\n    else {\nLAB_00191391:\n      iVar4 = 1;\n    }\n  }\n  else {\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }\n  }" if (parenthesized_expression "(((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&\n     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3))))" ( (binary_expression "((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&\n     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))" (parenthesized_expression "((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3))" ( (binary_expression "(iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)" (parenthesized_expression "(iVar2 == 4)" ( (binary_expression "iVar2 == 4" identifier == number_literal) )) || (parenthesized_expression "(iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)" ( (comma_expression "iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3" (assignment_expression "iVar2 = GetImagePixelCacheType(param_1)" identifier = (call_expression "GetImagePixelCacheType(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar2 == 3" identifier == number_literal)) ))) )) && (parenthesized_expression "((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))" ( (parenthesized_expression "(iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3))" ( (comma_expression "iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)" (assignment_expression "iVar2 = GetImagePixelCacheType(param_1)" identifier = (call_expression "GetImagePixelCacheType(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)" (binary_expression "iVar2 == 4" identifier == number_literal) || (parenthesized_expression "(iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)" ( (comma_expression "iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3" (assignment_expression "iVar2 = GetImagePixelCacheType(param_1)" identifier = (call_expression "GetImagePixelCacheType(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar2 == 3" identifier == number_literal)) )))) )) ))) )) (compound_statement "{\n    iVar5 = GetMagickResourceLimit(7);\n    iVar2 = *(int *)(param_1 + 0x1c);\n    iVar4 = iVar2 + 0x3f;\n    if (-1 < iVar2) {\n      iVar4 = iVar2;\n    }\n    bVar1 = 0x7f < iVar2;\n    if (iVar5 < iVar4 >> 6) {\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }\n    if (bVar1) {\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }\n    else {\nLAB_00191391:\n      iVar4 = 1;\n    }\n  }" { (expression_statement "iVar5 = GetMagickResourceLimit(7);" (assignment_expression "iVar5 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iVar2 + 0x3f;" (assignment_expression "iVar4 = iVar2 + 0x3f" identifier = (binary_expression "iVar2 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < iVar2) {\n      iVar4 = iVar2;\n    }" if (parenthesized_expression "(-1 < iVar2)" ( (binary_expression "-1 < iVar2" number_literal < identifier) )) (compound_statement "{\n      iVar4 = iVar2;\n    }" { (expression_statement "iVar4 = iVar2;" (assignment_expression "iVar4 = iVar2" identifier = identifier) ;) })) (expression_statement "bVar1 = 0x7f < iVar2;" (assignment_expression "bVar1 = 0x7f < iVar2" identifier = (binary_expression "0x7f < iVar2" number_literal < identifier)) ;) (if_statement "if (iVar5 < iVar4 >> 6) {\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }" if (parenthesized_expression "(iVar5 < iVar4 >> 6)" ( (binary_expression "iVar5 < iVar4 >> 6" identifier < (binary_expression "iVar4 >> 6" identifier >> number_literal)) )) (compound_statement "{\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }" { (expression_statement "iVar2 = GetMagickResourceLimit(7);" (assignment_expression "iVar2 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (expression_statement "bVar1 = 1 < iVar2;" (assignment_expression "bVar1 = 1 < iVar2" identifier = (binary_expression "1 < iVar2" number_literal < identifier)) ;) })) (if_statement "if (bVar1) {\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }\n    else {\nLAB_00191391:\n      iVar4 = 1;\n    }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }" { (expression_statement "iVar5 = GetMagickResourceLimit(7);" (assignment_expression "iVar5 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iVar2 + 0x3f;" (assignment_expression "iVar4 = iVar2 + 0x3f" identifier = (binary_expression "iVar2 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }" if (parenthesized_expression "(-1 < iVar2)" ( (binary_expression "-1 < iVar2" number_literal < identifier) )) (compound_statement "{\n        iVar4 = iVar2;\n      }" { (expression_statement "iVar4 = iVar2;" (assignment_expression "iVar4 = iVar2" identifier = identifier) ;) })) (expression_statement "iVar4 = iVar4 >> 6;" (assignment_expression "iVar4 = iVar4 >> 6" identifier = (binary_expression "iVar4 >> 6" identifier >> number_literal)) ;) (if_statement "if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }" if (parenthesized_expression "(iVar5 < iVar4)" ( (binary_expression "iVar5 < iVar4" identifier < identifier) )) (compound_statement "{\n        iVar4 = GetMagickResourceLimit(7);\n      }" { (expression_statement "iVar4 = GetMagickResourceLimit(7);" (assignment_expression "iVar4 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) })) }) (else_clause "else {\nLAB_00191391:\n      iVar4 = 1;\n    }" else (compound_statement "{\nLAB_00191391:\n      iVar4 = 1;\n    }" { (labeled_statement "LAB_00191391:\n      iVar4 = 1;" statement_identifier : (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;)) }))) }) (else_clause "else {\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }\n  }" else (compound_statement "{\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }\n  }" { (expression_statement "uVar6 = GetMagickResourceLimit(7);" (assignment_expression "uVar6 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }" if (parenthesized_expression "(((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2))" ( (binary_expression "((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)" (parenthesized_expression "((int)((ulonglong)uVar6 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar6 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar6 < 2)" ( (binary_expression "(uint)uVar6 < 2" (cast_expression "(uint)uVar6" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }" { (expression_statement "uVar6 = GetMagickResourceLimit(7);" (assignment_expression "uVar6 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;" if (parenthesized_expression "(((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2))" ( (binary_expression "((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)" (parenthesized_expression "((int)((ulonglong)uVar6 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar6 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar6 < 2)" ( (binary_expression "(uint)uVar6 < 2" (cast_expression "(uint)uVar6" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (goto_statement "goto LAB_00191391;" goto statement_identifier ;)) })) (expression_statement "uVar6 = GetMagickResourceLimit(7);" (assignment_expression "uVar6 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }" if (parenthesized_expression "(((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2))" ( (binary_expression "((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)" (parenthesized_expression "((int)((ulonglong)uVar6 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar6 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar6 < 2)" ( (binary_expression "(uint)uVar6 < 2" (cast_expression "(uint)uVar6" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n      iVar4 = GetMagickResourceLimit(7);\n    }" { (expression_statement "iVar4 = GetMagickResourceLimit(7);" (assignment_expression "iVar4 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) }) (else_clause "else {\n      iVar4 = 2;\n    }" else (compound_statement "{\n      iVar4 = 2;\n    }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) }))) }))) (expression_statement "local_30 = param_5;" (assignment_expression "local_30 = param_5" identifier = identifier) ;) (expression_statement "local_34 = param_4;" (assignment_expression "local_34 = param_4" identifier = identifier) ;) (expression_statement "local_40 = param_1;" (assignment_expression "local_40 = param_1" identifier = identifier) ;) (expression_statement "local_28 = 1;" (assignment_expression "local_28 = 1" identifier = number_literal) ;) (expression_statement "local_38 = param_3;" (assignment_expression "local_38 = param_3" identifier = identifier) ;) (expression_statement "local_3c = param_2;" (assignment_expression "local_3c = param_2" identifier = identifier) ;) (expression_statement "local_24 = &local_4c;" (assignment_expression "local_24 = &local_4c" identifier = (pointer_expression "&local_4c" & identifier)) ;) (expression_statement "local_2c = uVar3;" (assignment_expression "local_2c = uVar3" identifier = identifier) ;) (expression_statement "GOMP_parallel(FUN_0018ffc0,&local_40,iVar4,0);" (call_expression "GOMP_parallel(FUN_0018ffc0,&local_40,iVar4,0)" identifier (argument_list "(FUN_0018ffc0,&local_40,iVar4,0)" ( identifier , (pointer_expression "&local_40" & identifier) , identifier , number_literal ))) ;) (expression_statement "iVar2 = local_28;" (assignment_expression "iVar2 = local_28" identifier = identifier) ;) (expression_statement "DestroyCacheView(uVar3);" (call_expression "DestroyCacheView(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (labeled_statement "LAB_0019121a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\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                    \n    FUN_0029eab0();\n  }" { (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , (pointer_expression & IDENT) , (binary_expression IDENT + LIT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) )))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression LIT < IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT >> LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT < IDENT)) ;) })) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) })) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) == LIT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) == LIT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) ))) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) == LIT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (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 { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "int FunctionImage(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5)\n\n{\n  bool bVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  undefined8 uVar6;\n  undefined4 local_4c;\n  undefined4 local_48;\n  int local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_30;\n  undefined4 local_2c;\n  int local_28;\n  undefined4 *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1911a9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  if (param_5 == 0) {\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }\n  if (*(int *)(param_5 + 0x1c) != -0x54535255) {\n                    \n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }\n  iVar2 = SetImageStorageClass(param_1,1,param_5);\n  if (iVar2 == 0) goto LAB_0019121a;\n  local_4c = 0;\n  local_48 = 0;\n  uVar3 = AcquireAuthenticCacheView(param_1,param_5);\n  iVar2 = GetImagePixelCacheType(param_1);\n  if (((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&\n     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))) {\n    iVar5 = GetMagickResourceLimit(7);\n    iVar2 = *(int *)(param_1 + 0x1c);\n    iVar4 = iVar2 + 0x3f;\n    if (-1 < iVar2) {\n      iVar4 = iVar2;\n    }\n    bVar1 = 0x7f < iVar2;\n    if (iVar5 < iVar4 >> 6) {\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }\n    if (bVar1) {\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }\n    else {\nLAB_00191391:\n      iVar4 = 1;\n    }\n  }\n  else {\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }\n  }\n  local_30 = param_5;\n  local_34 = param_4;\n  local_40 = param_1;\n  local_28 = 1;\n  local_38 = param_3;\n  local_3c = param_2;\n  local_24 = &local_4c;\n  local_2c = uVar3;\n  GOMP_parallel(FUN_0018ffc0,&local_40,iVar4,0);\n  iVar2 = local_28;\n  DestroyCacheView(uVar3);\nLAB_0019121a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return iVar2;\n}" (primitive_type "int") (function_declarator "FunctionImage(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5)" (identifier "FunctionImage") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) () ")"))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  undefined8 uVar6;\n  undefined4 local_4c;\n  undefined4 local_48;\n  int local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  int local_30;\n  undefined4 local_2c;\n  int local_28;\n  undefined4 *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1911a9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  if (param_5 == 0) {\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }\n  if (*(int *)(param_5 + 0x1c) != -0x54535255) {\n                    \n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }\n  iVar2 = SetImageStorageClass(param_1,1,param_5);\n  if (iVar2 == 0) goto LAB_0019121a;\n  local_4c = 0;\n  local_48 = 0;\n  uVar3 = AcquireAuthenticCacheView(param_1,param_5);\n  iVar2 = GetImagePixelCacheType(param_1);\n  if (((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&\n     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))) {\n    iVar5 = GetMagickResourceLimit(7);\n    iVar2 = *(int *)(param_1 + 0x1c);\n    iVar4 = iVar2 + 0x3f;\n    if (-1 < iVar2) {\n      iVar4 = iVar2;\n    }\n    bVar1 = 0x7f < iVar2;\n    if (iVar5 < iVar4 >> 6) {\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }\n    if (bVar1) {\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }\n    else {\nLAB_00191391:\n      iVar4 = 1;\n    }\n  }\n  else {\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }\n  }\n  local_30 = param_5;\n  local_34 = param_4;\n  local_40 = param_1;\n  local_28 = 1;\n  local_38 = param_3;\n  local_3c = param_2;\n  local_24 = &local_4c;\n  local_2c = uVar3;\n  GOMP_parallel(FUN_0018ffc0,&local_40,iVar4,0);\n  iVar2 = local_28;\n  DestroyCacheView(uVar3);\nLAB_0019121a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return iVar2;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined8 uVar6;" (type_identifier "undefined8") (identifier "uVar6") (; ";")) (declaration "undefined4 local_4c;" (type_identifier "undefined4") (identifier "local_4c") (; ";")) (declaration "undefined4 local_48;" (type_identifier "undefined4") (identifier "local_48") (; ";")) (declaration "int local_40;" (primitive_type "int") (identifier "local_40") (; ";")) (declaration "undefined4 local_3c;" (type_identifier "undefined4") (identifier "local_3c") (; ";")) (declaration "undefined4 local_38;" (type_identifier "undefined4") (identifier "local_38") (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (declaration "undefined4 *local_24;" (type_identifier "undefined4") (pointer_declarator "*local_24" (* "*") (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 "uStack_14 = 0x1911a9;" (assignment_expression "uStack_14 = 0x1911a9" (identifier "uStack_14") (= "=") (number_literal "0x1911a9")) (; ";")) (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("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");\n  }" ({ "{") (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage")" (identifier "__assert_fail") (argument_list "("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage")" (( "(") (string_literal ""image != (Image *) NULL"" (" """) (string_content "image != (Image *) NULL") (" """)) (, ",") (string_literal ""MagickCore/statistic.c"" (" """) (string_content "MagickCore/statistic.c") (" """)) (, ",") (number_literal "0x442") (, ",") (string_literal ""FunctionImage"" (" """) (string_content "FunctionImage") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3344) != -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3344)" (* "*") (cast_expression "(int *)(param_1 + 0x3344)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3344)" (( "(") (binary_expression "param_1 + 0x3344" (identifier "param_1") (+ "+") (number_literal "0x3344")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");\n  }" ({ "{") (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage")" (identifier "__assert_fail") (argument_list "("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,\n                  "FunctionImage")" (( "(") (string_literal ""image->signature == MagickCoreSignature"" (" """) (string_content "image->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/statistic.c"" (" """) (string_content "MagickCore/statistic.c") (" """)) (, ",") (number_literal "0x443") (, ",") (string_literal ""FunctionImage"" (" """) (string_content "FunctionImage") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3328) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x3328) != 0" (pointer_expression "*(int *)(param_1 + 0x3328)" (* "*") (cast_expression "(int *)(param_1 + 0x3328)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3328)" (( "(") (binary_expression "param_1 + 0x3328" (identifier "param_1") (+ "+") (number_literal "0x3328")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }" ({ "{") (expression_statement "LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318)" (identifier "LogMagickEvent") (argument_list "(0x8000,"MagickCore/statistic.c","FunctionImage",0x445,&DAT_002b6e4e,\n                   param_1 + 0x318)" (( "(") (number_literal "0x8000") (, ",") (string_literal ""MagickCore/statistic.c"" (" """) (string_content "MagickCore/statistic.c") (" """)) (, ",") (string_literal ""FunctionImage"" (" """) (string_content "FunctionImage") (" """)) (, ",") (number_literal "0x445") (, ",") (pointer_expression "&DAT_002b6e4e" (& "&") (identifier "DAT_002b6e4e")) (, ",") (binary_expression "param_1 + 0x318" (identifier "param_1") (+ "+") (number_literal "0x318")) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_5 == 0) {\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }" (if "if") (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");\n  }" ({ "{") (expression_statement "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage");" (call_expression "__assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage")" (identifier "__assert_fail") (argument_list "("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,\n                  "FunctionImage")" (( "(") (string_literal ""exception != (ExceptionInfo *) NULL"" (" """) (string_content "exception != (ExceptionInfo *) NULL") (" """)) (, ",") (string_literal ""MagickCore/statistic.c"" (" """) (string_content "MagickCore/statistic.c") (" """)) (, ",") (number_literal "0x446") (, ",") (string_literal ""FunctionImage"" (" """) (string_content "FunctionImage") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_5 + 0x1c) != -0x54535255) {\n                    \n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }" (if "if") (parenthesized_expression "(*(int *)(param_5 + 0x1c) != -0x54535255)" (( "(") (binary_expression "*(int *)(param_5 + 0x1c) != -0x54535255" (pointer_expression "*(int *)(param_5 + 0x1c)" (* "*") (cast_expression "(int *)(param_5 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0x1c)" (( "(") (binary_expression "param_5 + 0x1c" (identifier "param_5") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n                    \n    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");\n  }" ({ "{") (expression_statement "__assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage");" (call_expression "__assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage")" (identifier "__assert_fail") (argument_list "("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,\n                  "FunctionImage")" (( "(") (string_literal ""exception->signature == MagickCoreSignature"" (" """) (string_content "exception->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/statistic.c"" (" """) (string_content "MagickCore/statistic.c") (" """)) (, ",") (number_literal "0x447") (, ",") (string_literal ""FunctionImage"" (" """) (string_content "FunctionImage") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = SetImageStorageClass(param_1,1,param_5);" (assignment_expression "iVar2 = SetImageStorageClass(param_1,1,param_5)" (identifier "iVar2") (= "=") (call_expression "SetImageStorageClass(param_1,1,param_5)" (identifier "SetImageStorageClass") (argument_list "(param_1,1,param_5)" (( "(") (identifier "param_1") (, ",") (number_literal "1") (, ",") (identifier "param_5") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) goto LAB_0019121a;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0019121a;" (goto "goto") (statement_identifier "LAB_0019121a") (; ";"))) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" (identifier "local_4c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" (identifier "local_48") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = AcquireAuthenticCacheView(param_1,param_5);" (assignment_expression "uVar3 = AcquireAuthenticCacheView(param_1,param_5)" (identifier "uVar3") (= "=") (call_expression "AcquireAuthenticCacheView(param_1,param_5)" (identifier "AcquireAuthenticCacheView") (argument_list "(param_1,param_5)" (( "(") (identifier "param_1") (, ",") (identifier "param_5") () ")")))) (; ";")) (expression_statement "iVar2 = GetImagePixelCacheType(param_1);" (assignment_expression "iVar2 = GetImagePixelCacheType(param_1)" (identifier "iVar2") (= "=") (call_expression "GetImagePixelCacheType(param_1)" (identifier "GetImagePixelCacheType") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&\n     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))) {\n    iVar5 = GetMagickResourceLimit(7);\n    iVar2 = *(int *)(param_1 + 0x1c);\n    iVar4 = iVar2 + 0x3f;\n    if (-1 < iVar2) {\n      iVar4 = iVar2;\n    }\n    bVar1 = 0x7f < iVar2;\n    if (iVar5 < iVar4 >> 6) {\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }\n    if (bVar1) {\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }\n    else {\nLAB_00191391:\n      iVar4 = 1;\n    }\n  }\n  else {\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }\n  }" (if "if") (parenthesized_expression "(((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&\n     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3))))" (( "(") (binary_expression "((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&\n     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))" (parenthesized_expression "((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3))" (( "(") (binary_expression "(iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)" (parenthesized_expression "(iVar2 == 4)" (( "(") (binary_expression "iVar2 == 4" (identifier "iVar2") (== "==") (number_literal "4")) () ")")) (|| "||") (parenthesized_expression "(iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)" (( "(") (comma_expression "iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3" (assignment_expression "iVar2 = GetImagePixelCacheType(param_1)" (identifier "iVar2") (= "=") (call_expression "GetImagePixelCacheType(param_1)" (identifier "GetImagePixelCacheType") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (, ",") (binary_expression "iVar2 == 3" (identifier "iVar2") (== "==") (number_literal "3"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))" (( "(") (parenthesized_expression "(iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3))" (( "(") (comma_expression "iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)" (assignment_expression "iVar2 = GetImagePixelCacheType(param_1)" (identifier "iVar2") (= "=") (call_expression "GetImagePixelCacheType(param_1)" (identifier "GetImagePixelCacheType") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (, ",") (binary_expression "iVar2 == 4 ||\n      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)" (binary_expression "iVar2 == 4" (identifier "iVar2") (== "==") (number_literal "4")) (|| "||") (parenthesized_expression "(iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)" (( "(") (comma_expression "iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3" (assignment_expression "iVar2 = GetImagePixelCacheType(param_1)" (identifier "iVar2") (= "=") (call_expression "GetImagePixelCacheType(param_1)" (identifier "GetImagePixelCacheType") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (, ",") (binary_expression "iVar2 == 3" (identifier "iVar2") (== "==") (number_literal "3"))) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n    iVar5 = GetMagickResourceLimit(7);\n    iVar2 = *(int *)(param_1 + 0x1c);\n    iVar4 = iVar2 + 0x3f;\n    if (-1 < iVar2) {\n      iVar4 = iVar2;\n    }\n    bVar1 = 0x7f < iVar2;\n    if (iVar5 < iVar4 >> 6) {\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }\n    if (bVar1) {\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }\n    else {\nLAB_00191391:\n      iVar4 = 1;\n    }\n  }" ({ "{") (expression_statement "iVar5 = GetMagickResourceLimit(7);" (assignment_expression "iVar5 = GetMagickResourceLimit(7)" (identifier "iVar5") (= "=") (call_expression "GetMagickResourceLimit(7)" (identifier "GetMagickResourceLimit") (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "iVar4 = iVar2 + 0x3f;" (assignment_expression "iVar4 = iVar2 + 0x3f" (identifier "iVar4") (= "=") (binary_expression "iVar2 + 0x3f" (identifier "iVar2") (+ "+") (number_literal "0x3f"))) (; ";")) (if_statement "if (-1 < iVar2) {\n      iVar4 = iVar2;\n    }" (if "if") (parenthesized_expression "(-1 < iVar2)" (( "(") (binary_expression "-1 < iVar2" (number_literal "-1") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n      iVar4 = iVar2;\n    }" ({ "{") (expression_statement "iVar4 = iVar2;" (assignment_expression "iVar4 = iVar2" (identifier "iVar4") (= "=") (identifier "iVar2")) (; ";")) (} "}"))) (expression_statement "bVar1 = 0x7f < iVar2;" (assignment_expression "bVar1 = 0x7f < iVar2" (identifier "bVar1") (= "=") (binary_expression "0x7f < iVar2" (number_literal "0x7f") (< "<") (identifier "iVar2"))) (; ";")) (if_statement "if (iVar5 < iVar4 >> 6) {\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }" (if "if") (parenthesized_expression "(iVar5 < iVar4 >> 6)" (( "(") (binary_expression "iVar5 < iVar4 >> 6" (identifier "iVar5") (< "<") (binary_expression "iVar4 >> 6" (identifier "iVar4") (>> ">>") (number_literal "6"))) () ")")) (compound_statement "{\n      iVar2 = GetMagickResourceLimit(7);\n      bVar1 = 1 < iVar2;\n    }" ({ "{") (expression_statement "iVar2 = GetMagickResourceLimit(7);" (assignment_expression "iVar2 = GetMagickResourceLimit(7)" (identifier "iVar2") (= "=") (call_expression "GetMagickResourceLimit(7)" (identifier "GetMagickResourceLimit") (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (expression_statement "bVar1 = 1 < iVar2;" (assignment_expression "bVar1 = 1 < iVar2" (identifier "bVar1") (= "=") (binary_expression "1 < iVar2" (number_literal "1") (< "<") (identifier "iVar2"))) (; ";")) (} "}"))) (if_statement "if (bVar1) {\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }\n    else {\nLAB_00191391:\n      iVar4 = 1;\n    }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n      iVar5 = GetMagickResourceLimit(7);\n      iVar2 = *(int *)(param_1 + 0x1c);\n      iVar4 = iVar2 + 0x3f;\n      if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }\n      iVar4 = iVar4 >> 6;\n      if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }\n    }" ({ "{") (expression_statement "iVar5 = GetMagickResourceLimit(7);" (assignment_expression "iVar5 = GetMagickResourceLimit(7)" (identifier "iVar5") (= "=") (call_expression "GetMagickResourceLimit(7)" (identifier "GetMagickResourceLimit") (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "iVar4 = iVar2 + 0x3f;" (assignment_expression "iVar4 = iVar2 + 0x3f" (identifier "iVar4") (= "=") (binary_expression "iVar2 + 0x3f" (identifier "iVar2") (+ "+") (number_literal "0x3f"))) (; ";")) (if_statement "if (-1 < iVar2) {\n        iVar4 = iVar2;\n      }" (if "if") (parenthesized_expression "(-1 < iVar2)" (( "(") (binary_expression "-1 < iVar2" (number_literal "-1") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n        iVar4 = iVar2;\n      }" ({ "{") (expression_statement "iVar4 = iVar2;" (assignment_expression "iVar4 = iVar2" (identifier "iVar4") (= "=") (identifier "iVar2")) (; ";")) (} "}"))) (expression_statement "iVar4 = iVar4 >> 6;" (assignment_expression "iVar4 = iVar4 >> 6" (identifier "iVar4") (= "=") (binary_expression "iVar4 >> 6" (identifier "iVar4") (>> ">>") (number_literal "6"))) (; ";")) (if_statement "if (iVar5 < iVar4) {\n        iVar4 = GetMagickResourceLimit(7);\n      }" (if "if") (parenthesized_expression "(iVar5 < iVar4)" (( "(") (binary_expression "iVar5 < iVar4" (identifier "iVar5") (< "<") (identifier "iVar4")) () ")")) (compound_statement "{\n        iVar4 = GetMagickResourceLimit(7);\n      }" ({ "{") (expression_statement "iVar4 = GetMagickResourceLimit(7);" (assignment_expression "iVar4 = GetMagickResourceLimit(7)" (identifier "iVar4") (= "=") (call_expression "GetMagickResourceLimit(7)" (identifier "GetMagickResourceLimit") (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\nLAB_00191391:\n      iVar4 = 1;\n    }" (else "else") (compound_statement "{\nLAB_00191391:\n      iVar4 = 1;\n    }" ({ "{") (labeled_statement "LAB_00191391:\n      iVar4 = 1;" (statement_identifier "LAB_00191391") (: ":") (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" (identifier "iVar4") (= "=") (number_literal "1")) (; ";"))) (} "}")))) (} "}")) (else_clause "else {\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }\n  }" (else "else") (compound_statement "{\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }\n    uVar6 = GetMagickResourceLimit(7);\n    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }\n  }" ({ "{") (expression_statement "uVar6 = GetMagickResourceLimit(7);" (assignment_expression "uVar6 = GetMagickResourceLimit(7)" (identifier "uVar6") (= "=") (call_expression "GetMagickResourceLimit(7)" (identifier "GetMagickResourceLimit") (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2))" (( "(") (binary_expression "((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)" (parenthesized_expression "((int)((ulonglong)uVar6 >> 0x20) == 0)" (( "(") (binary_expression "(int)((ulonglong)uVar6 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar6")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uint)uVar6 < 2)" (( "(") (binary_expression "(uint)uVar6 < 2" (cast_expression "(uint)uVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar6")) (< "<") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n      uVar6 = GetMagickResourceLimit(7);\n      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;\n    }" ({ "{") (expression_statement "uVar6 = GetMagickResourceLimit(7);" (assignment_expression "uVar6 = GetMagickResourceLimit(7)" (identifier "uVar6") (= "=") (call_expression "GetMagickResourceLimit(7)" (identifier "GetMagickResourceLimit") (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2))" (( "(") (binary_expression "((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)" (parenthesized_expression "((int)((ulonglong)uVar6 >> 0x20) == 0)" (( "(") (binary_expression "(int)((ulonglong)uVar6 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar6")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uint)uVar6 < 2)" (( "(") (binary_expression "(uint)uVar6 < 2" (cast_expression "(uint)uVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar6")) (< "<") (number_literal "2")) () ")"))) () ")")) (goto_statement "goto LAB_00191391;" (goto "goto") (statement_identifier "LAB_00191391") (; ";"))) (} "}"))) (expression_statement "uVar6 = GetMagickResourceLimit(7);" (assignment_expression "uVar6 = GetMagickResourceLimit(7)" (identifier "uVar6") (= "=") (call_expression "GetMagickResourceLimit(7)" (identifier "GetMagickResourceLimit") (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {\n      iVar4 = GetMagickResourceLimit(7);\n    }\n    else {\n      iVar4 = 2;\n    }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2))" (( "(") (binary_expression "((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)" (parenthesized_expression "((int)((ulonglong)uVar6 >> 0x20) == 0)" (( "(") (binary_expression "(int)((ulonglong)uVar6 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar6")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uint)uVar6 < 2)" (( "(") (binary_expression "(uint)uVar6 < 2" (cast_expression "(uint)uVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar6")) (< "<") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n      iVar4 = GetMagickResourceLimit(7);\n    }" ({ "{") (expression_statement "iVar4 = GetMagickResourceLimit(7);" (assignment_expression "iVar4 = GetMagickResourceLimit(7)" (identifier "iVar4") (= "=") (call_expression "GetMagickResourceLimit(7)" (identifier "GetMagickResourceLimit") (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (} "}")) (else_clause "else {\n      iVar4 = 2;\n    }" (else "else") (compound_statement "{\n      iVar4 = 2;\n    }" ({ "{") (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" (identifier "iVar4") (= "=") (number_literal "2")) (; ";")) (} "}")))) (} "}")))) (expression_statement "local_30 = param_5;" (assignment_expression "local_30 = param_5" (identifier "local_30") (= "=") (identifier "param_5")) (; ";")) (expression_statement "local_34 = param_4;" (assignment_expression "local_34 = param_4" (identifier "local_34") (= "=") (identifier "param_4")) (; ";")) (expression_statement "local_40 = param_1;" (assignment_expression "local_40 = param_1" (identifier "local_40") (= "=") (identifier "param_1")) (; ";")) (expression_statement "local_28 = 1;" (assignment_expression "local_28 = 1" (identifier "local_28") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_38 = param_3;" (assignment_expression "local_38 = param_3" (identifier "local_38") (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_3c = param_2;" (assignment_expression "local_3c = param_2" (identifier "local_3c") (= "=") (identifier "param_2")) (; ";")) (expression_statement "local_24 = &local_4c;" (assignment_expression "local_24 = &local_4c" (identifier "local_24") (= "=") (pointer_expression "&local_4c" (& "&") (identifier "local_4c"))) (; ";")) (expression_statement "local_2c = uVar3;" (assignment_expression "local_2c = uVar3" (identifier "local_2c") (= "=") (identifier "uVar3")) (; ";")) (expression_statement "GOMP_parallel(FUN_0018ffc0,&local_40,iVar4,0);" (call_expression "GOMP_parallel(FUN_0018ffc0,&local_40,iVar4,0)" (identifier "GOMP_parallel") (argument_list "(FUN_0018ffc0,&local_40,iVar4,0)" (( "(") (identifier "FUN_0018ffc0") (, ",") (pointer_expression "&local_40" (& "&") (identifier "local_40")) (, ",") (identifier "iVar4") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar2 = local_28;" (assignment_expression "iVar2 = local_28" (identifier "iVar2") (= "=") (identifier "local_28")) (; ";")) (expression_statement "DestroyCacheView(uVar3);" (call_expression "DestroyCacheView(uVar3)" (identifier "DestroyCacheView") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (labeled_statement "LAB_0019121a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }" (statement_identifier "LAB_0019121a") (: ":") (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\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                    \n    FUN_0029eab0();\n  }" ({ "{") (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" (identifier "FUN_0029eab0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))

/* 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 */
/* WARNING: Enum "LogEventType": Some values do not have unique names */

type_1
function_1(type_2 *var_2,type_3 function,size_t number_parameters,double *parameters,
             type_4 *var_6)

{
  size_t var_15;
  bool bVar2;
  type_1 var_8;
  type_5 *cache_view;
  type_6 var_11;
  int var_16;
  size_t sVar6;
  int var_1;
  type_7 var_17;
  type_8 progress;
  type_2 *local_40;
  type_3 local_3c;
  size_t local_38;
  double *local_34;
  type_4 *local_30;
  type_5 *local_2c;
  type_1 local_28;
  type_8 *local_24;
  int var_20;
  type_9 uStack_14;
  
  uStack_14 = 0x1911a9;
  var_20 = *(int *)(var_1 + 0x14);
  if (var_2 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("image != (Image *) NULL","MagickCore/statistic.c",0x442,"FunctionImage");
  }
  if (var_2->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    var_3("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,
                  "FunctionImage");
  }
  if (var_2->debug != var_4) {
    var_5(TraceEvent,"MagickCore/statistic.c","FunctionImage",0x445,"%s",var_2->filename);
  }
  if (var_6 == (type_4 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,
                  "FunctionImage");
  }
  if (var_6->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    var_3("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,
                  "FunctionImage");
  }
  var_8 = var_7(var_2,DirectClass,var_6);
  if (var_8 == var_4) goto LAB_0019121a;
  progress._0_4_ = 0;
  progress._4_4_ = 0;
  cache_view = var_9(var_2,var_6);
  var_11 = var_10(var_2);
  if (((var_11 == var_12) || (var_11 = var_10(var_2), var_11 == var_13)) &&
     ((var_11 = var_10(var_2), var_11 == var_12 ||
      (var_11 = var_10(var_2), var_11 == var_13)))) {
    var_17 = var_14(ThreadResource);
    var_15 = var_2->rows;
    sVar6 = var_15 + 0x3f;
    if (-1 < (int)var_15) {
      sVar6 = var_15;
    }
    bVar2 = 0x7f < (int)var_15;
    if ((int)var_17 < (int)sVar6 >> 6) {
      var_17 = var_14(ThreadResource);
      bVar2 = 1 < (int)var_17;
    }
    if (bVar2) {
      var_17 = var_14(ThreadResource);
      var_15 = var_2->rows;
      sVar6 = var_15 + 0x3f;
      if (-1 < (int)var_15) {
        sVar6 = var_15;
      }
      var_16 = (int)sVar6 >> 6;
      if ((int)var_17 < var_16) {
        var_17 = var_14(ThreadResource);
        var_16 = (int)var_17;
      }
    }
    else {
LAB_00191391:
      var_16 = 1;
    }
  }
  else {
    var_17 = var_14(ThreadResource);
    if (((int)(var_17 >> 0x20) == 0) && ((type_10)var_17 < 2)) {
      var_17 = var_14(ThreadResource);
      if (((int)(var_17 >> 0x20) == 0) && ((type_10)var_17 < 2)) goto LAB_00191391;
    }
    var_17 = var_14(ThreadResource);
    if (((int)(var_17 >> 0x20) == 0) && ((type_10)var_17 < 2)) {
      var_17 = var_14(ThreadResource);
      var_16 = (int)var_17;
    }
    else {
      var_16 = 2;
    }
  }
  local_30 = var_6;
  local_34 = parameters;
  local_40 = var_2;
  local_28 = MagickTrue;
  local_38 = number_parameters;
  local_3c = function;
  local_24 = &progress;
  local_2c = cache_view;
  var_18(FunctionImage__omp_fn_3,&local_40,var_16,0);
  var_8 = local_28;
  var_19(cache_view);
LAB_0019121a:
  if (var_20 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_21();
  }
  return var_8;
}


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

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

int MASKED(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,int param_5)

{
  bool bVar1;
  int iVar2;
  undefined4 uVar3;
  int iVar4;
  int iVar5;
  int in_GS_OFFSET;
  undefined8 uVar6;
  undefined4 local_4c;
  undefined4 local_48;
  int local_40;
  undefined4 local_3c;
  undefined4 local_38;
  undefined4 local_34;
  int local_30;
  undefined4 local_2c;
  int local_28;
  undefined4 *local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x1911a9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/statistic.c",0x442,"MASKED");
  }
  if (*(int *)(param_1 + 0x3344) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/statistic.c",0x443,
                  "MASKED");
  }
  if (*(int *)(param_1 + 0x3328) != 0) {
    LogMagickEvent(0x8000,"MagickCore/statistic.c","MASKED",0x445,&DAT_002b6e4e,
                   param_1 + 0x318);
  }
  if (param_5 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("exception != (ExceptionInfo *) NULL","MagickCore/statistic.c",0x446,
                  "MASKED");
  }
  if (*(int *)(param_5 + 0x1c) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("exception->signature == MagickCoreSignature","MagickCore/statistic.c",0x447,
                  "MASKED");
  }
  iVar2 = SetImageStorageClass(param_1,1,param_5);
  if (iVar2 == 0) goto LAB_0019121a;
  local_4c = 0;
  local_48 = 0;
  uVar3 = AcquireAuthenticCacheView(param_1,param_5);
  iVar2 = GetImagePixelCacheType(param_1);
  if (((iVar2 == 4) || (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)) &&
     ((iVar2 = GetImagePixelCacheType(param_1), iVar2 == 4 ||
      (iVar2 = GetImagePixelCacheType(param_1), iVar2 == 3)))) {
    iVar5 = GetMagickResourceLimit(7);
    iVar2 = *(int *)(param_1 + 0x1c);
    iVar4 = iVar2 + 0x3f;
    if (-1 < iVar2) {
      iVar4 = iVar2;
    }
    bVar1 = 0x7f < iVar2;
    if (iVar5 < iVar4 >> 6) {
      iVar2 = GetMagickResourceLimit(7);
      bVar1 = 1 < iVar2;
    }
    if (bVar1) {
      iVar5 = GetMagickResourceLimit(7);
      iVar2 = *(int *)(param_1 + 0x1c);
      iVar4 = iVar2 + 0x3f;
      if (-1 < iVar2) {
        iVar4 = iVar2;
      }
      iVar4 = iVar4 >> 6;
      if (iVar5 < iVar4) {
        iVar4 = GetMagickResourceLimit(7);
      }
    }
    else {
LAB_00191391:
      iVar4 = 1;
    }
  }
  else {
    uVar6 = GetMagickResourceLimit(7);
    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {
      uVar6 = GetMagickResourceLimit(7);
      if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) goto LAB_00191391;
    }
    uVar6 = GetMagickResourceLimit(7);
    if (((int)((ulonglong)uVar6 >> 0x20) == 0) && ((uint)uVar6 < 2)) {
      iVar4 = GetMagickResourceLimit(7);
    }
    else {
      iVar4 = 2;
    }
  }
  local_30 = param_5;
  local_34 = param_4;
  local_40 = param_1;
  local_28 = 1;
  local_38 = param_3;
  local_3c = param_2;
  local_24 = &local_4c;
  local_2c = uVar3;
  GOMP_parallel(FUN_0018ffc0,&local_40,iVar4,0);
  iVar2 = local_28;
  DestroyCacheView(uVar3);
LAB_0019121a:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0029eab0();
  }
  return iVar2;
}

