
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "LogEventType": Some values do not have unique names */

MagickBooleanType
PackbitsEncodeImage(Image *image,size_t length,uchar *pixels,ExceptionInfo *exception)

{
  byte *pbVar1;
  uchar uVar2;
  undefined1 *memory;
  uint uVar3;
  size_t sVar4;
  uchar *puVar5;
  uchar uVar6;
  uint uVar7;
  byte *pbVar8;
  uchar *local_28;
  size_t local_24;
  
  if (image == (Image *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");
  }
  if (image->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,
                  "PackbitsEncodeImage");
  }
  if (image->debug != MagickFalse) {
    LogMagickEvent(TraceEvent,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,"%s",
                   image->filename);
  }
  if (pixels == (uchar *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,
                  "PackbitsEncodeImage");
  }
  memory = (undefined1 *)AcquireQuantumMemory(0x80,1);
  if (memory == (undefined1 *)0x0) {
    ThrowMagickException
              (exception,"MagickCore/compress.c","PackbitsEncodeImage",0x454,ErrorException,
               "MemoryAllocationFailed","`%s\'",image->filename);
    return MagickFalse;
  }
  local_24 = length;
  if (length != 0) {
LAB_00074f3a:
    do {
      if (local_24 == 2) {
        WriteBlobByte(image,'\x01');
        WriteBlobByte(image,*pixels);
        WriteBlobByte(image,pixels[1]);
        break;
      }
      if (local_24 == 3) {
        if ((*pixels == pixels[1]) && (*pixels == pixels[2])) {
          uVar6 = 0xfe;
LAB_00074fe1:
          WriteBlobByte(image,uVar6);
          WriteBlobByte(image,*pixels);
        }
        else {
          WriteBlobByte(image,'\x02');
          WriteBlobByte(image,*pixels);
          WriteBlobByte(image,pixels[1]);
          WriteBlobByte(image,pixels[2]);
        }
        break;
      }
      if (local_24 == 1) {
        uVar6 = '\0';
        goto LAB_00074fe1;
      }
      uVar6 = *pixels;
      if ((uVar6 == pixels[1]) && (uVar6 == pixels[2])) {
        if ((int)local_24 < 4) {
LAB_0007524c:
          puVar5 = pixels + 3;
          uVar6 = 0xfe;
          sVar4 = 3;
        }
        else {
          puVar5 = pixels + 4;
          sVar4 = 4;
          if (uVar6 != pixels[3]) goto LAB_0007524c;
          do {
            if ((sVar4 == local_24) || (uVar6 != *puVar5)) {
              uVar6 = '\x01' - (char)sVar4;
              goto LAB_00075173;
            }
            sVar4 = sVar4 + 1;
            puVar5 = puVar5 + 1;
          } while (sVar4 != 0x7f);
          uVar6 = 0x82;
          puVar5 = pixels + 0x7f;
        }
LAB_00075173:
        local_24 = local_24 - sVar4;
        WriteBlobByte(image,uVar6);
        WriteBlobByte(image,*pixels);
        pixels = puVar5;
        if (local_24 == 0) break;
        goto LAB_00074f3a;
      }
      uVar7 = 0;
      puVar5 = pixels;
      do {
        local_28 = puVar5 + 1;
        uVar2 = *local_28;
        if ((uVar2 == uVar6) && (puVar5[2] == uVar6)) {
          pixels = pixels + uVar7;
          uVar3 = uVar7;
          uVar7 = uVar7 - 1;
          goto LAB_000750d7;
        }
        memory[uVar7 + 1] = uVar6;
        uVar3 = uVar7 + 1;
        if ((int)(local_24 - 3) <= (int)uVar3) {
          pixels = pixels + uVar3;
          goto LAB_000750d7;
        }
        uVar7 = uVar3;
        uVar6 = uVar2;
        puVar5 = local_28;
      } while (uVar3 != 0x7f);
      pixels = pixels + 0x7f;
      uVar7 = 0x7e;
LAB_000750d7:
      local_24 = local_24 - uVar3;
      pbVar8 = memory + 1;
      *memory = (char)uVar7;
      pbVar1 = pbVar8 + uVar3;
      for (; WriteBlobByte(image,(uchar)uVar7), pbVar8 != pbVar1; pbVar8 = pbVar8 + 1) {
        uVar7 = (uint)*pbVar8;
      }
    } while (local_24 != 0);
  }
  WriteBlobByte(image,0x80);
  RelinquishMagickMemory(memory);
  return MagickTrue;
}



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

undefined4 PackbitsEncodeImage(int param_1,int param_2,char *param_3,undefined4 param_4)

{
  byte *pbVar1;
  char cVar2;
  undefined1 *puVar3;
  uint uVar4;
  int iVar5;
  char *pcVar6;
  char cVar7;
  uint uVar8;
  byte *pbVar9;
  undefined4 uVar10;
  char *local_28;
  int local_24;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");
  }
  if (*(int *)(param_1 + 0x3344) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,
                  "PackbitsEncodeImage");
  }
  if (*(int *)(param_1 + 0x3328) != 0) {
    LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,
                   param_1 + 0x318);
  }
  if (param_3 == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,
                  "PackbitsEncodeImage");
  }
  puVar3 = (undefined1 *)AcquireQuantumMemory(0x80,1);
  if (puVar3 == (undefined1 *)0x0) {
    ThrowMagickException
              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,
               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);
    return 0;
  }
  local_24 = param_2;
  if (param_2 != 0) {
LAB_00074f3a:
    do {
      if (local_24 == 2) {
        WriteBlobByte(param_1,1);
        WriteBlobByte(param_1,*param_3);
        WriteBlobByte(param_1,param_3[1]);
        break;
      }
      if (local_24 == 3) {
        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {
          uVar10 = 0xfe;
LAB_00074fe1:
          WriteBlobByte(param_1,uVar10);
          WriteBlobByte(param_1,*param_3);
        }
        else {
          WriteBlobByte(param_1,2);
          WriteBlobByte(param_1,*param_3);
          WriteBlobByte(param_1,param_3[1]);
          WriteBlobByte(param_1,param_3[2]);
        }
        break;
      }
      if (local_24 == 1) {
        uVar10 = 0;
        goto LAB_00074fe1;
      }
      cVar7 = *param_3;
      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {
        if (local_24 < 4) {
LAB_0007524c:
          pcVar6 = param_3 + 3;
          uVar8 = 0xfe;
          iVar5 = 3;
        }
        else {
          pcVar6 = param_3 + 4;
          iVar5 = 4;
          if (cVar7 != param_3[3]) goto LAB_0007524c;
          do {
            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {
              uVar8 = 1U - iVar5 & 0xff;
              goto LAB_00075173;
            }
            iVar5 = iVar5 + 1;
            pcVar6 = pcVar6 + 1;
          } while (iVar5 != 0x7f);
          uVar8 = 0x82;
          pcVar6 = param_3 + 0x7f;
        }
LAB_00075173:
        local_24 = local_24 - iVar5;
        WriteBlobByte(param_1,uVar8);
        WriteBlobByte(param_1,*param_3);
        param_3 = pcVar6;
        if (local_24 == 0) break;
        goto LAB_00074f3a;
      }
      uVar8 = 0;
      pcVar6 = param_3;
      do {
        local_28 = pcVar6 + 1;
        cVar2 = *local_28;
        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {
          param_3 = param_3 + uVar8;
          uVar4 = uVar8;
          uVar8 = uVar8 - 1;
          goto LAB_000750d7;
        }
        puVar3[uVar8 + 1] = cVar7;
        uVar4 = uVar8 + 1;
        if (local_24 + -3 <= (int)uVar4) {
          param_3 = param_3 + uVar4;
          goto LAB_000750d7;
        }
        uVar8 = uVar4;
        cVar7 = cVar2;
        pcVar6 = local_28;
      } while (uVar4 != 0x7f);
      param_3 = param_3 + 0x7f;
      uVar8 = 0x7e;
LAB_000750d7:
      local_24 = local_24 - uVar4;
      pbVar9 = puVar3 + 1;
      *puVar3 = (char)uVar8;
      pbVar1 = pbVar9 + uVar4;
      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {
        uVar8 = (uint)*pbVar9;
      }
    } while (local_24 != 0);
  }
  WriteBlobByte(param_1,0x80);
  RelinquishMagickMemory(puVar3);
  return 1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00038830
