
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

int png_icc_check_header
              (png_const_structrp png_ptr,png_colorspacerp colorspace,png_const_charp name,
              png_uint_32 profile_length,png_const_bytep profile,int color_type)

{
  png_const_structrp png_ptr_00;
  png_colorspacerp colorspace_00;
  png_const_structrp value;
  undefined1 *value_00;
  int iVar1;
  char *reason;
  
  colorspace_00 = colorspace;
  png_ptr_00 = png_ptr;
  value = (png_const_structrp)
          ((uint)profile[1] * 0x10000 + (uint)*profile * 0x1000000 + (uint)profile[3] +
          (uint)profile[2] * 0x100);
  if (value != (png_const_structrp)profile_length) {
    colorspace = (png_colorspacerp)"length does not match profile";
    goto LAB_0001651e;
  }
  if ((3 < profile[8]) && (((uint)value & 3) != 0)) {
    colorspace = (png_colorspacerp)"invalid length";
    goto LAB_0001651e;
  }
  value = (png_const_structrp)
          ((uint)profile[0x82] * 0x100 +
          (uint)profile[0x83] + (uint)profile[0x80] * 0x1000000 + (uint)profile[0x81] * 0x10000);
  if (((png_const_structrp)0x1555554a < value) || (profile_length < (int)value * 0xc + 0x84U)) {
    colorspace = (png_colorspacerp)"tag count too large";
    goto LAB_0001651e;
  }
  value = (png_const_structrp)
          ((uint)profile[0x42] * 0x100 +
          (uint)profile[0x43] + (uint)profile[0x41] * 0x10000 + (uint)profile[0x40] * 0x1000000);
  colorspace = (png_colorspacerp)"invalid rendering intent";
  if ((png_const_structrp)0xfffe < value) goto LAB_0001651e;
  if ((png_const_structrp)0x3 < value) {
    png_icc_profile_error
              (png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value,
               "intent outside defined range");
  }
  value = (png_const_structrp)
          ((uint)profile[0x26] * 0x100 +
          (uint)profile[0x27] + (uint)profile[0x25] * 0x10000 + (uint)profile[0x24] * 0x1000000);
  colorspace = (png_colorspacerp)"invalid signature";
  if (value != (png_const_structrp)0x61637370) goto LAB_0001651e;
  if (((*(int *)(profile + 0x44) != D50_nCIEXYZ._0_4_) ||
      (*(int *)(profile + 0x48) != D50_nCIEXYZ._4_4_)) ||
     (*(int *)(profile + 0x4c) != D50_nCIEXYZ._8_4_)) {
    png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,0,"PCS illuminant is not D50");
  }
  value = (png_const_structrp)
          ((uint)profile[0x12] * 0x100 +
          (uint)profile[0x13] + (uint)profile[0x11] * 0x10000 + (uint)profile[0x10] * 0x1000000);
  if (value == (png_const_structrp)&DAT_47524159) {
    if ((color_type & 2U) != 0) {
      png_ptr = (png_const_structrp)&DAT_47524159;
      colorspace = (png_colorspacerp)s_Gray_color_space_not_permitted_o_0003b1c8;
      value = png_ptr;
      goto LAB_0001651e;
    }
  }
  else {
    if (value != (png_const_structrp)&DAT_52474220) {
      colorspace = (png_colorspacerp)"invalid ICC profile color space";
      goto LAB_0001651e;
    }
    if ((color_type & 2U) == 0) {
      png_ptr = (png_const_structrp)&DAT_52474220;
      colorspace = (png_colorspacerp)s_RGB_color_space_not_permitted_on_0003b198;
      value = png_ptr;
      goto LAB_0001651e;
    }
  }
  value_00 = (undefined1 *)
             ((uint)profile[0xe] * 0x100 +
             (uint)profile[0xf] + (uint)profile[0xd] * 0x10000 + (uint)profile[0xc] * 0x1000000);
  if (value_00 == &DAT_6e6d636c) {
    reason = "unexpected NamedColor ICC profile class";
    value_00 = &DAT_6e6d636c;
LAB_00016590:
    png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value_00,reason);
  }
  else if (&DAT_6e6d636c < value_00) {
    if (((value_00 != (undefined1 *)0x73636e72) && (value_00 != (undefined1 *)0x73706163)) &&
       (value_00 != (undefined1 *)0x70727472)) {
LAB_00016585:
      reason = "unrecognized ICC profile class";
      goto LAB_00016590;
    }
  }
  else {
    if (value_00 == &DAT_6c696e6b) {
      png_ptr = (png_const_structrp)&DAT_6c696e6b;
      colorspace = (png_colorspacerp)s_unexpected_DeviceLink_ICC_profil_0003b23c;
      value = png_ptr;
      goto LAB_0001651e;
    }
    if (value_00 != (undefined1 *)0x6d6e7472) {
      if (value_00 == (undefined1 *)0x61627374) {
        png_ptr = (png_const_structrp)0x61627374;
        value = png_ptr;
        colorspace = (png_colorspacerp)"invalid embedded Abstract ICC profile";
        goto LAB_0001651e;
      }
      goto LAB_00016585;
    }
  }
  value = (png_const_structrp)
          ((uint)profile[0x16] * 0x100 +
          (uint)profile[0x17] + (uint)profile[0x15] * 0x10000 + (uint)profile[0x14] * 0x1000000);
  if ((value == (png_const_structrp)0x4c616220) || (value == (png_const_structrp)0x58595a20)) {
    return 1;
  }
  colorspace = (png_colorspacerp)"unexpected ICC PCS encoding";
LAB_0001651e:
  png_ptr = value;
  iVar1 = png_icc_profile_error
                    (png_ptr_00,colorspace_00,name,(png_alloc_size_t)png_ptr,
                     (png_const_charp)colorspace);
  return iVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

undefined4 FUN_00016320(void)

{
  uint uVar1;
  int iVar2;
  undefined4 uVar3;
  uint in_stack_00000010;
  byte *in_stack_00000014;
  uint in_stack_00000018;
  char *pcVar4;
  
  uVar1 = (uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +
          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100;
  if (((uVar1 != in_stack_00000010) ||
      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||
       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +
                (uint)in_stack_00000014[0x83] +
                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,
       0x1555554a < uVar1)))) ||
     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||
      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +
               (uint)in_stack_00000014[0x43] +
               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,
      0xfffe < uVar1)))) goto LAB_0001651e;
  if (3 < uVar1) {
    FUN_00014da0(uVar1,"intent outside defined range");
  }
  if ((uint)in_stack_00000014[0x26] * 0x100 +
      (uint)in_stack_00000014[0x27] +
      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=
      0x61637370) goto LAB_0001651e;
  if (((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||
      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||
     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)) {
    FUN_00014da0(0,"PCS illuminant is not D50");
  }
  iVar2 = (uint)in_stack_00000014[0x12] * 0x100 +
          (uint)in_stack_00000014[0x13] +
          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000;
  if (iVar2 == 0x47524159) {
    if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;
  }
  else if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;
  uVar1 = (uint)in_stack_00000014[0xe] * 0x100 +
          (uint)in_stack_00000014[0xf] +
          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000;
  if (uVar1 == 0x6e6d636c) {
    pcVar4 = "unexpected NamedColor ICC profile class";
    uVar1 = 0x6e6d636c;
LAB_00016590:
    FUN_00014da0(uVar1,pcVar4);
  }
  else if (uVar1 < 0x6e6d636d) {
    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;
    if (uVar1 != 0x6d6e7472) {
      if (uVar1 == 0x61627374) goto LAB_0001651e;
      goto LAB_00016585;
    }
  }
  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {
LAB_00016585:
    pcVar4 = "unrecognized ICC profile class";
    goto LAB_00016590;
  }
  iVar2 = (uint)in_stack_00000014[0x16] * 0x100 +
          (uint)in_stack_00000014[0x17] +
          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000;
  if ((iVar2 == 0x4c616220) || (iVar2 == 0x58595a20)) {
    return 1;
  }
LAB_0001651e:
  uVar3 = FUN_00014da0();
  return uVar3;
}


