
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* 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 */

double __regparm3
FxChannelStatistics(FxInfo *fx_info,Image *image,PixelChannel channel,char *symbol,
                   ExceptionInfo *exception)

{
  int iVar1;
  char cVar2;
  double *pdVar3;
  int iVar4;
  ssize_t sVar5;
  size_t sVar6;
  char *pcVar7;
  MagickBooleanType MVar8;
  int in_GS_OFFSET;
  double local_1054;
  ChannelType local_1048;
  double kurtosis;
  double skewness;
  char key [4096];
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  cVar2 = *symbol;
  pcVar7 = symbol;
  while ((cVar2 != '.' && (cVar2 != '\0'))) {
    pcVar7 = pcVar7 + 1;
    cVar2 = *pcVar7;
  }
  if ((cVar2 == '.') &&
     (sVar5 = ParseCommandOption(MagickPixelChannelOptions,MagickTrue,pcVar7 + 1), -1 < sVar5)) {
    local_1048 = SetPixelChannelMask(image,1 << ((byte)sVar5 & 0x1f));
    FormatLocaleString(key,0x1000,"%p.%.20g.%s",image,(double)sVar5,symbol);
    pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);
    if (pdVar3 != (double *)0x0) {
      if (local_1048 != UndefinedChannel) {
        SetPixelChannelMask(image,local_1048);
      }
LAB_000c9aef:
      local_1054 = _DAT_0029f148 * *pdVar3;
      goto LAB_000c9af7;
    }
  }
  else {
    local_1054 = (double)(ulonglong)channel;
    FormatLocaleString(key,0x1000,"%p.%.20g.%s",image,(double)(longlong)local_1054,symbol);
    pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);
    if (pdVar3 != (double *)0x0) goto LAB_000c9aef;
    local_1048 = UndefinedChannel;
  }
  iVar4 = LocaleNCompare(symbol,"depth",5);
  if (iVar4 == 0) {
    sVar6 = GetImageDepth(image,exception);
    local_1054 = (double)(ulonglong)sVar6;
    local_1054 = (double)(longlong)local_1054;
  }
  else {
    local_1054 = 0.0;
  }
  iVar4 = LocaleNCompare(symbol,"kurtosis",8);
  if (iVar4 == 0) {
    GetImageKurtosis(image,&kurtosis,&skewness,exception);
    local_1054 = kurtosis;
  }
  iVar4 = LocaleNCompare(symbol,"maxima",6);
  if (iVar4 == 0) {
    GetImageRange(image,&skewness,&kurtosis,exception);
    local_1054 = kurtosis;
  }
  iVar4 = LocaleNCompare(symbol,"mean",4);
  if (iVar4 == 0) {
    GetImageMean(image,&kurtosis,&skewness,exception);
    local_1054 = kurtosis;
  }
  iVar4 = LocaleNCompare(symbol,"median",6);
  if (iVar4 == 0) {
    GetImageMedian(image,&skewness,exception);
    local_1054 = skewness;
  }
  iVar4 = LocaleNCompare(symbol,"minima",6);
  if (iVar4 == 0) {
    GetImageRange(image,&skewness,&kurtosis,exception);
    local_1054 = skewness;
  }
  iVar4 = LocaleNCompare(symbol,"skewness",8);
  if (iVar4 == 0) {
    GetImageKurtosis(image,&kurtosis,&skewness,exception);
    local_1054 = skewness;
  }
  iVar4 = LocaleNCompare(symbol,"standard_deviation",0x12);
  if (iVar4 == 0) {
    GetImageMean(image,&kurtosis,&skewness,exception);
    local_1054 = skewness;
  }
  if (local_1048 != UndefinedChannel) {
    SetPixelChannelMask(image,local_1048);
  }
  pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);
  if (pdVar3 == (double *)0x0) {
    pdVar3 = (double *)AcquireMagickMemory(8);
    if (pdVar3 == (double *)0x0) {
      ThrowMagickException
                (fx_info->exception,"MagickCore/fx.c","SetFxSymbolValue",0x173,ErrorException,
                 "MemoryAllocationFailed","`%s\'",fx_info->images->filename);
      local_1054 = 0.0;
      goto LAB_000c9af7;
    }
    *pdVar3 = local_1054;
    pcVar7 = ConstantString(key);
    MVar8 = AddValueToSplayTree(fx_info->symbols,pcVar7,pdVar3);
    if (MVar8 == MagickFalse) {
      local_1054 = 0.0;
      goto LAB_000c9af7;
    }
  }
  else {
    *pdVar3 = local_1054;
  }
  local_1054 = local_1054 * _DAT_0029f148;
LAB_000c9af7:
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return local_1054;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

longdouble __regparm3
FUN_000c9860(int *param_1,undefined4 param_2,uint param_3,char *param_4,undefined4 param_5)

{
  char cVar1;
  double *pdVar2;
  int iVar3;
  uint uVar4;
  undefined4 uVar5;
  char *pcVar6;
  int in_GS_OFFSET;
  longdouble lVar7;
  double local_1054;
  int local_1048;
  double local_1034;
  double local_102c;
  undefined1 local_1020 [4096];
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xc986b;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  cVar1 = *param_4;
  pcVar6 = param_4;
  while ((cVar1 != '.' && (cVar1 != '\0'))) {
    pcVar6 = pcVar6 + 1;
    cVar1 = *pcVar6;
  }
  if ((cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)) {
    local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));
    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);
    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);
    if (pdVar2 != (double *)0x0) {
      if (local_1048 != 0) {
        SetPixelChannelMask(param_2,local_1048);
      }
LAB_000c9aef:
      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;
      goto LAB_000c9af7;
    }
  }
  else {
    local_1054 = (double)(ulonglong)param_3;
    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)
    ;
    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);
    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;
    local_1048 = 0;
  }
  iVar3 = LocaleNCompare(param_4,"depth",5);
  if (iVar3 == 0) {
    uVar4 = GetImageDepth(param_2,param_5);
    local_1054 = (double)(ulonglong)uVar4;
    local_1054 = (double)(longlong)local_1054;
  }
  else {
    local_1054 = 0.0;
  }
  iVar3 = LocaleNCompare(param_4,"kurtosis",8);
  if (iVar3 == 0) {
    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);
    local_1054 = local_1034;
  }
  iVar3 = LocaleNCompare(param_4,"maxima",6);
  if (iVar3 == 0) {
    GetImageRange(param_2,&local_102c,&local_1034,param_5);
    local_1054 = local_1034;
  }
  iVar3 = LocaleNCompare(param_4,"mean",4);
  if (iVar3 == 0) {
    GetImageMean(param_2,&local_1034,&local_102c,param_5);
    local_1054 = local_1034;
  }
  iVar3 = LocaleNCompare(param_4,"median",6);
  if (iVar3 == 0) {
    GetImageMedian(param_2,&local_102c,param_5);
    local_1054 = local_102c;
  }
  iVar3 = LocaleNCompare(param_4,"minima",6);
  if (iVar3 == 0) {
    GetImageRange(param_2,&local_102c,&local_1034,param_5);
    local_1054 = local_102c;
  }
  iVar3 = LocaleNCompare(param_4,"skewness",8);
  if (iVar3 == 0) {
    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);
    local_1054 = local_102c;
  }
  iVar3 = LocaleNCompare(param_4,"standard_deviation",0x12);
  if (iVar3 == 0) {
    GetImageMean(param_2,&local_1034,&local_102c,param_5);
    local_1054 = local_102c;
  }
  if (local_1048 != 0) {
    SetPixelChannelMask(param_2,local_1048);
  }
  pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);
  if (pdVar2 == (double *)0x0) {
    pdVar2 = (double *)AcquireMagickMemory(8);
    if (pdVar2 == (double *)0x0) {
      ThrowMagickException
                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",
                 "`%s\'",*param_1 + 0x318);
      lVar7 = (longdouble)0;
      goto LAB_000c9af7;
    }
    *pdVar2 = local_1054;
    uVar5 = ConstantString(local_1020);
    iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);
    if (iVar3 == 0) {
      lVar7 = (longdouble)0;
      goto LAB_000c9af7;
    }
  }
  else {
    *pdVar2 = local_1054;
  }
  lVar7 = (longdouble)local_1054 * (longdouble)_DAT_0029f148;
LAB_000c9af7:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return lVar7;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0029eab0();
}


