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

MagickBooleanType __regparm3
SetImageProfileInternal
          (Image *image,char *name,StringInfo *profile,MagickBooleanType recursive,
          ExceptionInfo *exception)

{
  int iVar1;
  uint uVar2;
  float fVar3;
  float fVar4;
  float fVar5;
  uint uVar6;
  StringInfo *pSVar7;
  int iVar8;
  char *pcVar9;
  MagickBooleanType MVar10;
  StringInfo *string_info;
  char *pcVar11;
  SplayTreeInfo *pSVar12;
  uchar *puVar13;
  size_t sVar14;
  uint *puVar15;
  uint *source;
  uchar *puVar16;
  uint uVar17;
  int in_GS_OFFSET;
  char key [4096];
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if (image == (Image *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");
  }
  if (image->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,
                  "SetImageProfileInternal");
  }
  if (image->debug != MagickFalse) {
    LogMagickEvent(TraceEvent,"MagickCore/profile.c","SetImageProfileInternal",0x79d,"%s",
                   image->filename);
  }
  pSVar7 = CloneStringInfo(profile);
  iVar8 = LocaleCompare(name,"xmp");
  if (iVar8 == 0) {
    puVar16 = GetStringInfoDatum(pSVar7);
    pcVar9 = strstr((char *)puVar16,"<?xpacket end=\"w\"?>");
    if (pcVar9 != (char *)0x0) {
      puVar16 = GetStringInfoDatum(pSVar7);
      pcVar11 = (char *)GetStringInfoLength(pSVar7);
      if (pcVar9 + (0x13 - (int)puVar16) != pcVar11) {
        pcVar9[0x13] = '\0';
        SetStringInfoLength(pSVar7,(size_t)(pcVar9 + (0x13 - (int)puVar16)));
      }
    }
LAB_00129a48:
    iVar8 = LocaleCompare(name,"xmp");
    if (iVar8 == 0) {
      MVar10 = MagickTrue;
      ThrowMagickException
                (exception,"MagickCore/profile.c","ValidateXMPProfile",0x787,MissingDelegateError,
                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",image->filename);
      DestroyStringInfo(pSVar7);
      goto LAB_00129940;
    }
  }
  else {
    iVar8 = LocaleCompare(name,"exif");
    if (iVar8 == 0) {
      puVar16 = GetStringInfoDatum(pSVar7);
      iVar8 = LocaleNCompare((char *)puVar16,"MM",2);
      if ((iVar8 == 0) || (iVar8 = LocaleNCompare((char *)puVar16,"II",2), iVar8 == 0)) {
        key[0] = (char)DAT_002c3c40;
        key[1] = DAT_002c3c40._1_1_;
        key[2] = DAT_002c3c40._2_1_;
        key[3] = DAT_002c3c40._3_1_;
        key[4] = (char)DAT_002c3c44;
        key[5] = DAT_002c3c44._1_1_;
        key[6] = DAT_002c3c46;
        string_info = AcquireStringInfo(6);
        if (string_info != (StringInfo *)0x0) {
          SetStringInfoDatum(string_info,(uchar *)key);
          ConcatenateStringInfo(string_info,pSVar7);
          sVar14 = GetStringInfoLength(string_info);
          SetStringInfoLength(pSVar7,sVar14);
          SetStringInfo(pSVar7,string_info);
          DestroyStringInfo(string_info);
        }
      }
      goto LAB_00129a48;
    }
  }
  if (image->profiles == (void *)0x0) {
    pSVar12 = NewSplayTree((_func_int_void_ptr_void_ptr *)PTR_CompareSplayTreeString_003d8fb8,
                           (_func_void_ptr_void_ptr *)PTR_RelinquishMagickMemory_003d8fd8,
                           DestroyProfile);
    image->profiles = pSVar12;
  }
  CopyMagickString(key,name,0x1000);
  LocaleLower(key);
  pcVar9 = ConstantString(key);
  MVar10 = AddValueToSplayTree((SplayTreeInfo *)image->profiles,pcVar9,pSVar7);
  if (MVar10 != MagickFalse) {
    iVar8 = LocaleCompare(name,"8bim");
    if (iVar8 == 0) {
      puVar13 = GetStringInfoDatum(pSVar7);
      sVar14 = GetStringInfoLength(pSVar7);
      puVar16 = puVar13;
      while ((puVar16 < puVar13 + (sVar14 - 0x10) &&
             (iVar8 = LocaleNCompare((char *)puVar16,"8BIM",4), fVar4 = DAT_002c3ee4, iVar8 == 0)))
      {
        puVar15 = (uint *)(puVar16 + ((puVar16[6] + 8) - (uint)((puVar16[6] + 1 & 1) == 0)));
        if (puVar13 + (sVar14 - 4) < puVar15) break;
        uVar2 = *puVar15;
        source = puVar15 + 1;
        uVar17 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;
        if (((puVar13 + (sVar14 - uVar17) < source) || ((int)sVar14 < (int)uVar17)) ||
           ((int)uVar17 < 0)) break;
        switch(*(ushort *)(puVar16 + 4) << 8 | *(ushort *)(puVar16 + 4) >> 8) {
        case 0x3ed:
          if (9 < (int)uVar17) {
            uVar17 = puVar15[1];
            source = puVar15 + 5;
            fVar3 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |
                           uVar17 << 0x18) * DAT_002c3ee4;
            (image->resolution).x = (double)fVar3;
            uVar17 = puVar15[3];
            uVar6 = puVar15[2];
            fVar4 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |
                           uVar17 << 0x18) * fVar4;
            (image->resolution).y = (double)fVar4;
            if ((short)uVar6 == 0x200) {
              fVar5 = (float)_DAT_002b7d50;
              image->units = PixelsPerCentimeterResolution;
              (image->resolution).x = (double)(fVar3 / fVar5);
              (image->resolution).y = (double)(fVar4 / fVar5);
            }
            else {
              image->units = PixelsPerInchResolution;
            }
          }
          goto LAB_00129c82;
        default:
          source = (uint *)((int)source + uVar17);
          goto LAB_00129c82;
        case 0x404:
          pSVar7 = AcquireStringInfo(uVar17);
          SetStringInfoDatum(pSVar7,(uchar *)source);
          pcVar9 = "iptc";
          break;
        case 0x40f:
          pSVar7 = AcquireStringInfo(uVar17);
          SetStringInfoDatum(pSVar7,(uchar *)source);
          pcVar9 = "icc";
          break;
        case 0x422:
          pSVar7 = AcquireStringInfo(uVar17);
          SetStringInfoDatum(pSVar7,(uchar *)source);
          pcVar9 = "exif";
          break;
        case 0x424:
          pSVar7 = AcquireStringInfo(uVar17);
          SetStringInfoDatum(pSVar7,(uchar *)source);
          pcVar9 = "xmp";
        }
        source = (uint *)((int)source + uVar17);
        SetImageProfileInternal(image,pcVar9,pSVar7,MagickTrue,exception);
        DestroyStringInfo(pSVar7);
LAB_00129c82:
        puVar16 = (uchar *)((int)source + (uint)((uVar2 >> 0x18 & 1) != 0));
      }
    }
    else if (recursive == MagickFalse) {
      WriteTo8BimProfile(image,name,pSVar7);
    }
  }
LAB_00129940:
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return MVar10;
  }
                    /* 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 */

int __regparm3
FUN_00129820(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5)

{
  uint uVar1;
  float fVar2;
  float fVar3;
  float fVar4;
  undefined4 uVar5;
  int iVar6;
  undefined4 uVar7;
  int iVar8;
  char *pcVar9;
  char *pcVar10;
  uint uVar11;
  int iVar12;
  uint *puVar13;
  uint *puVar14;
  uint uVar15;
  uint uVar16;
  int in_GS_OFFSET;
  undefined4 local_1020;
  undefined2 local_101c;
  undefined1 local_101a;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x129829;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");
  }
  if (*(int *)(param_1 + 0x3344) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,
                  "SetImageProfileInternal");
  }
  if (*(int *)(param_1 + 0x3328) != 0) {
    LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,
                   param_1 + 0x318);
  }
  uVar5 = CloneStringInfo(param_3);
  iVar6 = LocaleCompare(param_2,&DAT_002c01f4);
  if (iVar6 == 0) {
    pcVar9 = (char *)GetStringInfoDatum(uVar5);
    pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");
    if (pcVar9 != (char *)0x0) {
      iVar6 = GetStringInfoDatum(uVar5);
      pcVar10 = (char *)GetStringInfoLength(uVar5);
      if (pcVar9 + (0x13 - iVar6) != pcVar10) {
        pcVar9[0x13] = '\0';
        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));
      }
    }
LAB_00129a48:
    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);
    if (iVar6 == 0) {
      iVar6 = 1;
      ThrowMagickException
                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,
                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);
      DestroyStringInfo(uVar5);
      goto LAB_00129940;
    }
  }
  else {
    iVar6 = LocaleCompare(param_2,&DAT_002c0184);
    if (iVar6 == 0) {
      uVar7 = GetStringInfoDatum(uVar5);
      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);
      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {
        local_1020 = DAT_002c3c40;
        local_101c = DAT_002c3c44;
        local_101a = DAT_002c3c46;
        iVar6 = AcquireStringInfo(6);
        if (iVar6 != 0) {
          SetStringInfoDatum(iVar6,&local_1020);
          ConcatenateStringInfo(iVar6,uVar5);
          uVar7 = GetStringInfoLength(iVar6);
          SetStringInfoLength(uVar5,uVar7);
          SetStringInfo(uVar5,iVar6);
          DestroyStringInfo(iVar6);
        }
      }
      goto LAB_00129a48;
    }
  }
  if (*(int *)(param_1 + 0x1d8) == 0) {
    uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,
                         FUN_00129510);
    *(undefined4 *)(param_1 + 0x1d8) = uVar7;
  }
  CopyMagickString(&local_1020,param_2,0x1000);
  LocaleLower(&local_1020);
  uVar7 = ConstantString(&local_1020);
  iVar6 = AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5);
  if (iVar6 != 0) {
    iVar8 = LocaleCompare(param_2,&DAT_002ac062);
    if (iVar8 == 0) {
      uVar11 = GetStringInfoDatum(uVar5);
      iVar8 = GetStringInfoLength(uVar5);
      uVar15 = uVar11;
      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&
             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))
      {
        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -
                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));
        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;
        uVar1 = *puVar13;
        puVar14 = puVar13 + 1;
        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||
           ((int)uVar16 < 0)) break;
        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {
        case 0x3ed:
          if (9 < (int)uVar16) {
            uVar15 = puVar13[1];
            puVar14 = puVar13 + 5;
            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |
                           uVar15 << 0x18) * DAT_002c3ee4;
            *(double *)(param_1 + 0x1f0) = (double)fVar2;
            uVar15 = puVar13[3];
            uVar16 = puVar13[2];
            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |
                           uVar15 << 0x18) * fVar3;
            *(double *)(param_1 + 0x1f8) = (double)fVar3;
            if ((short)uVar16 == 0x200) {
              fVar4 = (float)_DAT_002b7d50;
              *(undefined4 *)(param_1 + 0x1dc) = 2;
              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);
              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);
            }
            else {
              *(undefined4 *)(param_1 + 0x1dc) = 1;
            }
          }
          goto code_r0x00129c82;
        default:
          puVar14 = (uint *)((int)puVar14 + uVar16);
          goto code_r0x00129c82;
        case 0x404:
          uVar5 = AcquireStringInfo(uVar16);
          SetStringInfoDatum(uVar5,puVar14);
          break;
        case 0x40f:
          uVar5 = AcquireStringInfo(uVar16);
          SetStringInfoDatum(uVar5,puVar14);
          break;
        case 0x422:
          uVar5 = AcquireStringInfo(uVar16);
          SetStringInfoDatum(uVar5,puVar14);
          break;
        case 0x424:
          uVar5 = AcquireStringInfo(uVar16);
          SetStringInfoDatum(uVar5,puVar14);
        }
        puVar14 = (uint *)((int)puVar14 + uVar16);
        FUN_00129820(1,param_5);
        DestroyStringInfo(uVar5);
code_r0x00129c82:
        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);
      }
    }
    else if (param_4 == 0) {
      FUN_00129530();
    }
  }