PUSH EBP
PUSH EDI
PUSH ESI
CALL 0x00019811
ADD ESI,0x37a58
PUSH EBX
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x34]
MOV EBX,dword ptr [ESP + 0x40]
MOV EDX,dword ptr [ESP + 0x3c]
MOV EDI,dword ptr [ESP + 0x30]
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x44]
MOV EBP,dword ptr [ESP + 0x38]
MOV dword ptr [ESP + 0xc],EAX
MOVZX EAX,byte ptr [EBX]
SHL EAX,0x18
MOV ECX,EAX
MOVZX EAX,byte ptr [EBX + 0x1]
SHL EAX,0x10
ADD EAX,ECX
MOVZX ECX,byte ptr [EBX + 0x3]
ADD EAX,ECX
MOVZX ECX,byte ptr [EBX + 0x2]
SHL ECX,0x8
ADD EAX,ECX
CMP EAX,EDX
JNZ 0x00016538
CMP byte ptr [EBX + 0x8],0x3
JBE 0x00016388
TEST AL,0x3
JNZ 0x00016560
MOVZX EAX,byte ptr [EBX + 0x80]
MOVZX ECX,byte ptr [EBX + 0x81]
SHL EAX,0x18
SHL ECX,0x10
ADD EAX,ECX
MOVZX ECX,byte ptr [EBX + 0x83]
ADD ECX,EAX
MOVZX EAX,byte ptr [EBX + 0x82]
SHL EAX,0x8
ADD EAX,ECX
CMP EAX,0x1555554a
JA 0x00016510
LEA ECX,[EAX + EAX*0x2]
LEA ECX,[ECX*0x4 + 0x84]
CMP EDX,ECX
JC 0x00016510
MOVZX EAX,byte ptr [EBX + 0x40]
MOVZX EDX,byte ptr [EBX + 0x43]
SHL EAX,0x18
MOV ECX,EAX
MOVZX EAX,byte ptr [EBX + 0x41]
SHL EAX,0x10
ADD EAX,ECX
ADD EDX,EAX
MOVZX EAX,byte ptr [EBX + 0x42]
SHL EAX,0x8
ADD EAX,EDX
LEA EDX,[ESI + 0xfffed9e8]
CMP EAX,0xfffe
JA 0x00016516
CMP EAX,0x3
JA 0x00016540
MOVZX EAX,byte ptr [EBX + 0x24]
MOVZX EDX,byte ptr [EBX + 0x27]
SHL EAX,0x18
MOV ECX,EAX
MOVZX EAX,byte ptr [EBX + 0x25]
SHL EAX,0x10
ADD EAX,ECX
ADD EDX,EAX
MOVZX EAX,byte ptr [EBX + 0x26]
SHL EAX,0x8
ADD EAX,EDX
LEA EDX,[ESI + 0xfffeda1e]
CMP EAX,0x61637370
JNZ 0x00016516
MOV EDX,dword ptr [ESI + 0xfffee720]
CMP dword ptr [EBX + 0x44],EDX
JZ 0x000165e0
SUB ESP,0x8
LEA EAX,[ESI + 0xfffeda30]
MOV ECX,EBP
XOR EDX,EDX
PUSH EAX
MOV EAX,EDI
PUSH 0x0
CALL 0x00014da0
ADD ESP,0x10
MOVZX EAX,byte ptr [EBX + 0x10]
MOVZX EDX,byte ptr [EBX + 0x13]
SHL EAX,0x18
MOV ECX,EAX
MOVZX EAX,byte ptr [EBX + 0x11]
SHL EAX,0x10
ADD EAX,ECX
ADD EDX,EAX
MOVZX EAX,byte ptr [EBX + 0x12]
SHL EAX,0x8
ADD EAX,EDX
CMP EAX,0x47524159
JZ 0x00016608
CMP EAX,0x52474220
JNZ 0x00016630
TEST byte ptr [ESP + 0xc],0x2
JZ 0x00016650
MOVZX EAX,byte ptr [EBX + 0xc]
MOVZX EDX,byte ptr [EBX + 0xf]
SHL EAX,0x18
MOV ECX,EAX
MOVZX EAX,byte ptr [EBX + 0xd]
SHL EAX,0x10
ADD EAX,ECX
ADD EDX,EAX
MOVZX EAX,byte ptr [EBX + 0xe]
SHL EAX,0x8
ADD EAX,EDX
CMP EAX,0x6e6d636c
JZ 0x00016690
JA 0x00016570
CMP EAX,0x6c696e6b
JZ 0x00016670
CMP EAX,0x6d6e7472
JZ 0x0001659e
CMP EAX,0x61627374
JNZ 0x00016585
LEA EAX,[ESI + 0xfffed494]
MOV dword ptr [ESP + 0x30],0x61627374
MOV dword ptr [ESP + 0x34],EAX
JMP 0x0001651e
LEA EDX,[ESI + 0xfffed9d4]
MOV dword ptr [ESP + 0x34],EDX
MOV dword ptr [ESP + 0x30],EAX
MOV EDX,dword ptr [ESP + 0x8]
ADD ESP,0x1c
MOV ECX,EBP
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x00014da0
LEA EDX,[ESI + 0xfffed9a7]
JMP 0x00016516
SUB ESP,0x8
LEA EDX,[ESI + 0xfffeda01]
MOV ECX,EBP
PUSH EDX
XOR EDX,EDX
PUSH EAX
MOV EAX,EDI
CALL 0x00014da0
ADD ESP,0x10
JMP 0x0001640b
LEA EDX,[ESI + 0xfffed9c5]
JMP 0x00016516
CMP EAX,0x73636e72
JZ 0x0001659e
CMP EAX,0x73706163
JZ 0x0001659e
CMP EAX,0x70727472
JZ 0x0001659e
SUB ESP,0x8
LEA EDX,[ESI + 0xfffed50c]
PUSH EDX
PUSH EAX
MOV ECX,EBP
XOR EDX,EDX
MOV EAX,EDI
CALL 0x00014da0
ADD ESP,0x10
MOVZX EAX,byte ptr [EBX + 0x14]
MOVZX EDX,byte ptr [EBX + 0x17]
SHL EAX,0x18
MOV ECX,EAX
MOVZX EAX,byte ptr [EBX + 0x15]
SHL EAX,0x10
ADD EAX,ECX
ADD EDX,EAX
MOVZX EAX,byte ptr [EBX + 0x16]
SHL EAX,0x8
ADD EAX,EDX
CMP EAX,0x4c616220
JZ 0x000165cd
CMP EAX,0x58595a20
JNZ 0x00016640
ADD ESP,0x1c
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [ESI + 0xfffee724]
CMP dword ptr [EBX + 0x48],EDX
JNZ 0x0001644c
MOV EDX,dword ptr [ESI + 0xfffee728]
CMP dword ptr [EBX + 0x4c],EDX
JNZ 0x0001644c
JMP 0x00016466
TEST byte ptr [ESP + 0xc],0x2
JZ 0x000164a8
LEA EAX,[ESI + 0xfffed448]
MOV dword ptr [ESP + 0x30],0x47524159
MOV dword ptr [ESP + 0x34],EAX
JMP 0x0001651e
LEA EDX,[ESI + 0xfffed474]
JMP 0x00016516
LEA EDX,[ESI + 0xfffeda4a]
JMP 0x00016516
LEA EAX,[ESI + 0xfffed418]
MOV dword ptr [ESP + 0x30],0x52474220
MOV dword ptr [ESP + 0x34],EAX
JMP 0x0001651e
LEA EAX,[ESI + 0xfffed4bc]
MOV dword ptr [ESP + 0x30],0x6c696e6b
MOV dword ptr [ESP + 0x34],EAX
JMP 0x0001651e
SUB ESP,0x8
LEA EAX,[ESI + 0xfffed4e4]
PUSH EAX
PUSH 0x6e6d636c
JMP 0x00016590
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nundefined4 FUN_00016320(void)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint in_stack_00000010;\n  byte *in_stack_00000014;\n  uint in_stack_00000018;\n  char *pcVar4;\n  \n  uVar1 = (uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100;\n  if (((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))) ||\n     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)))) goto LAB_0001651e;\n  if (3 < uVar1) {\n    FUN_00014da0(uVar1,"intent outside defined range");\n  }\n  if ((uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=\n      0x61637370) goto LAB_0001651e;\n  if (((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||\n     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)) {\n    FUN_00014da0(0,"PCS illuminant is not D50");\n  }\n  iVar2 = (uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000;\n  if (iVar2 == 0x47524159) {\n    if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;\n  }\n  else if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;\n  uVar1 = (uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000;\n  if (uVar1 == 0x6e6d636c) {\n    pcVar4 = "unexpected NamedColor ICC profile class";\n    uVar1 = 0x6e6d636c;\nLAB_00016590:\n    FUN_00014da0(uVar1,pcVar4);\n  }\n  else if (uVar1 < 0x6e6d636d) {\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }\n  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }\n  iVar2 = (uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000;\n  if ((iVar2 == 0x4c616220) || (iVar2 == 0x58595a20)) {\n    return 1;\n  }\nLAB_0001651e:\n  uVar3 = FUN_00014da0();\n  return uVar3;\n}\n\n" comment (function_definition "undefined4 FUN_00016320(void)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint in_stack_00000010;\n  byte *in_stack_00000014;\n  uint in_stack_00000018;\n  char *pcVar4;\n  \n  uVar1 = (uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100;\n  if (((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))) ||\n     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)))) goto LAB_0001651e;\n  if (3 < uVar1) {\n    FUN_00014da0(uVar1,"intent outside defined range");\n  }\n  if ((uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=\n      0x61637370) goto LAB_0001651e;\n  if (((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||\n     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)) {\n    FUN_00014da0(0,"PCS illuminant is not D50");\n  }\n  iVar2 = (uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000;\n  if (iVar2 == 0x47524159) {\n    if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;\n  }\n  else if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;\n  uVar1 = (uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000;\n  if (uVar1 == 0x6e6d636c) {\n    pcVar4 = "unexpected NamedColor ICC profile class";\n    uVar1 = 0x6e6d636c;\nLAB_00016590:\n    FUN_00014da0(uVar1,pcVar4);\n  }\n  else if (uVar1 < 0x6e6d636d) {\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }\n  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }\n  iVar2 = (uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000;\n  if ((iVar2 == 0x4c616220) || (iVar2 == 0x58595a20)) {\n    return 1;\n  }\nLAB_0001651e:\n  uVar3 = FUN_00014da0();\n  return uVar3;\n}" type_identifier (function_declarator "FUN_00016320(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint in_stack_00000010;\n  byte *in_stack_00000014;\n  uint in_stack_00000018;\n  char *pcVar4;\n  \n  uVar1 = (uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100;\n  if (((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))) ||\n     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)))) goto LAB_0001651e;\n  if (3 < uVar1) {\n    FUN_00014da0(uVar1,"intent outside defined range");\n  }\n  if ((uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=\n      0x61637370) goto LAB_0001651e;\n  if (((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||\n     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)) {\n    FUN_00014da0(0,"PCS illuminant is not D50");\n  }\n  iVar2 = (uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000;\n  if (iVar2 == 0x47524159) {\n    if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;\n  }\n  else if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;\n  uVar1 = (uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000;\n  if (uVar1 == 0x6e6d636c) {\n    pcVar4 = "unexpected NamedColor ICC profile class";\n    uVar1 = 0x6e6d636c;\nLAB_00016590:\n    FUN_00014da0(uVar1,pcVar4);\n  }\n  else if (uVar1 < 0x6e6d636d) {\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }\n  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }\n  iVar2 = (uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000;\n  if ((iVar2 == 0x4c616220) || (iVar2 == 0x58595a20)) {\n    return 1;\n  }\nLAB_0001651e:\n  uVar3 = FUN_00014da0();\n  return uVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint in_stack_00000010;" type_identifier identifier ;) (declaration "byte *in_stack_00000014;" type_identifier (pointer_declarator "*in_stack_00000014" * identifier) ;) (declaration "uint in_stack_00000018;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "uVar1 = (uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100;" (assignment_expression "uVar1 = (uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100" identifier = (binary_expression "(uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100" (binary_expression "(uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3]" (binary_expression "(uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000" (binary_expression "(uint)in_stack_00000014[1] * 0x10000" (cast_expression "(uint)in_stack_00000014[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[1]" identifier [ number_literal ])) * number_literal) + (binary_expression "(uint)*in_stack_00000014 * 0x1000000" (binary_expression "(uint)*in_stack_00000014" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) + (cast_expression "(uint)in_stack_00000014[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[3]" identifier [ number_literal ]))) + (binary_expression "(uint)in_stack_00000014[2] * 0x100" (cast_expression "(uint)in_stack_00000014[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[2]" identifier [ number_literal ])) * number_literal))) ;) (if_statement "if (((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))) ||\n     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)))) goto LAB_0001651e;" if (parenthesized_expression "(((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))) ||\n     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1))))" ( (binary_expression "((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))) ||\n     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)))" (parenthesized_expression "((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1))))" ( (binary_expression "(uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))" (parenthesized_expression "(uVar1 != in_stack_00000010)" ( (binary_expression "uVar1 != in_stack_00000010" identifier != identifier) )) || (parenthesized_expression "(((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))" ( (parenthesized_expression "((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1))" ( (binary_expression "(3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)" (parenthesized_expression "(3 < in_stack_00000014[8] && ((uVar1 & 3) != 0))" ( (binary_expression "3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)" (binary_expression "3 < in_stack_00000014[8]" number_literal < (subscript_expression "in_stack_00000014[8]" identifier [ number_literal ])) && (parenthesized_expression "((uVar1 & 3) != 0)" ( (binary_expression "(uVar1 & 3) != 0" (parenthesized_expression "(uVar1 & 3)" ( (binary_expression "uVar1 & 3" identifier & number_literal) )) != number_literal) ))) )) || (parenthesized_expression "(uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)" ( (comma_expression "uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1" (assignment_expression "uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000" identifier = (binary_expression "(uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000" (binary_expression "(uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000" (binary_expression "(uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83]" (binary_expression "(uint)in_stack_00000014[0x82] * 0x100" (cast_expression "(uint)in_stack_00000014[0x82]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x82]" identifier [ number_literal ])) * number_literal) + (cast_expression "(uint)in_stack_00000014[0x83]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x83]" identifier [ number_literal ]))) + (binary_expression "(uint)in_stack_00000014[0x80] * 0x1000000" (cast_expression "(uint)in_stack_00000014[0x80]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x80]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)in_stack_00000014[0x81] * 0x10000" (cast_expression "(uint)in_stack_00000014[0x81]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x81]" identifier [ number_literal ])) * number_literal))) , (binary_expression "0x1555554a < uVar1" number_literal < identifier)) ))) )) ))) )) || (parenthesized_expression "((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)))" ( (parenthesized_expression "(in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1))" ( (binary_expression "in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)" (binary_expression "in_stack_00000010 < uVar1 * 0xc + 0x84" identifier < (binary_expression "uVar1 * 0xc + 0x84" (binary_expression "uVar1 * 0xc" identifier * number_literal) + number_literal)) || (parenthesized_expression "(uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)" ( (comma_expression "uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1" (assignment_expression "uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000" identifier = (binary_expression "(uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000" (binary_expression "(uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000" (binary_expression "(uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43]" (binary_expression "(uint)in_stack_00000014[0x42] * 0x100" (cast_expression "(uint)in_stack_00000014[0x42]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x42]" identifier [ number_literal ])) * number_literal) + (cast_expression "(uint)in_stack_00000014[0x43]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x43]" identifier [ number_literal ]))) + (binary_expression "(uint)in_stack_00000014[0x41] * 0x10000" (cast_expression "(uint)in_stack_00000014[0x41]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x41]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)in_stack_00000014[0x40] * 0x1000000" (cast_expression "(uint)in_stack_00000014[0x40]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x40]" identifier [ number_literal ])) * number_literal))) , (binary_expression "0xfffe < uVar1" number_literal < identifier)) ))) )) ))) )) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;)) (if_statement "if (3 < uVar1) {\n    FUN_00014da0(uVar1,"intent outside defined range");\n  }" if (parenthesized_expression "(3 < uVar1)" ( (binary_expression "3 < uVar1" number_literal < identifier) )) (compound_statement "{\n    FUN_00014da0(uVar1,"intent outside defined range");\n  }" { (expression_statement "FUN_00014da0(uVar1,"intent outside defined range");" (call_expression "FUN_00014da0(uVar1,"intent outside defined range")" identifier (argument_list "(uVar1,"intent outside defined range")" ( identifier , (string_literal ""intent outside defined range"" " string_content ") ))) ;) })) (if_statement "if ((uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=\n      0x61637370) goto LAB_0001651e;" if (parenthesized_expression "((uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=\n      0x61637370)" ( (binary_expression "(uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=\n      0x61637370" (binary_expression "(uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000" (binary_expression "(uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000" (binary_expression "(uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27]" (binary_expression "(uint)in_stack_00000014[0x26] * 0x100" (cast_expression "(uint)in_stack_00000014[0x26]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x26]" identifier [ number_literal ])) * number_literal) + (cast_expression "(uint)in_stack_00000014[0x27]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x27]" identifier [ number_literal ]))) + (binary_expression "(uint)in_stack_00000014[0x25] * 0x10000" (cast_expression "(uint)in_stack_00000014[0x25]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x25]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)in_stack_00000014[0x24] * 0x1000000" (cast_expression "(uint)in_stack_00000014[0x24]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x24]" identifier [ number_literal ])) * number_literal)) != number_literal) )) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;)) (if_statement "if (((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||\n     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)) {\n    FUN_00014da0(0,"PCS illuminant is not D50");\n  }" if (parenthesized_expression "(((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||\n     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8))" ( (binary_expression "((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||\n     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)" (parenthesized_expression "((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4))" ( (binary_expression "(*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)" (parenthesized_expression "(*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0)" ( (binary_expression "*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0" (pointer_expression "*(int *)(in_stack_00000014 + 0x44)" * (cast_expression "(int *)(in_stack_00000014 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000014 + 0x44)" ( (binary_expression "in_stack_00000014 + 0x44" identifier + number_literal) )))) != identifier) )) || (parenthesized_expression "(*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)" ( (binary_expression "*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4" (pointer_expression "*(int *)(in_stack_00000014 + 0x48)" * (cast_expression "(int *)(in_stack_00000014 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000014 + 0x48)" ( (binary_expression "in_stack_00000014 + 0x48" identifier + number_literal) )))) != identifier) ))) )) || (parenthesized_expression "(*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)" ( (binary_expression "*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8" (pointer_expression "*(int *)(in_stack_00000014 + 0x4c)" * (cast_expression "(int *)(in_stack_00000014 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000014 + 0x4c)" ( (binary_expression "in_stack_00000014 + 0x4c" identifier + number_literal) )))) != identifier) ))) )) (compound_statement "{\n    FUN_00014da0(0,"PCS illuminant is not D50");\n  }" { (expression_statement "FUN_00014da0(0,"PCS illuminant is not D50");" (call_expression "FUN_00014da0(0,"PCS illuminant is not D50")" identifier (argument_list "(0,"PCS illuminant is not D50")" ( number_literal , (string_literal ""PCS illuminant is not D50"" " string_content ") ))) ;) })) (expression_statement "iVar2 = (uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000;" (assignment_expression "iVar2 = (uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000" identifier = (binary_expression "(uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000" (binary_expression "(uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000" (binary_expression "(uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13]" (binary_expression "(uint)in_stack_00000014[0x12] * 0x100" (cast_expression "(uint)in_stack_00000014[0x12]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x12]" identifier [ number_literal ])) * number_literal) + (cast_expression "(uint)in_stack_00000014[0x13]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x13]" identifier [ number_literal ]))) + (binary_expression "(uint)in_stack_00000014[0x11] * 0x10000" (cast_expression "(uint)in_stack_00000014[0x11]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x11]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)in_stack_00000014[0x10] * 0x1000000" (cast_expression "(uint)in_stack_00000014[0x10]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x10]" identifier [ number_literal ])) * number_literal))) ;) (if_statement "if (iVar2 == 0x47524159) {\n    if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;\n  }\n  else if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;" if (parenthesized_expression "(iVar2 == 0x47524159)" ( (binary_expression "iVar2 == 0x47524159" identifier == number_literal) )) (compound_statement "{\n    if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;\n  }" { (if_statement "if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;" if (parenthesized_expression "((in_stack_00000018 & 2) != 0)" ( (binary_expression "(in_stack_00000018 & 2) != 0" (parenthesized_expression "(in_stack_00000018 & 2)" ( (binary_expression "in_stack_00000018 & 2" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;)) }) (else_clause "else if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;" else (if_statement "if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;" if (parenthesized_expression "((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0))" ( (binary_expression "(iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)" (parenthesized_expression "(iVar2 != 0x52474220)" ( (binary_expression "iVar2 != 0x52474220" identifier != number_literal) )) || (parenthesized_expression "((in_stack_00000018 & 2) == 0)" ( (binary_expression "(in_stack_00000018 & 2) == 0" (parenthesized_expression "(in_stack_00000018 & 2)" ( (binary_expression "in_stack_00000018 & 2" identifier & number_literal) )) == number_literal) ))) )) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;)))) (expression_statement "uVar1 = (uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000;" (assignment_expression "uVar1 = (uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000" identifier = (binary_expression "(uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000" (binary_expression "(uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000" (binary_expression "(uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf]" (binary_expression "(uint)in_stack_00000014[0xe] * 0x100" (cast_expression "(uint)in_stack_00000014[0xe]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0xe]" identifier [ number_literal ])) * number_literal) + (cast_expression "(uint)in_stack_00000014[0xf]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0xf]" identifier [ number_literal ]))) + (binary_expression "(uint)in_stack_00000014[0xd] * 0x10000" (cast_expression "(uint)in_stack_00000014[0xd]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0xd]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)in_stack_00000014[0xc] * 0x1000000" (cast_expression "(uint)in_stack_00000014[0xc]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0xc]" identifier [ number_literal ])) * number_literal))) ;) (if_statement "if (uVar1 == 0x6e6d636c) {\n    pcVar4 = "unexpected NamedColor ICC profile class";\n    uVar1 = 0x6e6d636c;\nLAB_00016590:\n    FUN_00014da0(uVar1,pcVar4);\n  }\n  else if (uVar1 < 0x6e6d636d) {\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }\n  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }" if (parenthesized_expression "(uVar1 == 0x6e6d636c)" ( (binary_expression "uVar1 == 0x6e6d636c" identifier == number_literal) )) (compound_statement "{\n    pcVar4 = "unexpected NamedColor ICC profile class";\n    uVar1 = 0x6e6d636c;\nLAB_00016590:\n    FUN_00014da0(uVar1,pcVar4);\n  }" { (expression_statement "pcVar4 = "unexpected NamedColor ICC profile class";" (assignment_expression "pcVar4 = "unexpected NamedColor ICC profile class"" identifier = (string_literal ""unexpected NamedColor ICC profile class"" " string_content ")) ;) (expression_statement "uVar1 = 0x6e6d636c;" (assignment_expression "uVar1 = 0x6e6d636c" identifier = number_literal) ;) (labeled_statement "LAB_00016590:\n    FUN_00014da0(uVar1,pcVar4);" statement_identifier : (expression_statement "FUN_00014da0(uVar1,pcVar4);" (call_expression "FUN_00014da0(uVar1,pcVar4)" identifier (argument_list "(uVar1,pcVar4)" ( identifier , identifier ))) ;)) }) (else_clause "else if (uVar1 < 0x6e6d636d) {\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }\n  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }" else (if_statement "if (uVar1 < 0x6e6d636d) {\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }\n  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }" if (parenthesized_expression "(uVar1 < 0x6e6d636d)" ( (binary_expression "uVar1 < 0x6e6d636d" identifier < number_literal) )) (compound_statement "{\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }" { (if_statement "if (uVar1 == 0x6c696e6b) goto LAB_0001651e;" if (parenthesized_expression "(uVar1 == 0x6c696e6b)" ( (binary_expression "uVar1 == 0x6c696e6b" identifier == number_literal) )) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;)) (if_statement "if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }" if (parenthesized_expression "(uVar1 != 0x6d6e7472)" ( (binary_expression "uVar1 != 0x6d6e7472" identifier != number_literal) )) (compound_statement "{\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }" { (if_statement "if (uVar1 == 0x61627374) goto LAB_0001651e;" if (parenthesized_expression "(uVar1 == 0x61627374)" ( (binary_expression "uVar1 == 0x61627374" identifier == number_literal) )) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;)) (goto_statement "goto LAB_00016585;" goto statement_identifier ;) })) }) (else_clause "else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }" else (if_statement "if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }" if (parenthesized_expression "(((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472))" ( (binary_expression "((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)" (parenthesized_expression "((uVar1 != 0x73636e72) && (uVar1 != 0x73706163))" ( (binary_expression "(uVar1 != 0x73636e72) && (uVar1 != 0x73706163)" (parenthesized_expression "(uVar1 != 0x73636e72)" ( (binary_expression "uVar1 != 0x73636e72" identifier != number_literal) )) && (parenthesized_expression "(uVar1 != 0x73706163)" ( (binary_expression "uVar1 != 0x73706163" identifier != number_literal) ))) )) && (parenthesized_expression "(uVar1 != 0x70727472)" ( (binary_expression "uVar1 != 0x70727472" identifier != number_literal) ))) )) (compound_statement "{\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }" { (labeled_statement "LAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";" statement_identifier : (expression_statement "pcVar4 = "unrecognized ICC profile class";" (assignment_expression "pcVar4 = "unrecognized ICC profile class"" identifier = (string_literal ""unrecognized ICC profile class"" " string_content ")) ;)) (goto_statement "goto LAB_00016590;" goto statement_identifier ;) })))))) (expression_statement "iVar2 = (uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000;" (assignment_expression "iVar2 = (uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000" identifier = (binary_expression "(uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000" (binary_expression "(uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000" (binary_expression "(uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17]" (binary_expression "(uint)in_stack_00000014[0x16] * 0x100" (cast_expression "(uint)in_stack_00000014[0x16]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x16]" identifier [ number_literal ])) * number_literal) + (cast_expression "(uint)in_stack_00000014[0x17]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x17]" identifier [ number_literal ]))) + (binary_expression "(uint)in_stack_00000014[0x15] * 0x10000" (cast_expression "(uint)in_stack_00000014[0x15]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x15]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)in_stack_00000014[0x14] * 0x1000000" (cast_expression "(uint)in_stack_00000014[0x14]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x14]" identifier [ number_literal ])) * number_literal))) ;) (if_statement "if ((iVar2 == 0x4c616220) || (iVar2 == 0x58595a20)) {\n    return 1;\n  }" if (parenthesized_expression "((iVar2 == 0x4c616220) || (iVar2 == 0x58595a20))" ( (binary_expression "(iVar2 == 0x4c616220) || (iVar2 == 0x58595a20)" (parenthesized_expression "(iVar2 == 0x4c616220)" ( (binary_expression "iVar2 == 0x4c616220" identifier == number_literal) )) || (parenthesized_expression "(iVar2 == 0x58595a20)" ( (binary_expression "iVar2 == 0x58595a20" identifier == number_literal) ))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (labeled_statement "LAB_0001651e:\n  uVar3 = FUN_00014da0();" statement_identifier : (expression_statement "uVar3 = FUN_00014da0();" (assignment_expression "uVar3 = FUN_00014da0()" identifier = (call_expression "FUN_00014da0()" identifier (argument_list "()" ( )))) ;)) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nint png_icc_check_header\n              (png_const_structrp png_ptr,png_colorspacerp colorspace,png_const_charp name,\n              png_uint_32 profile_length,png_const_bytep profile,int color_type)\n\n{\n  png_const_structrp png_ptr_00;\n  png_colorspacerp colorspace_00;\n  png_const_structrp value;\n  undefined1 *value_00;\n  int iVar1;\n  char *reason;\n  \n  colorspace_00 = colorspace;\n  png_ptr_00 = png_ptr;\n  value = (png_const_structrp)\n          ((uint)profile[1] * 0x10000 + (uint)*profile * 0x1000000 + (uint)profile[3] +\n          (uint)profile[2] * 0x100);\n  if (value != (png_const_structrp)profile_length) {\n    colorspace = (png_colorspacerp)"length does not match profile";\n    goto LAB_0001651e;\n  }\n  if ((3 < profile[8]) && (((uint)value & 3) != 0)) {\n    colorspace = (png_colorspacerp)"invalid length";\n    goto LAB_0001651e;\n  }\n  value = (png_const_structrp)\n          ((uint)profile[0x82] * 0x100 +\n          (uint)profile[0x83] + (uint)profile[0x80] * 0x1000000 + (uint)profile[0x81] * 0x10000);\n  if (((png_const_structrp)0x1555554a < value) || (profile_length < (int)value * 0xc + 0x84U)) {\n    colorspace = (png_colorspacerp)"tag count too large";\n    goto LAB_0001651e;\n  }\n  value = (png_const_structrp)\n          ((uint)profile[0x42] * 0x100 +\n          (uint)profile[0x43] + (uint)profile[0x41] * 0x10000 + (uint)profile[0x40] * 0x1000000);\n  colorspace = (png_colorspacerp)"invalid rendering intent";\n  if ((png_const_structrp)0xfffe < value) goto LAB_0001651e;\n  if ((png_const_structrp)0x3 < value) {\n    png_icc_profile_error\n              (png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value,\n               "intent outside defined range");\n  }\n  value = (png_const_structrp)\n          ((uint)profile[0x26] * 0x100 +\n          (uint)profile[0x27] + (uint)profile[0x25] * 0x10000 + (uint)profile[0x24] * 0x1000000);\n  colorspace = (png_colorspacerp)"invalid signature";\n  if (value != (png_const_structrp)0x61637370) goto LAB_0001651e;\n  if (((*(int *)(profile + 0x44) != D50_nCIEXYZ._0_4_) ||\n      (*(int *)(profile + 0x48) != D50_nCIEXYZ._4_4_)) ||\n     (*(int *)(profile + 0x4c) != D50_nCIEXYZ._8_4_)) {\n    png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,0,"PCS illuminant is not D50");\n  }\n  value = (png_const_structrp)\n          ((uint)profile[0x12] * 0x100 +\n          (uint)profile[0x13] + (uint)profile[0x11] * 0x10000 + (uint)profile[0x10] * 0x1000000);\n  if (value == (png_const_structrp)&DAT_47524159) {\n    if ((color_type & 2U) != 0) {\n      png_ptr = (png_const_structrp)&DAT_47524159;\n      colorspace = (png_colorspacerp)s_Gray_color_space_not_permitted_o_0003b1c8;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n  }\n  else {\n    if (value != (png_const_structrp)&DAT_52474220) {\n      colorspace = (png_colorspacerp)"invalid ICC profile color space";\n      goto LAB_0001651e;\n    }\n    if ((color_type & 2U) == 0) {\n      png_ptr = (png_const_structrp)&DAT_52474220;\n      colorspace = (png_colorspacerp)s_RGB_color_space_not_permitted_on_0003b198;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n  }\n  value_00 = (undefined1 *)\n             ((uint)profile[0xe] * 0x100 +\n             (uint)profile[0xf] + (uint)profile[0xd] * 0x10000 + (uint)profile[0xc] * 0x1000000);\n  if (value_00 == &DAT_6e6d636c) {\n    reason = "unexpected NamedColor ICC profile class";\n    value_00 = &DAT_6e6d636c;\nLAB_00016590:\n    png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value_00,reason);\n  }\n  else if (&DAT_6e6d636c < value_00) {\n    if (((value_00 != (undefined1 *)0x73636e72) && (value_00 != (undefined1 *)0x73706163)) &&\n       (value_00 != (undefined1 *)0x70727472)) {\nLAB_00016585:\n      reason = "unrecognized ICC profile class";\n      goto LAB_00016590;\n    }\n  }\n  else {\n    if (value_00 == &DAT_6c696e6b) {\n      png_ptr = (png_const_structrp)&DAT_6c696e6b;\n      colorspace = (png_colorspacerp)s_unexpected_DeviceLink_ICC_profil_0003b23c;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n    if (value_00 != (undefined1 *)0x6d6e7472) {\n      if (value_00 == (undefined1 *)0x61627374) {\n        png_ptr = (png_const_structrp)0x61627374;\n        value = png_ptr;\n        colorspace = (png_colorspacerp)"invalid embedded Abstract ICC profile";\n        goto LAB_0001651e;\n      }\n      goto LAB_00016585;\n    }\n  }\n  value = (png_const_structrp)\n          ((uint)profile[0x16] * 0x100 +\n          (uint)profile[0x17] + (uint)profile[0x15] * 0x10000 + (uint)profile[0x14] * 0x1000000);\n  if ((value == (png_const_structrp)0x4c616220) || (value == (png_const_structrp)0x58595a20)) {\n    return 1;\n  }\n  colorspace = (png_colorspacerp)"unexpected ICC PCS encoding";\nLAB_0001651e:\n  png_ptr = value;\n  iVar1 = png_icc_profile_error\n                    (png_ptr_00,colorspace_00,name,(png_alloc_size_t)png_ptr,\n                     (png_const_charp)colorspace);\n  return iVar1;\n}\n\n" comment (function_definition "int png_icc_check_header\n              (png_const_structrp png_ptr,png_colorspacerp colorspace,png_const_charp name,\n              png_uint_32 profile_length,png_const_bytep profile,int color_type)\n\n{\n  png_const_structrp png_ptr_00;\n  png_colorspacerp colorspace_00;\n  png_const_structrp value;\n  undefined1 *value_00;\n  int iVar1;\n  char *reason;\n  \n  colorspace_00 = colorspace;\n  png_ptr_00 = png_ptr;\n  value = (png_const_structrp)\n          ((uint)profile[1] * 0x10000 + (uint)*profile * 0x1000000 + (uint)profile[3] +\n          (uint)profile[2] * 0x100);\n  if (value != (png_const_structrp)profile_length) {\n    colorspace = (png_colorspacerp)"length does not match profile";\n    goto LAB_0001651e;\n  }\n  if ((3 < profile[8]) && (((uint)value & 3) != 0)) {\n    colorspace = (png_colorspacerp)"invalid length";\n    goto LAB_0001651e;\n  }\n  value = (png_const_structrp)\n          ((uint)profile[0x82] * 0x100 +\n          (uint)profile[0x83] + (uint)profile[0x80] * 0x1000000 + (uint)profile[0x81] * 0x10000);\n  if (((png_const_structrp)0x1555554a < value) || (profile_length < (int)value * 0xc + 0x84U)) {\n    colorspace = (png_colorspacerp)"tag count too large";\n    goto LAB_0001651e;\n  }\n  value = (png_const_structrp)\n          ((uint)profile[0x42] * 0x100 +\n          (uint)profile[0x43] + (uint)profile[0x41] * 0x10000 + (uint)profile[0x40] * 0x1000000);\n  colorspace = (png_colorspacerp)"invalid rendering intent";\n  if ((png_const_structrp)0xfffe < value) goto LAB_0001651e;\n  if ((png_const_structrp)0x3 < value) {\n    png_icc_profile_error\n              (png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value,\n               "intent outside defined range");\n  }\n  value = (png_const_structrp)\n          ((uint)profile[0x26] * 0x100 +\n          (uint)profile[0x27] + (uint)profile[0x25] * 0x10000 + (uint)profile[0x24] * 0x1000000);\n  colorspace = (png_colorspacerp)"invalid signature";\n  if (value != (png_const_structrp)0x61637370) goto LAB_0001651e;\n  if (((*(int *)(profile + 0x44) != D50_nCIEXYZ._0_4_) ||\n      (*(int *)(profile + 0x48) != D50_nCIEXYZ._4_4_)) ||\n     (*(int *)(profile + 0x4c) != D50_nCIEXYZ._8_4_)) {\n    png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,0,"PCS illuminant is not D50");\n  }\n  value = (png_const_structrp)\n          ((uint)profile[0x12] * 0x100 +\n          (uint)profile[0x13] + (uint)profile[0x11] * 0x10000 + (uint)profile[0x10] * 0x1000000);\n  if (value == (png_const_structrp)&DAT_47524159) {\n    if ((color_type & 2U) != 0) {\n      png_ptr = (png_const_structrp)&DAT_47524159;\n      colorspace = (png_colorspacerp)s_Gray_color_space_not_permitted_o_0003b1c8;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n  }\n  else {\n    if (value != (png_const_structrp)&DAT_52474220) {\n      colorspace = (png_colorspacerp)"invalid ICC profile color space";\n      goto LAB_0001651e;\n    }\n    if ((color_type & 2U) == 0) {\n      png_ptr = (png_const_structrp)&DAT_52474220;\n      colorspace = (png_colorspacerp)s_RGB_color_space_not_permitted_on_0003b198;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n  }\n  value_00 = (undefined1 *)\n             ((uint)profile[0xe] * 0x100 +\n             (uint)profile[0xf] + (uint)profile[0xd] * 0x10000 + (uint)profile[0xc] * 0x1000000);\n  if (value_00 == &DAT_6e6d636c) {\n    reason = "unexpected NamedColor ICC profile class";\n    value_00 = &DAT_6e6d636c;\nLAB_00016590:\n    png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value_00,reason);\n  }\n  else if (&DAT_6e6d636c < value_00) {\n    if (((value_00 != (undefined1 *)0x73636e72) && (value_00 != (undefined1 *)0x73706163)) &&\n       (value_00 != (undefined1 *)0x70727472)) {\nLAB_00016585:\n      reason = "unrecognized ICC profile class";\n      goto LAB_00016590;\n    }\n  }\n  else {\n    if (value_00 == &DAT_6c696e6b) {\n      png_ptr = (png_const_structrp)&DAT_6c696e6b;\n      colorspace = (png_colorspacerp)s_unexpected_DeviceLink_ICC_profil_0003b23c;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n    if (value_00 != (undefined1 *)0x6d6e7472) {\n      if (value_00 == (undefined1 *)0x61627374) {\n        png_ptr = (png_const_structrp)0x61627374;\n        value = png_ptr;\n        colorspace = (png_colorspacerp)"invalid embedded Abstract ICC profile";\n        goto LAB_0001651e;\n      }\n      goto LAB_00016585;\n    }\n  }\n  value = (png_const_structrp)\n          ((uint)profile[0x16] * 0x100 +\n          (uint)profile[0x17] + (uint)profile[0x15] * 0x10000 + (uint)profile[0x14] * 0x1000000);\n  if ((value == (png_const_structrp)0x4c616220) || (value == (png_const_structrp)0x58595a20)) {\n    return 1;\n  }\n  colorspace = (png_colorspacerp)"unexpected ICC PCS encoding";\nLAB_0001651e:\n  png_ptr = value;\n  iVar1 = png_icc_profile_error\n                    (png_ptr_00,colorspace_00,name,(png_alloc_size_t)png_ptr,\n                     (png_const_charp)colorspace);\n  return iVar1;\n}" primitive_type (function_declarator "png_icc_check_header\n              (png_const_structrp png_ptr,png_colorspacerp colorspace,png_const_charp name,\n              png_uint_32 profile_length,png_const_bytep profile,int color_type)" identifier (parameter_list "(png_const_structrp png_ptr,png_colorspacerp colorspace,png_const_charp name,\n              png_uint_32 profile_length,png_const_bytep profile,int color_type)" ( (parameter_declaration "png_const_structrp png_ptr" type_identifier identifier) , (parameter_declaration "png_colorspacerp colorspace" type_identifier identifier) , (parameter_declaration "png_const_charp name" type_identifier identifier) , (parameter_declaration "png_uint_32 profile_length" type_identifier identifier) , (parameter_declaration "png_const_bytep profile" type_identifier identifier) , (parameter_declaration "int color_type" primitive_type identifier) ))) (compound_statement "{\n  png_const_structrp png_ptr_00;\n  png_colorspacerp colorspace_00;\n  png_const_structrp value;\n  undefined1 *value_00;\n  int iVar1;\n  char *reason;\n  \n  colorspace_00 = colorspace;\n  png_ptr_00 = png_ptr;\n  value = (png_const_structrp)\n          ((uint)profile[1] * 0x10000 + (uint)*profile * 0x1000000 + (uint)profile[3] +\n          (uint)profile[2] * 0x100);\n  if (value != (png_const_structrp)profile_length) {\n    colorspace = (png_colorspacerp)"length does not match profile";\n    goto LAB_0001651e;\n  }\n  if ((3 < profile[8]) && (((uint)value & 3) != 0)) {\n    colorspace = (png_colorspacerp)"invalid length";\n    goto LAB_0001651e;\n  }\n  value = (png_const_structrp)\n          ((uint)profile[0x82] * 0x100 +\n          (uint)profile[0x83] + (uint)profile[0x80] * 0x1000000 + (uint)profile[0x81] * 0x10000);\n  if (((png_const_structrp)0x1555554a < value) || (profile_length < (int)value * 0xc + 0x84U)) {\n    colorspace = (png_colorspacerp)"tag count too large";\n    goto LAB_0001651e;\n  }\n  value = (png_const_structrp)\n          ((uint)profile[0x42] * 0x100 +\n          (uint)profile[0x43] + (uint)profile[0x41] * 0x10000 + (uint)profile[0x40] * 0x1000000);\n  colorspace = (png_colorspacerp)"invalid rendering intent";\n  if ((png_const_structrp)0xfffe < value) goto LAB_0001651e;\n  if ((png_const_structrp)0x3 < value) {\n    png_icc_profile_error\n              (png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value,\n               "intent outside defined range");\n  }\n  value = (png_const_structrp)\n          ((uint)profile[0x26] * 0x100 +\n          (uint)profile[0x27] + (uint)profile[0x25] * 0x10000 + (uint)profile[0x24] * 0x1000000);\n  colorspace = (png_colorspacerp)"invalid signature";\n  if (value != (png_const_structrp)0x61637370) goto LAB_0001651e;\n  if (((*(int *)(profile + 0x44) != D50_nCIEXYZ._0_4_) ||\n      (*(int *)(profile + 0x48) != D50_nCIEXYZ._4_4_)) ||\n     (*(int *)(profile + 0x4c) != D50_nCIEXYZ._8_4_)) {\n    png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,0,"PCS illuminant is not D50");\n  }\n  value = (png_const_structrp)\n          ((uint)profile[0x12] * 0x100 +\n          (uint)profile[0x13] + (uint)profile[0x11] * 0x10000 + (uint)profile[0x10] * 0x1000000);\n  if (value == (png_const_structrp)&DAT_47524159) {\n    if ((color_type & 2U) != 0) {\n      png_ptr = (png_const_structrp)&DAT_47524159;\n      colorspace = (png_colorspacerp)s_Gray_color_space_not_permitted_o_0003b1c8;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n  }\n  else {\n    if (value != (png_const_structrp)&DAT_52474220) {\n      colorspace = (png_colorspacerp)"invalid ICC profile color space";\n      goto LAB_0001651e;\n    }\n    if ((color_type & 2U) == 0) {\n      png_ptr = (png_const_structrp)&DAT_52474220;\n      colorspace = (png_colorspacerp)s_RGB_color_space_not_permitted_on_0003b198;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n  }\n  value_00 = (undefined1 *)\n             ((uint)profile[0xe] * 0x100 +\n             (uint)profile[0xf] + (uint)profile[0xd] * 0x10000 + (uint)profile[0xc] * 0x1000000);\n  if (value_00 == &DAT_6e6d636c) {\n    reason = "unexpected NamedColor ICC profile class";\n    value_00 = &DAT_6e6d636c;\nLAB_00016590:\n    png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value_00,reason);\n  }\n  else if (&DAT_6e6d636c < value_00) {\n    if (((value_00 != (undefined1 *)0x73636e72) && (value_00 != (undefined1 *)0x73706163)) &&\n       (value_00 != (undefined1 *)0x70727472)) {\nLAB_00016585:\n      reason = "unrecognized ICC profile class";\n      goto LAB_00016590;\n    }\n  }\n  else {\n    if (value_00 == &DAT_6c696e6b) {\n      png_ptr = (png_const_structrp)&DAT_6c696e6b;\n      colorspace = (png_colorspacerp)s_unexpected_DeviceLink_ICC_profil_0003b23c;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n    if (value_00 != (undefined1 *)0x6d6e7472) {\n      if (value_00 == (undefined1 *)0x61627374) {\n        png_ptr = (png_const_structrp)0x61627374;\n        value = png_ptr;\n        colorspace = (png_colorspacerp)"invalid embedded Abstract ICC profile";\n        goto LAB_0001651e;\n      }\n      goto LAB_00016585;\n    }\n  }\n  value = (png_const_structrp)\n          ((uint)profile[0x16] * 0x100 +\n          (uint)profile[0x17] + (uint)profile[0x15] * 0x10000 + (uint)profile[0x14] * 0x1000000);\n  if ((value == (png_const_structrp)0x4c616220) || (value == (png_const_structrp)0x58595a20)) {\n    return 1;\n  }\n  colorspace = (png_colorspacerp)"unexpected ICC PCS encoding";\nLAB_0001651e:\n  png_ptr = value;\n  iVar1 = png_icc_profile_error\n                    (png_ptr_00,colorspace_00,name,(png_alloc_size_t)png_ptr,\n                     (png_const_charp)colorspace);\n  return iVar1;\n}" { (declaration "png_const_structrp png_ptr_00;" type_identifier identifier ;) (declaration "png_colorspacerp colorspace_00;" type_identifier identifier ;) (declaration "png_const_structrp value;" type_identifier identifier ;) (declaration "undefined1 *value_00;" type_identifier (pointer_declarator "*value_00" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *reason;" primitive_type (pointer_declarator "*reason" * identifier) ;) (expression_statement "colorspace_00 = colorspace;" (assignment_expression "colorspace_00 = colorspace" identifier = identifier) ;) (expression_statement "png_ptr_00 = png_ptr;" (assignment_expression "png_ptr_00 = png_ptr" identifier = identifier) ;) (expression_statement "value = (png_const_structrp)\n          ((uint)profile[1] * 0x10000 + (uint)*profile * 0x1000000 + (uint)profile[3] +\n          (uint)profile[2] * 0x100);" (assignment_expression "value = (png_const_structrp)\n          ((uint)profile[1] * 0x10000 + (uint)*profile * 0x1000000 + (uint)profile[3] +\n          (uint)profile[2] * 0x100)" identifier = (call_expression "(png_const_structrp)\n          ((uint)profile[1] * 0x10000 + (uint)*profile * 0x1000000 + (uint)profile[3] +\n          (uint)profile[2] * 0x100)" (parenthesized_expression "(png_const_structrp)" ( identifier )) (argument_list "((uint)profile[1] * 0x10000 + (uint)*profile * 0x1000000 + (uint)profile[3] +\n          (uint)profile[2] * 0x100)" ( (binary_expression "(uint)profile[1] * 0x10000 + (uint)*profile * 0x1000000 + (uint)profile[3] +\n          (uint)profile[2] * 0x100" (binary_expression "(uint)profile[1] * 0x10000 + (uint)*profile * 0x1000000 + (uint)profile[3]" (binary_expression "(uint)profile[1] * 0x10000 + (uint)*profile * 0x1000000" (binary_expression "(uint)profile[1] * 0x10000" (cast_expression "(uint)profile[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[1]" identifier [ number_literal ])) * number_literal) + (binary_expression "(uint)*profile * 0x1000000" (binary_expression "(uint)*profile" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) + (cast_expression "(uint)profile[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[3]" identifier [ number_literal ]))) + (binary_expression "(uint)profile[2] * 0x100" (cast_expression "(uint)profile[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[2]" identifier [ number_literal ])) * number_literal)) )))) ;) (if_statement "if (value != (png_const_structrp)profile_length) {\n    colorspace = (png_colorspacerp)"length does not match profile";\n    goto LAB_0001651e;\n  }" if (parenthesized_expression "(value != (png_const_structrp)profile_length)" ( (binary_expression "value != (png_const_structrp)profile_length" identifier != (cast_expression "(png_const_structrp)profile_length" ( (type_descriptor "png_const_structrp" type_identifier) ) identifier)) )) (compound_statement "{\n    colorspace = (png_colorspacerp)"length does not match profile";\n    goto LAB_0001651e;\n  }" { (expression_statement "colorspace = (png_colorspacerp)"length does not match profile";" (assignment_expression "colorspace = (png_colorspacerp)"length does not match profile"" identifier = (cast_expression "(png_colorspacerp)"length does not match profile"" ( (type_descriptor "png_colorspacerp" type_identifier) ) (string_literal ""length does not match profile"" " string_content "))) ;) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;) })) (if_statement "if ((3 < profile[8]) && (((uint)value & 3) != 0)) {\n    colorspace = (png_colorspacerp)"invalid length";\n    goto LAB_0001651e;\n  }" if (parenthesized_expression "((3 < profile[8]) && (((uint)value & 3) != 0))" ( (binary_expression "(3 < profile[8]) && (((uint)value & 3) != 0)" (parenthesized_expression "(3 < profile[8])" ( (binary_expression "3 < profile[8]" number_literal < (subscript_expression "profile[8]" identifier [ number_literal ])) )) && (parenthesized_expression "(((uint)value & 3) != 0)" ( (binary_expression "((uint)value & 3) != 0" (parenthesized_expression "((uint)value & 3)" ( (binary_expression "(uint)value & 3" (cast_expression "(uint)value" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    colorspace = (png_colorspacerp)"invalid length";\n    goto LAB_0001651e;\n  }" { (expression_statement "colorspace = (png_colorspacerp)"invalid length";" (assignment_expression "colorspace = (png_colorspacerp)"invalid length"" identifier = (cast_expression "(png_colorspacerp)"invalid length"" ( (type_descriptor "png_colorspacerp" type_identifier) ) (string_literal ""invalid length"" " string_content "))) ;) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;) })) (expression_statement "value = (png_const_structrp)\n          ((uint)profile[0x82] * 0x100 +\n          (uint)profile[0x83] + (uint)profile[0x80] * 0x1000000 + (uint)profile[0x81] * 0x10000);" (assignment_expression "value = (png_const_structrp)\n          ((uint)profile[0x82] * 0x100 +\n          (uint)profile[0x83] + (uint)profile[0x80] * 0x1000000 + (uint)profile[0x81] * 0x10000)" identifier = (call_expression "(png_const_structrp)\n          ((uint)profile[0x82] * 0x100 +\n          (uint)profile[0x83] + (uint)profile[0x80] * 0x1000000 + (uint)profile[0x81] * 0x10000)" (parenthesized_expression "(png_const_structrp)" ( identifier )) (argument_list "((uint)profile[0x82] * 0x100 +\n          (uint)profile[0x83] + (uint)profile[0x80] * 0x1000000 + (uint)profile[0x81] * 0x10000)" ( (binary_expression "(uint)profile[0x82] * 0x100 +\n          (uint)profile[0x83] + (uint)profile[0x80] * 0x1000000 + (uint)profile[0x81] * 0x10000" (binary_expression "(uint)profile[0x82] * 0x100 +\n          (uint)profile[0x83] + (uint)profile[0x80] * 0x1000000" (binary_expression "(uint)profile[0x82] * 0x100 +\n          (uint)profile[0x83]" (binary_expression "(uint)profile[0x82] * 0x100" (cast_expression "(uint)profile[0x82]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x82]" identifier [ number_literal ])) * number_literal) + (cast_expression "(uint)profile[0x83]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x83]" identifier [ number_literal ]))) + (binary_expression "(uint)profile[0x80] * 0x1000000" (cast_expression "(uint)profile[0x80]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x80]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)profile[0x81] * 0x10000" (cast_expression "(uint)profile[0x81]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x81]" identifier [ number_literal ])) * number_literal)) )))) ;) (if_statement "if (((png_const_structrp)0x1555554a < value) || (profile_length < (int)value * 0xc + 0x84U)) {\n    colorspace = (png_colorspacerp)"tag count too large";\n    goto LAB_0001651e;\n  }" if (parenthesized_expression "(((png_const_structrp)0x1555554a < value) || (profile_length < (int)value * 0xc + 0x84U))" ( (binary_expression "((png_const_structrp)0x1555554a < value) || (profile_length < (int)value * 0xc + 0x84U)" (parenthesized_expression "((png_const_structrp)0x1555554a < value)" ( (binary_expression "(png_const_structrp)0x1555554a < value" (cast_expression "(png_const_structrp)0x1555554a" ( (type_descriptor "png_const_structrp" type_identifier) ) number_literal) < identifier) )) || (parenthesized_expression "(profile_length < (int)value * 0xc + 0x84U)" ( (binary_expression "profile_length < (int)value * 0xc + 0x84U" identifier < (binary_expression "(int)value * 0xc + 0x84U" (binary_expression "(int)value * 0xc" (cast_expression "(int)value" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) + number_literal)) ))) )) (compound_statement "{\n    colorspace = (png_colorspacerp)"tag count too large";\n    goto LAB_0001651e;\n  }" { (expression_statement "colorspace = (png_colorspacerp)"tag count too large";" (assignment_expression "colorspace = (png_colorspacerp)"tag count too large"" identifier = (cast_expression "(png_colorspacerp)"tag count too large"" ( (type_descriptor "png_colorspacerp" type_identifier) ) (string_literal ""tag count too large"" " string_content "))) ;) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;) })) (expression_statement "value = (png_const_structrp)\n          ((uint)profile[0x42] * 0x100 +\n          (uint)profile[0x43] + (uint)profile[0x41] * 0x10000 + (uint)profile[0x40] * 0x1000000);" (assignment_expression "value = (png_const_structrp)\n          ((uint)profile[0x42] * 0x100 +\n          (uint)profile[0x43] + (uint)profile[0x41] * 0x10000 + (uint)profile[0x40] * 0x1000000)" identifier = (call_expression "(png_const_structrp)\n          ((uint)profile[0x42] * 0x100 +\n          (uint)profile[0x43] + (uint)profile[0x41] * 0x10000 + (uint)profile[0x40] * 0x1000000)" (parenthesized_expression "(png_const_structrp)" ( identifier )) (argument_list "((uint)profile[0x42] * 0x100 +\n          (uint)profile[0x43] + (uint)profile[0x41] * 0x10000 + (uint)profile[0x40] * 0x1000000)" ( (binary_expression "(uint)profile[0x42] * 0x100 +\n          (uint)profile[0x43] + (uint)profile[0x41] * 0x10000 + (uint)profile[0x40] * 0x1000000" (binary_expression "(uint)profile[0x42] * 0x100 +\n          (uint)profile[0x43] + (uint)profile[0x41] * 0x10000" (binary_expression "(uint)profile[0x42] * 0x100 +\n          (uint)profile[0x43]" (binary_expression "(uint)profile[0x42] * 0x100" (cast_expression "(uint)profile[0x42]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x42]" identifier [ number_literal ])) * number_literal) + (cast_expression "(uint)profile[0x43]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x43]" identifier [ number_literal ]))) + (binary_expression "(uint)profile[0x41] * 0x10000" (cast_expression "(uint)profile[0x41]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x41]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)profile[0x40] * 0x1000000" (cast_expression "(uint)profile[0x40]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x40]" identifier [ number_literal ])) * number_literal)) )))) ;) (expression_statement "colorspace = (png_colorspacerp)"invalid rendering intent";" (assignment_expression "colorspace = (png_colorspacerp)"invalid rendering intent"" identifier = (cast_expression "(png_colorspacerp)"invalid rendering intent"" ( (type_descriptor "png_colorspacerp" type_identifier) ) (string_literal ""invalid rendering intent"" " string_content "))) ;) (if_statement "if ((png_const_structrp)0xfffe < value) goto LAB_0001651e;" if (parenthesized_expression "((png_const_structrp)0xfffe < value)" ( (binary_expression "(png_const_structrp)0xfffe < value" (cast_expression "(png_const_structrp)0xfffe" ( (type_descriptor "png_const_structrp" type_identifier) ) number_literal) < identifier) )) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;)) (if_statement "if ((png_const_structrp)0x3 < value) {\n    png_icc_profile_error\n              (png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value,\n               "intent outside defined range");\n  }" if (parenthesized_expression "((png_const_structrp)0x3 < value)" ( (binary_expression "(png_const_structrp)0x3 < value" (cast_expression "(png_const_structrp)0x3" ( (type_descriptor "png_const_structrp" type_identifier) ) number_literal) < identifier) )) (compound_statement "{\n    png_icc_profile_error\n              (png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value,\n               "intent outside defined range");\n  }" { (expression_statement "png_icc_profile_error\n              (png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value,\n               "intent outside defined range");" (call_expression "png_icc_profile_error\n              (png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value,\n               "intent outside defined range")" identifier (argument_list "(png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value,\n               "intent outside defined range")" ( identifier , (cast_expression "(png_colorspacerp)0x0" ( (type_descriptor "png_colorspacerp" type_identifier) ) number_literal) , identifier , (cast_expression "(png_alloc_size_t)value" ( (type_descriptor "png_alloc_size_t" type_identifier) ) identifier) , (string_literal ""intent outside defined range"" " string_content ") ))) ;) })) (expression_statement "value = (png_const_structrp)\n          ((uint)profile[0x26] * 0x100 +\n          (uint)profile[0x27] + (uint)profile[0x25] * 0x10000 + (uint)profile[0x24] * 0x1000000);" (assignment_expression "value = (png_const_structrp)\n          ((uint)profile[0x26] * 0x100 +\n          (uint)profile[0x27] + (uint)profile[0x25] * 0x10000 + (uint)profile[0x24] * 0x1000000)" identifier = (call_expression "(png_const_structrp)\n          ((uint)profile[0x26] * 0x100 +\n          (uint)profile[0x27] + (uint)profile[0x25] * 0x10000 + (uint)profile[0x24] * 0x1000000)" (parenthesized_expression "(png_const_structrp)" ( identifier )) (argument_list "((uint)profile[0x26] * 0x100 +\n          (uint)profile[0x27] + (uint)profile[0x25] * 0x10000 + (uint)profile[0x24] * 0x1000000)" ( (binary_expression "(uint)profile[0x26] * 0x100 +\n          (uint)profile[0x27] + (uint)profile[0x25] * 0x10000 + (uint)profile[0x24] * 0x1000000" (binary_expression "(uint)profile[0x26] * 0x100 +\n          (uint)profile[0x27] + (uint)profile[0x25] * 0x10000" (binary_expression "(uint)profile[0x26] * 0x100 +\n          (uint)profile[0x27]" (binary_expression "(uint)profile[0x26] * 0x100" (cast_expression "(uint)profile[0x26]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x26]" identifier [ number_literal ])) * number_literal) + (cast_expression "(uint)profile[0x27]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x27]" identifier [ number_literal ]))) + (binary_expression "(uint)profile[0x25] * 0x10000" (cast_expression "(uint)profile[0x25]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x25]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)profile[0x24] * 0x1000000" (cast_expression "(uint)profile[0x24]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x24]" identifier [ number_literal ])) * number_literal)) )))) ;) (expression_statement "colorspace = (png_colorspacerp)"invalid signature";" (assignment_expression "colorspace = (png_colorspacerp)"invalid signature"" identifier = (cast_expression "(png_colorspacerp)"invalid signature"" ( (type_descriptor "png_colorspacerp" type_identifier) ) (string_literal ""invalid signature"" " string_content "))) ;) (if_statement "if (value != (png_const_structrp)0x61637370) goto LAB_0001651e;" if (parenthesized_expression "(value != (png_const_structrp)0x61637370)" ( (binary_expression "value != (png_const_structrp)0x61637370" identifier != (cast_expression "(png_const_structrp)0x61637370" ( (type_descriptor "png_const_structrp" type_identifier) ) number_literal)) )) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;)) (if_statement "if (((*(int *)(profile + 0x44) != D50_nCIEXYZ._0_4_) ||\n      (*(int *)(profile + 0x48) != D50_nCIEXYZ._4_4_)) ||\n     (*(int *)(profile + 0x4c) != D50_nCIEXYZ._8_4_)) {\n    png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,0,"PCS illuminant is not D50");\n  }" if (parenthesized_expression "(((*(int *)(profile + 0x44) != D50_nCIEXYZ._0_4_) ||\n      (*(int *)(profile + 0x48) != D50_nCIEXYZ._4_4_)) ||\n     (*(int *)(profile + 0x4c) != D50_nCIEXYZ._8_4_))" ( (binary_expression "((*(int *)(profile + 0x44) != D50_nCIEXYZ._0_4_) ||\n      (*(int *)(profile + 0x48) != D50_nCIEXYZ._4_4_)) ||\n     (*(int *)(profile + 0x4c) != D50_nCIEXYZ._8_4_)" (parenthesized_expression "((*(int *)(profile + 0x44) != D50_nCIEXYZ._0_4_) ||\n      (*(int *)(profile + 0x48) != D50_nCIEXYZ._4_4_))" ( (binary_expression "(*(int *)(profile + 0x44) != D50_nCIEXYZ._0_4_) ||\n      (*(int *)(profile + 0x48) != D50_nCIEXYZ._4_4_)" (parenthesized_expression "(*(int *)(profile + 0x44) != D50_nCIEXYZ._0_4_)" ( (binary_expression "*(int *)(profile + 0x44) != D50_nCIEXYZ._0_4_" (pointer_expression "*(int *)(profile + 0x44)" * (cast_expression "(int *)(profile + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(profile + 0x44)" ( (binary_expression "profile + 0x44" identifier + number_literal) )))) != (field_expression "D50_nCIEXYZ._0_4_" identifier . field_identifier)) )) || (parenthesized_expression "(*(int *)(profile + 0x48) != D50_nCIEXYZ._4_4_)" ( (binary_expression "*(int *)(profile + 0x48) != D50_nCIEXYZ._4_4_" (pointer_expression "*(int *)(profile + 0x48)" * (cast_expression "(int *)(profile + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(profile + 0x48)" ( (binary_expression "profile + 0x48" identifier + number_literal) )))) != (field_expression "D50_nCIEXYZ._4_4_" identifier . field_identifier)) ))) )) || (parenthesized_expression "(*(int *)(profile + 0x4c) != D50_nCIEXYZ._8_4_)" ( (binary_expression "*(int *)(profile + 0x4c) != D50_nCIEXYZ._8_4_" (pointer_expression "*(int *)(profile + 0x4c)" * (cast_expression "(int *)(profile + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(profile + 0x4c)" ( (binary_expression "profile + 0x4c" identifier + number_literal) )))) != (field_expression "D50_nCIEXYZ._8_4_" identifier . field_identifier)) ))) )) (compound_statement "{\n    png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,0,"PCS illuminant is not D50");\n  }" { (expression_statement "png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,0,"PCS illuminant is not D50");" (call_expression "png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,0,"PCS illuminant is not D50")" identifier (argument_list "(png_ptr,(png_colorspacerp)0x0,name,0,"PCS illuminant is not D50")" ( identifier , (cast_expression "(png_colorspacerp)0x0" ( (type_descriptor "png_colorspacerp" type_identifier) ) number_literal) , identifier , number_literal , (string_literal ""PCS illuminant is not D50"" " string_content ") ))) ;) })) (expression_statement "value = (png_const_structrp)\n          ((uint)profile[0x12] * 0x100 +\n          (uint)profile[0x13] + (uint)profile[0x11] * 0x10000 + (uint)profile[0x10] * 0x1000000);" (assignment_expression "value = (png_const_structrp)\n          ((uint)profile[0x12] * 0x100 +\n          (uint)profile[0x13] + (uint)profile[0x11] * 0x10000 + (uint)profile[0x10] * 0x1000000)" identifier = (call_expression "(png_const_structrp)\n          ((uint)profile[0x12] * 0x100 +\n          (uint)profile[0x13] + (uint)profile[0x11] * 0x10000 + (uint)profile[0x10] * 0x1000000)" (parenthesized_expression "(png_const_structrp)" ( identifier )) (argument_list "((uint)profile[0x12] * 0x100 +\n          (uint)profile[0x13] + (uint)profile[0x11] * 0x10000 + (uint)profile[0x10] * 0x1000000)" ( (binary_expression "(uint)profile[0x12] * 0x100 +\n          (uint)profile[0x13] + (uint)profile[0x11] * 0x10000 + (uint)profile[0x10] * 0x1000000" (binary_expression "(uint)profile[0x12] * 0x100 +\n          (uint)profile[0x13] + (uint)profile[0x11] * 0x10000" (binary_expression "(uint)profile[0x12] * 0x100 +\n          (uint)profile[0x13]" (binary_expression "(uint)profile[0x12] * 0x100" (cast_expression "(uint)profile[0x12]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x12]" identifier [ number_literal ])) * number_literal) + (cast_expression "(uint)profile[0x13]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x13]" identifier [ number_literal ]))) + (binary_expression "(uint)profile[0x11] * 0x10000" (cast_expression "(uint)profile[0x11]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x11]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)profile[0x10] * 0x1000000" (cast_expression "(uint)profile[0x10]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x10]" identifier [ number_literal ])) * number_literal)) )))) ;) (if_statement "if (value == (png_const_structrp)&DAT_47524159) {\n    if ((color_type & 2U) != 0) {\n      png_ptr = (png_const_structrp)&DAT_47524159;\n      colorspace = (png_colorspacerp)s_Gray_color_space_not_permitted_o_0003b1c8;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n  }\n  else {\n    if (value != (png_const_structrp)&DAT_52474220) {\n      colorspace = (png_colorspacerp)"invalid ICC profile color space";\n      goto LAB_0001651e;\n    }\n    if ((color_type & 2U) == 0) {\n      png_ptr = (png_const_structrp)&DAT_52474220;\n      colorspace = (png_colorspacerp)s_RGB_color_space_not_permitted_on_0003b198;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n  }" if (parenthesized_expression "(value == (png_const_structrp)&DAT_47524159)" ( (binary_expression "value == (png_const_structrp)&DAT_47524159" (binary_expression "value == (png_const_structrp)" identifier == (parenthesized_expression "(png_const_structrp)" ( identifier ))) & identifier) )) (compound_statement "{\n    if ((color_type & 2U) != 0) {\n      png_ptr = (png_const_structrp)&DAT_47524159;\n      colorspace = (png_colorspacerp)s_Gray_color_space_not_permitted_o_0003b1c8;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n  }" { (if_statement "if ((color_type & 2U) != 0) {\n      png_ptr = (png_const_structrp)&DAT_47524159;\n      colorspace = (png_colorspacerp)s_Gray_color_space_not_permitted_o_0003b1c8;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }" if (parenthesized_expression "((color_type & 2U) != 0)" ( (binary_expression "(color_type & 2U) != 0" (parenthesized_expression "(color_type & 2U)" ( (binary_expression "color_type & 2U" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      png_ptr = (png_const_structrp)&DAT_47524159;\n      colorspace = (png_colorspacerp)s_Gray_color_space_not_permitted_o_0003b1c8;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }" { (expression_statement "png_ptr = (png_const_structrp)&DAT_47524159;" (assignment_expression "png_ptr = (png_const_structrp)&DAT_47524159" identifier = (binary_expression "(png_const_structrp)&DAT_47524159" (parenthesized_expression "(png_const_structrp)" ( identifier )) & identifier)) ;) (expression_statement "colorspace = (png_colorspacerp)s_Gray_color_space_not_permitted_o_0003b1c8;" (assignment_expression "colorspace = (png_colorspacerp)s_Gray_color_space_not_permitted_o_0003b1c8" identifier = (cast_expression "(png_colorspacerp)s_Gray_color_space_not_permitted_o_0003b1c8" ( (type_descriptor "png_colorspacerp" type_identifier) ) identifier)) ;) (expression_statement "value = png_ptr;" (assignment_expression "value = png_ptr" identifier = identifier) ;) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;) })) }) (else_clause "else {\n    if (value != (png_const_structrp)&DAT_52474220) {\n      colorspace = (png_colorspacerp)"invalid ICC profile color space";\n      goto LAB_0001651e;\n    }\n    if ((color_type & 2U) == 0) {\n      png_ptr = (png_const_structrp)&DAT_52474220;\n      colorspace = (png_colorspacerp)s_RGB_color_space_not_permitted_on_0003b198;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n  }" else (compound_statement "{\n    if (value != (png_const_structrp)&DAT_52474220) {\n      colorspace = (png_colorspacerp)"invalid ICC profile color space";\n      goto LAB_0001651e;\n    }\n    if ((color_type & 2U) == 0) {\n      png_ptr = (png_const_structrp)&DAT_52474220;\n      colorspace = (png_colorspacerp)s_RGB_color_space_not_permitted_on_0003b198;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n  }" { (if_statement "if (value != (png_const_structrp)&DAT_52474220) {\n      colorspace = (png_colorspacerp)"invalid ICC profile color space";\n      goto LAB_0001651e;\n    }" if (parenthesized_expression "(value != (png_const_structrp)&DAT_52474220)" ( (binary_expression "value != (png_const_structrp)&DAT_52474220" (binary_expression "value != (png_const_structrp)" identifier != (parenthesized_expression "(png_const_structrp)" ( identifier ))) & identifier) )) (compound_statement "{\n      colorspace = (png_colorspacerp)"invalid ICC profile color space";\n      goto LAB_0001651e;\n    }" { (expression_statement "colorspace = (png_colorspacerp)"invalid ICC profile color space";" (assignment_expression "colorspace = (png_colorspacerp)"invalid ICC profile color space"" identifier = (cast_expression "(png_colorspacerp)"invalid ICC profile color space"" ( (type_descriptor "png_colorspacerp" type_identifier) ) (string_literal ""invalid ICC profile color space"" " string_content "))) ;) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;) })) (if_statement "if ((color_type & 2U) == 0) {\n      png_ptr = (png_const_structrp)&DAT_52474220;\n      colorspace = (png_colorspacerp)s_RGB_color_space_not_permitted_on_0003b198;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }" if (parenthesized_expression "((color_type & 2U) == 0)" ( (binary_expression "(color_type & 2U) == 0" (parenthesized_expression "(color_type & 2U)" ( (binary_expression "color_type & 2U" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      png_ptr = (png_const_structrp)&DAT_52474220;\n      colorspace = (png_colorspacerp)s_RGB_color_space_not_permitted_on_0003b198;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }" { (expression_statement "png_ptr = (png_const_structrp)&DAT_52474220;" (assignment_expression "png_ptr = (png_const_structrp)&DAT_52474220" identifier = (binary_expression "(png_const_structrp)&DAT_52474220" (parenthesized_expression "(png_const_structrp)" ( identifier )) & identifier)) ;) (expression_statement "colorspace = (png_colorspacerp)s_RGB_color_space_not_permitted_on_0003b198;" (assignment_expression "colorspace = (png_colorspacerp)s_RGB_color_space_not_permitted_on_0003b198" identifier = (cast_expression "(png_colorspacerp)s_RGB_color_space_not_permitted_on_0003b198" ( (type_descriptor "png_colorspacerp" type_identifier) ) identifier)) ;) (expression_statement "value = png_ptr;" (assignment_expression "value = png_ptr" identifier = identifier) ;) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;) })) }))) (expression_statement "value_00 = (undefined1 *)\n             ((uint)profile[0xe] * 0x100 +\n             (uint)profile[0xf] + (uint)profile[0xd] * 0x10000 + (uint)profile[0xc] * 0x1000000);" (assignment_expression "value_00 = (undefined1 *)\n             ((uint)profile[0xe] * 0x100 +\n             (uint)profile[0xf] + (uint)profile[0xd] * 0x10000 + (uint)profile[0xc] * 0x1000000)" identifier = (cast_expression "(undefined1 *)\n             ((uint)profile[0xe] * 0x100 +\n             (uint)profile[0xf] + (uint)profile[0xd] * 0x10000 + (uint)profile[0xc] * 0x1000000)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)profile[0xe] * 0x100 +\n             (uint)profile[0xf] + (uint)profile[0xd] * 0x10000 + (uint)profile[0xc] * 0x1000000)" ( (binary_expression "(uint)profile[0xe] * 0x100 +\n             (uint)profile[0xf] + (uint)profile[0xd] * 0x10000 + (uint)profile[0xc] * 0x1000000" (binary_expression "(uint)profile[0xe] * 0x100 +\n             (uint)profile[0xf] + (uint)profile[0xd] * 0x10000" (binary_expression "(uint)profile[0xe] * 0x100 +\n             (uint)profile[0xf]" (binary_expression "(uint)profile[0xe] * 0x100" (cast_expression "(uint)profile[0xe]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0xe]" identifier [ number_literal ])) * number_literal) + (cast_expression "(uint)profile[0xf]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0xf]" identifier [ number_literal ]))) + (binary_expression "(uint)profile[0xd] * 0x10000" (cast_expression "(uint)profile[0xd]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0xd]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)profile[0xc] * 0x1000000" (cast_expression "(uint)profile[0xc]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0xc]" identifier [ number_literal ])) * number_literal)) )))) ;) (if_statement "if (value_00 == &DAT_6e6d636c) {\n    reason = "unexpected NamedColor ICC profile class";\n    value_00 = &DAT_6e6d636c;\nLAB_00016590:\n    png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value_00,reason);\n  }\n  else if (&DAT_6e6d636c < value_00) {\n    if (((value_00 != (undefined1 *)0x73636e72) && (value_00 != (undefined1 *)0x73706163)) &&\n       (value_00 != (undefined1 *)0x70727472)) {\nLAB_00016585:\n      reason = "unrecognized ICC profile class";\n      goto LAB_00016590;\n    }\n  }\n  else {\n    if (value_00 == &DAT_6c696e6b) {\n      png_ptr = (png_const_structrp)&DAT_6c696e6b;\n      colorspace = (png_colorspacerp)s_unexpected_DeviceLink_ICC_profil_0003b23c;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n    if (value_00 != (undefined1 *)0x6d6e7472) {\n      if (value_00 == (undefined1 *)0x61627374) {\n        png_ptr = (png_const_structrp)0x61627374;\n        value = png_ptr;\n        colorspace = (png_colorspacerp)"invalid embedded Abstract ICC profile";\n        goto LAB_0001651e;\n      }\n      goto LAB_00016585;\n    }\n  }" if (parenthesized_expression "(value_00 == &DAT_6e6d636c)" ( (binary_expression "value_00 == &DAT_6e6d636c" identifier == (pointer_expression "&DAT_6e6d636c" & identifier)) )) (compound_statement "{\n    reason = "unexpected NamedColor ICC profile class";\n    value_00 = &DAT_6e6d636c;\nLAB_00016590:\n    png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value_00,reason);\n  }" { (expression_statement "reason = "unexpected NamedColor ICC profile class";" (assignment_expression "reason = "unexpected NamedColor ICC profile class"" identifier = (string_literal ""unexpected NamedColor ICC profile class"" " string_content ")) ;) (expression_statement "value_00 = &DAT_6e6d636c;" (assignment_expression "value_00 = &DAT_6e6d636c" identifier = (pointer_expression "&DAT_6e6d636c" & identifier)) ;) (labeled_statement "LAB_00016590:\n    png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value_00,reason);" statement_identifier : (expression_statement "png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value_00,reason);" (call_expression "png_icc_profile_error(png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value_00,reason)" identifier (argument_list "(png_ptr,(png_colorspacerp)0x0,name,(png_alloc_size_t)value_00,reason)" ( identifier , (cast_expression "(png_colorspacerp)0x0" ( (type_descriptor "png_colorspacerp" type_identifier) ) number_literal) , identifier , (cast_expression "(png_alloc_size_t)value_00" ( (type_descriptor "png_alloc_size_t" type_identifier) ) identifier) , identifier ))) ;)) }) (else_clause "else if (&DAT_6e6d636c < value_00) {\n    if (((value_00 != (undefined1 *)0x73636e72) && (value_00 != (undefined1 *)0x73706163)) &&\n       (value_00 != (undefined1 *)0x70727472)) {\nLAB_00016585:\n      reason = "unrecognized ICC profile class";\n      goto LAB_00016590;\n    }\n  }\n  else {\n    if (value_00 == &DAT_6c696e6b) {\n      png_ptr = (png_const_structrp)&DAT_6c696e6b;\n      colorspace = (png_colorspacerp)s_unexpected_DeviceLink_ICC_profil_0003b23c;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n    if (value_00 != (undefined1 *)0x6d6e7472) {\n      if (value_00 == (undefined1 *)0x61627374) {\n        png_ptr = (png_const_structrp)0x61627374;\n        value = png_ptr;\n        colorspace = (png_colorspacerp)"invalid embedded Abstract ICC profile";\n        goto LAB_0001651e;\n      }\n      goto LAB_00016585;\n    }\n  }" else (if_statement "if (&DAT_6e6d636c < value_00) {\n    if (((value_00 != (undefined1 *)0x73636e72) && (value_00 != (undefined1 *)0x73706163)) &&\n       (value_00 != (undefined1 *)0x70727472)) {\nLAB_00016585:\n      reason = "unrecognized ICC profile class";\n      goto LAB_00016590;\n    }\n  }\n  else {\n    if (value_00 == &DAT_6c696e6b) {\n      png_ptr = (png_const_structrp)&DAT_6c696e6b;\n      colorspace = (png_colorspacerp)s_unexpected_DeviceLink_ICC_profil_0003b23c;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n    if (value_00 != (undefined1 *)0x6d6e7472) {\n      if (value_00 == (undefined1 *)0x61627374) {\n        png_ptr = (png_const_structrp)0x61627374;\n        value = png_ptr;\n        colorspace = (png_colorspacerp)"invalid embedded Abstract ICC profile";\n        goto LAB_0001651e;\n      }\n      goto LAB_00016585;\n    }\n  }" if (parenthesized_expression "(&DAT_6e6d636c < value_00)" ( (binary_expression "&DAT_6e6d636c < value_00" (pointer_expression "&DAT_6e6d636c" & identifier) < identifier) )) (compound_statement "{\n    if (((value_00 != (undefined1 *)0x73636e72) && (value_00 != (undefined1 *)0x73706163)) &&\n       (value_00 != (undefined1 *)0x70727472)) {\nLAB_00016585:\n      reason = "unrecognized ICC profile class";\n      goto LAB_00016590;\n    }\n  }" { (if_statement "if (((value_00 != (undefined1 *)0x73636e72) && (value_00 != (undefined1 *)0x73706163)) &&\n       (value_00 != (undefined1 *)0x70727472)) {\nLAB_00016585:\n      reason = "unrecognized ICC profile class";\n      goto LAB_00016590;\n    }" if (parenthesized_expression "(((value_00 != (undefined1 *)0x73636e72) && (value_00 != (undefined1 *)0x73706163)) &&\n       (value_00 != (undefined1 *)0x70727472))" ( (binary_expression "((value_00 != (undefined1 *)0x73636e72) && (value_00 != (undefined1 *)0x73706163)) &&\n       (value_00 != (undefined1 *)0x70727472)" (parenthesized_expression "((value_00 != (undefined1 *)0x73636e72) && (value_00 != (undefined1 *)0x73706163))" ( (binary_expression "(value_00 != (undefined1 *)0x73636e72) && (value_00 != (undefined1 *)0x73706163)" (parenthesized_expression "(value_00 != (undefined1 *)0x73636e72)" ( (binary_expression "value_00 != (undefined1 *)0x73636e72" identifier != (cast_expression "(undefined1 *)0x73636e72" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(value_00 != (undefined1 *)0x73706163)" ( (binary_expression "value_00 != (undefined1 *)0x73706163" identifier != (cast_expression "(undefined1 *)0x73706163" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) && (parenthesized_expression "(value_00 != (undefined1 *)0x70727472)" ( (binary_expression "value_00 != (undefined1 *)0x70727472" identifier != (cast_expression "(undefined1 *)0x70727472" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\nLAB_00016585:\n      reason = "unrecognized ICC profile class";\n      goto LAB_00016590;\n    }" { (labeled_statement "LAB_00016585:\n      reason = "unrecognized ICC profile class";" statement_identifier : (expression_statement "reason = "unrecognized ICC profile class";" (assignment_expression "reason = "unrecognized ICC profile class"" identifier = (string_literal ""unrecognized ICC profile class"" " string_content ")) ;)) (goto_statement "goto LAB_00016590;" goto statement_identifier ;) })) }) (else_clause "else {\n    if (value_00 == &DAT_6c696e6b) {\n      png_ptr = (png_const_structrp)&DAT_6c696e6b;\n      colorspace = (png_colorspacerp)s_unexpected_DeviceLink_ICC_profil_0003b23c;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n    if (value_00 != (undefined1 *)0x6d6e7472) {\n      if (value_00 == (undefined1 *)0x61627374) {\n        png_ptr = (png_const_structrp)0x61627374;\n        value = png_ptr;\n        colorspace = (png_colorspacerp)"invalid embedded Abstract ICC profile";\n        goto LAB_0001651e;\n      }\n      goto LAB_00016585;\n    }\n  }" else (compound_statement "{\n    if (value_00 == &DAT_6c696e6b) {\n      png_ptr = (png_const_structrp)&DAT_6c696e6b;\n      colorspace = (png_colorspacerp)s_unexpected_DeviceLink_ICC_profil_0003b23c;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }\n    if (value_00 != (undefined1 *)0x6d6e7472) {\n      if (value_00 == (undefined1 *)0x61627374) {\n        png_ptr = (png_const_structrp)0x61627374;\n        value = png_ptr;\n        colorspace = (png_colorspacerp)"invalid embedded Abstract ICC profile";\n        goto LAB_0001651e;\n      }\n      goto LAB_00016585;\n    }\n  }" { (if_statement "if (value_00 == &DAT_6c696e6b) {\n      png_ptr = (png_const_structrp)&DAT_6c696e6b;\n      colorspace = (png_colorspacerp)s_unexpected_DeviceLink_ICC_profil_0003b23c;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }" if (parenthesized_expression "(value_00 == &DAT_6c696e6b)" ( (binary_expression "value_00 == &DAT_6c696e6b" identifier == (pointer_expression "&DAT_6c696e6b" & identifier)) )) (compound_statement "{\n      png_ptr = (png_const_structrp)&DAT_6c696e6b;\n      colorspace = (png_colorspacerp)s_unexpected_DeviceLink_ICC_profil_0003b23c;\n      value = png_ptr;\n      goto LAB_0001651e;\n    }" { (expression_statement "png_ptr = (png_const_structrp)&DAT_6c696e6b;" (assignment_expression "png_ptr = (png_const_structrp)&DAT_6c696e6b" identifier = (binary_expression "(png_const_structrp)&DAT_6c696e6b" (parenthesized_expression "(png_const_structrp)" ( identifier )) & identifier)) ;) (expression_statement "colorspace = (png_colorspacerp)s_unexpected_DeviceLink_ICC_profil_0003b23c;" (assignment_expression "colorspace = (png_colorspacerp)s_unexpected_DeviceLink_ICC_profil_0003b23c" identifier = (cast_expression "(png_colorspacerp)s_unexpected_DeviceLink_ICC_profil_0003b23c" ( (type_descriptor "png_colorspacerp" type_identifier) ) identifier)) ;) (expression_statement "value = png_ptr;" (assignment_expression "value = png_ptr" identifier = identifier) ;) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;) })) (if_statement "if (value_00 != (undefined1 *)0x6d6e7472) {\n      if (value_00 == (undefined1 *)0x61627374) {\n        png_ptr = (png_const_structrp)0x61627374;\n        value = png_ptr;\n        colorspace = (png_colorspacerp)"invalid embedded Abstract ICC profile";\n        goto LAB_0001651e;\n      }\n      goto LAB_00016585;\n    }" if (parenthesized_expression "(value_00 != (undefined1 *)0x6d6e7472)" ( (binary_expression "value_00 != (undefined1 *)0x6d6e7472" identifier != (cast_expression "(undefined1 *)0x6d6e7472" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (value_00 == (undefined1 *)0x61627374) {\n        png_ptr = (png_const_structrp)0x61627374;\n        value = png_ptr;\n        colorspace = (png_colorspacerp)"invalid embedded Abstract ICC profile";\n        goto LAB_0001651e;\n      }\n      goto LAB_00016585;\n    }" { (if_statement "if (value_00 == (undefined1 *)0x61627374) {\n        png_ptr = (png_const_structrp)0x61627374;\n        value = png_ptr;\n        colorspace = (png_colorspacerp)"invalid embedded Abstract ICC profile";\n        goto LAB_0001651e;\n      }" if (parenthesized_expression "(value_00 == (undefined1 *)0x61627374)" ( (binary_expression "value_00 == (undefined1 *)0x61627374" identifier == (cast_expression "(undefined1 *)0x61627374" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        png_ptr = (png_const_structrp)0x61627374;\n        value = png_ptr;\n        colorspace = (png_colorspacerp)"invalid embedded Abstract ICC profile";\n        goto LAB_0001651e;\n      }" { (expression_statement "png_ptr = (png_const_structrp)0x61627374;" (assignment_expression "png_ptr = (png_const_structrp)0x61627374" identifier = (cast_expression "(png_const_structrp)0x61627374" ( (type_descriptor "png_const_structrp" type_identifier) ) number_literal)) ;) (expression_statement "value = png_ptr;" (assignment_expression "value = png_ptr" identifier = identifier) ;) (expression_statement "colorspace = (png_colorspacerp)"invalid embedded Abstract ICC profile";" (assignment_expression "colorspace = (png_colorspacerp)"invalid embedded Abstract ICC profile"" identifier = (cast_expression "(png_colorspacerp)"invalid embedded Abstract ICC profile"" ( (type_descriptor "png_colorspacerp" type_identifier) ) (string_literal ""invalid embedded Abstract ICC profile"" " string_content "))) ;) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;) })) (goto_statement "goto LAB_00016585;" goto statement_identifier ;) })) }))))) (expression_statement "value = (png_const_structrp)\n          ((uint)profile[0x16] * 0x100 +\n          (uint)profile[0x17] + (uint)profile[0x15] * 0x10000 + (uint)profile[0x14] * 0x1000000);" (assignment_expression "value = (png_const_structrp)\n          ((uint)profile[0x16] * 0x100 +\n          (uint)profile[0x17] + (uint)profile[0x15] * 0x10000 + (uint)profile[0x14] * 0x1000000)" identifier = (call_expression "(png_const_structrp)\n          ((uint)profile[0x16] * 0x100 +\n          (uint)profile[0x17] + (uint)profile[0x15] * 0x10000 + (uint)profile[0x14] * 0x1000000)" (parenthesized_expression "(png_const_structrp)" ( identifier )) (argument_list "((uint)profile[0x16] * 0x100 +\n          (uint)profile[0x17] + (uint)profile[0x15] * 0x10000 + (uint)profile[0x14] * 0x1000000)" ( (binary_expression "(uint)profile[0x16] * 0x100 +\n          (uint)profile[0x17] + (uint)profile[0x15] * 0x10000 + (uint)profile[0x14] * 0x1000000" (binary_expression "(uint)profile[0x16] * 0x100 +\n          (uint)profile[0x17] + (uint)profile[0x15] * 0x10000" (binary_expression "(uint)profile[0x16] * 0x100 +\n          (uint)profile[0x17]" (binary_expression "(uint)profile[0x16] * 0x100" (cast_expression "(uint)profile[0x16]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x16]" identifier [ number_literal ])) * number_literal) + (cast_expression "(uint)profile[0x17]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x17]" identifier [ number_literal ]))) + (binary_expression "(uint)profile[0x15] * 0x10000" (cast_expression "(uint)profile[0x15]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x15]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)profile[0x14] * 0x1000000" (cast_expression "(uint)profile[0x14]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "profile[0x14]" identifier [ number_literal ])) * number_literal)) )))) ;) (if_statement "if ((value == (png_const_structrp)0x4c616220) || (value == (png_const_structrp)0x58595a20)) {\n    return 1;\n  }" if (parenthesized_expression "((value == (png_const_structrp)0x4c616220) || (value == (png_const_structrp)0x58595a20))" ( (binary_expression "(value == (png_const_structrp)0x4c616220) || (value == (png_const_structrp)0x58595a20)" (parenthesized_expression "(value == (png_const_structrp)0x4c616220)" ( (binary_expression "value == (png_const_structrp)0x4c616220" identifier == (cast_expression "(png_const_structrp)0x4c616220" ( (type_descriptor "png_const_structrp" type_identifier) ) number_literal)) )) || (parenthesized_expression "(value == (png_const_structrp)0x58595a20)" ( (binary_expression "value == (png_const_structrp)0x58595a20" identifier == (cast_expression "(png_const_structrp)0x58595a20" ( (type_descriptor "png_const_structrp" type_identifier) ) number_literal)) ))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "colorspace = (png_colorspacerp)"unexpected ICC PCS encoding";" (assignment_expression "colorspace = (png_colorspacerp)"unexpected ICC PCS encoding"" identifier = (cast_expression "(png_colorspacerp)"unexpected ICC PCS encoding"" ( (type_descriptor "png_colorspacerp" type_identifier) ) (string_literal ""unexpected ICC PCS encoding"" " string_content "))) ;) (labeled_statement "LAB_0001651e:\n  png_ptr = value;" statement_identifier : (expression_statement "png_ptr = value;" (assignment_expression "png_ptr = value" identifier = identifier) ;)) (expression_statement "iVar1 = png_icc_profile_error\n                    (png_ptr_00,colorspace_00,name,(png_alloc_size_t)png_ptr,\n                     (png_const_charp)colorspace);" (assignment_expression "iVar1 = png_icc_profile_error\n                    (png_ptr_00,colorspace_00,name,(png_alloc_size_t)png_ptr,\n                     (png_const_charp)colorspace)" identifier = (call_expression "png_icc_profile_error\n                    (png_ptr_00,colorspace_00,name,(png_alloc_size_t)png_ptr,\n                     (png_const_charp)colorspace)" identifier (argument_list "(png_ptr_00,colorspace_00,name,(png_alloc_size_t)png_ptr,\n                     (png_const_charp)colorspace)" ( identifier , identifier , identifier , (cast_expression "(png_alloc_size_t)png_ptr" ( (type_descriptor "png_alloc_size_t" type_identifier) ) identifier) , (cast_expression "(png_const_charp)colorspace" ( (type_descriptor "png_const_charp" type_identifier) ) identifier) )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_00016320(void)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint in_stack_00000010;\n  byte *in_stack_00000014;\n  uint in_stack_00000018;\n  char *pcVar4;\n  \n  uVar1 = (uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100;\n  if (((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))) ||\n     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)))) goto LAB_0001651e;\n  if (3 < uVar1) {\n    FUN_00014da0(uVar1,"intent outside defined range");\n  }\n  if ((uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=\n      0x61637370) goto LAB_0001651e;\n  if (((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||\n     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)) {\n    FUN_00014da0(0,"PCS illuminant is not D50");\n  }\n  iVar2 = (uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000;\n  if (iVar2 == 0x47524159) {\n    if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;\n  }\n  else if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;\n  uVar1 = (uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000;\n  if (uVar1 == 0x6e6d636c) {\n    pcVar4 = "unexpected NamedColor ICC profile class";\n    uVar1 = 0x6e6d636c;\nLAB_00016590:\n    FUN_00014da0(uVar1,pcVar4);\n  }\n  else if (uVar1 < 0x6e6d636d) {\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }\n  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }\n  iVar2 = (uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000;\n  if ((iVar2 == 0x4c616220) || (iVar2 == 0x58595a20)) {\n    return 1;\n  }\nLAB_0001651e:\n  uVar3 = FUN_00014da0();\n  return uVar3;\n}\n\n" (function_definition "undefined4 FUN_00016320(void)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint in_stack_00000010;\n  byte *in_stack_00000014;\n  uint in_stack_00000018;\n  char *pcVar4;\n  \n  uVar1 = (uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100;\n  if (((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))) ||\n     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)))) goto LAB_0001651e;\n  if (3 < uVar1) {\n    FUN_00014da0(uVar1,"intent outside defined range");\n  }\n  if ((uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=\n      0x61637370) goto LAB_0001651e;\n  if (((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||\n     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)) {\n    FUN_00014da0(0,"PCS illuminant is not D50");\n  }\n  iVar2 = (uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000;\n  if (iVar2 == 0x47524159) {\n    if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;\n  }\n  else if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;\n  uVar1 = (uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000;\n  if (uVar1 == 0x6e6d636c) {\n    pcVar4 = "unexpected NamedColor ICC profile class";\n    uVar1 = 0x6e6d636c;\nLAB_00016590:\n    FUN_00014da0(uVar1,pcVar4);\n  }\n  else if (uVar1 < 0x6e6d636d) {\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }\n  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }\n  iVar2 = (uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000;\n  if ((iVar2 == 0x4c616220) || (iVar2 == 0x58595a20)) {\n    return 1;\n  }\nLAB_0001651e:\n  uVar3 = FUN_00014da0();\n  return uVar3;\n}" type_identifier (function_declarator "FUN_00016320(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint in_stack_00000010;\n  byte *in_stack_00000014;\n  uint in_stack_00000018;\n  char *pcVar4;\n  \n  uVar1 = (uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100;\n  if (((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))) ||\n     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)))) goto LAB_0001651e;\n  if (3 < uVar1) {\n    FUN_00014da0(uVar1,"intent outside defined range");\n  }\n  if ((uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=\n      0x61637370) goto LAB_0001651e;\n  if (((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||\n     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)) {\n    FUN_00014da0(0,"PCS illuminant is not D50");\n  }\n  iVar2 = (uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000;\n  if (iVar2 == 0x47524159) {\n    if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;\n  }\n  else if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;\n  uVar1 = (uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000;\n  if (uVar1 == 0x6e6d636c) {\n    pcVar4 = "unexpected NamedColor ICC profile class";\n    uVar1 = 0x6e6d636c;\nLAB_00016590:\n    FUN_00014da0(uVar1,pcVar4);\n  }\n  else if (uVar1 < 0x6e6d636d) {\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }\n  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }\n  iVar2 = (uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000;\n  if ((iVar2 == 0x4c616220) || (iVar2 == 0x58595a20)) {\n    return 1;\n  }\nLAB_0001651e:\n  uVar3 = FUN_00014da0();\n  return uVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint in_stack_00000010;" type_identifier identifier ;) (declaration "byte *in_stack_00000014;" type_identifier (pointer_declarator "*in_stack_00000014" * identifier) ;) (declaration "uint in_stack_00000018;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "uVar1 = (uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100;" (assignment_expression "uVar1 = (uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100" identifier = (binary_expression "(uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100" (binary_expression "(uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3]" (binary_expression "(uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000" (binary_expression "(uint)in_stack_00000014[1] * 0x10000" (cast_expression "(uint)in_stack_00000014[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[1]" identifier [ number_literal ])) * number_literal) + (binary_expression "(uint)*in_stack_00000014 * 0x1000000" (binary_expression "(uint)*in_stack_00000014" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) + (cast_expression "(uint)in_stack_00000014[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[3]" identifier [ number_literal ]))) + (binary_expression "(uint)in_stack_00000014[2] * 0x100" (cast_expression "(uint)in_stack_00000014[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[2]" identifier [ number_literal ])) * number_literal))) ;) (if_statement "if (((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))) ||\n     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)))) goto LAB_0001651e;" if (parenthesized_expression "(((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))) ||\n     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1))))" ( (binary_expression "((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))) ||\n     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)))" (parenthesized_expression "((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1))))" ( (binary_expression "(uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))" (parenthesized_expression "(uVar1 != in_stack_00000010)" ( (binary_expression "uVar1 != in_stack_00000010" identifier != identifier) )) || (parenthesized_expression "(((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))" ( (parenthesized_expression "((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1))" ( (binary_expression "(3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)" (parenthesized_expression "(3 < in_stack_00000014[8] && ((uVar1 & 3) != 0))" ( (binary_expression "3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)" (binary_expression "3 < in_stack_00000014[8]" number_literal < (subscript_expression "in_stack_00000014[8]" identifier [ number_literal ])) && (parenthesized_expression "((uVar1 & 3) != 0)" ( (binary_expression "(uVar1 & 3) != 0" (parenthesized_expression "(uVar1 & 3)" ( (binary_expression "uVar1 & 3" identifier & number_literal) )) != number_literal) ))) )) || (parenthesized_expression "(uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)" ( (comma_expression "uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1" (assignment_expression "uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000" identifier = (binary_expression "(uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000" (binary_expression "(uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000" (binary_expression "(uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83]" (binary_expression "(uint)in_stack_00000014[0x82] * 0x100" (cast_expression "(uint)in_stack_00000014[0x82]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x82]" identifier [ number_literal ])) * number_literal) + (cast_expression "(uint)in_stack_00000014[0x83]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x83]" identifier [ number_literal ]))) + (binary_expression "(uint)in_stack_00000014[0x80] * 0x1000000" (cast_expression "(uint)in_stack_00000014[0x80]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x80]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)in_stack_00000014[0x81] * 0x10000" (cast_expression "(uint)in_stack_00000014[0x81]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x81]" identifier [ number_literal ])) * number_literal))) , (binary_expression "0x1555554a < uVar1" number_literal < identifier)) ))) )) ))) )) || (parenthesized_expression "((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)))" ( (parenthesized_expression "(in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1))" ( (binary_expression "in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)" (binary_expression "in_stack_00000010 < uVar1 * 0xc + 0x84" identifier < (binary_expression "uVar1 * 0xc + 0x84" (binary_expression "uVar1 * 0xc" identifier * number_literal) + number_literal)) || (parenthesized_expression "(uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)" ( (comma_expression "uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1" (assignment_expression "uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000" identifier = (binary_expression "(uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000" (binary_expression "(uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000" (binary_expression "(uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43]" (binary_expression "(uint)in_stack_00000014[0x42] * 0x100" (cast_expression "(uint)in_stack_00000014[0x42]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x42]" identifier [ number_literal ])) * number_literal) + (cast_expression "(uint)in_stack_00000014[0x43]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x43]" identifier [ number_literal ]))) + (binary_expression "(uint)in_stack_00000014[0x41] * 0x10000" (cast_expression "(uint)in_stack_00000014[0x41]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x41]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)in_stack_00000014[0x40] * 0x1000000" (cast_expression "(uint)in_stack_00000014[0x40]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x40]" identifier [ number_literal ])) * number_literal))) , (binary_expression "0xfffe < uVar1" number_literal < identifier)) ))) )) ))) )) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;)) (if_statement "if (3 < uVar1) {\n    FUN_00014da0(uVar1,"intent outside defined range");\n  }" if (parenthesized_expression "(3 < uVar1)" ( (binary_expression "3 < uVar1" number_literal < identifier) )) (compound_statement "{\n    FUN_00014da0(uVar1,"intent outside defined range");\n  }" { (expression_statement "FUN_00014da0(uVar1,"intent outside defined range");" (call_expression "FUN_00014da0(uVar1,"intent outside defined range")" identifier (argument_list "(uVar1,"intent outside defined range")" ( identifier , (string_literal ""intent outside defined range"" " string_content ") ))) ;) })) (if_statement "if ((uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=\n      0x61637370) goto LAB_0001651e;" if (parenthesized_expression "((uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=\n      0x61637370)" ( (binary_expression "(uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=\n      0x61637370" (binary_expression "(uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000" (binary_expression "(uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000" (binary_expression "(uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27]" (binary_expression "(uint)in_stack_00000014[0x26] * 0x100" (cast_expression "(uint)in_stack_00000014[0x26]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x26]" identifier [ number_literal ])) * number_literal) + (cast_expression "(uint)in_stack_00000014[0x27]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x27]" identifier [ number_literal ]))) + (binary_expression "(uint)in_stack_00000014[0x25] * 0x10000" (cast_expression "(uint)in_stack_00000014[0x25]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x25]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)in_stack_00000014[0x24] * 0x1000000" (cast_expression "(uint)in_stack_00000014[0x24]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x24]" identifier [ number_literal ])) * number_literal)) != number_literal) )) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;)) (if_statement "if (((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||\n     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)) {\n    FUN_00014da0(0,"PCS illuminant is not D50");\n  }" if (parenthesized_expression "(((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||\n     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8))" ( (binary_expression "((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||\n     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)" (parenthesized_expression "((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4))" ( (binary_expression "(*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)" (parenthesized_expression "(*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0)" ( (binary_expression "*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0" (pointer_expression "*(int *)(in_stack_00000014 + 0x44)" * (cast_expression "(int *)(in_stack_00000014 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000014 + 0x44)" ( (binary_expression "in_stack_00000014 + 0x44" identifier + number_literal) )))) != identifier) )) || (parenthesized_expression "(*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)" ( (binary_expression "*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4" (pointer_expression "*(int *)(in_stack_00000014 + 0x48)" * (cast_expression "(int *)(in_stack_00000014 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000014 + 0x48)" ( (binary_expression "in_stack_00000014 + 0x48" identifier + number_literal) )))) != identifier) ))) )) || (parenthesized_expression "(*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)" ( (binary_expression "*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8" (pointer_expression "*(int *)(in_stack_00000014 + 0x4c)" * (cast_expression "(int *)(in_stack_00000014 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000014 + 0x4c)" ( (binary_expression "in_stack_00000014 + 0x4c" identifier + number_literal) )))) != identifier) ))) )) (compound_statement "{\n    FUN_00014da0(0,"PCS illuminant is not D50");\n  }" { (expression_statement "FUN_00014da0(0,"PCS illuminant is not D50");" (call_expression "FUN_00014da0(0,"PCS illuminant is not D50")" identifier (argument_list "(0,"PCS illuminant is not D50")" ( number_literal , (string_literal ""PCS illuminant is not D50"" " string_content ") ))) ;) })) (expression_statement "iVar2 = (uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000;" (assignment_expression "iVar2 = (uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000" identifier = (binary_expression "(uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000" (binary_expression "(uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000" (binary_expression "(uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13]" (binary_expression "(uint)in_stack_00000014[0x12] * 0x100" (cast_expression "(uint)in_stack_00000014[0x12]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x12]" identifier [ number_literal ])) * number_literal) + (cast_expression "(uint)in_stack_00000014[0x13]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x13]" identifier [ number_literal ]))) + (binary_expression "(uint)in_stack_00000014[0x11] * 0x10000" (cast_expression "(uint)in_stack_00000014[0x11]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x11]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)in_stack_00000014[0x10] * 0x1000000" (cast_expression "(uint)in_stack_00000014[0x10]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x10]" identifier [ number_literal ])) * number_literal))) ;) (if_statement "if (iVar2 == 0x47524159) {\n    if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;\n  }\n  else if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;" if (parenthesized_expression "(iVar2 == 0x47524159)" ( (binary_expression "iVar2 == 0x47524159" identifier == number_literal) )) (compound_statement "{\n    if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;\n  }" { (if_statement "if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;" if (parenthesized_expression "((in_stack_00000018 & 2) != 0)" ( (binary_expression "(in_stack_00000018 & 2) != 0" (parenthesized_expression "(in_stack_00000018 & 2)" ( (binary_expression "in_stack_00000018 & 2" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;)) }) (else_clause "else if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;" else (if_statement "if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;" if (parenthesized_expression "((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0))" ( (binary_expression "(iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)" (parenthesized_expression "(iVar2 != 0x52474220)" ( (binary_expression "iVar2 != 0x52474220" identifier != number_literal) )) || (parenthesized_expression "((in_stack_00000018 & 2) == 0)" ( (binary_expression "(in_stack_00000018 & 2) == 0" (parenthesized_expression "(in_stack_00000018 & 2)" ( (binary_expression "in_stack_00000018 & 2" identifier & number_literal) )) == number_literal) ))) )) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;)))) (expression_statement "uVar1 = (uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000;" (assignment_expression "uVar1 = (uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000" identifier = (binary_expression "(uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000" (binary_expression "(uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000" (binary_expression "(uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf]" (binary_expression "(uint)in_stack_00000014[0xe] * 0x100" (cast_expression "(uint)in_stack_00000014[0xe]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0xe]" identifier [ number_literal ])) * number_literal) + (cast_expression "(uint)in_stack_00000014[0xf]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0xf]" identifier [ number_literal ]))) + (binary_expression "(uint)in_stack_00000014[0xd] * 0x10000" (cast_expression "(uint)in_stack_00000014[0xd]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0xd]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)in_stack_00000014[0xc] * 0x1000000" (cast_expression "(uint)in_stack_00000014[0xc]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0xc]" identifier [ number_literal ])) * number_literal))) ;) (if_statement "if (uVar1 == 0x6e6d636c) {\n    pcVar4 = "unexpected NamedColor ICC profile class";\n    uVar1 = 0x6e6d636c;\nLAB_00016590:\n    FUN_00014da0(uVar1,pcVar4);\n  }\n  else if (uVar1 < 0x6e6d636d) {\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }\n  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }" if (parenthesized_expression "(uVar1 == 0x6e6d636c)" ( (binary_expression "uVar1 == 0x6e6d636c" identifier == number_literal) )) (compound_statement "{\n    pcVar4 = "unexpected NamedColor ICC profile class";\n    uVar1 = 0x6e6d636c;\nLAB_00016590:\n    FUN_00014da0(uVar1,pcVar4);\n  }" { (expression_statement "pcVar4 = "unexpected NamedColor ICC profile class";" (assignment_expression "pcVar4 = "unexpected NamedColor ICC profile class"" identifier = (string_literal ""unexpected NamedColor ICC profile class"" " string_content ")) ;) (expression_statement "uVar1 = 0x6e6d636c;" (assignment_expression "uVar1 = 0x6e6d636c" identifier = number_literal) ;) (labeled_statement "LAB_00016590:\n    FUN_00014da0(uVar1,pcVar4);" statement_identifier : (expression_statement "FUN_00014da0(uVar1,pcVar4);" (call_expression "FUN_00014da0(uVar1,pcVar4)" identifier (argument_list "(uVar1,pcVar4)" ( identifier , identifier ))) ;)) }) (else_clause "else if (uVar1 < 0x6e6d636d) {\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }\n  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }" else (if_statement "if (uVar1 < 0x6e6d636d) {\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }\n  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }" if (parenthesized_expression "(uVar1 < 0x6e6d636d)" ( (binary_expression "uVar1 < 0x6e6d636d" identifier < number_literal) )) (compound_statement "{\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }" { (if_statement "if (uVar1 == 0x6c696e6b) goto LAB_0001651e;" if (parenthesized_expression "(uVar1 == 0x6c696e6b)" ( (binary_expression "uVar1 == 0x6c696e6b" identifier == number_literal) )) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;)) (if_statement "if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }" if (parenthesized_expression "(uVar1 != 0x6d6e7472)" ( (binary_expression "uVar1 != 0x6d6e7472" identifier != number_literal) )) (compound_statement "{\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }" { (if_statement "if (uVar1 == 0x61627374) goto LAB_0001651e;" if (parenthesized_expression "(uVar1 == 0x61627374)" ( (binary_expression "uVar1 == 0x61627374" identifier == number_literal) )) (goto_statement "goto LAB_0001651e;" goto statement_identifier ;)) (goto_statement "goto LAB_00016585;" goto statement_identifier ;) })) }) (else_clause "else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }" else (if_statement "if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }" if (parenthesized_expression "(((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472))" ( (binary_expression "((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)" (parenthesized_expression "((uVar1 != 0x73636e72) && (uVar1 != 0x73706163))" ( (binary_expression "(uVar1 != 0x73636e72) && (uVar1 != 0x73706163)" (parenthesized_expression "(uVar1 != 0x73636e72)" ( (binary_expression "uVar1 != 0x73636e72" identifier != number_literal) )) && (parenthesized_expression "(uVar1 != 0x73706163)" ( (binary_expression "uVar1 != 0x73706163" identifier != number_literal) ))) )) && (parenthesized_expression "(uVar1 != 0x70727472)" ( (binary_expression "uVar1 != 0x70727472" identifier != number_literal) ))) )) (compound_statement "{\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }" { (labeled_statement "LAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";" statement_identifier : (expression_statement "pcVar4 = "unrecognized ICC profile class";" (assignment_expression "pcVar4 = "unrecognized ICC profile class"" identifier = (string_literal ""unrecognized ICC profile class"" " string_content ")) ;)) (goto_statement "goto LAB_00016590;" goto statement_identifier ;) })))))) (expression_statement "iVar2 = (uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000;" (assignment_expression "iVar2 = (uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000" identifier = (binary_expression "(uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000" (binary_expression "(uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000" (binary_expression "(uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17]" (binary_expression "(uint)in_stack_00000014[0x16] * 0x100" (cast_expression "(uint)in_stack_00000014[0x16]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x16]" identifier [ number_literal ])) * number_literal) + (cast_expression "(uint)in_stack_00000014[0x17]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x17]" identifier [ number_literal ]))) + (binary_expression "(uint)in_stack_00000014[0x15] * 0x10000" (cast_expression "(uint)in_stack_00000014[0x15]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x15]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)in_stack_00000014[0x14] * 0x1000000" (cast_expression "(uint)in_stack_00000014[0x14]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "in_stack_00000014[0x14]" identifier [ number_literal ])) * number_literal))) ;) (if_statement "if ((iVar2 == 0x4c616220) || (iVar2 == 0x58595a20)) {\n    return 1;\n  }" if (parenthesized_expression "((iVar2 == 0x4c616220) || (iVar2 == 0x58595a20))" ( (binary_expression "(iVar2 == 0x4c616220) || (iVar2 == 0x58595a20)" (parenthesized_expression "(iVar2 == 0x4c616220)" ( (binary_expression "iVar2 == 0x4c616220" identifier == number_literal) )) || (parenthesized_expression "(iVar2 == 0x58595a20)" ( (binary_expression "iVar2 == 0x58595a20" identifier == number_literal) ))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (labeled_statement "LAB_0001651e:\n  uVar3 = FUN_00014da0();" statement_identifier : (expression_statement "uVar3 = FUN_00014da0();" (assignment_expression "uVar3 = FUN_00014da0()" identifier = (call_expression "FUN_00014da0()" identifier (argument_list "()" ( )))) ;)) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT) + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT)) + (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression LIT < (subscript_expression IDENT [ LIT ])) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT) + (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT)) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT))) , (binary_expression LIT < IDENT)) ))) )) ))) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT < (binary_expression (binary_expression IDENT * LIT) + LIT)) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT) + (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT)) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT))) , (binary_expression LIT < IDENT)) ))) )) ))) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT) + (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT)) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT)) != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) ))) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT) + (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT)) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))) )) (goto_statement goto statement_identifier ;)))) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT) + (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT)) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;)) (goto_statement goto statement_identifier ;) })))))) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT) + (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT)) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (return_statement return LIT ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;)) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00016320(void)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint in_stack_00000010;\n  byte *in_stack_00000014;\n  uint in_stack_00000018;\n  char *pcVar4;\n  \n  uVar1 = (uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100;\n  if (((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))) ||\n     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)))) goto LAB_0001651e;\n  if (3 < uVar1) {\n    FUN_00014da0(uVar1,"intent outside defined range");\n  }\n  if ((uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=\n      0x61637370) goto LAB_0001651e;\n  if (((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||\n     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)) {\n    FUN_00014da0(0,"PCS illuminant is not D50");\n  }\n  iVar2 = (uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000;\n  if (iVar2 == 0x47524159) {\n    if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;\n  }\n  else if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;\n  uVar1 = (uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000;\n  if (uVar1 == 0x6e6d636c) {\n    pcVar4 = "unexpected NamedColor ICC profile class";\n    uVar1 = 0x6e6d636c;\nLAB_00016590:\n    FUN_00014da0(uVar1,pcVar4);\n  }\n  else if (uVar1 < 0x6e6d636d) {\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }\n  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }\n  iVar2 = (uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000;\n  if ((iVar2 == 0x4c616220) || (iVar2 == 0x58595a20)) {\n    return 1;\n  }\nLAB_0001651e:\n  uVar3 = FUN_00014da0();\n  return uVar3;\n}" (type_identifier "undefined4") (function_declarator "FUN_00016320(void)" (identifier "FUN_00016320") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint in_stack_00000010;\n  byte *in_stack_00000014;\n  uint in_stack_00000018;\n  char *pcVar4;\n  \n  uVar1 = (uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100;\n  if (((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))) ||\n     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)))) goto LAB_0001651e;\n  if (3 < uVar1) {\n    FUN_00014da0(uVar1,"intent outside defined range");\n  }\n  if ((uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=\n      0x61637370) goto LAB_0001651e;\n  if (((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||\n     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)) {\n    FUN_00014da0(0,"PCS illuminant is not D50");\n  }\n  iVar2 = (uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000;\n  if (iVar2 == 0x47524159) {\n    if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;\n  }\n  else if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;\n  uVar1 = (uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000;\n  if (uVar1 == 0x6e6d636c) {\n    pcVar4 = "unexpected NamedColor ICC profile class";\n    uVar1 = 0x6e6d636c;\nLAB_00016590:\n    FUN_00014da0(uVar1,pcVar4);\n  }\n  else if (uVar1 < 0x6e6d636d) {\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }\n  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }\n  iVar2 = (uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000;\n  if ((iVar2 == 0x4c616220) || (iVar2 == 0x58595a20)) {\n    return 1;\n  }\nLAB_0001651e:\n  uVar3 = FUN_00014da0();\n  return uVar3;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "uint in_stack_00000010;" (type_identifier "uint") (identifier "in_stack_00000010") (; ";")) (declaration "byte *in_stack_00000014;" (type_identifier "byte") (pointer_declarator "*in_stack_00000014" (* "*") (identifier "in_stack_00000014")) (; ";")) (declaration "uint in_stack_00000018;" (type_identifier "uint") (identifier "in_stack_00000018") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (expression_statement "uVar1 = (uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100;" (assignment_expression "uVar1 = (uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100" (identifier "uVar1") (= "=") (binary_expression "(uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100" (binary_expression "(uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +\n          (uint)in_stack_00000014[3]" (binary_expression "(uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000" (binary_expression "(uint)in_stack_00000014[1] * 0x10000" (cast_expression "(uint)in_stack_00000014[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[1]" (identifier "in_stack_00000014") ([ "[") (number_literal "1") (] "]"))) (* "*") (number_literal "0x10000")) (+ "+") (binary_expression "(uint)*in_stack_00000014 * 0x1000000" (binary_expression "(uint)*in_stack_00000014" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "in_stack_00000014")) (* "*") (number_literal "0x1000000"))) (+ "+") (cast_expression "(uint)in_stack_00000014[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[3]" (identifier "in_stack_00000014") ([ "[") (number_literal "3") (] "]")))) (+ "+") (binary_expression "(uint)in_stack_00000014[2] * 0x100" (cast_expression "(uint)in_stack_00000014[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[2]" (identifier "in_stack_00000014") ([ "[") (number_literal "2") (] "]"))) (* "*") (number_literal "0x100")))) (; ";")) (if_statement "if (((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))) ||\n     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)))) goto LAB_0001651e;" (if "if") (parenthesized_expression "(((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))) ||\n     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1))))" (( "(") (binary_expression "((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))) ||\n     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)))" (parenthesized_expression "((uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1))))" (( "(") (binary_expression "(uVar1 != in_stack_00000010) ||\n      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))" (parenthesized_expression "(uVar1 != in_stack_00000010)" (( "(") (binary_expression "uVar1 != in_stack_00000010" (identifier "uVar1") (!= "!=") (identifier "in_stack_00000010")) () ")")) (|| "||") (parenthesized_expression "(((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)))" (( "(") (parenthesized_expression "((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1))" (( "(") (binary_expression "(3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||\n       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)" (parenthesized_expression "(3 < in_stack_00000014[8] && ((uVar1 & 3) != 0))" (( "(") (binary_expression "3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)" (binary_expression "3 < in_stack_00000014[8]" (number_literal "3") (< "<") (subscript_expression "in_stack_00000014[8]" (identifier "in_stack_00000014") ([ "[") (number_literal "8") (] "]"))) (&& "&&") (parenthesized_expression "((uVar1 & 3) != 0)" (( "(") (binary_expression "(uVar1 & 3) != 0" (parenthesized_expression "(uVar1 & 3)" (( "(") (binary_expression "uVar1 & 3" (identifier "uVar1") (& "&") (number_literal "3")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1)" (( "(") (comma_expression "uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,\n       0x1555554a < uVar1" (assignment_expression "uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000" (identifier "uVar1") (= "=") (binary_expression "(uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000" (binary_expression "(uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83] +\n                (uint)in_stack_00000014[0x80] * 0x1000000" (binary_expression "(uint)in_stack_00000014[0x82] * 0x100 +\n                (uint)in_stack_00000014[0x83]" (binary_expression "(uint)in_stack_00000014[0x82] * 0x100" (cast_expression "(uint)in_stack_00000014[0x82]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x82]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x82") (] "]"))) (* "*") (number_literal "0x100")) (+ "+") (cast_expression "(uint)in_stack_00000014[0x83]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x83]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x83") (] "]")))) (+ "+") (binary_expression "(uint)in_stack_00000014[0x80] * 0x1000000" (cast_expression "(uint)in_stack_00000014[0x80]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x80]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x80") (] "]"))) (* "*") (number_literal "0x1000000"))) (+ "+") (binary_expression "(uint)in_stack_00000014[0x81] * 0x10000" (cast_expression "(uint)in_stack_00000014[0x81]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x81]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x81") (] "]"))) (* "*") (number_literal "0x10000")))) (, ",") (binary_expression "0x1555554a < uVar1" (number_literal "0x1555554a") (< "<") (identifier "uVar1"))) () ")"))) () ")")) () ")"))) () ")")) (|| "||") (parenthesized_expression "((in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)))" (( "(") (parenthesized_expression "(in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1))" (( "(") (binary_expression "in_stack_00000010 < uVar1 * 0xc + 0x84 ||\n      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)" (binary_expression "in_stack_00000010 < uVar1 * 0xc + 0x84" (identifier "in_stack_00000010") (< "<") (binary_expression "uVar1 * 0xc + 0x84" (binary_expression "uVar1 * 0xc" (identifier "uVar1") (* "*") (number_literal "0xc")) (+ "+") (number_literal "0x84"))) (|| "||") (parenthesized_expression "(uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1)" (( "(") (comma_expression "uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,\n      0xfffe < uVar1" (assignment_expression "uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000" (identifier "uVar1") (= "=") (binary_expression "(uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000" (binary_expression "(uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43] +\n               (uint)in_stack_00000014[0x41] * 0x10000" (binary_expression "(uint)in_stack_00000014[0x42] * 0x100 +\n               (uint)in_stack_00000014[0x43]" (binary_expression "(uint)in_stack_00000014[0x42] * 0x100" (cast_expression "(uint)in_stack_00000014[0x42]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x42]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x42") (] "]"))) (* "*") (number_literal "0x100")) (+ "+") (cast_expression "(uint)in_stack_00000014[0x43]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x43]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x43") (] "]")))) (+ "+") (binary_expression "(uint)in_stack_00000014[0x41] * 0x10000" (cast_expression "(uint)in_stack_00000014[0x41]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x41]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x41") (] "]"))) (* "*") (number_literal "0x10000"))) (+ "+") (binary_expression "(uint)in_stack_00000014[0x40] * 0x1000000" (cast_expression "(uint)in_stack_00000014[0x40]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x40]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x40") (] "]"))) (* "*") (number_literal "0x1000000")))) (, ",") (binary_expression "0xfffe < uVar1" (number_literal "0xfffe") (< "<") (identifier "uVar1"))) () ")"))) () ")")) () ")"))) () ")")) (goto_statement "goto LAB_0001651e;" (goto "goto") (statement_identifier "LAB_0001651e") (; ";"))) (if_statement "if (3 < uVar1) {\n    FUN_00014da0(uVar1,"intent outside defined range");\n  }" (if "if") (parenthesized_expression "(3 < uVar1)" (( "(") (binary_expression "3 < uVar1" (number_literal "3") (< "<") (identifier "uVar1")) () ")")) (compound_statement "{\n    FUN_00014da0(uVar1,"intent outside defined range");\n  }" ({ "{") (expression_statement "FUN_00014da0(uVar1,"intent outside defined range");" (call_expression "FUN_00014da0(uVar1,"intent outside defined range")" (identifier "FUN_00014da0") (argument_list "(uVar1,"intent outside defined range")" (( "(") (identifier "uVar1") (, ",") (string_literal ""intent outside defined range"" (" """) (string_content "intent outside defined range") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if ((uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=\n      0x61637370) goto LAB_0001651e;" (if "if") (parenthesized_expression "((uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=\n      0x61637370)" (( "(") (binary_expression "(uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=\n      0x61637370" (binary_expression "(uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000" (binary_expression "(uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27] +\n      (uint)in_stack_00000014[0x25] * 0x10000" (binary_expression "(uint)in_stack_00000014[0x26] * 0x100 +\n      (uint)in_stack_00000014[0x27]" (binary_expression "(uint)in_stack_00000014[0x26] * 0x100" (cast_expression "(uint)in_stack_00000014[0x26]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x26]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x26") (] "]"))) (* "*") (number_literal "0x100")) (+ "+") (cast_expression "(uint)in_stack_00000014[0x27]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x27]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x27") (] "]")))) (+ "+") (binary_expression "(uint)in_stack_00000014[0x25] * 0x10000" (cast_expression "(uint)in_stack_00000014[0x25]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x25]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x25") (] "]"))) (* "*") (number_literal "0x10000"))) (+ "+") (binary_expression "(uint)in_stack_00000014[0x24] * 0x1000000" (cast_expression "(uint)in_stack_00000014[0x24]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x24]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x24") (] "]"))) (* "*") (number_literal "0x1000000"))) (!= "!=") (number_literal "0x61637370")) () ")")) (goto_statement "goto LAB_0001651e;" (goto "goto") (statement_identifier "LAB_0001651e") (; ";"))) (if_statement "if (((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||\n     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)) {\n    FUN_00014da0(0,"PCS illuminant is not D50");\n  }" (if "if") (parenthesized_expression "(((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||\n     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8))" (( "(") (binary_expression "((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||\n     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)" (parenthesized_expression "((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4))" (( "(") (binary_expression "(*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||\n      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)" (parenthesized_expression "(*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0)" (( "(") (binary_expression "*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0" (pointer_expression "*(int *)(in_stack_00000014 + 0x44)" (* "*") (cast_expression "(int *)(in_stack_00000014 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_stack_00000014 + 0x44)" (( "(") (binary_expression "in_stack_00000014 + 0x44" (identifier "in_stack_00000014") (+ "+") (number_literal "0x44")) () ")")))) (!= "!=") (identifier "DAT_0003c4a0")) () ")")) (|| "||") (parenthesized_expression "(*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)" (( "(") (binary_expression "*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4" (pointer_expression "*(int *)(in_stack_00000014 + 0x48)" (* "*") (cast_expression "(int *)(in_stack_00000014 + 0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_stack_00000014 + 0x48)" (( "(") (binary_expression "in_stack_00000014 + 0x48" (identifier "in_stack_00000014") (+ "+") (number_literal "0x48")) () ")")))) (!= "!=") (identifier "DAT_0003c4a4")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)" (( "(") (binary_expression "*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8" (pointer_expression "*(int *)(in_stack_00000014 + 0x4c)" (* "*") (cast_expression "(int *)(in_stack_00000014 + 0x4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_stack_00000014 + 0x4c)" (( "(") (binary_expression "in_stack_00000014 + 0x4c" (identifier "in_stack_00000014") (+ "+") (number_literal "0x4c")) () ")")))) (!= "!=") (identifier "DAT_0003c4a8")) () ")"))) () ")")) (compound_statement "{\n    FUN_00014da0(0,"PCS illuminant is not D50");\n  }" ({ "{") (expression_statement "FUN_00014da0(0,"PCS illuminant is not D50");" (call_expression "FUN_00014da0(0,"PCS illuminant is not D50")" (identifier "FUN_00014da0") (argument_list "(0,"PCS illuminant is not D50")" (( "(") (number_literal "0") (, ",") (string_literal ""PCS illuminant is not D50"" (" """) (string_content "PCS illuminant is not D50") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = (uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000;" (assignment_expression "iVar2 = (uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000" (identifier "iVar2") (= "=") (binary_expression "(uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000" (binary_expression "(uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13] +\n          (uint)in_stack_00000014[0x11] * 0x10000" (binary_expression "(uint)in_stack_00000014[0x12] * 0x100 +\n          (uint)in_stack_00000014[0x13]" (binary_expression "(uint)in_stack_00000014[0x12] * 0x100" (cast_expression "(uint)in_stack_00000014[0x12]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x12]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x12") (] "]"))) (* "*") (number_literal "0x100")) (+ "+") (cast_expression "(uint)in_stack_00000014[0x13]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x13]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x13") (] "]")))) (+ "+") (binary_expression "(uint)in_stack_00000014[0x11] * 0x10000" (cast_expression "(uint)in_stack_00000014[0x11]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x11]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x11") (] "]"))) (* "*") (number_literal "0x10000"))) (+ "+") (binary_expression "(uint)in_stack_00000014[0x10] * 0x1000000" (cast_expression "(uint)in_stack_00000014[0x10]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x10]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x10") (] "]"))) (* "*") (number_literal "0x1000000")))) (; ";")) (if_statement "if (iVar2 == 0x47524159) {\n    if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;\n  }\n  else if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;" (if "if") (parenthesized_expression "(iVar2 == 0x47524159)" (( "(") (binary_expression "iVar2 == 0x47524159" (identifier "iVar2") (== "==") (number_literal "0x47524159")) () ")")) (compound_statement "{\n    if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;\n  }" ({ "{") (if_statement "if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;" (if "if") (parenthesized_expression "((in_stack_00000018 & 2) != 0)" (( "(") (binary_expression "(in_stack_00000018 & 2) != 0" (parenthesized_expression "(in_stack_00000018 & 2)" (( "(") (binary_expression "in_stack_00000018 & 2" (identifier "in_stack_00000018") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001651e;" (goto "goto") (statement_identifier "LAB_0001651e") (; ";"))) (} "}")) (else_clause "else if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;" (else "else") (if_statement "if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;" (if "if") (parenthesized_expression "((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0))" (( "(") (binary_expression "(iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)" (parenthesized_expression "(iVar2 != 0x52474220)" (( "(") (binary_expression "iVar2 != 0x52474220" (identifier "iVar2") (!= "!=") (number_literal "0x52474220")) () ")")) (|| "||") (parenthesized_expression "((in_stack_00000018 & 2) == 0)" (( "(") (binary_expression "(in_stack_00000018 & 2) == 0" (parenthesized_expression "(in_stack_00000018 & 2)" (( "(") (binary_expression "in_stack_00000018 & 2" (identifier "in_stack_00000018") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_0001651e;" (goto "goto") (statement_identifier "LAB_0001651e") (; ";"))))) (expression_statement "uVar1 = (uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000;" (assignment_expression "uVar1 = (uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000" (identifier "uVar1") (= "=") (binary_expression "(uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000" (binary_expression "(uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf] +\n          (uint)in_stack_00000014[0xd] * 0x10000" (binary_expression "(uint)in_stack_00000014[0xe] * 0x100 +\n          (uint)in_stack_00000014[0xf]" (binary_expression "(uint)in_stack_00000014[0xe] * 0x100" (cast_expression "(uint)in_stack_00000014[0xe]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0xe]" (identifier "in_stack_00000014") ([ "[") (number_literal "0xe") (] "]"))) (* "*") (number_literal "0x100")) (+ "+") (cast_expression "(uint)in_stack_00000014[0xf]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0xf]" (identifier "in_stack_00000014") ([ "[") (number_literal "0xf") (] "]")))) (+ "+") (binary_expression "(uint)in_stack_00000014[0xd] * 0x10000" (cast_expression "(uint)in_stack_00000014[0xd]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0xd]" (identifier "in_stack_00000014") ([ "[") (number_literal "0xd") (] "]"))) (* "*") (number_literal "0x10000"))) (+ "+") (binary_expression "(uint)in_stack_00000014[0xc] * 0x1000000" (cast_expression "(uint)in_stack_00000014[0xc]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0xc]" (identifier "in_stack_00000014") ([ "[") (number_literal "0xc") (] "]"))) (* "*") (number_literal "0x1000000")))) (; ";")) (if_statement "if (uVar1 == 0x6e6d636c) {\n    pcVar4 = "unexpected NamedColor ICC profile class";\n    uVar1 = 0x6e6d636c;\nLAB_00016590:\n    FUN_00014da0(uVar1,pcVar4);\n  }\n  else if (uVar1 < 0x6e6d636d) {\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }\n  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }" (if "if") (parenthesized_expression "(uVar1 == 0x6e6d636c)" (( "(") (binary_expression "uVar1 == 0x6e6d636c" (identifier "uVar1") (== "==") (number_literal "0x6e6d636c")) () ")")) (compound_statement "{\n    pcVar4 = "unexpected NamedColor ICC profile class";\n    uVar1 = 0x6e6d636c;\nLAB_00016590:\n    FUN_00014da0(uVar1,pcVar4);\n  }" ({ "{") (expression_statement "pcVar4 = "unexpected NamedColor ICC profile class";" (assignment_expression "pcVar4 = "unexpected NamedColor ICC profile class"" (identifier "pcVar4") (= "=") (string_literal ""unexpected NamedColor ICC profile class"" (" """) (string_content "unexpected NamedColor ICC profile class") (" """))) (; ";")) (expression_statement "uVar1 = 0x6e6d636c;" (assignment_expression "uVar1 = 0x6e6d636c" (identifier "uVar1") (= "=") (number_literal "0x6e6d636c")) (; ";")) (labeled_statement "LAB_00016590:\n    FUN_00014da0(uVar1,pcVar4);" (statement_identifier "LAB_00016590") (: ":") (expression_statement "FUN_00014da0(uVar1,pcVar4);" (call_expression "FUN_00014da0(uVar1,pcVar4)" (identifier "FUN_00014da0") (argument_list "(uVar1,pcVar4)" (( "(") (identifier "uVar1") (, ",") (identifier "pcVar4") () ")"))) (; ";"))) (} "}")) (else_clause "else if (uVar1 < 0x6e6d636d) {\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }\n  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }" (else "else") (if_statement "if (uVar1 < 0x6e6d636d) {\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }\n  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }" (if "if") (parenthesized_expression "(uVar1 < 0x6e6d636d)" (( "(") (binary_expression "uVar1 < 0x6e6d636d" (identifier "uVar1") (< "<") (number_literal "0x6e6d636d")) () ")")) (compound_statement "{\n    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;\n    if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }\n  }" ({ "{") (if_statement "if (uVar1 == 0x6c696e6b) goto LAB_0001651e;" (if "if") (parenthesized_expression "(uVar1 == 0x6c696e6b)" (( "(") (binary_expression "uVar1 == 0x6c696e6b" (identifier "uVar1") (== "==") (number_literal "0x6c696e6b")) () ")")) (goto_statement "goto LAB_0001651e;" (goto "goto") (statement_identifier "LAB_0001651e") (; ";"))) (if_statement "if (uVar1 != 0x6d6e7472) {\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }" (if "if") (parenthesized_expression "(uVar1 != 0x6d6e7472)" (( "(") (binary_expression "uVar1 != 0x6d6e7472" (identifier "uVar1") (!= "!=") (number_literal "0x6d6e7472")) () ")")) (compound_statement "{\n      if (uVar1 == 0x61627374) goto LAB_0001651e;\n      goto LAB_00016585;\n    }" ({ "{") (if_statement "if (uVar1 == 0x61627374) goto LAB_0001651e;" (if "if") (parenthesized_expression "(uVar1 == 0x61627374)" (( "(") (binary_expression "uVar1 == 0x61627374" (identifier "uVar1") (== "==") (number_literal "0x61627374")) () ")")) (goto_statement "goto LAB_0001651e;" (goto "goto") (statement_identifier "LAB_0001651e") (; ";"))) (goto_statement "goto LAB_00016585;" (goto "goto") (statement_identifier "LAB_00016585") (; ";")) (} "}"))) (} "}")) (else_clause "else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }" (else "else") (if_statement "if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }" (if "if") (parenthesized_expression "(((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472))" (( "(") (binary_expression "((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)" (parenthesized_expression "((uVar1 != 0x73636e72) && (uVar1 != 0x73706163))" (( "(") (binary_expression "(uVar1 != 0x73636e72) && (uVar1 != 0x73706163)" (parenthesized_expression "(uVar1 != 0x73636e72)" (( "(") (binary_expression "uVar1 != 0x73636e72" (identifier "uVar1") (!= "!=") (number_literal "0x73636e72")) () ")")) (&& "&&") (parenthesized_expression "(uVar1 != 0x73706163)" (( "(") (binary_expression "uVar1 != 0x73706163" (identifier "uVar1") (!= "!=") (number_literal "0x73706163")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(uVar1 != 0x70727472)" (( "(") (binary_expression "uVar1 != 0x70727472" (identifier "uVar1") (!= "!=") (number_literal "0x70727472")) () ")"))) () ")")) (compound_statement "{\nLAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";\n    goto LAB_00016590;\n  }" ({ "{") (labeled_statement "LAB_00016585:\n    pcVar4 = "unrecognized ICC profile class";" (statement_identifier "LAB_00016585") (: ":") (expression_statement "pcVar4 = "unrecognized ICC profile class";" (assignment_expression "pcVar4 = "unrecognized ICC profile class"" (identifier "pcVar4") (= "=") (string_literal ""unrecognized ICC profile class"" (" """) (string_content "unrecognized ICC profile class") (" """))) (; ";"))) (goto_statement "goto LAB_00016590;" (goto "goto") (statement_identifier "LAB_00016590") (; ";")) (} "}"))))))) (expression_statement "iVar2 = (uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000;" (assignment_expression "iVar2 = (uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000" (identifier "iVar2") (= "=") (binary_expression "(uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000" (binary_expression "(uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17] +\n          (uint)in_stack_00000014[0x15] * 0x10000" (binary_expression "(uint)in_stack_00000014[0x16] * 0x100 +\n          (uint)in_stack_00000014[0x17]" (binary_expression "(uint)in_stack_00000014[0x16] * 0x100" (cast_expression "(uint)in_stack_00000014[0x16]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x16]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x16") (] "]"))) (* "*") (number_literal "0x100")) (+ "+") (cast_expression "(uint)in_stack_00000014[0x17]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x17]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x17") (] "]")))) (+ "+") (binary_expression "(uint)in_stack_00000014[0x15] * 0x10000" (cast_expression "(uint)in_stack_00000014[0x15]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x15]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x15") (] "]"))) (* "*") (number_literal "0x10000"))) (+ "+") (binary_expression "(uint)in_stack_00000014[0x14] * 0x1000000" (cast_expression "(uint)in_stack_00000014[0x14]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "in_stack_00000014[0x14]" (identifier "in_stack_00000014") ([ "[") (number_literal "0x14") (] "]"))) (* "*") (number_literal "0x1000000")))) (; ";")) (if_statement "if ((iVar2 == 0x4c616220) || (iVar2 == 0x58595a20)) {\n    return 1;\n  }" (if "if") (parenthesized_expression "((iVar2 == 0x4c616220) || (iVar2 == 0x58595a20))" (( "(") (binary_expression "(iVar2 == 0x4c616220) || (iVar2 == 0x58595a20)" (parenthesized_expression "(iVar2 == 0x4c616220)" (( "(") (binary_expression "iVar2 == 0x4c616220" (identifier "iVar2") (== "==") (number_literal "0x4c616220")) () ")")) (|| "||") (parenthesized_expression "(iVar2 == 0x58595a20)" (( "(") (binary_expression "iVar2 == 0x58595a20" (identifier "iVar2") (== "==") (number_literal "0x58595a20")) () ")"))) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (labeled_statement "LAB_0001651e:\n  uVar3 = FUN_00014da0();" (statement_identifier "LAB_0001651e") (: ":") (expression_statement "uVar3 = FUN_00014da0();" (assignment_expression "uVar3 = FUN_00014da0()" (identifier "uVar3") (= "=") (call_expression "FUN_00014da0()" (identifier "FUN_00014da0") (argument_list "()" (( "(") () ")")))) (; ";"))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

int function_1
              (type_1 png_ptr,type_2 colorspace,type_3 name,
              type_4 var_3,type_5 var_1,int var_6)

{
  type_1 png_ptr_00;
  type_2 colorspace_00;
  type_1 var_2;
  type_6 *var_8;
  int iVar1;
  char *reason;
  
  colorspace_00 = colorspace;
  png_ptr_00 = png_ptr;
  var_2 = (type_1)
          ((type_7)var_1[1] * 0x10000 + (type_7)*var_1 * 0x1000000 + (type_7)var_1[3] +
          (type_7)var_1[2] * 0x100);
  if (var_2 != (type_1)var_3) {
    colorspace = (type_2)"length does not match profile";
    goto LAB_0001651e;
  }
  if ((3 < var_1[8]) && (((type_7)var_2 & 3) != 0)) {
    colorspace = (type_2)"invalid length";
    goto LAB_0001651e;
  }
  var_2 = (type_1)
          ((type_7)var_1[0x82] * 0x100 +
          (type_7)var_1[0x83] + (type_7)var_1[0x80] * 0x1000000 + (type_7)var_1[0x81] * 0x10000);
  if (((type_1)0x1555554a < var_2) || (var_3 < (int)var_2 * 0xc + 0x84U)) {
    colorspace = (type_2)"tag count too large";
    goto LAB_0001651e;
  }
  var_2 = (type_1)
          ((type_7)var_1[0x42] * 0x100 +
          (type_7)var_1[0x43] + (type_7)var_1[0x41] * 0x10000 + (type_7)var_1[0x40] * 0x1000000);
  colorspace = (type_2)"invalid rendering intent";
  if ((type_1)0xfffe < var_2) goto LAB_0001651e;
  if ((type_1)0x3 < var_2) {
    var_4
              (png_ptr,(type_2)0x0,name,(type_8)var_2,
               "intent outside defined range");
  }
  var_2 = (type_1)
          ((type_7)var_1[0x26] * 0x100 +
          (type_7)var_1[0x27] + (type_7)var_1[0x25] * 0x10000 + (type_7)var_1[0x24] * 0x1000000);
  colorspace = (type_2)"invalid signature";
  if (var_2 != (type_1)0x61637370) goto LAB_0001651e;
  if (((*(int *)(var_1 + 0x44) != D50_nCIEXYZ._0_4_) ||
      (*(int *)(var_1 + 0x48) != D50_nCIEXYZ._4_4_)) ||
     (*(int *)(var_1 + 0x4c) != D50_nCIEXYZ._8_4_)) {
    var_4(png_ptr,(type_2)0x0,name,0,"PCS illuminant is not D50");
  }
  var_2 = (type_1)
          ((type_7)var_1[0x12] * 0x100 +
          (type_7)var_1[0x13] + (type_7)var_1[0x11] * 0x10000 + (type_7)var_1[0x10] * 0x1000000);
  if (var_2 == (type_1)&var_5) {
    if ((var_6 & 2U) != 0) {
      png_ptr = (type_1)&var_5;
      colorspace = (type_2)s_Gray_color_space_not_permitted_o_0003b1c8;
      var_2 = png_ptr;
      goto LAB_0001651e;
    }
  }
  else {
    if (var_2 != (type_1)&var_7) {
      colorspace = (type_2)"invalid ICC profile color space";
      goto LAB_0001651e;
    }
    if ((var_6 & 2U) == 0) {
      png_ptr = (type_1)&var_7;
      colorspace = (type_2)s_RGB_color_space_not_permitted_on_0003b198;
      var_2 = png_ptr;
      goto LAB_0001651e;
    }
  }
  var_8 = (type_6 *)
             ((type_7)var_1[0xe] * 0x100 +
             (type_7)var_1[0xf] + (type_7)var_1[0xd] * 0x10000 + (type_7)var_1[0xc] * 0x1000000);
  if (var_8 == &DAT_6e6d636c) {
    reason = "unexpected NamedColor ICC profile class";
    var_8 = &DAT_6e6d636c;
LAB_00016590:
    var_4(png_ptr,(type_2)0x0,name,(type_8)var_8,reason);
  }
  else if (&DAT_6e6d636c < var_8) {
    if (((var_8 != (type_6 *)0x73636e72) && (var_8 != (type_6 *)0x73706163)) &&
       (var_8 != (type_6 *)0x70727472)) {
LAB_00016585:
      reason = "unrecognized ICC profile class";
      goto LAB_00016590;
    }
  }
  else {
    if (var_8 == &var_9) {
      png_ptr = (type_1)&var_9;
      colorspace = (type_2)s_unexpected_DeviceLink_ICC_profil_0003b23c;
      var_2 = png_ptr;
      goto LAB_0001651e;
    }
    if (var_8 != (type_6 *)0x6d6e7472) {
      if (var_8 == (type_6 *)0x61627374) {
        png_ptr = (type_1)0x61627374;
        var_2 = png_ptr;
        colorspace = (type_2)"invalid embedded Abstract ICC profile";
        goto LAB_0001651e;
      }
      goto LAB_00016585;
    }
  }
  var_2 = (type_1)
          ((type_7)var_1[0x16] * 0x100 +
          (type_7)var_1[0x17] + (type_7)var_1[0x15] * 0x10000 + (type_7)var_1[0x14] * 0x1000000);
  if ((var_2 == (type_1)0x4c616220) || (var_2 == (type_1)0x58595a20)) {
    return 1;
  }
  colorspace = (type_2)"unexpected ICC PCS encoding";
LAB_0001651e:
  png_ptr = var_2;
  iVar1 = var_4
                    (png_ptr_00,colorspace_00,name,(type_8)png_ptr,
                     (type_3)colorspace);
  return iVar1;
}


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

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

undefined4 MASKED(void)

{
  uint uVar1;
  int iVar2;
  undefined4 uVar3;
  uint in_stack_00000010;
  byte *in_stack_00000014;
  uint in_stack_00000018;
  char *pcVar4;
  
  uVar1 = (uint)in_stack_00000014[1] * 0x10000 + (uint)*in_stack_00000014 * 0x1000000 +
          (uint)in_stack_00000014[3] + (uint)in_stack_00000014[2] * 0x100;
  if (((uVar1 != in_stack_00000010) ||
      (((3 < in_stack_00000014[8] && ((uVar1 & 3) != 0)) ||
       (uVar1 = (uint)in_stack_00000014[0x82] * 0x100 +
                (uint)in_stack_00000014[0x83] +
                (uint)in_stack_00000014[0x80] * 0x1000000 + (uint)in_stack_00000014[0x81] * 0x10000,
       0x1555554a < uVar1)))) ||
     ((in_stack_00000010 < uVar1 * 0xc + 0x84 ||
      (uVar1 = (uint)in_stack_00000014[0x42] * 0x100 +
               (uint)in_stack_00000014[0x43] +
               (uint)in_stack_00000014[0x41] * 0x10000 + (uint)in_stack_00000014[0x40] * 0x1000000,
      0xfffe < uVar1)))) goto LAB_0001651e;
  if (3 < uVar1) {
    FUN_00014da0(uVar1,"intent outside defined range");
  }
  if ((uint)in_stack_00000014[0x26] * 0x100 +
      (uint)in_stack_00000014[0x27] +
      (uint)in_stack_00000014[0x25] * 0x10000 + (uint)in_stack_00000014[0x24] * 0x1000000 !=
      0x61637370) goto LAB_0001651e;
  if (((*(int *)(in_stack_00000014 + 0x44) != DAT_0003c4a0) ||
      (*(int *)(in_stack_00000014 + 0x48) != DAT_0003c4a4)) ||
     (*(int *)(in_stack_00000014 + 0x4c) != DAT_0003c4a8)) {
    FUN_00014da0(0,"PCS illuminant is not D50");
  }
  iVar2 = (uint)in_stack_00000014[0x12] * 0x100 +
          (uint)in_stack_00000014[0x13] +
          (uint)in_stack_00000014[0x11] * 0x10000 + (uint)in_stack_00000014[0x10] * 0x1000000;
  if (iVar2 == 0x47524159) {
    if ((in_stack_00000018 & 2) != 0) goto LAB_0001651e;
  }
  else if ((iVar2 != 0x52474220) || ((in_stack_00000018 & 2) == 0)) goto LAB_0001651e;
  uVar1 = (uint)in_stack_00000014[0xe] * 0x100 +
          (uint)in_stack_00000014[0xf] +
          (uint)in_stack_00000014[0xd] * 0x10000 + (uint)in_stack_00000014[0xc] * 0x1000000;
  if (uVar1 == 0x6e6d636c) {
    pcVar4 = "unexpected NamedColor ICC profile class";
    uVar1 = 0x6e6d636c;
LAB_00016590:
    FUN_00014da0(uVar1,pcVar4);
  }
  else if (uVar1 < 0x6e6d636d) {
    if (uVar1 == 0x6c696e6b) goto LAB_0001651e;
    if (uVar1 != 0x6d6e7472) {
      if (uVar1 == 0x61627374) goto LAB_0001651e;
      goto LAB_00016585;
    }
  }
  else if (((uVar1 != 0x73636e72) && (uVar1 != 0x73706163)) && (uVar1 != 0x70727472)) {
LAB_00016585:
    pcVar4 = "unrecognized ICC profile class";
    goto LAB_00016590;
  }
  iVar2 = (uint)in_stack_00000014[0x16] * 0x100 +
          (uint)in_stack_00000014[0x17] +
          (uint)in_stack_00000014[0x15] * 0x10000 + (uint)in_stack_00000014[0x14] * 0x1000000;
  if ((iVar2 == 0x4c616220) || (iVar2 == 0x58595a20)) {
    return 1;
  }
LAB_0001651e:
  uVar3 = FUN_00014da0();
  return uVar3;
}