ADD EBX,0x364137
SUB ESP,0x1c
MOV EDI,dword ptr [ESP + 0x30]
TEST EDI,EDI
JZ 0x000752ad
CMP dword ptr [EDI + 0x3344],0xabacadab
JNZ 0x0007528e
MOV EAX,dword ptr [EDI + 0x3328]
TEST EAX,EAX
JNZ 0x000751b0
MOV EBP,dword ptr [ESP + 0x38]
TEST EBP,EBP
JZ 0x0007526f
SUB ESP,0x8
PUSH 0x1
PUSH 0x80
CALL 0x000317b0
MOV dword ptr [ESP + 0x1c],EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000751f8
MOV EAX,dword ptr [ESP + 0x34]
MOV dword ptr [ESP + 0x8],EAX
TEST EAX,EAX
JZ 0x00074ffa
MOV dword ptr [ESP + 0x30],EDI
MOV EAX,dword ptr [ESP + 0x8]
CMP EAX,0x2
JZ 0x00075090
CMP EAX,0x3
JZ 0x00075028
CMP EAX,0x1
JZ 0x00074fd8
MOV EAX,dword ptr [ESP + 0x38]
MOVZX EDX,byte ptr [EAX]
CMP DL,byte ptr [EAX + 0x1]
JNZ 0x00074f72
MOV EAX,dword ptr [ESP + 0x38]
CMP DL,byte ptr [EAX + 0x2]
JZ 0x00075120
MOV EAX,dword ptr [ESP + 0x38]
MOV EDI,dword ptr [ESP + 0x8]
LEA ECX,[EAX + 0x1]
XOR EAX,EAX
LEA EBP,[EDI + -0x3]
MOV dword ptr [ESP + 0x4],ECX
MOV EDI,dword ptr [ESP + 0xc]
JMP 0x00074faf
MOV byte ptr [EDI + EAX*0x1 + 0x1],DL
ADD EAX,0x1
CMP EBP,EAX
JLE 0x000750d0
CMP EAX,0x7f
JZ 0x0007523b
ADD dword ptr [ESP + 0x4],0x1
MOV EDX,ESI
MOV ESI,dword ptr [ESP + 0x4]
MOVZX ESI,byte ptr [ESI]
MOV ECX,ESI
CMP CL,DL
JNZ 0x00074f90
MOV ECX,dword ptr [ESP + 0x4]
CMP byte ptr [ECX + 0x1],DL
JNZ 0x00074f90
ADD dword ptr [ESP + 0x38],EAX
LEA EDX,[EAX + -0x1]
JMP 0x000750d7
MOV EDI,dword ptr [ESP + 0x30]
SUB ESP,0x8
PUSH 0x0
PUSH EDI
CALL 0x00032b80
POP EBP
POP EAX
MOV EAX,dword ptr [ESP + 0x40]
MOVZX EAX,byte ptr [EAX]
PUSH EAX
PUSH EDI
CALL 0x00032b80
ADD ESP,0x10
SUB ESP,0x8
PUSH 0x80
PUSH EDI
CALL 0x00032b80
POP EAX
PUSH dword ptr [ESP + 0x18]
CALL 0x00033ac8
ADD ESP,0x10
MOV EAX,0x1
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x38]
MOV ECX,dword ptr [ESP + 0x38]
MOV EDI,dword ptr [ESP + 0x30]
MOVZX EAX,byte ptr [EAX]
CMP AL,byte ptr [ECX + 0x1]
JNZ 0x00075045
CMP AL,byte ptr [ECX + 0x2]
JZ 0x000751e6
SUB ESP,0x8
PUSH 0x2
PUSH EDI
CALL 0x00032b80
POP EBP
POP EAX
MOV EAX,dword ptr [ESP + 0x40]
MOVZX EAX,byte ptr [EAX]
PUSH EAX
PUSH EDI
CALL 0x00032b80
POP EAX
POP EDX
MOV EAX,dword ptr [ESP + 0x40]
MOVZX EAX,byte ptr [EAX + 0x1]
PUSH EAX
PUSH EDI
CALL 0x00032b80
POP ECX
POP ESI
MOV EAX,dword ptr [ESP + 0x40]
MOVZX EAX,byte ptr [EAX + 0x2]
PUSH EAX
PUSH EDI
CALL 0x00032b80
ADD ESP,0x10
JMP 0x00074ffa
MOV EDI,dword ptr [ESP + 0x30]
SUB ESP,0x8
PUSH 0x1
PUSH EDI
CALL 0x00032b80
POP EAX
POP EDX
MOV EAX,dword ptr [ESP + 0x40]
MOVZX EAX,byte ptr [EAX]
PUSH EAX
PUSH EDI
CALL 0x00032b80
POP ECX
POP ESI
MOV EAX,dword ptr [ESP + 0x40]
MOVZX EAX,byte ptr [EAX + 0x1]
PUSH EAX
PUSH EDI
CALL 0x00032b80
ADD ESP,0x10
JMP 0x00074ffa
ADD dword ptr [ESP + 0x38],EAX
LEA EDX,[EAX + -0x1]
MOV ECX,dword ptr [ESP + 0xc]
SUB dword ptr [ESP + 0x8],EAX
LEA EBP,[ECX + 0x1]
MOV byte ptr [ECX],DL
LEA ESI,[EBP + EAX*0x1]
MOV EDI,EBP
MOV EBP,dword ptr [ESP + 0x30]
JMP 0x000750f6
MOVZX EDX,byte ptr [EDI]
ADD EDI,0x1
SUB ESP,0x8
MOVZX EDX,DL
PUSH EDX
PUSH EBP
CALL 0x00032b80
ADD ESP,0x10
CMP EDI,ESI
JNZ 0x000750f0
MOV EDX,dword ptr [ESP + 0x8]
TEST EDX,EDX
JNZ 0x00074f3a
MOV EDI,dword ptr [ESP + 0x30]
JMP 0x00074ffa
CMP dword ptr [ESP + 0x8],0x3
JLE 0x0007524c
MOV EAX,dword ptr [ESP + 0x38]
MOV ESI,dword ptr [ESP + 0x38]
MOV EBP,dword ptr [ESP + 0x8]
LEA ECX,[EAX + 0x4]
MOV EAX,0x4
CMP DL,byte ptr [ESI + 0x3]
JZ 0x00075163
JMP 0x0007524a
CMP DL,byte ptr [ECX]
JNZ 0x00075169
ADD EAX,0x1
LEA ECX,[ESI + 0x1]
CMP EAX,0x7f
JZ 0x0007525e
MOV ESI,ECX
CMP EAX,EBP
JNZ 0x00075150
MOV EDX,0x1
SUB EDX,EAX
MOVZX EDX,DL
SUB dword ptr [ESP + 0x8],EAX
SUB ESP,0x8
PUSH EDX
PUSH dword ptr [ESP + 0x3c]
CALL 0x00032b80
POP ECX
POP EDI
MOV EAX,dword ptr [ESP + 0x40]
MOVZX EAX,byte ptr [EAX]
PUSH EAX
PUSH dword ptr [ESP + 0x3c]
CALL 0x00032b80
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0x38],ESI
TEST EDX,EDX
JNZ 0x00074f3a
JMP 0x00075116
LEA EAX,[EDI + 0x318]
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xffedde4e]
PUSH EAX
LEA EAX,[EBX + 0xffed1c80]
PUSH 0x44f
PUSH EAX
LEA EAX,[EBX + 0xffed1bf0]
PUSH EAX
PUSH 0x8000
CALL 0x000323b0
ADD ESP,0x20
JMP 0x00074efc
SUB ESP,0x8
PUSH 0xfe
JMP 0x00074fe1
LEA EAX,[EBX + 0xffec8a40]
ADD EDI,0x318
PUSH EDI
PUSH EAX
LEA EAX,[EBX + 0xffec63d6]
PUSH EAX
LEA EAX,[EBX + 0xffed1c80]
PUSH 0x190
PUSH 0x454
PUSH EAX
LEA EAX,[EBX + 0xffed1bf0]
PUSH EAX
PUSH dword ptr [ESP + 0x58]
CALL 0x00032e80
ADD ESP,0x20
XOR EAX,EAX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD dword ptr [ESP + 0x38],0x7f
MOV EDX,0x7e
JMP 0x000750d7
MOV EAX,ESI
LEA ESI,[EAX + 0x3]
MOV EDX,0xfe
MOV EAX,0x3
JMP 0x00075173
MOV ECX,dword ptr [ESP + 0x38]
MOV EDX,0x82
LEA ESI,[ECX + 0x7f]
JMP 0x00075173
LEA EAX,[EBX + 0xffed1c94]
PUSH EAX
LEA EAX,[EBX + 0xffed1bf0]
PUSH 0x450
PUSH EAX
LEA EAX,[EBX + 0xfff33450]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffed1c94]
PUSH EAX
LEA EAX,[EBX + 0xffed1bf0]
PUSH 0x44d
PUSH EAX
LEA EAX,[EBX + 0xffed1338]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffed1c94]
PUSH EAX
LEA EAX,[EBX + 0xffed1bf0]
PUSH 0x44c
PUSH EAX
LEA EAX,[EBX + 0xffede594]
PUSH EAX
CALL 0x000313d0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 PackbitsEncodeImage(int param_1,int param_2,char *param_3,undefined4 param_4)\n\n{\n  byte *pbVar1;\n  char cVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  int iVar5;\n  char *pcVar6;\n  char cVar7;\n  uint uVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  char *local_28;\n  int local_24;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  if (param_3 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }\n  puVar3 = (undefined1 *)AcquireQuantumMemory(0x80,1);\n  if (puVar3 == (undefined1 *)0x0) {\n    ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);\n    return 0;\n  }\n  local_24 = param_2;\n  if (param_2 != 0) {\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);\n  }\n  WriteBlobByte(param_1,0x80);\n  RelinquishMagickMemory(puVar3);\n  return 1;\n}\n\n" comment (function_definition "undefined4 PackbitsEncodeImage(int param_1,int param_2,char *param_3,undefined4 param_4)\n\n{\n  byte *pbVar1;\n  char cVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  int iVar5;\n  char *pcVar6;\n  char cVar7;\n  uint uVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  char *local_28;\n  int local_24;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  if (param_3 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }\n  puVar3 = (undefined1 *)AcquireQuantumMemory(0x80,1);\n  if (puVar3 == (undefined1 *)0x0) {\n    ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);\n    return 0;\n  }\n  local_24 = param_2;\n  if (param_2 != 0) {\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);\n  }\n  WriteBlobByte(param_1,0x80);\n  RelinquishMagickMemory(puVar3);\n  return 1;\n}" type_identifier (function_declarator "PackbitsEncodeImage(int param_1,int param_2,char *param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,int param_2,char *param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  byte *pbVar1;\n  char cVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  int iVar5;\n  char *pcVar6;\n  char cVar7;\n  uint uVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  char *local_28;\n  int local_24;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  if (param_3 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }\n  puVar3 = (undefined1 *)AcquireQuantumMemory(0x80,1);\n  if (puVar3 == (undefined1 *)0x0) {\n    ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);\n    return 0;\n  }\n  local_24 = param_2;\n  if (param_2 != 0) {\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);\n  }\n  WriteBlobByte(param_1,0x80);\n  RelinquishMagickMemory(puVar3);\n  return 1;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char cVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "char *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage")" identifier (argument_list "("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/compress.c"" " string_content ") , number_literal , (string_literal ""PackbitsEncodeImage"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3344) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3344)" * (cast_expression "(int *)(param_1 + 0x3344)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3344)" ( (binary_expression "param_1 + 0x3344" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }" { comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/compress.c"" " string_content ") , number_literal , (string_literal ""PackbitsEncodeImage"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3328) != 0)" ( (binary_expression "*(int *)(param_1 + 0x3328) != 0" (pointer_expression "*(int *)(param_1 + 0x3328)" * (cast_expression "(int *)(param_1 + 0x3328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3328)" ( (binary_expression "param_1 + 0x3328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318)" identifier (argument_list "(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318)" ( number_literal , (string_literal ""MagickCore/compress.c"" " string_content ") , (string_literal ""PackbitsEncodeImage"" " string_content ") , number_literal , (pointer_expression "&DAT_002b6e4e" & identifier) , (binary_expression "param_1 + 0x318" identifier + number_literal) ))) ;) })) (if_statement "if (param_3 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }" if (parenthesized_expression "(param_3 == (char *)0x0)" ( (binary_expression "param_3 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }" { comment (expression_statement "__assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");" (call_expression "__assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage")" identifier (argument_list "("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage")" ( (string_literal ""pixels != (unsigned char *) NULL"" " string_content ") , (string_literal ""MagickCore/compress.c"" " string_content ") , number_literal , (string_literal ""PackbitsEncodeImage"" " string_content ") ))) ;) })) (expression_statement "puVar3 = (undefined1 *)AcquireQuantumMemory(0x80,1);" (assignment_expression "puVar3 = (undefined1 *)AcquireQuantumMemory(0x80,1)" identifier = (cast_expression "(undefined1 *)AcquireQuantumMemory(0x80,1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireQuantumMemory(0x80,1)" identifier (argument_list "(0x80,1)" ( number_literal , number_literal ))))) ;) (if_statement "if (puVar3 == (undefined1 *)0x0) {\n    ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);\n    return 0;\n  }" if (parenthesized_expression "(puVar3 == (undefined1 *)0x0)" ( (binary_expression "puVar3 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);\n    return 0;\n  }" { (expression_statement "ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);" (call_expression "ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318)" identifier (argument_list "(param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318)" ( identifier , (string_literal ""MagickCore/compress.c"" " string_content ") , (string_literal ""PackbitsEncodeImage"" " string_content ") , number_literal , number_literal , (string_literal ""MemoryAllocationFailed"" " string_content ") , (string_literal ""`%s\'"" " string_content escape_sequence ") , (binary_expression "param_1 + 0x318" identifier + number_literal) ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_24 = param_2;" (assignment_expression "local_24 = param_2" identifier = identifier) ;) (if_statement "if (param_2 != 0) {\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);\n  }" { (labeled_statement "LAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);" statement_identifier : (do_statement "do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);" do (compound_statement "{\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    }" { (if_statement "if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }" if (parenthesized_expression "(local_24 == 2)" ( (binary_expression "local_24 == 2" identifier == number_literal) )) (compound_statement "{\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }" { (expression_statement "WriteBlobByte(param_1,1);" (call_expression "WriteBlobByte(param_1,1)" identifier (argument_list "(param_1,1)" ( identifier , number_literal ))) ;) (expression_statement "WriteBlobByte(param_1,*param_3);" (call_expression "WriteBlobByte(param_1,*param_3)" identifier (argument_list "(param_1,*param_3)" ( identifier , (pointer_expression "*param_3" * identifier) ))) ;) (expression_statement "WriteBlobByte(param_1,param_3[1]);" (call_expression "WriteBlobByte(param_1,param_3[1])" identifier (argument_list "(param_1,param_3[1])" ( identifier , (subscript_expression "param_3[1]" identifier [ number_literal ]) ))) ;) (break_statement "break;" break ;) })) (if_statement "if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }" if (parenthesized_expression "(local_24 == 3)" ( (binary_expression "local_24 == 3" identifier == number_literal) )) (compound_statement "{\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }" { (if_statement "if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }" if (parenthesized_expression "((*param_3 == param_3[1]) && (*param_3 == param_3[2]))" ( (binary_expression "(*param_3 == param_3[1]) && (*param_3 == param_3[2])" (parenthesized_expression "(*param_3 == param_3[1])" ( (binary_expression "*param_3 == param_3[1]" (pointer_expression "*param_3" * identifier) == (subscript_expression "param_3[1]" identifier [ number_literal ])) )) && (parenthesized_expression "(*param_3 == param_3[2])" ( (binary_expression "*param_3 == param_3[2]" (pointer_expression "*param_3" * identifier) == (subscript_expression "param_3[2]" identifier [ number_literal ])) ))) )) (compound_statement "{\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }" { (expression_statement "uVar10 = 0xfe;" (assignment_expression "uVar10 = 0xfe" identifier = number_literal) ;) (labeled_statement "LAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);" statement_identifier : (expression_statement "WriteBlobByte(param_1,uVar10);" (call_expression "WriteBlobByte(param_1,uVar10)" identifier (argument_list "(param_1,uVar10)" ( identifier , identifier ))) ;)) (expression_statement "WriteBlobByte(param_1,*param_3);" (call_expression "WriteBlobByte(param_1,*param_3)" identifier (argument_list "(param_1,*param_3)" ( identifier , (pointer_expression "*param_3" * identifier) ))) ;) }) (else_clause "else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }" else (compound_statement "{\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }" { (expression_statement "WriteBlobByte(param_1,2);" (call_expression "WriteBlobByte(param_1,2)" identifier (argument_list "(param_1,2)" ( identifier , number_literal ))) ;) (expression_statement "WriteBlobByte(param_1,*param_3);" (call_expression "WriteBlobByte(param_1,*param_3)" identifier (argument_list "(param_1,*param_3)" ( identifier , (pointer_expression "*param_3" * identifier) ))) ;) (expression_statement "WriteBlobByte(param_1,param_3[1]);" (call_expression "WriteBlobByte(param_1,param_3[1])" identifier (argument_list "(param_1,param_3[1])" ( identifier , (subscript_expression "param_3[1]" identifier [ number_literal ]) ))) ;) (expression_statement "WriteBlobByte(param_1,param_3[2]);" (call_expression "WriteBlobByte(param_1,param_3[2])" identifier (argument_list "(param_1,param_3[2])" ( identifier , (subscript_expression "param_3[2]" identifier [ number_literal ]) ))) ;) }))) (break_statement "break;" break ;) })) (if_statement "if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }" if (parenthesized_expression "(local_24 == 1)" ( (binary_expression "local_24 == 1" identifier == number_literal) )) (compound_statement "{\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00074fe1;" goto statement_identifier ;) })) (expression_statement "cVar7 = *param_3;" (assignment_expression "cVar7 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (if_statement "if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }" if (parenthesized_expression "((cVar7 == param_3[1]) && (cVar7 == param_3[2]))" ( (binary_expression "(cVar7 == param_3[1]) && (cVar7 == param_3[2])" (parenthesized_expression "(cVar7 == param_3[1])" ( (binary_expression "cVar7 == param_3[1]" identifier == (subscript_expression "param_3[1]" identifier [ number_literal ])) )) && (parenthesized_expression "(cVar7 == param_3[2])" ( (binary_expression "cVar7 == param_3[2]" identifier == (subscript_expression "param_3[2]" identifier [ number_literal ])) ))) )) (compound_statement "{\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }" { (if_statement "if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }" if (parenthesized_expression "(local_24 < 4)" ( (binary_expression "local_24 < 4" identifier < number_literal) )) (compound_statement "{\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }" { (labeled_statement "LAB_0007524c:\n          pcVar6 = param_3 + 3;" statement_identifier : (expression_statement "pcVar6 = param_3 + 3;" (assignment_expression "pcVar6 = param_3 + 3" identifier = (binary_expression "param_3 + 3" identifier + number_literal)) ;)) (expression_statement "uVar8 = 0xfe;" (assignment_expression "uVar8 = 0xfe" identifier = number_literal) ;) (expression_statement "iVar5 = 3;" (assignment_expression "iVar5 = 3" identifier = number_literal) ;) }) (else_clause "else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }" else (compound_statement "{\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }" { (expression_statement "pcVar6 = param_3 + 4;" (assignment_expression "pcVar6 = param_3 + 4" identifier = (binary_expression "param_3 + 4" identifier + number_literal)) ;) (expression_statement "iVar5 = 4;" (assignment_expression "iVar5 = 4" identifier = number_literal) ;) (if_statement "if (cVar7 != param_3[3]) goto LAB_0007524c;" if (parenthesized_expression "(cVar7 != param_3[3])" ( (binary_expression "cVar7 != param_3[3]" identifier != (subscript_expression "param_3[3]" identifier [ number_literal ])) )) (goto_statement "goto LAB_0007524c;" goto statement_identifier ;)) (do_statement "do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);" do (compound_statement "{\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          }" { (if_statement "if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }" if (parenthesized_expression "((iVar5 == local_24) || (cVar7 != *pcVar6))" ( (binary_expression "(iVar5 == local_24) || (cVar7 != *pcVar6)" (parenthesized_expression "(iVar5 == local_24)" ( (binary_expression "iVar5 == local_24" identifier == identifier) )) || (parenthesized_expression "(cVar7 != *pcVar6)" ( (binary_expression "cVar7 != *pcVar6" identifier != (pointer_expression "*pcVar6" * identifier)) ))) )) (compound_statement "{\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }" { (expression_statement "uVar8 = 1U - iVar5 & 0xff;" (assignment_expression "uVar8 = 1U - iVar5 & 0xff" identifier = (binary_expression "1U - iVar5 & 0xff" (binary_expression "1U - iVar5" number_literal - identifier) & number_literal)) ;) (goto_statement "goto LAB_00075173;" goto statement_identifier ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 0x7f)" ( (binary_expression "iVar5 != 0x7f" identifier != number_literal) )) ;) (expression_statement "uVar8 = 0x82;" (assignment_expression "uVar8 = 0x82" identifier = number_literal) ;) (expression_statement "pcVar6 = param_3 + 0x7f;" (assignment_expression "pcVar6 = param_3 + 0x7f" identifier = (binary_expression "param_3 + 0x7f" identifier + number_literal)) ;) }))) (labeled_statement "LAB_00075173:\n        local_24 = local_24 - iVar5;" statement_identifier : (expression_statement "local_24 = local_24 - iVar5;" (assignment_expression "local_24 = local_24 - iVar5" identifier = (binary_expression "local_24 - iVar5" identifier - identifier)) ;)) (expression_statement "WriteBlobByte(param_1,uVar8);" (call_expression "WriteBlobByte(param_1,uVar8)" identifier (argument_list "(param_1,uVar8)" ( identifier , identifier ))) ;) (expression_statement "WriteBlobByte(param_1,*param_3);" (call_expression "WriteBlobByte(param_1,*param_3)" identifier (argument_list "(param_1,*param_3)" ( identifier , (pointer_expression "*param_3" * identifier) ))) ;) (expression_statement "param_3 = pcVar6;" (assignment_expression "param_3 = pcVar6" identifier = identifier) ;) (if_statement "if (local_24 == 0) break;" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (goto_statement "goto LAB_00074f3a;" goto statement_identifier ;) })) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "pcVar6 = param_3;" (assignment_expression "pcVar6 = param_3" identifier = identifier) ;) (do_statement "do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);" do (compound_statement "{\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      }" { (expression_statement "local_28 = pcVar6 + 1;" (assignment_expression "local_28 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "cVar2 = *local_28;" (assignment_expression "cVar2 = *local_28" identifier = (pointer_expression "*local_28" * identifier)) ;) (if_statement "if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }" if (parenthesized_expression "((cVar2 == cVar7) && (pcVar6[2] == cVar7))" ( (binary_expression "(cVar2 == cVar7) && (pcVar6[2] == cVar7)" (parenthesized_expression "(cVar2 == cVar7)" ( (binary_expression "cVar2 == cVar7" identifier == identifier) )) && (parenthesized_expression "(pcVar6[2] == cVar7)" ( (binary_expression "pcVar6[2] == cVar7" (subscript_expression "pcVar6[2]" identifier [ number_literal ]) == identifier) ))) )) (compound_statement "{\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }" { (expression_statement "param_3 = param_3 + uVar8;" (assignment_expression "param_3 = param_3 + uVar8" identifier = (binary_expression "param_3 + uVar8" identifier + identifier)) ;) (expression_statement "uVar4 = uVar8;" (assignment_expression "uVar4 = uVar8" identifier = identifier) ;) (expression_statement "uVar8 = uVar8 - 1;" (assignment_expression "uVar8 = uVar8 - 1" identifier = (binary_expression "uVar8 - 1" identifier - number_literal)) ;) (goto_statement "goto LAB_000750d7;" goto statement_identifier ;) })) (expression_statement "puVar3[uVar8 + 1] = cVar7;" (assignment_expression "puVar3[uVar8 + 1] = cVar7" (subscript_expression "puVar3[uVar8 + 1]" identifier [ (binary_expression "uVar8 + 1" identifier + number_literal) ]) = identifier) ;) (expression_statement "uVar4 = uVar8 + 1;" (assignment_expression "uVar4 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (if_statement "if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }" if (parenthesized_expression "(local_24 + -3 <= (int)uVar4)" ( (binary_expression "local_24 + -3 <= (int)uVar4" (binary_expression "local_24 + -3" identifier + number_literal) <= (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }" { (expression_statement "param_3 = param_3 + uVar4;" (assignment_expression "param_3 = param_3 + uVar4" identifier = (binary_expression "param_3 + uVar4" identifier + identifier)) ;) (goto_statement "goto LAB_000750d7;" goto statement_identifier ;) })) (expression_statement "uVar8 = uVar4;" (assignment_expression "uVar8 = uVar4" identifier = identifier) ;) (expression_statement "cVar7 = cVar2;" (assignment_expression "cVar7 = cVar2" identifier = identifier) ;) (expression_statement "pcVar6 = local_28;" (assignment_expression "pcVar6 = local_28" identifier = identifier) ;) }) while (parenthesized_expression "(uVar4 != 0x7f)" ( (binary_expression "uVar4 != 0x7f" identifier != number_literal) )) ;) (expression_statement "param_3 = param_3 + 0x7f;" (assignment_expression "param_3 = param_3 + 0x7f" identifier = (binary_expression "param_3 + 0x7f" identifier + number_literal)) ;) (expression_statement "uVar8 = 0x7e;" (assignment_expression "uVar8 = 0x7e" identifier = number_literal) ;) (labeled_statement "LAB_000750d7:\n      local_24 = local_24 - uVar4;" statement_identifier : (expression_statement "local_24 = local_24 - uVar4;" (assignment_expression "local_24 = local_24 - uVar4" identifier = (binary_expression "local_24 - uVar4" identifier - identifier)) ;)) (expression_statement "pbVar9 = puVar3 + 1;" (assignment_expression "pbVar9 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = (char)uVar8;" (assignment_expression "*puVar3 = (char)uVar8" (pointer_expression "*puVar3" * identifier) = (cast_expression "(char)uVar8" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "pbVar1 = pbVar9 + uVar4;" (assignment_expression "pbVar1 = pbVar9 + uVar4" identifier = (binary_expression "pbVar9 + uVar4" identifier + identifier)) ;) (for_statement "for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }" for ( ; (comma_expression "WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1" (call_expression "WriteBlobByte(param_1,uVar8 & 0xff)" identifier (argument_list "(param_1,uVar8 & 0xff)" ( identifier , (binary_expression "uVar8 & 0xff" identifier & number_literal) ))) , (binary_expression "pbVar9 != pbVar1" identifier != identifier)) ; (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ) (compound_statement "{\n        uVar8 = (uint)*pbVar9;\n      }" { (expression_statement "uVar8 = (uint)*pbVar9;" (assignment_expression "uVar8 = (uint)*pbVar9" identifier = (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) })) }) while (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) ;)) })) (expression_statement "WriteBlobByte(param_1,0x80);" (call_expression "WriteBlobByte(param_1,0x80)" identifier (argument_list "(param_1,0x80)" ( identifier , number_literal ))) ;) (expression_statement "RelinquishMagickMemory(puVar3);" (call_expression "RelinquishMagickMemory(puVar3)" identifier (argument_list "(puVar3)" ( identifier ))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "LogEventType": Some values do not have unique names */\n\nMagickBooleanType\nPackbitsEncodeImage(Image *image,size_t length,uchar *pixels,ExceptionInfo *exception)\n\n{\n  byte *pbVar1;\n  uchar uVar2;\n  undefined1 *memory;\n  uint uVar3;\n  size_t sVar4;\n  uchar *puVar5;\n  uchar uVar6;\n  uint uVar7;\n  byte *pbVar8;\n  uchar *local_28;\n  size_t local_24;\n  \n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,"%s",\n                   image->filename);\n  }\n  if (pixels == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }\n  memory = (undefined1 *)AcquireQuantumMemory(0x80,1);\n  if (memory == (undefined1 *)0x0) {\n    ThrowMagickException\n              (exception,"MagickCore/compress.c","PackbitsEncodeImage",0x454,ErrorException,\n               "MemoryAllocationFailed","`%s\'",image->filename);\n    return MagickFalse;\n  }\n  local_24 = length;\n  if (length != 0) {\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(image,'\x01');\n        WriteBlobByte(image,*pixels);\n        WriteBlobByte(image,pixels[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*pixels == pixels[1]) && (*pixels == pixels[2])) {\n          uVar6 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(image,uVar6);\n          WriteBlobByte(image,*pixels);\n        }\n        else {\n          WriteBlobByte(image,'\x02');\n          WriteBlobByte(image,*pixels);\n          WriteBlobByte(image,pixels[1]);\n          WriteBlobByte(image,pixels[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar6 = '\0';\n        goto LAB_00074fe1;\n      }\n      uVar6 = *pixels;\n      if ((uVar6 == pixels[1]) && (uVar6 == pixels[2])) {\n        if ((int)local_24 < 4) {\nLAB_0007524c:\n          puVar5 = pixels + 3;\n          uVar6 = 0xfe;\n          sVar4 = 3;\n        }\n        else {\n          puVar5 = pixels + 4;\n          sVar4 = 4;\n          if (uVar6 != pixels[3]) goto LAB_0007524c;\n          do {\n            if ((sVar4 == local_24) || (uVar6 != *puVar5)) {\n              uVar6 = '\x01' - (char)sVar4;\n              goto LAB_00075173;\n            }\n            sVar4 = sVar4 + 1;\n            puVar5 = puVar5 + 1;\n          } while (sVar4 != 0x7f);\n          uVar6 = 0x82;\n          puVar5 = pixels + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - sVar4;\n        WriteBlobByte(image,uVar6);\n        WriteBlobByte(image,*pixels);\n        pixels = puVar5;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar7 = 0;\n      puVar5 = pixels;\n      do {\n        local_28 = puVar5 + 1;\n        uVar2 = *local_28;\n        if ((uVar2 == uVar6) && (puVar5[2] == uVar6)) {\n          pixels = pixels + uVar7;\n          uVar3 = uVar7;\n          uVar7 = uVar7 - 1;\n          goto LAB_000750d7;\n        }\n        memory[uVar7 + 1] = uVar6;\n        uVar3 = uVar7 + 1;\n        if ((int)(local_24 - 3) <= (int)uVar3) {\n          pixels = pixels + uVar3;\n          goto LAB_000750d7;\n        }\n        uVar7 = uVar3;\n        uVar6 = uVar2;\n        puVar5 = local_28;\n      } while (uVar3 != 0x7f);\n      pixels = pixels + 0x7f;\n      uVar7 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar3;\n      pbVar8 = memory + 1;\n      *memory = (char)uVar7;\n      pbVar1 = pbVar8 + uVar3;\n      for (; WriteBlobByte(image,(uchar)uVar7), pbVar8 != pbVar1; pbVar8 = pbVar8 + 1) {\n        uVar7 = (uint)*pbVar8;\n      }\n    } while (local_24 != 0);\n  }\n  WriteBlobByte(image,0x80);\n  RelinquishMagickMemory(memory);\n  return MagickTrue;\n}\n\n" comment comment comment comment comment comment comment (function_definition "MagickBooleanType\nPackbitsEncodeImage(Image *image,size_t length,uchar *pixels,ExceptionInfo *exception)\n\n{\n  byte *pbVar1;\n  uchar uVar2;\n  undefined1 *memory;\n  uint uVar3;\n  size_t sVar4;\n  uchar *puVar5;\n  uchar uVar6;\n  uint uVar7;\n  byte *pbVar8;\n  uchar *local_28;\n  size_t local_24;\n  \n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,"%s",\n                   image->filename);\n  }\n  if (pixels == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }\n  memory = (undefined1 *)AcquireQuantumMemory(0x80,1);\n  if (memory == (undefined1 *)0x0) {\n    ThrowMagickException\n              (exception,"MagickCore/compress.c","PackbitsEncodeImage",0x454,ErrorException,\n               "MemoryAllocationFailed","`%s\'",image->filename);\n    return MagickFalse;\n  }\n  local_24 = length;\n  if (length != 0) {\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(image,'\x01');\n        WriteBlobByte(image,*pixels);\n        WriteBlobByte(image,pixels[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*pixels == pixels[1]) && (*pixels == pixels[2])) {\n          uVar6 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(image,uVar6);\n          WriteBlobByte(image,*pixels);\n        }\n        else {\n          WriteBlobByte(image,'\x02');\n          WriteBlobByte(image,*pixels);\n          WriteBlobByte(image,pixels[1]);\n          WriteBlobByte(image,pixels[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar6 = '\0';\n        goto LAB_00074fe1;\n      }\n      uVar6 = *pixels;\n      if ((uVar6 == pixels[1]) && (uVar6 == pixels[2])) {\n        if ((int)local_24 < 4) {\nLAB_0007524c:\n          puVar5 = pixels + 3;\n          uVar6 = 0xfe;\n          sVar4 = 3;\n        }\n        else {\n          puVar5 = pixels + 4;\n          sVar4 = 4;\n          if (uVar6 != pixels[3]) goto LAB_0007524c;\n          do {\n            if ((sVar4 == local_24) || (uVar6 != *puVar5)) {\n              uVar6 = '\x01' - (char)sVar4;\n              goto LAB_00075173;\n            }\n            sVar4 = sVar4 + 1;\n            puVar5 = puVar5 + 1;\n          } while (sVar4 != 0x7f);\n          uVar6 = 0x82;\n          puVar5 = pixels + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - sVar4;\n        WriteBlobByte(image,uVar6);\n        WriteBlobByte(image,*pixels);\n        pixels = puVar5;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar7 = 0;\n      puVar5 = pixels;\n      do {\n        local_28 = puVar5 + 1;\n        uVar2 = *local_28;\n        if ((uVar2 == uVar6) && (puVar5[2] == uVar6)) {\n          pixels = pixels + uVar7;\n          uVar3 = uVar7;\n          uVar7 = uVar7 - 1;\n          goto LAB_000750d7;\n        }\n        memory[uVar7 + 1] = uVar6;\n        uVar3 = uVar7 + 1;\n        if ((int)(local_24 - 3) <= (int)uVar3) {\n          pixels = pixels + uVar3;\n          goto LAB_000750d7;\n        }\n        uVar7 = uVar3;\n        uVar6 = uVar2;\n        puVar5 = local_28;\n      } while (uVar3 != 0x7f);\n      pixels = pixels + 0x7f;\n      uVar7 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar3;\n      pbVar8 = memory + 1;\n      *memory = (char)uVar7;\n      pbVar1 = pbVar8 + uVar3;\n      for (; WriteBlobByte(image,(uchar)uVar7), pbVar8 != pbVar1; pbVar8 = pbVar8 + 1) {\n        uVar7 = (uint)*pbVar8;\n      }\n    } while (local_24 != 0);\n  }\n  WriteBlobByte(image,0x80);\n  RelinquishMagickMemory(memory);\n  return MagickTrue;\n}" type_identifier (function_declarator "PackbitsEncodeImage(Image *image,size_t length,uchar *pixels,ExceptionInfo *exception)" identifier (parameter_list "(Image *image,size_t length,uchar *pixels,ExceptionInfo *exception)" ( (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "size_t length" primitive_type identifier) , (parameter_declaration "uchar *pixels" type_identifier (pointer_declarator "*pixels" * identifier)) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  uchar uVar2;\n  undefined1 *memory;\n  uint uVar3;\n  size_t sVar4;\n  uchar *puVar5;\n  uchar uVar6;\n  uint uVar7;\n  byte *pbVar8;\n  uchar *local_28;\n  size_t local_24;\n  \n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,"%s",\n                   image->filename);\n  }\n  if (pixels == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }\n  memory = (undefined1 *)AcquireQuantumMemory(0x80,1);\n  if (memory == (undefined1 *)0x0) {\n    ThrowMagickException\n              (exception,"MagickCore/compress.c","PackbitsEncodeImage",0x454,ErrorException,\n               "MemoryAllocationFailed","`%s\'",image->filename);\n    return MagickFalse;\n  }\n  local_24 = length;\n  if (length != 0) {\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(image,'\x01');\n        WriteBlobByte(image,*pixels);\n        WriteBlobByte(image,pixels[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*pixels == pixels[1]) && (*pixels == pixels[2])) {\n          uVar6 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(image,uVar6);\n          WriteBlobByte(image,*pixels);\n        }\n        else {\n          WriteBlobByte(image,'\x02');\n          WriteBlobByte(image,*pixels);\n          WriteBlobByte(image,pixels[1]);\n          WriteBlobByte(image,pixels[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar6 = '\0';\n        goto LAB_00074fe1;\n      }\n      uVar6 = *pixels;\n      if ((uVar6 == pixels[1]) && (uVar6 == pixels[2])) {\n        if ((int)local_24 < 4) {\nLAB_0007524c:\n          puVar5 = pixels + 3;\n          uVar6 = 0xfe;\n          sVar4 = 3;\n        }\n        else {\n          puVar5 = pixels + 4;\n          sVar4 = 4;\n          if (uVar6 != pixels[3]) goto LAB_0007524c;\n          do {\n            if ((sVar4 == local_24) || (uVar6 != *puVar5)) {\n              uVar6 = '\x01' - (char)sVar4;\n              goto LAB_00075173;\n            }\n            sVar4 = sVar4 + 1;\n            puVar5 = puVar5 + 1;\n          } while (sVar4 != 0x7f);\n          uVar6 = 0x82;\n          puVar5 = pixels + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - sVar4;\n        WriteBlobByte(image,uVar6);\n        WriteBlobByte(image,*pixels);\n        pixels = puVar5;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar7 = 0;\n      puVar5 = pixels;\n      do {\n        local_28 = puVar5 + 1;\n        uVar2 = *local_28;\n        if ((uVar2 == uVar6) && (puVar5[2] == uVar6)) {\n          pixels = pixels + uVar7;\n          uVar3 = uVar7;\n          uVar7 = uVar7 - 1;\n          goto LAB_000750d7;\n        }\n        memory[uVar7 + 1] = uVar6;\n        uVar3 = uVar7 + 1;\n        if ((int)(local_24 - 3) <= (int)uVar3) {\n          pixels = pixels + uVar3;\n          goto LAB_000750d7;\n        }\n        uVar7 = uVar3;\n        uVar6 = uVar2;\n        puVar5 = local_28;\n      } while (uVar3 != 0x7f);\n      pixels = pixels + 0x7f;\n      uVar7 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar3;\n      pbVar8 = memory + 1;\n      *memory = (char)uVar7;\n      pbVar1 = pbVar8 + uVar3;\n      for (; WriteBlobByte(image,(uchar)uVar7), pbVar8 != pbVar1; pbVar8 = pbVar8 + 1) {\n        uVar7 = (uint)*pbVar8;\n      }\n    } while (local_24 != 0);\n  }\n  WriteBlobByte(image,0x80);\n  RelinquishMagickMemory(memory);\n  return MagickTrue;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "uchar uVar2;" type_identifier identifier ;) (declaration "undefined1 *memory;" type_identifier (pointer_declarator "*memory" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "uchar *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uchar uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "uchar *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "size_t local_24;" primitive_type identifier ;) (if_statement "if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }" if (parenthesized_expression "(image == (Image *)0x0)" ( (binary_expression "image == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage")" identifier (argument_list "("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/compress.c"" " string_content ") , number_literal , (string_literal ""PackbitsEncodeImage"" " string_content ") ))) ;) })) (if_statement "if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }" if (parenthesized_expression "(image->signature != 0xabacadab)" ( (binary_expression "image->signature != 0xabacadab" (field_expression "image->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }" { comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/compress.c"" " string_content ") , number_literal , (string_literal ""PackbitsEncodeImage"" " string_content ") ))) ;) })) (if_statement "if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,"%s",\n                   image->filename);\n  }" if (parenthesized_expression "(image->debug != MagickFalse)" ( (binary_expression "image->debug != MagickFalse" (field_expression "image->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    LogMagickEvent(TraceEvent,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,"%s",\n                   image->filename);\n  }" { (expression_statement "LogMagickEvent(TraceEvent,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,"%s",\n                   image->filename);" (call_expression "LogMagickEvent(TraceEvent,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,"%s",\n                   image->filename)" identifier (argument_list "(TraceEvent,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,"%s",\n                   image->filename)" ( identifier , (string_literal ""MagickCore/compress.c"" " string_content ") , (string_literal ""PackbitsEncodeImage"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "image->filename" identifier -> field_identifier) ))) ;) })) (if_statement "if (pixels == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }" if (parenthesized_expression "(pixels == (uchar *)0x0)" ( (binary_expression "pixels == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }" { comment (expression_statement "__assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");" (call_expression "__assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage")" identifier (argument_list "("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage")" ( (string_literal ""pixels != (unsigned char *) NULL"" " string_content ") , (string_literal ""MagickCore/compress.c"" " string_content ") , number_literal , (string_literal ""PackbitsEncodeImage"" " string_content ") ))) ;) })) (expression_statement "memory = (undefined1 *)AcquireQuantumMemory(0x80,1);" (assignment_expression "memory = (undefined1 *)AcquireQuantumMemory(0x80,1)" identifier = (cast_expression "(undefined1 *)AcquireQuantumMemory(0x80,1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireQuantumMemory(0x80,1)" identifier (argument_list "(0x80,1)" ( number_literal , number_literal ))))) ;) (if_statement "if (memory == (undefined1 *)0x0) {\n    ThrowMagickException\n              (exception,"MagickCore/compress.c","PackbitsEncodeImage",0x454,ErrorException,\n               "MemoryAllocationFailed","`%s\'",image->filename);\n    return MagickFalse;\n  }" if (parenthesized_expression "(memory == (undefined1 *)0x0)" ( (binary_expression "memory == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    ThrowMagickException\n              (exception,"MagickCore/compress.c","PackbitsEncodeImage",0x454,ErrorException,\n               "MemoryAllocationFailed","`%s\'",image->filename);\n    return MagickFalse;\n  }" { (expression_statement "ThrowMagickException\n              (exception,"MagickCore/compress.c","PackbitsEncodeImage",0x454,ErrorException,\n               "MemoryAllocationFailed","`%s\'",image->filename);" (call_expression "ThrowMagickException\n              (exception,"MagickCore/compress.c","PackbitsEncodeImage",0x454,ErrorException,\n               "MemoryAllocationFailed","`%s\'",image->filename)" identifier (argument_list "(exception,"MagickCore/compress.c","PackbitsEncodeImage",0x454,ErrorException,\n               "MemoryAllocationFailed","`%s\'",image->filename)" ( identifier , (string_literal ""MagickCore/compress.c"" " string_content ") , (string_literal ""PackbitsEncodeImage"" " string_content ") , number_literal , identifier , (string_literal ""MemoryAllocationFailed"" " string_content ") , (string_literal ""`%s\'"" " string_content escape_sequence ") , (field_expression "image->filename" identifier -> field_identifier) ))) ;) (return_statement "return MagickFalse;" return identifier ;) })) (expression_statement "local_24 = length;" (assignment_expression "local_24 = length" identifier = identifier) ;) (if_statement "if (length != 0) {\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(image,'\x01');\n        WriteBlobByte(image,*pixels);\n        WriteBlobByte(image,pixels[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*pixels == pixels[1]) && (*pixels == pixels[2])) {\n          uVar6 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(image,uVar6);\n          WriteBlobByte(image,*pixels);\n        }\n        else {\n          WriteBlobByte(image,'\x02');\n          WriteBlobByte(image,*pixels);\n          WriteBlobByte(image,pixels[1]);\n          WriteBlobByte(image,pixels[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar6 = '\0';\n        goto LAB_00074fe1;\n      }\n      uVar6 = *pixels;\n      if ((uVar6 == pixels[1]) && (uVar6 == pixels[2])) {\n        if ((int)local_24 < 4) {\nLAB_0007524c:\n          puVar5 = pixels + 3;\n          uVar6 = 0xfe;\n          sVar4 = 3;\n        }\n        else {\n          puVar5 = pixels + 4;\n          sVar4 = 4;\n          if (uVar6 != pixels[3]) goto LAB_0007524c;\n          do {\n            if ((sVar4 == local_24) || (uVar6 != *puVar5)) {\n              uVar6 = '\x01' - (char)sVar4;\n              goto LAB_00075173;\n            }\n            sVar4 = sVar4 + 1;\n            puVar5 = puVar5 + 1;\n          } while (sVar4 != 0x7f);\n          uVar6 = 0x82;\n          puVar5 = pixels + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - sVar4;\n        WriteBlobByte(image,uVar6);\n        WriteBlobByte(image,*pixels);\n        pixels = puVar5;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar7 = 0;\n      puVar5 = pixels;\n      do {\n        local_28 = puVar5 + 1;\n        uVar2 = *local_28;\n        if ((uVar2 == uVar6) && (puVar5[2] == uVar6)) {\n          pixels = pixels + uVar7;\n          uVar3 = uVar7;\n          uVar7 = uVar7 - 1;\n          goto LAB_000750d7;\n        }\n        memory[uVar7 + 1] = uVar6;\n        uVar3 = uVar7 + 1;\n        if ((int)(local_24 - 3) <= (int)uVar3) {\n          pixels = pixels + uVar3;\n          goto LAB_000750d7;\n        }\n        uVar7 = uVar3;\n        uVar6 = uVar2;\n        puVar5 = local_28;\n      } while (uVar3 != 0x7f);\n      pixels = pixels + 0x7f;\n      uVar7 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar3;\n      pbVar8 = memory + 1;\n      *memory = (char)uVar7;\n      pbVar1 = pbVar8 + uVar3;\n      for (; WriteBlobByte(image,(uchar)uVar7), pbVar8 != pbVar1; pbVar8 = pbVar8 + 1) {\n        uVar7 = (uint)*pbVar8;\n      }\n    } while (local_24 != 0);\n  }" if (parenthesized_expression "(length != 0)" ( (binary_expression "length != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(image,'\x01');\n        WriteBlobByte(image,*pixels);\n        WriteBlobByte(image,pixels[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*pixels == pixels[1]) && (*pixels == pixels[2])) {\n          uVar6 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(image,uVar6);\n          WriteBlobByte(image,*pixels);\n        }\n        else {\n          WriteBlobByte(image,'\x02');\n          WriteBlobByte(image,*pixels);\n          WriteBlobByte(image,pixels[1]);\n          WriteBlobByte(image,pixels[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar6 = '\0';\n        goto LAB_00074fe1;\n      }\n      uVar6 = *pixels;\n      if ((uVar6 == pixels[1]) && (uVar6 == pixels[2])) {\n        if ((int)local_24 < 4) {\nLAB_0007524c:\n          puVar5 = pixels + 3;\n          uVar6 = 0xfe;\n          sVar4 = 3;\n        }\n        else {\n          puVar5 = pixels + 4;\n          sVar4 = 4;\n          if (uVar6 != pixels[3]) goto LAB_0007524c;\n          do {\n            if ((sVar4 == local_24) || (uVar6 != *puVar5)) {\n              uVar6 = '\x01' - (char)sVar4;\n              goto LAB_00075173;\n            }\n            sVar4 = sVar4 + 1;\n            puVar5 = puVar5 + 1;\n          } while (sVar4 != 0x7f);\n          uVar6 = 0x82;\n          puVar5 = pixels + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - sVar4;\n        WriteBlobByte(image,uVar6);\n        WriteBlobByte(image,*pixels);\n        pixels = puVar5;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar7 = 0;\n      puVar5 = pixels;\n      do {\n        local_28 = puVar5 + 1;\n        uVar2 = *local_28;\n        if ((uVar2 == uVar6) && (puVar5[2] == uVar6)) {\n          pixels = pixels + uVar7;\n          uVar3 = uVar7;\n          uVar7 = uVar7 - 1;\n          goto LAB_000750d7;\n        }\n        memory[uVar7 + 1] = uVar6;\n        uVar3 = uVar7 + 1;\n        if ((int)(local_24 - 3) <= (int)uVar3) {\n          pixels = pixels + uVar3;\n          goto LAB_000750d7;\n        }\n        uVar7 = uVar3;\n        uVar6 = uVar2;\n        puVar5 = local_28;\n      } while (uVar3 != 0x7f);\n      pixels = pixels + 0x7f;\n      uVar7 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar3;\n      pbVar8 = memory + 1;\n      *memory = (char)uVar7;\n      pbVar1 = pbVar8 + uVar3;\n      for (; WriteBlobByte(image,(uchar)uVar7), pbVar8 != pbVar1; pbVar8 = pbVar8 + 1) {\n        uVar7 = (uint)*pbVar8;\n      }\n    } while (local_24 != 0);\n  }" { (labeled_statement "LAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(image,'\x01');\n        WriteBlobByte(image,*pixels);\n        WriteBlobByte(image,pixels[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*pixels == pixels[1]) && (*pixels == pixels[2])) {\n          uVar6 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(image,uVar6);\n          WriteBlobByte(image,*pixels);\n        }\n        else {\n          WriteBlobByte(image,'\x02');\n          WriteBlobByte(image,*pixels);\n          WriteBlobByte(image,pixels[1]);\n          WriteBlobByte(image,pixels[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar6 = '\0';\n        goto LAB_00074fe1;\n      }\n      uVar6 = *pixels;\n      if ((uVar6 == pixels[1]) && (uVar6 == pixels[2])) {\n        if ((int)local_24 < 4) {\nLAB_0007524c:\n          puVar5 = pixels + 3;\n          uVar6 = 0xfe;\n          sVar4 = 3;\n        }\n        else {\n          puVar5 = pixels + 4;\n          sVar4 = 4;\n          if (uVar6 != pixels[3]) goto LAB_0007524c;\n          do {\n            if ((sVar4 == local_24) || (uVar6 != *puVar5)) {\n              uVar6 = '\x01' - (char)sVar4;\n              goto LAB_00075173;\n            }\n            sVar4 = sVar4 + 1;\n            puVar5 = puVar5 + 1;\n          } while (sVar4 != 0x7f);\n          uVar6 = 0x82;\n          puVar5 = pixels + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - sVar4;\n        WriteBlobByte(image,uVar6);\n        WriteBlobByte(image,*pixels);\n        pixels = puVar5;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar7 = 0;\n      puVar5 = pixels;\n      do {\n        local_28 = puVar5 + 1;\n        uVar2 = *local_28;\n        if ((uVar2 == uVar6) && (puVar5[2] == uVar6)) {\n          pixels = pixels + uVar7;\n          uVar3 = uVar7;\n          uVar7 = uVar7 - 1;\n          goto LAB_000750d7;\n        }\n        memory[uVar7 + 1] = uVar6;\n        uVar3 = uVar7 + 1;\n        if ((int)(local_24 - 3) <= (int)uVar3) {\n          pixels = pixels + uVar3;\n          goto LAB_000750d7;\n        }\n        uVar7 = uVar3;\n        uVar6 = uVar2;\n        puVar5 = local_28;\n      } while (uVar3 != 0x7f);\n      pixels = pixels + 0x7f;\n      uVar7 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar3;\n      pbVar8 = memory + 1;\n      *memory = (char)uVar7;\n      pbVar1 = pbVar8 + uVar3;\n      for (; WriteBlobByte(image,(uchar)uVar7), pbVar8 != pbVar1; pbVar8 = pbVar8 + 1) {\n        uVar7 = (uint)*pbVar8;\n      }\n    } while (local_24 != 0);" statement_identifier : (do_statement "do {\n      if (local_24 == 2) {\n        WriteBlobByte(image,'\x01');\n        WriteBlobByte(image,*pixels);\n        WriteBlobByte(image,pixels[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*pixels == pixels[1]) && (*pixels == pixels[2])) {\n          uVar6 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(image,uVar6);\n          WriteBlobByte(image,*pixels);\n        }\n        else {\n          WriteBlobByte(image,'\x02');\n          WriteBlobByte(image,*pixels);\n          WriteBlobByte(image,pixels[1]);\n          WriteBlobByte(image,pixels[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar6 = '\0';\n        goto LAB_00074fe1;\n      }\n      uVar6 = *pixels;\n      if ((uVar6 == pixels[1]) && (uVar6 == pixels[2])) {\n        if ((int)local_24 < 4) {\nLAB_0007524c:\n          puVar5 = pixels + 3;\n          uVar6 = 0xfe;\n          sVar4 = 3;\n        }\n        else {\n          puVar5 = pixels + 4;\n          sVar4 = 4;\n          if (uVar6 != pixels[3]) goto LAB_0007524c;\n          do {\n            if ((sVar4 == local_24) || (uVar6 != *puVar5)) {\n              uVar6 = '\x01' - (char)sVar4;\n              goto LAB_00075173;\n            }\n            sVar4 = sVar4 + 1;\n            puVar5 = puVar5 + 1;\n          } while (sVar4 != 0x7f);\n          uVar6 = 0x82;\n          puVar5 = pixels + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - sVar4;\n        WriteBlobByte(image,uVar6);\n        WriteBlobByte(image,*pixels);\n        pixels = puVar5;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar7 = 0;\n      puVar5 = pixels;\n      do {\n        local_28 = puVar5 + 1;\n        uVar2 = *local_28;\n        if ((uVar2 == uVar6) && (puVar5[2] == uVar6)) {\n          pixels = pixels + uVar7;\n          uVar3 = uVar7;\n          uVar7 = uVar7 - 1;\n          goto LAB_000750d7;\n        }\n        memory[uVar7 + 1] = uVar6;\n        uVar3 = uVar7 + 1;\n        if ((int)(local_24 - 3) <= (int)uVar3) {\n          pixels = pixels + uVar3;\n          goto LAB_000750d7;\n        }\n        uVar7 = uVar3;\n        uVar6 = uVar2;\n        puVar5 = local_28;\n      } while (uVar3 != 0x7f);\n      pixels = pixels + 0x7f;\n      uVar7 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar3;\n      pbVar8 = memory + 1;\n      *memory = (char)uVar7;\n      pbVar1 = pbVar8 + uVar3;\n      for (; WriteBlobByte(image,(uchar)uVar7), pbVar8 != pbVar1; pbVar8 = pbVar8 + 1) {\n        uVar7 = (uint)*pbVar8;\n      }\n    } while (local_24 != 0);" do (compound_statement "{\n      if (local_24 == 2) {\n        WriteBlobByte(image,'\x01');\n        WriteBlobByte(image,*pixels);\n        WriteBlobByte(image,pixels[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*pixels == pixels[1]) && (*pixels == pixels[2])) {\n          uVar6 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(image,uVar6);\n          WriteBlobByte(image,*pixels);\n        }\n        else {\n          WriteBlobByte(image,'\x02');\n          WriteBlobByte(image,*pixels);\n          WriteBlobByte(image,pixels[1]);\n          WriteBlobByte(image,pixels[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar6 = '\0';\n        goto LAB_00074fe1;\n      }\n      uVar6 = *pixels;\n      if ((uVar6 == pixels[1]) && (uVar6 == pixels[2])) {\n        if ((int)local_24 < 4) {\nLAB_0007524c:\n          puVar5 = pixels + 3;\n          uVar6 = 0xfe;\n          sVar4 = 3;\n        }\n        else {\n          puVar5 = pixels + 4;\n          sVar4 = 4;\n          if (uVar6 != pixels[3]) goto LAB_0007524c;\n          do {\n            if ((sVar4 == local_24) || (uVar6 != *puVar5)) {\n              uVar6 = '\x01' - (char)sVar4;\n              goto LAB_00075173;\n            }\n            sVar4 = sVar4 + 1;\n            puVar5 = puVar5 + 1;\n          } while (sVar4 != 0x7f);\n          uVar6 = 0x82;\n          puVar5 = pixels + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - sVar4;\n        WriteBlobByte(image,uVar6);\n        WriteBlobByte(image,*pixels);\n        pixels = puVar5;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar7 = 0;\n      puVar5 = pixels;\n      do {\n        local_28 = puVar5 + 1;\n        uVar2 = *local_28;\n        if ((uVar2 == uVar6) && (puVar5[2] == uVar6)) {\n          pixels = pixels + uVar7;\n          uVar3 = uVar7;\n          uVar7 = uVar7 - 1;\n          goto LAB_000750d7;\n        }\n        memory[uVar7 + 1] = uVar6;\n        uVar3 = uVar7 + 1;\n        if ((int)(local_24 - 3) <= (int)uVar3) {\n          pixels = pixels + uVar3;\n          goto LAB_000750d7;\n        }\n        uVar7 = uVar3;\n        uVar6 = uVar2;\n        puVar5 = local_28;\n      } while (uVar3 != 0x7f);\n      pixels = pixels + 0x7f;\n      uVar7 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar3;\n      pbVar8 = memory + 1;\n      *memory = (char)uVar7;\n      pbVar1 = pbVar8 + uVar3;\n      for (; WriteBlobByte(image,(uchar)uVar7), pbVar8 != pbVar1; pbVar8 = pbVar8 + 1) {\n        uVar7 = (uint)*pbVar8;\n      }\n    }" { (if_statement "if (local_24 == 2) {\n        WriteBlobByte(image,'\x01');\n        WriteBlobByte(image,*pixels);\n        WriteBlobByte(image,pixels[1]);\n        break;\n      }" if (parenthesized_expression "(local_24 == 2)" ( (binary_expression "local_24 == 2" identifier == number_literal) )) (compound_statement "{\n        WriteBlobByte(image,'\x01');\n        WriteBlobByte(image,*pixels);\n        WriteBlobByte(image,pixels[1]);\n        break;\n      }" { (expression_statement "WriteBlobByte(image,'\x01');" (call_expression "WriteBlobByte(image,'\x01')" identifier (argument_list "(image,'\x01')" ( identifier , (char_literal "'\x01'" ' escape_sequence ') ))) ;) (expression_statement "WriteBlobByte(image,*pixels);" (call_expression "WriteBlobByte(image,*pixels)" identifier (argument_list "(image,*pixels)" ( identifier , (pointer_expression "*pixels" * identifier) ))) ;) (expression_statement "WriteBlobByte(image,pixels[1]);" (call_expression "WriteBlobByte(image,pixels[1])" identifier (argument_list "(image,pixels[1])" ( identifier , (subscript_expression "pixels[1]" identifier [ number_literal ]) ))) ;) (break_statement "break;" break ;) })) (if_statement "if (local_24 == 3) {\n        if ((*pixels == pixels[1]) && (*pixels == pixels[2])) {\n          uVar6 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(image,uVar6);\n          WriteBlobByte(image,*pixels);\n        }\n        else {\n          WriteBlobByte(image,'\x02');\n          WriteBlobByte(image,*pixels);\n          WriteBlobByte(image,pixels[1]);\n          WriteBlobByte(image,pixels[2]);\n        }\n        break;\n      }" if (parenthesized_expression "(local_24 == 3)" ( (binary_expression "local_24 == 3" identifier == number_literal) )) (compound_statement "{\n        if ((*pixels == pixels[1]) && (*pixels == pixels[2])) {\n          uVar6 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(image,uVar6);\n          WriteBlobByte(image,*pixels);\n        }\n        else {\n          WriteBlobByte(image,'\x02');\n          WriteBlobByte(image,*pixels);\n          WriteBlobByte(image,pixels[1]);\n          WriteBlobByte(image,pixels[2]);\n        }\n        break;\n      }" { (if_statement "if ((*pixels == pixels[1]) && (*pixels == pixels[2])) {\n          uVar6 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(image,uVar6);\n          WriteBlobByte(image,*pixels);\n        }\n        else {\n          WriteBlobByte(image,'\x02');\n          WriteBlobByte(image,*pixels);\n          WriteBlobByte(image,pixels[1]);\n          WriteBlobByte(image,pixels[2]);\n        }" if (parenthesized_expression "((*pixels == pixels[1]) && (*pixels == pixels[2]))" ( (binary_expression "(*pixels == pixels[1]) && (*pixels == pixels[2])" (parenthesized_expression "(*pixels == pixels[1])" ( (binary_expression "*pixels == pixels[1]" (pointer_expression "*pixels" * identifier) == (subscript_expression "pixels[1]" identifier [ number_literal ])) )) && (parenthesized_expression "(*pixels == pixels[2])" ( (binary_expression "*pixels == pixels[2]" (pointer_expression "*pixels" * identifier) == (subscript_expression "pixels[2]" identifier [ number_literal ])) ))) )) (compound_statement "{\n          uVar6 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(image,uVar6);\n          WriteBlobByte(image,*pixels);\n        }" { (expression_statement "uVar6 = 0xfe;" (assignment_expression "uVar6 = 0xfe" identifier = number_literal) ;) (labeled_statement "LAB_00074fe1:\n          WriteBlobByte(image,uVar6);" statement_identifier : (expression_statement "WriteBlobByte(image,uVar6);" (call_expression "WriteBlobByte(image,uVar6)" identifier (argument_list "(image,uVar6)" ( identifier , identifier ))) ;)) (expression_statement "WriteBlobByte(image,*pixels);" (call_expression "WriteBlobByte(image,*pixels)" identifier (argument_list "(image,*pixels)" ( identifier , (pointer_expression "*pixels" * identifier) ))) ;) }) (else_clause "else {\n          WriteBlobByte(image,'\x02');\n          WriteBlobByte(image,*pixels);\n          WriteBlobByte(image,pixels[1]);\n          WriteBlobByte(image,pixels[2]);\n        }" else (compound_statement "{\n          WriteBlobByte(image,'\x02');\n          WriteBlobByte(image,*pixels);\n          WriteBlobByte(image,pixels[1]);\n          WriteBlobByte(image,pixels[2]);\n        }" { (expression_statement "WriteBlobByte(image,'\x02');" (call_expression "WriteBlobByte(image,'\x02')" identifier (argument_list "(image,'\x02')" ( identifier , (char_literal "'\x02'" ' escape_sequence ') ))) ;) (expression_statement "WriteBlobByte(image,*pixels);" (call_expression "WriteBlobByte(image,*pixels)" identifier (argument_list "(image,*pixels)" ( identifier , (pointer_expression "*pixels" * identifier) ))) ;) (expression_statement "WriteBlobByte(image,pixels[1]);" (call_expression "WriteBlobByte(image,pixels[1])" identifier (argument_list "(image,pixels[1])" ( identifier , (subscript_expression "pixels[1]" identifier [ number_literal ]) ))) ;) (expression_statement "WriteBlobByte(image,pixels[2]);" (call_expression "WriteBlobByte(image,pixels[2])" identifier (argument_list "(image,pixels[2])" ( identifier , (subscript_expression "pixels[2]" identifier [ number_literal ]) ))) ;) }))) (break_statement "break;" break ;) })) (if_statement "if (local_24 == 1) {\n        uVar6 = '\0';\n        goto LAB_00074fe1;\n      }" if (parenthesized_expression "(local_24 == 1)" ( (binary_expression "local_24 == 1" identifier == number_literal) )) (compound_statement "{\n        uVar6 = '\0';\n        goto LAB_00074fe1;\n      }" { (expression_statement "uVar6 = '\0';" (assignment_expression "uVar6 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (goto_statement "goto LAB_00074fe1;" goto statement_identifier ;) })) (expression_statement "uVar6 = *pixels;" (assignment_expression "uVar6 = *pixels" identifier = (pointer_expression "*pixels" * identifier)) ;) (if_statement "if ((uVar6 == pixels[1]) && (uVar6 == pixels[2])) {\n        if ((int)local_24 < 4) {\nLAB_0007524c:\n          puVar5 = pixels + 3;\n          uVar6 = 0xfe;\n          sVar4 = 3;\n        }\n        else {\n          puVar5 = pixels + 4;\n          sVar4 = 4;\n          if (uVar6 != pixels[3]) goto LAB_0007524c;\n          do {\n            if ((sVar4 == local_24) || (uVar6 != *puVar5)) {\n              uVar6 = '\x01' - (char)sVar4;\n              goto LAB_00075173;\n            }\n            sVar4 = sVar4 + 1;\n            puVar5 = puVar5 + 1;\n          } while (sVar4 != 0x7f);\n          uVar6 = 0x82;\n          puVar5 = pixels + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - sVar4;\n        WriteBlobByte(image,uVar6);\n        WriteBlobByte(image,*pixels);\n        pixels = puVar5;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }" if (parenthesized_expression "((uVar6 == pixels[1]) && (uVar6 == pixels[2]))" ( (binary_expression "(uVar6 == pixels[1]) && (uVar6 == pixels[2])" (parenthesized_expression "(uVar6 == pixels[1])" ( (binary_expression "uVar6 == pixels[1]" identifier == (subscript_expression "pixels[1]" identifier [ number_literal ])) )) && (parenthesized_expression "(uVar6 == pixels[2])" ( (binary_expression "uVar6 == pixels[2]" identifier == (subscript_expression "pixels[2]" identifier [ number_literal ])) ))) )) (compound_statement "{\n        if ((int)local_24 < 4) {\nLAB_0007524c:\n          puVar5 = pixels + 3;\n          uVar6 = 0xfe;\n          sVar4 = 3;\n        }\n        else {\n          puVar5 = pixels + 4;\n          sVar4 = 4;\n          if (uVar6 != pixels[3]) goto LAB_0007524c;\n          do {\n            if ((sVar4 == local_24) || (uVar6 != *puVar5)) {\n              uVar6 = '\x01' - (char)sVar4;\n              goto LAB_00075173;\n            }\n            sVar4 = sVar4 + 1;\n            puVar5 = puVar5 + 1;\n          } while (sVar4 != 0x7f);\n          uVar6 = 0x82;\n          puVar5 = pixels + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - sVar4;\n        WriteBlobByte(image,uVar6);\n        WriteBlobByte(image,*pixels);\n        pixels = puVar5;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }" { (if_statement "if ((int)local_24 < 4) {\nLAB_0007524c:\n          puVar5 = pixels + 3;\n          uVar6 = 0xfe;\n          sVar4 = 3;\n        }\n        else {\n          puVar5 = pixels + 4;\n          sVar4 = 4;\n          if (uVar6 != pixels[3]) goto LAB_0007524c;\n          do {\n            if ((sVar4 == local_24) || (uVar6 != *puVar5)) {\n              uVar6 = '\x01' - (char)sVar4;\n              goto LAB_00075173;\n            }\n            sVar4 = sVar4 + 1;\n            puVar5 = puVar5 + 1;\n          } while (sVar4 != 0x7f);\n          uVar6 = 0x82;\n          puVar5 = pixels + 0x7f;\n        }" if (parenthesized_expression "((int)local_24 < 4)" ( (binary_expression "(int)local_24 < 4" (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\nLAB_0007524c:\n          puVar5 = pixels + 3;\n          uVar6 = 0xfe;\n          sVar4 = 3;\n        }" { (labeled_statement "LAB_0007524c:\n          puVar5 = pixels + 3;" statement_identifier : (expression_statement "puVar5 = pixels + 3;" (assignment_expression "puVar5 = pixels + 3" identifier = (binary_expression "pixels + 3" identifier + number_literal)) ;)) (expression_statement "uVar6 = 0xfe;" (assignment_expression "uVar6 = 0xfe" identifier = number_literal) ;) (expression_statement "sVar4 = 3;" (assignment_expression "sVar4 = 3" identifier = number_literal) ;) }) (else_clause "else {\n          puVar5 = pixels + 4;\n          sVar4 = 4;\n          if (uVar6 != pixels[3]) goto LAB_0007524c;\n          do {\n            if ((sVar4 == local_24) || (uVar6 != *puVar5)) {\n              uVar6 = '\x01' - (char)sVar4;\n              goto LAB_00075173;\n            }\n            sVar4 = sVar4 + 1;\n            puVar5 = puVar5 + 1;\n          } while (sVar4 != 0x7f);\n          uVar6 = 0x82;\n          puVar5 = pixels + 0x7f;\n        }" else (compound_statement "{\n          puVar5 = pixels + 4;\n          sVar4 = 4;\n          if (uVar6 != pixels[3]) goto LAB_0007524c;\n          do {\n            if ((sVar4 == local_24) || (uVar6 != *puVar5)) {\n              uVar6 = '\x01' - (char)sVar4;\n              goto LAB_00075173;\n            }\n            sVar4 = sVar4 + 1;\n            puVar5 = puVar5 + 1;\n          } while (sVar4 != 0x7f);\n          uVar6 = 0x82;\n          puVar5 = pixels + 0x7f;\n        }" { (expression_statement "puVar5 = pixels + 4;" (assignment_expression "puVar5 = pixels + 4" identifier = (binary_expression "pixels + 4" identifier + number_literal)) ;) (expression_statement "sVar4 = 4;" (assignment_expression "sVar4 = 4" identifier = number_literal) ;) (if_statement "if (uVar6 != pixels[3]) goto LAB_0007524c;" if (parenthesized_expression "(uVar6 != pixels[3])" ( (binary_expression "uVar6 != pixels[3]" identifier != (subscript_expression "pixels[3]" identifier [ number_literal ])) )) (goto_statement "goto LAB_0007524c;" goto statement_identifier ;)) (do_statement "do {\n            if ((sVar4 == local_24) || (uVar6 != *puVar5)) {\n              uVar6 = '\x01' - (char)sVar4;\n              goto LAB_00075173;\n            }\n            sVar4 = sVar4 + 1;\n            puVar5 = puVar5 + 1;\n          } while (sVar4 != 0x7f);" do (compound_statement "{\n            if ((sVar4 == local_24) || (uVar6 != *puVar5)) {\n              uVar6 = '\x01' - (char)sVar4;\n              goto LAB_00075173;\n            }\n            sVar4 = sVar4 + 1;\n            puVar5 = puVar5 + 1;\n          }" { (if_statement "if ((sVar4 == local_24) || (uVar6 != *puVar5)) {\n              uVar6 = '\x01' - (char)sVar4;\n              goto LAB_00075173;\n            }" if (parenthesized_expression "((sVar4 == local_24) || (uVar6 != *puVar5))" ( (binary_expression "(sVar4 == local_24) || (uVar6 != *puVar5)" (parenthesized_expression "(sVar4 == local_24)" ( (binary_expression "sVar4 == local_24" identifier == identifier) )) || (parenthesized_expression "(uVar6 != *puVar5)" ( (binary_expression "uVar6 != *puVar5" identifier != (pointer_expression "*puVar5" * identifier)) ))) )) (compound_statement "{\n              uVar6 = '\x01' - (char)sVar4;\n              goto LAB_00075173;\n            }" { (expression_statement "uVar6 = '\x01' - (char)sVar4;" (assignment_expression "uVar6 = '\x01' - (char)sVar4" identifier = (binary_expression "'\x01' - (char)sVar4" (char_literal "'\x01'" ' escape_sequence ') - (cast_expression "(char)sVar4" ( (type_descriptor "char" primitive_type) ) identifier))) ;) (goto_statement "goto LAB_00075173;" goto statement_identifier ;) })) (expression_statement "sVar4 = sVar4 + 1;" (assignment_expression "sVar4 = sVar4 + 1" identifier = (binary_expression "sVar4 + 1" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(sVar4 != 0x7f)" ( (binary_expression "sVar4 != 0x7f" identifier != number_literal) )) ;) (expression_statement "uVar6 = 0x82;" (assignment_expression "uVar6 = 0x82" identifier = number_literal) ;) (expression_statement "puVar5 = pixels + 0x7f;" (assignment_expression "puVar5 = pixels + 0x7f" identifier = (binary_expression "pixels + 0x7f" identifier + number_literal)) ;) }))) (labeled_statement "LAB_00075173:\n        local_24 = local_24 - sVar4;" statement_identifier : (expression_statement "local_24 = local_24 - sVar4;" (assignment_expression "local_24 = local_24 - sVar4" identifier = (binary_expression "local_24 - sVar4" identifier - identifier)) ;)) (expression_statement "WriteBlobByte(image,uVar6);" (call_expression "WriteBlobByte(image,uVar6)" identifier (argument_list "(image,uVar6)" ( identifier , identifier ))) ;) (expression_statement "WriteBlobByte(image,*pixels);" (call_expression "WriteBlobByte(image,*pixels)" identifier (argument_list "(image,*pixels)" ( identifier , (pointer_expression "*pixels" * identifier) ))) ;) (expression_statement "pixels = puVar5;" (assignment_expression "pixels = puVar5" identifier = identifier) ;) (if_statement "if (local_24 == 0) break;" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (goto_statement "goto LAB_00074f3a;" goto statement_identifier ;) })) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar5 = pixels;" (assignment_expression "puVar5 = pixels" identifier = identifier) ;) (do_statement "do {\n        local_28 = puVar5 + 1;\n        uVar2 = *local_28;\n        if ((uVar2 == uVar6) && (puVar5[2] == uVar6)) {\n          pixels = pixels + uVar7;\n          uVar3 = uVar7;\n          uVar7 = uVar7 - 1;\n          goto LAB_000750d7;\n        }\n        memory[uVar7 + 1] = uVar6;\n        uVar3 = uVar7 + 1;\n        if ((int)(local_24 - 3) <= (int)uVar3) {\n          pixels = pixels + uVar3;\n          goto LAB_000750d7;\n        }\n        uVar7 = uVar3;\n        uVar6 = uVar2;\n        puVar5 = local_28;\n      } while (uVar3 != 0x7f);" do (compound_statement "{\n        local_28 = puVar5 + 1;\n        uVar2 = *local_28;\n        if ((uVar2 == uVar6) && (puVar5[2] == uVar6)) {\n          pixels = pixels + uVar7;\n          uVar3 = uVar7;\n          uVar7 = uVar7 - 1;\n          goto LAB_000750d7;\n        }\n        memory[uVar7 + 1] = uVar6;\n        uVar3 = uVar7 + 1;\n        if ((int)(local_24 - 3) <= (int)uVar3) {\n          pixels = pixels + uVar3;\n          goto LAB_000750d7;\n        }\n        uVar7 = uVar3;\n        uVar6 = uVar2;\n        puVar5 = local_28;\n      }" { (expression_statement "local_28 = puVar5 + 1;" (assignment_expression "local_28 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar2 = *local_28;" (assignment_expression "uVar2 = *local_28" identifier = (pointer_expression "*local_28" * identifier)) ;) (if_statement "if ((uVar2 == uVar6) && (puVar5[2] == uVar6)) {\n          pixels = pixels + uVar7;\n          uVar3 = uVar7;\n          uVar7 = uVar7 - 1;\n          goto LAB_000750d7;\n        }" if (parenthesized_expression "((uVar2 == uVar6) && (puVar5[2] == uVar6))" ( (binary_expression "(uVar2 == uVar6) && (puVar5[2] == uVar6)" (parenthesized_expression "(uVar2 == uVar6)" ( (binary_expression "uVar2 == uVar6" identifier == identifier) )) && (parenthesized_expression "(puVar5[2] == uVar6)" ( (binary_expression "puVar5[2] == uVar6" (subscript_expression "puVar5[2]" identifier [ number_literal ]) == identifier) ))) )) (compound_statement "{\n          pixels = pixels + uVar7;\n          uVar3 = uVar7;\n          uVar7 = uVar7 - 1;\n          goto LAB_000750d7;\n        }" { (expression_statement "pixels = pixels + uVar7;" (assignment_expression "pixels = pixels + uVar7" identifier = (binary_expression "pixels + uVar7" identifier + identifier)) ;) (expression_statement "uVar3 = uVar7;" (assignment_expression "uVar3 = uVar7" identifier = identifier) ;) (expression_statement "uVar7 = uVar7 - 1;" (assignment_expression "uVar7 = uVar7 - 1" identifier = (binary_expression "uVar7 - 1" identifier - number_literal)) ;) (goto_statement "goto LAB_000750d7;" goto statement_identifier ;) })) (expression_statement "memory[uVar7 + 1] = uVar6;" (assignment_expression "memory[uVar7 + 1] = uVar6" (subscript_expression "memory[uVar7 + 1]" identifier [ (binary_expression "uVar7 + 1" identifier + number_literal) ]) = identifier) ;) (expression_statement "uVar3 = uVar7 + 1;" (assignment_expression "uVar3 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (if_statement "if ((int)(local_24 - 3) <= (int)uVar3) {\n          pixels = pixels + uVar3;\n          goto LAB_000750d7;\n        }" if (parenthesized_expression "((int)(local_24 - 3) <= (int)uVar3)" ( (binary_expression "(int)(local_24 - 3) <= (int)uVar3" (cast_expression "(int)(local_24 - 3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_24 - 3)" ( (binary_expression "local_24 - 3" identifier - number_literal) ))) <= (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          pixels = pixels + uVar3;\n          goto LAB_000750d7;\n        }" { (expression_statement "pixels = pixels + uVar3;" (assignment_expression "pixels = pixels + uVar3" identifier = (binary_expression "pixels + uVar3" identifier + identifier)) ;) (goto_statement "goto LAB_000750d7;" goto statement_identifier ;) })) (expression_statement "uVar7 = uVar3;" (assignment_expression "uVar7 = uVar3" identifier = identifier) ;) (expression_statement "uVar6 = uVar2;" (assignment_expression "uVar6 = uVar2" identifier = identifier) ;) (expression_statement "puVar5 = local_28;" (assignment_expression "puVar5 = local_28" identifier = identifier) ;) }) while (parenthesized_expression "(uVar3 != 0x7f)" ( (binary_expression "uVar3 != 0x7f" identifier != number_literal) )) ;) (expression_statement "pixels = pixels + 0x7f;" (assignment_expression "pixels = pixels + 0x7f" identifier = (binary_expression "pixels + 0x7f" identifier + number_literal)) ;) (expression_statement "uVar7 = 0x7e;" (assignment_expression "uVar7 = 0x7e" identifier = number_literal) ;) (labeled_statement "LAB_000750d7:\n      local_24 = local_24 - uVar3;" statement_identifier : (expression_statement "local_24 = local_24 - uVar3;" (assignment_expression "local_24 = local_24 - uVar3" identifier = (binary_expression "local_24 - uVar3" identifier - identifier)) ;)) (expression_statement "pbVar8 = memory + 1;" (assignment_expression "pbVar8 = memory + 1" identifier = (binary_expression "memory + 1" identifier + number_literal)) ;) (expression_statement "*memory = (char)uVar7;" (assignment_expression "*memory = (char)uVar7" (pointer_expression "*memory" * identifier) = (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "pbVar1 = pbVar8 + uVar3;" (assignment_expression "pbVar1 = pbVar8 + uVar3" identifier = (binary_expression "pbVar8 + uVar3" identifier + identifier)) ;) (for_statement "for (; WriteBlobByte(image,(uchar)uVar7), pbVar8 != pbVar1; pbVar8 = pbVar8 + 1) {\n        uVar7 = (uint)*pbVar8;\n      }" for ( ; (comma_expression "WriteBlobByte(image,(uchar)uVar7), pbVar8 != pbVar1" (call_expression "WriteBlobByte(image,(uchar)uVar7)" identifier (argument_list "(image,(uchar)uVar7)" ( identifier , (cast_expression "(uchar)uVar7" ( (type_descriptor "uchar" type_identifier) ) identifier) ))) , (binary_expression "pbVar8 != pbVar1" identifier != identifier)) ; (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ) (compound_statement "{\n        uVar7 = (uint)*pbVar8;\n      }" { (expression_statement "uVar7 = (uint)*pbVar8;" (assignment_expression "uVar7 = (uint)*pbVar8" identifier = (binary_expression "(uint)*pbVar8" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) })) }) while (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) ;)) })) (expression_statement "WriteBlobByte(image,0x80);" (call_expression "WriteBlobByte(image,0x80)" identifier (argument_list "(image,0x80)" ( identifier , number_literal ))) ;) (expression_statement "RelinquishMagickMemory(memory);" (call_expression "RelinquishMagickMemory(memory)" identifier (argument_list "(memory)" ( identifier ))) ;) (return_statement "return MagickTrue;" return identifier ;) })))
(translation_unit "undefined4 PackbitsEncodeImage(int param_1,int param_2,char *param_3,undefined4 param_4)\n\n{\n  byte *pbVar1;\n  char cVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  int iVar5;\n  char *pcVar6;\n  char cVar7;\n  uint uVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  char *local_28;\n  int local_24;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  if (param_3 == (char *)0x0) {\n                    \n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }\n  puVar3 = (undefined1 *)AcquireQuantumMemory(0x80,1);\n  if (puVar3 == (undefined1 *)0x0) {\n    ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);\n    return 0;\n  }\n  local_24 = param_2;\n  if (param_2 != 0) {\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);\n  }\n  WriteBlobByte(param_1,0x80);\n  RelinquishMagickMemory(puVar3);\n  return 1;\n}\n\n" (function_definition "undefined4 PackbitsEncodeImage(int param_1,int param_2,char *param_3,undefined4 param_4)\n\n{\n  byte *pbVar1;\n  char cVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  int iVar5;\n  char *pcVar6;\n  char cVar7;\n  uint uVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  char *local_28;\n  int local_24;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  if (param_3 == (char *)0x0) {\n                    \n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }\n  puVar3 = (undefined1 *)AcquireQuantumMemory(0x80,1);\n  if (puVar3 == (undefined1 *)0x0) {\n    ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);\n    return 0;\n  }\n  local_24 = param_2;\n  if (param_2 != 0) {\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);\n  }\n  WriteBlobByte(param_1,0x80);\n  RelinquishMagickMemory(puVar3);\n  return 1;\n}" type_identifier (function_declarator "PackbitsEncodeImage(int param_1,int param_2,char *param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,int param_2,char *param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  byte *pbVar1;\n  char cVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  int iVar5;\n  char *pcVar6;\n  char cVar7;\n  uint uVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  char *local_28;\n  int local_24;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  if (param_3 == (char *)0x0) {\n                    \n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }\n  puVar3 = (undefined1 *)AcquireQuantumMemory(0x80,1);\n  if (puVar3 == (undefined1 *)0x0) {\n    ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);\n    return 0;\n  }\n  local_24 = param_2;\n  if (param_2 != 0) {\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);\n  }\n  WriteBlobByte(param_1,0x80);\n  RelinquishMagickMemory(puVar3);\n  return 1;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char cVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "char *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }" { (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage")" identifier (argument_list "("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/compress.c"" " string_content ") , number_literal , (string_literal ""PackbitsEncodeImage"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3344) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3344)" * (cast_expression "(int *)(param_1 + 0x3344)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3344)" ( (binary_expression "param_1 + 0x3344" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }" { (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/compress.c"" " string_content ") , number_literal , (string_literal ""PackbitsEncodeImage"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3328) != 0)" ( (binary_expression "*(int *)(param_1 + 0x3328) != 0" (pointer_expression "*(int *)(param_1 + 0x3328)" * (cast_expression "(int *)(param_1 + 0x3328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3328)" ( (binary_expression "param_1 + 0x3328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318)" identifier (argument_list "(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318)" ( number_literal , (string_literal ""MagickCore/compress.c"" " string_content ") , (string_literal ""PackbitsEncodeImage"" " string_content ") , number_literal , (pointer_expression "&DAT_002b6e4e" & identifier) , (binary_expression "param_1 + 0x318" identifier + number_literal) ))) ;) })) (if_statement "if (param_3 == (char *)0x0) {\n                    \n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }" if (parenthesized_expression "(param_3 == (char *)0x0)" ( (binary_expression "param_3 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }" { (expression_statement "__assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");" (call_expression "__assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage")" identifier (argument_list "("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage")" ( (string_literal ""pixels != (unsigned char *) NULL"" " string_content ") , (string_literal ""MagickCore/compress.c"" " string_content ") , number_literal , (string_literal ""PackbitsEncodeImage"" " string_content ") ))) ;) })) (expression_statement "puVar3 = (undefined1 *)AcquireQuantumMemory(0x80,1);" (assignment_expression "puVar3 = (undefined1 *)AcquireQuantumMemory(0x80,1)" identifier = (cast_expression "(undefined1 *)AcquireQuantumMemory(0x80,1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireQuantumMemory(0x80,1)" identifier (argument_list "(0x80,1)" ( number_literal , number_literal ))))) ;) (if_statement "if (puVar3 == (undefined1 *)0x0) {\n    ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);\n    return 0;\n  }" if (parenthesized_expression "(puVar3 == (undefined1 *)0x0)" ( (binary_expression "puVar3 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);\n    return 0;\n  }" { (expression_statement "ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);" (call_expression "ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318)" identifier (argument_list "(param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318)" ( identifier , (string_literal ""MagickCore/compress.c"" " string_content ") , (string_literal ""PackbitsEncodeImage"" " string_content ") , number_literal , number_literal , (string_literal ""MemoryAllocationFailed"" " string_content ") , (string_literal ""`%s\'"" " string_content escape_sequence ") , (binary_expression "param_1 + 0x318" identifier + number_literal) ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_24 = param_2;" (assignment_expression "local_24 = param_2" identifier = identifier) ;) (if_statement "if (param_2 != 0) {\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);\n  }" { (labeled_statement "LAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);" statement_identifier : (do_statement "do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);" do (compound_statement "{\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    }" { (if_statement "if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }" if (parenthesized_expression "(local_24 == 2)" ( (binary_expression "local_24 == 2" identifier == number_literal) )) (compound_statement "{\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }" { (expression_statement "WriteBlobByte(param_1,1);" (call_expression "WriteBlobByte(param_1,1)" identifier (argument_list "(param_1,1)" ( identifier , number_literal ))) ;) (expression_statement "WriteBlobByte(param_1,*param_3);" (call_expression "WriteBlobByte(param_1,*param_3)" identifier (argument_list "(param_1,*param_3)" ( identifier , (pointer_expression "*param_3" * identifier) ))) ;) (expression_statement "WriteBlobByte(param_1,param_3[1]);" (call_expression "WriteBlobByte(param_1,param_3[1])" identifier (argument_list "(param_1,param_3[1])" ( identifier , (subscript_expression "param_3[1]" identifier [ number_literal ]) ))) ;) (break_statement "break;" break ;) })) (if_statement "if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }" if (parenthesized_expression "(local_24 == 3)" ( (binary_expression "local_24 == 3" identifier == number_literal) )) (compound_statement "{\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }" { (if_statement "if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }" if (parenthesized_expression "((*param_3 == param_3[1]) && (*param_3 == param_3[2]))" ( (binary_expression "(*param_3 == param_3[1]) && (*param_3 == param_3[2])" (parenthesized_expression "(*param_3 == param_3[1])" ( (binary_expression "*param_3 == param_3[1]" (pointer_expression "*param_3" * identifier) == (subscript_expression "param_3[1]" identifier [ number_literal ])) )) && (parenthesized_expression "(*param_3 == param_3[2])" ( (binary_expression "*param_3 == param_3[2]" (pointer_expression "*param_3" * identifier) == (subscript_expression "param_3[2]" identifier [ number_literal ])) ))) )) (compound_statement "{\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }" { (expression_statement "uVar10 = 0xfe;" (assignment_expression "uVar10 = 0xfe" identifier = number_literal) ;) (labeled_statement "LAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);" statement_identifier : (expression_statement "WriteBlobByte(param_1,uVar10);" (call_expression "WriteBlobByte(param_1,uVar10)" identifier (argument_list "(param_1,uVar10)" ( identifier , identifier ))) ;)) (expression_statement "WriteBlobByte(param_1,*param_3);" (call_expression "WriteBlobByte(param_1,*param_3)" identifier (argument_list "(param_1,*param_3)" ( identifier , (pointer_expression "*param_3" * identifier) ))) ;) }) (else_clause "else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }" else (compound_statement "{\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }" { (expression_statement "WriteBlobByte(param_1,2);" (call_expression "WriteBlobByte(param_1,2)" identifier (argument_list "(param_1,2)" ( identifier , number_literal ))) ;) (expression_statement "WriteBlobByte(param_1,*param_3);" (call_expression "WriteBlobByte(param_1,*param_3)" identifier (argument_list "(param_1,*param_3)" ( identifier , (pointer_expression "*param_3" * identifier) ))) ;) (expression_statement "WriteBlobByte(param_1,param_3[1]);" (call_expression "WriteBlobByte(param_1,param_3[1])" identifier (argument_list "(param_1,param_3[1])" ( identifier , (subscript_expression "param_3[1]" identifier [ number_literal ]) ))) ;) (expression_statement "WriteBlobByte(param_1,param_3[2]);" (call_expression "WriteBlobByte(param_1,param_3[2])" identifier (argument_list "(param_1,param_3[2])" ( identifier , (subscript_expression "param_3[2]" identifier [ number_literal ]) ))) ;) }))) (break_statement "break;" break ;) })) (if_statement "if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }" if (parenthesized_expression "(local_24 == 1)" ( (binary_expression "local_24 == 1" identifier == number_literal) )) (compound_statement "{\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00074fe1;" goto statement_identifier ;) })) (expression_statement "cVar7 = *param_3;" (assignment_expression "cVar7 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (if_statement "if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }" if (parenthesized_expression "((cVar7 == param_3[1]) && (cVar7 == param_3[2]))" ( (binary_expression "(cVar7 == param_3[1]) && (cVar7 == param_3[2])" (parenthesized_expression "(cVar7 == param_3[1])" ( (binary_expression "cVar7 == param_3[1]" identifier == (subscript_expression "param_3[1]" identifier [ number_literal ])) )) && (parenthesized_expression "(cVar7 == param_3[2])" ( (binary_expression "cVar7 == param_3[2]" identifier == (subscript_expression "param_3[2]" identifier [ number_literal ])) ))) )) (compound_statement "{\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }" { (if_statement "if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }" if (parenthesized_expression "(local_24 < 4)" ( (binary_expression "local_24 < 4" identifier < number_literal) )) (compound_statement "{\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }" { (labeled_statement "LAB_0007524c:\n          pcVar6 = param_3 + 3;" statement_identifier : (expression_statement "pcVar6 = param_3 + 3;" (assignment_expression "pcVar6 = param_3 + 3" identifier = (binary_expression "param_3 + 3" identifier + number_literal)) ;)) (expression_statement "uVar8 = 0xfe;" (assignment_expression "uVar8 = 0xfe" identifier = number_literal) ;) (expression_statement "iVar5 = 3;" (assignment_expression "iVar5 = 3" identifier = number_literal) ;) }) (else_clause "else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }" else (compound_statement "{\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }" { (expression_statement "pcVar6 = param_3 + 4;" (assignment_expression "pcVar6 = param_3 + 4" identifier = (binary_expression "param_3 + 4" identifier + number_literal)) ;) (expression_statement "iVar5 = 4;" (assignment_expression "iVar5 = 4" identifier = number_literal) ;) (if_statement "if (cVar7 != param_3[3]) goto LAB_0007524c;" if (parenthesized_expression "(cVar7 != param_3[3])" ( (binary_expression "cVar7 != param_3[3]" identifier != (subscript_expression "param_3[3]" identifier [ number_literal ])) )) (goto_statement "goto LAB_0007524c;" goto statement_identifier ;)) (do_statement "do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);" do (compound_statement "{\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          }" { (if_statement "if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }" if (parenthesized_expression "((iVar5 == local_24) || (cVar7 != *pcVar6))" ( (binary_expression "(iVar5 == local_24) || (cVar7 != *pcVar6)" (parenthesized_expression "(iVar5 == local_24)" ( (binary_expression "iVar5 == local_24" identifier == identifier) )) || (parenthesized_expression "(cVar7 != *pcVar6)" ( (binary_expression "cVar7 != *pcVar6" identifier != (pointer_expression "*pcVar6" * identifier)) ))) )) (compound_statement "{\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }" { (expression_statement "uVar8 = 1U - iVar5 & 0xff;" (assignment_expression "uVar8 = 1U - iVar5 & 0xff" identifier = (binary_expression "1U - iVar5 & 0xff" (binary_expression "1U - iVar5" number_literal - identifier) & number_literal)) ;) (goto_statement "goto LAB_00075173;" goto statement_identifier ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 0x7f)" ( (binary_expression "iVar5 != 0x7f" identifier != number_literal) )) ;) (expression_statement "uVar8 = 0x82;" (assignment_expression "uVar8 = 0x82" identifier = number_literal) ;) (expression_statement "pcVar6 = param_3 + 0x7f;" (assignment_expression "pcVar6 = param_3 + 0x7f" identifier = (binary_expression "param_3 + 0x7f" identifier + number_literal)) ;) }))) (labeled_statement "LAB_00075173:\n        local_24 = local_24 - iVar5;" statement_identifier : (expression_statement "local_24 = local_24 - iVar5;" (assignment_expression "local_24 = local_24 - iVar5" identifier = (binary_expression "local_24 - iVar5" identifier - identifier)) ;)) (expression_statement "WriteBlobByte(param_1,uVar8);" (call_expression "WriteBlobByte(param_1,uVar8)" identifier (argument_list "(param_1,uVar8)" ( identifier , identifier ))) ;) (expression_statement "WriteBlobByte(param_1,*param_3);" (call_expression "WriteBlobByte(param_1,*param_3)" identifier (argument_list "(param_1,*param_3)" ( identifier , (pointer_expression "*param_3" * identifier) ))) ;) (expression_statement "param_3 = pcVar6;" (assignment_expression "param_3 = pcVar6" identifier = identifier) ;) (if_statement "if (local_24 == 0) break;" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (goto_statement "goto LAB_00074f3a;" goto statement_identifier ;) })) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "pcVar6 = param_3;" (assignment_expression "pcVar6 = param_3" identifier = identifier) ;) (do_statement "do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);" do (compound_statement "{\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      }" { (expression_statement "local_28 = pcVar6 + 1;" (assignment_expression "local_28 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "cVar2 = *local_28;" (assignment_expression "cVar2 = *local_28" identifier = (pointer_expression "*local_28" * identifier)) ;) (if_statement "if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }" if (parenthesized_expression "((cVar2 == cVar7) && (pcVar6[2] == cVar7))" ( (binary_expression "(cVar2 == cVar7) && (pcVar6[2] == cVar7)" (parenthesized_expression "(cVar2 == cVar7)" ( (binary_expression "cVar2 == cVar7" identifier == identifier) )) && (parenthesized_expression "(pcVar6[2] == cVar7)" ( (binary_expression "pcVar6[2] == cVar7" (subscript_expression "pcVar6[2]" identifier [ number_literal ]) == identifier) ))) )) (compound_statement "{\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }" { (expression_statement "param_3 = param_3 + uVar8;" (assignment_expression "param_3 = param_3 + uVar8" identifier = (binary_expression "param_3 + uVar8" identifier + identifier)) ;) (expression_statement "uVar4 = uVar8;" (assignment_expression "uVar4 = uVar8" identifier = identifier) ;) (expression_statement "uVar8 = uVar8 - 1;" (assignment_expression "uVar8 = uVar8 - 1" identifier = (binary_expression "uVar8 - 1" identifier - number_literal)) ;) (goto_statement "goto LAB_000750d7;" goto statement_identifier ;) })) (expression_statement "puVar3[uVar8 + 1] = cVar7;" (assignment_expression "puVar3[uVar8 + 1] = cVar7" (subscript_expression "puVar3[uVar8 + 1]" identifier [ (binary_expression "uVar8 + 1" identifier + number_literal) ]) = identifier) ;) (expression_statement "uVar4 = uVar8 + 1;" (assignment_expression "uVar4 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (if_statement "if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }" if (parenthesized_expression "(local_24 + -3 <= (int)uVar4)" ( (binary_expression "local_24 + -3 <= (int)uVar4" (binary_expression "local_24 + -3" identifier + number_literal) <= (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }" { (expression_statement "param_3 = param_3 + uVar4;" (assignment_expression "param_3 = param_3 + uVar4" identifier = (binary_expression "param_3 + uVar4" identifier + identifier)) ;) (goto_statement "goto LAB_000750d7;" goto statement_identifier ;) })) (expression_statement "uVar8 = uVar4;" (assignment_expression "uVar8 = uVar4" identifier = identifier) ;) (expression_statement "cVar7 = cVar2;" (assignment_expression "cVar7 = cVar2" identifier = identifier) ;) (expression_statement "pcVar6 = local_28;" (assignment_expression "pcVar6 = local_28" identifier = identifier) ;) }) while (parenthesized_expression "(uVar4 != 0x7f)" ( (binary_expression "uVar4 != 0x7f" identifier != number_literal) )) ;) (expression_statement "param_3 = param_3 + 0x7f;" (assignment_expression "param_3 = param_3 + 0x7f" identifier = (binary_expression "param_3 + 0x7f" identifier + number_literal)) ;) (expression_statement "uVar8 = 0x7e;" (assignment_expression "uVar8 = 0x7e" identifier = number_literal) ;) (labeled_statement "LAB_000750d7:\n      local_24 = local_24 - uVar4;" statement_identifier : (expression_statement "local_24 = local_24 - uVar4;" (assignment_expression "local_24 = local_24 - uVar4" identifier = (binary_expression "local_24 - uVar4" identifier - identifier)) ;)) (expression_statement "pbVar9 = puVar3 + 1;" (assignment_expression "pbVar9 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = (char)uVar8;" (assignment_expression "*puVar3 = (char)uVar8" (pointer_expression "*puVar3" * identifier) = (cast_expression "(char)uVar8" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "pbVar1 = pbVar9 + uVar4;" (assignment_expression "pbVar1 = pbVar9 + uVar4" identifier = (binary_expression "pbVar9 + uVar4" identifier + identifier)) ;) (for_statement "for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }" for ( ; (comma_expression "WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1" (call_expression "WriteBlobByte(param_1,uVar8 & 0xff)" identifier (argument_list "(param_1,uVar8 & 0xff)" ( identifier , (binary_expression "uVar8 & 0xff" identifier & number_literal) ))) , (binary_expression "pbVar9 != pbVar1" identifier != identifier)) ; (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ) (compound_statement "{\n        uVar8 = (uint)*pbVar9;\n      }" { (expression_statement "uVar8 = (uint)*pbVar9;" (assignment_expression "uVar8 = (uint)*pbVar9" identifier = (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) })) }) while (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) ;)) })) (expression_statement "WriteBlobByte(param_1,0x80);" (call_expression "WriteBlobByte(param_1,0x80)" identifier (argument_list "(param_1,0x80)" ( identifier , number_literal ))) ;) (expression_statement "RelinquishMagickMemory(puVar3);" (call_expression "RelinquishMagickMemory(puVar3)" identifier (argument_list "(puVar3)" ( identifier ))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , (pointer_expression & IDENT) , (binary_expression IDENT + LIT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , LIT , (string_literal " string_content ") , (string_literal " string_content escape_sequence ") , (binary_expression IDENT + LIT) ))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) ))) ;) (break_statement break ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (subscript_expression IDENT [ LIT ])) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (subscript_expression IDENT [ LIT ])) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) ))) ;) }))) (break_statement break ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (subscript_expression IDENT [ LIT ])) )) && (parenthesized_expression ( (binary_expression IDENT == (subscript_expression IDENT [ LIT ])) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (subscript_expression IDENT [ LIT ])) )) (goto_statement goto statement_identifier ;)) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) || (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression LIT - IDENT) & LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (for_statement for ( ; (comma_expression (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT & LIT) ))) , (binary_expression IDENT != IDENT)) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) })) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;)) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 PackbitsEncodeImage(int param_1,int param_2,char *param_3,undefined4 param_4)\n\n{\n  byte *pbVar1;\n  char cVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  int iVar5;\n  char *pcVar6;\n  char cVar7;\n  uint uVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  char *local_28;\n  int local_24;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  if (param_3 == (char *)0x0) {\n                    \n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }\n  puVar3 = (undefined1 *)AcquireQuantumMemory(0x80,1);\n  if (puVar3 == (undefined1 *)0x0) {\n    ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);\n    return 0;\n  }\n  local_24 = param_2;\n  if (param_2 != 0) {\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);\n  }\n  WriteBlobByte(param_1,0x80);\n  RelinquishMagickMemory(puVar3);\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "PackbitsEncodeImage(int param_1,int param_2,char *param_3,undefined4 param_4)" (identifier "PackbitsEncodeImage") (parameter_list "(int param_1,int param_2,char *param_3,undefined4 param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  byte *pbVar1;\n  char cVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  int iVar5;\n  char *pcVar6;\n  char cVar7;\n  uint uVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  char *local_28;\n  int local_24;\n  \n  if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }\n  if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }\n  if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }\n  if (param_3 == (char *)0x0) {\n                    \n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }\n  puVar3 = (undefined1 *)AcquireQuantumMemory(0x80,1);\n  if (puVar3 == (undefined1 *)0x0) {\n    ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);\n    return 0;\n  }\n  local_24 = param_2;\n  if (param_2 != 0) {\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);\n  }\n  WriteBlobByte(param_1,0x80);\n  RelinquishMagickMemory(puVar3);\n  return 1;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "undefined1 *puVar3;" (type_identifier "undefined1") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "char cVar7;" (primitive_type "char") (identifier "cVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "char *local_28;" (primitive_type "char") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");\n  }" ({ "{") (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage")" (identifier "__assert_fail") (argument_list "("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage")" (( "(") (string_literal ""image != (Image *) NULL"" (" """) (string_content "image != (Image *) NULL") (" """)) (, ",") (string_literal ""MagickCore/compress.c"" (" """) (string_content "MagickCore/compress.c") (" """)) (, ",") (number_literal "0x44c") (, ",") (string_literal ""PackbitsEncodeImage"" (" """) (string_content "PackbitsEncodeImage") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3344) != -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3344)" (* "*") (cast_expression "(int *)(param_1 + 0x3344)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3344)" (( "(") (binary_expression "param_1 + 0x3344" (identifier "param_1") (+ "+") (number_literal "0x3344")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");\n  }" ({ "{") (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage")" (identifier "__assert_fail") (argument_list "("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,\n                  "PackbitsEncodeImage")" (( "(") (string_literal ""image->signature == MagickCoreSignature"" (" """) (string_content "image->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/compress.c"" (" """) (string_content "MagickCore/compress.c") (" """)) (, ",") (number_literal "0x44d") (, ",") (string_literal ""PackbitsEncodeImage"" (" """) (string_content "PackbitsEncodeImage") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3328) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x3328) != 0" (pointer_expression "*(int *)(param_1 + 0x3328)" (* "*") (cast_expression "(int *)(param_1 + 0x3328)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3328)" (( "(") (binary_expression "param_1 + 0x3328" (identifier "param_1") (+ "+") (number_literal "0x3328")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318);\n  }" ({ "{") (expression_statement "LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318)" (identifier "LogMagickEvent") (argument_list "(0x8000,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,&DAT_002b6e4e,\n                   param_1 + 0x318)" (( "(") (number_literal "0x8000") (, ",") (string_literal ""MagickCore/compress.c"" (" """) (string_content "MagickCore/compress.c") (" """)) (, ",") (string_literal ""PackbitsEncodeImage"" (" """) (string_content "PackbitsEncodeImage") (" """)) (, ",") (number_literal "0x44f") (, ",") (pointer_expression "&DAT_002b6e4e" (& "&") (identifier "DAT_002b6e4e")) (, ",") (binary_expression "param_1 + 0x318" (identifier "param_1") (+ "+") (number_literal "0x318")) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_3 == (char *)0x0) {\n                    \n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }" (if "if") (parenthesized_expression "(param_3 == (char *)0x0)" (( "(") (binary_expression "param_3 == (char *)0x0" (identifier "param_3") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");\n  }" ({ "{") (expression_statement "__assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage");" (call_expression "__assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage")" (identifier "__assert_fail") (argument_list "("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,\n                  "PackbitsEncodeImage")" (( "(") (string_literal ""pixels != (unsigned char *) NULL"" (" """) (string_content "pixels != (unsigned char *) NULL") (" """)) (, ",") (string_literal ""MagickCore/compress.c"" (" """) (string_content "MagickCore/compress.c") (" """)) (, ",") (number_literal "0x450") (, ",") (string_literal ""PackbitsEncodeImage"" (" """) (string_content "PackbitsEncodeImage") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar3 = (undefined1 *)AcquireQuantumMemory(0x80,1);" (assignment_expression "puVar3 = (undefined1 *)AcquireQuantumMemory(0x80,1)" (identifier "puVar3") (= "=") (cast_expression "(undefined1 *)AcquireQuantumMemory(0x80,1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "AcquireQuantumMemory(0x80,1)" (identifier "AcquireQuantumMemory") (argument_list "(0x80,1)" (( "(") (number_literal "0x80") (, ",") (number_literal "1") () ")"))))) (; ";")) (if_statement "if (puVar3 == (undefined1 *)0x0) {\n    ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);\n    return 0;\n  }" (if "if") (parenthesized_expression "(puVar3 == (undefined1 *)0x0)" (( "(") (binary_expression "puVar3 == (undefined1 *)0x0" (identifier "puVar3") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);\n    return 0;\n  }" ({ "{") (expression_statement "ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);" (call_expression "ThrowMagickException\n              (param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318)" (identifier "ThrowMagickException") (argument_list "(param_4,"MagickCore/compress.c","PackbitsEncodeImage",0x454,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0x318)" (( "(") (identifier "param_4") (, ",") (string_literal ""MagickCore/compress.c"" (" """) (string_content "MagickCore/compress.c") (" """)) (, ",") (string_literal ""PackbitsEncodeImage"" (" """) (string_content "PackbitsEncodeImage") (" """)) (, ",") (number_literal "0x454") (, ",") (number_literal "400") (, ",") (string_literal ""MemoryAllocationFailed"" (" """) (string_content "MemoryAllocationFailed") (" """)) (, ",") (string_literal ""`%s\'"" (" """) (string_content "`%s") (escape_sequence "\'") (" """)) (, ",") (binary_expression "param_1 + 0x318" (identifier "param_1") (+ "+") (number_literal "0x318")) () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "local_24 = param_2;" (assignment_expression "local_24 = param_2" (identifier "local_24") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (param_2 != 0) {\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);\n  }" ({ "{") (labeled_statement "LAB_00074f3a:\n    do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);" (statement_identifier "LAB_00074f3a") (: ":") (do_statement "do {\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    } while (local_24 != 0);" (do "do") (compound_statement "{\n      if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }\n      if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }\n      if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }\n      cVar7 = *param_3;\n      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }\n      uVar8 = 0;\n      pcVar6 = param_3;\n      do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);\n      param_3 = param_3 + 0x7f;\n      uVar8 = 0x7e;\nLAB_000750d7:\n      local_24 = local_24 - uVar4;\n      pbVar9 = puVar3 + 1;\n      *puVar3 = (char)uVar8;\n      pbVar1 = pbVar9 + uVar4;\n      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }\n    }" ({ "{") (if_statement "if (local_24 == 2) {\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }" (if "if") (parenthesized_expression "(local_24 == 2)" (( "(") (binary_expression "local_24 == 2" (identifier "local_24") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n        WriteBlobByte(param_1,1);\n        WriteBlobByte(param_1,*param_3);\n        WriteBlobByte(param_1,param_3[1]);\n        break;\n      }" ({ "{") (expression_statement "WriteBlobByte(param_1,1);" (call_expression "WriteBlobByte(param_1,1)" (identifier "WriteBlobByte") (argument_list "(param_1,1)" (( "(") (identifier "param_1") (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "WriteBlobByte(param_1,*param_3);" (call_expression "WriteBlobByte(param_1,*param_3)" (identifier "WriteBlobByte") (argument_list "(param_1,*param_3)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")"))) (; ";")) (expression_statement "WriteBlobByte(param_1,param_3[1]);" (call_expression "WriteBlobByte(param_1,param_3[1])" (identifier "WriteBlobByte") (argument_list "(param_1,param_3[1])" (( "(") (identifier "param_1") (, ",") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (if_statement "if (local_24 == 3) {\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }" (if "if") (parenthesized_expression "(local_24 == 3)" (( "(") (binary_expression "local_24 == 3" (identifier "local_24") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }\n        break;\n      }" ({ "{") (if_statement "if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }\n        else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }" (if "if") (parenthesized_expression "((*param_3 == param_3[1]) && (*param_3 == param_3[2]))" (( "(") (binary_expression "(*param_3 == param_3[1]) && (*param_3 == param_3[2])" (parenthesized_expression "(*param_3 == param_3[1])" (( "(") (binary_expression "*param_3 == param_3[1]" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (== "==") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) () ")")) (&& "&&") (parenthesized_expression "(*param_3 == param_3[2])" (( "(") (binary_expression "*param_3 == param_3[2]" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (== "==") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]"))) () ")"))) () ")")) (compound_statement "{\n          uVar10 = 0xfe;\nLAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);\n          WriteBlobByte(param_1,*param_3);\n        }" ({ "{") (expression_statement "uVar10 = 0xfe;" (assignment_expression "uVar10 = 0xfe" (identifier "uVar10") (= "=") (number_literal "0xfe")) (; ";")) (labeled_statement "LAB_00074fe1:\n          WriteBlobByte(param_1,uVar10);" (statement_identifier "LAB_00074fe1") (: ":") (expression_statement "WriteBlobByte(param_1,uVar10);" (call_expression "WriteBlobByte(param_1,uVar10)" (identifier "WriteBlobByte") (argument_list "(param_1,uVar10)" (( "(") (identifier "param_1") (, ",") (identifier "uVar10") () ")"))) (; ";"))) (expression_statement "WriteBlobByte(param_1,*param_3);" (call_expression "WriteBlobByte(param_1,*param_3)" (identifier "WriteBlobByte") (argument_list "(param_1,*param_3)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }" (else "else") (compound_statement "{\n          WriteBlobByte(param_1,2);\n          WriteBlobByte(param_1,*param_3);\n          WriteBlobByte(param_1,param_3[1]);\n          WriteBlobByte(param_1,param_3[2]);\n        }" ({ "{") (expression_statement "WriteBlobByte(param_1,2);" (call_expression "WriteBlobByte(param_1,2)" (identifier "WriteBlobByte") (argument_list "(param_1,2)" (( "(") (identifier "param_1") (, ",") (number_literal "2") () ")"))) (; ";")) (expression_statement "WriteBlobByte(param_1,*param_3);" (call_expression "WriteBlobByte(param_1,*param_3)" (identifier "WriteBlobByte") (argument_list "(param_1,*param_3)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")"))) (; ";")) (expression_statement "WriteBlobByte(param_1,param_3[1]);" (call_expression "WriteBlobByte(param_1,param_3[1])" (identifier "WriteBlobByte") (argument_list "(param_1,param_3[1])" (( "(") (identifier "param_1") (, ",") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (expression_statement "WriteBlobByte(param_1,param_3[2]);" (call_expression "WriteBlobByte(param_1,param_3[2])" (identifier "WriteBlobByte") (argument_list "(param_1,param_3[2])" (( "(") (identifier "param_1") (, ",") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (} "}")))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (if_statement "if (local_24 == 1) {\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }" (if "if") (parenthesized_expression "(local_24 == 1)" (( "(") (binary_expression "local_24 == 1" (identifier "local_24") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        uVar10 = 0;\n        goto LAB_00074fe1;\n      }" ({ "{") (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00074fe1;" (goto "goto") (statement_identifier "LAB_00074fe1") (; ";")) (} "}"))) (expression_statement "cVar7 = *param_3;" (assignment_expression "cVar7 = *param_3" (identifier "cVar7") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (if_statement "if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }" (if "if") (parenthesized_expression "((cVar7 == param_3[1]) && (cVar7 == param_3[2]))" (( "(") (binary_expression "(cVar7 == param_3[1]) && (cVar7 == param_3[2])" (parenthesized_expression "(cVar7 == param_3[1])" (( "(") (binary_expression "cVar7 == param_3[1]" (identifier "cVar7") (== "==") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) () ")")) (&& "&&") (parenthesized_expression "(cVar7 == param_3[2])" (( "(") (binary_expression "cVar7 == param_3[2]" (identifier "cVar7") (== "==") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]"))) () ")"))) () ")")) (compound_statement "{\n        if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }\nLAB_00075173:\n        local_24 = local_24 - iVar5;\n        WriteBlobByte(param_1,uVar8);\n        WriteBlobByte(param_1,*param_3);\n        param_3 = pcVar6;\n        if (local_24 == 0) break;\n        goto LAB_00074f3a;\n      }" ({ "{") (if_statement "if (local_24 < 4) {\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }\n        else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }" (if "if") (parenthesized_expression "(local_24 < 4)" (( "(") (binary_expression "local_24 < 4" (identifier "local_24") (< "<") (number_literal "4")) () ")")) (compound_statement "{\nLAB_0007524c:\n          pcVar6 = param_3 + 3;\n          uVar8 = 0xfe;\n          iVar5 = 3;\n        }" ({ "{") (labeled_statement "LAB_0007524c:\n          pcVar6 = param_3 + 3;" (statement_identifier "LAB_0007524c") (: ":") (expression_statement "pcVar6 = param_3 + 3;" (assignment_expression "pcVar6 = param_3 + 3" (identifier "pcVar6") (= "=") (binary_expression "param_3 + 3" (identifier "param_3") (+ "+") (number_literal "3"))) (; ";"))) (expression_statement "uVar8 = 0xfe;" (assignment_expression "uVar8 = 0xfe" (identifier "uVar8") (= "=") (number_literal "0xfe")) (; ";")) (expression_statement "iVar5 = 3;" (assignment_expression "iVar5 = 3" (identifier "iVar5") (= "=") (number_literal "3")) (; ";")) (} "}")) (else_clause "else {\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }" (else "else") (compound_statement "{\n          pcVar6 = param_3 + 4;\n          iVar5 = 4;\n          if (cVar7 != param_3[3]) goto LAB_0007524c;\n          do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);\n          uVar8 = 0x82;\n          pcVar6 = param_3 + 0x7f;\n        }" ({ "{") (expression_statement "pcVar6 = param_3 + 4;" (assignment_expression "pcVar6 = param_3 + 4" (identifier "pcVar6") (= "=") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "iVar5 = 4;" (assignment_expression "iVar5 = 4" (identifier "iVar5") (= "=") (number_literal "4")) (; ";")) (if_statement "if (cVar7 != param_3[3]) goto LAB_0007524c;" (if "if") (parenthesized_expression "(cVar7 != param_3[3])" (( "(") (binary_expression "cVar7 != param_3[3]" (identifier "cVar7") (!= "!=") (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]"))) () ")")) (goto_statement "goto LAB_0007524c;" (goto "goto") (statement_identifier "LAB_0007524c") (; ";"))) (do_statement "do {\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          } while (iVar5 != 0x7f);" (do "do") (compound_statement "{\n            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }\n            iVar5 = iVar5 + 1;\n            pcVar6 = pcVar6 + 1;\n          }" ({ "{") (if_statement "if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }" (if "if") (parenthesized_expression "((iVar5 == local_24) || (cVar7 != *pcVar6))" (( "(") (binary_expression "(iVar5 == local_24) || (cVar7 != *pcVar6)" (parenthesized_expression "(iVar5 == local_24)" (( "(") (binary_expression "iVar5 == local_24" (identifier "iVar5") (== "==") (identifier "local_24")) () ")")) (|| "||") (parenthesized_expression "(cVar7 != *pcVar6)" (( "(") (binary_expression "cVar7 != *pcVar6" (identifier "cVar7") (!= "!=") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6"))) () ")"))) () ")")) (compound_statement "{\n              uVar8 = 1U - iVar5 & 0xff;\n              goto LAB_00075173;\n            }" ({ "{") (expression_statement "uVar8 = 1U - iVar5 & 0xff;" (assignment_expression "uVar8 = 1U - iVar5 & 0xff" (identifier "uVar8") (= "=") (binary_expression "1U - iVar5 & 0xff" (binary_expression "1U - iVar5" (number_literal "1U") (- "-") (identifier "iVar5")) (& "&") (number_literal "0xff"))) (; ";")) (goto_statement "goto LAB_00075173;" (goto "goto") (statement_identifier "LAB_00075173") (; ";")) (} "}"))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" (identifier "pcVar6") (= "=") (binary_expression "pcVar6 + 1" (identifier "pcVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 != 0x7f)" (( "(") (binary_expression "iVar5 != 0x7f" (identifier "iVar5") (!= "!=") (number_literal "0x7f")) () ")")) (; ";")) (expression_statement "uVar8 = 0x82;" (assignment_expression "uVar8 = 0x82" (identifier "uVar8") (= "=") (number_literal "0x82")) (; ";")) (expression_statement "pcVar6 = param_3 + 0x7f;" (assignment_expression "pcVar6 = param_3 + 0x7f" (identifier "pcVar6") (= "=") (binary_expression "param_3 + 0x7f" (identifier "param_3") (+ "+") (number_literal "0x7f"))) (; ";")) (} "}")))) (labeled_statement "LAB_00075173:\n        local_24 = local_24 - iVar5;" (statement_identifier "LAB_00075173") (: ":") (expression_statement "local_24 = local_24 - iVar5;" (assignment_expression "local_24 = local_24 - iVar5" (identifier "local_24") (= "=") (binary_expression "local_24 - iVar5" (identifier "local_24") (- "-") (identifier "iVar5"))) (; ";"))) (expression_statement "WriteBlobByte(param_1,uVar8);" (call_expression "WriteBlobByte(param_1,uVar8)" (identifier "WriteBlobByte") (argument_list "(param_1,uVar8)" (( "(") (identifier "param_1") (, ",") (identifier "uVar8") () ")"))) (; ";")) (expression_statement "WriteBlobByte(param_1,*param_3);" (call_expression "WriteBlobByte(param_1,*param_3)" (identifier "WriteBlobByte") (argument_list "(param_1,*param_3)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")"))) (; ";")) (expression_statement "param_3 = pcVar6;" (assignment_expression "param_3 = pcVar6" (identifier "param_3") (= "=") (identifier "pcVar6")) (; ";")) (if_statement "if (local_24 == 0) break;" (if "if") (parenthesized_expression "(local_24 == 0)" (( "(") (binary_expression "local_24 == 0" (identifier "local_24") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (goto_statement "goto LAB_00074f3a;" (goto "goto") (statement_identifier "LAB_00074f3a") (; ";")) (} "}"))) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar6 = param_3;" (assignment_expression "pcVar6 = param_3" (identifier "pcVar6") (= "=") (identifier "param_3")) (; ";")) (do_statement "do {\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      } while (uVar4 != 0x7f);" (do "do") (compound_statement "{\n        local_28 = pcVar6 + 1;\n        cVar2 = *local_28;\n        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }\n        puVar3[uVar8 + 1] = cVar7;\n        uVar4 = uVar8 + 1;\n        if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }\n        uVar8 = uVar4;\n        cVar7 = cVar2;\n        pcVar6 = local_28;\n      }" ({ "{") (expression_statement "local_28 = pcVar6 + 1;" (assignment_expression "local_28 = pcVar6 + 1" (identifier "local_28") (= "=") (binary_expression "pcVar6 + 1" (identifier "pcVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar2 = *local_28;" (assignment_expression "cVar2 = *local_28" (identifier "cVar2") (= "=") (pointer_expression "*local_28" (* "*") (identifier "local_28"))) (; ";")) (if_statement "if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }" (if "if") (parenthesized_expression "((cVar2 == cVar7) && (pcVar6[2] == cVar7))" (( "(") (binary_expression "(cVar2 == cVar7) && (pcVar6[2] == cVar7)" (parenthesized_expression "(cVar2 == cVar7)" (( "(") (binary_expression "cVar2 == cVar7" (identifier "cVar2") (== "==") (identifier "cVar7")) () ")")) (&& "&&") (parenthesized_expression "(pcVar6[2] == cVar7)" (( "(") (binary_expression "pcVar6[2] == cVar7" (subscript_expression "pcVar6[2]" (identifier "pcVar6") ([ "[") (number_literal "2") (] "]")) (== "==") (identifier "cVar7")) () ")"))) () ")")) (compound_statement "{\n          param_3 = param_3 + uVar8;\n          uVar4 = uVar8;\n          uVar8 = uVar8 - 1;\n          goto LAB_000750d7;\n        }" ({ "{") (expression_statement "param_3 = param_3 + uVar8;" (assignment_expression "param_3 = param_3 + uVar8" (identifier "param_3") (= "=") (binary_expression "param_3 + uVar8" (identifier "param_3") (+ "+") (identifier "uVar8"))) (; ";")) (expression_statement "uVar4 = uVar8;" (assignment_expression "uVar4 = uVar8" (identifier "uVar4") (= "=") (identifier "uVar8")) (; ";")) (expression_statement "uVar8 = uVar8 - 1;" (assignment_expression "uVar8 = uVar8 - 1" (identifier "uVar8") (= "=") (binary_expression "uVar8 - 1" (identifier "uVar8") (- "-") (number_literal "1"))) (; ";")) (goto_statement "goto LAB_000750d7;" (goto "goto") (statement_identifier "LAB_000750d7") (; ";")) (} "}"))) (expression_statement "puVar3[uVar8 + 1] = cVar7;" (assignment_expression "puVar3[uVar8 + 1] = cVar7" (subscript_expression "puVar3[uVar8 + 1]" (identifier "puVar3") ([ "[") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1")) (] "]")) (= "=") (identifier "cVar7")) (; ";")) (expression_statement "uVar4 = uVar8 + 1;" (assignment_expression "uVar4 = uVar8 + 1" (identifier "uVar4") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (local_24 + -3 <= (int)uVar4) {\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }" (if "if") (parenthesized_expression "(local_24 + -3 <= (int)uVar4)" (( "(") (binary_expression "local_24 + -3 <= (int)uVar4" (binary_expression "local_24 + -3" (identifier "local_24") (+ "+") (number_literal "-3")) (<= "<=") (cast_expression "(int)uVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar4"))) () ")")) (compound_statement "{\n          param_3 = param_3 + uVar4;\n          goto LAB_000750d7;\n        }" ({ "{") (expression_statement "param_3 = param_3 + uVar4;" (assignment_expression "param_3 = param_3 + uVar4" (identifier "param_3") (= "=") (binary_expression "param_3 + uVar4" (identifier "param_3") (+ "+") (identifier "uVar4"))) (; ";")) (goto_statement "goto LAB_000750d7;" (goto "goto") (statement_identifier "LAB_000750d7") (; ";")) (} "}"))) (expression_statement "uVar8 = uVar4;" (assignment_expression "uVar8 = uVar4" (identifier "uVar8") (= "=") (identifier "uVar4")) (; ";")) (expression_statement "cVar7 = cVar2;" (assignment_expression "cVar7 = cVar2" (identifier "cVar7") (= "=") (identifier "cVar2")) (; ";")) (expression_statement "pcVar6 = local_28;" (assignment_expression "pcVar6 = local_28" (identifier "pcVar6") (= "=") (identifier "local_28")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar4 != 0x7f)" (( "(") (binary_expression "uVar4 != 0x7f" (identifier "uVar4") (!= "!=") (number_literal "0x7f")) () ")")) (; ";")) (expression_statement "param_3 = param_3 + 0x7f;" (assignment_expression "param_3 = param_3 + 0x7f" (identifier "param_3") (= "=") (binary_expression "param_3 + 0x7f" (identifier "param_3") (+ "+") (number_literal "0x7f"))) (; ";")) (expression_statement "uVar8 = 0x7e;" (assignment_expression "uVar8 = 0x7e" (identifier "uVar8") (= "=") (number_literal "0x7e")) (; ";")) (labeled_statement "LAB_000750d7:\n      local_24 = local_24 - uVar4;" (statement_identifier "LAB_000750d7") (: ":") (expression_statement "local_24 = local_24 - uVar4;" (assignment_expression "local_24 = local_24 - uVar4" (identifier "local_24") (= "=") (binary_expression "local_24 - uVar4" (identifier "local_24") (- "-") (identifier "uVar4"))) (; ";"))) (expression_statement "pbVar9 = puVar3 + 1;" (assignment_expression "pbVar9 = puVar3 + 1" (identifier "pbVar9") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar3 = (char)uVar8;" (assignment_expression "*puVar3 = (char)uVar8" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (cast_expression "(char)uVar8" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar8"))) (; ";")) (expression_statement "pbVar1 = pbVar9 + uVar4;" (assignment_expression "pbVar1 = pbVar9 + uVar4" (identifier "pbVar1") (= "=") (binary_expression "pbVar9 + uVar4" (identifier "pbVar9") (+ "+") (identifier "uVar4"))) (; ";")) (for_statement "for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {\n        uVar8 = (uint)*pbVar9;\n      }" (for "for") (( "(") (; ";") (comma_expression "WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1" (call_expression "WriteBlobByte(param_1,uVar8 & 0xff)" (identifier "WriteBlobByte") (argument_list "(param_1,uVar8 & 0xff)" (( "(") (identifier "param_1") (, ",") (binary_expression "uVar8 & 0xff" (identifier "uVar8") (& "&") (number_literal "0xff")) () ")"))) (, ",") (binary_expression "pbVar9 != pbVar1" (identifier "pbVar9") (!= "!=") (identifier "pbVar1"))) (; ";") (assignment_expression "pbVar9 = pbVar9 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + 1" (identifier "pbVar9") (+ "+") (number_literal "1"))) () ")") (compound_statement "{\n        uVar8 = (uint)*pbVar9;\n      }" ({ "{") (expression_statement "uVar8 = (uint)*pbVar9;" (assignment_expression "uVar8 = (uint)*pbVar9" (identifier "uVar8") (= "=") (binary_expression "(uint)*pbVar9" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar9"))) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(local_24 != 0)" (( "(") (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0")) () ")")) (; ";"))) (} "}"))) (expression_statement "WriteBlobByte(param_1,0x80);" (call_expression "WriteBlobByte(param_1,0x80)" (identifier "WriteBlobByte") (argument_list "(param_1,0x80)" (( "(") (identifier "param_1") (, ",") (number_literal "0x80") () ")"))) (; ";")) (expression_statement "RelinquishMagickMemory(puVar3);" (call_expression "RelinquishMagickMemory(puVar3)" (identifier "RelinquishMagickMemory") (argument_list "(puVar3)" (( "(") (identifier "puVar3") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "LogEventType": Some values do not have unique names */

type_1
function_1(type_2 *var_1,size_t var_9,type_3 *var_5,type_4 *exception)

{
  type_5 *var_19;
  type_3 var_15;
  type_6 *var_7;
  type_7 var_17;
  size_t var_13;
  type_3 *var_14;
  type_3 var_12;
  type_7 var_16;
  type_5 *var_18;
  type_3 *local_28;
  size_t var_10;
  
  if (var_1 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("image != (Image *) NULL","MagickCore/compress.c",0x44c,"PackbitsEncodeImage");
  }
  if (var_1->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    var_2("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,
                  "PackbitsEncodeImage");
  }
  if (var_1->debug != var_3) {
    var_4(TraceEvent,"MagickCore/compress.c","PackbitsEncodeImage",0x44f,"%s",
                   var_1->filename);
  }
  if (var_5 == (type_3 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,
                  "PackbitsEncodeImage");
  }
  var_7 = (type_6 *)var_6(0x80,1);
  if (var_7 == (type_6 *)0x0) {
    var_8
              (exception,"MagickCore/compress.c","PackbitsEncodeImage",0x454,ErrorException,
               "MemoryAllocationFailed","`%s\'",var_1->filename);
    return var_3;
  }
  var_10 = var_9;
  if (var_9 != 0) {
LAB_00074f3a:
    do {
      if (var_10 == 2) {
        var_11(var_1,'\x01');
        var_11(var_1,*var_5);
        var_11(var_1,var_5[1]);
        break;
      }
      if (var_10 == 3) {
        if ((*var_5 == var_5[1]) && (*var_5 == var_5[2])) {
          var_12 = 0xfe;
LAB_00074fe1:
          var_11(var_1,var_12);
          var_11(var_1,*var_5);
        }
        else {
          var_11(var_1,'\x02');
          var_11(var_1,*var_5);
          var_11(var_1,var_5[1]);
          var_11(var_1,var_5[2]);
        }
        break;
      }
      if (var_10 == 1) {
        var_12 = '\0';
        goto LAB_00074fe1;
      }
      var_12 = *var_5;
      if ((var_12 == var_5[1]) && (var_12 == var_5[2])) {
        if ((int)var_10 < 4) {
LAB_0007524c:
          var_14 = var_5 + 3;
          var_12 = 0xfe;
          var_13 = 3;
        }
        else {
          var_14 = var_5 + 4;
          var_13 = 4;
          if (var_12 != var_5[3]) goto LAB_0007524c;
          do {
            if ((var_13 == var_10) || (var_12 != *var_14)) {
              var_12 = '\x01' - (char)var_13;
              goto LAB_00075173;
            }
            var_13 = var_13 + 1;
            var_14 = var_14 + 1;
          } while (var_13 != 0x7f);
          var_12 = 0x82;
          var_14 = var_5 + 0x7f;
        }
LAB_00075173:
        var_10 = var_10 - var_13;
        var_11(var_1,var_12);
        var_11(var_1,*var_5);
        var_5 = var_14;
        if (var_10 == 0) break;
        goto LAB_00074f3a;
      }
      var_16 = 0;
      var_14 = var_5;
      do {
        local_28 = var_14 + 1;
        var_15 = *local_28;
        if ((var_15 == var_12) && (var_14[2] == var_12)) {
          var_5 = var_5 + var_16;
          var_17 = var_16;
          var_16 = var_16 - 1;
          goto LAB_000750d7;
        }
        var_7[var_16 + 1] = var_12;
        var_17 = var_16 + 1;
        if ((int)(var_10 - 3) <= (int)var_17) {
          var_5 = var_5 + var_17;
          goto LAB_000750d7;
        }
        var_16 = var_17;
        var_12 = var_15;
        var_14 = local_28;
      } while (var_17 != 0x7f);
      var_5 = var_5 + 0x7f;
      var_16 = 0x7e;
LAB_000750d7:
      var_10 = var_10 - var_17;
      var_18 = var_7 + 1;
      *var_7 = (char)var_16;
      var_19 = var_18 + var_17;
      for (; var_11(var_1,(type_3)var_16), var_18 != var_19; var_18 = var_18 + 1) {
        var_16 = (type_7)*var_18;
      }
    } while (var_10 != 0);
  }
  var_11(var_1,0x80);
  var_20(var_7);
  return MagickTrue;
}


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

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

undefined4 MASKED(int param_1,int param_2,char *param_3,undefined4 param_4)

{
  byte *pbVar1;
  char cVar2;
  undefined1 *puVar3;
  uint uVar4;
  int iVar5;
  char *pcVar6;
  char cVar7;
  uint uVar8;
  byte *pbVar9;
  undefined4 uVar10;
  char *local_28;
  int local_24;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/compress.c",0x44c,"MASKED");
  }
  if (*(int *)(param_1 + 0x3344) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/compress.c",0x44d,
                  "MASKED");
  }
  if (*(int *)(param_1 + 0x3328) != 0) {
    LogMagickEvent(0x8000,"MagickCore/compress.c","MASKED",0x44f,&DAT_002b6e4e,
                   param_1 + 0x318);
  }
  if (param_3 == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("pixels != (unsigned char *) NULL","MagickCore/compress.c",0x450,
                  "MASKED");
  }
  puVar3 = (undefined1 *)AcquireQuantumMemory(0x80,1);
  if (puVar3 == (undefined1 *)0x0) {
    ThrowMagickException
              (param_4,"MagickCore/compress.c","MASKED",0x454,400,
               "MemoryAllocationFailed","`%s\'",param_1 + 0x318);
    return 0;
  }
  local_24 = param_2;
  if (param_2 != 0) {
LAB_00074f3a:
    do {
      if (local_24 == 2) {
        WriteBlobByte(param_1,1);
        WriteBlobByte(param_1,*param_3);
        WriteBlobByte(param_1,param_3[1]);
        break;
      }
      if (local_24 == 3) {
        if ((*param_3 == param_3[1]) && (*param_3 == param_3[2])) {
          uVar10 = 0xfe;
LAB_00074fe1:
          WriteBlobByte(param_1,uVar10);
          WriteBlobByte(param_1,*param_3);
        }
        else {
          WriteBlobByte(param_1,2);
          WriteBlobByte(param_1,*param_3);
          WriteBlobByte(param_1,param_3[1]);
          WriteBlobByte(param_1,param_3[2]);
        }
        break;
      }
      if (local_24 == 1) {
        uVar10 = 0;
        goto LAB_00074fe1;
      }
      cVar7 = *param_3;
      if ((cVar7 == param_3[1]) && (cVar7 == param_3[2])) {
        if (local_24 < 4) {
LAB_0007524c:
          pcVar6 = param_3 + 3;
          uVar8 = 0xfe;
          iVar5 = 3;
        }
        else {
          pcVar6 = param_3 + 4;
          iVar5 = 4;
          if (cVar7 != param_3[3]) goto LAB_0007524c;
          do {
            if ((iVar5 == local_24) || (cVar7 != *pcVar6)) {
              uVar8 = 1U - iVar5 & 0xff;
              goto LAB_00075173;
            }
            iVar5 = iVar5 + 1;
            pcVar6 = pcVar6 + 1;
          } while (iVar5 != 0x7f);
          uVar8 = 0x82;
          pcVar6 = param_3 + 0x7f;
        }
LAB_00075173:
        local_24 = local_24 - iVar5;
        WriteBlobByte(param_1,uVar8);
        WriteBlobByte(param_1,*param_3);
        param_3 = pcVar6;
        if (local_24 == 0) break;
        goto LAB_00074f3a;
      }
      uVar8 = 0;
      pcVar6 = param_3;
      do {
        local_28 = pcVar6 + 1;
        cVar2 = *local_28;
        if ((cVar2 == cVar7) && (pcVar6[2] == cVar7)) {
          param_3 = param_3 + uVar8;
          uVar4 = uVar8;
          uVar8 = uVar8 - 1;
          goto LAB_000750d7;
        }
        puVar3[uVar8 + 1] = cVar7;
        uVar4 = uVar8 + 1;
        if (local_24 + -3 <= (int)uVar4) {
          param_3 = param_3 + uVar4;
          goto LAB_000750d7;
        }
        uVar8 = uVar4;
        cVar7 = cVar2;
        pcVar6 = local_28;
      } while (uVar4 != 0x7f);
      param_3 = param_3 + 0x7f;
      uVar8 = 0x7e;
LAB_000750d7:
      local_24 = local_24 - uVar4;
      pbVar9 = puVar3 + 1;
      *puVar3 = (char)uVar8;
      pbVar1 = pbVar9 + uVar4;
      for (; WriteBlobByte(param_1,uVar8 & 0xff), pbVar9 != pbVar1; pbVar9 = pbVar9 + 1) {
        uVar8 = (uint)*pbVar9;
      }
    } while (local_24 != 0);
  }
  WriteBlobByte(param_1,0x80);
  RelinquishMagickMemory(puVar3);
  return 1;
}