LAB_00129940:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar6;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0029eab0();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00038830
ADD EBX,0x2af7d7
SUB ESP,0x104c
MOV EDI,dword ptr [ESP + 0x1064]
MOV dword ptr [ESP + 0x4],EAX
MOV dword ptr [ESP + 0x8],EDI
MOV EDI,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x103c],EDI
XOR EDI,EDI
TEST EAX,EAX
JZ 0x00129e13
MOV EAX,dword ptr [ESP + 0x4]
CMP dword ptr [EAX + 0x3344],0xabacadab
JNZ 0x00129e37
MOV EAX,dword ptr [ESP + 0x4]
MOV ESI,EDX
MOV EAX,dword ptr [EAX + 0x3328]
TEST EAX,EAX
JNZ 0x00129b28
SUB ESP,0xc
PUSH ECX
CALL 0x00033ad0
POP EBP
LEA EBP,[EBX + 0xffee71f4]
MOV EDI,EAX
POP EAX
PUSH EBP
PUSH ESI
CALL 0x000326f0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00129ab0
LEA EAX,[EBX + 0xffee7184]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x000326f0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00129968
MOV EAX,dword ptr [ESP + 0x4]
MOV ECX,dword ptr [EAX + 0x1d8]
TEST ECX,ECX
JZ 0x00129b88
SUB ESP,0x4
PUSH 0x1000
PUSH ESI
LEA EBP,[ESP + 0x48]
PUSH EBP
CALL 0x00030b70
MOV dword ptr [ESP],EBP
CALL 0x000335c0
MOV dword ptr [ESP],EBP
CALL 0x00033ab8
ADD ESP,0xc
PUSH EDI
PUSH EAX
MOV EAX,dword ptr [ESP + 0x10]
PUSH dword ptr [EAX + 0x1d8]
CALL 0x000327f0
ADD ESP,0x10
MOV EBP,EAX
TEST EAX,EAX
JZ 0x00129940
LEA EAX,[EBX + 0xffed3062]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x000326f0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00129bb8
MOV EAX,dword ptr [ESP + 0x1060]
TEST EAX,EAX
JZ 0x00129b70
MOV ECX,dword ptr [ESP + 0x103c]
XOR ECX,dword ptr GS:[0x14]
MOV EAX,EBP
JNZ 0x00129e32
ADD ESP,0x104c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH EDI
CALL 0x00033130
ADD ESP,0xc
MOV EDX,EAX
PUSH 0x2
LEA EAX,[EBX + 0xffeeabbd]
PUSH EAX
PUSH EDX
MOV dword ptr [ESP + 0x1c],EDX
CALL 0x00031370
ADD ESP,0x10
TEST EAX,EAX
JZ 0x001299b1
LEA EAX,[EBX + 0xfff0055c]
SUB ESP,0x4
PUSH 0x2
PUSH EAX
MOV EDX,dword ptr [ESP + 0x18]
PUSH EDX
CALL 0x00031370
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00129a48
MOV EAX,dword ptr [EBX + 0xffeeac40]
SUB ESP,0xc
MOV dword ptr [ESP + 0x48],EAX
MOVZX EAX,word ptr [EBX + 0xffeeac44]
MOV word ptr [ESP + 0x4c],AX
MOVZX EAX,byte ptr [EBX + 0xffeeac46]
MOV byte ptr [ESP + 0x4e],AL
PUSH 0x6
CALL 0x000329e0
ADD ESP,0x10
MOV EDX,EAX
TEST EAX,EAX
JZ 0x00129a48
SUB ESP,0x8
LEA EAX,[ESP + 0x44]
PUSH EAX
PUSH EDX
MOV dword ptr [ESP + 0x1c],EDX
CALL 0x000327b0
POP EAX
POP EDX
PUSH EDI
MOV EDX,dword ptr [ESP + 0x18]
PUSH EDX
MOV dword ptr [ESP + 0x1c],EDX
CALL 0x00031b50
MOV EDX,dword ptr [ESP + 0x1c]
MOV dword ptr [ESP],EDX
MOV dword ptr [ESP + 0x1c],EDX
CALL 0x000335d0
POP ECX
POP EDX
PUSH EAX
PUSH EDI
CALL 0x00031010
POP ECX
POP EAX
MOV EDX,dword ptr [ESP + 0x14]
PUSH EDX
MOV dword ptr [ESP + 0x18],EDX
PUSH EDI
CALL 0x00031460
MOV EDX,dword ptr [ESP + 0x1c]
MOV dword ptr [ESP],EDX
CALL 0x000332e0
ADD ESP,0x10
LEA ESI,[ESI]
SUB ESP,0x8
PUSH EBP
PUSH ESI
CALL 0x000326f0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x001298c4
MOV EAX,dword ptr [ESP + 0x4]
MOV EBP,0x1
ADD EAX,0x318
PUSH EAX
LEA EAX,[EBX + 0xffeeabc0]
PUSH EAX
LEA EAX,[EBX + 0xffec5b58]
PUSH EAX
LEA EAX,[EBX + 0xffeead74]
PUSH 0x1a4
PUSH 0x787
PUSH EAX
LEA EAX,[EBX + 0xffeeab94]
PUSH EAX
PUSH dword ptr [ESP + 0x24]
CALL 0x00032e80
ADD ESP,0x14
PUSH EDI
CALL 0x000332e0
ADD ESP,0x10
JMP 0x00129940
SUB ESP,0xc
PUSH EDI
CALL 0x00033130
POP EDX
LEA EDX,[EBX + 0xffeeaba9]
POP ECX
PUSH EDX
PUSH EAX
CALL 0x000326d0
ADD ESP,0x10
TEST EAX,EAX
MOV dword ptr [ESP + 0xc],EAX
JZ 0x00129a48
SUB ESP,0xc
PUSH EDI
CALL 0x00033130
MOV EDX,dword ptr [ESP + 0x1c]
MOV dword ptr [ESP],EDI
LEA ECX,[EDX + 0x13]
MOV dword ptr [ESP + 0x20],EDX
SUB ECX,EAX
MOV dword ptr [ESP + 0x1c],ECX
CALL 0x000335d0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0xc]
CMP ECX,EAX
JZ 0x00129a48
MOV EDX,dword ptr [ESP + 0x10]
SUB ESP,0x8
MOV byte ptr [EDX + 0x13],0x0
PUSH ECX
PUSH EDI
CALL 0x00031010
ADD ESP,0x10
JMP 0x00129a48
MOV dword ptr [ESP + 0xc],ECX
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0xc]
ADD EAX,0x318
PUSH EAX
LEA EAX,[EBX + 0xffedde4e]
PUSH EAX
LEA EAX,[EBX + 0xffeead88]
PUSH 0x79d
PUSH EAX
LEA EAX,[EBX + 0xffeeab94]
PUSH EAX
PUSH 0x8000
CALL 0x000323b0
ADD ESP,0x20
MOV ECX,dword ptr [ESP + 0xc]
JMP 0x00129884
MOV EAX,dword ptr [ESP + 0x4]
MOV ECX,EDI
MOV EDX,ESI
CALL 0x00129530
JMP 0x00129940
LEA EAX,[EBX + 0xffd50510]
SUB ESP,0x4
PUSH EAX
PUSH dword ptr [EBX + 0xffffffd8]
PUSH dword ptr [EBX + 0xffffffb8]
CALL 0x00031fc0
MOV ECX,dword ptr [ESP + 0x14]
ADD ESP,0x10
MOV dword ptr [ECX + 0x1d8],EAX
JMP 0x001298d6
SUB ESP,0xc
PUSH EDI
CALL 0x00033130
MOV dword ptr [ESP],EDI
MOV dword ptr [ESP + 0x24],EAX
MOV ESI,EAX
CALL 0x000335d0
MOV ECX,ESI
LEA ESI,[ESI + EAX*0x1 + -0x10]
MOV dword ptr [ESP + 0x28],EAX
MOV dword ptr [ESP + 0x1c],ESI
LEA EAX,[ECX + EAX*0x1 + -0x4]
ADD ESP,0x10
MOV ESI,ECX
MOV dword ptr [ESP + 0x10],EAX
MOV dword ptr [ESP + 0x1c],EBP
NOP
CMP ESI,dword ptr [ESP + 0xc]
JNC 0x00129dd8
SUB ESP,0x4
LEA EAX,[EBX + 0xffec939a]
PUSH 0x4
PUSH EAX
PUSH ESI
CALL 0x00031370
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00129dd8
MOVZX EDX,byte ptr [ESI + 0x6]
MOVZX EAX,word ptr [ESI + 0x4]
LEA ECX,[ESI + EDX*0x1 + 0x7]
ADD EDX,0x1
AND EDX,0x1
ROL AX,0x8
CMP EDX,0x1
SBB ECX,-0x1
CMP ECX,dword ptr [ESP + 0x10]
JA 0x00129dd8
MOV EBP,dword ptr [ESP + 0x18]
MOV EDI,dword ptr [ECX]
LEA ESI,[ECX + 0x4]
MOV EDX,EBP
BSWAP EDI
SUB EDX,EDI
ADD EDX,dword ptr [ESP + 0x14]
CMP ESI,EDX
JA 0x00129dd8
CMP EDI,EBP
JG 0x00129dd8
TEST EDI,EDI
JS 0x00129dd8
SUB AX,0x3ed
CMP AX,0x37
JA 0x00129c80
MOVZX EAX,AX
MOV EDX,dword ptr [EBX + EAX*0x4 + 0xffeeac48]
ADD EDX,EBX
JMP EDX
ADD ESI,EDI
AND EDI,0x1
CMP EDI,0x1
SBB ESI,-0x1
JMP 0x00129bf0
MOV EBP,dword ptr [ESP + 0x1c]
JMP 0x00129940
LEA EAX,[EBX + 0xffeeada0]
PUSH EAX
LEA EAX,[EBX + 0xffeeab94]
PUSH 0x79a
PUSH EAX
LEA EAX,[EBX + 0xffede594]
PUSH EAX
CALL 0x000313d0
CALL 0x0029eab0
LEA EAX,[EBX + 0xffeeada0]
PUSH EAX
LEA EAX,[EBX + 0xffeeab94]
PUSH 0x79b
PUSH EAX
LEA EAX,[EBX + 0xffed1338]
PUSH EAX
CALL 0x000313d0
(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\nint __regparm3\nFUN_00129820(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5)\n\n{\n  uint uVar1;\n  float fVar2;\n  float fVar3;\n  float fVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  uint uVar11;\n  int iVar12;\n  uint *puVar13;\n  uint *puVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  undefined4 local_1020;\n  undefined2 local_101c;\n  undefined1 local_101a;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x129829;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  uVar5 = CloneStringInfo(param_3);\n  iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n  if (iVar6 == 0) {\n    pcVar9 = (char *)GetStringInfoDatum(uVar5);\n    pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }\nLAB_00129a48:\n    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n    if (iVar6 == 0) {\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }\n  }\n  else {\n    iVar6 = LocaleCompare(param_2,&DAT_002c0184);\n    if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }\n  if (*(int *)(param_1 + 0x1d8) == 0) {\n    uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510);\n    *(undefined4 *)(param_1 + 0x1d8) = uVar7;\n  }\n  CopyMagickString(&local_1020,param_2,0x1000);\n  LocaleLower(&local_1020);\n  uVar7 = ConstantString(&local_1020);\n  iVar6 = AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5);\n  if (iVar6 != 0) {\n    iVar8 = LocaleCompare(param_2,&DAT_002ac062);\n    if (iVar8 == 0) {\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }\n    else if (param_4 == 0) {\n      FUN_00129530();\n    }\n  }\nLAB_00129940:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0029eab0();\n}\n\n" comment comment (function_definition "int __regparm3\nFUN_00129820(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5)\n\n{\n  uint uVar1;\n  float fVar2;\n  float fVar3;\n  float fVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  uint uVar11;\n  int iVar12;\n  uint *puVar13;\n  uint *puVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  undefined4 local_1020;\n  undefined2 local_101c;\n  undefined1 local_101a;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x129829;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  uVar5 = CloneStringInfo(param_3);\n  iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n  if (iVar6 == 0) {\n    pcVar9 = (char *)GetStringInfoDatum(uVar5);\n    pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }\nLAB_00129a48:\n    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n    if (iVar6 == 0) {\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }\n  }\n  else {\n    iVar6 = LocaleCompare(param_2,&DAT_002c0184);\n    if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }\n  if (*(int *)(param_1 + 0x1d8) == 0) {\n    uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510);\n    *(undefined4 *)(param_1 + 0x1d8) = uVar7;\n  }\n  CopyMagickString(&local_1020,param_2,0x1000);\n  LocaleLower(&local_1020);\n  uVar7 = ConstantString(&local_1020);\n  iVar6 = AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5);\n  if (iVar6 != 0) {\n    iVar8 = LocaleCompare(param_2,&DAT_002ac062);\n    if (iVar8 == 0) {\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }\n    else if (param_4 == 0) {\n      FUN_00129530();\n    }\n  }\nLAB_00129940:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0029eab0();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00129820(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  float fVar2;\n  float fVar3;\n  float fVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  uint uVar11;\n  int iVar12;\n  uint *puVar13;\n  uint *puVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  undefined4 local_1020;\n  undefined2 local_101c;\n  undefined1 local_101a;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x129829;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  uVar5 = CloneStringInfo(param_3);\n  iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n  if (iVar6 == 0) {\n    pcVar9 = (char *)GetStringInfoDatum(uVar5);\n    pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }\nLAB_00129a48:\n    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n    if (iVar6 == 0) {\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }\n  }\n  else {\n    iVar6 = LocaleCompare(param_2,&DAT_002c0184);\n    if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }\n  if (*(int *)(param_1 + 0x1d8) == 0) {\n    uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510);\n    *(undefined4 *)(param_1 + 0x1d8) = uVar7;\n  }\n  CopyMagickString(&local_1020,param_2,0x1000);\n  LocaleLower(&local_1020);\n  uVar7 = ConstantString(&local_1020);\n  iVar6 = AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5);\n  if (iVar6 != 0) {\n    iVar8 = LocaleCompare(param_2,&DAT_002ac062);\n    if (iVar8 == 0) {\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }\n    else if (param_4 == 0) {\n      FUN_00129530();\n    }\n  }\nLAB_00129940:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0029eab0();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "float fVar2;" primitive_type identifier ;) (declaration "float fVar3;" primitive_type identifier ;) (declaration "float fVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "uint *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "uint *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_1020;" type_identifier identifier ;) (declaration "undefined2 local_101c;" type_identifier identifier ;) (declaration "undefined1 local_101a;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x129829;" (assignment_expression "uStack_14 = 0x129829" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal")" identifier (argument_list "("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/profile.c"" " string_content ") , number_literal , (string_literal ""SetImageProfileInternal"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3344) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3344)" * (cast_expression "(int *)(param_1 + 0x3344)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3344)" ( (binary_expression "param_1 + 0x3344" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }" { comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/profile.c"" " string_content ") , number_literal , (string_literal ""SetImageProfileInternal"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3328) != 0)" ( (binary_expression "*(int *)(param_1 + 0x3328) != 0" (pointer_expression "*(int *)(param_1 + 0x3328)" * (cast_expression "(int *)(param_1 + 0x3328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3328)" ( (binary_expression "param_1 + 0x3328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318)" identifier (argument_list "(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318)" ( number_literal , (string_literal ""MagickCore/profile.c"" " string_content ") , (string_literal ""SetImageProfileInternal"" " string_content ") , number_literal , (pointer_expression "&DAT_002b6e4e" & identifier) , (binary_expression "param_1 + 0x318" identifier + number_literal) ))) ;) })) (expression_statement "uVar5 = CloneStringInfo(param_3);" (assignment_expression "uVar5 = CloneStringInfo(param_3)" identifier = (call_expression "CloneStringInfo(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "iVar6 = LocaleCompare(param_2,&DAT_002c01f4);" (assignment_expression "iVar6 = LocaleCompare(param_2,&DAT_002c01f4)" identifier = (call_expression "LocaleCompare(param_2,&DAT_002c01f4)" identifier (argument_list "(param_2,&DAT_002c01f4)" ( identifier , (pointer_expression "&DAT_002c01f4" & identifier) )))) ;) (if_statement "if (iVar6 == 0) {\n    pcVar9 = (char *)GetStringInfoDatum(uVar5);\n    pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }\nLAB_00129a48:\n    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n    if (iVar6 == 0) {\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }\n  }\n  else {\n    iVar6 = LocaleCompare(param_2,&DAT_002c0184);\n    if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar9 = (char *)GetStringInfoDatum(uVar5);\n    pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }\nLAB_00129a48:\n    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n    if (iVar6 == 0) {\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }\n  }" { (expression_statement "pcVar9 = (char *)GetStringInfoDatum(uVar5);" (assignment_expression "pcVar9 = (char *)GetStringInfoDatum(uVar5)" identifier = (cast_expression "(char *)GetStringInfoDatum(uVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetStringInfoDatum(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))))) ;) (expression_statement "pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");" (assignment_expression "pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>")" identifier = (call_expression "strstr(pcVar9,"<?xpacket end=\"w\"?>")" identifier (argument_list "(pcVar9,"<?xpacket end=\"w\"?>")" ( identifier , (string_literal ""<?xpacket end=\"w\"?>"" " string_content escape_sequence string_content escape_sequence string_content ") )))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }" { (expression_statement "iVar6 = GetStringInfoDatum(uVar5);" (assignment_expression "iVar6 = GetStringInfoDatum(uVar5)" identifier = (call_expression "GetStringInfoDatum(uVar5)" identifier (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "pcVar10 = (char *)GetStringInfoLength(uVar5);" (assignment_expression "pcVar10 = (char *)GetStringInfoLength(uVar5)" identifier = (cast_expression "(char *)GetStringInfoLength(uVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetStringInfoLength(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))))) ;) (if_statement "if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }" if (parenthesized_expression "(pcVar9 + (0x13 - iVar6) != pcVar10)" ( (binary_expression "pcVar9 + (0x13 - iVar6) != pcVar10" (binary_expression "pcVar9 + (0x13 - iVar6)" identifier + (parenthesized_expression "(0x13 - iVar6)" ( (binary_expression "0x13 - iVar6" number_literal - identifier) ))) != identifier) )) (compound_statement "{\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }" { (expression_statement "pcVar9[0x13] = '\0';" (assignment_expression "pcVar9[0x13] = '\0'" (subscript_expression "pcVar9[0x13]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));" (call_expression "SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6))" identifier (argument_list "(uVar5,pcVar9 + (0x13 - iVar6))" ( identifier , (binary_expression "pcVar9 + (0x13 - iVar6)" identifier + (parenthesized_expression "(0x13 - iVar6)" ( (binary_expression "0x13 - iVar6" number_literal - identifier) ))) ))) ;) })) })) (labeled_statement "LAB_00129a48:\n    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);" statement_identifier : (expression_statement "iVar6 = LocaleCompare(param_2,&DAT_002c01f4);" (assignment_expression "iVar6 = LocaleCompare(param_2,&DAT_002c01f4)" identifier = (call_expression "LocaleCompare(param_2,&DAT_002c01f4)" identifier (argument_list "(param_2,&DAT_002c01f4)" ( identifier , (pointer_expression "&DAT_002c01f4" & identifier) )))) ;)) (if_statement "if (iVar6 == 0) {\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }" { (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (expression_statement "ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);" (call_expression "ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318)" identifier (argument_list "(param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318)" ( identifier , (string_literal ""MagickCore/profile.c"" " string_content ") , (string_literal ""ValidateXMPProfile"" " string_content ") , number_literal , number_literal , (string_literal ""DelegateLibrarySupportNotBuiltIn"" " string_content ") , (string_literal ""\'%s\' (XML)"" " escape_sequence string_content escape_sequence string_content ") , (binary_expression "param_1 + 0x318" identifier + number_literal) ))) ;) (expression_statement "DestroyStringInfo(uVar5);" (call_expression "DestroyStringInfo(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (goto_statement "goto LAB_00129940;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar6 = LocaleCompare(param_2,&DAT_002c0184);\n    if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }" else (compound_statement "{\n    iVar6 = LocaleCompare(param_2,&DAT_002c0184);\n    if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }" { (expression_statement "iVar6 = LocaleCompare(param_2,&DAT_002c0184);" (assignment_expression "iVar6 = LocaleCompare(param_2,&DAT_002c0184)" identifier = (call_expression "LocaleCompare(param_2,&DAT_002c0184)" identifier (argument_list "(param_2,&DAT_002c0184)" ( identifier , (pointer_expression "&DAT_002c0184" & identifier) )))) ;) (if_statement "if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }" { (expression_statement "uVar7 = GetStringInfoDatum(uVar5);" (assignment_expression "uVar7 = GetStringInfoDatum(uVar5)" identifier = (call_expression "GetStringInfoDatum(uVar5)" identifier (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);" (assignment_expression "iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2)" identifier = (call_expression "LocaleNCompare(uVar7,&DAT_002c3bbd,2)" identifier (argument_list "(uVar7,&DAT_002c3bbd,2)" ( identifier , (pointer_expression "&DAT_002c3bbd" & identifier) , number_literal )))) ;) (if_statement "if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }" if (parenthesized_expression "((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0))" ( (binary_expression "(iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)" ( (comma_expression "iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0" (assignment_expression "iVar6 = LocaleNCompare(uVar7,"II",2)" identifier = (call_expression "LocaleNCompare(uVar7,"II",2)" identifier (argument_list "(uVar7,"II",2)" ( identifier , (string_literal ""II"" " string_content ") , number_literal )))) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }" { (expression_statement "local_1020 = DAT_002c3c40;" (assignment_expression "local_1020 = DAT_002c3c40" identifier = identifier) ;) (expression_statement "local_101c = DAT_002c3c44;" (assignment_expression "local_101c = DAT_002c3c44" identifier = identifier) ;) (expression_statement "local_101a = DAT_002c3c46;" (assignment_expression "local_101a = DAT_002c3c46" identifier = identifier) ;) (expression_statement "iVar6 = AcquireStringInfo(6);" (assignment_expression "iVar6 = AcquireStringInfo(6)" identifier = (call_expression "AcquireStringInfo(6)" identifier (argument_list "(6)" ( number_literal )))) ;) (if_statement "if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }" { (expression_statement "SetStringInfoDatum(iVar6,&local_1020);" (call_expression "SetStringInfoDatum(iVar6,&local_1020)" identifier (argument_list "(iVar6,&local_1020)" ( identifier , (pointer_expression "&local_1020" & identifier) ))) ;) (expression_statement "ConcatenateStringInfo(iVar6,uVar5);" (call_expression "ConcatenateStringInfo(iVar6,uVar5)" identifier (argument_list "(iVar6,uVar5)" ( identifier , identifier ))) ;) (expression_statement "uVar7 = GetStringInfoLength(iVar6);" (assignment_expression "uVar7 = GetStringInfoLength(iVar6)" identifier = (call_expression "GetStringInfoLength(iVar6)" identifier (argument_list "(iVar6)" ( identifier )))) ;) (expression_statement "SetStringInfoLength(uVar5,uVar7);" (call_expression "SetStringInfoLength(uVar5,uVar7)" identifier (argument_list "(uVar5,uVar7)" ( identifier , identifier ))) ;) (expression_statement "SetStringInfo(uVar5,iVar6);" (call_expression "SetStringInfo(uVar5,iVar6)" identifier (argument_list "(uVar5,iVar6)" ( identifier , identifier ))) ;) (expression_statement "DestroyStringInfo(iVar6);" (call_expression "DestroyStringInfo(iVar6)" identifier (argument_list "(iVar6)" ( identifier ))) ;) })) })) (goto_statement "goto LAB_00129a48;" goto statement_identifier ;) })) }))) (if_statement "if (*(int *)(param_1 + 0x1d8) == 0) {\n    uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510);\n    *(undefined4 *)(param_1 + 0x1d8) = uVar7;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1d8) == 0)" ( (binary_expression "*(int *)(param_1 + 0x1d8) == 0" (pointer_expression "*(int *)(param_1 + 0x1d8)" * (cast_expression "(int *)(param_1 + 0x1d8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d8)" ( (binary_expression "param_1 + 0x1d8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510);\n    *(undefined4 *)(param_1 + 0x1d8) = uVar7;\n  }" { (expression_statement "uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510);" (assignment_expression "uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510)" identifier = (call_expression "NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510)" identifier (argument_list "(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510)" ( identifier , identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1d8) = uVar7;" (assignment_expression "*(undefined4 *)(param_1 + 0x1d8) = uVar7" (pointer_expression "*(undefined4 *)(param_1 + 0x1d8)" * (cast_expression "(undefined4 *)(param_1 + 0x1d8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d8)" ( (binary_expression "param_1 + 0x1d8" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "CopyMagickString(&local_1020,param_2,0x1000);" (call_expression "CopyMagickString(&local_1020,param_2,0x1000)" identifier (argument_list "(&local_1020,param_2,0x1000)" ( (pointer_expression "&local_1020" & identifier) , identifier , number_literal ))) ;) (expression_statement "LocaleLower(&local_1020);" (call_expression "LocaleLower(&local_1020)" identifier (argument_list "(&local_1020)" ( (pointer_expression "&local_1020" & identifier) ))) ;) (expression_statement "uVar7 = ConstantString(&local_1020);" (assignment_expression "uVar7 = ConstantString(&local_1020)" identifier = (call_expression "ConstantString(&local_1020)" identifier (argument_list "(&local_1020)" ( (pointer_expression "&local_1020" & identifier) )))) ;) (expression_statement "iVar6 = AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5);" (assignment_expression "iVar6 = AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5)" identifier = (call_expression "AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x1d8)" * (cast_expression "(undefined4 *)(param_1 + 0x1d8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d8)" ( (binary_expression "param_1 + 0x1d8" identifier + number_literal) )))) , identifier , identifier )))) ;) (if_statement "if (iVar6 != 0) {\n    iVar8 = LocaleCompare(param_2,&DAT_002ac062);\n    if (iVar8 == 0) {\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }\n    else if (param_4 == 0) {\n      FUN_00129530();\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar8 = LocaleCompare(param_2,&DAT_002ac062);\n    if (iVar8 == 0) {\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }\n    else if (param_4 == 0) {\n      FUN_00129530();\n    }\n  }" { (expression_statement "iVar8 = LocaleCompare(param_2,&DAT_002ac062);" (assignment_expression "iVar8 = LocaleCompare(param_2,&DAT_002ac062)" identifier = (call_expression "LocaleCompare(param_2,&DAT_002ac062)" identifier (argument_list "(param_2,&DAT_002ac062)" ( identifier , (pointer_expression "&DAT_002ac062" & identifier) )))) ;) (if_statement "if (iVar8 == 0) {\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }\n    else if (param_4 == 0) {\n      FUN_00129530();\n    }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }" { (expression_statement "uVar11 = GetStringInfoDatum(uVar5);" (assignment_expression "uVar11 = GetStringInfoDatum(uVar5)" identifier = (call_expression "GetStringInfoDatum(uVar5)" identifier (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "iVar8 = GetStringInfoLength(uVar5);" (assignment_expression "iVar8 = GetStringInfoLength(uVar5)" identifier = (call_expression "GetStringInfoLength(uVar5)" identifier (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "uVar15 = uVar11;" (assignment_expression "uVar15 = uVar11" identifier = identifier) ;) (while_statement "while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }" while (parenthesized_expression "((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))" ( (parenthesized_expression "(uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0))" ( (binary_expression "uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)" (binary_expression "uVar15 < (uVar11 - 0x10) + iVar8" identifier < (binary_expression "(uVar11 - 0x10) + iVar8" (parenthesized_expression "(uVar11 - 0x10)" ( (binary_expression "uVar11 - 0x10" identifier - number_literal) )) + identifier)) && (parenthesized_expression "(iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)" ( (comma_expression "iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0" (assignment_expression "iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4)" identifier = (call_expression "LocaleNCompare(uVar15,&DAT_002a239a,4)" identifier (argument_list "(uVar15,&DAT_002a239a,4)" ( identifier , (pointer_expression "&DAT_002a239a" & identifier) , number_literal )))) , (comma_expression "fVar3 = DAT_002c3ee4, iVar12 == 0" (assignment_expression "fVar3 = DAT_002c3ee4" identifier = identifier) , (binary_expression "iVar12 == 0" identifier == number_literal))) ))) )) )) (compound_statement "{\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }" { (expression_statement "puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));" (assignment_expression "puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0))" identifier = (cast_expression "(uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0))" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0))" ( (binary_expression "(uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0)" (parenthesized_expression "(uVar15 + *(byte *)(uVar15 + 6) + 8)" ( (binary_expression "uVar15 + *(byte *)(uVar15 + 6) + 8" (binary_expression "uVar15 + *(byte *)(uVar15 + 6)" identifier + (pointer_expression "*(byte *)(uVar15 + 6)" * (cast_expression "(byte *)(uVar15 + 6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar15 + 6)" ( (binary_expression "uVar15 + 6" identifier + number_literal) ))))) + number_literal) )) - (call_expression "(uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((*(byte *)(uVar15 + 6) + 1 & 1) == 0)" ( (binary_expression "(*(byte *)(uVar15 + 6) + 1 & 1) == 0" (parenthesized_expression "(*(byte *)(uVar15 + 6) + 1 & 1)" ( (binary_expression "*(byte *)(uVar15 + 6) + 1 & 1" (binary_expression "*(byte *)(uVar15 + 6) + 1" (pointer_expression "*(byte *)(uVar15 + 6)" * (cast_expression "(byte *)(uVar15 + 6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar15 + 6)" ( (binary_expression "uVar15 + 6" identifier + number_literal) )))) + number_literal) & number_literal) )) == number_literal) )))) )))) ;) (if_statement "if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;" if (parenthesized_expression "((uint *)((uVar11 - 4) + iVar8) < puVar13)" ( (binary_expression "(uint *)((uVar11 - 4) + iVar8) < puVar13" (cast_expression "(uint *)((uVar11 - 4) + iVar8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uVar11 - 4) + iVar8)" ( (binary_expression "(uVar11 - 4) + iVar8" (parenthesized_expression "(uVar11 - 4)" ( (binary_expression "uVar11 - 4" identifier - number_literal) )) + identifier) ))) < identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar1 = *puVar13;" (assignment_expression "uVar1 = *puVar13" identifier = (pointer_expression "*puVar13" * identifier)) ;) (expression_statement "puVar14 = puVar13 + 1;" (assignment_expression "puVar14 = puVar13 + 1" identifier = (binary_expression "puVar13 + 1" identifier + number_literal)) ;) (expression_statement "uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" identifier = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (if_statement "if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;" if (parenthesized_expression "((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0))" ( (binary_expression "(((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)" (parenthesized_expression "(((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16))" ( (binary_expression "((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)" (parenthesized_expression "((uint *)((iVar8 - uVar16) + uVar11) < puVar14)" ( (binary_expression "(uint *)((iVar8 - uVar16) + uVar11) < puVar14" (cast_expression "(uint *)((iVar8 - uVar16) + uVar11)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((iVar8 - uVar16) + uVar11)" ( (binary_expression "(iVar8 - uVar16) + uVar11" (parenthesized_expression "(iVar8 - uVar16)" ( (binary_expression "iVar8 - uVar16" identifier - identifier) )) + identifier) ))) < identifier) )) || (parenthesized_expression "(iVar8 < (int)uVar16)" ( (binary_expression "iVar8 < (int)uVar16" identifier < (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) || (parenthesized_expression "((int)uVar16 < 0)" ( (binary_expression "(int)uVar16 < 0" (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) ))) )) (break_statement "break;" break ;)) (switch_statement "switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }" switch (parenthesized_expression "(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8)" ( (binary_expression "*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8" (binary_expression "*(ushort *)(uVar15 + 4) << 8" (pointer_expression "*(ushort *)(uVar15 + 4)" * (cast_expression "(ushort *)(uVar15 + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar15 + 4)" ( (binary_expression "uVar15 + 4" identifier + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)(uVar15 + 4) >> 8" (pointer_expression "*(ushort *)(uVar15 + 4)" * (cast_expression "(ushort *)(uVar15 + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar15 + 4)" ( (binary_expression "uVar15 + 4" identifier + number_literal) )))) >> number_literal)) )) (compound_statement "{\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }" { (case_statement "case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;" case number_literal : (if_statement "if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }" if (parenthesized_expression "(9 < (int)uVar16)" ( (binary_expression "9 < (int)uVar16" number_literal < (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }" { (expression_statement "uVar15 = puVar13[1];" (assignment_expression "uVar15 = puVar13[1]" identifier = (subscript_expression "puVar13[1]" identifier [ number_literal ])) ;) (expression_statement "puVar14 = puVar13 + 5;" (assignment_expression "puVar14 = puVar13 + 5" identifier = (binary_expression "puVar13 + 5" identifier + number_literal)) ;) (expression_statement "fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;" (assignment_expression "fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4" identifier = (binary_expression "(float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4" (cast_expression "(float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18)" ( (binary_expression "uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18" (binary_expression "uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8" (binary_expression "uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8" (binary_expression "uVar15 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar15 & 0xff0000) >> 8" (parenthesized_expression "(uVar15 & 0xff0000)" ( (binary_expression "uVar15 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar15 & 0xff00) << 8" (parenthesized_expression "(uVar15 & 0xff00)" ( (binary_expression "uVar15 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar15 << 0x18" identifier << number_literal)) ))) * identifier)) ;) (expression_statement "*(double *)(param_1 + 0x1f0) = (double)fVar2;" (assignment_expression "*(double *)(param_1 + 0x1f0) = (double)fVar2" (pointer_expression "*(double *)(param_1 + 0x1f0)" * (cast_expression "(double *)(param_1 + 0x1f0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1f0)" ( (binary_expression "param_1 + 0x1f0" identifier + number_literal) )))) = (cast_expression "(double)fVar2" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "uVar15 = puVar13[3];" (assignment_expression "uVar15 = puVar13[3]" identifier = (subscript_expression "puVar13[3]" identifier [ number_literal ])) ;) (expression_statement "uVar16 = puVar13[2];" (assignment_expression "uVar16 = puVar13[2]" identifier = (subscript_expression "puVar13[2]" identifier [ number_literal ])) ;) (expression_statement "fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;" (assignment_expression "fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3" identifier = (binary_expression "(float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3" (cast_expression "(float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18)" ( (binary_expression "uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18" (binary_expression "uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8" (binary_expression "uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8" (binary_expression "uVar15 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar15 & 0xff0000) >> 8" (parenthesized_expression "(uVar15 & 0xff0000)" ( (binary_expression "uVar15 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar15 & 0xff00) << 8" (parenthesized_expression "(uVar15 & 0xff00)" ( (binary_expression "uVar15 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar15 << 0x18" identifier << number_literal)) ))) * identifier)) ;) (expression_statement "*(double *)(param_1 + 0x1f8) = (double)fVar3;" (assignment_expression "*(double *)(param_1 + 0x1f8) = (double)fVar3" (pointer_expression "*(double *)(param_1 + 0x1f8)" * (cast_expression "(double *)(param_1 + 0x1f8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1f8)" ( (binary_expression "param_1 + 0x1f8" identifier + number_literal) )))) = (cast_expression "(double)fVar3" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }" if (parenthesized_expression "((short)uVar16 == 0x200)" ( (binary_expression "(short)uVar16 == 0x200" (cast_expression "(short)uVar16" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier) == number_literal) )) (compound_statement "{\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }" { (expression_statement "fVar4 = (float)_DAT_002b7d50;" (assignment_expression "fVar4 = (float)_DAT_002b7d50" identifier = (cast_expression "(float)_DAT_002b7d50" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1dc) = 2;" (assignment_expression "*(undefined4 *)(param_1 + 0x1dc) = 2" (pointer_expression "*(undefined4 *)(param_1 + 0x1dc)" * (cast_expression "(undefined4 *)(param_1 + 0x1dc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1dc)" ( (binary_expression "param_1 + 0x1dc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);" (assignment_expression "*(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4)" (pointer_expression "*(double *)(param_1 + 0x1f0)" * (cast_expression "(double *)(param_1 + 0x1f0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1f0)" ( (binary_expression "param_1 + 0x1f0" identifier + number_literal) )))) = (cast_expression "(double)(fVar2 / fVar4)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(fVar2 / fVar4)" ( (binary_expression "fVar2 / fVar4" identifier / identifier) )))) ;) (expression_statement "*(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);" (assignment_expression "*(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4)" (pointer_expression "*(double *)(param_1 + 0x1f8)" * (cast_expression "(double *)(param_1 + 0x1f8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1f8)" ( (binary_expression "param_1 + 0x1f8" identifier + number_literal) )))) = (cast_expression "(double)(fVar3 / fVar4)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(fVar3 / fVar4)" ( (binary_expression "fVar3 / fVar4" identifier / identifier) )))) ;) }) (else_clause "else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }" else (compound_statement "{\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }" { (expression_statement "*(undefined4 *)(param_1 + 0x1dc) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x1dc) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x1dc)" * (cast_expression "(undefined4 *)(param_1 + 0x1dc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1dc)" ( (binary_expression "param_1 + 0x1dc" identifier + number_literal) )))) = number_literal) ;) }))) })) (goto_statement "goto code_r0x00129c82;" goto statement_identifier ;)) (case_statement "default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;" default : (expression_statement "puVar14 = (uint *)((int)puVar14 + uVar16);" (assignment_expression "puVar14 = (uint *)((int)puVar14 + uVar16)" identifier = (cast_expression "(uint *)((int)puVar14 + uVar16)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar14 + uVar16)" ( (binary_expression "(int)puVar14 + uVar16" (cast_expression "(int)puVar14" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (goto_statement "goto code_r0x00129c82;" goto statement_identifier ;)) (case_statement "case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;" case number_literal : (expression_statement "uVar5 = AcquireStringInfo(uVar16);" (assignment_expression "uVar5 = AcquireStringInfo(uVar16)" identifier = (call_expression "AcquireStringInfo(uVar16)" identifier (argument_list "(uVar16)" ( identifier )))) ;) (expression_statement "SetStringInfoDatum(uVar5,puVar14);" (call_expression "SetStringInfoDatum(uVar5,puVar14)" identifier (argument_list "(uVar5,puVar14)" ( identifier , identifier ))) ;) (break_statement "break;" break ;)) (case_statement "case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;" case number_literal : (expression_statement "uVar5 = AcquireStringInfo(uVar16);" (assignment_expression "uVar5 = AcquireStringInfo(uVar16)" identifier = (call_expression "AcquireStringInfo(uVar16)" identifier (argument_list "(uVar16)" ( identifier )))) ;) (expression_statement "SetStringInfoDatum(uVar5,puVar14);" (call_expression "SetStringInfoDatum(uVar5,puVar14)" identifier (argument_list "(uVar5,puVar14)" ( identifier , identifier ))) ;) (break_statement "break;" break ;)) (case_statement "case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;" case number_literal : (expression_statement "uVar5 = AcquireStringInfo(uVar16);" (assignment_expression "uVar5 = AcquireStringInfo(uVar16)" identifier = (call_expression "AcquireStringInfo(uVar16)" identifier (argument_list "(uVar16)" ( identifier )))) ;) (expression_statement "SetStringInfoDatum(uVar5,puVar14);" (call_expression "SetStringInfoDatum(uVar5,puVar14)" identifier (argument_list "(uVar5,puVar14)" ( identifier , identifier ))) ;) (break_statement "break;" break ;)) (case_statement "case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);" case number_literal : (expression_statement "uVar5 = AcquireStringInfo(uVar16);" (assignment_expression "uVar5 = AcquireStringInfo(uVar16)" identifier = (call_expression "AcquireStringInfo(uVar16)" identifier (argument_list "(uVar16)" ( identifier )))) ;) (expression_statement "SetStringInfoDatum(uVar5,puVar14);" (call_expression "SetStringInfoDatum(uVar5,puVar14)" identifier (argument_list "(uVar5,puVar14)" ( identifier , identifier ))) ;)) })) (expression_statement "puVar14 = (uint *)((int)puVar14 + uVar16);" (assignment_expression "puVar14 = (uint *)((int)puVar14 + uVar16)" identifier = (cast_expression "(uint *)((int)puVar14 + uVar16)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar14 + uVar16)" ( (binary_expression "(int)puVar14 + uVar16" (cast_expression "(int)puVar14" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "FUN_00129820(1,param_5);" (call_expression "FUN_00129820(1,param_5)" identifier (argument_list "(1,param_5)" ( number_literal , identifier ))) ;) (expression_statement "DestroyStringInfo(uVar5);" (call_expression "DestroyStringInfo(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (labeled_statement "code_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);" statement_identifier : (expression_statement "uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);" (assignment_expression "uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0)" identifier = (binary_expression "(int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0)" (cast_expression "(int)puVar14" ( (type_descriptor "int" primitive_type) ) identifier) + (call_expression "(uint)((uVar1 >> 0x18 & 1) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uVar1 >> 0x18 & 1) != 0)" ( (binary_expression "(uVar1 >> 0x18 & 1) != 0" (parenthesized_expression "(uVar1 >> 0x18 & 1)" ( (binary_expression "uVar1 >> 0x18 & 1" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) & number_literal) )) != number_literal) ))))) ;)) })) }) (else_clause "else if (param_4 == 0) {\n      FUN_00129530();\n    }" else (if_statement "if (param_4 == 0) {\n      FUN_00129530();\n    }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n      FUN_00129530();\n    }" { (expression_statement "FUN_00129530();" (call_expression "FUN_00129530()" identifier (argument_list "()" ( ))) ;) })))) })) (labeled_statement "LAB_00129940:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\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 iVar6;\n  }" { (return_statement "return iVar6;" 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 "ExceptionType": Some values do not have unique names */\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 "LogEventType": Some values do not have unique names */\n\nMagickBooleanType __regparm3\nSetImageProfileInternal\n          (Image *image,char *name,StringInfo *profile,MagickBooleanType recursive,\n          ExceptionInfo *exception)\n\n{\n  int iVar1;\n  uint uVar2;\n  float fVar3;\n  float fVar4;\n  float fVar5;\n  uint uVar6;\n  StringInfo *pSVar7;\n  int iVar8;\n  char *pcVar9;\n  MagickBooleanType MVar10;\n  StringInfo *string_info;\n  char *pcVar11;\n  SplayTreeInfo *pSVar12;\n  uchar *puVar13;\n  size_t sVar14;\n  uint *puVar15;\n  uint *source;\n  uchar *puVar16;\n  uint uVar17;\n  int in_GS_OFFSET;\n  char key [4096];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/profile.c","SetImageProfileInternal",0x79d,"%s",\n                   image->filename);\n  }\n  pSVar7 = CloneStringInfo(profile);\n  iVar8 = LocaleCompare(name,"xmp");\n  if (iVar8 == 0) {\n    puVar16 = GetStringInfoDatum(pSVar7);\n    pcVar9 = strstr((char *)puVar16,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      puVar16 = GetStringInfoDatum(pSVar7);\n      pcVar11 = (char *)GetStringInfoLength(pSVar7);\n      if (pcVar9 + (0x13 - (int)puVar16) != pcVar11) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(pSVar7,(size_t)(pcVar9 + (0x13 - (int)puVar16)));\n      }\n    }\nLAB_00129a48:\n    iVar8 = LocaleCompare(name,"xmp");\n    if (iVar8 == 0) {\n      MVar10 = MagickTrue;\n      ThrowMagickException\n                (exception,"MagickCore/profile.c","ValidateXMPProfile",0x787,MissingDelegateError,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",image->filename);\n      DestroyStringInfo(pSVar7);\n      goto LAB_00129940;\n    }\n  }\n  else {\n    iVar8 = LocaleCompare(name,"exif");\n    if (iVar8 == 0) {\n      puVar16 = GetStringInfoDatum(pSVar7);\n      iVar8 = LocaleNCompare((char *)puVar16,"MM",2);\n      if ((iVar8 == 0) || (iVar8 = LocaleNCompare((char *)puVar16,"II",2), iVar8 == 0)) {\n        key[0] = (char)DAT_002c3c40;\n        key[1] = DAT_002c3c40._1_1_;\n        key[2] = DAT_002c3c40._2_1_;\n        key[3] = DAT_002c3c40._3_1_;\n        key[4] = (char)DAT_002c3c44;\n        key[5] = DAT_002c3c44._1_1_;\n        key[6] = DAT_002c3c46;\n        string_info = AcquireStringInfo(6);\n        if (string_info != (StringInfo *)0x0) {\n          SetStringInfoDatum(string_info,(uchar *)key);\n          ConcatenateStringInfo(string_info,pSVar7);\n          sVar14 = GetStringInfoLength(string_info);\n          SetStringInfoLength(pSVar7,sVar14);\n          SetStringInfo(pSVar7,string_info);\n          DestroyStringInfo(string_info);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }\n  if (image->profiles == (void *)0x0) {\n    pSVar12 = NewSplayTree((_func_int_void_ptr_void_ptr *)PTR_CompareSplayTreeString_003d8fb8,\n                           (_func_void_ptr_void_ptr *)PTR_RelinquishMagickMemory_003d8fd8,\n                           DestroyProfile);\n    image->profiles = pSVar12;\n  }\n  CopyMagickString(key,name,0x1000);\n  LocaleLower(key);\n  pcVar9 = ConstantString(key);\n  MVar10 = AddValueToSplayTree((SplayTreeInfo *)image->profiles,pcVar9,pSVar7);\n  if (MVar10 != MagickFalse) {\n    iVar8 = LocaleCompare(name,"8bim");\n    if (iVar8 == 0) {\n      puVar13 = GetStringInfoDatum(pSVar7);\n      sVar14 = GetStringInfoLength(pSVar7);\n      puVar16 = puVar13;\n      while ((puVar16 < puVar13 + (sVar14 - 0x10) &&\n             (iVar8 = LocaleNCompare((char *)puVar16,"8BIM",4), fVar4 = DAT_002c3ee4, iVar8 == 0)))\n      {\n        puVar15 = (uint *)(puVar16 + ((puVar16[6] + 8) - (uint)((puVar16[6] + 1 & 1) == 0)));\n        if (puVar13 + (sVar14 - 4) < puVar15) break;\n        uVar2 = *puVar15;\n        source = puVar15 + 1;\n        uVar17 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n        if (((puVar13 + (sVar14 - uVar17) < source) || ((int)sVar14 < (int)uVar17)) ||\n           ((int)uVar17 < 0)) break;\n        switch(*(ushort *)(puVar16 + 4) << 8 | *(ushort *)(puVar16 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar17) {\n            uVar17 = puVar15[1];\n            source = puVar15 + 5;\n            fVar3 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * DAT_002c3ee4;\n            (image->resolution).x = (double)fVar3;\n            uVar17 = puVar15[3];\n            uVar6 = puVar15[2];\n            fVar4 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * fVar4;\n            (image->resolution).y = (double)fVar4;\n            if ((short)uVar6 == 0x200) {\n              fVar5 = (float)_DAT_002b7d50;\n              image->units = PixelsPerCentimeterResolution;\n              (image->resolution).x = (double)(fVar3 / fVar5);\n              (image->resolution).y = (double)(fVar4 / fVar5);\n            }\n            else {\n              image->units = PixelsPerInchResolution;\n            }\n          }\n          goto LAB_00129c82;\n        default:\n          source = (uint *)((int)source + uVar17);\n          goto LAB_00129c82;\n        case 0x404:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "iptc";\n          break;\n        case 0x40f:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "icc";\n          break;\n        case 0x422:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "exif";\n          break;\n        case 0x424:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "xmp";\n        }\n        source = (uint *)((int)source + uVar17);\n        SetImageProfileInternal(image,pcVar9,pSVar7,MagickTrue,exception);\n        DestroyStringInfo(pSVar7);\nLAB_00129c82:\n        puVar16 = (uchar *)((int)source + (uint)((uVar2 >> 0x18 & 1) != 0));\n      }\n    }\n    else if (recursive == MagickFalse) {\n      WriteTo8BimProfile(image,name,pSVar7);\n    }\n  }\nLAB_00129940:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return MVar10;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment comment comment comment comment comment comment (function_definition "MagickBooleanType __regparm3\nSetImageProfileInternal\n          (Image *image,char *name,StringInfo *profile,MagickBooleanType recursive,\n          ExceptionInfo *exception)\n\n{\n  int iVar1;\n  uint uVar2;\n  float fVar3;\n  float fVar4;\n  float fVar5;\n  uint uVar6;\n  StringInfo *pSVar7;\n  int iVar8;\n  char *pcVar9;\n  MagickBooleanType MVar10;\n  StringInfo *string_info;\n  char *pcVar11;\n  SplayTreeInfo *pSVar12;\n  uchar *puVar13;\n  size_t sVar14;\n  uint *puVar15;\n  uint *source;\n  uchar *puVar16;\n  uint uVar17;\n  int in_GS_OFFSET;\n  char key [4096];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/profile.c","SetImageProfileInternal",0x79d,"%s",\n                   image->filename);\n  }\n  pSVar7 = CloneStringInfo(profile);\n  iVar8 = LocaleCompare(name,"xmp");\n  if (iVar8 == 0) {\n    puVar16 = GetStringInfoDatum(pSVar7);\n    pcVar9 = strstr((char *)puVar16,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      puVar16 = GetStringInfoDatum(pSVar7);\n      pcVar11 = (char *)GetStringInfoLength(pSVar7);\n      if (pcVar9 + (0x13 - (int)puVar16) != pcVar11) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(pSVar7,(size_t)(pcVar9 + (0x13 - (int)puVar16)));\n      }\n    }\nLAB_00129a48:\n    iVar8 = LocaleCompare(name,"xmp");\n    if (iVar8 == 0) {\n      MVar10 = MagickTrue;\n      ThrowMagickException\n                (exception,"MagickCore/profile.c","ValidateXMPProfile",0x787,MissingDelegateError,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",image->filename);\n      DestroyStringInfo(pSVar7);\n      goto LAB_00129940;\n    }\n  }\n  else {\n    iVar8 = LocaleCompare(name,"exif");\n    if (iVar8 == 0) {\n      puVar16 = GetStringInfoDatum(pSVar7);\n      iVar8 = LocaleNCompare((char *)puVar16,"MM",2);\n      if ((iVar8 == 0) || (iVar8 = LocaleNCompare((char *)puVar16,"II",2), iVar8 == 0)) {\n        key[0] = (char)DAT_002c3c40;\n        key[1] = DAT_002c3c40._1_1_;\n        key[2] = DAT_002c3c40._2_1_;\n        key[3] = DAT_002c3c40._3_1_;\n        key[4] = (char)DAT_002c3c44;\n        key[5] = DAT_002c3c44._1_1_;\n        key[6] = DAT_002c3c46;\n        string_info = AcquireStringInfo(6);\n        if (string_info != (StringInfo *)0x0) {\n          SetStringInfoDatum(string_info,(uchar *)key);\n          ConcatenateStringInfo(string_info,pSVar7);\n          sVar14 = GetStringInfoLength(string_info);\n          SetStringInfoLength(pSVar7,sVar14);\n          SetStringInfo(pSVar7,string_info);\n          DestroyStringInfo(string_info);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }\n  if (image->profiles == (void *)0x0) {\n    pSVar12 = NewSplayTree((_func_int_void_ptr_void_ptr *)PTR_CompareSplayTreeString_003d8fb8,\n                           (_func_void_ptr_void_ptr *)PTR_RelinquishMagickMemory_003d8fd8,\n                           DestroyProfile);\n    image->profiles = pSVar12;\n  }\n  CopyMagickString(key,name,0x1000);\n  LocaleLower(key);\n  pcVar9 = ConstantString(key);\n  MVar10 = AddValueToSplayTree((SplayTreeInfo *)image->profiles,pcVar9,pSVar7);\n  if (MVar10 != MagickFalse) {\n    iVar8 = LocaleCompare(name,"8bim");\n    if (iVar8 == 0) {\n      puVar13 = GetStringInfoDatum(pSVar7);\n      sVar14 = GetStringInfoLength(pSVar7);\n      puVar16 = puVar13;\n      while ((puVar16 < puVar13 + (sVar14 - 0x10) &&\n             (iVar8 = LocaleNCompare((char *)puVar16,"8BIM",4), fVar4 = DAT_002c3ee4, iVar8 == 0)))\n      {\n        puVar15 = (uint *)(puVar16 + ((puVar16[6] + 8) - (uint)((puVar16[6] + 1 & 1) == 0)));\n        if (puVar13 + (sVar14 - 4) < puVar15) break;\n        uVar2 = *puVar15;\n        source = puVar15 + 1;\n        uVar17 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n        if (((puVar13 + (sVar14 - uVar17) < source) || ((int)sVar14 < (int)uVar17)) ||\n           ((int)uVar17 < 0)) break;\n        switch(*(ushort *)(puVar16 + 4) << 8 | *(ushort *)(puVar16 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar17) {\n            uVar17 = puVar15[1];\n            source = puVar15 + 5;\n            fVar3 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * DAT_002c3ee4;\n            (image->resolution).x = (double)fVar3;\n            uVar17 = puVar15[3];\n            uVar6 = puVar15[2];\n            fVar4 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * fVar4;\n            (image->resolution).y = (double)fVar4;\n            if ((short)uVar6 == 0x200) {\n              fVar5 = (float)_DAT_002b7d50;\n              image->units = PixelsPerCentimeterResolution;\n              (image->resolution).x = (double)(fVar3 / fVar5);\n              (image->resolution).y = (double)(fVar4 / fVar5);\n            }\n            else {\n              image->units = PixelsPerInchResolution;\n            }\n          }\n          goto LAB_00129c82;\n        default:\n          source = (uint *)((int)source + uVar17);\n          goto LAB_00129c82;\n        case 0x404:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "iptc";\n          break;\n        case 0x40f:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "icc";\n          break;\n        case 0x422:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "exif";\n          break;\n        case 0x424:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "xmp";\n        }\n        source = (uint *)((int)source + uVar17);\n        SetImageProfileInternal(image,pcVar9,pSVar7,MagickTrue,exception);\n        DestroyStringInfo(pSVar7);\nLAB_00129c82:\n        puVar16 = (uchar *)((int)source + (uint)((uVar2 >> 0x18 & 1) != 0));\n      }\n    }\n    else if (recursive == MagickFalse) {\n      WriteTo8BimProfile(image,name,pSVar7);\n    }\n  }\nLAB_00129940:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return MVar10;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "SetImageProfileInternal\n          (Image *image,char *name,StringInfo *profile,MagickBooleanType recursive,\n          ExceptionInfo *exception)" identifier (parameter_list "(Image *image,char *name,StringInfo *profile,MagickBooleanType recursive,\n          ExceptionInfo *exception)" ( (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "StringInfo *profile" type_identifier (pointer_declarator "*profile" * identifier)) , (parameter_declaration "MagickBooleanType recursive" type_identifier identifier) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  float fVar3;\n  float fVar4;\n  float fVar5;\n  uint uVar6;\n  StringInfo *pSVar7;\n  int iVar8;\n  char *pcVar9;\n  MagickBooleanType MVar10;\n  StringInfo *string_info;\n  char *pcVar11;\n  SplayTreeInfo *pSVar12;\n  uchar *puVar13;\n  size_t sVar14;\n  uint *puVar15;\n  uint *source;\n  uchar *puVar16;\n  uint uVar17;\n  int in_GS_OFFSET;\n  char key [4096];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/profile.c","SetImageProfileInternal",0x79d,"%s",\n                   image->filename);\n  }\n  pSVar7 = CloneStringInfo(profile);\n  iVar8 = LocaleCompare(name,"xmp");\n  if (iVar8 == 0) {\n    puVar16 = GetStringInfoDatum(pSVar7);\n    pcVar9 = strstr((char *)puVar16,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      puVar16 = GetStringInfoDatum(pSVar7);\n      pcVar11 = (char *)GetStringInfoLength(pSVar7);\n      if (pcVar9 + (0x13 - (int)puVar16) != pcVar11) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(pSVar7,(size_t)(pcVar9 + (0x13 - (int)puVar16)));\n      }\n    }\nLAB_00129a48:\n    iVar8 = LocaleCompare(name,"xmp");\n    if (iVar8 == 0) {\n      MVar10 = MagickTrue;\n      ThrowMagickException\n                (exception,"MagickCore/profile.c","ValidateXMPProfile",0x787,MissingDelegateError,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",image->filename);\n      DestroyStringInfo(pSVar7);\n      goto LAB_00129940;\n    }\n  }\n  else {\n    iVar8 = LocaleCompare(name,"exif");\n    if (iVar8 == 0) {\n      puVar16 = GetStringInfoDatum(pSVar7);\n      iVar8 = LocaleNCompare((char *)puVar16,"MM",2);\n      if ((iVar8 == 0) || (iVar8 = LocaleNCompare((char *)puVar16,"II",2), iVar8 == 0)) {\n        key[0] = (char)DAT_002c3c40;\n        key[1] = DAT_002c3c40._1_1_;\n        key[2] = DAT_002c3c40._2_1_;\n        key[3] = DAT_002c3c40._3_1_;\n        key[4] = (char)DAT_002c3c44;\n        key[5] = DAT_002c3c44._1_1_;\n        key[6] = DAT_002c3c46;\n        string_info = AcquireStringInfo(6);\n        if (string_info != (StringInfo *)0x0) {\n          SetStringInfoDatum(string_info,(uchar *)key);\n          ConcatenateStringInfo(string_info,pSVar7);\n          sVar14 = GetStringInfoLength(string_info);\n          SetStringInfoLength(pSVar7,sVar14);\n          SetStringInfo(pSVar7,string_info);\n          DestroyStringInfo(string_info);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }\n  if (image->profiles == (void *)0x0) {\n    pSVar12 = NewSplayTree((_func_int_void_ptr_void_ptr *)PTR_CompareSplayTreeString_003d8fb8,\n                           (_func_void_ptr_void_ptr *)PTR_RelinquishMagickMemory_003d8fd8,\n                           DestroyProfile);\n    image->profiles = pSVar12;\n  }\n  CopyMagickString(key,name,0x1000);\n  LocaleLower(key);\n  pcVar9 = ConstantString(key);\n  MVar10 = AddValueToSplayTree((SplayTreeInfo *)image->profiles,pcVar9,pSVar7);\n  if (MVar10 != MagickFalse) {\n    iVar8 = LocaleCompare(name,"8bim");\n    if (iVar8 == 0) {\n      puVar13 = GetStringInfoDatum(pSVar7);\n      sVar14 = GetStringInfoLength(pSVar7);\n      puVar16 = puVar13;\n      while ((puVar16 < puVar13 + (sVar14 - 0x10) &&\n             (iVar8 = LocaleNCompare((char *)puVar16,"8BIM",4), fVar4 = DAT_002c3ee4, iVar8 == 0)))\n      {\n        puVar15 = (uint *)(puVar16 + ((puVar16[6] + 8) - (uint)((puVar16[6] + 1 & 1) == 0)));\n        if (puVar13 + (sVar14 - 4) < puVar15) break;\n        uVar2 = *puVar15;\n        source = puVar15 + 1;\n        uVar17 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n        if (((puVar13 + (sVar14 - uVar17) < source) || ((int)sVar14 < (int)uVar17)) ||\n           ((int)uVar17 < 0)) break;\n        switch(*(ushort *)(puVar16 + 4) << 8 | *(ushort *)(puVar16 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar17) {\n            uVar17 = puVar15[1];\n            source = puVar15 + 5;\n            fVar3 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * DAT_002c3ee4;\n            (image->resolution).x = (double)fVar3;\n            uVar17 = puVar15[3];\n            uVar6 = puVar15[2];\n            fVar4 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * fVar4;\n            (image->resolution).y = (double)fVar4;\n            if ((short)uVar6 == 0x200) {\n              fVar5 = (float)_DAT_002b7d50;\n              image->units = PixelsPerCentimeterResolution;\n              (image->resolution).x = (double)(fVar3 / fVar5);\n              (image->resolution).y = (double)(fVar4 / fVar5);\n            }\n            else {\n              image->units = PixelsPerInchResolution;\n            }\n          }\n          goto LAB_00129c82;\n        default:\n          source = (uint *)((int)source + uVar17);\n          goto LAB_00129c82;\n        case 0x404:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "iptc";\n          break;\n        case 0x40f:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "icc";\n          break;\n        case 0x422:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "exif";\n          break;\n        case 0x424:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "xmp";\n        }\n        source = (uint *)((int)source + uVar17);\n        SetImageProfileInternal(image,pcVar9,pSVar7,MagickTrue,exception);\n        DestroyStringInfo(pSVar7);\nLAB_00129c82:\n        puVar16 = (uchar *)((int)source + (uint)((uVar2 >> 0x18 & 1) != 0));\n      }\n    }\n    else if (recursive == MagickFalse) {\n      WriteTo8BimProfile(image,name,pSVar7);\n    }\n  }\nLAB_00129940:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return MVar10;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "float fVar3;" primitive_type identifier ;) (declaration "float fVar4;" primitive_type identifier ;) (declaration "float fVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "StringInfo *pSVar7;" type_identifier (pointer_declarator "*pSVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "MagickBooleanType MVar10;" type_identifier identifier ;) (declaration "StringInfo *string_info;" type_identifier (pointer_declarator "*string_info" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "SplayTreeInfo *pSVar12;" type_identifier (pointer_declarator "*pSVar12" * identifier) ;) (declaration "uchar *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "size_t sVar14;" primitive_type identifier ;) (declaration "uint *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "uint *source;" type_identifier (pointer_declarator "*source" * identifier) ;) (declaration "uchar *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" 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) ))))) ;) (if_statement "if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }" if (parenthesized_expression "(image == (Image *)0x0)" ( (binary_expression "image == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal")" identifier (argument_list "("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/profile.c"" " string_content ") , number_literal , (string_literal ""SetImageProfileInternal"" " string_content ") ))) ;) })) (if_statement "if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }" if (parenthesized_expression "(image->signature != 0xabacadab)" ( (binary_expression "image->signature != 0xabacadab" (field_expression "image->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }" { comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/profile.c"" " string_content ") , number_literal , (string_literal ""SetImageProfileInternal"" " string_content ") ))) ;) })) (if_statement "if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/profile.c","SetImageProfileInternal",0x79d,"%s",\n                   image->filename);\n  }" if (parenthesized_expression "(image->debug != MagickFalse)" ( (binary_expression "image->debug != MagickFalse" (field_expression "image->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    LogMagickEvent(TraceEvent,"MagickCore/profile.c","SetImageProfileInternal",0x79d,"%s",\n                   image->filename);\n  }" { (expression_statement "LogMagickEvent(TraceEvent,"MagickCore/profile.c","SetImageProfileInternal",0x79d,"%s",\n                   image->filename);" (call_expression "LogMagickEvent(TraceEvent,"MagickCore/profile.c","SetImageProfileInternal",0x79d,"%s",\n                   image->filename)" identifier (argument_list "(TraceEvent,"MagickCore/profile.c","SetImageProfileInternal",0x79d,"%s",\n                   image->filename)" ( identifier , (string_literal ""MagickCore/profile.c"" " string_content ") , (string_literal ""SetImageProfileInternal"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "image->filename" identifier -> field_identifier) ))) ;) })) (expression_statement "pSVar7 = CloneStringInfo(profile);" (assignment_expression "pSVar7 = CloneStringInfo(profile)" identifier = (call_expression "CloneStringInfo(profile)" identifier (argument_list "(profile)" ( identifier )))) ;) (expression_statement "iVar8 = LocaleCompare(name,"xmp");" (assignment_expression "iVar8 = LocaleCompare(name,"xmp")" identifier = (call_expression "LocaleCompare(name,"xmp")" identifier (argument_list "(name,"xmp")" ( identifier , (string_literal ""xmp"" " string_content ") )))) ;) (if_statement "if (iVar8 == 0) {\n    puVar16 = GetStringInfoDatum(pSVar7);\n    pcVar9 = strstr((char *)puVar16,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      puVar16 = GetStringInfoDatum(pSVar7);\n      pcVar11 = (char *)GetStringInfoLength(pSVar7);\n      if (pcVar9 + (0x13 - (int)puVar16) != pcVar11) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(pSVar7,(size_t)(pcVar9 + (0x13 - (int)puVar16)));\n      }\n    }\nLAB_00129a48:\n    iVar8 = LocaleCompare(name,"xmp");\n    if (iVar8 == 0) {\n      MVar10 = MagickTrue;\n      ThrowMagickException\n                (exception,"MagickCore/profile.c","ValidateXMPProfile",0x787,MissingDelegateError,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",image->filename);\n      DestroyStringInfo(pSVar7);\n      goto LAB_00129940;\n    }\n  }\n  else {\n    iVar8 = LocaleCompare(name,"exif");\n    if (iVar8 == 0) {\n      puVar16 = GetStringInfoDatum(pSVar7);\n      iVar8 = LocaleNCompare((char *)puVar16,"MM",2);\n      if ((iVar8 == 0) || (iVar8 = LocaleNCompare((char *)puVar16,"II",2), iVar8 == 0)) {\n        key[0] = (char)DAT_002c3c40;\n        key[1] = DAT_002c3c40._1_1_;\n        key[2] = DAT_002c3c40._2_1_;\n        key[3] = DAT_002c3c40._3_1_;\n        key[4] = (char)DAT_002c3c44;\n        key[5] = DAT_002c3c44._1_1_;\n        key[6] = DAT_002c3c46;\n        string_info = AcquireStringInfo(6);\n        if (string_info != (StringInfo *)0x0) {\n          SetStringInfoDatum(string_info,(uchar *)key);\n          ConcatenateStringInfo(string_info,pSVar7);\n          sVar14 = GetStringInfoLength(string_info);\n          SetStringInfoLength(pSVar7,sVar14);\n          SetStringInfo(pSVar7,string_info);\n          DestroyStringInfo(string_info);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar16 = GetStringInfoDatum(pSVar7);\n    pcVar9 = strstr((char *)puVar16,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      puVar16 = GetStringInfoDatum(pSVar7);\n      pcVar11 = (char *)GetStringInfoLength(pSVar7);\n      if (pcVar9 + (0x13 - (int)puVar16) != pcVar11) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(pSVar7,(size_t)(pcVar9 + (0x13 - (int)puVar16)));\n      }\n    }\nLAB_00129a48:\n    iVar8 = LocaleCompare(name,"xmp");\n    if (iVar8 == 0) {\n      MVar10 = MagickTrue;\n      ThrowMagickException\n                (exception,"MagickCore/profile.c","ValidateXMPProfile",0x787,MissingDelegateError,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",image->filename);\n      DestroyStringInfo(pSVar7);\n      goto LAB_00129940;\n    }\n  }" { (expression_statement "puVar16 = GetStringInfoDatum(pSVar7);" (assignment_expression "puVar16 = GetStringInfoDatum(pSVar7)" identifier = (call_expression "GetStringInfoDatum(pSVar7)" identifier (argument_list "(pSVar7)" ( identifier )))) ;) (expression_statement "pcVar9 = strstr((char *)puVar16,"<?xpacket end=\"w\"?>");" (assignment_expression "pcVar9 = strstr((char *)puVar16,"<?xpacket end=\"w\"?>")" identifier = (call_expression "strstr((char *)puVar16,"<?xpacket end=\"w\"?>")" identifier (argument_list "((char *)puVar16,"<?xpacket end=\"w\"?>")" ( (cast_expression "(char *)puVar16" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""<?xpacket end=\"w\"?>"" " string_content escape_sequence string_content escape_sequence string_content ") )))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\n      puVar16 = GetStringInfoDatum(pSVar7);\n      pcVar11 = (char *)GetStringInfoLength(pSVar7);\n      if (pcVar9 + (0x13 - (int)puVar16) != pcVar11) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(pSVar7,(size_t)(pcVar9 + (0x13 - (int)puVar16)));\n      }\n    }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar16 = GetStringInfoDatum(pSVar7);\n      pcVar11 = (char *)GetStringInfoLength(pSVar7);\n      if (pcVar9 + (0x13 - (int)puVar16) != pcVar11) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(pSVar7,(size_t)(pcVar9 + (0x13 - (int)puVar16)));\n      }\n    }" { (expression_statement "puVar16 = GetStringInfoDatum(pSVar7);" (assignment_expression "puVar16 = GetStringInfoDatum(pSVar7)" identifier = (call_expression "GetStringInfoDatum(pSVar7)" identifier (argument_list "(pSVar7)" ( identifier )))) ;) (expression_statement "pcVar11 = (char *)GetStringInfoLength(pSVar7);" (assignment_expression "pcVar11 = (char *)GetStringInfoLength(pSVar7)" identifier = (cast_expression "(char *)GetStringInfoLength(pSVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetStringInfoLength(pSVar7)" identifier (argument_list "(pSVar7)" ( identifier ))))) ;) (if_statement "if (pcVar9 + (0x13 - (int)puVar16) != pcVar11) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(pSVar7,(size_t)(pcVar9 + (0x13 - (int)puVar16)));\n      }" if (parenthesized_expression "(pcVar9 + (0x13 - (int)puVar16) != pcVar11)" ( (binary_expression "pcVar9 + (0x13 - (int)puVar16) != pcVar11" (binary_expression "pcVar9 + (0x13 - (int)puVar16)" identifier + (parenthesized_expression "(0x13 - (int)puVar16)" ( (binary_expression "0x13 - (int)puVar16" number_literal - (cast_expression "(int)puVar16" ( (type_descriptor "int" primitive_type) ) identifier)) ))) != identifier) )) (compound_statement "{\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(pSVar7,(size_t)(pcVar9 + (0x13 - (int)puVar16)));\n      }" { (expression_statement "pcVar9[0x13] = '\0';" (assignment_expression "pcVar9[0x13] = '\0'" (subscript_expression "pcVar9[0x13]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "SetStringInfoLength(pSVar7,(size_t)(pcVar9 + (0x13 - (int)puVar16)));" (call_expression "SetStringInfoLength(pSVar7,(size_t)(pcVar9 + (0x13 - (int)puVar16)))" identifier (argument_list "(pSVar7,(size_t)(pcVar9 + (0x13 - (int)puVar16)))" ( identifier , (cast_expression "(size_t)(pcVar9 + (0x13 - (int)puVar16))" ( (type_descriptor "size_t" primitive_type) ) (parenthesized_expression "(pcVar9 + (0x13 - (int)puVar16))" ( (binary_expression "pcVar9 + (0x13 - (int)puVar16)" identifier + (parenthesized_expression "(0x13 - (int)puVar16)" ( (binary_expression "0x13 - (int)puVar16" number_literal - (cast_expression "(int)puVar16" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) ))) ;) })) })) (labeled_statement "LAB_00129a48:\n    iVar8 = LocaleCompare(name,"xmp");" statement_identifier : (expression_statement "iVar8 = LocaleCompare(name,"xmp");" (assignment_expression "iVar8 = LocaleCompare(name,"xmp")" identifier = (call_expression "LocaleCompare(name,"xmp")" identifier (argument_list "(name,"xmp")" ( identifier , (string_literal ""xmp"" " string_content ") )))) ;)) (if_statement "if (iVar8 == 0) {\n      MVar10 = MagickTrue;\n      ThrowMagickException\n                (exception,"MagickCore/profile.c","ValidateXMPProfile",0x787,MissingDelegateError,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",image->filename);\n      DestroyStringInfo(pSVar7);\n      goto LAB_00129940;\n    }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      MVar10 = MagickTrue;\n      ThrowMagickException\n                (exception,"MagickCore/profile.c","ValidateXMPProfile",0x787,MissingDelegateError,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",image->filename);\n      DestroyStringInfo(pSVar7);\n      goto LAB_00129940;\n    }" { (expression_statement "MVar10 = MagickTrue;" (assignment_expression "MVar10 = MagickTrue" identifier = identifier) ;) (expression_statement "ThrowMagickException\n                (exception,"MagickCore/profile.c","ValidateXMPProfile",0x787,MissingDelegateError,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",image->filename);" (call_expression "ThrowMagickException\n                (exception,"MagickCore/profile.c","ValidateXMPProfile",0x787,MissingDelegateError,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",image->filename)" identifier (argument_list "(exception,"MagickCore/profile.c","ValidateXMPProfile",0x787,MissingDelegateError,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",image->filename)" ( identifier , (string_literal ""MagickCore/profile.c"" " string_content ") , (string_literal ""ValidateXMPProfile"" " string_content ") , number_literal , identifier , (string_literal ""DelegateLibrarySupportNotBuiltIn"" " string_content ") , (string_literal ""\'%s\' (XML)"" " escape_sequence string_content escape_sequence string_content ") , (field_expression "image->filename" identifier -> field_identifier) ))) ;) (expression_statement "DestroyStringInfo(pSVar7);" (call_expression "DestroyStringInfo(pSVar7)" identifier (argument_list "(pSVar7)" ( identifier ))) ;) (goto_statement "goto LAB_00129940;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar8 = LocaleCompare(name,"exif");\n    if (iVar8 == 0) {\n      puVar16 = GetStringInfoDatum(pSVar7);\n      iVar8 = LocaleNCompare((char *)puVar16,"MM",2);\n      if ((iVar8 == 0) || (iVar8 = LocaleNCompare((char *)puVar16,"II",2), iVar8 == 0)) {\n        key[0] = (char)DAT_002c3c40;\n        key[1] = DAT_002c3c40._1_1_;\n        key[2] = DAT_002c3c40._2_1_;\n        key[3] = DAT_002c3c40._3_1_;\n        key[4] = (char)DAT_002c3c44;\n        key[5] = DAT_002c3c44._1_1_;\n        key[6] = DAT_002c3c46;\n        string_info = AcquireStringInfo(6);\n        if (string_info != (StringInfo *)0x0) {\n          SetStringInfoDatum(string_info,(uchar *)key);\n          ConcatenateStringInfo(string_info,pSVar7);\n          sVar14 = GetStringInfoLength(string_info);\n          SetStringInfoLength(pSVar7,sVar14);\n          SetStringInfo(pSVar7,string_info);\n          DestroyStringInfo(string_info);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }" else (compound_statement "{\n    iVar8 = LocaleCompare(name,"exif");\n    if (iVar8 == 0) {\n      puVar16 = GetStringInfoDatum(pSVar7);\n      iVar8 = LocaleNCompare((char *)puVar16,"MM",2);\n      if ((iVar8 == 0) || (iVar8 = LocaleNCompare((char *)puVar16,"II",2), iVar8 == 0)) {\n        key[0] = (char)DAT_002c3c40;\n        key[1] = DAT_002c3c40._1_1_;\n        key[2] = DAT_002c3c40._2_1_;\n        key[3] = DAT_002c3c40._3_1_;\n        key[4] = (char)DAT_002c3c44;\n        key[5] = DAT_002c3c44._1_1_;\n        key[6] = DAT_002c3c46;\n        string_info = AcquireStringInfo(6);\n        if (string_info != (StringInfo *)0x0) {\n          SetStringInfoDatum(string_info,(uchar *)key);\n          ConcatenateStringInfo(string_info,pSVar7);\n          sVar14 = GetStringInfoLength(string_info);\n          SetStringInfoLength(pSVar7,sVar14);\n          SetStringInfo(pSVar7,string_info);\n          DestroyStringInfo(string_info);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }" { (expression_statement "iVar8 = LocaleCompare(name,"exif");" (assignment_expression "iVar8 = LocaleCompare(name,"exif")" identifier = (call_expression "LocaleCompare(name,"exif")" identifier (argument_list "(name,"exif")" ( identifier , (string_literal ""exif"" " string_content ") )))) ;) (if_statement "if (iVar8 == 0) {\n      puVar16 = GetStringInfoDatum(pSVar7);\n      iVar8 = LocaleNCompare((char *)puVar16,"MM",2);\n      if ((iVar8 == 0) || (iVar8 = LocaleNCompare((char *)puVar16,"II",2), iVar8 == 0)) {\n        key[0] = (char)DAT_002c3c40;\n        key[1] = DAT_002c3c40._1_1_;\n        key[2] = DAT_002c3c40._2_1_;\n        key[3] = DAT_002c3c40._3_1_;\n        key[4] = (char)DAT_002c3c44;\n        key[5] = DAT_002c3c44._1_1_;\n        key[6] = DAT_002c3c46;\n        string_info = AcquireStringInfo(6);\n        if (string_info != (StringInfo *)0x0) {\n          SetStringInfoDatum(string_info,(uchar *)key);\n          ConcatenateStringInfo(string_info,pSVar7);\n          sVar14 = GetStringInfoLength(string_info);\n          SetStringInfoLength(pSVar7,sVar14);\n          SetStringInfo(pSVar7,string_info);\n          DestroyStringInfo(string_info);\n        }\n      }\n      goto LAB_00129a48;\n    }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      puVar16 = GetStringInfoDatum(pSVar7);\n      iVar8 = LocaleNCompare((char *)puVar16,"MM",2);\n      if ((iVar8 == 0) || (iVar8 = LocaleNCompare((char *)puVar16,"II",2), iVar8 == 0)) {\n        key[0] = (char)DAT_002c3c40;\n        key[1] = DAT_002c3c40._1_1_;\n        key[2] = DAT_002c3c40._2_1_;\n        key[3] = DAT_002c3c40._3_1_;\n        key[4] = (char)DAT_002c3c44;\n        key[5] = DAT_002c3c44._1_1_;\n        key[6] = DAT_002c3c46;\n        string_info = AcquireStringInfo(6);\n        if (string_info != (StringInfo *)0x0) {\n          SetStringInfoDatum(string_info,(uchar *)key);\n          ConcatenateStringInfo(string_info,pSVar7);\n          sVar14 = GetStringInfoLength(string_info);\n          SetStringInfoLength(pSVar7,sVar14);\n          SetStringInfo(pSVar7,string_info);\n          DestroyStringInfo(string_info);\n        }\n      }\n      goto LAB_00129a48;\n    }" { (expression_statement "puVar16 = GetStringInfoDatum(pSVar7);" (assignment_expression "puVar16 = GetStringInfoDatum(pSVar7)" identifier = (call_expression "GetStringInfoDatum(pSVar7)" identifier (argument_list "(pSVar7)" ( identifier )))) ;) (expression_statement "iVar8 = LocaleNCompare((char *)puVar16,"MM",2);" (assignment_expression "iVar8 = LocaleNCompare((char *)puVar16,"MM",2)" identifier = (call_expression "LocaleNCompare((char *)puVar16,"MM",2)" identifier (argument_list "((char *)puVar16,"MM",2)" ( (cast_expression "(char *)puVar16" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""MM"" " string_content ") , number_literal )))) ;) (if_statement "if ((iVar8 == 0) || (iVar8 = LocaleNCompare((char *)puVar16,"II",2), iVar8 == 0)) {\n        key[0] = (char)DAT_002c3c40;\n        key[1] = DAT_002c3c40._1_1_;\n        key[2] = DAT_002c3c40._2_1_;\n        key[3] = DAT_002c3c40._3_1_;\n        key[4] = (char)DAT_002c3c44;\n        key[5] = DAT_002c3c44._1_1_;\n        key[6] = DAT_002c3c46;\n        string_info = AcquireStringInfo(6);\n        if (string_info != (StringInfo *)0x0) {\n          SetStringInfoDatum(string_info,(uchar *)key);\n          ConcatenateStringInfo(string_info,pSVar7);\n          sVar14 = GetStringInfoLength(string_info);\n          SetStringInfoLength(pSVar7,sVar14);\n          SetStringInfo(pSVar7,string_info);\n          DestroyStringInfo(string_info);\n        }\n      }" if (parenthesized_expression "((iVar8 == 0) || (iVar8 = LocaleNCompare((char *)puVar16,"II",2), iVar8 == 0))" ( (binary_expression "(iVar8 == 0) || (iVar8 = LocaleNCompare((char *)puVar16,"II",2), iVar8 == 0)" (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar8 = LocaleNCompare((char *)puVar16,"II",2), iVar8 == 0)" ( (comma_expression "iVar8 = LocaleNCompare((char *)puVar16,"II",2), iVar8 == 0" (assignment_expression "iVar8 = LocaleNCompare((char *)puVar16,"II",2)" identifier = (call_expression "LocaleNCompare((char *)puVar16,"II",2)" identifier (argument_list "((char *)puVar16,"II",2)" ( (cast_expression "(char *)puVar16" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""II"" " string_content ") , number_literal )))) , (binary_expression "iVar8 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        key[0] = (char)DAT_002c3c40;\n        key[1] = DAT_002c3c40._1_1_;\n        key[2] = DAT_002c3c40._2_1_;\n        key[3] = DAT_002c3c40._3_1_;\n        key[4] = (char)DAT_002c3c44;\n        key[5] = DAT_002c3c44._1_1_;\n        key[6] = DAT_002c3c46;\n        string_info = AcquireStringInfo(6);\n        if (string_info != (StringInfo *)0x0) {\n          SetStringInfoDatum(string_info,(uchar *)key);\n          ConcatenateStringInfo(string_info,pSVar7);\n          sVar14 = GetStringInfoLength(string_info);\n          SetStringInfoLength(pSVar7,sVar14);\n          SetStringInfo(pSVar7,string_info);\n          DestroyStringInfo(string_info);\n        }\n      }" { (expression_statement "key[0] = (char)DAT_002c3c40;" (assignment_expression "key[0] = (char)DAT_002c3c40" (subscript_expression "key[0]" identifier [ number_literal ]) = (cast_expression "(char)DAT_002c3c40" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "key[1] = DAT_002c3c40._1_1_;" (assignment_expression "key[1] = DAT_002c3c40._1_1_" (subscript_expression "key[1]" identifier [ number_literal ]) = (field_expression "DAT_002c3c40._1_1_" identifier . field_identifier)) ;) (expression_statement "key[2] = DAT_002c3c40._2_1_;" (assignment_expression "key[2] = DAT_002c3c40._2_1_" (subscript_expression "key[2]" identifier [ number_literal ]) = (field_expression "DAT_002c3c40._2_1_" identifier . field_identifier)) ;) (expression_statement "key[3] = DAT_002c3c40._3_1_;" (assignment_expression "key[3] = DAT_002c3c40._3_1_" (subscript_expression "key[3]" identifier [ number_literal ]) = (field_expression "DAT_002c3c40._3_1_" identifier . field_identifier)) ;) (expression_statement "key[4] = (char)DAT_002c3c44;" (assignment_expression "key[4] = (char)DAT_002c3c44" (subscript_expression "key[4]" identifier [ number_literal ]) = (cast_expression "(char)DAT_002c3c44" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "key[5] = DAT_002c3c44._1_1_;" (assignment_expression "key[5] = DAT_002c3c44._1_1_" (subscript_expression "key[5]" identifier [ number_literal ]) = (field_expression "DAT_002c3c44._1_1_" identifier . field_identifier)) ;) (expression_statement "key[6] = DAT_002c3c46;" (assignment_expression "key[6] = DAT_002c3c46" (subscript_expression "key[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "string_info = AcquireStringInfo(6);" (assignment_expression "string_info = AcquireStringInfo(6)" identifier = (call_expression "AcquireStringInfo(6)" identifier (argument_list "(6)" ( number_literal )))) ;) (if_statement "if (string_info != (StringInfo *)0x0) {\n          SetStringInfoDatum(string_info,(uchar *)key);\n          ConcatenateStringInfo(string_info,pSVar7);\n          sVar14 = GetStringInfoLength(string_info);\n          SetStringInfoLength(pSVar7,sVar14);\n          SetStringInfo(pSVar7,string_info);\n          DestroyStringInfo(string_info);\n        }" if (parenthesized_expression "(string_info != (StringInfo *)0x0)" ( (binary_expression "string_info != (StringInfo *)0x0" identifier != (cast_expression "(StringInfo *)0x0" ( (type_descriptor "StringInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          SetStringInfoDatum(string_info,(uchar *)key);\n          ConcatenateStringInfo(string_info,pSVar7);\n          sVar14 = GetStringInfoLength(string_info);\n          SetStringInfoLength(pSVar7,sVar14);\n          SetStringInfo(pSVar7,string_info);\n          DestroyStringInfo(string_info);\n        }" { (expression_statement "SetStringInfoDatum(string_info,(uchar *)key);" (call_expression "SetStringInfoDatum(string_info,(uchar *)key)" identifier (argument_list "(string_info,(uchar *)key)" ( identifier , (cast_expression "(uchar *)key" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "ConcatenateStringInfo(string_info,pSVar7);" (call_expression "ConcatenateStringInfo(string_info,pSVar7)" identifier (argument_list "(string_info,pSVar7)" ( identifier , identifier ))) ;) (expression_statement "sVar14 = GetStringInfoLength(string_info);" (assignment_expression "sVar14 = GetStringInfoLength(string_info)" identifier = (call_expression "GetStringInfoLength(string_info)" identifier (argument_list "(string_info)" ( identifier )))) ;) (expression_statement "SetStringInfoLength(pSVar7,sVar14);" (call_expression "SetStringInfoLength(pSVar7,sVar14)" identifier (argument_list "(pSVar7,sVar14)" ( identifier , identifier ))) ;) (expression_statement "SetStringInfo(pSVar7,string_info);" (call_expression "SetStringInfo(pSVar7,string_info)" identifier (argument_list "(pSVar7,string_info)" ( identifier , identifier ))) ;) (expression_statement "DestroyStringInfo(string_info);" (call_expression "DestroyStringInfo(string_info)" identifier (argument_list "(string_info)" ( identifier ))) ;) })) })) (goto_statement "goto LAB_00129a48;" goto statement_identifier ;) })) }))) (if_statement "if (image->profiles == (void *)0x0) {\n    pSVar12 = NewSplayTree((_func_int_void_ptr_void_ptr *)PTR_CompareSplayTreeString_003d8fb8,\n                           (_func_void_ptr_void_ptr *)PTR_RelinquishMagickMemory_003d8fd8,\n                           DestroyProfile);\n    image->profiles = pSVar12;\n  }" if (parenthesized_expression "(image->profiles == (void *)0x0)" ( (binary_expression "image->profiles == (void *)0x0" (field_expression "image->profiles" identifier -> field_identifier) == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pSVar12 = NewSplayTree((_func_int_void_ptr_void_ptr *)PTR_CompareSplayTreeString_003d8fb8,\n                           (_func_void_ptr_void_ptr *)PTR_RelinquishMagickMemory_003d8fd8,\n                           DestroyProfile);\n    image->profiles = pSVar12;\n  }" { (expression_statement "pSVar12 = NewSplayTree((_func_int_void_ptr_void_ptr *)PTR_CompareSplayTreeString_003d8fb8,\n                           (_func_void_ptr_void_ptr *)PTR_RelinquishMagickMemory_003d8fd8,\n                           DestroyProfile);" (assignment_expression "pSVar12 = NewSplayTree((_func_int_void_ptr_void_ptr *)PTR_CompareSplayTreeString_003d8fb8,\n                           (_func_void_ptr_void_ptr *)PTR_RelinquishMagickMemory_003d8fd8,\n                           DestroyProfile)" identifier = (call_expression "NewSplayTree((_func_int_void_ptr_void_ptr *)PTR_CompareSplayTreeString_003d8fb8,\n                           (_func_void_ptr_void_ptr *)PTR_RelinquishMagickMemory_003d8fd8,\n                           DestroyProfile)" identifier (argument_list "((_func_int_void_ptr_void_ptr *)PTR_CompareSplayTreeString_003d8fb8,\n                           (_func_void_ptr_void_ptr *)PTR_RelinquishMagickMemory_003d8fd8,\n                           DestroyProfile)" ( (cast_expression "(_func_int_void_ptr_void_ptr *)PTR_CompareSplayTreeString_003d8fb8" ( (type_descriptor "_func_int_void_ptr_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(_func_void_ptr_void_ptr *)PTR_RelinquishMagickMemory_003d8fd8" ( (type_descriptor "_func_void_ptr_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) ;) (expression_statement "image->profiles = pSVar12;" (assignment_expression "image->profiles = pSVar12" (field_expression "image->profiles" identifier -> field_identifier) = identifier) ;) })) (expression_statement "CopyMagickString(key,name,0x1000);" (call_expression "CopyMagickString(key,name,0x1000)" identifier (argument_list "(key,name,0x1000)" ( identifier , identifier , number_literal ))) ;) (expression_statement "LocaleLower(key);" (call_expression "LocaleLower(key)" identifier (argument_list "(key)" ( identifier ))) ;) (expression_statement "pcVar9 = ConstantString(key);" (assignment_expression "pcVar9 = ConstantString(key)" identifier = (call_expression "ConstantString(key)" identifier (argument_list "(key)" ( identifier )))) ;) (expression_statement "MVar10 = AddValueToSplayTree((SplayTreeInfo *)image->profiles,pcVar9,pSVar7);" (assignment_expression "MVar10 = AddValueToSplayTree((SplayTreeInfo *)image->profiles,pcVar9,pSVar7)" identifier = (call_expression "AddValueToSplayTree((SplayTreeInfo *)image->profiles,pcVar9,pSVar7)" identifier (argument_list "((SplayTreeInfo *)image->profiles,pcVar9,pSVar7)" ( (cast_expression "(SplayTreeInfo *)image->profiles" ( (type_descriptor "SplayTreeInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "image->profiles" identifier -> field_identifier)) , identifier , identifier )))) ;) (if_statement "if (MVar10 != MagickFalse) {\n    iVar8 = LocaleCompare(name,"8bim");\n    if (iVar8 == 0) {\n      puVar13 = GetStringInfoDatum(pSVar7);\n      sVar14 = GetStringInfoLength(pSVar7);\n      puVar16 = puVar13;\n      while ((puVar16 < puVar13 + (sVar14 - 0x10) &&\n             (iVar8 = LocaleNCompare((char *)puVar16,"8BIM",4), fVar4 = DAT_002c3ee4, iVar8 == 0)))\n      {\n        puVar15 = (uint *)(puVar16 + ((puVar16[6] + 8) - (uint)((puVar16[6] + 1 & 1) == 0)));\n        if (puVar13 + (sVar14 - 4) < puVar15) break;\n        uVar2 = *puVar15;\n        source = puVar15 + 1;\n        uVar17 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n        if (((puVar13 + (sVar14 - uVar17) < source) || ((int)sVar14 < (int)uVar17)) ||\n           ((int)uVar17 < 0)) break;\n        switch(*(ushort *)(puVar16 + 4) << 8 | *(ushort *)(puVar16 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar17) {\n            uVar17 = puVar15[1];\n            source = puVar15 + 5;\n            fVar3 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * DAT_002c3ee4;\n            (image->resolution).x = (double)fVar3;\n            uVar17 = puVar15[3];\n            uVar6 = puVar15[2];\n            fVar4 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * fVar4;\n            (image->resolution).y = (double)fVar4;\n            if ((short)uVar6 == 0x200) {\n              fVar5 = (float)_DAT_002b7d50;\n              image->units = PixelsPerCentimeterResolution;\n              (image->resolution).x = (double)(fVar3 / fVar5);\n              (image->resolution).y = (double)(fVar4 / fVar5);\n            }\n            else {\n              image->units = PixelsPerInchResolution;\n            }\n          }\n          goto LAB_00129c82;\n        default:\n          source = (uint *)((int)source + uVar17);\n          goto LAB_00129c82;\n        case 0x404:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "iptc";\n          break;\n        case 0x40f:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "icc";\n          break;\n        case 0x422:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "exif";\n          break;\n        case 0x424:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "xmp";\n        }\n        source = (uint *)((int)source + uVar17);\n        SetImageProfileInternal(image,pcVar9,pSVar7,MagickTrue,exception);\n        DestroyStringInfo(pSVar7);\nLAB_00129c82:\n        puVar16 = (uchar *)((int)source + (uint)((uVar2 >> 0x18 & 1) != 0));\n      }\n    }\n    else if (recursive == MagickFalse) {\n      WriteTo8BimProfile(image,name,pSVar7);\n    }\n  }" if (parenthesized_expression "(MVar10 != MagickFalse)" ( (binary_expression "MVar10 != MagickFalse" identifier != identifier) )) (compound_statement "{\n    iVar8 = LocaleCompare(name,"8bim");\n    if (iVar8 == 0) {\n      puVar13 = GetStringInfoDatum(pSVar7);\n      sVar14 = GetStringInfoLength(pSVar7);\n      puVar16 = puVar13;\n      while ((puVar16 < puVar13 + (sVar14 - 0x10) &&\n             (iVar8 = LocaleNCompare((char *)puVar16,"8BIM",4), fVar4 = DAT_002c3ee4, iVar8 == 0)))\n      {\n        puVar15 = (uint *)(puVar16 + ((puVar16[6] + 8) - (uint)((puVar16[6] + 1 & 1) == 0)));\n        if (puVar13 + (sVar14 - 4) < puVar15) break;\n        uVar2 = *puVar15;\n        source = puVar15 + 1;\n        uVar17 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n        if (((puVar13 + (sVar14 - uVar17) < source) || ((int)sVar14 < (int)uVar17)) ||\n           ((int)uVar17 < 0)) break;\n        switch(*(ushort *)(puVar16 + 4) << 8 | *(ushort *)(puVar16 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar17) {\n            uVar17 = puVar15[1];\n            source = puVar15 + 5;\n            fVar3 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * DAT_002c3ee4;\n            (image->resolution).x = (double)fVar3;\n            uVar17 = puVar15[3];\n            uVar6 = puVar15[2];\n            fVar4 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * fVar4;\n            (image->resolution).y = (double)fVar4;\n            if ((short)uVar6 == 0x200) {\n              fVar5 = (float)_DAT_002b7d50;\n              image->units = PixelsPerCentimeterResolution;\n              (image->resolution).x = (double)(fVar3 / fVar5);\n              (image->resolution).y = (double)(fVar4 / fVar5);\n            }\n            else {\n              image->units = PixelsPerInchResolution;\n            }\n          }\n          goto LAB_00129c82;\n        default:\n          source = (uint *)((int)source + uVar17);\n          goto LAB_00129c82;\n        case 0x404:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "iptc";\n          break;\n        case 0x40f:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "icc";\n          break;\n        case 0x422:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "exif";\n          break;\n        case 0x424:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "xmp";\n        }\n        source = (uint *)((int)source + uVar17);\n        SetImageProfileInternal(image,pcVar9,pSVar7,MagickTrue,exception);\n        DestroyStringInfo(pSVar7);\nLAB_00129c82:\n        puVar16 = (uchar *)((int)source + (uint)((uVar2 >> 0x18 & 1) != 0));\n      }\n    }\n    else if (recursive == MagickFalse) {\n      WriteTo8BimProfile(image,name,pSVar7);\n    }\n  }" { (expression_statement "iVar8 = LocaleCompare(name,"8bim");" (assignment_expression "iVar8 = LocaleCompare(name,"8bim")" identifier = (call_expression "LocaleCompare(name,"8bim")" identifier (argument_list "(name,"8bim")" ( identifier , (string_literal ""8bim"" " string_content ") )))) ;) (if_statement "if (iVar8 == 0) {\n      puVar13 = GetStringInfoDatum(pSVar7);\n      sVar14 = GetStringInfoLength(pSVar7);\n      puVar16 = puVar13;\n      while ((puVar16 < puVar13 + (sVar14 - 0x10) &&\n             (iVar8 = LocaleNCompare((char *)puVar16,"8BIM",4), fVar4 = DAT_002c3ee4, iVar8 == 0)))\n      {\n        puVar15 = (uint *)(puVar16 + ((puVar16[6] + 8) - (uint)((puVar16[6] + 1 & 1) == 0)));\n        if (puVar13 + (sVar14 - 4) < puVar15) break;\n        uVar2 = *puVar15;\n        source = puVar15 + 1;\n        uVar17 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n        if (((puVar13 + (sVar14 - uVar17) < source) || ((int)sVar14 < (int)uVar17)) ||\n           ((int)uVar17 < 0)) break;\n        switch(*(ushort *)(puVar16 + 4) << 8 | *(ushort *)(puVar16 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar17) {\n            uVar17 = puVar15[1];\n            source = puVar15 + 5;\n            fVar3 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * DAT_002c3ee4;\n            (image->resolution).x = (double)fVar3;\n            uVar17 = puVar15[3];\n            uVar6 = puVar15[2];\n            fVar4 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * fVar4;\n            (image->resolution).y = (double)fVar4;\n            if ((short)uVar6 == 0x200) {\n              fVar5 = (float)_DAT_002b7d50;\n              image->units = PixelsPerCentimeterResolution;\n              (image->resolution).x = (double)(fVar3 / fVar5);\n              (image->resolution).y = (double)(fVar4 / fVar5);\n            }\n            else {\n              image->units = PixelsPerInchResolution;\n            }\n          }\n          goto LAB_00129c82;\n        default:\n          source = (uint *)((int)source + uVar17);\n          goto LAB_00129c82;\n        case 0x404:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "iptc";\n          break;\n        case 0x40f:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "icc";\n          break;\n        case 0x422:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "exif";\n          break;\n        case 0x424:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "xmp";\n        }\n        source = (uint *)((int)source + uVar17);\n        SetImageProfileInternal(image,pcVar9,pSVar7,MagickTrue,exception);\n        DestroyStringInfo(pSVar7);\nLAB_00129c82:\n        puVar16 = (uchar *)((int)source + (uint)((uVar2 >> 0x18 & 1) != 0));\n      }\n    }\n    else if (recursive == MagickFalse) {\n      WriteTo8BimProfile(image,name,pSVar7);\n    }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      puVar13 = GetStringInfoDatum(pSVar7);\n      sVar14 = GetStringInfoLength(pSVar7);\n      puVar16 = puVar13;\n      while ((puVar16 < puVar13 + (sVar14 - 0x10) &&\n             (iVar8 = LocaleNCompare((char *)puVar16,"8BIM",4), fVar4 = DAT_002c3ee4, iVar8 == 0)))\n      {\n        puVar15 = (uint *)(puVar16 + ((puVar16[6] + 8) - (uint)((puVar16[6] + 1 & 1) == 0)));\n        if (puVar13 + (sVar14 - 4) < puVar15) break;\n        uVar2 = *puVar15;\n        source = puVar15 + 1;\n        uVar17 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n        if (((puVar13 + (sVar14 - uVar17) < source) || ((int)sVar14 < (int)uVar17)) ||\n           ((int)uVar17 < 0)) break;\n        switch(*(ushort *)(puVar16 + 4) << 8 | *(ushort *)(puVar16 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar17) {\n            uVar17 = puVar15[1];\n            source = puVar15 + 5;\n            fVar3 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * DAT_002c3ee4;\n            (image->resolution).x = (double)fVar3;\n            uVar17 = puVar15[3];\n            uVar6 = puVar15[2];\n            fVar4 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * fVar4;\n            (image->resolution).y = (double)fVar4;\n            if ((short)uVar6 == 0x200) {\n              fVar5 = (float)_DAT_002b7d50;\n              image->units = PixelsPerCentimeterResolution;\n              (image->resolution).x = (double)(fVar3 / fVar5);\n              (image->resolution).y = (double)(fVar4 / fVar5);\n            }\n            else {\n              image->units = PixelsPerInchResolution;\n            }\n          }\n          goto LAB_00129c82;\n        default:\n          source = (uint *)((int)source + uVar17);\n          goto LAB_00129c82;\n        case 0x404:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "iptc";\n          break;\n        case 0x40f:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "icc";\n          break;\n        case 0x422:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "exif";\n          break;\n        case 0x424:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "xmp";\n        }\n        source = (uint *)((int)source + uVar17);\n        SetImageProfileInternal(image,pcVar9,pSVar7,MagickTrue,exception);\n        DestroyStringInfo(pSVar7);\nLAB_00129c82:\n        puVar16 = (uchar *)((int)source + (uint)((uVar2 >> 0x18 & 1) != 0));\n      }\n    }" { (expression_statement "puVar13 = GetStringInfoDatum(pSVar7);" (assignment_expression "puVar13 = GetStringInfoDatum(pSVar7)" identifier = (call_expression "GetStringInfoDatum(pSVar7)" identifier (argument_list "(pSVar7)" ( identifier )))) ;) (expression_statement "sVar14 = GetStringInfoLength(pSVar7);" (assignment_expression "sVar14 = GetStringInfoLength(pSVar7)" identifier = (call_expression "GetStringInfoLength(pSVar7)" identifier (argument_list "(pSVar7)" ( identifier )))) ;) (expression_statement "puVar16 = puVar13;" (assignment_expression "puVar16 = puVar13" identifier = identifier) ;) (while_statement "while ((puVar16 < puVar13 + (sVar14 - 0x10) &&\n             (iVar8 = LocaleNCompare((char *)puVar16,"8BIM",4), fVar4 = DAT_002c3ee4, iVar8 == 0)))\n      {\n        puVar15 = (uint *)(puVar16 + ((puVar16[6] + 8) - (uint)((puVar16[6] + 1 & 1) == 0)));\n        if (puVar13 + (sVar14 - 4) < puVar15) break;\n        uVar2 = *puVar15;\n        source = puVar15 + 1;\n        uVar17 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n        if (((puVar13 + (sVar14 - uVar17) < source) || ((int)sVar14 < (int)uVar17)) ||\n           ((int)uVar17 < 0)) break;\n        switch(*(ushort *)(puVar16 + 4) << 8 | *(ushort *)(puVar16 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar17) {\n            uVar17 = puVar15[1];\n            source = puVar15 + 5;\n            fVar3 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * DAT_002c3ee4;\n            (image->resolution).x = (double)fVar3;\n            uVar17 = puVar15[3];\n            uVar6 = puVar15[2];\n            fVar4 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * fVar4;\n            (image->resolution).y = (double)fVar4;\n            if ((short)uVar6 == 0x200) {\n              fVar5 = (float)_DAT_002b7d50;\n              image->units = PixelsPerCentimeterResolution;\n              (image->resolution).x = (double)(fVar3 / fVar5);\n              (image->resolution).y = (double)(fVar4 / fVar5);\n            }\n            else {\n              image->units = PixelsPerInchResolution;\n            }\n          }\n          goto LAB_00129c82;\n        default:\n          source = (uint *)((int)source + uVar17);\n          goto LAB_00129c82;\n        case 0x404:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "iptc";\n          break;\n        case 0x40f:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "icc";\n          break;\n        case 0x422:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "exif";\n          break;\n        case 0x424:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "xmp";\n        }\n        source = (uint *)((int)source + uVar17);\n        SetImageProfileInternal(image,pcVar9,pSVar7,MagickTrue,exception);\n        DestroyStringInfo(pSVar7);\nLAB_00129c82:\n        puVar16 = (uchar *)((int)source + (uint)((uVar2 >> 0x18 & 1) != 0));\n      }" while (parenthesized_expression "((puVar16 < puVar13 + (sVar14 - 0x10) &&\n             (iVar8 = LocaleNCompare((char *)puVar16,"8BIM",4), fVar4 = DAT_002c3ee4, iVar8 == 0)))" ( (parenthesized_expression "(puVar16 < puVar13 + (sVar14 - 0x10) &&\n             (iVar8 = LocaleNCompare((char *)puVar16,"8BIM",4), fVar4 = DAT_002c3ee4, iVar8 == 0))" ( (binary_expression "puVar16 < puVar13 + (sVar14 - 0x10) &&\n             (iVar8 = LocaleNCompare((char *)puVar16,"8BIM",4), fVar4 = DAT_002c3ee4, iVar8 == 0)" (binary_expression "puVar16 < puVar13 + (sVar14 - 0x10)" identifier < (binary_expression "puVar13 + (sVar14 - 0x10)" identifier + (parenthesized_expression "(sVar14 - 0x10)" ( (binary_expression "sVar14 - 0x10" identifier - number_literal) )))) && (parenthesized_expression "(iVar8 = LocaleNCompare((char *)puVar16,"8BIM",4), fVar4 = DAT_002c3ee4, iVar8 == 0)" ( (comma_expression "iVar8 = LocaleNCompare((char *)puVar16,"8BIM",4), fVar4 = DAT_002c3ee4, iVar8 == 0" (assignment_expression "iVar8 = LocaleNCompare((char *)puVar16,"8BIM",4)" identifier = (call_expression "LocaleNCompare((char *)puVar16,"8BIM",4)" identifier (argument_list "((char *)puVar16,"8BIM",4)" ( (cast_expression "(char *)puVar16" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""8BIM"" " string_content ") , number_literal )))) , (comma_expression "fVar4 = DAT_002c3ee4, iVar8 == 0" (assignment_expression "fVar4 = DAT_002c3ee4" identifier = identifier) , (binary_expression "iVar8 == 0" identifier == number_literal))) ))) )) )) (compound_statement "{\n        puVar15 = (uint *)(puVar16 + ((puVar16[6] + 8) - (uint)((puVar16[6] + 1 & 1) == 0)));\n        if (puVar13 + (sVar14 - 4) < puVar15) break;\n        uVar2 = *puVar15;\n        source = puVar15 + 1;\n        uVar17 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n        if (((puVar13 + (sVar14 - uVar17) < source) || ((int)sVar14 < (int)uVar17)) ||\n           ((int)uVar17 < 0)) break;\n        switch(*(ushort *)(puVar16 + 4) << 8 | *(ushort *)(puVar16 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar17) {\n            uVar17 = puVar15[1];\n            source = puVar15 + 5;\n            fVar3 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * DAT_002c3ee4;\n            (image->resolution).x = (double)fVar3;\n            uVar17 = puVar15[3];\n            uVar6 = puVar15[2];\n            fVar4 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * fVar4;\n            (image->resolution).y = (double)fVar4;\n            if ((short)uVar6 == 0x200) {\n              fVar5 = (float)_DAT_002b7d50;\n              image->units = PixelsPerCentimeterResolution;\n              (image->resolution).x = (double)(fVar3 / fVar5);\n              (image->resolution).y = (double)(fVar4 / fVar5);\n            }\n            else {\n              image->units = PixelsPerInchResolution;\n            }\n          }\n          goto LAB_00129c82;\n        default:\n          source = (uint *)((int)source + uVar17);\n          goto LAB_00129c82;\n        case 0x404:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "iptc";\n          break;\n        case 0x40f:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "icc";\n          break;\n        case 0x422:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "exif";\n          break;\n        case 0x424:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "xmp";\n        }\n        source = (uint *)((int)source + uVar17);\n        SetImageProfileInternal(image,pcVar9,pSVar7,MagickTrue,exception);\n        DestroyStringInfo(pSVar7);\nLAB_00129c82:\n        puVar16 = (uchar *)((int)source + (uint)((uVar2 >> 0x18 & 1) != 0));\n      }" { (expression_statement "puVar15 = (uint *)(puVar16 + ((puVar16[6] + 8) - (uint)((puVar16[6] + 1 & 1) == 0)));" (assignment_expression "puVar15 = (uint *)(puVar16 + ((puVar16[6] + 8) - (uint)((puVar16[6] + 1 & 1) == 0)))" identifier = (cast_expression "(uint *)(puVar16 + ((puVar16[6] + 8) - (uint)((puVar16[6] + 1 & 1) == 0)))" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + ((puVar16[6] + 8) - (uint)((puVar16[6] + 1 & 1) == 0)))" ( (binary_expression "puVar16 + ((puVar16[6] + 8) - (uint)((puVar16[6] + 1 & 1) == 0))" identifier + (parenthesized_expression "((puVar16[6] + 8) - (uint)((puVar16[6] + 1 & 1) == 0))" ( (binary_expression "(puVar16[6] + 8) - (uint)((puVar16[6] + 1 & 1) == 0)" (parenthesized_expression "(puVar16[6] + 8)" ( (binary_expression "puVar16[6] + 8" (subscript_expression "puVar16[6]" identifier [ number_literal ]) + number_literal) )) - (call_expression "(uint)((puVar16[6] + 1 & 1) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((puVar16[6] + 1 & 1) == 0)" ( (binary_expression "(puVar16[6] + 1 & 1) == 0" (parenthesized_expression "(puVar16[6] + 1 & 1)" ( (binary_expression "puVar16[6] + 1 & 1" (binary_expression "puVar16[6] + 1" (subscript_expression "puVar16[6]" identifier [ number_literal ]) + number_literal) & number_literal) )) == number_literal) )))) ))) )))) ;) (if_statement "if (puVar13 + (sVar14 - 4) < puVar15) break;" if (parenthesized_expression "(puVar13 + (sVar14 - 4) < puVar15)" ( (binary_expression "puVar13 + (sVar14 - 4) < puVar15" (binary_expression "puVar13 + (sVar14 - 4)" identifier + (parenthesized_expression "(sVar14 - 4)" ( (binary_expression "sVar14 - 4" identifier - number_literal) ))) < identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar2 = *puVar15;" (assignment_expression "uVar2 = *puVar15" identifier = (pointer_expression "*puVar15" * identifier)) ;) (expression_statement "source = puVar15 + 1;" (assignment_expression "source = puVar15 + 1" identifier = (binary_expression "puVar15 + 1" identifier + number_literal)) ;) (expression_statement "uVar17 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;" (assignment_expression "uVar17 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" identifier = (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 << 0x18" identifier << number_literal))) ;) (if_statement "if (((puVar13 + (sVar14 - uVar17) < source) || ((int)sVar14 < (int)uVar17)) ||\n           ((int)uVar17 < 0)) break;" if (parenthesized_expression "(((puVar13 + (sVar14 - uVar17) < source) || ((int)sVar14 < (int)uVar17)) ||\n           ((int)uVar17 < 0))" ( (binary_expression "((puVar13 + (sVar14 - uVar17) < source) || ((int)sVar14 < (int)uVar17)) ||\n           ((int)uVar17 < 0)" (parenthesized_expression "((puVar13 + (sVar14 - uVar17) < source) || ((int)sVar14 < (int)uVar17))" ( (binary_expression "(puVar13 + (sVar14 - uVar17) < source) || ((int)sVar14 < (int)uVar17)" (parenthesized_expression "(puVar13 + (sVar14 - uVar17) < source)" ( (binary_expression "puVar13 + (sVar14 - uVar17) < source" (binary_expression "puVar13 + (sVar14 - uVar17)" identifier + (parenthesized_expression "(sVar14 - uVar17)" ( (binary_expression "sVar14 - uVar17" identifier - identifier) ))) < identifier) )) || (parenthesized_expression "((int)sVar14 < (int)uVar17)" ( (binary_expression "(int)sVar14 < (int)uVar17" (cast_expression "(int)sVar14" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)uVar17" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) || (parenthesized_expression "((int)uVar17 < 0)" ( (binary_expression "(int)uVar17 < 0" (cast_expression "(int)uVar17" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) ))) )) (break_statement "break;" break ;)) (switch_statement "switch(*(ushort *)(puVar16 + 4) << 8 | *(ushort *)(puVar16 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar17) {\n            uVar17 = puVar15[1];\n            source = puVar15 + 5;\n            fVar3 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * DAT_002c3ee4;\n            (image->resolution).x = (double)fVar3;\n            uVar17 = puVar15[3];\n            uVar6 = puVar15[2];\n            fVar4 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * fVar4;\n            (image->resolution).y = (double)fVar4;\n            if ((short)uVar6 == 0x200) {\n              fVar5 = (float)_DAT_002b7d50;\n              image->units = PixelsPerCentimeterResolution;\n              (image->resolution).x = (double)(fVar3 / fVar5);\n              (image->resolution).y = (double)(fVar4 / fVar5);\n            }\n            else {\n              image->units = PixelsPerInchResolution;\n            }\n          }\n          goto LAB_00129c82;\n        default:\n          source = (uint *)((int)source + uVar17);\n          goto LAB_00129c82;\n        case 0x404:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "iptc";\n          break;\n        case 0x40f:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "icc";\n          break;\n        case 0x422:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "exif";\n          break;\n        case 0x424:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "xmp";\n        }" switch (parenthesized_expression "(*(ushort *)(puVar16 + 4) << 8 | *(ushort *)(puVar16 + 4) >> 8)" ( (binary_expression "*(ushort *)(puVar16 + 4) << 8 | *(ushort *)(puVar16 + 4) >> 8" (binary_expression "*(ushort *)(puVar16 + 4) << 8" (pointer_expression "*(ushort *)(puVar16 + 4)" * (cast_expression "(ushort *)(puVar16 + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 4)" ( (binary_expression "puVar16 + 4" identifier + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)(puVar16 + 4) >> 8" (pointer_expression "*(ushort *)(puVar16 + 4)" * (cast_expression "(ushort *)(puVar16 + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 4)" ( (binary_expression "puVar16 + 4" identifier + number_literal) )))) >> number_literal)) )) (compound_statement "{\n        case 0x3ed:\n          if (9 < (int)uVar17) {\n            uVar17 = puVar15[1];\n            source = puVar15 + 5;\n            fVar3 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * DAT_002c3ee4;\n            (image->resolution).x = (double)fVar3;\n            uVar17 = puVar15[3];\n            uVar6 = puVar15[2];\n            fVar4 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * fVar4;\n            (image->resolution).y = (double)fVar4;\n            if ((short)uVar6 == 0x200) {\n              fVar5 = (float)_DAT_002b7d50;\n              image->units = PixelsPerCentimeterResolution;\n              (image->resolution).x = (double)(fVar3 / fVar5);\n              (image->resolution).y = (double)(fVar4 / fVar5);\n            }\n            else {\n              image->units = PixelsPerInchResolution;\n            }\n          }\n          goto LAB_00129c82;\n        default:\n          source = (uint *)((int)source + uVar17);\n          goto LAB_00129c82;\n        case 0x404:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "iptc";\n          break;\n        case 0x40f:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "icc";\n          break;\n        case 0x422:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "exif";\n          break;\n        case 0x424:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "xmp";\n        }" { (case_statement "case 0x3ed:\n          if (9 < (int)uVar17) {\n            uVar17 = puVar15[1];\n            source = puVar15 + 5;\n            fVar3 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * DAT_002c3ee4;\n            (image->resolution).x = (double)fVar3;\n            uVar17 = puVar15[3];\n            uVar6 = puVar15[2];\n            fVar4 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * fVar4;\n            (image->resolution).y = (double)fVar4;\n            if ((short)uVar6 == 0x200) {\n              fVar5 = (float)_DAT_002b7d50;\n              image->units = PixelsPerCentimeterResolution;\n              (image->resolution).x = (double)(fVar3 / fVar5);\n              (image->resolution).y = (double)(fVar4 / fVar5);\n            }\n            else {\n              image->units = PixelsPerInchResolution;\n            }\n          }\n          goto LAB_00129c82;" case number_literal : (if_statement "if (9 < (int)uVar17) {\n            uVar17 = puVar15[1];\n            source = puVar15 + 5;\n            fVar3 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * DAT_002c3ee4;\n            (image->resolution).x = (double)fVar3;\n            uVar17 = puVar15[3];\n            uVar6 = puVar15[2];\n            fVar4 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * fVar4;\n            (image->resolution).y = (double)fVar4;\n            if ((short)uVar6 == 0x200) {\n              fVar5 = (float)_DAT_002b7d50;\n              image->units = PixelsPerCentimeterResolution;\n              (image->resolution).x = (double)(fVar3 / fVar5);\n              (image->resolution).y = (double)(fVar4 / fVar5);\n            }\n            else {\n              image->units = PixelsPerInchResolution;\n            }\n          }" if (parenthesized_expression "(9 < (int)uVar17)" ( (binary_expression "9 < (int)uVar17" number_literal < (cast_expression "(int)uVar17" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n            uVar17 = puVar15[1];\n            source = puVar15 + 5;\n            fVar3 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * DAT_002c3ee4;\n            (image->resolution).x = (double)fVar3;\n            uVar17 = puVar15[3];\n            uVar6 = puVar15[2];\n            fVar4 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * fVar4;\n            (image->resolution).y = (double)fVar4;\n            if ((short)uVar6 == 0x200) {\n              fVar5 = (float)_DAT_002b7d50;\n              image->units = PixelsPerCentimeterResolution;\n              (image->resolution).x = (double)(fVar3 / fVar5);\n              (image->resolution).y = (double)(fVar4 / fVar5);\n            }\n            else {\n              image->units = PixelsPerInchResolution;\n            }\n          }" { (expression_statement "uVar17 = puVar15[1];" (assignment_expression "uVar17 = puVar15[1]" identifier = (subscript_expression "puVar15[1]" identifier [ number_literal ])) ;) (expression_statement "source = puVar15 + 5;" (assignment_expression "source = puVar15 + 5" identifier = (binary_expression "puVar15 + 5" identifier + number_literal)) ;) (expression_statement "fVar3 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * DAT_002c3ee4;" (assignment_expression "fVar3 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * DAT_002c3ee4" identifier = (binary_expression "(float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * DAT_002c3ee4" (cast_expression "(float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18)" ( (binary_expression "uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18" (binary_expression "uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8" (binary_expression "uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8" (binary_expression "uVar17 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar17 & 0xff0000) >> 8" (parenthesized_expression "(uVar17 & 0xff0000)" ( (binary_expression "uVar17 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar17 & 0xff00) << 8" (parenthesized_expression "(uVar17 & 0xff00)" ( (binary_expression "uVar17 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar17 << 0x18" identifier << number_literal)) ))) * identifier)) ;) (expression_statement "(image->resolution).x = (double)fVar3;" (assignment_expression "(image->resolution).x = (double)fVar3" (field_expression "(image->resolution).x" (parenthesized_expression "(image->resolution)" ( (field_expression "image->resolution" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(double)fVar3" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "uVar17 = puVar15[3];" (assignment_expression "uVar17 = puVar15[3]" identifier = (subscript_expression "puVar15[3]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = puVar15[2];" (assignment_expression "uVar6 = puVar15[2]" identifier = (subscript_expression "puVar15[2]" identifier [ number_literal ])) ;) (expression_statement "fVar4 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * fVar4;" (assignment_expression "fVar4 = (float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * fVar4" identifier = (binary_expression "(float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18) * fVar4" (cast_expression "(float)(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18)" ( (binary_expression "uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8 |\n                           uVar17 << 0x18" (binary_expression "uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8 | (uVar17 & 0xff00) << 8" (binary_expression "uVar17 >> 0x18 | (uVar17 & 0xff0000) >> 8" (binary_expression "uVar17 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar17 & 0xff0000) >> 8" (parenthesized_expression "(uVar17 & 0xff0000)" ( (binary_expression "uVar17 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar17 & 0xff00) << 8" (parenthesized_expression "(uVar17 & 0xff00)" ( (binary_expression "uVar17 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar17 << 0x18" identifier << number_literal)) ))) * identifier)) ;) (expression_statement "(image->resolution).y = (double)fVar4;" (assignment_expression "(image->resolution).y = (double)fVar4" (field_expression "(image->resolution).y" (parenthesized_expression "(image->resolution)" ( (field_expression "image->resolution" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(double)fVar4" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if ((short)uVar6 == 0x200) {\n              fVar5 = (float)_DAT_002b7d50;\n              image->units = PixelsPerCentimeterResolution;\n              (image->resolution).x = (double)(fVar3 / fVar5);\n              (image->resolution).y = (double)(fVar4 / fVar5);\n            }\n            else {\n              image->units = PixelsPerInchResolution;\n            }" if (parenthesized_expression "((short)uVar6 == 0x200)" ( (binary_expression "(short)uVar6 == 0x200" (cast_expression "(short)uVar6" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier) == number_literal) )) (compound_statement "{\n              fVar5 = (float)_DAT_002b7d50;\n              image->units = PixelsPerCentimeterResolution;\n              (image->resolution).x = (double)(fVar3 / fVar5);\n              (image->resolution).y = (double)(fVar4 / fVar5);\n            }" { (expression_statement "fVar5 = (float)_DAT_002b7d50;" (assignment_expression "fVar5 = (float)_DAT_002b7d50" identifier = (cast_expression "(float)_DAT_002b7d50" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (expression_statement "image->units = PixelsPerCentimeterResolution;" (assignment_expression "image->units = PixelsPerCentimeterResolution" (field_expression "image->units" identifier -> field_identifier) = identifier) ;) (expression_statement "(image->resolution).x = (double)(fVar3 / fVar5);" (assignment_expression "(image->resolution).x = (double)(fVar3 / fVar5)" (field_expression "(image->resolution).x" (parenthesized_expression "(image->resolution)" ( (field_expression "image->resolution" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(double)(fVar3 / fVar5)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(fVar3 / fVar5)" ( (binary_expression "fVar3 / fVar5" identifier / identifier) )))) ;) (expression_statement "(image->resolution).y = (double)(fVar4 / fVar5);" (assignment_expression "(image->resolution).y = (double)(fVar4 / fVar5)" (field_expression "(image->resolution).y" (parenthesized_expression "(image->resolution)" ( (field_expression "image->resolution" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(double)(fVar4 / fVar5)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(fVar4 / fVar5)" ( (binary_expression "fVar4 / fVar5" identifier / identifier) )))) ;) }) (else_clause "else {\n              image->units = PixelsPerInchResolution;\n            }" else (compound_statement "{\n              image->units = PixelsPerInchResolution;\n            }" { (expression_statement "image->units = PixelsPerInchResolution;" (assignment_expression "image->units = PixelsPerInchResolution" (field_expression "image->units" identifier -> field_identifier) = identifier) ;) }))) })) (goto_statement "goto LAB_00129c82;" goto statement_identifier ;)) (case_statement "default:\n          source = (uint *)((int)source + uVar17);\n          goto LAB_00129c82;" default : (expression_statement "source = (uint *)((int)source + uVar17);" (assignment_expression "source = (uint *)((int)source + uVar17)" identifier = (cast_expression "(uint *)((int)source + uVar17)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)source + uVar17)" ( (binary_expression "(int)source + uVar17" (cast_expression "(int)source" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (goto_statement "goto LAB_00129c82;" goto statement_identifier ;)) (case_statement "case 0x404:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "iptc";\n          break;" case number_literal : (expression_statement "pSVar7 = AcquireStringInfo(uVar17);" (assignment_expression "pSVar7 = AcquireStringInfo(uVar17)" identifier = (call_expression "AcquireStringInfo(uVar17)" identifier (argument_list "(uVar17)" ( identifier )))) ;) (expression_statement "SetStringInfoDatum(pSVar7,(uchar *)source);" (call_expression "SetStringInfoDatum(pSVar7,(uchar *)source)" identifier (argument_list "(pSVar7,(uchar *)source)" ( identifier , (cast_expression "(uchar *)source" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "pcVar9 = "iptc";" (assignment_expression "pcVar9 = "iptc"" identifier = (string_literal ""iptc"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0x40f:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "icc";\n          break;" case number_literal : (expression_statement "pSVar7 = AcquireStringInfo(uVar17);" (assignment_expression "pSVar7 = AcquireStringInfo(uVar17)" identifier = (call_expression "AcquireStringInfo(uVar17)" identifier (argument_list "(uVar17)" ( identifier )))) ;) (expression_statement "SetStringInfoDatum(pSVar7,(uchar *)source);" (call_expression "SetStringInfoDatum(pSVar7,(uchar *)source)" identifier (argument_list "(pSVar7,(uchar *)source)" ( identifier , (cast_expression "(uchar *)source" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "pcVar9 = "icc";" (assignment_expression "pcVar9 = "icc"" identifier = (string_literal ""icc"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0x422:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "exif";\n          break;" case number_literal : (expression_statement "pSVar7 = AcquireStringInfo(uVar17);" (assignment_expression "pSVar7 = AcquireStringInfo(uVar17)" identifier = (call_expression "AcquireStringInfo(uVar17)" identifier (argument_list "(uVar17)" ( identifier )))) ;) (expression_statement "SetStringInfoDatum(pSVar7,(uchar *)source);" (call_expression "SetStringInfoDatum(pSVar7,(uchar *)source)" identifier (argument_list "(pSVar7,(uchar *)source)" ( identifier , (cast_expression "(uchar *)source" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "pcVar9 = "exif";" (assignment_expression "pcVar9 = "exif"" identifier = (string_literal ""exif"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0x424:\n          pSVar7 = AcquireStringInfo(uVar17);\n          SetStringInfoDatum(pSVar7,(uchar *)source);\n          pcVar9 = "xmp";" case number_literal : (expression_statement "pSVar7 = AcquireStringInfo(uVar17);" (assignment_expression "pSVar7 = AcquireStringInfo(uVar17)" identifier = (call_expression "AcquireStringInfo(uVar17)" identifier (argument_list "(uVar17)" ( identifier )))) ;) (expression_statement "SetStringInfoDatum(pSVar7,(uchar *)source);" (call_expression "SetStringInfoDatum(pSVar7,(uchar *)source)" identifier (argument_list "(pSVar7,(uchar *)source)" ( identifier , (cast_expression "(uchar *)source" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "pcVar9 = "xmp";" (assignment_expression "pcVar9 = "xmp"" identifier = (string_literal ""xmp"" " string_content ")) ;)) })) (expression_statement "source = (uint *)((int)source + uVar17);" (assignment_expression "source = (uint *)((int)source + uVar17)" identifier = (cast_expression "(uint *)((int)source + uVar17)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)source + uVar17)" ( (binary_expression "(int)source + uVar17" (cast_expression "(int)source" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "SetImageProfileInternal(image,pcVar9,pSVar7,MagickTrue,exception);" (call_expression "SetImageProfileInternal(image,pcVar9,pSVar7,MagickTrue,exception)" identifier (argument_list "(image,pcVar9,pSVar7,MagickTrue,exception)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "DestroyStringInfo(pSVar7);" (call_expression "DestroyStringInfo(pSVar7)" identifier (argument_list "(pSVar7)" ( identifier ))) ;) (labeled_statement "LAB_00129c82:\n        puVar16 = (uchar *)((int)source + (uint)((uVar2 >> 0x18 & 1) != 0));" statement_identifier : (expression_statement "puVar16 = (uchar *)((int)source + (uint)((uVar2 >> 0x18 & 1) != 0));" (assignment_expression "puVar16 = (uchar *)((int)source + (uint)((uVar2 >> 0x18 & 1) != 0))" identifier = (cast_expression "(uchar *)((int)source + (uint)((uVar2 >> 0x18 & 1) != 0))" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)source + (uint)((uVar2 >> 0x18 & 1) != 0))" ( (binary_expression "(int)source + (uint)((uVar2 >> 0x18 & 1) != 0)" (cast_expression "(int)source" ( (type_descriptor "int" primitive_type) ) identifier) + (call_expression "(uint)((uVar2 >> 0x18 & 1) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uVar2 >> 0x18 & 1) != 0)" ( (binary_expression "(uVar2 >> 0x18 & 1) != 0" (parenthesized_expression "(uVar2 >> 0x18 & 1)" ( (binary_expression "uVar2 >> 0x18 & 1" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) & number_literal) )) != number_literal) )))) )))) ;)) })) }) (else_clause "else if (recursive == MagickFalse) {\n      WriteTo8BimProfile(image,name,pSVar7);\n    }" else (if_statement "if (recursive == MagickFalse) {\n      WriteTo8BimProfile(image,name,pSVar7);\n    }" if (parenthesized_expression "(recursive == MagickFalse)" ( (binary_expression "recursive == MagickFalse" identifier == identifier) )) (compound_statement "{\n      WriteTo8BimProfile(image,name,pSVar7);\n    }" { (expression_statement "WriteTo8BimProfile(image,name,pSVar7);" (call_expression "WriteTo8BimProfile(image,name,pSVar7)" identifier (argument_list "(image,name,pSVar7)" ( identifier , identifier , identifier ))) ;) })))) })) (labeled_statement "LAB_00129940:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return MVar10;\n  }" statement_identifier : (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return MVar10;\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 MVar10;\n  }" { (return_statement "return MVar10;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "int __regparm3\nFUN_00129820(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5)\n\n{\n  uint uVar1;\n  float fVar2;\n  float fVar3;\n  float fVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  uint uVar11;\n  int iVar12;\n  uint *puVar13;\n  uint *puVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  undefined4 local_1020;\n  undefined2 local_101c;\n  undefined1 local_101a;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x129829;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  uVar5 = CloneStringInfo(param_3);\n  iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n  if (iVar6 == 0) {\n    pcVar9 = (char *)GetStringInfoDatum(uVar5);\n    pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }\nLAB_00129a48:\n    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n    if (iVar6 == 0) {\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }\n  }\n  else {\n    iVar6 = LocaleCompare(param_2,&DAT_002c0184);\n    if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }\n  if (*(int *)(param_1 + 0x1d8) == 0) {\n    uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510);\n    *(undefined4 *)(param_1 + 0x1d8) = uVar7;\n  }\n  CopyMagickString(&local_1020,param_2,0x1000);\n  LocaleLower(&local_1020);\n  uVar7 = ConstantString(&local_1020);\n  iVar6 = AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5);\n  if (iVar6 != 0) {\n    iVar8 = LocaleCompare(param_2,&DAT_002ac062);\n    if (iVar8 == 0) {\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }\n    else if (param_4 == 0) {\n      FUN_00129530();\n    }\n  }\nLAB_00129940:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\n  }\n                    \n  FUN_0029eab0();\n}\n\n" (function_definition "int __regparm3\nFUN_00129820(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5)\n\n{\n  uint uVar1;\n  float fVar2;\n  float fVar3;\n  float fVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  uint uVar11;\n  int iVar12;\n  uint *puVar13;\n  uint *puVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  undefined4 local_1020;\n  undefined2 local_101c;\n  undefined1 local_101a;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x129829;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  uVar5 = CloneStringInfo(param_3);\n  iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n  if (iVar6 == 0) {\n    pcVar9 = (char *)GetStringInfoDatum(uVar5);\n    pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }\nLAB_00129a48:\n    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n    if (iVar6 == 0) {\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }\n  }\n  else {\n    iVar6 = LocaleCompare(param_2,&DAT_002c0184);\n    if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }\n  if (*(int *)(param_1 + 0x1d8) == 0) {\n    uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510);\n    *(undefined4 *)(param_1 + 0x1d8) = uVar7;\n  }\n  CopyMagickString(&local_1020,param_2,0x1000);\n  LocaleLower(&local_1020);\n  uVar7 = ConstantString(&local_1020);\n  iVar6 = AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5);\n  if (iVar6 != 0) {\n    iVar8 = LocaleCompare(param_2,&DAT_002ac062);\n    if (iVar8 == 0) {\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }\n    else if (param_4 == 0) {\n      FUN_00129530();\n    }\n  }\nLAB_00129940:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\n  }\n                    \n  FUN_0029eab0();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00129820(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  float fVar2;\n  float fVar3;\n  float fVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  uint uVar11;\n  int iVar12;\n  uint *puVar13;\n  uint *puVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  undefined4 local_1020;\n  undefined2 local_101c;\n  undefined1 local_101a;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x129829;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  uVar5 = CloneStringInfo(param_3);\n  iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n  if (iVar6 == 0) {\n    pcVar9 = (char *)GetStringInfoDatum(uVar5);\n    pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }\nLAB_00129a48:\n    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n    if (iVar6 == 0) {\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }\n  }\n  else {\n    iVar6 = LocaleCompare(param_2,&DAT_002c0184);\n    if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }\n  if (*(int *)(param_1 + 0x1d8) == 0) {\n    uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510);\n    *(undefined4 *)(param_1 + 0x1d8) = uVar7;\n  }\n  CopyMagickString(&local_1020,param_2,0x1000);\n  LocaleLower(&local_1020);\n  uVar7 = ConstantString(&local_1020);\n  iVar6 = AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5);\n  if (iVar6 != 0) {\n    iVar8 = LocaleCompare(param_2,&DAT_002ac062);\n    if (iVar8 == 0) {\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }\n    else if (param_4 == 0) {\n      FUN_00129530();\n    }\n  }\nLAB_00129940:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\n  }\n                    \n  FUN_0029eab0();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "float fVar2;" primitive_type identifier ;) (declaration "float fVar3;" primitive_type identifier ;) (declaration "float fVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "uint *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "uint *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_1020;" type_identifier identifier ;) (declaration "undefined2 local_101c;" type_identifier identifier ;) (declaration "undefined1 local_101a;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x129829;" (assignment_expression "uStack_14 = 0x129829" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }" { (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal")" identifier (argument_list "("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/profile.c"" " string_content ") , number_literal , (string_literal ""SetImageProfileInternal"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3344) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3344)" * (cast_expression "(int *)(param_1 + 0x3344)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3344)" ( (binary_expression "param_1 + 0x3344" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }" { (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/profile.c"" " string_content ") , number_literal , (string_literal ""SetImageProfileInternal"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3328) != 0)" ( (binary_expression "*(int *)(param_1 + 0x3328) != 0" (pointer_expression "*(int *)(param_1 + 0x3328)" * (cast_expression "(int *)(param_1 + 0x3328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3328)" ( (binary_expression "param_1 + 0x3328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318)" identifier (argument_list "(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318)" ( number_literal , (string_literal ""MagickCore/profile.c"" " string_content ") , (string_literal ""SetImageProfileInternal"" " string_content ") , number_literal , (pointer_expression "&DAT_002b6e4e" & identifier) , (binary_expression "param_1 + 0x318" identifier + number_literal) ))) ;) })) (expression_statement "uVar5 = CloneStringInfo(param_3);" (assignment_expression "uVar5 = CloneStringInfo(param_3)" identifier = (call_expression "CloneStringInfo(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "iVar6 = LocaleCompare(param_2,&DAT_002c01f4);" (assignment_expression "iVar6 = LocaleCompare(param_2,&DAT_002c01f4)" identifier = (call_expression "LocaleCompare(param_2,&DAT_002c01f4)" identifier (argument_list "(param_2,&DAT_002c01f4)" ( identifier , (pointer_expression "&DAT_002c01f4" & identifier) )))) ;) (if_statement "if (iVar6 == 0) {\n    pcVar9 = (char *)GetStringInfoDatum(uVar5);\n    pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }\nLAB_00129a48:\n    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n    if (iVar6 == 0) {\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }\n  }\n  else {\n    iVar6 = LocaleCompare(param_2,&DAT_002c0184);\n    if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar9 = (char *)GetStringInfoDatum(uVar5);\n    pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }\nLAB_00129a48:\n    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n    if (iVar6 == 0) {\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }\n  }" { (expression_statement "pcVar9 = (char *)GetStringInfoDatum(uVar5);" (assignment_expression "pcVar9 = (char *)GetStringInfoDatum(uVar5)" identifier = (cast_expression "(char *)GetStringInfoDatum(uVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetStringInfoDatum(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))))) ;) (expression_statement "pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");" (assignment_expression "pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>")" identifier = (call_expression "strstr(pcVar9,"<?xpacket end=\"w\"?>")" identifier (argument_list "(pcVar9,"<?xpacket end=\"w\"?>")" ( identifier , (string_literal ""<?xpacket end=\"w\"?>"" " string_content escape_sequence string_content escape_sequence string_content ") )))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }" { (expression_statement "iVar6 = GetStringInfoDatum(uVar5);" (assignment_expression "iVar6 = GetStringInfoDatum(uVar5)" identifier = (call_expression "GetStringInfoDatum(uVar5)" identifier (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "pcVar10 = (char *)GetStringInfoLength(uVar5);" (assignment_expression "pcVar10 = (char *)GetStringInfoLength(uVar5)" identifier = (cast_expression "(char *)GetStringInfoLength(uVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetStringInfoLength(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))))) ;) (if_statement "if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }" if (parenthesized_expression "(pcVar9 + (0x13 - iVar6) != pcVar10)" ( (binary_expression "pcVar9 + (0x13 - iVar6) != pcVar10" (binary_expression "pcVar9 + (0x13 - iVar6)" identifier + (parenthesized_expression "(0x13 - iVar6)" ( (binary_expression "0x13 - iVar6" number_literal - identifier) ))) != identifier) )) (compound_statement "{\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }" { (expression_statement "pcVar9[0x13] = '\0';" (assignment_expression "pcVar9[0x13] = '\0'" (subscript_expression "pcVar9[0x13]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));" (call_expression "SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6))" identifier (argument_list "(uVar5,pcVar9 + (0x13 - iVar6))" ( identifier , (binary_expression "pcVar9 + (0x13 - iVar6)" identifier + (parenthesized_expression "(0x13 - iVar6)" ( (binary_expression "0x13 - iVar6" number_literal - identifier) ))) ))) ;) })) })) (labeled_statement "LAB_00129a48:\n    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);" statement_identifier : (expression_statement "iVar6 = LocaleCompare(param_2,&DAT_002c01f4);" (assignment_expression "iVar6 = LocaleCompare(param_2,&DAT_002c01f4)" identifier = (call_expression "LocaleCompare(param_2,&DAT_002c01f4)" identifier (argument_list "(param_2,&DAT_002c01f4)" ( identifier , (pointer_expression "&DAT_002c01f4" & identifier) )))) ;)) (if_statement "if (iVar6 == 0) {\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }" { (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (expression_statement "ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);" (call_expression "ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318)" identifier (argument_list "(param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318)" ( identifier , (string_literal ""MagickCore/profile.c"" " string_content ") , (string_literal ""ValidateXMPProfile"" " string_content ") , number_literal , number_literal , (string_literal ""DelegateLibrarySupportNotBuiltIn"" " string_content ") , (string_literal ""\'%s\' (XML)"" " escape_sequence string_content escape_sequence string_content ") , (binary_expression "param_1 + 0x318" identifier + number_literal) ))) ;) (expression_statement "DestroyStringInfo(uVar5);" (call_expression "DestroyStringInfo(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (goto_statement "goto LAB_00129940;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar6 = LocaleCompare(param_2,&DAT_002c0184);\n    if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }" else (compound_statement "{\n    iVar6 = LocaleCompare(param_2,&DAT_002c0184);\n    if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }" { (expression_statement "iVar6 = LocaleCompare(param_2,&DAT_002c0184);" (assignment_expression "iVar6 = LocaleCompare(param_2,&DAT_002c0184)" identifier = (call_expression "LocaleCompare(param_2,&DAT_002c0184)" identifier (argument_list "(param_2,&DAT_002c0184)" ( identifier , (pointer_expression "&DAT_002c0184" & identifier) )))) ;) (if_statement "if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }" { (expression_statement "uVar7 = GetStringInfoDatum(uVar5);" (assignment_expression "uVar7 = GetStringInfoDatum(uVar5)" identifier = (call_expression "GetStringInfoDatum(uVar5)" identifier (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);" (assignment_expression "iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2)" identifier = (call_expression "LocaleNCompare(uVar7,&DAT_002c3bbd,2)" identifier (argument_list "(uVar7,&DAT_002c3bbd,2)" ( identifier , (pointer_expression "&DAT_002c3bbd" & identifier) , number_literal )))) ;) (if_statement "if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }" if (parenthesized_expression "((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0))" ( (binary_expression "(iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)" ( (comma_expression "iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0" (assignment_expression "iVar6 = LocaleNCompare(uVar7,"II",2)" identifier = (call_expression "LocaleNCompare(uVar7,"II",2)" identifier (argument_list "(uVar7,"II",2)" ( identifier , (string_literal ""II"" " string_content ") , number_literal )))) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }" { (expression_statement "local_1020 = DAT_002c3c40;" (assignment_expression "local_1020 = DAT_002c3c40" identifier = identifier) ;) (expression_statement "local_101c = DAT_002c3c44;" (assignment_expression "local_101c = DAT_002c3c44" identifier = identifier) ;) (expression_statement "local_101a = DAT_002c3c46;" (assignment_expression "local_101a = DAT_002c3c46" identifier = identifier) ;) (expression_statement "iVar6 = AcquireStringInfo(6);" (assignment_expression "iVar6 = AcquireStringInfo(6)" identifier = (call_expression "AcquireStringInfo(6)" identifier (argument_list "(6)" ( number_literal )))) ;) (if_statement "if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }" { (expression_statement "SetStringInfoDatum(iVar6,&local_1020);" (call_expression "SetStringInfoDatum(iVar6,&local_1020)" identifier (argument_list "(iVar6,&local_1020)" ( identifier , (pointer_expression "&local_1020" & identifier) ))) ;) (expression_statement "ConcatenateStringInfo(iVar6,uVar5);" (call_expression "ConcatenateStringInfo(iVar6,uVar5)" identifier (argument_list "(iVar6,uVar5)" ( identifier , identifier ))) ;) (expression_statement "uVar7 = GetStringInfoLength(iVar6);" (assignment_expression "uVar7 = GetStringInfoLength(iVar6)" identifier = (call_expression "GetStringInfoLength(iVar6)" identifier (argument_list "(iVar6)" ( identifier )))) ;) (expression_statement "SetStringInfoLength(uVar5,uVar7);" (call_expression "SetStringInfoLength(uVar5,uVar7)" identifier (argument_list "(uVar5,uVar7)" ( identifier , identifier ))) ;) (expression_statement "SetStringInfo(uVar5,iVar6);" (call_expression "SetStringInfo(uVar5,iVar6)" identifier (argument_list "(uVar5,iVar6)" ( identifier , identifier ))) ;) (expression_statement "DestroyStringInfo(iVar6);" (call_expression "DestroyStringInfo(iVar6)" identifier (argument_list "(iVar6)" ( identifier ))) ;) })) })) (goto_statement "goto LAB_00129a48;" goto statement_identifier ;) })) }))) (if_statement "if (*(int *)(param_1 + 0x1d8) == 0) {\n    uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510);\n    *(undefined4 *)(param_1 + 0x1d8) = uVar7;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1d8) == 0)" ( (binary_expression "*(int *)(param_1 + 0x1d8) == 0" (pointer_expression "*(int *)(param_1 + 0x1d8)" * (cast_expression "(int *)(param_1 + 0x1d8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d8)" ( (binary_expression "param_1 + 0x1d8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510);\n    *(undefined4 *)(param_1 + 0x1d8) = uVar7;\n  }" { (expression_statement "uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510);" (assignment_expression "uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510)" identifier = (call_expression "NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510)" identifier (argument_list "(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510)" ( identifier , identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1d8) = uVar7;" (assignment_expression "*(undefined4 *)(param_1 + 0x1d8) = uVar7" (pointer_expression "*(undefined4 *)(param_1 + 0x1d8)" * (cast_expression "(undefined4 *)(param_1 + 0x1d8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d8)" ( (binary_expression "param_1 + 0x1d8" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "CopyMagickString(&local_1020,param_2,0x1000);" (call_expression "CopyMagickString(&local_1020,param_2,0x1000)" identifier (argument_list "(&local_1020,param_2,0x1000)" ( (pointer_expression "&local_1020" & identifier) , identifier , number_literal ))) ;) (expression_statement "LocaleLower(&local_1020);" (call_expression "LocaleLower(&local_1020)" identifier (argument_list "(&local_1020)" ( (pointer_expression "&local_1020" & identifier) ))) ;) (expression_statement "uVar7 = ConstantString(&local_1020);" (assignment_expression "uVar7 = ConstantString(&local_1020)" identifier = (call_expression "ConstantString(&local_1020)" identifier (argument_list "(&local_1020)" ( (pointer_expression "&local_1020" & identifier) )))) ;) (expression_statement "iVar6 = AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5);" (assignment_expression "iVar6 = AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5)" identifier = (call_expression "AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x1d8)" * (cast_expression "(undefined4 *)(param_1 + 0x1d8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d8)" ( (binary_expression "param_1 + 0x1d8" identifier + number_literal) )))) , identifier , identifier )))) ;) (if_statement "if (iVar6 != 0) {\n    iVar8 = LocaleCompare(param_2,&DAT_002ac062);\n    if (iVar8 == 0) {\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }\n    else if (param_4 == 0) {\n      FUN_00129530();\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar8 = LocaleCompare(param_2,&DAT_002ac062);\n    if (iVar8 == 0) {\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }\n    else if (param_4 == 0) {\n      FUN_00129530();\n    }\n  }" { (expression_statement "iVar8 = LocaleCompare(param_2,&DAT_002ac062);" (assignment_expression "iVar8 = LocaleCompare(param_2,&DAT_002ac062)" identifier = (call_expression "LocaleCompare(param_2,&DAT_002ac062)" identifier (argument_list "(param_2,&DAT_002ac062)" ( identifier , (pointer_expression "&DAT_002ac062" & identifier) )))) ;) (if_statement "if (iVar8 == 0) {\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }\n    else if (param_4 == 0) {\n      FUN_00129530();\n    }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }" { (expression_statement "uVar11 = GetStringInfoDatum(uVar5);" (assignment_expression "uVar11 = GetStringInfoDatum(uVar5)" identifier = (call_expression "GetStringInfoDatum(uVar5)" identifier (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "iVar8 = GetStringInfoLength(uVar5);" (assignment_expression "iVar8 = GetStringInfoLength(uVar5)" identifier = (call_expression "GetStringInfoLength(uVar5)" identifier (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "uVar15 = uVar11;" (assignment_expression "uVar15 = uVar11" identifier = identifier) ;) (while_statement "while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }" while (parenthesized_expression "((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))" ( (parenthesized_expression "(uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0))" ( (binary_expression "uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)" (binary_expression "uVar15 < (uVar11 - 0x10) + iVar8" identifier < (binary_expression "(uVar11 - 0x10) + iVar8" (parenthesized_expression "(uVar11 - 0x10)" ( (binary_expression "uVar11 - 0x10" identifier - number_literal) )) + identifier)) && (parenthesized_expression "(iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)" ( (comma_expression "iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0" (assignment_expression "iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4)" identifier = (call_expression "LocaleNCompare(uVar15,&DAT_002a239a,4)" identifier (argument_list "(uVar15,&DAT_002a239a,4)" ( identifier , (pointer_expression "&DAT_002a239a" & identifier) , number_literal )))) , (comma_expression "fVar3 = DAT_002c3ee4, iVar12 == 0" (assignment_expression "fVar3 = DAT_002c3ee4" identifier = identifier) , (binary_expression "iVar12 == 0" identifier == number_literal))) ))) )) )) (compound_statement "{\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }" { (expression_statement "puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));" (assignment_expression "puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0))" identifier = (cast_expression "(uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0))" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0))" ( (binary_expression "(uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0)" (parenthesized_expression "(uVar15 + *(byte *)(uVar15 + 6) + 8)" ( (binary_expression "uVar15 + *(byte *)(uVar15 + 6) + 8" (binary_expression "uVar15 + *(byte *)(uVar15 + 6)" identifier + (pointer_expression "*(byte *)(uVar15 + 6)" * (cast_expression "(byte *)(uVar15 + 6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar15 + 6)" ( (binary_expression "uVar15 + 6" identifier + number_literal) ))))) + number_literal) )) - (call_expression "(uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((*(byte *)(uVar15 + 6) + 1 & 1) == 0)" ( (binary_expression "(*(byte *)(uVar15 + 6) + 1 & 1) == 0" (parenthesized_expression "(*(byte *)(uVar15 + 6) + 1 & 1)" ( (binary_expression "*(byte *)(uVar15 + 6) + 1 & 1" (binary_expression "*(byte *)(uVar15 + 6) + 1" (pointer_expression "*(byte *)(uVar15 + 6)" * (cast_expression "(byte *)(uVar15 + 6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar15 + 6)" ( (binary_expression "uVar15 + 6" identifier + number_literal) )))) + number_literal) & number_literal) )) == number_literal) )))) )))) ;) (if_statement "if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;" if (parenthesized_expression "((uint *)((uVar11 - 4) + iVar8) < puVar13)" ( (binary_expression "(uint *)((uVar11 - 4) + iVar8) < puVar13" (cast_expression "(uint *)((uVar11 - 4) + iVar8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uVar11 - 4) + iVar8)" ( (binary_expression "(uVar11 - 4) + iVar8" (parenthesized_expression "(uVar11 - 4)" ( (binary_expression "uVar11 - 4" identifier - number_literal) )) + identifier) ))) < identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar1 = *puVar13;" (assignment_expression "uVar1 = *puVar13" identifier = (pointer_expression "*puVar13" * identifier)) ;) (expression_statement "puVar14 = puVar13 + 1;" (assignment_expression "puVar14 = puVar13 + 1" identifier = (binary_expression "puVar13 + 1" identifier + number_literal)) ;) (expression_statement "uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" identifier = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (if_statement "if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;" if (parenthesized_expression "((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0))" ( (binary_expression "(((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)" (parenthesized_expression "(((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16))" ( (binary_expression "((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)" (parenthesized_expression "((uint *)((iVar8 - uVar16) + uVar11) < puVar14)" ( (binary_expression "(uint *)((iVar8 - uVar16) + uVar11) < puVar14" (cast_expression "(uint *)((iVar8 - uVar16) + uVar11)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((iVar8 - uVar16) + uVar11)" ( (binary_expression "(iVar8 - uVar16) + uVar11" (parenthesized_expression "(iVar8 - uVar16)" ( (binary_expression "iVar8 - uVar16" identifier - identifier) )) + identifier) ))) < identifier) )) || (parenthesized_expression "(iVar8 < (int)uVar16)" ( (binary_expression "iVar8 < (int)uVar16" identifier < (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) || (parenthesized_expression "((int)uVar16 < 0)" ( (binary_expression "(int)uVar16 < 0" (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) ))) )) (break_statement "break;" break ;)) (switch_statement "switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }" switch (parenthesized_expression "(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8)" ( (binary_expression "*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8" (binary_expression "*(ushort *)(uVar15 + 4) << 8" (pointer_expression "*(ushort *)(uVar15 + 4)" * (cast_expression "(ushort *)(uVar15 + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar15 + 4)" ( (binary_expression "uVar15 + 4" identifier + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)(uVar15 + 4) >> 8" (pointer_expression "*(ushort *)(uVar15 + 4)" * (cast_expression "(ushort *)(uVar15 + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar15 + 4)" ( (binary_expression "uVar15 + 4" identifier + number_literal) )))) >> number_literal)) )) (compound_statement "{\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }" { (case_statement "case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;" case number_literal : (if_statement "if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }" if (parenthesized_expression "(9 < (int)uVar16)" ( (binary_expression "9 < (int)uVar16" number_literal < (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }" { (expression_statement "uVar15 = puVar13[1];" (assignment_expression "uVar15 = puVar13[1]" identifier = (subscript_expression "puVar13[1]" identifier [ number_literal ])) ;) (expression_statement "puVar14 = puVar13 + 5;" (assignment_expression "puVar14 = puVar13 + 5" identifier = (binary_expression "puVar13 + 5" identifier + number_literal)) ;) (expression_statement "fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;" (assignment_expression "fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4" identifier = (binary_expression "(float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4" (cast_expression "(float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18)" ( (binary_expression "uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18" (binary_expression "uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8" (binary_expression "uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8" (binary_expression "uVar15 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar15 & 0xff0000) >> 8" (parenthesized_expression "(uVar15 & 0xff0000)" ( (binary_expression "uVar15 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar15 & 0xff00) << 8" (parenthesized_expression "(uVar15 & 0xff00)" ( (binary_expression "uVar15 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar15 << 0x18" identifier << number_literal)) ))) * identifier)) ;) (expression_statement "*(double *)(param_1 + 0x1f0) = (double)fVar2;" (assignment_expression "*(double *)(param_1 + 0x1f0) = (double)fVar2" (pointer_expression "*(double *)(param_1 + 0x1f0)" * (cast_expression "(double *)(param_1 + 0x1f0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1f0)" ( (binary_expression "param_1 + 0x1f0" identifier + number_literal) )))) = (cast_expression "(double)fVar2" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "uVar15 = puVar13[3];" (assignment_expression "uVar15 = puVar13[3]" identifier = (subscript_expression "puVar13[3]" identifier [ number_literal ])) ;) (expression_statement "uVar16 = puVar13[2];" (assignment_expression "uVar16 = puVar13[2]" identifier = (subscript_expression "puVar13[2]" identifier [ number_literal ])) ;) (expression_statement "fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;" (assignment_expression "fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3" identifier = (binary_expression "(float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3" (cast_expression "(float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18)" ( (binary_expression "uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18" (binary_expression "uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8" (binary_expression "uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8" (binary_expression "uVar15 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar15 & 0xff0000) >> 8" (parenthesized_expression "(uVar15 & 0xff0000)" ( (binary_expression "uVar15 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar15 & 0xff00) << 8" (parenthesized_expression "(uVar15 & 0xff00)" ( (binary_expression "uVar15 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar15 << 0x18" identifier << number_literal)) ))) * identifier)) ;) (expression_statement "*(double *)(param_1 + 0x1f8) = (double)fVar3;" (assignment_expression "*(double *)(param_1 + 0x1f8) = (double)fVar3" (pointer_expression "*(double *)(param_1 + 0x1f8)" * (cast_expression "(double *)(param_1 + 0x1f8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1f8)" ( (binary_expression "param_1 + 0x1f8" identifier + number_literal) )))) = (cast_expression "(double)fVar3" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }" if (parenthesized_expression "((short)uVar16 == 0x200)" ( (binary_expression "(short)uVar16 == 0x200" (cast_expression "(short)uVar16" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier) == number_literal) )) (compound_statement "{\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }" { (expression_statement "fVar4 = (float)_DAT_002b7d50;" (assignment_expression "fVar4 = (float)_DAT_002b7d50" identifier = (cast_expression "(float)_DAT_002b7d50" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1dc) = 2;" (assignment_expression "*(undefined4 *)(param_1 + 0x1dc) = 2" (pointer_expression "*(undefined4 *)(param_1 + 0x1dc)" * (cast_expression "(undefined4 *)(param_1 + 0x1dc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1dc)" ( (binary_expression "param_1 + 0x1dc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);" (assignment_expression "*(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4)" (pointer_expression "*(double *)(param_1 + 0x1f0)" * (cast_expression "(double *)(param_1 + 0x1f0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1f0)" ( (binary_expression "param_1 + 0x1f0" identifier + number_literal) )))) = (cast_expression "(double)(fVar2 / fVar4)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(fVar2 / fVar4)" ( (binary_expression "fVar2 / fVar4" identifier / identifier) )))) ;) (expression_statement "*(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);" (assignment_expression "*(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4)" (pointer_expression "*(double *)(param_1 + 0x1f8)" * (cast_expression "(double *)(param_1 + 0x1f8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1f8)" ( (binary_expression "param_1 + 0x1f8" identifier + number_literal) )))) = (cast_expression "(double)(fVar3 / fVar4)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(fVar3 / fVar4)" ( (binary_expression "fVar3 / fVar4" identifier / identifier) )))) ;) }) (else_clause "else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }" else (compound_statement "{\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }" { (expression_statement "*(undefined4 *)(param_1 + 0x1dc) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x1dc) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x1dc)" * (cast_expression "(undefined4 *)(param_1 + 0x1dc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1dc)" ( (binary_expression "param_1 + 0x1dc" identifier + number_literal) )))) = number_literal) ;) }))) })) (goto_statement "goto code_r0x00129c82;" goto statement_identifier ;)) (case_statement "default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;" default : (expression_statement "puVar14 = (uint *)((int)puVar14 + uVar16);" (assignment_expression "puVar14 = (uint *)((int)puVar14 + uVar16)" identifier = (cast_expression "(uint *)((int)puVar14 + uVar16)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar14 + uVar16)" ( (binary_expression "(int)puVar14 + uVar16" (cast_expression "(int)puVar14" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (goto_statement "goto code_r0x00129c82;" goto statement_identifier ;)) (case_statement "case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;" case number_literal : (expression_statement "uVar5 = AcquireStringInfo(uVar16);" (assignment_expression "uVar5 = AcquireStringInfo(uVar16)" identifier = (call_expression "AcquireStringInfo(uVar16)" identifier (argument_list "(uVar16)" ( identifier )))) ;) (expression_statement "SetStringInfoDatum(uVar5,puVar14);" (call_expression "SetStringInfoDatum(uVar5,puVar14)" identifier (argument_list "(uVar5,puVar14)" ( identifier , identifier ))) ;) (break_statement "break;" break ;)) (case_statement "case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;" case number_literal : (expression_statement "uVar5 = AcquireStringInfo(uVar16);" (assignment_expression "uVar5 = AcquireStringInfo(uVar16)" identifier = (call_expression "AcquireStringInfo(uVar16)" identifier (argument_list "(uVar16)" ( identifier )))) ;) (expression_statement "SetStringInfoDatum(uVar5,puVar14);" (call_expression "SetStringInfoDatum(uVar5,puVar14)" identifier (argument_list "(uVar5,puVar14)" ( identifier , identifier ))) ;) (break_statement "break;" break ;)) (case_statement "case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;" case number_literal : (expression_statement "uVar5 = AcquireStringInfo(uVar16);" (assignment_expression "uVar5 = AcquireStringInfo(uVar16)" identifier = (call_expression "AcquireStringInfo(uVar16)" identifier (argument_list "(uVar16)" ( identifier )))) ;) (expression_statement "SetStringInfoDatum(uVar5,puVar14);" (call_expression "SetStringInfoDatum(uVar5,puVar14)" identifier (argument_list "(uVar5,puVar14)" ( identifier , identifier ))) ;) (break_statement "break;" break ;)) (case_statement "case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);" case number_literal : (expression_statement "uVar5 = AcquireStringInfo(uVar16);" (assignment_expression "uVar5 = AcquireStringInfo(uVar16)" identifier = (call_expression "AcquireStringInfo(uVar16)" identifier (argument_list "(uVar16)" ( identifier )))) ;) (expression_statement "SetStringInfoDatum(uVar5,puVar14);" (call_expression "SetStringInfoDatum(uVar5,puVar14)" identifier (argument_list "(uVar5,puVar14)" ( identifier , identifier ))) ;)) })) (expression_statement "puVar14 = (uint *)((int)puVar14 + uVar16);" (assignment_expression "puVar14 = (uint *)((int)puVar14 + uVar16)" identifier = (cast_expression "(uint *)((int)puVar14 + uVar16)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar14 + uVar16)" ( (binary_expression "(int)puVar14 + uVar16" (cast_expression "(int)puVar14" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "FUN_00129820(1,param_5);" (call_expression "FUN_00129820(1,param_5)" identifier (argument_list "(1,param_5)" ( number_literal , identifier ))) ;) (expression_statement "DestroyStringInfo(uVar5);" (call_expression "DestroyStringInfo(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (labeled_statement "code_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);" statement_identifier : (expression_statement "uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);" (assignment_expression "uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0)" identifier = (binary_expression "(int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0)" (cast_expression "(int)puVar14" ( (type_descriptor "int" primitive_type) ) identifier) + (call_expression "(uint)((uVar1 >> 0x18 & 1) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uVar1 >> 0x18 & 1) != 0)" ( (binary_expression "(uVar1 >> 0x18 & 1) != 0" (parenthesized_expression "(uVar1 >> 0x18 & 1)" ( (binary_expression "uVar1 >> 0x18 & 1" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) & number_literal) )) != number_literal) ))))) ;)) })) }) (else_clause "else if (param_4 == 0) {\n      FUN_00129530();\n    }" else (if_statement "if (param_4 == 0) {\n      FUN_00129530();\n    }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n      FUN_00129530();\n    }" { (expression_statement "FUN_00129530();" (call_expression "FUN_00129530()" identifier (argument_list "()" ( ))) ;) })))) })) (labeled_statement "LAB_00129940:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\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 iVar6;\n  }" { (return_statement "return iVar6;" 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 IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , (pointer_expression & IDENT) , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence string_content escape_sequence string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT - IDENT) ))) != IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT - IDENT) ))) ))) ;) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , LIT , (string_literal " string_content ") , (string_literal " escape_sequence string_content escape_sequence string_content ") , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) })) (goto_statement goto statement_identifier ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT < (binary_expression (parenthesized_expression ( (binary_expression IDENT - LIT) )) + IDENT)) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT )))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == LIT))) ))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) & LIT) )) == LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - LIT) )) + IDENT) ))) < IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + IDENT) ))) < IDENT) )) || (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )) || (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) ))) )) (break_statement break ;)) (switch_statement switch (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT) | (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) >> LIT)) )) (compound_statement { (case_statement case LIT : (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) ))) * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) ))) * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT / IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT / IDENT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }))) })) (goto_statement goto statement_identifier ;)) (case_statement default : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;)) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT >> LIT) & LIT) )) != LIT) ))))) ;)) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))) })) (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 "int __regparm3\nFUN_00129820(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5)\n\n{\n  uint uVar1;\n  float fVar2;\n  float fVar3;\n  float fVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  uint uVar11;\n  int iVar12;\n  uint *puVar13;\n  uint *puVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  undefined4 local_1020;\n  undefined2 local_101c;\n  undefined1 local_101a;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x129829;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  uVar5 = CloneStringInfo(param_3);\n  iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n  if (iVar6 == 0) {\n    pcVar9 = (char *)GetStringInfoDatum(uVar5);\n    pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }\nLAB_00129a48:\n    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n    if (iVar6 == 0) {\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }\n  }\n  else {\n    iVar6 = LocaleCompare(param_2,&DAT_002c0184);\n    if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }\n  if (*(int *)(param_1 + 0x1d8) == 0) {\n    uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510);\n    *(undefined4 *)(param_1 + 0x1d8) = uVar7;\n  }\n  CopyMagickString(&local_1020,param_2,0x1000);\n  LocaleLower(&local_1020);\n  uVar7 = ConstantString(&local_1020);\n  iVar6 = AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5);\n  if (iVar6 != 0) {\n    iVar8 = LocaleCompare(param_2,&DAT_002ac062);\n    if (iVar8 == 0) {\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }\n    else if (param_4 == 0) {\n      FUN_00129530();\n    }\n  }\nLAB_00129940:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\n  }\n                    \n  FUN_0029eab0();\n}" (primitive_type "int") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00129820(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5)" (identifier "FUN_00129820") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  uint uVar1;\n  float fVar2;\n  float fVar3;\n  float fVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  uint uVar11;\n  int iVar12;\n  uint *puVar13;\n  uint *puVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  undefined4 local_1020;\n  undefined2 local_101c;\n  undefined1 local_101a;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x129829;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  uVar5 = CloneStringInfo(param_3);\n  iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n  if (iVar6 == 0) {\n    pcVar9 = (char *)GetStringInfoDatum(uVar5);\n    pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }\nLAB_00129a48:\n    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n    if (iVar6 == 0) {\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }\n  }\n  else {\n    iVar6 = LocaleCompare(param_2,&DAT_002c0184);\n    if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }\n  if (*(int *)(param_1 + 0x1d8) == 0) {\n    uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510);\n    *(undefined4 *)(param_1 + 0x1d8) = uVar7;\n  }\n  CopyMagickString(&local_1020,param_2,0x1000);\n  LocaleLower(&local_1020);\n  uVar7 = ConstantString(&local_1020);\n  iVar6 = AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5);\n  if (iVar6 != 0) {\n    iVar8 = LocaleCompare(param_2,&DAT_002ac062);\n    if (iVar8 == 0) {\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }\n    else if (param_4 == 0) {\n      FUN_00129530();\n    }\n  }\nLAB_00129940:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\n  }\n                    \n  FUN_0029eab0();\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "float fVar2;" (primitive_type "float") (identifier "fVar2") (; ";")) (declaration "float fVar3;" (primitive_type "float") (identifier "fVar3") (; ";")) (declaration "float fVar4;" (primitive_type "float") (identifier "fVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "char *pcVar9;" (primitive_type "char") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "char *pcVar10;" (primitive_type "char") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "uint *puVar13;" (type_identifier "uint") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (declaration "uint *puVar14;" (type_identifier "uint") (pointer_declarator "*puVar14" (* "*") (identifier "puVar14")) (; ";")) (declaration "uint uVar15;" (type_identifier "uint") (identifier "uVar15") (; ";")) (declaration "uint uVar16;" (type_identifier "uint") (identifier "uVar16") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined4 local_1020;" (type_identifier "undefined4") (identifier "local_1020") (; ";")) (declaration "undefined2 local_101c;" (type_identifier "undefined2") (identifier "local_101c") (; ";")) (declaration "undefined1 local_101a;" (type_identifier "undefined1") (identifier "local_101a") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x129829;" (assignment_expression "uStack_14 = 0x129829" (identifier "uStack_14") (= "=") (number_literal "0x129829")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");\n  }" ({ "{") (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal")" (identifier "__assert_fail") (argument_list "("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal")" (( "(") (string_literal ""image != (Image *) NULL"" (" """) (string_content "image != (Image *) NULL") (" """)) (, ",") (string_literal ""MagickCore/profile.c"" (" """) (string_content "MagickCore/profile.c") (" """)) (, ",") (number_literal "0x79a") (, ",") (string_literal ""SetImageProfileInternal"" (" """) (string_content "SetImageProfileInternal") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3344) != -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3344)" (* "*") (cast_expression "(int *)(param_1 + 0x3344)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3344)" (( "(") (binary_expression "param_1 + 0x3344" (identifier "param_1") (+ "+") (number_literal "0x3344")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");\n  }" ({ "{") (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal")" (identifier "__assert_fail") (argument_list "("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,\n                  "SetImageProfileInternal")" (( "(") (string_literal ""image->signature == MagickCoreSignature"" (" """) (string_content "image->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/profile.c"" (" """) (string_content "MagickCore/profile.c") (" """)) (, ",") (number_literal "0x79b") (, ",") (string_literal ""SetImageProfileInternal"" (" """) (string_content "SetImageProfileInternal") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3328) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x3328) != 0" (pointer_expression "*(int *)(param_1 + 0x3328)" (* "*") (cast_expression "(int *)(param_1 + 0x3328)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3328)" (( "(") (binary_expression "param_1 + 0x3328" (identifier "param_1") (+ "+") (number_literal "0x3328")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }" ({ "{") (expression_statement "LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318)" (identifier "LogMagickEvent") (argument_list "(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,\n                   param_1 + 0x318)" (( "(") (number_literal "0x8000") (, ",") (string_literal ""MagickCore/profile.c"" (" """) (string_content "MagickCore/profile.c") (" """)) (, ",") (string_literal ""SetImageProfileInternal"" (" """) (string_content "SetImageProfileInternal") (" """)) (, ",") (number_literal "0x79d") (, ",") (pointer_expression "&DAT_002b6e4e" (& "&") (identifier "DAT_002b6e4e")) (, ",") (binary_expression "param_1 + 0x318" (identifier "param_1") (+ "+") (number_literal "0x318")) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar5 = CloneStringInfo(param_3);" (assignment_expression "uVar5 = CloneStringInfo(param_3)" (identifier "uVar5") (= "=") (call_expression "CloneStringInfo(param_3)" (identifier "CloneStringInfo") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (expression_statement "iVar6 = LocaleCompare(param_2,&DAT_002c01f4);" (assignment_expression "iVar6 = LocaleCompare(param_2,&DAT_002c01f4)" (identifier "iVar6") (= "=") (call_expression "LocaleCompare(param_2,&DAT_002c01f4)" (identifier "LocaleCompare") (argument_list "(param_2,&DAT_002c01f4)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&DAT_002c01f4" (& "&") (identifier "DAT_002c01f4")) () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n    pcVar9 = (char *)GetStringInfoDatum(uVar5);\n    pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }\nLAB_00129a48:\n    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n    if (iVar6 == 0) {\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }\n  }\n  else {\n    iVar6 = LocaleCompare(param_2,&DAT_002c0184);\n    if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar9 = (char *)GetStringInfoDatum(uVar5);\n    pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");\n    if (pcVar9 != (char *)0x0) {\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }\nLAB_00129a48:\n    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);\n    if (iVar6 == 0) {\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }\n  }" ({ "{") (expression_statement "pcVar9 = (char *)GetStringInfoDatum(uVar5);" (assignment_expression "pcVar9 = (char *)GetStringInfoDatum(uVar5)" (identifier "pcVar9") (= "=") (cast_expression "(char *)GetStringInfoDatum(uVar5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "GetStringInfoDatum(uVar5)" (identifier "GetStringInfoDatum") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))))) (; ";")) (expression_statement "pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");" (assignment_expression "pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>")" (identifier "pcVar9") (= "=") (call_expression "strstr(pcVar9,"<?xpacket end=\"w\"?>")" (identifier "strstr") (argument_list "(pcVar9,"<?xpacket end=\"w\"?>")" (( "(") (identifier "pcVar9") (, ",") (string_literal ""<?xpacket end=\"w\"?>"" (" """) (string_content "<?xpacket end=") (escape_sequence "\"") (string_content "w") (escape_sequence "\"") (string_content "?>") (" """)) () ")")))) (; ";")) (if_statement "if (pcVar9 != (char *)0x0) {\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }" (if "if") (parenthesized_expression "(pcVar9 != (char *)0x0)" (( "(") (binary_expression "pcVar9 != (char *)0x0" (identifier "pcVar9") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      iVar6 = GetStringInfoDatum(uVar5);\n      pcVar10 = (char *)GetStringInfoLength(uVar5);\n      if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }\n    }" ({ "{") (expression_statement "iVar6 = GetStringInfoDatum(uVar5);" (assignment_expression "iVar6 = GetStringInfoDatum(uVar5)" (identifier "iVar6") (= "=") (call_expression "GetStringInfoDatum(uVar5)" (identifier "GetStringInfoDatum") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "pcVar10 = (char *)GetStringInfoLength(uVar5);" (assignment_expression "pcVar10 = (char *)GetStringInfoLength(uVar5)" (identifier "pcVar10") (= "=") (cast_expression "(char *)GetStringInfoLength(uVar5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "GetStringInfoLength(uVar5)" (identifier "GetStringInfoLength") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))))) (; ";")) (if_statement "if (pcVar9 + (0x13 - iVar6) != pcVar10) {\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }" (if "if") (parenthesized_expression "(pcVar9 + (0x13 - iVar6) != pcVar10)" (( "(") (binary_expression "pcVar9 + (0x13 - iVar6) != pcVar10" (binary_expression "pcVar9 + (0x13 - iVar6)" (identifier "pcVar9") (+ "+") (parenthesized_expression "(0x13 - iVar6)" (( "(") (binary_expression "0x13 - iVar6" (number_literal "0x13") (- "-") (identifier "iVar6")) () ")"))) (!= "!=") (identifier "pcVar10")) () ")")) (compound_statement "{\n        pcVar9[0x13] = '\0';\n        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));\n      }" ({ "{") (expression_statement "pcVar9[0x13] = '\0';" (assignment_expression "pcVar9[0x13] = '\0'" (subscript_expression "pcVar9[0x13]" (identifier "pcVar9") ([ "[") (number_literal "0x13") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));" (call_expression "SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6))" (identifier "SetStringInfoLength") (argument_list "(uVar5,pcVar9 + (0x13 - iVar6))" (( "(") (identifier "uVar5") (, ",") (binary_expression "pcVar9 + (0x13 - iVar6)" (identifier "pcVar9") (+ "+") (parenthesized_expression "(0x13 - iVar6)" (( "(") (binary_expression "0x13 - iVar6" (number_literal "0x13") (- "-") (identifier "iVar6")) () ")"))) () ")"))) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_00129a48:\n    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);" (statement_identifier "LAB_00129a48") (: ":") (expression_statement "iVar6 = LocaleCompare(param_2,&DAT_002c01f4);" (assignment_expression "iVar6 = LocaleCompare(param_2,&DAT_002c01f4)" (identifier "iVar6") (= "=") (call_expression "LocaleCompare(param_2,&DAT_002c01f4)" (identifier "LocaleCompare") (argument_list "(param_2,&DAT_002c01f4)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&DAT_002c01f4" (& "&") (identifier "DAT_002c01f4")) () ")")))) (; ";"))) (if_statement "if (iVar6 == 0) {\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar6 = 1;\n      ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);\n      DestroyStringInfo(uVar5);\n      goto LAB_00129940;\n    }" ({ "{") (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" (identifier "iVar6") (= "=") (number_literal "1")) (; ";")) (expression_statement "ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);" (call_expression "ThrowMagickException\n                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318)" (identifier "ThrowMagickException") (argument_list "(param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,\n                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318)" (( "(") (identifier "param_5") (, ",") (string_literal ""MagickCore/profile.c"" (" """) (string_content "MagickCore/profile.c") (" """)) (, ",") (string_literal ""ValidateXMPProfile"" (" """) (string_content "ValidateXMPProfile") (" """)) (, ",") (number_literal "0x787") (, ",") (number_literal "0x1a4") (, ",") (string_literal ""DelegateLibrarySupportNotBuiltIn"" (" """) (string_content "DelegateLibrarySupportNotBuiltIn") (" """)) (, ",") (string_literal ""\'%s\' (XML)"" (" """) (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (string_content " (XML)") (" """)) (, ",") (binary_expression "param_1 + 0x318" (identifier "param_1") (+ "+") (number_literal "0x318")) () ")"))) (; ";")) (expression_statement "DestroyStringInfo(uVar5);" (call_expression "DestroyStringInfo(uVar5)" (identifier "DestroyStringInfo") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (goto_statement "goto LAB_00129940;" (goto "goto") (statement_identifier "LAB_00129940") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar6 = LocaleCompare(param_2,&DAT_002c0184);\n    if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }" (else "else") (compound_statement "{\n    iVar6 = LocaleCompare(param_2,&DAT_002c0184);\n    if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }\n  }" ({ "{") (expression_statement "iVar6 = LocaleCompare(param_2,&DAT_002c0184);" (assignment_expression "iVar6 = LocaleCompare(param_2,&DAT_002c0184)" (identifier "iVar6") (= "=") (call_expression "LocaleCompare(param_2,&DAT_002c0184)" (identifier "LocaleCompare") (argument_list "(param_2,&DAT_002c0184)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&DAT_002c0184" (& "&") (identifier "DAT_002c0184")) () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar7 = GetStringInfoDatum(uVar5);\n      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);\n      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }\n      goto LAB_00129a48;\n    }" ({ "{") (expression_statement "uVar7 = GetStringInfoDatum(uVar5);" (assignment_expression "uVar7 = GetStringInfoDatum(uVar5)" (identifier "uVar7") (= "=") (call_expression "GetStringInfoDatum(uVar5)" (identifier "GetStringInfoDatum") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);" (assignment_expression "iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2)" (identifier "iVar6") (= "=") (call_expression "LocaleNCompare(uVar7,&DAT_002c3bbd,2)" (identifier "LocaleNCompare") (argument_list "(uVar7,&DAT_002c3bbd,2)" (( "(") (identifier "uVar7") (, ",") (pointer_expression "&DAT_002c3bbd" (& "&") (identifier "DAT_002c3bbd")) (, ",") (number_literal "2") () ")")))) (; ";")) (if_statement "if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }" (if "if") (parenthesized_expression "((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0))" (( "(") (binary_expression "(iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)" (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)" (( "(") (comma_expression "iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0" (assignment_expression "iVar6 = LocaleNCompare(uVar7,"II",2)" (identifier "iVar6") (= "=") (call_expression "LocaleNCompare(uVar7,"II",2)" (identifier "LocaleNCompare") (argument_list "(uVar7,"II",2)" (( "(") (identifier "uVar7") (, ",") (string_literal ""II"" (" """) (string_content "II") (" """)) (, ",") (number_literal "2") () ")")))) (, ",") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        local_1020 = DAT_002c3c40;\n        local_101c = DAT_002c3c44;\n        local_101a = DAT_002c3c46;\n        iVar6 = AcquireStringInfo(6);\n        if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }\n      }" ({ "{") (expression_statement "local_1020 = DAT_002c3c40;" (assignment_expression "local_1020 = DAT_002c3c40" (identifier "local_1020") (= "=") (identifier "DAT_002c3c40")) (; ";")) (expression_statement "local_101c = DAT_002c3c44;" (assignment_expression "local_101c = DAT_002c3c44" (identifier "local_101c") (= "=") (identifier "DAT_002c3c44")) (; ";")) (expression_statement "local_101a = DAT_002c3c46;" (assignment_expression "local_101a = DAT_002c3c46" (identifier "local_101a") (= "=") (identifier "DAT_002c3c46")) (; ";")) (expression_statement "iVar6 = AcquireStringInfo(6);" (assignment_expression "iVar6 = AcquireStringInfo(6)" (identifier "iVar6") (= "=") (call_expression "AcquireStringInfo(6)" (identifier "AcquireStringInfo") (argument_list "(6)" (( "(") (number_literal "6") () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          SetStringInfoDatum(iVar6,&local_1020);\n          ConcatenateStringInfo(iVar6,uVar5);\n          uVar7 = GetStringInfoLength(iVar6);\n          SetStringInfoLength(uVar5,uVar7);\n          SetStringInfo(uVar5,iVar6);\n          DestroyStringInfo(iVar6);\n        }" ({ "{") (expression_statement "SetStringInfoDatum(iVar6,&local_1020);" (call_expression "SetStringInfoDatum(iVar6,&local_1020)" (identifier "SetStringInfoDatum") (argument_list "(iVar6,&local_1020)" (( "(") (identifier "iVar6") (, ",") (pointer_expression "&local_1020" (& "&") (identifier "local_1020")) () ")"))) (; ";")) (expression_statement "ConcatenateStringInfo(iVar6,uVar5);" (call_expression "ConcatenateStringInfo(iVar6,uVar5)" (identifier "ConcatenateStringInfo") (argument_list "(iVar6,uVar5)" (( "(") (identifier "iVar6") (, ",") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "uVar7 = GetStringInfoLength(iVar6);" (assignment_expression "uVar7 = GetStringInfoLength(iVar6)" (identifier "uVar7") (= "=") (call_expression "GetStringInfoLength(iVar6)" (identifier "GetStringInfoLength") (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "SetStringInfoLength(uVar5,uVar7);" (call_expression "SetStringInfoLength(uVar5,uVar7)" (identifier "SetStringInfoLength") (argument_list "(uVar5,uVar7)" (( "(") (identifier "uVar5") (, ",") (identifier "uVar7") () ")"))) (; ";")) (expression_statement "SetStringInfo(uVar5,iVar6);" (call_expression "SetStringInfo(uVar5,iVar6)" (identifier "SetStringInfo") (argument_list "(uVar5,iVar6)" (( "(") (identifier "uVar5") (, ",") (identifier "iVar6") () ")"))) (; ";")) (expression_statement "DestroyStringInfo(iVar6);" (call_expression "DestroyStringInfo(iVar6)" (identifier "DestroyStringInfo") (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")"))) (; ";")) (} "}"))) (} "}"))) (goto_statement "goto LAB_00129a48;" (goto "goto") (statement_identifier "LAB_00129a48") (; ";")) (} "}"))) (} "}")))) (if_statement "if (*(int *)(param_1 + 0x1d8) == 0) {\n    uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510);\n    *(undefined4 *)(param_1 + 0x1d8) = uVar7;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1d8) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1d8) == 0" (pointer_expression "*(int *)(param_1 + 0x1d8)" (* "*") (cast_expression "(int *)(param_1 + 0x1d8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1d8)" (( "(") (binary_expression "param_1 + 0x1d8" (identifier "param_1") (+ "+") (number_literal "0x1d8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510);\n    *(undefined4 *)(param_1 + 0x1d8) = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510);" (assignment_expression "uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510)" (identifier "uVar7") (= "=") (call_expression "NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510)" (identifier "NewSplayTree") (argument_list "(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,\n                         FUN_00129510)" (( "(") (identifier "PTR_CompareSplayTreeString_003d8fb8") (, ",") (identifier "PTR_RelinquishMagickMemory_003d8fd8") (, ",") (identifier "FUN_00129510") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x1d8) = uVar7;" (assignment_expression "*(undefined4 *)(param_1 + 0x1d8) = uVar7" (pointer_expression "*(undefined4 *)(param_1 + 0x1d8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1d8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1d8)" (( "(") (binary_expression "param_1 + 0x1d8" (identifier "param_1") (+ "+") (number_literal "0x1d8")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "CopyMagickString(&local_1020,param_2,0x1000);" (call_expression "CopyMagickString(&local_1020,param_2,0x1000)" (identifier "CopyMagickString") (argument_list "(&local_1020,param_2,0x1000)" (( "(") (pointer_expression "&local_1020" (& "&") (identifier "local_1020")) (, ",") (identifier "param_2") (, ",") (number_literal "0x1000") () ")"))) (; ";")) (expression_statement "LocaleLower(&local_1020);" (call_expression "LocaleLower(&local_1020)" (identifier "LocaleLower") (argument_list "(&local_1020)" (( "(") (pointer_expression "&local_1020" (& "&") (identifier "local_1020")) () ")"))) (; ";")) (expression_statement "uVar7 = ConstantString(&local_1020);" (assignment_expression "uVar7 = ConstantString(&local_1020)" (identifier "uVar7") (= "=") (call_expression "ConstantString(&local_1020)" (identifier "ConstantString") (argument_list "(&local_1020)" (( "(") (pointer_expression "&local_1020" (& "&") (identifier "local_1020")) () ")")))) (; ";")) (expression_statement "iVar6 = AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5);" (assignment_expression "iVar6 = AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5)" (identifier "iVar6") (= "=") (call_expression "AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5)" (identifier "AddValueToSplayTree") (argument_list "(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x1d8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1d8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1d8)" (( "(") (binary_expression "param_1 + 0x1d8" (identifier "param_1") (+ "+") (number_literal "0x1d8")) () ")")))) (, ",") (identifier "uVar7") (, ",") (identifier "uVar5") () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    iVar8 = LocaleCompare(param_2,&DAT_002ac062);\n    if (iVar8 == 0) {\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }\n    else if (param_4 == 0) {\n      FUN_00129530();\n    }\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar8 = LocaleCompare(param_2,&DAT_002ac062);\n    if (iVar8 == 0) {\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }\n    else if (param_4 == 0) {\n      FUN_00129530();\n    }\n  }" ({ "{") (expression_statement "iVar8 = LocaleCompare(param_2,&DAT_002ac062);" (assignment_expression "iVar8 = LocaleCompare(param_2,&DAT_002ac062)" (identifier "iVar8") (= "=") (call_expression "LocaleCompare(param_2,&DAT_002ac062)" (identifier "LocaleCompare") (argument_list "(param_2,&DAT_002ac062)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&DAT_002ac062" (& "&") (identifier "DAT_002ac062")) () ")")))) (; ";")) (if_statement "if (iVar8 == 0) {\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }\n    else if (param_4 == 0) {\n      FUN_00129530();\n    }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar11 = GetStringInfoDatum(uVar5);\n      iVar8 = GetStringInfoLength(uVar5);\n      uVar15 = uVar11;\n      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }\n    }" ({ "{") (expression_statement "uVar11 = GetStringInfoDatum(uVar5);" (assignment_expression "uVar11 = GetStringInfoDatum(uVar5)" (identifier "uVar11") (= "=") (call_expression "GetStringInfoDatum(uVar5)" (identifier "GetStringInfoDatum") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "iVar8 = GetStringInfoLength(uVar5);" (assignment_expression "iVar8 = GetStringInfoLength(uVar5)" (identifier "iVar8") (= "=") (call_expression "GetStringInfoLength(uVar5)" (identifier "GetStringInfoLength") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "uVar15 = uVar11;" (assignment_expression "uVar15 = uVar11" (identifier "uVar15") (= "=") (identifier "uVar11")) (; ";")) (while_statement "while ((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))\n      {\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }" (while "while") (parenthesized_expression "((uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))" (( "(") (parenthesized_expression "(uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0))" (( "(") (binary_expression "uVar15 < (uVar11 - 0x10) + iVar8 &&\n             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)" (binary_expression "uVar15 < (uVar11 - 0x10) + iVar8" (identifier "uVar15") (< "<") (binary_expression "(uVar11 - 0x10) + iVar8" (parenthesized_expression "(uVar11 - 0x10)" (( "(") (binary_expression "uVar11 - 0x10" (identifier "uVar11") (- "-") (number_literal "0x10")) () ")")) (+ "+") (identifier "iVar8"))) (&& "&&") (parenthesized_expression "(iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)" (( "(") (comma_expression "iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0" (assignment_expression "iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4)" (identifier "iVar12") (= "=") (call_expression "LocaleNCompare(uVar15,&DAT_002a239a,4)" (identifier "LocaleNCompare") (argument_list "(uVar15,&DAT_002a239a,4)" (( "(") (identifier "uVar15") (, ",") (pointer_expression "&DAT_002a239a" (& "&") (identifier "DAT_002a239a")) (, ",") (number_literal "4") () ")")))) (, ",") (comma_expression "fVar3 = DAT_002c3ee4, iVar12 == 0" (assignment_expression "fVar3 = DAT_002c3ee4" (identifier "fVar3") (= "=") (identifier "DAT_002c3ee4")) (, ",") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0")))) () ")"))) () ")")) () ")")) (compound_statement "{\n        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));\n        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;\n        uVar1 = *puVar13;\n        puVar14 = puVar13 + 1;\n        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;\n        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }\n        puVar14 = (uint *)((int)puVar14 + uVar16);\n        FUN_00129820(1,param_5);\n        DestroyStringInfo(uVar5);\ncode_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);\n      }" ({ "{") (expression_statement "puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));" (assignment_expression "puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0))" (identifier "puVar13") (= "=") (cast_expression "(uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0))" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0))" (( "(") (binary_expression "(uVar15 + *(byte *)(uVar15 + 6) + 8) -\n                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0)" (parenthesized_expression "(uVar15 + *(byte *)(uVar15 + 6) + 8)" (( "(") (binary_expression "uVar15 + *(byte *)(uVar15 + 6) + 8" (binary_expression "uVar15 + *(byte *)(uVar15 + 6)" (identifier "uVar15") (+ "+") (pointer_expression "*(byte *)(uVar15 + 6)" (* "*") (cast_expression "(byte *)(uVar15 + 6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar15 + 6)" (( "(") (binary_expression "uVar15 + 6" (identifier "uVar15") (+ "+") (number_literal "6")) () ")"))))) (+ "+") (number_literal "8")) () ")")) (- "-") (call_expression "(uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((*(byte *)(uVar15 + 6) + 1 & 1) == 0)" (( "(") (binary_expression "(*(byte *)(uVar15 + 6) + 1 & 1) == 0" (parenthesized_expression "(*(byte *)(uVar15 + 6) + 1 & 1)" (( "(") (binary_expression "*(byte *)(uVar15 + 6) + 1 & 1" (binary_expression "*(byte *)(uVar15 + 6) + 1" (pointer_expression "*(byte *)(uVar15 + 6)" (* "*") (cast_expression "(byte *)(uVar15 + 6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar15 + 6)" (( "(") (binary_expression "uVar15 + 6" (identifier "uVar15") (+ "+") (number_literal "6")) () ")")))) (+ "+") (number_literal "1")) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")))) () ")")))) (; ";")) (if_statement "if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;" (if "if") (parenthesized_expression "((uint *)((uVar11 - 4) + iVar8) < puVar13)" (( "(") (binary_expression "(uint *)((uVar11 - 4) + iVar8) < puVar13" (cast_expression "(uint *)((uVar11 - 4) + iVar8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uVar11 - 4) + iVar8)" (( "(") (binary_expression "(uVar11 - 4) + iVar8" (parenthesized_expression "(uVar11 - 4)" (( "(") (binary_expression "uVar11 - 4" (identifier "uVar11") (- "-") (number_literal "4")) () ")")) (+ "+") (identifier "iVar8")) () ")"))) (< "<") (identifier "puVar13")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar1 = *puVar13;" (assignment_expression "uVar1 = *puVar13" (identifier "uVar1") (= "=") (pointer_expression "*puVar13" (* "*") (identifier "puVar13"))) (; ";")) (expression_statement "puVar14 = puVar13 + 1;" (assignment_expression "puVar14 = puVar13 + 1" (identifier "puVar14") (= "=") (binary_expression "puVar13 + 1" (identifier "puVar13") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (identifier "uVar16") (= "=") (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" (identifier "uVar1") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar1 << 0x18" (identifier "uVar1") (<< "<<") (number_literal "0x18")))) (; ";")) (if_statement "if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)) break;" (if "if") (parenthesized_expression "((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0))" (( "(") (binary_expression "(((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||\n           ((int)uVar16 < 0)" (parenthesized_expression "(((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16))" (( "(") (binary_expression "((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)" (parenthesized_expression "((uint *)((iVar8 - uVar16) + uVar11) < puVar14)" (( "(") (binary_expression "(uint *)((iVar8 - uVar16) + uVar11) < puVar14" (cast_expression "(uint *)((iVar8 - uVar16) + uVar11)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((iVar8 - uVar16) + uVar11)" (( "(") (binary_expression "(iVar8 - uVar16) + uVar11" (parenthesized_expression "(iVar8 - uVar16)" (( "(") (binary_expression "iVar8 - uVar16" (identifier "iVar8") (- "-") (identifier "uVar16")) () ")")) (+ "+") (identifier "uVar11")) () ")"))) (< "<") (identifier "puVar14")) () ")")) (|| "||") (parenthesized_expression "(iVar8 < (int)uVar16)" (( "(") (binary_expression "iVar8 < (int)uVar16" (identifier "iVar8") (< "<") (cast_expression "(int)uVar16" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar16"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "((int)uVar16 < 0)" (( "(") (binary_expression "(int)uVar16 < 0" (cast_expression "(int)uVar16" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar16")) (< "<") (number_literal "0")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (switch_statement "switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }" (switch "switch") (parenthesized_expression "(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8)" (( "(") (binary_expression "*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8" (binary_expression "*(ushort *)(uVar15 + 4) << 8" (pointer_expression "*(ushort *)(uVar15 + 4)" (* "*") (cast_expression "(ushort *)(uVar15 + 4)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar15 + 4)" (( "(") (binary_expression "uVar15 + 4" (identifier "uVar15") (+ "+") (number_literal "4")) () ")")))) (<< "<<") (number_literal "8")) (| "|") (binary_expression "*(ushort *)(uVar15 + 4) >> 8" (pointer_expression "*(ushort *)(uVar15 + 4)" (* "*") (cast_expression "(ushort *)(uVar15 + 4)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar15 + 4)" (( "(") (binary_expression "uVar15 + 4" (identifier "uVar15") (+ "+") (number_literal "4")) () ")")))) (>> ">>") (number_literal "8"))) () ")")) (compound_statement "{\n        case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;\n        default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;\n        case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;\n        case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n        }" ({ "{") (case_statement "case 0x3ed:\n          if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }\n          goto code_r0x00129c82;" (case "case") (number_literal "0x3ed") (: ":") (if_statement "if (9 < (int)uVar16) {\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }" (if "if") (parenthesized_expression "(9 < (int)uVar16)" (( "(") (binary_expression "9 < (int)uVar16" (number_literal "9") (< "<") (cast_expression "(int)uVar16" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar16"))) () ")")) (compound_statement "{\n            uVar15 = puVar13[1];\n            puVar14 = puVar13 + 5;\n            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;\n            *(double *)(param_1 + 0x1f0) = (double)fVar2;\n            uVar15 = puVar13[3];\n            uVar16 = puVar13[2];\n            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;\n            *(double *)(param_1 + 0x1f8) = (double)fVar3;\n            if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }\n          }" ({ "{") (expression_statement "uVar15 = puVar13[1];" (assignment_expression "uVar15 = puVar13[1]" (identifier "uVar15") (= "=") (subscript_expression "puVar13[1]" (identifier "puVar13") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar14 = puVar13 + 5;" (assignment_expression "puVar14 = puVar13 + 5" (identifier "puVar14") (= "=") (binary_expression "puVar13 + 5" (identifier "puVar13") (+ "+") (number_literal "5"))) (; ";")) (expression_statement "fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4;" (assignment_expression "fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4" (identifier "fVar2") (= "=") (binary_expression "(float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * DAT_002c3ee4" (cast_expression "(float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18)" (( "(") (binary_expression "uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18" (binary_expression "uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8" (binary_expression "uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8" (binary_expression "uVar15 >> 0x18" (identifier "uVar15") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar15 & 0xff0000) >> 8" (parenthesized_expression "(uVar15 & 0xff0000)" (( "(") (binary_expression "uVar15 & 0xff0000" (identifier "uVar15") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar15 & 0xff00) << 8" (parenthesized_expression "(uVar15 & 0xff00)" (( "(") (binary_expression "uVar15 & 0xff00" (identifier "uVar15") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar15 << 0x18" (identifier "uVar15") (<< "<<") (number_literal "0x18"))) () ")"))) (* "*") (identifier "DAT_002c3ee4"))) (; ";")) (expression_statement "*(double *)(param_1 + 0x1f0) = (double)fVar2;" (assignment_expression "*(double *)(param_1 + 0x1f0) = (double)fVar2" (pointer_expression "*(double *)(param_1 + 0x1f0)" (* "*") (cast_expression "(double *)(param_1 + 0x1f0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1f0)" (( "(") (binary_expression "param_1 + 0x1f0" (identifier "param_1") (+ "+") (number_literal "0x1f0")) () ")")))) (= "=") (cast_expression "(double)fVar2" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar2"))) (; ";")) (expression_statement "uVar15 = puVar13[3];" (assignment_expression "uVar15 = puVar13[3]" (identifier "uVar15") (= "=") (subscript_expression "puVar13[3]" (identifier "puVar13") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "uVar16 = puVar13[2];" (assignment_expression "uVar16 = puVar13[2]" (identifier "uVar16") (= "=") (subscript_expression "puVar13[2]" (identifier "puVar13") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3;" (assignment_expression "fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3" (identifier "fVar3") (= "=") (binary_expression "(float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18) * fVar3" (cast_expression "(float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18)" (( "(") (binary_expression "uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |\n                           uVar15 << 0x18" (binary_expression "uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8" (binary_expression "uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8" (binary_expression "uVar15 >> 0x18" (identifier "uVar15") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar15 & 0xff0000) >> 8" (parenthesized_expression "(uVar15 & 0xff0000)" (( "(") (binary_expression "uVar15 & 0xff0000" (identifier "uVar15") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar15 & 0xff00) << 8" (parenthesized_expression "(uVar15 & 0xff00)" (( "(") (binary_expression "uVar15 & 0xff00" (identifier "uVar15") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar15 << 0x18" (identifier "uVar15") (<< "<<") (number_literal "0x18"))) () ")"))) (* "*") (identifier "fVar3"))) (; ";")) (expression_statement "*(double *)(param_1 + 0x1f8) = (double)fVar3;" (assignment_expression "*(double *)(param_1 + 0x1f8) = (double)fVar3" (pointer_expression "*(double *)(param_1 + 0x1f8)" (* "*") (cast_expression "(double *)(param_1 + 0x1f8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1f8)" (( "(") (binary_expression "param_1 + 0x1f8" (identifier "param_1") (+ "+") (number_literal "0x1f8")) () ")")))) (= "=") (cast_expression "(double)fVar3" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar3"))) (; ";")) (if_statement "if ((short)uVar16 == 0x200) {\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }\n            else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }" (if "if") (parenthesized_expression "((short)uVar16 == 0x200)" (( "(") (binary_expression "(short)uVar16 == 0x200" (cast_expression "(short)uVar16" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "uVar16")) (== "==") (number_literal "0x200")) () ")")) (compound_statement "{\n              fVar4 = (float)_DAT_002b7d50;\n              *(undefined4 *)(param_1 + 0x1dc) = 2;\n              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);\n              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);\n            }" ({ "{") (expression_statement "fVar4 = (float)_DAT_002b7d50;" (assignment_expression "fVar4 = (float)_DAT_002b7d50" (identifier "fVar4") (= "=") (cast_expression "(float)_DAT_002b7d50" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (identifier "_DAT_002b7d50"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x1dc) = 2;" (assignment_expression "*(undefined4 *)(param_1 + 0x1dc) = 2" (pointer_expression "*(undefined4 *)(param_1 + 0x1dc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1dc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1dc)" (( "(") (binary_expression "param_1 + 0x1dc" (identifier "param_1") (+ "+") (number_literal "0x1dc")) () ")")))) (= "=") (number_literal "2")) (; ";")) (expression_statement "*(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);" (assignment_expression "*(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4)" (pointer_expression "*(double *)(param_1 + 0x1f0)" (* "*") (cast_expression "(double *)(param_1 + 0x1f0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1f0)" (( "(") (binary_expression "param_1 + 0x1f0" (identifier "param_1") (+ "+") (number_literal "0x1f0")) () ")")))) (= "=") (cast_expression "(double)(fVar2 / fVar4)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "(fVar2 / fVar4)" (( "(") (binary_expression "fVar2 / fVar4" (identifier "fVar2") (/ "/") (identifier "fVar4")) () ")")))) (; ";")) (expression_statement "*(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);" (assignment_expression "*(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4)" (pointer_expression "*(double *)(param_1 + 0x1f8)" (* "*") (cast_expression "(double *)(param_1 + 0x1f8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1f8)" (( "(") (binary_expression "param_1 + 0x1f8" (identifier "param_1") (+ "+") (number_literal "0x1f8")) () ")")))) (= "=") (cast_expression "(double)(fVar3 / fVar4)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "(fVar3 / fVar4)" (( "(") (binary_expression "fVar3 / fVar4" (identifier "fVar3") (/ "/") (identifier "fVar4")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }" (else "else") (compound_statement "{\n              *(undefined4 *)(param_1 + 0x1dc) = 1;\n            }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0x1dc) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x1dc) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x1dc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1dc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1dc)" (( "(") (binary_expression "param_1 + 0x1dc" (identifier "param_1") (+ "+") (number_literal "0x1dc")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}")))) (} "}"))) (goto_statement "goto code_r0x00129c82;" (goto "goto") (statement_identifier "code_r0x00129c82") (; ";"))) (case_statement "default:\n          puVar14 = (uint *)((int)puVar14 + uVar16);\n          goto code_r0x00129c82;" (default "default") (: ":") (expression_statement "puVar14 = (uint *)((int)puVar14 + uVar16);" (assignment_expression "puVar14 = (uint *)((int)puVar14 + uVar16)" (identifier "puVar14") (= "=") (cast_expression "(uint *)((int)puVar14 + uVar16)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar14 + uVar16)" (( "(") (binary_expression "(int)puVar14 + uVar16" (cast_expression "(int)puVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar14")) (+ "+") (identifier "uVar16")) () ")")))) (; ";")) (goto_statement "goto code_r0x00129c82;" (goto "goto") (statement_identifier "code_r0x00129c82") (; ";"))) (case_statement "case 0x404:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;" (case "case") (number_literal "0x404") (: ":") (expression_statement "uVar5 = AcquireStringInfo(uVar16);" (assignment_expression "uVar5 = AcquireStringInfo(uVar16)" (identifier "uVar5") (= "=") (call_expression "AcquireStringInfo(uVar16)" (identifier "AcquireStringInfo") (argument_list "(uVar16)" (( "(") (identifier "uVar16") () ")")))) (; ";")) (expression_statement "SetStringInfoDatum(uVar5,puVar14);" (call_expression "SetStringInfoDatum(uVar5,puVar14)" (identifier "SetStringInfoDatum") (argument_list "(uVar5,puVar14)" (( "(") (identifier "uVar5") (, ",") (identifier "puVar14") () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0x40f:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;" (case "case") (number_literal "0x40f") (: ":") (expression_statement "uVar5 = AcquireStringInfo(uVar16);" (assignment_expression "uVar5 = AcquireStringInfo(uVar16)" (identifier "uVar5") (= "=") (call_expression "AcquireStringInfo(uVar16)" (identifier "AcquireStringInfo") (argument_list "(uVar16)" (( "(") (identifier "uVar16") () ")")))) (; ";")) (expression_statement "SetStringInfoDatum(uVar5,puVar14);" (call_expression "SetStringInfoDatum(uVar5,puVar14)" (identifier "SetStringInfoDatum") (argument_list "(uVar5,puVar14)" (( "(") (identifier "uVar5") (, ",") (identifier "puVar14") () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0x422:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);\n          break;" (case "case") (number_literal "0x422") (: ":") (expression_statement "uVar5 = AcquireStringInfo(uVar16);" (assignment_expression "uVar5 = AcquireStringInfo(uVar16)" (identifier "uVar5") (= "=") (call_expression "AcquireStringInfo(uVar16)" (identifier "AcquireStringInfo") (argument_list "(uVar16)" (( "(") (identifier "uVar16") () ")")))) (; ";")) (expression_statement "SetStringInfoDatum(uVar5,puVar14);" (call_expression "SetStringInfoDatum(uVar5,puVar14)" (identifier "SetStringInfoDatum") (argument_list "(uVar5,puVar14)" (( "(") (identifier "uVar5") (, ",") (identifier "puVar14") () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0x424:\n          uVar5 = AcquireStringInfo(uVar16);\n          SetStringInfoDatum(uVar5,puVar14);" (case "case") (number_literal "0x424") (: ":") (expression_statement "uVar5 = AcquireStringInfo(uVar16);" (assignment_expression "uVar5 = AcquireStringInfo(uVar16)" (identifier "uVar5") (= "=") (call_expression "AcquireStringInfo(uVar16)" (identifier "AcquireStringInfo") (argument_list "(uVar16)" (( "(") (identifier "uVar16") () ")")))) (; ";")) (expression_statement "SetStringInfoDatum(uVar5,puVar14);" (call_expression "SetStringInfoDatum(uVar5,puVar14)" (identifier "SetStringInfoDatum") (argument_list "(uVar5,puVar14)" (( "(") (identifier "uVar5") (, ",") (identifier "puVar14") () ")"))) (; ";"))) (} "}"))) (expression_statement "puVar14 = (uint *)((int)puVar14 + uVar16);" (assignment_expression "puVar14 = (uint *)((int)puVar14 + uVar16)" (identifier "puVar14") (= "=") (cast_expression "(uint *)((int)puVar14 + uVar16)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar14 + uVar16)" (( "(") (binary_expression "(int)puVar14 + uVar16" (cast_expression "(int)puVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar14")) (+ "+") (identifier "uVar16")) () ")")))) (; ";")) (expression_statement "FUN_00129820(1,param_5);" (call_expression "FUN_00129820(1,param_5)" (identifier "FUN_00129820") (argument_list "(1,param_5)" (( "(") (number_literal "1") (, ",") (identifier "param_5") () ")"))) (; ";")) (expression_statement "DestroyStringInfo(uVar5);" (call_expression "DestroyStringInfo(uVar5)" (identifier "DestroyStringInfo") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (labeled_statement "code_r0x00129c82:\n        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);" (statement_identifier "code_r0x00129c82") (: ":") (expression_statement "uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);" (assignment_expression "uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0)" (identifier "uVar15") (= "=") (binary_expression "(int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0)" (cast_expression "(int)puVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar14")) (+ "+") (call_expression "(uint)((uVar1 >> 0x18 & 1) != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((uVar1 >> 0x18 & 1) != 0)" (( "(") (binary_expression "(uVar1 >> 0x18 & 1) != 0" (parenthesized_expression "(uVar1 >> 0x18 & 1)" (( "(") (binary_expression "uVar1 >> 0x18 & 1" (binary_expression "uVar1 >> 0x18" (identifier "uVar1") (>> ">>") (number_literal "0x18")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")"))))) (; ";"))) (} "}"))) (} "}")) (else_clause "else if (param_4 == 0) {\n      FUN_00129530();\n    }" (else "else") (if_statement "if (param_4 == 0) {\n      FUN_00129530();\n    }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00129530();\n    }" ({ "{") (expression_statement "FUN_00129530();" (call_expression "FUN_00129530()" (identifier "FUN_00129530") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))))) (} "}"))) (labeled_statement "LAB_00129940:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\n  }" (statement_identifier "LAB_00129940") (: ":") (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar6;\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 iVar6;\n  }" ({ "{") (return_statement "return iVar6;" (return "return") (identifier "iVar6") (; ";")) (} "}")))) (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 "ExceptionType": Some values do not have unique names */
/* 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 "LogEventType": Some values do not have unique names */

type_1 __regparm3
function_1
          (type_2 *var_2,char *name,type_3 *profile,type_1 var_40,
          type_4 *exception)

{
  int var_42;
  type_5 var_33;
  float var_38;
  float var_37;
  float var_39;
  type_5 uVar6;
  type_3 *pSVar7;
  int var_8;
  char *var_11;
  type_1 var_28;
  type_3 *var_19;
  char *var_13;
  type_6 *pSVar12;
  type_7 *var_30;
  size_t var_31;
  type_5 *var_32;
  type_5 *var_35;
  type_7 *var_29;
  type_5 var_34;
  int var_1;
  char key [4096];
  
  var_42 = *(int *)(var_1 + 0x14);
  if (var_2 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");
  }
  if (var_2->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    var_3("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,
                  "SetImageProfileInternal");
  }
  if (var_2->debug != var_4) {
    var_5(TraceEvent,"MagickCore/profile.c","SetImageProfileInternal",0x79d,"%s",
                   var_2->filename);
  }
  pSVar7 = var_6(profile);
  var_8 = var_7(name,"xmp");
  if (var_8 == 0) {
    var_29 = var_9(pSVar7);
    var_11 = var_10((char *)var_29,"<?xpacket end=\"w\"?>");
    if (var_11 != (char *)0x0) {
      var_29 = var_9(pSVar7);
      var_13 = (char *)var_12(pSVar7);
      if (var_11 + (0x13 - (int)var_29) != var_13) {
        var_11[0x13] = '\0';
        var_14(pSVar7,(size_t)(var_11 + (0x13 - (int)var_29)));
      }
    }
LAB_00129a48:
    var_8 = var_7(name,"xmp");
    if (var_8 == 0) {
      var_28 = MagickTrue;
      var_15
                (exception,"MagickCore/profile.c","ValidateXMPProfile",0x787,MissingDelegateError,
                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",var_2->filename);
      var_16(pSVar7);
      goto LAB_00129940;
    }
  }
  else {
    var_8 = var_7(name,"exif");
    if (var_8 == 0) {
      var_29 = var_9(pSVar7);
      var_8 = var_17((char *)var_29,"MM",2);
      if ((var_8 == 0) || (var_8 = var_17((char *)var_29,"II",2), var_8 == 0)) {
        key[0] = (char)DAT_002c3c40;
        key[1] = DAT_002c3c40._1_1_;
        key[2] = DAT_002c3c40._2_1_;
        key[3] = DAT_002c3c40._3_1_;
        key[4] = (char)DAT_002c3c44;
        key[5] = DAT_002c3c44._1_1_;
        key[6] = DAT_002c3c46;
        var_19 = var_18(6);
        if (var_19 != (type_3 *)0x0) {
          var_20(var_19,(type_7 *)key);
          var_21(var_19,pSVar7);
          var_31 = var_12(var_19);
          var_14(pSVar7,var_31);
          var_22(pSVar7,var_19);
          var_16(var_19);
        }
      }
      goto LAB_00129a48;
    }
  }
  if (var_2->profiles == (void *)0x0) {
    pSVar12 = var_23((type_8 *)PTR_CompareSplayTreeString_003d8fb8,
                           (type_9 *)PTR_RelinquishMagickMemory_003d8fd8,
                           DestroyProfile);
    var_2->profiles = pSVar12;
  }
  var_24(key,name,0x1000);
  var_25(key);
  var_11 = var_26(key);
  var_28 = var_27((type_6 *)var_2->profiles,var_11,pSVar7);
  if (var_28 != var_4) {
    var_8 = var_7(name,"8bim");
    if (var_8 == 0) {
      var_30 = var_9(pSVar7);
      var_31 = var_12(pSVar7);
      var_29 = var_30;
      while ((var_29 < var_30 + (var_31 - 0x10) &&
             (var_8 = var_17((char *)var_29,"8BIM",4), var_37 = var_36, var_8 == 0)))
      {
        var_32 = (type_5 *)(var_29 + ((var_29[6] + 8) - (type_5)((var_29[6] + 1 & 1) == 0)));
        if (var_30 + (var_31 - 4) < var_32) break;
        var_33 = *var_32;
        var_35 = var_32 + 1;
        var_34 = var_33 >> 0x18 | (var_33 & 0xff0000) >> 8 | (var_33 & 0xff00) << 8 | var_33 << 0x18;
        if (((var_30 + (var_31 - var_34) < var_35) || ((int)var_31 < (int)var_34)) ||
           ((int)var_34 < 0)) break;
        switch(*(type_10 *)(var_29 + 4) << 8 | *(type_10 *)(var_29 + 4) >> 8) {
        case 0x3ed:
          if (9 < (int)var_34) {
            var_34 = var_32[1];
            var_35 = var_32 + 5;
            var_38 = (float)(var_34 >> 0x18 | (var_34 & 0xff0000) >> 8 | (var_34 & 0xff00) << 8 |
                           var_34 << 0x18) * var_36;
            (var_2->resolution).x = (double)var_38;
            var_34 = var_32[3];
            uVar6 = var_32[2];
            var_37 = (float)(var_34 >> 0x18 | (var_34 & 0xff0000) >> 8 | (var_34 & 0xff00) << 8 |
                           var_34 << 0x18) * var_37;
            (var_2->resolution).y = (double)var_37;
            if ((short)uVar6 == 0x200) {
              var_39 = (float)_DAT_002b7d50;
              var_2->units = PixelsPerCentimeterResolution;
              (var_2->resolution).x = (double)(var_38 / var_39);
              (var_2->resolution).y = (double)(var_37 / var_39);
            }
            else {
              var_2->units = PixelsPerInchResolution;
            }
          }
          goto LAB_00129c82;
        default:
          var_35 = (type_5 *)((int)var_35 + var_34);
          goto LAB_00129c82;
        case 0x404:
          pSVar7 = var_18(var_34);
          var_20(pSVar7,(type_7 *)var_35);
          var_11 = "iptc";
          break;
        case 0x40f:
          pSVar7 = var_18(var_34);
          var_20(pSVar7,(type_7 *)var_35);
          var_11 = "icc";
          break;
        case 0x422:
          pSVar7 = var_18(var_34);
          var_20(pSVar7,(type_7 *)var_35);
          var_11 = "exif";
          break;
        case 0x424:
          pSVar7 = var_18(var_34);
          var_20(pSVar7,(type_7 *)var_35);
          var_11 = "xmp";
        }
        var_35 = (type_5 *)((int)var_35 + var_34);
        function_1(var_2,var_11,pSVar7,MagickTrue,exception);
        var_16(pSVar7);
LAB_00129c82:
        var_29 = (type_7 *)((int)var_35 + (type_5)((var_33 >> 0x18 & 1) != 0));
      }
    }
    else if (var_40 == var_4) {
      var_41(var_2,name,pSVar7);
    }
  }
LAB_00129940:
  if (var_42 == *(int *)(var_1 + 0x14)) {
    return var_28;
  }
                    /* WARNING: Subroutine does not return */
  var_43();
}


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

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

{
  uint uVar1;
  float fVar2;
  float fVar3;
  float fVar4;
  undefined4 uVar5;
  int iVar6;
  undefined4 uVar7;
  int iVar8;
  char *pcVar9;
  char *pcVar10;
  uint uVar11;
  int iVar12;
  uint *puVar13;
  uint *puVar14;
  uint uVar15;
  uint uVar16;
  int in_GS_OFFSET;
  undefined4 local_1020;
  undefined2 local_101c;
  undefined1 local_101a;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x129829;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/profile.c",0x79a,"SetImageProfileInternal");
  }
  if (*(int *)(param_1 + 0x3344) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/profile.c",0x79b,
                  "SetImageProfileInternal");
  }
  if (*(int *)(param_1 + 0x3328) != 0) {
    LogMagickEvent(0x8000,"MagickCore/profile.c","SetImageProfileInternal",0x79d,&DAT_002b6e4e,
                   param_1 + 0x318);
  }
  uVar5 = CloneStringInfo(param_3);
  iVar6 = LocaleCompare(param_2,&DAT_002c01f4);
  if (iVar6 == 0) {
    pcVar9 = (char *)GetStringInfoDatum(uVar5);
    pcVar9 = strstr(pcVar9,"<?xpacket end=\"w\"?>");
    if (pcVar9 != (char *)0x0) {
      iVar6 = GetStringInfoDatum(uVar5);
      pcVar10 = (char *)GetStringInfoLength(uVar5);
      if (pcVar9 + (0x13 - iVar6) != pcVar10) {
        pcVar9[0x13] = '\0';
        SetStringInfoLength(uVar5,pcVar9 + (0x13 - iVar6));
      }
    }
LAB_00129a48:
    iVar6 = LocaleCompare(param_2,&DAT_002c01f4);
    if (iVar6 == 0) {
      iVar6 = 1;
      ThrowMagickException
                (param_5,"MagickCore/profile.c","ValidateXMPProfile",0x787,0x1a4,
                 "DelegateLibrarySupportNotBuiltIn","\'%s\' (XML)",param_1 + 0x318);
      DestroyStringInfo(uVar5);
      goto LAB_00129940;
    }
  }
  else {
    iVar6 = LocaleCompare(param_2,&DAT_002c0184);
    if (iVar6 == 0) {
      uVar7 = GetStringInfoDatum(uVar5);
      iVar6 = LocaleNCompare(uVar7,&DAT_002c3bbd,2);
      if ((iVar6 == 0) || (iVar6 = LocaleNCompare(uVar7,"II",2), iVar6 == 0)) {
        local_1020 = DAT_002c3c40;
        local_101c = DAT_002c3c44;
        local_101a = DAT_002c3c46;
        iVar6 = AcquireStringInfo(6);
        if (iVar6 != 0) {
          SetStringInfoDatum(iVar6,&local_1020);
          ConcatenateStringInfo(iVar6,uVar5);
          uVar7 = GetStringInfoLength(iVar6);
          SetStringInfoLength(uVar5,uVar7);
          SetStringInfo(uVar5,iVar6);
          DestroyStringInfo(iVar6);
        }
      }
      goto LAB_00129a48;
    }
  }
  if (*(int *)(param_1 + 0x1d8) == 0) {
    uVar7 = NewSplayTree(PTR_CompareSplayTreeString_003d8fb8,PTR_RelinquishMagickMemory_003d8fd8,
                         FUN_00129510);
    *(undefined4 *)(param_1 + 0x1d8) = uVar7;
  }
  CopyMagickString(&local_1020,param_2,0x1000);
  LocaleLower(&local_1020);
  uVar7 = ConstantString(&local_1020);
  iVar6 = AddValueToSplayTree(*(undefined4 *)(param_1 + 0x1d8),uVar7,uVar5);
  if (iVar6 != 0) {
    iVar8 = LocaleCompare(param_2,&DAT_002ac062);
    if (iVar8 == 0) {
      uVar11 = GetStringInfoDatum(uVar5);
      iVar8 = GetStringInfoLength(uVar5);
      uVar15 = uVar11;
      while ((uVar15 < (uVar11 - 0x10) + iVar8 &&
             (iVar12 = LocaleNCompare(uVar15,&DAT_002a239a,4), fVar3 = DAT_002c3ee4, iVar12 == 0)))
      {
        puVar13 = (uint *)((uVar15 + *(byte *)(uVar15 + 6) + 8) -
                          (uint)((*(byte *)(uVar15 + 6) + 1 & 1) == 0));
        if ((uint *)((uVar11 - 4) + iVar8) < puVar13) break;
        uVar1 = *puVar13;
        puVar14 = puVar13 + 1;
        uVar16 = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
        if ((((uint *)((iVar8 - uVar16) + uVar11) < puVar14) || (iVar8 < (int)uVar16)) ||
           ((int)uVar16 < 0)) break;
        switch(*(ushort *)(uVar15 + 4) << 8 | *(ushort *)(uVar15 + 4) >> 8) {
        case 0x3ed:
          if (9 < (int)uVar16) {
            uVar15 = puVar13[1];
            puVar14 = puVar13 + 5;
            fVar2 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |
                           uVar15 << 0x18) * DAT_002c3ee4;
            *(double *)(param_1 + 0x1f0) = (double)fVar2;
            uVar15 = puVar13[3];
            uVar16 = puVar13[2];
            fVar3 = (float)(uVar15 >> 0x18 | (uVar15 & 0xff0000) >> 8 | (uVar15 & 0xff00) << 8 |
                           uVar15 << 0x18) * fVar3;
            *(double *)(param_1 + 0x1f8) = (double)fVar3;
            if ((short)uVar16 == 0x200) {
              fVar4 = (float)_DAT_002b7d50;
              *(undefined4 *)(param_1 + 0x1dc) = 2;
              *(double *)(param_1 + 0x1f0) = (double)(fVar2 / fVar4);
              *(double *)(param_1 + 0x1f8) = (double)(fVar3 / fVar4);
            }
            else {
              *(undefined4 *)(param_1 + 0x1dc) = 1;
            }
          }
          goto code_r0x00129c82;
        default:
          puVar14 = (uint *)((int)puVar14 + uVar16);
          goto code_r0x00129c82;
        case 0x404:
          uVar5 = AcquireStringInfo(uVar16);
          SetStringInfoDatum(uVar5,puVar14);
          break;
        case 0x40f:
          uVar5 = AcquireStringInfo(uVar16);
          SetStringInfoDatum(uVar5,puVar14);
          break;
        case 0x422:
          uVar5 = AcquireStringInfo(uVar16);
          SetStringInfoDatum(uVar5,puVar14);
          break;
        case 0x424:
          uVar5 = AcquireStringInfo(uVar16);
          SetStringInfoDatum(uVar5,puVar14);
        }
        puVar14 = (uint *)((int)puVar14 + uVar16);
        MASKED(1,param_5);
        DestroyStringInfo(uVar5);
code_r0x00129c82:
        uVar15 = (int)puVar14 + (uint)((uVar1 >> 0x18 & 1) != 0);
      }
    }
    else if (param_4 == 0) {
      FUN_00129530();
    }
  }
LAB_00129940:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar6;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0029eab0();
}