PUSH EBP
MOV EBP,EDX
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00038830
ADD EBX,0x30f795
SUB ESP,0x104c
MOV ESI,dword ptr [ESP + 0x1060]
MOV dword ptr [ESP + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x1064]
MOV EDX,ESI
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x103c],EAX
XOR EAX,EAX
MOVZX EAX,byte ptr [ESI]
CMP AL,0x2e
JNZ 0x000c98ba
JMP 0x000c98be
ADD EDX,0x1
MOVZX EAX,byte ptr [EDX]
CMP AL,0x2e
JZ 0x000c98be
TEST AL,AL
JNZ 0x000c98b0
CMP AL,0x2e
JZ 0x000c9a50
LEA EAX,[EBX + 0xffedac32]
SUB ESP,0x4
PUSH ESI
MOV dword ptr [ESP + 0x10],ECX
SUB ESP,0x8
MOV dword ptr [ESP + 0x1c],0x0
FILD qword ptr [ESP + 0x18]
FSTP qword ptr [ESP]
PUSH EBP
PUSH EAX
PUSH 0x1000
LEA EDI,[ESP + 0x58]
PUSH EDI
CALL 0x000334e0
ADD ESP,0x18
PUSH EDI
MOV EAX,dword ptr [ESP + 0x10]
PUSH dword ptr [EAX + 0x10]
CALL 0x00030d40
ADD ESP,0x10
MOV EDX,EAX
TEST EAX,EAX
JNZ 0x000c9aef
MOV dword ptr [ESP + 0x14],0x0
LEA EAX,[EBX + 0xffee539a]
SUB ESP,0x4
PUSH 0x5
PUSH EAX
PUSH ESI
CALL 0x00031370
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000c9c50
FLDZ
FSTP qword ptr [ESP + 0x8]
LEA EAX,[EBX + 0xffedae62]
SUB ESP,0x4
PUSH 0x8
PUSH EAX
PUSH ESI
CALL 0x00031370
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000c9c28
LEA EAX,[EBX + 0xffedae4a]
SUB ESP,0x4
PUSH 0x6
PUSH EAX
PUSH ESI
CALL 0x00031370
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000c9c00
LEA EAX,[EBX + 0xffedae57]
SUB ESP,0x4
PUSH 0x4
PUSH EAX
PUSH ESI
CALL 0x00031370
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000c9bd8
LEA EAX,[EBX + 0xffee5755]
SUB ESP,0x4
PUSH 0x6
PUSH EAX
PUSH ESI
CALL 0x00031370
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000c9bb0
LEA EAX,[EBX + 0xffedae3d]
SUB ESP,0x4
PUSH 0x6
PUSH EAX
PUSH ESI
CALL 0x00031370
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000c9b88
LEA EAX,[EBX + 0xffedae71]
SUB ESP,0x4
PUSH 0x8
PUSH EAX
PUSH ESI
CALL 0x00031370
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000c9b60
LEA EAX,[EBX + 0xffedae80]
SUB ESP,0x4
PUSH 0x12
PUSH EAX
PUSH ESI
CALL 0x00031370
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000c9b38
MOV EAX,dword ptr [ESP + 0x14]
TEST EAX,EAX
JNZ 0x000c9b20
SUB ESP,0x8
PUSH EDI
MOV EAX,dword ptr [ESP + 0x10]
PUSH dword ptr [EAX + 0x10]
CALL 0x00030d40
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000c9c79
FLD qword ptr [ESP + 0x8]
FSTP qword ptr [EAX]
FLD qword ptr [ESP + 0x8]
FMUL qword ptr [EBX + 0xffec6148]
JMP 0x000c9af7
MOV dword ptr [ESP + 0x8],ECX
ADD EDX,0x1
SUB ESP,0x4
PUSH EDX
PUSH 0x1
PUSH 0x37
CALL 0x000311a0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x8]
TEST EAX,EAX
MOV EDI,EAX
JS 0x000c98c6
MOV ECX,EDI
MOV EAX,0x1
SUB ESP,0x8
SHL EAX,CL
PUSH EAX
PUSH EBP
CALL 0x00030ff0
MOV dword ptr [ESP + 0x24],EAX
LEA EAX,[EBX + 0xffedac32]
ADD ESP,0xc
PUSH ESI
MOV dword ptr [ESP + 0x10],EDI
FILD dword ptr [ESP + 0x10]
SUB ESP,0x8
FSTP qword ptr [ESP]
PUSH EBP
PUSH EAX
PUSH 0x1000
LEA EDI,[ESP + 0x58]
PUSH EDI
CALL 0x000334e0
ADD ESP,0x18
PUSH EDI
MOV ECX,dword ptr [ESP + 0x10]
PUSH dword ptr [ECX + 0x10]
CALL 0x00030d40
ADD ESP,0x10
MOV EDX,EAX
TEST EAX,EAX
JZ 0x000c991c
MOV EAX,dword ptr [ESP + 0x14]
TEST EAX,EAX
JZ 0x000c9aef
MOV dword ptr [ESP + 0x4],EDX
SUB ESP,0x8
PUSH EAX
PUSH EBP
CALL 0x00030ff0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x4]
FLD qword ptr [EBX + 0xffec6148]
FMUL qword ptr [EDX]
MOV EAX,dword ptr [ESP + 0x103c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x000c9d06
ADD ESP,0x104c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
PUSH dword ptr [ESP + 0x1c]
PUSH EBP
CALL 0x00030ff0
ADD ESP,0x10
JMP 0x000c9a16
PUSH dword ptr [ESP + 0x10]
LEA EAX,[ESP + 0x34]
PUSH EAX
LEA EAX,[ESP + 0x30]
PUSH EAX
PUSH EBP
CALL 0x00032520
FLD qword ptr [ESP + 0x40]
FSTP qword ptr [ESP + 0x18]
ADD ESP,0x10
JMP 0x000c9a0a
PUSH dword ptr [ESP + 0x10]
LEA EAX,[ESP + 0x34]
PUSH EAX
LEA EAX,[ESP + 0x30]
PUSH EAX
PUSH EBP
CALL 0x00030710
FLD qword ptr [ESP + 0x40]
FSTP qword ptr [ESP + 0x18]
ADD ESP,0x10
JMP 0x000c99ed
PUSH dword ptr [ESP + 0x10]
LEA EAX,[ESP + 0x2c]
PUSH EAX
LEA EAX,[ESP + 0x38]
PUSH EAX
PUSH EBP
CALL 0x000313a0
FLD qword ptr [ESP + 0x40]
FSTP qword ptr [ESP + 0x18]
ADD ESP,0x10
JMP 0x000c99d0
SUB ESP,0x4
PUSH dword ptr [ESP + 0x14]
LEA EAX,[ESP + 0x38]
PUSH EAX
PUSH EBP
CALL 0x000327c0
FLD qword ptr [ESP + 0x40]
FSTP qword ptr [ESP + 0x18]
ADD ESP,0x10
JMP 0x000c99b3
PUSH dword ptr [ESP + 0x10]
LEA EAX,[ESP + 0x34]
PUSH EAX
LEA EAX,[ESP + 0x30]
PUSH EAX
PUSH EBP
CALL 0x00032520
FLD qword ptr [ESP + 0x38]
FSTP qword ptr [ESP + 0x18]
ADD ESP,0x10
JMP 0x000c9996
PUSH dword ptr [ESP + 0x10]
LEA EAX,[ESP + 0x2c]
PUSH EAX
LEA EAX,[ESP + 0x38]
PUSH EAX
PUSH EBP
CALL 0x000313a0
FLD qword ptr [ESP + 0x38]
FSTP qword ptr [ESP + 0x18]
ADD ESP,0x10
JMP 0x000c9979
PUSH dword ptr [ESP + 0x10]
LEA EAX,[ESP + 0x34]
PUSH EAX
LEA EAX,[ESP + 0x30]
PUSH EAX
PUSH EBP
CALL 0x00030710
FLD qword ptr [ESP + 0x38]
FSTP qword ptr [ESP + 0x18]
ADD ESP,0x10
JMP 0x000c995c
SUB ESP,0x8
PUSH dword ptr [ESP + 0x18]
PUSH EBP
CALL 0x00033a80
MOV dword ptr [ESP + 0x18],EAX
MOV dword ptr [ESP + 0x1c],0x0
FILD qword ptr [ESP + 0x18]
FSTP qword ptr [ESP + 0x18]
ADD ESP,0x10
JMP 0x000c993f
SUB ESP,0xc
PUSH 0x8
CALL 0x00030900
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JZ 0x000c9cbe
FLD qword ptr [ESP + 0x8]
SUB ESP,0xc
FSTP qword ptr [EAX]
PUSH EDI
CALL 0x00033ab8
ADD ESP,0xc
PUSH ESI
PUSH EAX
MOV EAX,dword ptr [ESP + 0x10]
PUSH dword ptr [EAX + 0x10]
CALL 0x000327f0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000c9a37
FLDZ
JMP 0x000c9af7
MOV EDI,dword ptr [ESP + 0x4]
MOV EAX,dword ptr [EDI]
MOV dword ptr [ESP + 0x4],EAX
ADD EAX,0x318
PUSH EAX
LEA EAX,[EBX + 0xffec8a40]
PUSH EAX
LEA EAX,[EBX + 0xffec63d6]
PUSH EAX
LEA EAX,[EBX + 0xffedb998]
PUSH 0x190
PUSH 0x173
PUSH EAX
LEA EAX,[EBX + 0xffedac22]
PUSH EAX
PUSH dword ptr [EDI + 0x1c]
CALL 0x00032e80
ADD ESP,0x20
FLDZ
JMP 0x000c9af7
FSTP ST0
CALL 0x0029eab0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nlongdouble __regparm3\nFUN_000c9860(int *param_1,undefined4 param_2,uint param_3,char *param_4,undefined4 param_5)\n\n{\n  char cVar1;\n  double *pdVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  int in_GS_OFFSET;\n  longdouble lVar7;\n  double local_1054;\n  int local_1048;\n  double local_1034;\n  double local_102c;\n  undefined1 local_1020 [4096];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc986b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  cVar1 = *param_4;\n  pcVar6 = param_4;\n  while ((cVar1 != '.' && (cVar1 != '\0'))) {\n    pcVar6 = pcVar6 + 1;\n    cVar1 = *pcVar6;\n  }\n  if ((cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)) {\n    local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) {\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    local_1054 = (double)(ulonglong)param_3;\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = 0;\n  }\n  iVar3 = LocaleNCompare(param_4,"depth",5);\n  if (iVar3 == 0) {\n    uVar4 = GetImageDepth(param_2,param_5);\n    local_1054 = (double)(ulonglong)uVar4;\n    local_1054 = (double)(longlong)local_1054;\n  }\n  else {\n    local_1054 = 0.0;\n  }\n  iVar3 = LocaleNCompare(param_4,"kurtosis",8);\n  if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"maxima",6);\n  if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"mean",4);\n  if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"median",6);\n  if (iVar3 == 0) {\n    GetImageMedian(param_2,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"minima",6);\n  if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"skewness",8);\n  if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"standard_deviation",0x12);\n  if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  if (local_1048 != 0) {\n    SetPixelChannelMask(param_2,local_1048);\n  }\n  pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n  if (pdVar2 == (double *)0x0) {\n    pdVar2 = (double *)AcquireMagickMemory(8);\n    if (pdVar2 == (double *)0x0) {\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n    *pdVar2 = local_1054;\n    uVar5 = ConstantString(local_1020);\n    iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);\n    if (iVar3 == 0) {\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    *pdVar2 = local_1054;\n  }\n  lVar7 = (longdouble)local_1054 * (longdouble)_DAT_0029f148;\nLAB_000c9af7:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar7;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0029eab0();\n}\n\n" comment comment (function_definition "longdouble __regparm3\nFUN_000c9860(int *param_1,undefined4 param_2,uint param_3,char *param_4,undefined4 param_5)\n\n{\n  char cVar1;\n  double *pdVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  int in_GS_OFFSET;\n  longdouble lVar7;\n  double local_1054;\n  int local_1048;\n  double local_1034;\n  double local_102c;\n  undefined1 local_1020 [4096];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc986b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  cVar1 = *param_4;\n  pcVar6 = param_4;\n  while ((cVar1 != '.' && (cVar1 != '\0'))) {\n    pcVar6 = pcVar6 + 1;\n    cVar1 = *pcVar6;\n  }\n  if ((cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)) {\n    local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) {\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    local_1054 = (double)(ulonglong)param_3;\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = 0;\n  }\n  iVar3 = LocaleNCompare(param_4,"depth",5);\n  if (iVar3 == 0) {\n    uVar4 = GetImageDepth(param_2,param_5);\n    local_1054 = (double)(ulonglong)uVar4;\n    local_1054 = (double)(longlong)local_1054;\n  }\n  else {\n    local_1054 = 0.0;\n  }\n  iVar3 = LocaleNCompare(param_4,"kurtosis",8);\n  if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"maxima",6);\n  if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"mean",4);\n  if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"median",6);\n  if (iVar3 == 0) {\n    GetImageMedian(param_2,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"minima",6);\n  if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"skewness",8);\n  if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"standard_deviation",0x12);\n  if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  if (local_1048 != 0) {\n    SetPixelChannelMask(param_2,local_1048);\n  }\n  pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n  if (pdVar2 == (double *)0x0) {\n    pdVar2 = (double *)AcquireMagickMemory(8);\n    if (pdVar2 == (double *)0x0) {\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n    *pdVar2 = local_1054;\n    uVar5 = ConstantString(local_1020);\n    iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);\n    if (iVar3 == 0) {\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    *pdVar2 = local_1054;\n  }\n  lVar7 = (longdouble)local_1054 * (longdouble)_DAT_0029f148;\nLAB_000c9af7:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar7;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0029eab0();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000c9860(int *param_1,undefined4 param_2,uint param_3,char *param_4,undefined4 param_5)" identifier (parameter_list "(int *param_1,undefined4 param_2,uint param_3,char *param_4,undefined4 param_5)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "char *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  double *pdVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  int in_GS_OFFSET;\n  longdouble lVar7;\n  double local_1054;\n  int local_1048;\n  double local_1034;\n  double local_102c;\n  undefined1 local_1020 [4096];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc986b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  cVar1 = *param_4;\n  pcVar6 = param_4;\n  while ((cVar1 != '.' && (cVar1 != '\0'))) {\n    pcVar6 = pcVar6 + 1;\n    cVar1 = *pcVar6;\n  }\n  if ((cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)) {\n    local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) {\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    local_1054 = (double)(ulonglong)param_3;\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = 0;\n  }\n  iVar3 = LocaleNCompare(param_4,"depth",5);\n  if (iVar3 == 0) {\n    uVar4 = GetImageDepth(param_2,param_5);\n    local_1054 = (double)(ulonglong)uVar4;\n    local_1054 = (double)(longlong)local_1054;\n  }\n  else {\n    local_1054 = 0.0;\n  }\n  iVar3 = LocaleNCompare(param_4,"kurtosis",8);\n  if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"maxima",6);\n  if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"mean",4);\n  if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"median",6);\n  if (iVar3 == 0) {\n    GetImageMedian(param_2,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"minima",6);\n  if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"skewness",8);\n  if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"standard_deviation",0x12);\n  if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  if (local_1048 != 0) {\n    SetPixelChannelMask(param_2,local_1048);\n  }\n  pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n  if (pdVar2 == (double *)0x0) {\n    pdVar2 = (double *)AcquireMagickMemory(8);\n    if (pdVar2 == (double *)0x0) {\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n    *pdVar2 = local_1054;\n    uVar5 = ConstantString(local_1020);\n    iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);\n    if (iVar3 == 0) {\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    *pdVar2 = local_1054;\n  }\n  lVar7 = (longdouble)local_1054 * (longdouble)_DAT_0029f148;\nLAB_000c9af7:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar7;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0029eab0();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "double *pdVar2;" primitive_type (pointer_declarator "*pdVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "longdouble lVar7;" type_identifier identifier ;) (declaration "double local_1054;" primitive_type identifier ;) (declaration "int local_1048;" primitive_type identifier ;) (declaration "double local_1034;" primitive_type identifier ;) (declaration "double local_102c;" primitive_type identifier ;) (declaration "undefined1 local_1020 [4096];" type_identifier (array_declarator "local_1020 [4096]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xc986b;" (assignment_expression "uStack_14 = 0xc986b" 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) ))))) ;) (expression_statement "cVar1 = *param_4;" (assignment_expression "cVar1 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (expression_statement "pcVar6 = param_4;" (assignment_expression "pcVar6 = param_4" identifier = identifier) ;) (while_statement "while ((cVar1 != '.' && (cVar1 != '\0'))) {\n    pcVar6 = pcVar6 + 1;\n    cVar1 = *pcVar6;\n  }" while (parenthesized_expression "((cVar1 != '.' && (cVar1 != '\0')))" ( (parenthesized_expression "(cVar1 != '.' && (cVar1 != '\0'))" ( (binary_expression "cVar1 != '.' && (cVar1 != '\0')" (binary_expression "cVar1 != '.'" identifier != (char_literal "'.'" ' character ')) && (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) ))) )) )) (compound_statement "{\n    pcVar6 = pcVar6 + 1;\n    cVar1 = *pcVar6;\n  }" { (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = *pcVar6;" (assignment_expression "cVar1 = *pcVar6" identifier = (pointer_expression "*pcVar6" * identifier)) ;) })) (if_statement "if ((cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)) {\n    local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) {\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    local_1054 = (double)(ulonglong)param_3;\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = 0;\n  }" if (parenthesized_expression "((cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3))" ( (binary_expression "(cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)" (parenthesized_expression "(cVar1 == '.')" ( (binary_expression "cVar1 == '.'" identifier == (char_literal "'.'" ' character ')) )) && (parenthesized_expression "(iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)" ( (comma_expression "iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3" (assignment_expression "iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1)" identifier = (call_expression "ParseCommandOption(0x37,1,pcVar6 + 1)" identifier (argument_list "(0x37,1,pcVar6 + 1)" ( number_literal , number_literal , (binary_expression "pcVar6 + 1" identifier + number_literal) )))) , (binary_expression "-1 < iVar3" number_literal < identifier)) ))) )) (compound_statement "{\n    local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) {\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }\n  }" { (expression_statement "local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));" (assignment_expression "local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f))" identifier = (call_expression "SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f))" identifier (argument_list "(param_2,1 << ((byte)iVar3 & 0x1f))" ( identifier , (binary_expression "1 << ((byte)iVar3 & 0x1f)" number_literal << (parenthesized_expression "((byte)iVar3 & 0x1f)" ( (binary_expression "(byte)iVar3 & 0x1f" (cast_expression "(byte)iVar3" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )))) ;) (expression_statement "FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);" (call_expression "FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4)" identifier (argument_list "(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4)" ( identifier , number_literal , (string_literal ""%p.%.20g.%s"" " string_content ") , identifier , (cast_expression "(double)iVar3" ( (type_descriptor "double" primitive_type) ) identifier) , identifier ))) ;) (expression_statement "pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);" (assignment_expression "pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020)" identifier = (cast_expression "(double *)GetValueFromSplayTree(param_1[4],local_1020)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetValueFromSplayTree(param_1[4],local_1020)" identifier (argument_list "(param_1[4],local_1020)" ( (subscript_expression "param_1[4]" identifier [ number_literal ]) , identifier ))))) ;) (if_statement "if (pdVar2 != (double *)0x0) {\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }" if (parenthesized_expression "(pdVar2 != (double *)0x0)" ( (binary_expression "pdVar2 != (double *)0x0" identifier != (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }" { (if_statement "if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }" if (parenthesized_expression "(local_1048 != 0)" ( (binary_expression "local_1048 != 0" identifier != number_literal) )) (compound_statement "{\n        SetPixelChannelMask(param_2,local_1048);\n      }" { (expression_statement "SetPixelChannelMask(param_2,local_1048);" (call_expression "SetPixelChannelMask(param_2,local_1048)" identifier (argument_list "(param_2,local_1048)" ( identifier , identifier ))) ;) })) (labeled_statement "LAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;" statement_identifier : (expression_statement "lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;" (assignment_expression "lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2" identifier = (binary_expression "(longdouble)_DAT_0029f148 * (longdouble)*pdVar2" (binary_expression "(longdouble)_DAT_0029f148 * (longdouble)" (cast_expression "(longdouble)_DAT_0029f148" ( (type_descriptor "longdouble" type_identifier) ) identifier) * (parenthesized_expression "(longdouble)" ( identifier ))) * identifier)) ;)) (goto_statement "goto LAB_000c9af7;" goto statement_identifier ;) })) }) (else_clause "else {\n    local_1054 = (double)(ulonglong)param_3;\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = 0;\n  }" else (compound_statement "{\n    local_1054 = (double)(ulonglong)param_3;\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = 0;\n  }" { (expression_statement "local_1054 = (double)(ulonglong)param_3;" (assignment_expression "local_1054 = (double)(ulonglong)param_3" identifier = (cast_expression "(double)(ulonglong)param_3" ( (type_descriptor "double" primitive_type) ) (cast_expression "(ulonglong)param_3" ( (type_descriptor "ulonglong" type_identifier) ) identifier))) ;) (expression_statement "FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;" (call_expression "FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)" identifier (argument_list "(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)" ( identifier , number_literal , (string_literal ""%p.%.20g.%s"" " string_content ") , identifier , (cast_expression "(double)(longlong)local_1054" ( (type_descriptor "double" primitive_type) ) (cast_expression "(longlong)local_1054" ( (type_descriptor "longlong" type_identifier) ) identifier)) , identifier ))) ;) (expression_statement "pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);" (assignment_expression "pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020)" identifier = (cast_expression "(double *)GetValueFromSplayTree(param_1[4],local_1020)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetValueFromSplayTree(param_1[4],local_1020)" identifier (argument_list "(param_1[4],local_1020)" ( (subscript_expression "param_1[4]" identifier [ number_literal ]) , identifier ))))) ;) (if_statement "if (pdVar2 != (double *)0x0) goto LAB_000c9aef;" if (parenthesized_expression "(pdVar2 != (double *)0x0)" ( (binary_expression "pdVar2 != (double *)0x0" identifier != (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000c9aef;" goto statement_identifier ;)) (expression_statement "local_1048 = 0;" (assignment_expression "local_1048 = 0" identifier = number_literal) ;) }))) (expression_statement "iVar3 = LocaleNCompare(param_4,"depth",5);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"depth",5)" identifier = (call_expression "LocaleNCompare(param_4,"depth",5)" identifier (argument_list "(param_4,"depth",5)" ( identifier , (string_literal ""depth"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    uVar4 = GetImageDepth(param_2,param_5);\n    local_1054 = (double)(ulonglong)uVar4;\n    local_1054 = (double)(longlong)local_1054;\n  }\n  else {\n    local_1054 = 0.0;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar4 = GetImageDepth(param_2,param_5);\n    local_1054 = (double)(ulonglong)uVar4;\n    local_1054 = (double)(longlong)local_1054;\n  }" { (expression_statement "uVar4 = GetImageDepth(param_2,param_5);" (assignment_expression "uVar4 = GetImageDepth(param_2,param_5)" identifier = (call_expression "GetImageDepth(param_2,param_5)" identifier (argument_list "(param_2,param_5)" ( identifier , identifier )))) ;) (expression_statement "local_1054 = (double)(ulonglong)uVar4;" (assignment_expression "local_1054 = (double)(ulonglong)uVar4" identifier = (cast_expression "(double)(ulonglong)uVar4" ( (type_descriptor "double" primitive_type) ) (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier))) ;) (expression_statement "local_1054 = (double)(longlong)local_1054;" (assignment_expression "local_1054 = (double)(longlong)local_1054" identifier = (cast_expression "(double)(longlong)local_1054" ( (type_descriptor "double" primitive_type) ) (cast_expression "(longlong)local_1054" ( (type_descriptor "longlong" type_identifier) ) identifier))) ;) }) (else_clause "else {\n    local_1054 = 0.0;\n  }" else (compound_statement "{\n    local_1054 = 0.0;\n  }" { (expression_statement "local_1054 = 0.0;" (assignment_expression "local_1054 = 0.0" identifier = number_literal) ;) }))) (expression_statement "iVar3 = LocaleNCompare(param_4,"kurtosis",8);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"kurtosis",8)" identifier = (call_expression "LocaleNCompare(param_4,"kurtosis",8)" identifier (argument_list "(param_4,"kurtosis",8)" ( identifier , (string_literal ""kurtosis"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }" { (expression_statement "GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);" (call_expression "GetImageKurtosis(param_2,&local_1034,&local_102c,param_5)" identifier (argument_list "(param_2,&local_1034,&local_102c,param_5)" ( identifier , (pointer_expression "&local_1034" & identifier) , (pointer_expression "&local_102c" & identifier) , identifier ))) ;) (expression_statement "local_1054 = local_1034;" (assignment_expression "local_1054 = local_1034" identifier = identifier) ;) })) (expression_statement "iVar3 = LocaleNCompare(param_4,"maxima",6);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"maxima",6)" identifier = (call_expression "LocaleNCompare(param_4,"maxima",6)" identifier (argument_list "(param_4,"maxima",6)" ( identifier , (string_literal ""maxima"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_1034;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_1034;\n  }" { (expression_statement "GetImageRange(param_2,&local_102c,&local_1034,param_5);" (call_expression "GetImageRange(param_2,&local_102c,&local_1034,param_5)" identifier (argument_list "(param_2,&local_102c,&local_1034,param_5)" ( identifier , (pointer_expression "&local_102c" & identifier) , (pointer_expression "&local_1034" & identifier) , identifier ))) ;) (expression_statement "local_1054 = local_1034;" (assignment_expression "local_1054 = local_1034" identifier = identifier) ;) })) (expression_statement "iVar3 = LocaleNCompare(param_4,"mean",4);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"mean",4)" identifier = (call_expression "LocaleNCompare(param_4,"mean",4)" identifier (argument_list "(param_4,"mean",4)" ( identifier , (string_literal ""mean"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }" { (expression_statement "GetImageMean(param_2,&local_1034,&local_102c,param_5);" (call_expression "GetImageMean(param_2,&local_1034,&local_102c,param_5)" identifier (argument_list "(param_2,&local_1034,&local_102c,param_5)" ( identifier , (pointer_expression "&local_1034" & identifier) , (pointer_expression "&local_102c" & identifier) , identifier ))) ;) (expression_statement "local_1054 = local_1034;" (assignment_expression "local_1054 = local_1034" identifier = identifier) ;) })) (expression_statement "iVar3 = LocaleNCompare(param_4,"median",6);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"median",6)" identifier = (call_expression "LocaleNCompare(param_4,"median",6)" identifier (argument_list "(param_4,"median",6)" ( identifier , (string_literal ""median"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    GetImageMedian(param_2,&local_102c,param_5);\n    local_1054 = local_102c;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageMedian(param_2,&local_102c,param_5);\n    local_1054 = local_102c;\n  }" { (expression_statement "GetImageMedian(param_2,&local_102c,param_5);" (call_expression "GetImageMedian(param_2,&local_102c,param_5)" identifier (argument_list "(param_2,&local_102c,param_5)" ( identifier , (pointer_expression "&local_102c" & identifier) , identifier ))) ;) (expression_statement "local_1054 = local_102c;" (assignment_expression "local_1054 = local_102c" identifier = identifier) ;) })) (expression_statement "iVar3 = LocaleNCompare(param_4,"minima",6);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"minima",6)" identifier = (call_expression "LocaleNCompare(param_4,"minima",6)" identifier (argument_list "(param_4,"minima",6)" ( identifier , (string_literal ""minima"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_102c;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_102c;\n  }" { (expression_statement "GetImageRange(param_2,&local_102c,&local_1034,param_5);" (call_expression "GetImageRange(param_2,&local_102c,&local_1034,param_5)" identifier (argument_list "(param_2,&local_102c,&local_1034,param_5)" ( identifier , (pointer_expression "&local_102c" & identifier) , (pointer_expression "&local_1034" & identifier) , identifier ))) ;) (expression_statement "local_1054 = local_102c;" (assignment_expression "local_1054 = local_102c" identifier = identifier) ;) })) (expression_statement "iVar3 = LocaleNCompare(param_4,"skewness",8);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"skewness",8)" identifier = (call_expression "LocaleNCompare(param_4,"skewness",8)" identifier (argument_list "(param_4,"skewness",8)" ( identifier , (string_literal ""skewness"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }" { (expression_statement "GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);" (call_expression "GetImageKurtosis(param_2,&local_1034,&local_102c,param_5)" identifier (argument_list "(param_2,&local_1034,&local_102c,param_5)" ( identifier , (pointer_expression "&local_1034" & identifier) , (pointer_expression "&local_102c" & identifier) , identifier ))) ;) (expression_statement "local_1054 = local_102c;" (assignment_expression "local_1054 = local_102c" identifier = identifier) ;) })) (expression_statement "iVar3 = LocaleNCompare(param_4,"standard_deviation",0x12);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"standard_deviation",0x12)" identifier = (call_expression "LocaleNCompare(param_4,"standard_deviation",0x12)" identifier (argument_list "(param_4,"standard_deviation",0x12)" ( identifier , (string_literal ""standard_deviation"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }" { (expression_statement "GetImageMean(param_2,&local_1034,&local_102c,param_5);" (call_expression "GetImageMean(param_2,&local_1034,&local_102c,param_5)" identifier (argument_list "(param_2,&local_1034,&local_102c,param_5)" ( identifier , (pointer_expression "&local_1034" & identifier) , (pointer_expression "&local_102c" & identifier) , identifier ))) ;) (expression_statement "local_1054 = local_102c;" (assignment_expression "local_1054 = local_102c" identifier = identifier) ;) })) (if_statement "if (local_1048 != 0) {\n    SetPixelChannelMask(param_2,local_1048);\n  }" if (parenthesized_expression "(local_1048 != 0)" ( (binary_expression "local_1048 != 0" identifier != number_literal) )) (compound_statement "{\n    SetPixelChannelMask(param_2,local_1048);\n  }" { (expression_statement "SetPixelChannelMask(param_2,local_1048);" (call_expression "SetPixelChannelMask(param_2,local_1048)" identifier (argument_list "(param_2,local_1048)" ( identifier , identifier ))) ;) })) (expression_statement "pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);" (assignment_expression "pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020)" identifier = (cast_expression "(double *)GetValueFromSplayTree(param_1[4],local_1020)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetValueFromSplayTree(param_1[4],local_1020)" identifier (argument_list "(param_1[4],local_1020)" ( (subscript_expression "param_1[4]" identifier [ number_literal ]) , identifier ))))) ;) (if_statement "if (pdVar2 == (double *)0x0) {\n    pdVar2 = (double *)AcquireMagickMemory(8);\n    if (pdVar2 == (double *)0x0) {\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n    *pdVar2 = local_1054;\n    uVar5 = ConstantString(local_1020);\n    iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);\n    if (iVar3 == 0) {\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    *pdVar2 = local_1054;\n  }" if (parenthesized_expression "(pdVar2 == (double *)0x0)" ( (binary_expression "pdVar2 == (double *)0x0" identifier == (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pdVar2 = (double *)AcquireMagickMemory(8);\n    if (pdVar2 == (double *)0x0) {\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n    *pdVar2 = local_1054;\n    uVar5 = ConstantString(local_1020);\n    iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);\n    if (iVar3 == 0) {\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n  }" { (expression_statement "pdVar2 = (double *)AcquireMagickMemory(8);" (assignment_expression "pdVar2 = (double *)AcquireMagickMemory(8)" identifier = (cast_expression "(double *)AcquireMagickMemory(8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireMagickMemory(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (if_statement "if (pdVar2 == (double *)0x0) {\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }" if (parenthesized_expression "(pdVar2 == (double *)0x0)" ( (binary_expression "pdVar2 == (double *)0x0" identifier == (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }" { (expression_statement "ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);" (call_expression "ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318)" identifier (argument_list "(param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318)" ( (subscript_expression "param_1[7]" identifier [ number_literal ]) , (string_literal ""MagickCore/fx.c"" " string_content ") , (string_literal ""SetFxSymbolValue"" " string_content ") , number_literal , number_literal , (string_literal ""MemoryAllocationFailed"" " string_content ") , (string_literal ""`%s\'"" " string_content escape_sequence ") , (binary_expression "*param_1 + 0x318" (pointer_expression "*param_1" * identifier) + number_literal) ))) ;) (expression_statement "lVar7 = (longdouble)0;" (assignment_expression "lVar7 = (longdouble)0" identifier = (cast_expression "(longdouble)0" ( (type_descriptor "longdouble" type_identifier) ) number_literal)) ;) (goto_statement "goto LAB_000c9af7;" goto statement_identifier ;) })) (expression_statement "*pdVar2 = local_1054;" (assignment_expression "*pdVar2 = local_1054" (pointer_expression "*pdVar2" * identifier) = identifier) ;) (expression_statement "uVar5 = ConstantString(local_1020);" (assignment_expression "uVar5 = ConstantString(local_1020)" identifier = (call_expression "ConstantString(local_1020)" identifier (argument_list "(local_1020)" ( identifier )))) ;) (expression_statement "iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);" (assignment_expression "iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2)" identifier = (call_expression "AddValueToSplayTree(param_1[4],uVar5,pdVar2)" identifier (argument_list "(param_1[4],uVar5,pdVar2)" ( (subscript_expression "param_1[4]" identifier [ number_literal ]) , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }" { (expression_statement "lVar7 = (longdouble)0;" (assignment_expression "lVar7 = (longdouble)0" identifier = (cast_expression "(longdouble)0" ( (type_descriptor "longdouble" type_identifier) ) number_literal)) ;) (goto_statement "goto LAB_000c9af7;" goto statement_identifier ;) })) }) (else_clause "else {\n    *pdVar2 = local_1054;\n  }" else (compound_statement "{\n    *pdVar2 = local_1054;\n  }" { (expression_statement "*pdVar2 = local_1054;" (assignment_expression "*pdVar2 = local_1054" (pointer_expression "*pdVar2" * identifier) = identifier) ;) }))) (expression_statement "lVar7 = (longdouble)local_1054 * (longdouble)_DAT_0029f148;" (assignment_expression "lVar7 = (longdouble)local_1054 * (longdouble)_DAT_0029f148" identifier = (binary_expression "(longdouble)local_1054 * (longdouble)_DAT_0029f148" (cast_expression "(longdouble)local_1054" ( (type_descriptor "longdouble" type_identifier) ) identifier) * (cast_expression "(longdouble)_DAT_0029f148" ( (type_descriptor "longdouble" type_identifier) ) identifier))) ;) (labeled_statement "LAB_000c9af7:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar7;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar7;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return lVar7;\n  }" { (return_statement "return lVar7;" return identifier ;) }))) comment (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\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\ndouble __regparm3\nFxChannelStatistics(FxInfo *fx_info,Image *image,PixelChannel channel,char *symbol,\n                   ExceptionInfo *exception)\n\n{\n  int iVar1;\n  char cVar2;\n  double *pdVar3;\n  int iVar4;\n  ssize_t sVar5;\n  size_t sVar6;\n  char *pcVar7;\n  MagickBooleanType MVar8;\n  int in_GS_OFFSET;\n  double local_1054;\n  ChannelType local_1048;\n  double kurtosis;\n  double skewness;\n  char key [4096];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  cVar2 = *symbol;\n  pcVar7 = symbol;\n  while ((cVar2 != '.' && (cVar2 != '\0'))) {\n    pcVar7 = pcVar7 + 1;\n    cVar2 = *pcVar7;\n  }\n  if ((cVar2 == '.') &&\n     (sVar5 = ParseCommandOption(MagickPixelChannelOptions,MagickTrue,pcVar7 + 1), -1 < sVar5)) {\n    local_1048 = SetPixelChannelMask(image,1 << ((byte)sVar5 & 0x1f));\n    FormatLocaleString(key,0x1000,"%p.%.20g.%s",image,(double)sVar5,symbol);\n    pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);\n    if (pdVar3 != (double *)0x0) {\n      if (local_1048 != UndefinedChannel) {\n        SetPixelChannelMask(image,local_1048);\n      }\nLAB_000c9aef:\n      local_1054 = _DAT_0029f148 * *pdVar3;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    local_1054 = (double)(ulonglong)channel;\n    FormatLocaleString(key,0x1000,"%p.%.20g.%s",image,(double)(longlong)local_1054,symbol);\n    pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);\n    if (pdVar3 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = UndefinedChannel;\n  }\n  iVar4 = LocaleNCompare(symbol,"depth",5);\n  if (iVar4 == 0) {\n    sVar6 = GetImageDepth(image,exception);\n    local_1054 = (double)(ulonglong)sVar6;\n    local_1054 = (double)(longlong)local_1054;\n  }\n  else {\n    local_1054 = 0.0;\n  }\n  iVar4 = LocaleNCompare(symbol,"kurtosis",8);\n  if (iVar4 == 0) {\n    GetImageKurtosis(image,&kurtosis,&skewness,exception);\n    local_1054 = kurtosis;\n  }\n  iVar4 = LocaleNCompare(symbol,"maxima",6);\n  if (iVar4 == 0) {\n    GetImageRange(image,&skewness,&kurtosis,exception);\n    local_1054 = kurtosis;\n  }\n  iVar4 = LocaleNCompare(symbol,"mean",4);\n  if (iVar4 == 0) {\n    GetImageMean(image,&kurtosis,&skewness,exception);\n    local_1054 = kurtosis;\n  }\n  iVar4 = LocaleNCompare(symbol,"median",6);\n  if (iVar4 == 0) {\n    GetImageMedian(image,&skewness,exception);\n    local_1054 = skewness;\n  }\n  iVar4 = LocaleNCompare(symbol,"minima",6);\n  if (iVar4 == 0) {\n    GetImageRange(image,&skewness,&kurtosis,exception);\n    local_1054 = skewness;\n  }\n  iVar4 = LocaleNCompare(symbol,"skewness",8);\n  if (iVar4 == 0) {\n    GetImageKurtosis(image,&kurtosis,&skewness,exception);\n    local_1054 = skewness;\n  }\n  iVar4 = LocaleNCompare(symbol,"standard_deviation",0x12);\n  if (iVar4 == 0) {\n    GetImageMean(image,&kurtosis,&skewness,exception);\n    local_1054 = skewness;\n  }\n  if (local_1048 != UndefinedChannel) {\n    SetPixelChannelMask(image,local_1048);\n  }\n  pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);\n  if (pdVar3 == (double *)0x0) {\n    pdVar3 = (double *)AcquireMagickMemory(8);\n    if (pdVar3 == (double *)0x0) {\n      ThrowMagickException\n                (fx_info->exception,"MagickCore/fx.c","SetFxSymbolValue",0x173,ErrorException,\n                 "MemoryAllocationFailed","`%s\'",fx_info->images->filename);\n      local_1054 = 0.0;\n      goto LAB_000c9af7;\n    }\n    *pdVar3 = local_1054;\n    pcVar7 = ConstantString(key);\n    MVar8 = AddValueToSplayTree(fx_info->symbols,pcVar7,pdVar3);\n    if (MVar8 == MagickFalse) {\n      local_1054 = 0.0;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    *pdVar3 = local_1054;\n  }\n  local_1054 = local_1054 * _DAT_0029f148;\nLAB_000c9af7:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_1054;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment comment comment comment comment comment (function_definition "double __regparm3\nFxChannelStatistics(FxInfo *fx_info,Image *image,PixelChannel channel,char *symbol,\n                   ExceptionInfo *exception)\n\n{\n  int iVar1;\n  char cVar2;\n  double *pdVar3;\n  int iVar4;\n  ssize_t sVar5;\n  size_t sVar6;\n  char *pcVar7;\n  MagickBooleanType MVar8;\n  int in_GS_OFFSET;\n  double local_1054;\n  ChannelType local_1048;\n  double kurtosis;\n  double skewness;\n  char key [4096];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  cVar2 = *symbol;\n  pcVar7 = symbol;\n  while ((cVar2 != '.' && (cVar2 != '\0'))) {\n    pcVar7 = pcVar7 + 1;\n    cVar2 = *pcVar7;\n  }\n  if ((cVar2 == '.') &&\n     (sVar5 = ParseCommandOption(MagickPixelChannelOptions,MagickTrue,pcVar7 + 1), -1 < sVar5)) {\n    local_1048 = SetPixelChannelMask(image,1 << ((byte)sVar5 & 0x1f));\n    FormatLocaleString(key,0x1000,"%p.%.20g.%s",image,(double)sVar5,symbol);\n    pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);\n    if (pdVar3 != (double *)0x0) {\n      if (local_1048 != UndefinedChannel) {\n        SetPixelChannelMask(image,local_1048);\n      }\nLAB_000c9aef:\n      local_1054 = _DAT_0029f148 * *pdVar3;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    local_1054 = (double)(ulonglong)channel;\n    FormatLocaleString(key,0x1000,"%p.%.20g.%s",image,(double)(longlong)local_1054,symbol);\n    pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);\n    if (pdVar3 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = UndefinedChannel;\n  }\n  iVar4 = LocaleNCompare(symbol,"depth",5);\n  if (iVar4 == 0) {\n    sVar6 = GetImageDepth(image,exception);\n    local_1054 = (double)(ulonglong)sVar6;\n    local_1054 = (double)(longlong)local_1054;\n  }\n  else {\n    local_1054 = 0.0;\n  }\n  iVar4 = LocaleNCompare(symbol,"kurtosis",8);\n  if (iVar4 == 0) {\n    GetImageKurtosis(image,&kurtosis,&skewness,exception);\n    local_1054 = kurtosis;\n  }\n  iVar4 = LocaleNCompare(symbol,"maxima",6);\n  if (iVar4 == 0) {\n    GetImageRange(image,&skewness,&kurtosis,exception);\n    local_1054 = kurtosis;\n  }\n  iVar4 = LocaleNCompare(symbol,"mean",4);\n  if (iVar4 == 0) {\n    GetImageMean(image,&kurtosis,&skewness,exception);\n    local_1054 = kurtosis;\n  }\n  iVar4 = LocaleNCompare(symbol,"median",6);\n  if (iVar4 == 0) {\n    GetImageMedian(image,&skewness,exception);\n    local_1054 = skewness;\n  }\n  iVar4 = LocaleNCompare(symbol,"minima",6);\n  if (iVar4 == 0) {\n    GetImageRange(image,&skewness,&kurtosis,exception);\n    local_1054 = skewness;\n  }\n  iVar4 = LocaleNCompare(symbol,"skewness",8);\n  if (iVar4 == 0) {\n    GetImageKurtosis(image,&kurtosis,&skewness,exception);\n    local_1054 = skewness;\n  }\n  iVar4 = LocaleNCompare(symbol,"standard_deviation",0x12);\n  if (iVar4 == 0) {\n    GetImageMean(image,&kurtosis,&skewness,exception);\n    local_1054 = skewness;\n  }\n  if (local_1048 != UndefinedChannel) {\n    SetPixelChannelMask(image,local_1048);\n  }\n  pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);\n  if (pdVar3 == (double *)0x0) {\n    pdVar3 = (double *)AcquireMagickMemory(8);\n    if (pdVar3 == (double *)0x0) {\n      ThrowMagickException\n                (fx_info->exception,"MagickCore/fx.c","SetFxSymbolValue",0x173,ErrorException,\n                 "MemoryAllocationFailed","`%s\'",fx_info->images->filename);\n      local_1054 = 0.0;\n      goto LAB_000c9af7;\n    }\n    *pdVar3 = local_1054;\n    pcVar7 = ConstantString(key);\n    MVar8 = AddValueToSplayTree(fx_info->symbols,pcVar7,pdVar3);\n    if (MVar8 == MagickFalse) {\n      local_1054 = 0.0;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    *pdVar3 = local_1054;\n  }\n  local_1054 = local_1054 * _DAT_0029f148;\nLAB_000c9af7:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_1054;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FxChannelStatistics(FxInfo *fx_info,Image *image,PixelChannel channel,char *symbol,\n                   ExceptionInfo *exception)" identifier (parameter_list "(FxInfo *fx_info,Image *image,PixelChannel channel,char *symbol,\n                   ExceptionInfo *exception)" ( (parameter_declaration "FxInfo *fx_info" type_identifier (pointer_declarator "*fx_info" * identifier)) , (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "PixelChannel channel" type_identifier identifier) , (parameter_declaration "char *symbol" primitive_type (pointer_declarator "*symbol" * identifier)) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  double *pdVar3;\n  int iVar4;\n  ssize_t sVar5;\n  size_t sVar6;\n  char *pcVar7;\n  MagickBooleanType MVar8;\n  int in_GS_OFFSET;\n  double local_1054;\n  ChannelType local_1048;\n  double kurtosis;\n  double skewness;\n  char key [4096];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  cVar2 = *symbol;\n  pcVar7 = symbol;\n  while ((cVar2 != '.' && (cVar2 != '\0'))) {\n    pcVar7 = pcVar7 + 1;\n    cVar2 = *pcVar7;\n  }\n  if ((cVar2 == '.') &&\n     (sVar5 = ParseCommandOption(MagickPixelChannelOptions,MagickTrue,pcVar7 + 1), -1 < sVar5)) {\n    local_1048 = SetPixelChannelMask(image,1 << ((byte)sVar5 & 0x1f));\n    FormatLocaleString(key,0x1000,"%p.%.20g.%s",image,(double)sVar5,symbol);\n    pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);\n    if (pdVar3 != (double *)0x0) {\n      if (local_1048 != UndefinedChannel) {\n        SetPixelChannelMask(image,local_1048);\n      }\nLAB_000c9aef:\n      local_1054 = _DAT_0029f148 * *pdVar3;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    local_1054 = (double)(ulonglong)channel;\n    FormatLocaleString(key,0x1000,"%p.%.20g.%s",image,(double)(longlong)local_1054,symbol);\n    pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);\n    if (pdVar3 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = UndefinedChannel;\n  }\n  iVar4 = LocaleNCompare(symbol,"depth",5);\n  if (iVar4 == 0) {\n    sVar6 = GetImageDepth(image,exception);\n    local_1054 = (double)(ulonglong)sVar6;\n    local_1054 = (double)(longlong)local_1054;\n  }\n  else {\n    local_1054 = 0.0;\n  }\n  iVar4 = LocaleNCompare(symbol,"kurtosis",8);\n  if (iVar4 == 0) {\n    GetImageKurtosis(image,&kurtosis,&skewness,exception);\n    local_1054 = kurtosis;\n  }\n  iVar4 = LocaleNCompare(symbol,"maxima",6);\n  if (iVar4 == 0) {\n    GetImageRange(image,&skewness,&kurtosis,exception);\n    local_1054 = kurtosis;\n  }\n  iVar4 = LocaleNCompare(symbol,"mean",4);\n  if (iVar4 == 0) {\n    GetImageMean(image,&kurtosis,&skewness,exception);\n    local_1054 = kurtosis;\n  }\n  iVar4 = LocaleNCompare(symbol,"median",6);\n  if (iVar4 == 0) {\n    GetImageMedian(image,&skewness,exception);\n    local_1054 = skewness;\n  }\n  iVar4 = LocaleNCompare(symbol,"minima",6);\n  if (iVar4 == 0) {\n    GetImageRange(image,&skewness,&kurtosis,exception);\n    local_1054 = skewness;\n  }\n  iVar4 = LocaleNCompare(symbol,"skewness",8);\n  if (iVar4 == 0) {\n    GetImageKurtosis(image,&kurtosis,&skewness,exception);\n    local_1054 = skewness;\n  }\n  iVar4 = LocaleNCompare(symbol,"standard_deviation",0x12);\n  if (iVar4 == 0) {\n    GetImageMean(image,&kurtosis,&skewness,exception);\n    local_1054 = skewness;\n  }\n  if (local_1048 != UndefinedChannel) {\n    SetPixelChannelMask(image,local_1048);\n  }\n  pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);\n  if (pdVar3 == (double *)0x0) {\n    pdVar3 = (double *)AcquireMagickMemory(8);\n    if (pdVar3 == (double *)0x0) {\n      ThrowMagickException\n                (fx_info->exception,"MagickCore/fx.c","SetFxSymbolValue",0x173,ErrorException,\n                 "MemoryAllocationFailed","`%s\'",fx_info->images->filename);\n      local_1054 = 0.0;\n      goto LAB_000c9af7;\n    }\n    *pdVar3 = local_1054;\n    pcVar7 = ConstantString(key);\n    MVar8 = AddValueToSplayTree(fx_info->symbols,pcVar7,pdVar3);\n    if (MVar8 == MagickFalse) {\n      local_1054 = 0.0;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    *pdVar3 = local_1054;\n  }\n  local_1054 = local_1054 * _DAT_0029f148;\nLAB_000c9af7:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_1054;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "double *pdVar3;" primitive_type (pointer_declarator "*pdVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "ssize_t sVar5;" primitive_type identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "MagickBooleanType MVar8;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "double local_1054;" primitive_type identifier ;) (declaration "ChannelType local_1048;" type_identifier identifier ;) (declaration "double kurtosis;" primitive_type identifier ;) (declaration "double skewness;" primitive_type identifier ;) (declaration "char key [4096];" primitive_type (array_declarator "key [4096]" identifier [ number_literal ]) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(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) ))))) ;) (expression_statement "cVar2 = *symbol;" (assignment_expression "cVar2 = *symbol" identifier = (pointer_expression "*symbol" * identifier)) ;) (expression_statement "pcVar7 = symbol;" (assignment_expression "pcVar7 = symbol" identifier = identifier) ;) (while_statement "while ((cVar2 != '.' && (cVar2 != '\0'))) {\n    pcVar7 = pcVar7 + 1;\n    cVar2 = *pcVar7;\n  }" while (parenthesized_expression "((cVar2 != '.' && (cVar2 != '\0')))" ( (parenthesized_expression "(cVar2 != '.' && (cVar2 != '\0'))" ( (binary_expression "cVar2 != '.' && (cVar2 != '\0')" (binary_expression "cVar2 != '.'" identifier != (char_literal "'.'" ' character ')) && (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) ))) )) )) (compound_statement "{\n    pcVar7 = pcVar7 + 1;\n    cVar2 = *pcVar7;\n  }" { (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (expression_statement "cVar2 = *pcVar7;" (assignment_expression "cVar2 = *pcVar7" identifier = (pointer_expression "*pcVar7" * identifier)) ;) })) (if_statement "if ((cVar2 == '.') &&\n     (sVar5 = ParseCommandOption(MagickPixelChannelOptions,MagickTrue,pcVar7 + 1), -1 < sVar5)) {\n    local_1048 = SetPixelChannelMask(image,1 << ((byte)sVar5 & 0x1f));\n    FormatLocaleString(key,0x1000,"%p.%.20g.%s",image,(double)sVar5,symbol);\n    pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);\n    if (pdVar3 != (double *)0x0) {\n      if (local_1048 != UndefinedChannel) {\n        SetPixelChannelMask(image,local_1048);\n      }\nLAB_000c9aef:\n      local_1054 = _DAT_0029f148 * *pdVar3;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    local_1054 = (double)(ulonglong)channel;\n    FormatLocaleString(key,0x1000,"%p.%.20g.%s",image,(double)(longlong)local_1054,symbol);\n    pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);\n    if (pdVar3 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = UndefinedChannel;\n  }" if (parenthesized_expression "((cVar2 == '.') &&\n     (sVar5 = ParseCommandOption(MagickPixelChannelOptions,MagickTrue,pcVar7 + 1), -1 < sVar5))" ( (binary_expression "(cVar2 == '.') &&\n     (sVar5 = ParseCommandOption(MagickPixelChannelOptions,MagickTrue,pcVar7 + 1), -1 < sVar5)" (parenthesized_expression "(cVar2 == '.')" ( (binary_expression "cVar2 == '.'" identifier == (char_literal "'.'" ' character ')) )) && (parenthesized_expression "(sVar5 = ParseCommandOption(MagickPixelChannelOptions,MagickTrue,pcVar7 + 1), -1 < sVar5)" ( (comma_expression "sVar5 = ParseCommandOption(MagickPixelChannelOptions,MagickTrue,pcVar7 + 1), -1 < sVar5" (assignment_expression "sVar5 = ParseCommandOption(MagickPixelChannelOptions,MagickTrue,pcVar7 + 1)" identifier = (call_expression "ParseCommandOption(MagickPixelChannelOptions,MagickTrue,pcVar7 + 1)" identifier (argument_list "(MagickPixelChannelOptions,MagickTrue,pcVar7 + 1)" ( identifier , identifier , (binary_expression "pcVar7 + 1" identifier + number_literal) )))) , (binary_expression "-1 < sVar5" number_literal < identifier)) ))) )) (compound_statement "{\n    local_1048 = SetPixelChannelMask(image,1 << ((byte)sVar5 & 0x1f));\n    FormatLocaleString(key,0x1000,"%p.%.20g.%s",image,(double)sVar5,symbol);\n    pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);\n    if (pdVar3 != (double *)0x0) {\n      if (local_1048 != UndefinedChannel) {\n        SetPixelChannelMask(image,local_1048);\n      }\nLAB_000c9aef:\n      local_1054 = _DAT_0029f148 * *pdVar3;\n      goto LAB_000c9af7;\n    }\n  }" { (expression_statement "local_1048 = SetPixelChannelMask(image,1 << ((byte)sVar5 & 0x1f));" (assignment_expression "local_1048 = SetPixelChannelMask(image,1 << ((byte)sVar5 & 0x1f))" identifier = (call_expression "SetPixelChannelMask(image,1 << ((byte)sVar5 & 0x1f))" identifier (argument_list "(image,1 << ((byte)sVar5 & 0x1f))" ( identifier , (binary_expression "1 << ((byte)sVar5 & 0x1f)" number_literal << (parenthesized_expression "((byte)sVar5 & 0x1f)" ( (binary_expression "(byte)sVar5 & 0x1f" (cast_expression "(byte)sVar5" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )))) ;) (expression_statement "FormatLocaleString(key,0x1000,"%p.%.20g.%s",image,(double)sVar5,symbol);" (call_expression "FormatLocaleString(key,0x1000,"%p.%.20g.%s",image,(double)sVar5,symbol)" identifier (argument_list "(key,0x1000,"%p.%.20g.%s",image,(double)sVar5,symbol)" ( identifier , number_literal , (string_literal ""%p.%.20g.%s"" " string_content ") , identifier , (cast_expression "(double)sVar5" ( (type_descriptor "double" primitive_type) ) identifier) , identifier ))) ;) (expression_statement "pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);" (assignment_expression "pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key)" identifier = (cast_expression "(double *)GetValueFromSplayTree(fx_info->symbols,key)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetValueFromSplayTree(fx_info->symbols,key)" identifier (argument_list "(fx_info->symbols,key)" ( (field_expression "fx_info->symbols" identifier -> field_identifier) , identifier ))))) ;) (if_statement "if (pdVar3 != (double *)0x0) {\n      if (local_1048 != UndefinedChannel) {\n        SetPixelChannelMask(image,local_1048);\n      }\nLAB_000c9aef:\n      local_1054 = _DAT_0029f148 * *pdVar3;\n      goto LAB_000c9af7;\n    }" if (parenthesized_expression "(pdVar3 != (double *)0x0)" ( (binary_expression "pdVar3 != (double *)0x0" identifier != (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (local_1048 != UndefinedChannel) {\n        SetPixelChannelMask(image,local_1048);\n      }\nLAB_000c9aef:\n      local_1054 = _DAT_0029f148 * *pdVar3;\n      goto LAB_000c9af7;\n    }" { (if_statement "if (local_1048 != UndefinedChannel) {\n        SetPixelChannelMask(image,local_1048);\n      }" if (parenthesized_expression "(local_1048 != UndefinedChannel)" ( (binary_expression "local_1048 != UndefinedChannel" identifier != identifier) )) (compound_statement "{\n        SetPixelChannelMask(image,local_1048);\n      }" { (expression_statement "SetPixelChannelMask(image,local_1048);" (call_expression "SetPixelChannelMask(image,local_1048)" identifier (argument_list "(image,local_1048)" ( identifier , identifier ))) ;) })) (labeled_statement "LAB_000c9aef:\n      local_1054 = _DAT_0029f148 * *pdVar3;" statement_identifier : (expression_statement "local_1054 = _DAT_0029f148 * *pdVar3;" (assignment_expression "local_1054 = _DAT_0029f148 * *pdVar3" identifier = (binary_expression "_DAT_0029f148 * *pdVar3" identifier * (pointer_expression "*pdVar3" * identifier))) ;)) (goto_statement "goto LAB_000c9af7;" goto statement_identifier ;) })) }) (else_clause "else {\n    local_1054 = (double)(ulonglong)channel;\n    FormatLocaleString(key,0x1000,"%p.%.20g.%s",image,(double)(longlong)local_1054,symbol);\n    pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);\n    if (pdVar3 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = UndefinedChannel;\n  }" else (compound_statement "{\n    local_1054 = (double)(ulonglong)channel;\n    FormatLocaleString(key,0x1000,"%p.%.20g.%s",image,(double)(longlong)local_1054,symbol);\n    pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);\n    if (pdVar3 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = UndefinedChannel;\n  }" { (expression_statement "local_1054 = (double)(ulonglong)channel;" (assignment_expression "local_1054 = (double)(ulonglong)channel" identifier = (cast_expression "(double)(ulonglong)channel" ( (type_descriptor "double" primitive_type) ) (cast_expression "(ulonglong)channel" ( (type_descriptor "ulonglong" type_identifier) ) identifier))) ;) (expression_statement "FormatLocaleString(key,0x1000,"%p.%.20g.%s",image,(double)(longlong)local_1054,symbol);" (call_expression "FormatLocaleString(key,0x1000,"%p.%.20g.%s",image,(double)(longlong)local_1054,symbol)" identifier (argument_list "(key,0x1000,"%p.%.20g.%s",image,(double)(longlong)local_1054,symbol)" ( identifier , number_literal , (string_literal ""%p.%.20g.%s"" " string_content ") , identifier , (cast_expression "(double)(longlong)local_1054" ( (type_descriptor "double" primitive_type) ) (cast_expression "(longlong)local_1054" ( (type_descriptor "longlong" type_identifier) ) identifier)) , identifier ))) ;) (expression_statement "pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);" (assignment_expression "pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key)" identifier = (cast_expression "(double *)GetValueFromSplayTree(fx_info->symbols,key)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetValueFromSplayTree(fx_info->symbols,key)" identifier (argument_list "(fx_info->symbols,key)" ( (field_expression "fx_info->symbols" identifier -> field_identifier) , identifier ))))) ;) (if_statement "if (pdVar3 != (double *)0x0) goto LAB_000c9aef;" if (parenthesized_expression "(pdVar3 != (double *)0x0)" ( (binary_expression "pdVar3 != (double *)0x0" identifier != (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000c9aef;" goto statement_identifier ;)) (expression_statement "local_1048 = UndefinedChannel;" (assignment_expression "local_1048 = UndefinedChannel" identifier = identifier) ;) }))) (expression_statement "iVar4 = LocaleNCompare(symbol,"depth",5);" (assignment_expression "iVar4 = LocaleNCompare(symbol,"depth",5)" identifier = (call_expression "LocaleNCompare(symbol,"depth",5)" identifier (argument_list "(symbol,"depth",5)" ( identifier , (string_literal ""depth"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n    sVar6 = GetImageDepth(image,exception);\n    local_1054 = (double)(ulonglong)sVar6;\n    local_1054 = (double)(longlong)local_1054;\n  }\n  else {\n    local_1054 = 0.0;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    sVar6 = GetImageDepth(image,exception);\n    local_1054 = (double)(ulonglong)sVar6;\n    local_1054 = (double)(longlong)local_1054;\n  }" { (expression_statement "sVar6 = GetImageDepth(image,exception);" (assignment_expression "sVar6 = GetImageDepth(image,exception)" identifier = (call_expression "GetImageDepth(image,exception)" identifier (argument_list "(image,exception)" ( identifier , identifier )))) ;) (expression_statement "local_1054 = (double)(ulonglong)sVar6;" (assignment_expression "local_1054 = (double)(ulonglong)sVar6" identifier = (cast_expression "(double)(ulonglong)sVar6" ( (type_descriptor "double" primitive_type) ) (cast_expression "(ulonglong)sVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier))) ;) (expression_statement "local_1054 = (double)(longlong)local_1054;" (assignment_expression "local_1054 = (double)(longlong)local_1054" identifier = (cast_expression "(double)(longlong)local_1054" ( (type_descriptor "double" primitive_type) ) (cast_expression "(longlong)local_1054" ( (type_descriptor "longlong" type_identifier) ) identifier))) ;) }) (else_clause "else {\n    local_1054 = 0.0;\n  }" else (compound_statement "{\n    local_1054 = 0.0;\n  }" { (expression_statement "local_1054 = 0.0;" (assignment_expression "local_1054 = 0.0" identifier = number_literal) ;) }))) (expression_statement "iVar4 = LocaleNCompare(symbol,"kurtosis",8);" (assignment_expression "iVar4 = LocaleNCompare(symbol,"kurtosis",8)" identifier = (call_expression "LocaleNCompare(symbol,"kurtosis",8)" identifier (argument_list "(symbol,"kurtosis",8)" ( identifier , (string_literal ""kurtosis"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n    GetImageKurtosis(image,&kurtosis,&skewness,exception);\n    local_1054 = kurtosis;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageKurtosis(image,&kurtosis,&skewness,exception);\n    local_1054 = kurtosis;\n  }" { (expression_statement "GetImageKurtosis(image,&kurtosis,&skewness,exception);" (call_expression "GetImageKurtosis(image,&kurtosis,&skewness,exception)" identifier (argument_list "(image,&kurtosis,&skewness,exception)" ( identifier , (pointer_expression "&kurtosis" & identifier) , (pointer_expression "&skewness" & identifier) , identifier ))) ;) (expression_statement "local_1054 = kurtosis;" (assignment_expression "local_1054 = kurtosis" identifier = identifier) ;) })) (expression_statement "iVar4 = LocaleNCompare(symbol,"maxima",6);" (assignment_expression "iVar4 = LocaleNCompare(symbol,"maxima",6)" identifier = (call_expression "LocaleNCompare(symbol,"maxima",6)" identifier (argument_list "(symbol,"maxima",6)" ( identifier , (string_literal ""maxima"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n    GetImageRange(image,&skewness,&kurtosis,exception);\n    local_1054 = kurtosis;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageRange(image,&skewness,&kurtosis,exception);\n    local_1054 = kurtosis;\n  }" { (expression_statement "GetImageRange(image,&skewness,&kurtosis,exception);" (call_expression "GetImageRange(image,&skewness,&kurtosis,exception)" identifier (argument_list "(image,&skewness,&kurtosis,exception)" ( identifier , (pointer_expression "&skewness" & identifier) , (pointer_expression "&kurtosis" & identifier) , identifier ))) ;) (expression_statement "local_1054 = kurtosis;" (assignment_expression "local_1054 = kurtosis" identifier = identifier) ;) })) (expression_statement "iVar4 = LocaleNCompare(symbol,"mean",4);" (assignment_expression "iVar4 = LocaleNCompare(symbol,"mean",4)" identifier = (call_expression "LocaleNCompare(symbol,"mean",4)" identifier (argument_list "(symbol,"mean",4)" ( identifier , (string_literal ""mean"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n    GetImageMean(image,&kurtosis,&skewness,exception);\n    local_1054 = kurtosis;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageMean(image,&kurtosis,&skewness,exception);\n    local_1054 = kurtosis;\n  }" { (expression_statement "GetImageMean(image,&kurtosis,&skewness,exception);" (call_expression "GetImageMean(image,&kurtosis,&skewness,exception)" identifier (argument_list "(image,&kurtosis,&skewness,exception)" ( identifier , (pointer_expression "&kurtosis" & identifier) , (pointer_expression "&skewness" & identifier) , identifier ))) ;) (expression_statement "local_1054 = kurtosis;" (assignment_expression "local_1054 = kurtosis" identifier = identifier) ;) })) (expression_statement "iVar4 = LocaleNCompare(symbol,"median",6);" (assignment_expression "iVar4 = LocaleNCompare(symbol,"median",6)" identifier = (call_expression "LocaleNCompare(symbol,"median",6)" identifier (argument_list "(symbol,"median",6)" ( identifier , (string_literal ""median"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n    GetImageMedian(image,&skewness,exception);\n    local_1054 = skewness;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageMedian(image,&skewness,exception);\n    local_1054 = skewness;\n  }" { (expression_statement "GetImageMedian(image,&skewness,exception);" (call_expression "GetImageMedian(image,&skewness,exception)" identifier (argument_list "(image,&skewness,exception)" ( identifier , (pointer_expression "&skewness" & identifier) , identifier ))) ;) (expression_statement "local_1054 = skewness;" (assignment_expression "local_1054 = skewness" identifier = identifier) ;) })) (expression_statement "iVar4 = LocaleNCompare(symbol,"minima",6);" (assignment_expression "iVar4 = LocaleNCompare(symbol,"minima",6)" identifier = (call_expression "LocaleNCompare(symbol,"minima",6)" identifier (argument_list "(symbol,"minima",6)" ( identifier , (string_literal ""minima"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n    GetImageRange(image,&skewness,&kurtosis,exception);\n    local_1054 = skewness;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageRange(image,&skewness,&kurtosis,exception);\n    local_1054 = skewness;\n  }" { (expression_statement "GetImageRange(image,&skewness,&kurtosis,exception);" (call_expression "GetImageRange(image,&skewness,&kurtosis,exception)" identifier (argument_list "(image,&skewness,&kurtosis,exception)" ( identifier , (pointer_expression "&skewness" & identifier) , (pointer_expression "&kurtosis" & identifier) , identifier ))) ;) (expression_statement "local_1054 = skewness;" (assignment_expression "local_1054 = skewness" identifier = identifier) ;) })) (expression_statement "iVar4 = LocaleNCompare(symbol,"skewness",8);" (assignment_expression "iVar4 = LocaleNCompare(symbol,"skewness",8)" identifier = (call_expression "LocaleNCompare(symbol,"skewness",8)" identifier (argument_list "(symbol,"skewness",8)" ( identifier , (string_literal ""skewness"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n    GetImageKurtosis(image,&kurtosis,&skewness,exception);\n    local_1054 = skewness;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageKurtosis(image,&kurtosis,&skewness,exception);\n    local_1054 = skewness;\n  }" { (expression_statement "GetImageKurtosis(image,&kurtosis,&skewness,exception);" (call_expression "GetImageKurtosis(image,&kurtosis,&skewness,exception)" identifier (argument_list "(image,&kurtosis,&skewness,exception)" ( identifier , (pointer_expression "&kurtosis" & identifier) , (pointer_expression "&skewness" & identifier) , identifier ))) ;) (expression_statement "local_1054 = skewness;" (assignment_expression "local_1054 = skewness" identifier = identifier) ;) })) (expression_statement "iVar4 = LocaleNCompare(symbol,"standard_deviation",0x12);" (assignment_expression "iVar4 = LocaleNCompare(symbol,"standard_deviation",0x12)" identifier = (call_expression "LocaleNCompare(symbol,"standard_deviation",0x12)" identifier (argument_list "(symbol,"standard_deviation",0x12)" ( identifier , (string_literal ""standard_deviation"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n    GetImageMean(image,&kurtosis,&skewness,exception);\n    local_1054 = skewness;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageMean(image,&kurtosis,&skewness,exception);\n    local_1054 = skewness;\n  }" { (expression_statement "GetImageMean(image,&kurtosis,&skewness,exception);" (call_expression "GetImageMean(image,&kurtosis,&skewness,exception)" identifier (argument_list "(image,&kurtosis,&skewness,exception)" ( identifier , (pointer_expression "&kurtosis" & identifier) , (pointer_expression "&skewness" & identifier) , identifier ))) ;) (expression_statement "local_1054 = skewness;" (assignment_expression "local_1054 = skewness" identifier = identifier) ;) })) (if_statement "if (local_1048 != UndefinedChannel) {\n    SetPixelChannelMask(image,local_1048);\n  }" if (parenthesized_expression "(local_1048 != UndefinedChannel)" ( (binary_expression "local_1048 != UndefinedChannel" identifier != identifier) )) (compound_statement "{\n    SetPixelChannelMask(image,local_1048);\n  }" { (expression_statement "SetPixelChannelMask(image,local_1048);" (call_expression "SetPixelChannelMask(image,local_1048)" identifier (argument_list "(image,local_1048)" ( identifier , identifier ))) ;) })) (expression_statement "pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key);" (assignment_expression "pdVar3 = (double *)GetValueFromSplayTree(fx_info->symbols,key)" identifier = (cast_expression "(double *)GetValueFromSplayTree(fx_info->symbols,key)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetValueFromSplayTree(fx_info->symbols,key)" identifier (argument_list "(fx_info->symbols,key)" ( (field_expression "fx_info->symbols" identifier -> field_identifier) , identifier ))))) ;) (if_statement "if (pdVar3 == (double *)0x0) {\n    pdVar3 = (double *)AcquireMagickMemory(8);\n    if (pdVar3 == (double *)0x0) {\n      ThrowMagickException\n                (fx_info->exception,"MagickCore/fx.c","SetFxSymbolValue",0x173,ErrorException,\n                 "MemoryAllocationFailed","`%s\'",fx_info->images->filename);\n      local_1054 = 0.0;\n      goto LAB_000c9af7;\n    }\n    *pdVar3 = local_1054;\n    pcVar7 = ConstantString(key);\n    MVar8 = AddValueToSplayTree(fx_info->symbols,pcVar7,pdVar3);\n    if (MVar8 == MagickFalse) {\n      local_1054 = 0.0;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    *pdVar3 = local_1054;\n  }" if (parenthesized_expression "(pdVar3 == (double *)0x0)" ( (binary_expression "pdVar3 == (double *)0x0" identifier == (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pdVar3 = (double *)AcquireMagickMemory(8);\n    if (pdVar3 == (double *)0x0) {\n      ThrowMagickException\n                (fx_info->exception,"MagickCore/fx.c","SetFxSymbolValue",0x173,ErrorException,\n                 "MemoryAllocationFailed","`%s\'",fx_info->images->filename);\n      local_1054 = 0.0;\n      goto LAB_000c9af7;\n    }\n    *pdVar3 = local_1054;\n    pcVar7 = ConstantString(key);\n    MVar8 = AddValueToSplayTree(fx_info->symbols,pcVar7,pdVar3);\n    if (MVar8 == MagickFalse) {\n      local_1054 = 0.0;\n      goto LAB_000c9af7;\n    }\n  }" { (expression_statement "pdVar3 = (double *)AcquireMagickMemory(8);" (assignment_expression "pdVar3 = (double *)AcquireMagickMemory(8)" identifier = (cast_expression "(double *)AcquireMagickMemory(8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireMagickMemory(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (if_statement "if (pdVar3 == (double *)0x0) {\n      ThrowMagickException\n                (fx_info->exception,"MagickCore/fx.c","SetFxSymbolValue",0x173,ErrorException,\n                 "MemoryAllocationFailed","`%s\'",fx_info->images->filename);\n      local_1054 = 0.0;\n      goto LAB_000c9af7;\n    }" if (parenthesized_expression "(pdVar3 == (double *)0x0)" ( (binary_expression "pdVar3 == (double *)0x0" identifier == (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      ThrowMagickException\n                (fx_info->exception,"MagickCore/fx.c","SetFxSymbolValue",0x173,ErrorException,\n                 "MemoryAllocationFailed","`%s\'",fx_info->images->filename);\n      local_1054 = 0.0;\n      goto LAB_000c9af7;\n    }" { (expression_statement "ThrowMagickException\n                (fx_info->exception,"MagickCore/fx.c","SetFxSymbolValue",0x173,ErrorException,\n                 "MemoryAllocationFailed","`%s\'",fx_info->images->filename);" (call_expression "ThrowMagickException\n                (fx_info->exception,"MagickCore/fx.c","SetFxSymbolValue",0x173,ErrorException,\n                 "MemoryAllocationFailed","`%s\'",fx_info->images->filename)" identifier (argument_list "(fx_info->exception,"MagickCore/fx.c","SetFxSymbolValue",0x173,ErrorException,\n                 "MemoryAllocationFailed","`%s\'",fx_info->images->filename)" ( (field_expression "fx_info->exception" identifier -> field_identifier) , (string_literal ""MagickCore/fx.c"" " string_content ") , (string_literal ""SetFxSymbolValue"" " string_content ") , number_literal , identifier , (string_literal ""MemoryAllocationFailed"" " string_content ") , (string_literal ""`%s\'"" " string_content escape_sequence ") , (field_expression "fx_info->images->filename" (field_expression "fx_info->images" identifier -> field_identifier) -> field_identifier) ))) ;) (expression_statement "local_1054 = 0.0;" (assignment_expression "local_1054 = 0.0" identifier = number_literal) ;) (goto_statement "goto LAB_000c9af7;" goto statement_identifier ;) })) (expression_statement "*pdVar3 = local_1054;" (assignment_expression "*pdVar3 = local_1054" (pointer_expression "*pdVar3" * identifier) = identifier) ;) (expression_statement "pcVar7 = ConstantString(key);" (assignment_expression "pcVar7 = ConstantString(key)" identifier = (call_expression "ConstantString(key)" identifier (argument_list "(key)" ( identifier )))) ;) (expression_statement "MVar8 = AddValueToSplayTree(fx_info->symbols,pcVar7,pdVar3);" (assignment_expression "MVar8 = AddValueToSplayTree(fx_info->symbols,pcVar7,pdVar3)" identifier = (call_expression "AddValueToSplayTree(fx_info->symbols,pcVar7,pdVar3)" identifier (argument_list "(fx_info->symbols,pcVar7,pdVar3)" ( (field_expression "fx_info->symbols" identifier -> field_identifier) , identifier , identifier )))) ;) (if_statement "if (MVar8 == MagickFalse) {\n      local_1054 = 0.0;\n      goto LAB_000c9af7;\n    }" if (parenthesized_expression "(MVar8 == MagickFalse)" ( (binary_expression "MVar8 == MagickFalse" identifier == identifier) )) (compound_statement "{\n      local_1054 = 0.0;\n      goto LAB_000c9af7;\n    }" { (expression_statement "local_1054 = 0.0;" (assignment_expression "local_1054 = 0.0" identifier = number_literal) ;) (goto_statement "goto LAB_000c9af7;" goto statement_identifier ;) })) }) (else_clause "else {\n    *pdVar3 = local_1054;\n  }" else (compound_statement "{\n    *pdVar3 = local_1054;\n  }" { (expression_statement "*pdVar3 = local_1054;" (assignment_expression "*pdVar3 = local_1054" (pointer_expression "*pdVar3" * identifier) = identifier) ;) }))) (expression_statement "local_1054 = local_1054 * _DAT_0029f148;" (assignment_expression "local_1054 = local_1054 * _DAT_0029f148" identifier = (binary_expression "local_1054 * _DAT_0029f148" identifier * identifier)) ;) (labeled_statement "LAB_000c9af7:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_1054;\n  }" statement_identifier : (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_1054;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return local_1054;\n  }" { (return_statement "return local_1054;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "longdouble __regparm3\nFUN_000c9860(int *param_1,undefined4 param_2,uint param_3,char *param_4,undefined4 param_5)\n\n{\n  char cVar1;\n  double *pdVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  int in_GS_OFFSET;\n  longdouble lVar7;\n  double local_1054;\n  int local_1048;\n  double local_1034;\n  double local_102c;\n  undefined1 local_1020 [4096];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc986b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  cVar1 = *param_4;\n  pcVar6 = param_4;\n  while ((cVar1 != '.' && (cVar1 != '\0'))) {\n    pcVar6 = pcVar6 + 1;\n    cVar1 = *pcVar6;\n  }\n  if ((cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)) {\n    local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) {\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    local_1054 = (double)(ulonglong)param_3;\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = 0;\n  }\n  iVar3 = LocaleNCompare(param_4,"depth",5);\n  if (iVar3 == 0) {\n    uVar4 = GetImageDepth(param_2,param_5);\n    local_1054 = (double)(ulonglong)uVar4;\n    local_1054 = (double)(longlong)local_1054;\n  }\n  else {\n    local_1054 = 0.0;\n  }\n  iVar3 = LocaleNCompare(param_4,"kurtosis",8);\n  if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"maxima",6);\n  if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"mean",4);\n  if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"median",6);\n  if (iVar3 == 0) {\n    GetImageMedian(param_2,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"minima",6);\n  if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"skewness",8);\n  if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"standard_deviation",0x12);\n  if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  if (local_1048 != 0) {\n    SetPixelChannelMask(param_2,local_1048);\n  }\n  pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n  if (pdVar2 == (double *)0x0) {\n    pdVar2 = (double *)AcquireMagickMemory(8);\n    if (pdVar2 == (double *)0x0) {\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n    *pdVar2 = local_1054;\n    uVar5 = ConstantString(local_1020);\n    iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);\n    if (iVar3 == 0) {\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    *pdVar2 = local_1054;\n  }\n  lVar7 = (longdouble)local_1054 * (longdouble)_DAT_0029f148;\nLAB_000c9af7:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar7;\n  }\n                    \n  FUN_0029eab0();\n}\n\n" (function_definition "longdouble __regparm3\nFUN_000c9860(int *param_1,undefined4 param_2,uint param_3,char *param_4,undefined4 param_5)\n\n{\n  char cVar1;\n  double *pdVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  int in_GS_OFFSET;\n  longdouble lVar7;\n  double local_1054;\n  int local_1048;\n  double local_1034;\n  double local_102c;\n  undefined1 local_1020 [4096];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc986b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  cVar1 = *param_4;\n  pcVar6 = param_4;\n  while ((cVar1 != '.' && (cVar1 != '\0'))) {\n    pcVar6 = pcVar6 + 1;\n    cVar1 = *pcVar6;\n  }\n  if ((cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)) {\n    local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) {\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    local_1054 = (double)(ulonglong)param_3;\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = 0;\n  }\n  iVar3 = LocaleNCompare(param_4,"depth",5);\n  if (iVar3 == 0) {\n    uVar4 = GetImageDepth(param_2,param_5);\n    local_1054 = (double)(ulonglong)uVar4;\n    local_1054 = (double)(longlong)local_1054;\n  }\n  else {\n    local_1054 = 0.0;\n  }\n  iVar3 = LocaleNCompare(param_4,"kurtosis",8);\n  if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"maxima",6);\n  if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"mean",4);\n  if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"median",6);\n  if (iVar3 == 0) {\n    GetImageMedian(param_2,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"minima",6);\n  if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"skewness",8);\n  if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"standard_deviation",0x12);\n  if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  if (local_1048 != 0) {\n    SetPixelChannelMask(param_2,local_1048);\n  }\n  pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n  if (pdVar2 == (double *)0x0) {\n    pdVar2 = (double *)AcquireMagickMemory(8);\n    if (pdVar2 == (double *)0x0) {\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n    *pdVar2 = local_1054;\n    uVar5 = ConstantString(local_1020);\n    iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);\n    if (iVar3 == 0) {\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    *pdVar2 = local_1054;\n  }\n  lVar7 = (longdouble)local_1054 * (longdouble)_DAT_0029f148;\nLAB_000c9af7:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar7;\n  }\n                    \n  FUN_0029eab0();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000c9860(int *param_1,undefined4 param_2,uint param_3,char *param_4,undefined4 param_5)" identifier (parameter_list "(int *param_1,undefined4 param_2,uint param_3,char *param_4,undefined4 param_5)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "char *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  double *pdVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  int in_GS_OFFSET;\n  longdouble lVar7;\n  double local_1054;\n  int local_1048;\n  double local_1034;\n  double local_102c;\n  undefined1 local_1020 [4096];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc986b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  cVar1 = *param_4;\n  pcVar6 = param_4;\n  while ((cVar1 != '.' && (cVar1 != '\0'))) {\n    pcVar6 = pcVar6 + 1;\n    cVar1 = *pcVar6;\n  }\n  if ((cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)) {\n    local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) {\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    local_1054 = (double)(ulonglong)param_3;\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = 0;\n  }\n  iVar3 = LocaleNCompare(param_4,"depth",5);\n  if (iVar3 == 0) {\n    uVar4 = GetImageDepth(param_2,param_5);\n    local_1054 = (double)(ulonglong)uVar4;\n    local_1054 = (double)(longlong)local_1054;\n  }\n  else {\n    local_1054 = 0.0;\n  }\n  iVar3 = LocaleNCompare(param_4,"kurtosis",8);\n  if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"maxima",6);\n  if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"mean",4);\n  if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"median",6);\n  if (iVar3 == 0) {\n    GetImageMedian(param_2,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"minima",6);\n  if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"skewness",8);\n  if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"standard_deviation",0x12);\n  if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  if (local_1048 != 0) {\n    SetPixelChannelMask(param_2,local_1048);\n  }\n  pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n  if (pdVar2 == (double *)0x0) {\n    pdVar2 = (double *)AcquireMagickMemory(8);\n    if (pdVar2 == (double *)0x0) {\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n    *pdVar2 = local_1054;\n    uVar5 = ConstantString(local_1020);\n    iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);\n    if (iVar3 == 0) {\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    *pdVar2 = local_1054;\n  }\n  lVar7 = (longdouble)local_1054 * (longdouble)_DAT_0029f148;\nLAB_000c9af7:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar7;\n  }\n                    \n  FUN_0029eab0();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "double *pdVar2;" primitive_type (pointer_declarator "*pdVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "longdouble lVar7;" type_identifier identifier ;) (declaration "double local_1054;" primitive_type identifier ;) (declaration "int local_1048;" primitive_type identifier ;) (declaration "double local_1034;" primitive_type identifier ;) (declaration "double local_102c;" primitive_type identifier ;) (declaration "undefined1 local_1020 [4096];" type_identifier (array_declarator "local_1020 [4096]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xc986b;" (assignment_expression "uStack_14 = 0xc986b" 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) ))))) ;) (expression_statement "cVar1 = *param_4;" (assignment_expression "cVar1 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (expression_statement "pcVar6 = param_4;" (assignment_expression "pcVar6 = param_4" identifier = identifier) ;) (while_statement "while ((cVar1 != '.' && (cVar1 != '\0'))) {\n    pcVar6 = pcVar6 + 1;\n    cVar1 = *pcVar6;\n  }" while (parenthesized_expression "((cVar1 != '.' && (cVar1 != '\0')))" ( (parenthesized_expression "(cVar1 != '.' && (cVar1 != '\0'))" ( (binary_expression "cVar1 != '.' && (cVar1 != '\0')" (binary_expression "cVar1 != '.'" identifier != (char_literal "'.'" ' character ')) && (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) ))) )) )) (compound_statement "{\n    pcVar6 = pcVar6 + 1;\n    cVar1 = *pcVar6;\n  }" { (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = *pcVar6;" (assignment_expression "cVar1 = *pcVar6" identifier = (pointer_expression "*pcVar6" * identifier)) ;) })) (if_statement "if ((cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)) {\n    local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) {\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    local_1054 = (double)(ulonglong)param_3;\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = 0;\n  }" if (parenthesized_expression "((cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3))" ( (binary_expression "(cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)" (parenthesized_expression "(cVar1 == '.')" ( (binary_expression "cVar1 == '.'" identifier == (char_literal "'.'" ' character ')) )) && (parenthesized_expression "(iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)" ( (comma_expression "iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3" (assignment_expression "iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1)" identifier = (call_expression "ParseCommandOption(0x37,1,pcVar6 + 1)" identifier (argument_list "(0x37,1,pcVar6 + 1)" ( number_literal , number_literal , (binary_expression "pcVar6 + 1" identifier + number_literal) )))) , (binary_expression "-1 < iVar3" number_literal < identifier)) ))) )) (compound_statement "{\n    local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) {\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }\n  }" { (expression_statement "local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));" (assignment_expression "local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f))" identifier = (call_expression "SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f))" identifier (argument_list "(param_2,1 << ((byte)iVar3 & 0x1f))" ( identifier , (binary_expression "1 << ((byte)iVar3 & 0x1f)" number_literal << (parenthesized_expression "((byte)iVar3 & 0x1f)" ( (binary_expression "(byte)iVar3 & 0x1f" (cast_expression "(byte)iVar3" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) )))) ;) (expression_statement "FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);" (call_expression "FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4)" identifier (argument_list "(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4)" ( identifier , number_literal , (string_literal ""%p.%.20g.%s"" " string_content ") , identifier , (cast_expression "(double)iVar3" ( (type_descriptor "double" primitive_type) ) identifier) , identifier ))) ;) (expression_statement "pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);" (assignment_expression "pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020)" identifier = (cast_expression "(double *)GetValueFromSplayTree(param_1[4],local_1020)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetValueFromSplayTree(param_1[4],local_1020)" identifier (argument_list "(param_1[4],local_1020)" ( (subscript_expression "param_1[4]" identifier [ number_literal ]) , identifier ))))) ;) (if_statement "if (pdVar2 != (double *)0x0) {\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }" if (parenthesized_expression "(pdVar2 != (double *)0x0)" ( (binary_expression "pdVar2 != (double *)0x0" identifier != (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }" { (if_statement "if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }" if (parenthesized_expression "(local_1048 != 0)" ( (binary_expression "local_1048 != 0" identifier != number_literal) )) (compound_statement "{\n        SetPixelChannelMask(param_2,local_1048);\n      }" { (expression_statement "SetPixelChannelMask(param_2,local_1048);" (call_expression "SetPixelChannelMask(param_2,local_1048)" identifier (argument_list "(param_2,local_1048)" ( identifier , identifier ))) ;) })) (labeled_statement "LAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;" statement_identifier : (expression_statement "lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;" (assignment_expression "lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2" identifier = (binary_expression "(longdouble)_DAT_0029f148 * (longdouble)*pdVar2" (binary_expression "(longdouble)_DAT_0029f148 * (longdouble)" (cast_expression "(longdouble)_DAT_0029f148" ( (type_descriptor "longdouble" type_identifier) ) identifier) * (parenthesized_expression "(longdouble)" ( identifier ))) * identifier)) ;)) (goto_statement "goto LAB_000c9af7;" goto statement_identifier ;) })) }) (else_clause "else {\n    local_1054 = (double)(ulonglong)param_3;\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = 0;\n  }" else (compound_statement "{\n    local_1054 = (double)(ulonglong)param_3;\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = 0;\n  }" { (expression_statement "local_1054 = (double)(ulonglong)param_3;" (assignment_expression "local_1054 = (double)(ulonglong)param_3" identifier = (cast_expression "(double)(ulonglong)param_3" ( (type_descriptor "double" primitive_type) ) (cast_expression "(ulonglong)param_3" ( (type_descriptor "ulonglong" type_identifier) ) identifier))) ;) (expression_statement "FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;" (call_expression "FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)" identifier (argument_list "(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)" ( identifier , number_literal , (string_literal ""%p.%.20g.%s"" " string_content ") , identifier , (cast_expression "(double)(longlong)local_1054" ( (type_descriptor "double" primitive_type) ) (cast_expression "(longlong)local_1054" ( (type_descriptor "longlong" type_identifier) ) identifier)) , identifier ))) ;) (expression_statement "pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);" (assignment_expression "pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020)" identifier = (cast_expression "(double *)GetValueFromSplayTree(param_1[4],local_1020)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetValueFromSplayTree(param_1[4],local_1020)" identifier (argument_list "(param_1[4],local_1020)" ( (subscript_expression "param_1[4]" identifier [ number_literal ]) , identifier ))))) ;) (if_statement "if (pdVar2 != (double *)0x0) goto LAB_000c9aef;" if (parenthesized_expression "(pdVar2 != (double *)0x0)" ( (binary_expression "pdVar2 != (double *)0x0" identifier != (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000c9aef;" goto statement_identifier ;)) (expression_statement "local_1048 = 0;" (assignment_expression "local_1048 = 0" identifier = number_literal) ;) }))) (expression_statement "iVar3 = LocaleNCompare(param_4,"depth",5);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"depth",5)" identifier = (call_expression "LocaleNCompare(param_4,"depth",5)" identifier (argument_list "(param_4,"depth",5)" ( identifier , (string_literal ""depth"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    uVar4 = GetImageDepth(param_2,param_5);\n    local_1054 = (double)(ulonglong)uVar4;\n    local_1054 = (double)(longlong)local_1054;\n  }\n  else {\n    local_1054 = 0.0;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar4 = GetImageDepth(param_2,param_5);\n    local_1054 = (double)(ulonglong)uVar4;\n    local_1054 = (double)(longlong)local_1054;\n  }" { (expression_statement "uVar4 = GetImageDepth(param_2,param_5);" (assignment_expression "uVar4 = GetImageDepth(param_2,param_5)" identifier = (call_expression "GetImageDepth(param_2,param_5)" identifier (argument_list "(param_2,param_5)" ( identifier , identifier )))) ;) (expression_statement "local_1054 = (double)(ulonglong)uVar4;" (assignment_expression "local_1054 = (double)(ulonglong)uVar4" identifier = (cast_expression "(double)(ulonglong)uVar4" ( (type_descriptor "double" primitive_type) ) (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier))) ;) (expression_statement "local_1054 = (double)(longlong)local_1054;" (assignment_expression "local_1054 = (double)(longlong)local_1054" identifier = (cast_expression "(double)(longlong)local_1054" ( (type_descriptor "double" primitive_type) ) (cast_expression "(longlong)local_1054" ( (type_descriptor "longlong" type_identifier) ) identifier))) ;) }) (else_clause "else {\n    local_1054 = 0.0;\n  }" else (compound_statement "{\n    local_1054 = 0.0;\n  }" { (expression_statement "local_1054 = 0.0;" (assignment_expression "local_1054 = 0.0" identifier = number_literal) ;) }))) (expression_statement "iVar3 = LocaleNCompare(param_4,"kurtosis",8);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"kurtosis",8)" identifier = (call_expression "LocaleNCompare(param_4,"kurtosis",8)" identifier (argument_list "(param_4,"kurtosis",8)" ( identifier , (string_literal ""kurtosis"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }" { (expression_statement "GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);" (call_expression "GetImageKurtosis(param_2,&local_1034,&local_102c,param_5)" identifier (argument_list "(param_2,&local_1034,&local_102c,param_5)" ( identifier , (pointer_expression "&local_1034" & identifier) , (pointer_expression "&local_102c" & identifier) , identifier ))) ;) (expression_statement "local_1054 = local_1034;" (assignment_expression "local_1054 = local_1034" identifier = identifier) ;) })) (expression_statement "iVar3 = LocaleNCompare(param_4,"maxima",6);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"maxima",6)" identifier = (call_expression "LocaleNCompare(param_4,"maxima",6)" identifier (argument_list "(param_4,"maxima",6)" ( identifier , (string_literal ""maxima"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_1034;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_1034;\n  }" { (expression_statement "GetImageRange(param_2,&local_102c,&local_1034,param_5);" (call_expression "GetImageRange(param_2,&local_102c,&local_1034,param_5)" identifier (argument_list "(param_2,&local_102c,&local_1034,param_5)" ( identifier , (pointer_expression "&local_102c" & identifier) , (pointer_expression "&local_1034" & identifier) , identifier ))) ;) (expression_statement "local_1054 = local_1034;" (assignment_expression "local_1054 = local_1034" identifier = identifier) ;) })) (expression_statement "iVar3 = LocaleNCompare(param_4,"mean",4);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"mean",4)" identifier = (call_expression "LocaleNCompare(param_4,"mean",4)" identifier (argument_list "(param_4,"mean",4)" ( identifier , (string_literal ""mean"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }" { (expression_statement "GetImageMean(param_2,&local_1034,&local_102c,param_5);" (call_expression "GetImageMean(param_2,&local_1034,&local_102c,param_5)" identifier (argument_list "(param_2,&local_1034,&local_102c,param_5)" ( identifier , (pointer_expression "&local_1034" & identifier) , (pointer_expression "&local_102c" & identifier) , identifier ))) ;) (expression_statement "local_1054 = local_1034;" (assignment_expression "local_1054 = local_1034" identifier = identifier) ;) })) (expression_statement "iVar3 = LocaleNCompare(param_4,"median",6);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"median",6)" identifier = (call_expression "LocaleNCompare(param_4,"median",6)" identifier (argument_list "(param_4,"median",6)" ( identifier , (string_literal ""median"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    GetImageMedian(param_2,&local_102c,param_5);\n    local_1054 = local_102c;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageMedian(param_2,&local_102c,param_5);\n    local_1054 = local_102c;\n  }" { (expression_statement "GetImageMedian(param_2,&local_102c,param_5);" (call_expression "GetImageMedian(param_2,&local_102c,param_5)" identifier (argument_list "(param_2,&local_102c,param_5)" ( identifier , (pointer_expression "&local_102c" & identifier) , identifier ))) ;) (expression_statement "local_1054 = local_102c;" (assignment_expression "local_1054 = local_102c" identifier = identifier) ;) })) (expression_statement "iVar3 = LocaleNCompare(param_4,"minima",6);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"minima",6)" identifier = (call_expression "LocaleNCompare(param_4,"minima",6)" identifier (argument_list "(param_4,"minima",6)" ( identifier , (string_literal ""minima"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_102c;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_102c;\n  }" { (expression_statement "GetImageRange(param_2,&local_102c,&local_1034,param_5);" (call_expression "GetImageRange(param_2,&local_102c,&local_1034,param_5)" identifier (argument_list "(param_2,&local_102c,&local_1034,param_5)" ( identifier , (pointer_expression "&local_102c" & identifier) , (pointer_expression "&local_1034" & identifier) , identifier ))) ;) (expression_statement "local_1054 = local_102c;" (assignment_expression "local_1054 = local_102c" identifier = identifier) ;) })) (expression_statement "iVar3 = LocaleNCompare(param_4,"skewness",8);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"skewness",8)" identifier = (call_expression "LocaleNCompare(param_4,"skewness",8)" identifier (argument_list "(param_4,"skewness",8)" ( identifier , (string_literal ""skewness"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }" { (expression_statement "GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);" (call_expression "GetImageKurtosis(param_2,&local_1034,&local_102c,param_5)" identifier (argument_list "(param_2,&local_1034,&local_102c,param_5)" ( identifier , (pointer_expression "&local_1034" & identifier) , (pointer_expression "&local_102c" & identifier) , identifier ))) ;) (expression_statement "local_1054 = local_102c;" (assignment_expression "local_1054 = local_102c" identifier = identifier) ;) })) (expression_statement "iVar3 = LocaleNCompare(param_4,"standard_deviation",0x12);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"standard_deviation",0x12)" identifier = (call_expression "LocaleNCompare(param_4,"standard_deviation",0x12)" identifier (argument_list "(param_4,"standard_deviation",0x12)" ( identifier , (string_literal ""standard_deviation"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }" { (expression_statement "GetImageMean(param_2,&local_1034,&local_102c,param_5);" (call_expression "GetImageMean(param_2,&local_1034,&local_102c,param_5)" identifier (argument_list "(param_2,&local_1034,&local_102c,param_5)" ( identifier , (pointer_expression "&local_1034" & identifier) , (pointer_expression "&local_102c" & identifier) , identifier ))) ;) (expression_statement "local_1054 = local_102c;" (assignment_expression "local_1054 = local_102c" identifier = identifier) ;) })) (if_statement "if (local_1048 != 0) {\n    SetPixelChannelMask(param_2,local_1048);\n  }" if (parenthesized_expression "(local_1048 != 0)" ( (binary_expression "local_1048 != 0" identifier != number_literal) )) (compound_statement "{\n    SetPixelChannelMask(param_2,local_1048);\n  }" { (expression_statement "SetPixelChannelMask(param_2,local_1048);" (call_expression "SetPixelChannelMask(param_2,local_1048)" identifier (argument_list "(param_2,local_1048)" ( identifier , identifier ))) ;) })) (expression_statement "pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);" (assignment_expression "pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020)" identifier = (cast_expression "(double *)GetValueFromSplayTree(param_1[4],local_1020)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetValueFromSplayTree(param_1[4],local_1020)" identifier (argument_list "(param_1[4],local_1020)" ( (subscript_expression "param_1[4]" identifier [ number_literal ]) , identifier ))))) ;) (if_statement "if (pdVar2 == (double *)0x0) {\n    pdVar2 = (double *)AcquireMagickMemory(8);\n    if (pdVar2 == (double *)0x0) {\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n    *pdVar2 = local_1054;\n    uVar5 = ConstantString(local_1020);\n    iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);\n    if (iVar3 == 0) {\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    *pdVar2 = local_1054;\n  }" if (parenthesized_expression "(pdVar2 == (double *)0x0)" ( (binary_expression "pdVar2 == (double *)0x0" identifier == (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pdVar2 = (double *)AcquireMagickMemory(8);\n    if (pdVar2 == (double *)0x0) {\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n    *pdVar2 = local_1054;\n    uVar5 = ConstantString(local_1020);\n    iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);\n    if (iVar3 == 0) {\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n  }" { (expression_statement "pdVar2 = (double *)AcquireMagickMemory(8);" (assignment_expression "pdVar2 = (double *)AcquireMagickMemory(8)" identifier = (cast_expression "(double *)AcquireMagickMemory(8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireMagickMemory(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (if_statement "if (pdVar2 == (double *)0x0) {\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }" if (parenthesized_expression "(pdVar2 == (double *)0x0)" ( (binary_expression "pdVar2 == (double *)0x0" identifier == (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }" { (expression_statement "ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);" (call_expression "ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318)" identifier (argument_list "(param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318)" ( (subscript_expression "param_1[7]" identifier [ number_literal ]) , (string_literal ""MagickCore/fx.c"" " string_content ") , (string_literal ""SetFxSymbolValue"" " string_content ") , number_literal , number_literal , (string_literal ""MemoryAllocationFailed"" " string_content ") , (string_literal ""`%s\'"" " string_content escape_sequence ") , (binary_expression "*param_1 + 0x318" (pointer_expression "*param_1" * identifier) + number_literal) ))) ;) (expression_statement "lVar7 = (longdouble)0;" (assignment_expression "lVar7 = (longdouble)0" identifier = (cast_expression "(longdouble)0" ( (type_descriptor "longdouble" type_identifier) ) number_literal)) ;) (goto_statement "goto LAB_000c9af7;" goto statement_identifier ;) })) (expression_statement "*pdVar2 = local_1054;" (assignment_expression "*pdVar2 = local_1054" (pointer_expression "*pdVar2" * identifier) = identifier) ;) (expression_statement "uVar5 = ConstantString(local_1020);" (assignment_expression "uVar5 = ConstantString(local_1020)" identifier = (call_expression "ConstantString(local_1020)" identifier (argument_list "(local_1020)" ( identifier )))) ;) (expression_statement "iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);" (assignment_expression "iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2)" identifier = (call_expression "AddValueToSplayTree(param_1[4],uVar5,pdVar2)" identifier (argument_list "(param_1[4],uVar5,pdVar2)" ( (subscript_expression "param_1[4]" identifier [ number_literal ]) , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }" { (expression_statement "lVar7 = (longdouble)0;" (assignment_expression "lVar7 = (longdouble)0" identifier = (cast_expression "(longdouble)0" ( (type_descriptor "longdouble" type_identifier) ) number_literal)) ;) (goto_statement "goto LAB_000c9af7;" goto statement_identifier ;) })) }) (else_clause "else {\n    *pdVar2 = local_1054;\n  }" else (compound_statement "{\n    *pdVar2 = local_1054;\n  }" { (expression_statement "*pdVar2 = local_1054;" (assignment_expression "*pdVar2 = local_1054" (pointer_expression "*pdVar2" * identifier) = identifier) ;) }))) (expression_statement "lVar7 = (longdouble)local_1054 * (longdouble)_DAT_0029f148;" (assignment_expression "lVar7 = (longdouble)local_1054 * (longdouble)_DAT_0029f148" identifier = (binary_expression "(longdouble)local_1054 * (longdouble)_DAT_0029f148" (cast_expression "(longdouble)local_1054" ( (type_descriptor "longdouble" type_identifier) ) identifier) * (cast_expression "(longdouble)_DAT_0029f148" ( (type_descriptor "longdouble" type_identifier) ) identifier))) ;) (labeled_statement "LAB_000c9af7:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar7;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar7;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return lVar7;\n  }" { (return_statement "return lVar7;" return identifier ;) }))) (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (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) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != (char_literal ' character ')) && (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) ))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , (binary_expression IDENT + LIT) )))) , (binary_expression LIT < IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) ))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (string_literal " string_content ") , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (parenthesized_expression ( IDENT ))) * IDENT)) ;)) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (string_literal " string_content ") , IDENT , (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (string_literal " string_content ") , (string_literal " string_content ") , LIT , LIT , (string_literal " string_content ") , (string_literal " string_content escape_sequence ") , (binary_expression (pointer_expression * IDENT) + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (cast_expression ( (type_descriptor TYPE) ) 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 { (return_statement return IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "longdouble __regparm3\nFUN_000c9860(int *param_1,undefined4 param_2,uint param_3,char *param_4,undefined4 param_5)\n\n{\n  char cVar1;\n  double *pdVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  int in_GS_OFFSET;\n  longdouble lVar7;\n  double local_1054;\n  int local_1048;\n  double local_1034;\n  double local_102c;\n  undefined1 local_1020 [4096];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc986b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  cVar1 = *param_4;\n  pcVar6 = param_4;\n  while ((cVar1 != '.' && (cVar1 != '\0'))) {\n    pcVar6 = pcVar6 + 1;\n    cVar1 = *pcVar6;\n  }\n  if ((cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)) {\n    local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) {\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    local_1054 = (double)(ulonglong)param_3;\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = 0;\n  }\n  iVar3 = LocaleNCompare(param_4,"depth",5);\n  if (iVar3 == 0) {\n    uVar4 = GetImageDepth(param_2,param_5);\n    local_1054 = (double)(ulonglong)uVar4;\n    local_1054 = (double)(longlong)local_1054;\n  }\n  else {\n    local_1054 = 0.0;\n  }\n  iVar3 = LocaleNCompare(param_4,"kurtosis",8);\n  if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"maxima",6);\n  if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"mean",4);\n  if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"median",6);\n  if (iVar3 == 0) {\n    GetImageMedian(param_2,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"minima",6);\n  if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"skewness",8);\n  if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"standard_deviation",0x12);\n  if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  if (local_1048 != 0) {\n    SetPixelChannelMask(param_2,local_1048);\n  }\n  pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n  if (pdVar2 == (double *)0x0) {\n    pdVar2 = (double *)AcquireMagickMemory(8);\n    if (pdVar2 == (double *)0x0) {\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n    *pdVar2 = local_1054;\n    uVar5 = ConstantString(local_1020);\n    iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);\n    if (iVar3 == 0) {\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    *pdVar2 = local_1054;\n  }\n  lVar7 = (longdouble)local_1054 * (longdouble)_DAT_0029f148;\nLAB_000c9af7:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar7;\n  }\n                    \n  FUN_0029eab0();\n}" (type_identifier "longdouble") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000c9860(int *param_1,undefined4 param_2,uint param_3,char *param_4,undefined4 param_5)" (identifier "FUN_000c9860") (parameter_list "(int *param_1,undefined4 param_2,uint param_3,char *param_4,undefined4 param_5)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "char *param_4" (primitive_type "char") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  char cVar1;\n  double *pdVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  int in_GS_OFFSET;\n  longdouble lVar7;\n  double local_1054;\n  int local_1048;\n  double local_1034;\n  double local_102c;\n  undefined1 local_1020 [4096];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc986b;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  cVar1 = *param_4;\n  pcVar6 = param_4;\n  while ((cVar1 != '.' && (cVar1 != '\0'))) {\n    pcVar6 = pcVar6 + 1;\n    cVar1 = *pcVar6;\n  }\n  if ((cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)) {\n    local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) {\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    local_1054 = (double)(ulonglong)param_3;\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = 0;\n  }\n  iVar3 = LocaleNCompare(param_4,"depth",5);\n  if (iVar3 == 0) {\n    uVar4 = GetImageDepth(param_2,param_5);\n    local_1054 = (double)(ulonglong)uVar4;\n    local_1054 = (double)(longlong)local_1054;\n  }\n  else {\n    local_1054 = 0.0;\n  }\n  iVar3 = LocaleNCompare(param_4,"kurtosis",8);\n  if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"maxima",6);\n  if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"mean",4);\n  if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }\n  iVar3 = LocaleNCompare(param_4,"median",6);\n  if (iVar3 == 0) {\n    GetImageMedian(param_2,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"minima",6);\n  if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"skewness",8);\n  if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  iVar3 = LocaleNCompare(param_4,"standard_deviation",0x12);\n  if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }\n  if (local_1048 != 0) {\n    SetPixelChannelMask(param_2,local_1048);\n  }\n  pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n  if (pdVar2 == (double *)0x0) {\n    pdVar2 = (double *)AcquireMagickMemory(8);\n    if (pdVar2 == (double *)0x0) {\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n    *pdVar2 = local_1054;\n    uVar5 = ConstantString(local_1020);\n    iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);\n    if (iVar3 == 0) {\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    *pdVar2 = local_1054;\n  }\n  lVar7 = (longdouble)local_1054 * (longdouble)_DAT_0029f148;\nLAB_000c9af7:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar7;\n  }\n                    \n  FUN_0029eab0();\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "double *pdVar2;" (primitive_type "double") (pointer_declarator "*pdVar2" (* "*") (identifier "pdVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "longdouble lVar7;" (type_identifier "longdouble") (identifier "lVar7") (; ";")) (declaration "double local_1054;" (primitive_type "double") (identifier "local_1054") (; ";")) (declaration "int local_1048;" (primitive_type "int") (identifier "local_1048") (; ";")) (declaration "double local_1034;" (primitive_type "double") (identifier "local_1034") (; ";")) (declaration "double local_102c;" (primitive_type "double") (identifier "local_102c") (; ";")) (declaration "undefined1 local_1020 [4096];" (type_identifier "undefined1") (array_declarator "local_1020 [4096]" (identifier "local_1020") ([ "[") (number_literal "4096") (] "]")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0xc986b;" (assignment_expression "uStack_14 = 0xc986b" (identifier "uStack_14") (= "=") (number_literal "0xc986b")) (; ";")) (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")) () ")"))))) (; ";")) (expression_statement "cVar1 = *param_4;" (assignment_expression "cVar1 = *param_4" (identifier "cVar1") (= "=") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (; ";")) (expression_statement "pcVar6 = param_4;" (assignment_expression "pcVar6 = param_4" (identifier "pcVar6") (= "=") (identifier "param_4")) (; ";")) (while_statement "while ((cVar1 != '.' && (cVar1 != '\0'))) {\n    pcVar6 = pcVar6 + 1;\n    cVar1 = *pcVar6;\n  }" (while "while") (parenthesized_expression "((cVar1 != '.' && (cVar1 != '\0')))" (( "(") (parenthesized_expression "(cVar1 != '.' && (cVar1 != '\0'))" (( "(") (binary_expression "cVar1 != '.' && (cVar1 != '\0')" (binary_expression "cVar1 != '.'" (identifier "cVar1") (!= "!=") (char_literal "'.'" (' "'") (character ".") (' "'"))) (&& "&&") (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) () ")")) (compound_statement "{\n    pcVar6 = pcVar6 + 1;\n    cVar1 = *pcVar6;\n  }" ({ "{") (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" (identifier "pcVar6") (= "=") (binary_expression "pcVar6 + 1" (identifier "pcVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar1 = *pcVar6;" (assignment_expression "cVar1 = *pcVar6" (identifier "cVar1") (= "=") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6"))) (; ";")) (} "}"))) (if_statement "if ((cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)) {\n    local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) {\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    local_1054 = (double)(ulonglong)param_3;\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = 0;\n  }" (if "if") (parenthesized_expression "((cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3))" (( "(") (binary_expression "(cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)" (parenthesized_expression "(cVar1 == '.')" (( "(") (binary_expression "cVar1 == '.'" (identifier "cVar1") (== "==") (char_literal "'.'" (' "'") (character ".") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)" (( "(") (comma_expression "iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3" (assignment_expression "iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1)" (identifier "iVar3") (= "=") (call_expression "ParseCommandOption(0x37,1,pcVar6 + 1)" (identifier "ParseCommandOption") (argument_list "(0x37,1,pcVar6 + 1)" (( "(") (number_literal "0x37") (, ",") (number_literal "1") (, ",") (binary_expression "pcVar6 + 1" (identifier "pcVar6") (+ "+") (number_literal "1")) () ")")))) (, ",") (binary_expression "-1 < iVar3" (number_literal "-1") (< "<") (identifier "iVar3"))) () ")"))) () ")")) (compound_statement "{\n    local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) {\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }\n  }" ({ "{") (expression_statement "local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));" (assignment_expression "local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f))" (identifier "local_1048") (= "=") (call_expression "SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f))" (identifier "SetPixelChannelMask") (argument_list "(param_2,1 << ((byte)iVar3 & 0x1f))" (( "(") (identifier "param_2") (, ",") (binary_expression "1 << ((byte)iVar3 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)iVar3 & 0x1f)" (( "(") (binary_expression "(byte)iVar3 & 0x1f" (cast_expression "(byte)iVar3" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "iVar3")) (& "&") (number_literal "0x1f")) () ")"))) () ")")))) (; ";")) (expression_statement "FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);" (call_expression "FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4)" (identifier "FormatLocaleString") (argument_list "(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4)" (( "(") (identifier "local_1020") (, ",") (number_literal "0x1000") (, ",") (string_literal ""%p.%.20g.%s"" (" """) (string_content "%p.%.20g.%s") (" """)) (, ",") (identifier "param_2") (, ",") (cast_expression "(double)iVar3" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "iVar3")) (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);" (assignment_expression "pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020)" (identifier "pdVar2") (= "=") (cast_expression "(double *)GetValueFromSplayTree(param_1[4],local_1020)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "GetValueFromSplayTree(param_1[4],local_1020)" (identifier "GetValueFromSplayTree") (argument_list "(param_1[4],local_1020)" (( "(") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (, ",") (identifier "local_1020") () ")"))))) (; ";")) (if_statement "if (pdVar2 != (double *)0x0) {\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }" (if "if") (parenthesized_expression "(pdVar2 != (double *)0x0)" (( "(") (binary_expression "pdVar2 != (double *)0x0" (identifier "pdVar2") (!= "!=") (cast_expression "(double *)0x0" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }\nLAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;\n      goto LAB_000c9af7;\n    }" ({ "{") (if_statement "if (local_1048 != 0) {\n        SetPixelChannelMask(param_2,local_1048);\n      }" (if "if") (parenthesized_expression "(local_1048 != 0)" (( "(") (binary_expression "local_1048 != 0" (identifier "local_1048") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        SetPixelChannelMask(param_2,local_1048);\n      }" ({ "{") (expression_statement "SetPixelChannelMask(param_2,local_1048);" (call_expression "SetPixelChannelMask(param_2,local_1048)" (identifier "SetPixelChannelMask") (argument_list "(param_2,local_1048)" (( "(") (identifier "param_2") (, ",") (identifier "local_1048") () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_000c9aef:\n      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;" (statement_identifier "LAB_000c9aef") (: ":") (expression_statement "lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;" (assignment_expression "lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2" (identifier "lVar7") (= "=") (binary_expression "(longdouble)_DAT_0029f148 * (longdouble)*pdVar2" (binary_expression "(longdouble)_DAT_0029f148 * (longdouble)" (cast_expression "(longdouble)_DAT_0029f148" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "_DAT_0029f148")) (* "*") (parenthesized_expression "(longdouble)" (( "(") (identifier "longdouble") () ")"))) (* "*") (identifier "pdVar2"))) (; ";"))) (goto_statement "goto LAB_000c9af7;" (goto "goto") (statement_identifier "LAB_000c9af7") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    local_1054 = (double)(ulonglong)param_3;\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = 0;\n  }" (else "else") (compound_statement "{\n    local_1054 = (double)(ulonglong)param_3;\n    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;\n    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);\n    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;\n    local_1048 = 0;\n  }" ({ "{") (expression_statement "local_1054 = (double)(ulonglong)param_3;" (assignment_expression "local_1054 = (double)(ulonglong)param_3" (identifier "local_1054") (= "=") (cast_expression "(double)(ulonglong)param_3" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (cast_expression "(ulonglong)param_3" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "param_3")))) (; ";")) (expression_statement "FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)\n    ;" (call_expression "FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)" (identifier "FormatLocaleString") (argument_list "(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)" (( "(") (identifier "local_1020") (, ",") (number_literal "0x1000") (, ",") (string_literal ""%p.%.20g.%s"" (" """) (string_content "%p.%.20g.%s") (" """)) (, ",") (identifier "param_2") (, ",") (cast_expression "(double)(longlong)local_1054" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (cast_expression "(longlong)local_1054" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (identifier "local_1054"))) (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);" (assignment_expression "pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020)" (identifier "pdVar2") (= "=") (cast_expression "(double *)GetValueFromSplayTree(param_1[4],local_1020)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "GetValueFromSplayTree(param_1[4],local_1020)" (identifier "GetValueFromSplayTree") (argument_list "(param_1[4],local_1020)" (( "(") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (, ",") (identifier "local_1020") () ")"))))) (; ";")) (if_statement "if (pdVar2 != (double *)0x0) goto LAB_000c9aef;" (if "if") (parenthesized_expression "(pdVar2 != (double *)0x0)" (( "(") (binary_expression "pdVar2 != (double *)0x0" (identifier "pdVar2") (!= "!=") (cast_expression "(double *)0x0" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_000c9aef;" (goto "goto") (statement_identifier "LAB_000c9aef") (; ";"))) (expression_statement "local_1048 = 0;" (assignment_expression "local_1048 = 0" (identifier "local_1048") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "iVar3 = LocaleNCompare(param_4,"depth",5);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"depth",5)" (identifier "iVar3") (= "=") (call_expression "LocaleNCompare(param_4,"depth",5)" (identifier "LocaleNCompare") (argument_list "(param_4,"depth",5)" (( "(") (identifier "param_4") (, ",") (string_literal ""depth"" (" """) (string_content "depth") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    uVar4 = GetImageDepth(param_2,param_5);\n    local_1054 = (double)(ulonglong)uVar4;\n    local_1054 = (double)(longlong)local_1054;\n  }\n  else {\n    local_1054 = 0.0;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar4 = GetImageDepth(param_2,param_5);\n    local_1054 = (double)(ulonglong)uVar4;\n    local_1054 = (double)(longlong)local_1054;\n  }" ({ "{") (expression_statement "uVar4 = GetImageDepth(param_2,param_5);" (assignment_expression "uVar4 = GetImageDepth(param_2,param_5)" (identifier "uVar4") (= "=") (call_expression "GetImageDepth(param_2,param_5)" (identifier "GetImageDepth") (argument_list "(param_2,param_5)" (( "(") (identifier "param_2") (, ",") (identifier "param_5") () ")")))) (; ";")) (expression_statement "local_1054 = (double)(ulonglong)uVar4;" (assignment_expression "local_1054 = (double)(ulonglong)uVar4" (identifier "local_1054") (= "=") (cast_expression "(double)(ulonglong)uVar4" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (cast_expression "(ulonglong)uVar4" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar4")))) (; ";")) (expression_statement "local_1054 = (double)(longlong)local_1054;" (assignment_expression "local_1054 = (double)(longlong)local_1054" (identifier "local_1054") (= "=") (cast_expression "(double)(longlong)local_1054" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (cast_expression "(longlong)local_1054" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (identifier "local_1054")))) (; ";")) (} "}")) (else_clause "else {\n    local_1054 = 0.0;\n  }" (else "else") (compound_statement "{\n    local_1054 = 0.0;\n  }" ({ "{") (expression_statement "local_1054 = 0.0;" (assignment_expression "local_1054 = 0.0" (identifier "local_1054") (= "=") (number_literal "0.0")) (; ";")) (} "}")))) (expression_statement "iVar3 = LocaleNCompare(param_4,"kurtosis",8);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"kurtosis",8)" (identifier "iVar3") (= "=") (call_expression "LocaleNCompare(param_4,"kurtosis",8)" (identifier "LocaleNCompare") (argument_list "(param_4,"kurtosis",8)" (( "(") (identifier "param_4") (, ",") (string_literal ""kurtosis"" (" """) (string_content "kurtosis") (" """)) (, ",") (number_literal "8") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }" ({ "{") (expression_statement "GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);" (call_expression "GetImageKurtosis(param_2,&local_1034,&local_102c,param_5)" (identifier "GetImageKurtosis") (argument_list "(param_2,&local_1034,&local_102c,param_5)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&local_1034" (& "&") (identifier "local_1034")) (, ",") (pointer_expression "&local_102c" (& "&") (identifier "local_102c")) (, ",") (identifier "param_5") () ")"))) (; ";")) (expression_statement "local_1054 = local_1034;" (assignment_expression "local_1054 = local_1034" (identifier "local_1054") (= "=") (identifier "local_1034")) (; ";")) (} "}"))) (expression_statement "iVar3 = LocaleNCompare(param_4,"maxima",6);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"maxima",6)" (identifier "iVar3") (= "=") (call_expression "LocaleNCompare(param_4,"maxima",6)" (identifier "LocaleNCompare") (argument_list "(param_4,"maxima",6)" (( "(") (identifier "param_4") (, ",") (string_literal ""maxima"" (" """) (string_content "maxima") (" """)) (, ",") (number_literal "6") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_1034;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_1034;\n  }" ({ "{") (expression_statement "GetImageRange(param_2,&local_102c,&local_1034,param_5);" (call_expression "GetImageRange(param_2,&local_102c,&local_1034,param_5)" (identifier "GetImageRange") (argument_list "(param_2,&local_102c,&local_1034,param_5)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&local_102c" (& "&") (identifier "local_102c")) (, ",") (pointer_expression "&local_1034" (& "&") (identifier "local_1034")) (, ",") (identifier "param_5") () ")"))) (; ";")) (expression_statement "local_1054 = local_1034;" (assignment_expression "local_1054 = local_1034" (identifier "local_1054") (= "=") (identifier "local_1034")) (; ";")) (} "}"))) (expression_statement "iVar3 = LocaleNCompare(param_4,"mean",4);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"mean",4)" (identifier "iVar3") (= "=") (call_expression "LocaleNCompare(param_4,"mean",4)" (identifier "LocaleNCompare") (argument_list "(param_4,"mean",4)" (( "(") (identifier "param_4") (, ",") (string_literal ""mean"" (" """) (string_content "mean") (" """)) (, ",") (number_literal "4") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_1034;\n  }" ({ "{") (expression_statement "GetImageMean(param_2,&local_1034,&local_102c,param_5);" (call_expression "GetImageMean(param_2,&local_1034,&local_102c,param_5)" (identifier "GetImageMean") (argument_list "(param_2,&local_1034,&local_102c,param_5)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&local_1034" (& "&") (identifier "local_1034")) (, ",") (pointer_expression "&local_102c" (& "&") (identifier "local_102c")) (, ",") (identifier "param_5") () ")"))) (; ";")) (expression_statement "local_1054 = local_1034;" (assignment_expression "local_1054 = local_1034" (identifier "local_1054") (= "=") (identifier "local_1034")) (; ";")) (} "}"))) (expression_statement "iVar3 = LocaleNCompare(param_4,"median",6);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"median",6)" (identifier "iVar3") (= "=") (call_expression "LocaleNCompare(param_4,"median",6)" (identifier "LocaleNCompare") (argument_list "(param_4,"median",6)" (( "(") (identifier "param_4") (, ",") (string_literal ""median"" (" """) (string_content "median") (" """)) (, ",") (number_literal "6") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    GetImageMedian(param_2,&local_102c,param_5);\n    local_1054 = local_102c;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    GetImageMedian(param_2,&local_102c,param_5);\n    local_1054 = local_102c;\n  }" ({ "{") (expression_statement "GetImageMedian(param_2,&local_102c,param_5);" (call_expression "GetImageMedian(param_2,&local_102c,param_5)" (identifier "GetImageMedian") (argument_list "(param_2,&local_102c,param_5)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&local_102c" (& "&") (identifier "local_102c")) (, ",") (identifier "param_5") () ")"))) (; ";")) (expression_statement "local_1054 = local_102c;" (assignment_expression "local_1054 = local_102c" (identifier "local_1054") (= "=") (identifier "local_102c")) (; ";")) (} "}"))) (expression_statement "iVar3 = LocaleNCompare(param_4,"minima",6);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"minima",6)" (identifier "iVar3") (= "=") (call_expression "LocaleNCompare(param_4,"minima",6)" (identifier "LocaleNCompare") (argument_list "(param_4,"minima",6)" (( "(") (identifier "param_4") (, ",") (string_literal ""minima"" (" """) (string_content "minima") (" """)) (, ",") (number_literal "6") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_102c;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    GetImageRange(param_2,&local_102c,&local_1034,param_5);\n    local_1054 = local_102c;\n  }" ({ "{") (expression_statement "GetImageRange(param_2,&local_102c,&local_1034,param_5);" (call_expression "GetImageRange(param_2,&local_102c,&local_1034,param_5)" (identifier "GetImageRange") (argument_list "(param_2,&local_102c,&local_1034,param_5)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&local_102c" (& "&") (identifier "local_102c")) (, ",") (pointer_expression "&local_1034" (& "&") (identifier "local_1034")) (, ",") (identifier "param_5") () ")"))) (; ";")) (expression_statement "local_1054 = local_102c;" (assignment_expression "local_1054 = local_102c" (identifier "local_1054") (= "=") (identifier "local_102c")) (; ";")) (} "}"))) (expression_statement "iVar3 = LocaleNCompare(param_4,"skewness",8);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"skewness",8)" (identifier "iVar3") (= "=") (call_expression "LocaleNCompare(param_4,"skewness",8)" (identifier "LocaleNCompare") (argument_list "(param_4,"skewness",8)" (( "(") (identifier "param_4") (, ",") (string_literal ""skewness"" (" """) (string_content "skewness") (" """)) (, ",") (number_literal "8") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }" ({ "{") (expression_statement "GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);" (call_expression "GetImageKurtosis(param_2,&local_1034,&local_102c,param_5)" (identifier "GetImageKurtosis") (argument_list "(param_2,&local_1034,&local_102c,param_5)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&local_1034" (& "&") (identifier "local_1034")) (, ",") (pointer_expression "&local_102c" (& "&") (identifier "local_102c")) (, ",") (identifier "param_5") () ")"))) (; ";")) (expression_statement "local_1054 = local_102c;" (assignment_expression "local_1054 = local_102c" (identifier "local_1054") (= "=") (identifier "local_102c")) (; ";")) (} "}"))) (expression_statement "iVar3 = LocaleNCompare(param_4,"standard_deviation",0x12);" (assignment_expression "iVar3 = LocaleNCompare(param_4,"standard_deviation",0x12)" (identifier "iVar3") (= "=") (call_expression "LocaleNCompare(param_4,"standard_deviation",0x12)" (identifier "LocaleNCompare") (argument_list "(param_4,"standard_deviation",0x12)" (( "(") (identifier "param_4") (, ",") (string_literal ""standard_deviation"" (" """) (string_content "standard_deviation") (" """)) (, ",") (number_literal "0x12") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    GetImageMean(param_2,&local_1034,&local_102c,param_5);\n    local_1054 = local_102c;\n  }" ({ "{") (expression_statement "GetImageMean(param_2,&local_1034,&local_102c,param_5);" (call_expression "GetImageMean(param_2,&local_1034,&local_102c,param_5)" (identifier "GetImageMean") (argument_list "(param_2,&local_1034,&local_102c,param_5)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&local_1034" (& "&") (identifier "local_1034")) (, ",") (pointer_expression "&local_102c" (& "&") (identifier "local_102c")) (, ",") (identifier "param_5") () ")"))) (; ";")) (expression_statement "local_1054 = local_102c;" (assignment_expression "local_1054 = local_102c" (identifier "local_1054") (= "=") (identifier "local_102c")) (; ";")) (} "}"))) (if_statement "if (local_1048 != 0) {\n    SetPixelChannelMask(param_2,local_1048);\n  }" (if "if") (parenthesized_expression "(local_1048 != 0)" (( "(") (binary_expression "local_1048 != 0" (identifier "local_1048") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    SetPixelChannelMask(param_2,local_1048);\n  }" ({ "{") (expression_statement "SetPixelChannelMask(param_2,local_1048);" (call_expression "SetPixelChannelMask(param_2,local_1048)" (identifier "SetPixelChannelMask") (argument_list "(param_2,local_1048)" (( "(") (identifier "param_2") (, ",") (identifier "local_1048") () ")"))) (; ";")) (} "}"))) (expression_statement "pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);" (assignment_expression "pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020)" (identifier "pdVar2") (= "=") (cast_expression "(double *)GetValueFromSplayTree(param_1[4],local_1020)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "GetValueFromSplayTree(param_1[4],local_1020)" (identifier "GetValueFromSplayTree") (argument_list "(param_1[4],local_1020)" (( "(") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (, ",") (identifier "local_1020") () ")"))))) (; ";")) (if_statement "if (pdVar2 == (double *)0x0) {\n    pdVar2 = (double *)AcquireMagickMemory(8);\n    if (pdVar2 == (double *)0x0) {\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n    *pdVar2 = local_1054;\n    uVar5 = ConstantString(local_1020);\n    iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);\n    if (iVar3 == 0) {\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n  }\n  else {\n    *pdVar2 = local_1054;\n  }" (if "if") (parenthesized_expression "(pdVar2 == (double *)0x0)" (( "(") (binary_expression "pdVar2 == (double *)0x0" (identifier "pdVar2") (== "==") (cast_expression "(double *)0x0" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    pdVar2 = (double *)AcquireMagickMemory(8);\n    if (pdVar2 == (double *)0x0) {\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n    *pdVar2 = local_1054;\n    uVar5 = ConstantString(local_1020);\n    iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);\n    if (iVar3 == 0) {\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }\n  }" ({ "{") (expression_statement "pdVar2 = (double *)AcquireMagickMemory(8);" (assignment_expression "pdVar2 = (double *)AcquireMagickMemory(8)" (identifier "pdVar2") (= "=") (cast_expression "(double *)AcquireMagickMemory(8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "AcquireMagickMemory(8)" (identifier "AcquireMagickMemory") (argument_list "(8)" (( "(") (number_literal "8") () ")"))))) (; ";")) (if_statement "if (pdVar2 == (double *)0x0) {\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }" (if "if") (parenthesized_expression "(pdVar2 == (double *)0x0)" (( "(") (binary_expression "pdVar2 == (double *)0x0" (identifier "pdVar2") (== "==") (cast_expression "(double *)0x0" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }" ({ "{") (expression_statement "ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318);" (call_expression "ThrowMagickException\n                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318)" (identifier "ThrowMagickException") (argument_list "(param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",\n                 "`%s\'",*param_1 + 0x318)" (( "(") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (, ",") (string_literal ""MagickCore/fx.c"" (" """) (string_content "MagickCore/fx.c") (" """)) (, ",") (string_literal ""SetFxSymbolValue"" (" """) (string_content "SetFxSymbolValue") (" """)) (, ",") (number_literal "0x173") (, ",") (number_literal "400") (, ",") (string_literal ""MemoryAllocationFailed"" (" """) (string_content "MemoryAllocationFailed") (" """)) (, ",") (string_literal ""`%s\'"" (" """) (string_content "`%s") (escape_sequence "\'") (" """)) (, ",") (binary_expression "*param_1 + 0x318" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x318")) () ")"))) (; ";")) (expression_statement "lVar7 = (longdouble)0;" (assignment_expression "lVar7 = (longdouble)0" (identifier "lVar7") (= "=") (cast_expression "(longdouble)0" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (number_literal "0"))) (; ";")) (goto_statement "goto LAB_000c9af7;" (goto "goto") (statement_identifier "LAB_000c9af7") (; ";")) (} "}"))) (expression_statement "*pdVar2 = local_1054;" (assignment_expression "*pdVar2 = local_1054" (pointer_expression "*pdVar2" (* "*") (identifier "pdVar2")) (= "=") (identifier "local_1054")) (; ";")) (expression_statement "uVar5 = ConstantString(local_1020);" (assignment_expression "uVar5 = ConstantString(local_1020)" (identifier "uVar5") (= "=") (call_expression "ConstantString(local_1020)" (identifier "ConstantString") (argument_list "(local_1020)" (( "(") (identifier "local_1020") () ")")))) (; ";")) (expression_statement "iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);" (assignment_expression "iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2)" (identifier "iVar3") (= "=") (call_expression "AddValueToSplayTree(param_1[4],uVar5,pdVar2)" (identifier "AddValueToSplayTree") (argument_list "(param_1[4],uVar5,pdVar2)" (( "(") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (, ",") (identifier "uVar5") (, ",") (identifier "pdVar2") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      lVar7 = (longdouble)0;\n      goto LAB_000c9af7;\n    }" ({ "{") (expression_statement "lVar7 = (longdouble)0;" (assignment_expression "lVar7 = (longdouble)0" (identifier "lVar7") (= "=") (cast_expression "(longdouble)0" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (number_literal "0"))) (; ";")) (goto_statement "goto LAB_000c9af7;" (goto "goto") (statement_identifier "LAB_000c9af7") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    *pdVar2 = local_1054;\n  }" (else "else") (compound_statement "{\n    *pdVar2 = local_1054;\n  }" ({ "{") (expression_statement "*pdVar2 = local_1054;" (assignment_expression "*pdVar2 = local_1054" (pointer_expression "*pdVar2" (* "*") (identifier "pdVar2")) (= "=") (identifier "local_1054")) (; ";")) (} "}")))) (expression_statement "lVar7 = (longdouble)local_1054 * (longdouble)_DAT_0029f148;" (assignment_expression "lVar7 = (longdouble)local_1054 * (longdouble)_DAT_0029f148" (identifier "lVar7") (= "=") (binary_expression "(longdouble)local_1054 * (longdouble)_DAT_0029f148" (cast_expression "(longdouble)local_1054" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "local_1054")) (* "*") (cast_expression "(longdouble)_DAT_0029f148" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "_DAT_0029f148")))) (; ";")) (labeled_statement "LAB_000c9af7:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar7;\n  }" (statement_identifier "LAB_000c9af7") (: ":") (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return lVar7;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return lVar7;\n  }" ({ "{") (return_statement "return lVar7;" (return "return") (identifier "lVar7") (; ";")) (} "}")))) (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" (identifier "FUN_0029eab0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* 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 */

double __regparm3
function_1(type_1 *fx_info,type_2 *image,type_3 channel,char *symbol,
                   type_4 *exception)

{
  int var_27;
  char var_2;
  double *var_9;
  int var_14;
  ssize_t var_5;
  size_t sVar6;
  char *var_3;
  type_5 var_24;
  int var_1;
  double var_26;
  type_6 var_10;
  double kurtosis;
  double skewness;
  char key [4096];
  
  var_27 = *(int *)(var_1 + 0x14);
  var_2 = *symbol;
  var_3 = symbol;
  while ((var_2 != '.' && (var_2 != '\0'))) {
    var_3 = var_3 + 1;
    var_2 = *var_3;
  }
  if ((var_2 == '.') &&
     (var_5 = var_4(MagickPixelChannelOptions,MagickTrue,var_3 + 1), -1 < var_5)) {
    var_10 = var_6(image,1 << ((type_7)var_5 & 0x1f));
    var_7(key,0x1000,"%p.%.20g.%s",image,(double)var_5,symbol);
    var_9 = (double *)var_8(fx_info->symbols,key);
    if (var_9 != (double *)0x0) {
      if (var_10 != var_11) {
        var_6(image,var_10);
      }
LAB_000c9aef:
      var_26 = var_12 * *var_9;
      goto LAB_000c9af7;
    }
  }
  else {
    var_26 = (double)(type_8)channel;
    var_7(key,0x1000,"%p.%.20g.%s",image,(double)(type_9)var_26,symbol);
    var_9 = (double *)var_8(fx_info->symbols,key);
    if (var_9 != (double *)0x0) goto LAB_000c9aef;
    var_10 = var_11;
  }
  var_14 = var_13(symbol,"depth",5);
  if (var_14 == 0) {
    sVar6 = var_15(image,exception);
    var_26 = (double)(type_8)sVar6;
    var_26 = (double)(type_9)var_26;
  }
  else {
    var_26 = 0.0;
  }
  var_14 = var_13(symbol,"kurtosis",8);
  if (var_14 == 0) {
    var_16(image,&kurtosis,&skewness,exception);
    var_26 = kurtosis;
  }
  var_14 = var_13(symbol,"maxima",6);
  if (var_14 == 0) {
    var_17(image,&skewness,&kurtosis,exception);
    var_26 = kurtosis;
  }
  var_14 = var_13(symbol,"mean",4);
  if (var_14 == 0) {
    var_18(image,&kurtosis,&skewness,exception);
    var_26 = kurtosis;
  }
  var_14 = var_13(symbol,"median",6);
  if (var_14 == 0) {
    var_19(image,&skewness,exception);
    var_26 = skewness;
  }
  var_14 = var_13(symbol,"minima",6);
  if (var_14 == 0) {
    var_17(image,&skewness,&kurtosis,exception);
    var_26 = skewness;
  }
  var_14 = var_13(symbol,"skewness",8);
  if (var_14 == 0) {
    var_16(image,&kurtosis,&skewness,exception);
    var_26 = skewness;
  }
  var_14 = var_13(symbol,"standard_deviation",0x12);
  if (var_14 == 0) {
    var_18(image,&kurtosis,&skewness,exception);
    var_26 = skewness;
  }
  if (var_10 != var_11) {
    var_6(image,var_10);
  }
  var_9 = (double *)var_8(fx_info->symbols,key);
  if (var_9 == (double *)0x0) {
    var_9 = (double *)var_20(8);
    if (var_9 == (double *)0x0) {
      var_21
                (fx_info->exception,"MagickCore/fx.c","SetFxSymbolValue",0x173,ErrorException,
                 "MemoryAllocationFailed","`%s\'",fx_info->images->filename);
      var_26 = 0.0;
      goto LAB_000c9af7;
    }
    *var_9 = var_26;
    var_3 = var_22(key);
    var_24 = var_23(fx_info->symbols,var_3,var_9);
    if (var_24 == var_25) {
      var_26 = 0.0;
      goto LAB_000c9af7;
    }
  }
  else {
    *var_9 = var_26;
  }
  var_26 = var_26 * var_12;
LAB_000c9af7:
  if (var_27 == *(int *)(var_1 + 0x14)) {
    return var_26;
  }
                    /* WARNING: Subroutine does not return */
  var_28();
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

longdouble __regparm3
MASKED(int *param_1,undefined4 param_2,uint param_3,char *param_4,undefined4 param_5)

{
  char cVar1;
  double *pdVar2;
  int iVar3;
  uint uVar4;
  undefined4 uVar5;
  char *pcVar6;
  int in_GS_OFFSET;
  longdouble lVar7;
  double local_1054;
  int local_1048;
  double local_1034;
  double local_102c;
  undefined1 local_1020 [4096];
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xc986b;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  cVar1 = *param_4;
  pcVar6 = param_4;
  while ((cVar1 != '.' && (cVar1 != '\0'))) {
    pcVar6 = pcVar6 + 1;
    cVar1 = *pcVar6;
  }
  if ((cVar1 == '.') && (iVar3 = ParseCommandOption(0x37,1,pcVar6 + 1), -1 < iVar3)) {
    local_1048 = SetPixelChannelMask(param_2,1 << ((byte)iVar3 & 0x1f));
    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)iVar3,param_4);
    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);
    if (pdVar2 != (double *)0x0) {
      if (local_1048 != 0) {
        SetPixelChannelMask(param_2,local_1048);
      }
LAB_000c9aef:
      lVar7 = (longdouble)_DAT_0029f148 * (longdouble)*pdVar2;
      goto LAB_000c9af7;
    }
  }
  else {
    local_1054 = (double)(ulonglong)param_3;
    FormatLocaleString(local_1020,0x1000,"%p.%.20g.%s",param_2,(double)(longlong)local_1054,param_4)
    ;
    pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);
    if (pdVar2 != (double *)0x0) goto LAB_000c9aef;
    local_1048 = 0;
  }
  iVar3 = LocaleNCompare(param_4,"depth",5);
  if (iVar3 == 0) {
    uVar4 = GetImageDepth(param_2,param_5);
    local_1054 = (double)(ulonglong)uVar4;
    local_1054 = (double)(longlong)local_1054;
  }
  else {
    local_1054 = 0.0;
  }
  iVar3 = LocaleNCompare(param_4,"kurtosis",8);
  if (iVar3 == 0) {
    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);
    local_1054 = local_1034;
  }
  iVar3 = LocaleNCompare(param_4,"maxima",6);
  if (iVar3 == 0) {
    GetImageRange(param_2,&local_102c,&local_1034,param_5);
    local_1054 = local_1034;
  }
  iVar3 = LocaleNCompare(param_4,"mean",4);
  if (iVar3 == 0) {
    GetImageMean(param_2,&local_1034,&local_102c,param_5);
    local_1054 = local_1034;
  }
  iVar3 = LocaleNCompare(param_4,"median",6);
  if (iVar3 == 0) {
    GetImageMedian(param_2,&local_102c,param_5);
    local_1054 = local_102c;
  }
  iVar3 = LocaleNCompare(param_4,"minima",6);
  if (iVar3 == 0) {
    GetImageRange(param_2,&local_102c,&local_1034,param_5);
    local_1054 = local_102c;
  }
  iVar3 = LocaleNCompare(param_4,"skewness",8);
  if (iVar3 == 0) {
    GetImageKurtosis(param_2,&local_1034,&local_102c,param_5);
    local_1054 = local_102c;
  }
  iVar3 = LocaleNCompare(param_4,"standard_deviation",0x12);
  if (iVar3 == 0) {
    GetImageMean(param_2,&local_1034,&local_102c,param_5);
    local_1054 = local_102c;
  }
  if (local_1048 != 0) {
    SetPixelChannelMask(param_2,local_1048);
  }
  pdVar2 = (double *)GetValueFromSplayTree(param_1[4],local_1020);
  if (pdVar2 == (double *)0x0) {
    pdVar2 = (double *)AcquireMagickMemory(8);
    if (pdVar2 == (double *)0x0) {
      ThrowMagickException
                (param_1[7],"MagickCore/fx.c","SetFxSymbolValue",0x173,400,"MemoryAllocationFailed",
                 "`%s\'",*param_1 + 0x318);
      lVar7 = (longdouble)0;
      goto LAB_000c9af7;
    }
    *pdVar2 = local_1054;
    uVar5 = ConstantString(local_1020);
    iVar3 = AddValueToSplayTree(param_1[4],uVar5,pdVar2);
    if (iVar3 == 0) {
      lVar7 = (longdouble)0;
      goto LAB_000c9af7;
    }
  }
  else {
    *pdVar2 = local_1054;
  }
  lVar7 = (longdouble)local_1054 * (longdouble)_DAT_0029f148;
LAB_000c9af7:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return lVar7;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0029eab0();
}

