#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int EOF;
int /*<<< orphan*/ SEEK_CUR;
int /*<<< orphan*/ fread(unsigned char *, int, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ fseek(int /*<<< orphan*/ *, unsigned long,
                         int /*<<< orphan*/);
void *getc(int /*<<< orphan*/ *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ sprintf(char *, char *, unsigned long);
int strlen(char *);
void decodeArchive(FILE *stream, char archiveTypeID) {
  unsigned char classDataBuf[256] = {0};
  char spaces[512] = {0};
  int s = 0;
  int c = 0;
  int d = 0;
  int depth = 0;
  int mark = 0;
  int markSet = 0;
  int nextArrayKey = 0;
  int nextDataBuffer = 0;
  while ((c = getc(stream)) != EOF) {
    for (s = 0; s < depth; s++)
      spaces[s] = ' ';
    spaces[depth] = 0;
    if (c == 0x84) {
      if (markSet == 0) {
        mark = 0;
      }
      mark++;
      markSet++;
    } else {
      markSet = 0;
      if (d == 0x92) {
        printf("%sMissing Marker\n", spaces);
        depth -= 2;
        spaces[depth] = 0;
        printf("%s}\n", spaces);
      }
    }
    if (c == 1 && nextDataBuffer == 0) {
      printf("%sGrab next byte marker...\n", spaces);
      c = getc(stream);
    } else if (c > 0x00 && c < 0x80) {
      printf("%sKey byte: %d (0x%02X)\n", spaces, c, c);
      if (nextArrayKey == 1) {
        printf("%sArray Key\n", spaces);
        c = getc(stream);
      } else if (mark > 1 || nextDataBuffer == 1) {
        printf("%sReading %d bytes of data...\n", spaces, c);
        fread(&classDataBuf[0], sizeof(unsigned char), c, stream);
        classDataBuf[c] = 0;
        printf("%sData is '%s'\n", spaces, classDataBuf);
        continue;
      } else {
        printf("%sUnknown Key (mark <= 1)\n", spaces);
      }
    }
    nextArrayKey = 0;
    nextDataBuffer = 0;
    switch (c) {
    case 0x00:
      printf("%sPrevious data was Object/Class label\n", spaces);
      break;
    case '#':
      printf("%sClass Object [UNHANDLED]\n", spaces);
      break;
    case '*':
      printf("%sCharacter String [UNHANDLED]\n", spaces);
      break;
    case '+':
      printf("%sCString to follow...\n", spaces);
      nextDataBuffer = 1;
      break;
    case '3':
      printf("%sUnknown - 3 [UNHANDLED]\n", spaces);
      break;
    case ':':
      printf("%sMethod selector [UNHANDLED]\n", spaces);
      break;
    case '?':
      printf("%sUnknown Type [UNHANDLED]\n", spaces);
      break;
    case '@':
      printf("%sObject\n", spaces);
      printf("%s{\n", spaces);
      break;
    case 'B':
      printf("%sBool [UNHANDLED]\n", spaces);
      break;
    case 'C': {
      unsigned char cVal = 0;
      cVal = getc(stream);
      printf("%sUnsigned Char: %c\n", spaces, cVal);
    } break;
    case 'I':
      printf("%sUnsigned Int [UNHANDLED]\n", spaces);
      break;
    case 'L':
      printf("%sUnsigned Long [UNHANDLED]\n", spaces);
      break;
    case 'O':
      printf("%sMethod Out [UNHANDLED]\n", spaces);
      break;
    case 'S':
      printf("%sUnsigned Short [UNHANDLED]\n", spaces);
      break;
    case 'Q':
      printf("%sUnsigned Long [UNHANDLED]\n", spaces);
      break;
    case 'R':
      printf("%sMethod ByRef [UNHANDLED]\n", spaces);
      break;
    case 'V':
      printf("%sMethod One Way [UNHANDLED]\n", spaces);
      break;
    case '^':
      printf("%sPointer to Type [UNHANDLED]\n", spaces);
      break;
    case 'b':
      printf("%sBit Feild [UNHANDLED]\n", spaces);
      break;
    case 'c': {
      char cVal = 0;
      cVal = getc(stream);
      printf("%sChar: %c\n", spaces, cVal);
    } break;
    case 'd':
      printf("%sDouble [UNHANDLED]\n", spaces);
      break;
    case 'f':
      printf("%sFloat\n", spaces);
      fread(&classDataBuf[0], sizeof(unsigned char), 8, stream);
      break;
    case 'i': {
      int nVal = 0;
      nVal = getc(stream);
      printf("%sInteger: %d\n", spaces, nVal);
    } break;
    case 'n':
      printf("%sMethod In [UNHANDLED]\n", spaces);
      break;
    case 'o':
      printf("%sMethod Out [UNHANDLED]\n", spaces);
      break;
    case 'l':
      printf("%sLong [UNHANDLED]\n", spaces);
      break;
    case 'q':
      printf("%sLong Long [UNHANDLED]\n", spaces);
      break;
    case 'r':
      printf("%sMethod Const [UNHANDLED]\n", spaces);
      break;
    case 's':
      printf("%sShort [UNHANDLED]\n", spaces);
      break;
    case 'v':
      printf("%sVoid [UNHANDLED]\n", spaces);
      break;
    case 0x81: {
      unsigned char b[2] = {0, 0};
      unsigned long skip = 0;
      fread(&b[0], sizeof(char), 2, stream);
      if (archiveTypeID == 1) {
        skip = b[1] | b[0] << 8;
      }
      if (archiveTypeID == 2) {
        skip = b[0] | b[1] << 8;
      }
      printf("\n%sMedium data stream of size: %ld\n\n", spaces, skip);
      fseek(stream, skip, SEEK_CUR);
    } break;
    case 0x82: {
      unsigned char b[4] = {0, 0, 0, 0};
      unsigned long skip = 0;
      char bufstr[24] = {0};
      int idlen = 0;
      fread(&b[0], sizeof(char), 4, stream);
      if (archiveTypeID == 1) {
        skip = b[3] | b[2] << 8 | b[1] << 16 | b[0] << 24;
      }
      if (archiveTypeID == 2) {
        skip = b[0] | b[1] << 8 | b[2] << 16 | b[3] << 24;
      }
      printf("\n%sLong data stream of size: %ld\n\n", spaces, skip);
      sprintf(&bufstr[0], "[%ldc]", skip);
      idlen = strlen(&bufstr[0]);
      c = getc(stream);
      if (c != 0x84) {
        printf("Read byte not found - expected 0x84 got 0x%02X\n", c);
      }
      c = getc(stream);
      if (c != idlen) {
        printf("Data label length mismatch - expected %d got %d\n", idlen, c);
      }
      fseek(stream, idlen, SEEK_CUR);
      fseek(stream, skip, SEEK_CUR);
    } break;
    case 0x83:
      printf("%sRead 4 bytes ='0x%02X'\n", spaces, c);
      printf("%sUNKNOWN 4-BYTE VALUE\n", spaces);
      getc(stream);
      getc(stream);
      getc(stream);
      getc(stream);
      break;
    case 0x84:
      printf("%s-mark- %d\n", spaces, mark);
      break;
    case 0x85:
      printf("%sObject S0 ='0x%02X'\n", spaces, c);
      depth += 2;
      break;
    case 0x86:
      depth -= 2;
      spaces[depth] = 0;
      printf("%s}\n", spaces);
      printf("%sItem E: ='0x%02X'\n\n", spaces, c);
      break;
    case 0x92:
      printf("%sItem S1: ='0x%02X'\n", spaces, c);
      depth += 2;
      printf("%s{\n", spaces);
      break;
    case 0x93:
      printf("%sItem S2: '0x%02X'\n", spaces, c);
      break;
    case 0x95:
      printf("%sArray Start: ='0x%02X'\n", spaces, c);
      break;
    case 0x96:
      printf("%sArray Data: ='0x%02X'\n", spaces, c);
      nextArrayKey = 1;
      break;
    case 0x97:
      printf("%sArray Element: ='0x%02X'\n", spaces, c);
      break;
    case 0x98:
      printf("%sData Buffer: ='0x%02X'\n", spaces, c);
      nextDataBuffer = 1;
      break;
    default:
      printf("%sUNKNOWN: '0x%02X'\n", spaces, c);
      break;
    }
    d = c;
  }
}


x86 assembly (clang, -O0):
<decodeArchive>:
push   %rbp
mov    %rsp,%rbp
sub    $0x380,%rsp
mov    %sil,%al
mov    %rdi,-0x8(%rbp)
mov    %al,-0x9(%rbp)
lea    -0x110(%rbp),%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1060 <memset@plt>
lea    -0x310(%rbp),%rdi
xor    %esi,%esi
mov    $0x200,%edx
call   1060 <memset@plt>
movl   $0x0,-0x314(%rbp)
movl   $0x0,-0x318(%rbp)
movl   $0x0,-0x31c(%rbp)
movl   $0x0,-0x320(%rbp)
movl   $0x0,-0x324(%rbp)
movl   $0x0,-0x328(%rbp)
movl   $0x0,-0x32c(%rbp)
movl   $0x0,-0x330(%rbp)
mov    -0x8(%rbp),%rdi
call   1090 <getc@plt>
mov    %eax,-0x318(%rbp)
mov    0x2dcf(%rip),%rcx
cmp    (%rcx),%eax
je     1cfc <decodeArchive+0xb8c>
movl   $0x0,-0x314(%rbp)
mov    -0x314(%rbp),%eax
cmp    -0x320(%rbp),%eax
jge    1258 <decodeArchive+0xe8>
movslq -0x314(%rbp),%rax
movb   $0x20,-0x310(%rbp,%rax,1)
20
mov    -0x314(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x314(%rbp)
jmp    1223 <decodeArchive+0xb3>
movslq -0x320(%rbp),%rax
movb   $0x0,-0x310(%rbp,%rax,1)
cmpl   $0x84,-0x318(%rbp)
jne    12b1 <decodeArchive+0x141>
cmpl   $0x0,-0x328(%rbp)
jne    128e <decodeArchive+0x11e>
movl   $0x0,-0x324(%rbp)
mov    -0x324(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x324(%rbp)
mov    -0x328(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x328(%rbp)
jmp    1318 <decodeArchive+0x1a8>
movl   $0x0,-0x328(%rbp)
cmpl   $0x92,-0x31c(%rbp)
jne    1313 <decodeArchive+0x1a3>
lea    -0x310(%rbp),%rsi
lea    0xf8b(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x320(%rbp),%eax
sub    $0x2,%eax
mov    %eax,-0x320(%rbp)
movslq -0x320(%rbp),%rax
movb   $0x0,-0x310(%rbp,%rax,1)
lea    -0x310(%rbp),%rsi
lea    0xf6a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1318 <decodeArchive+0x1a8>
cmpl   $0x1,-0x318(%rbp)
jne    135b <decodeArchive+0x1eb>
cmpl   $0x0,-0x330(%rbp)
jne    135b <decodeArchive+0x1eb>
lea    -0x310(%rbp),%rsi
lea    0xf3b(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rdi
call   1090 <getc@plt>
mov    %eax,-0x318(%rbp)
jmp    1473 <decodeArchive+0x303>
cmpl   $0x0,-0x318(%rbp)
jle    146e <decodeArchive+0x2fe>
cmpl   $0x80,-0x318(%rbp)
jge    146e <decodeArchive+0x2fe>
lea    -0x310(%rbp),%rsi
mov    -0x318(%rbp),%edx
mov    -0x318(%rbp),%ecx
lea    0xf05(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
cmpl   $0x1,-0x32c(%rbp)
jne    13cf <decodeArchive+0x25f>
lea    -0x310(%rbp),%rsi
lea    0xefc(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rdi
call   1090 <getc@plt>
mov    %eax,-0x318(%rbp)
jmp    1469 <decodeArchive+0x2f9>
cmpl   $0x1,-0x324(%rbp)
jg     13e9 <decodeArchive+0x279>
cmpl   $0x1,-0x330(%rbp)
jne    144f <decodeArchive+0x2df>
lea    -0x310(%rbp),%rsi
mov    -0x318(%rbp),%edx
lea    0xec0(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
mov    -0x318(%rbp),%edx
mov    -0x8(%rbp),%rcx
mov    $0x1,%esi
call   1030 <fread@plt>
movslq -0x318(%rbp),%rax
movb   $0x0,-0x110(%rbp,%rax,1)
lea    -0x310(%rbp),%rsi
lea    -0x110(%rbp),%rdx
lea    0xe99(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    11fb <decodeArchive+0x8b>
lea    -0x310(%rbp),%rsi
lea    0xe8f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1469 <decodeArchive+0x2f9>
jmp    146e <decodeArchive+0x2fe>
jmp    1473 <decodeArchive+0x303>
movl   $0x0,-0x32c(%rbp)
movl   $0x0,-0x330(%rbp)
mov    -0x318(%rbp),%eax
mov    %rax,-0x380(%rbp)
sub    $0x98,%rax
ja     1cd0 <decodeArchive+0xb60>
mov    -0x380(%rbp),%rax
lea    0xb52(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    -0x310(%rbp),%rsi
lea    0xe42(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xe50(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xe52(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xe58(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x1,-0x330(%rbp)
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xe4c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xe4d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xe52(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xe54(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x310(%rbp),%rsi
lea    0xe49(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xe34(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
movb   $0x0,-0x331(%rbp)
mov    -0x8(%rbp),%rdi
call   1090 <getc@plt>
mov    %al,-0x331(%rbp)
lea    -0x310(%rbp),%rsi
movzbl -0x331(%rbp),%edx
lea    0xe11(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xe0c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xe0e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xe11(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xe11(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xdc0(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xdfb(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xdfd(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xe01(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xe06(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
movb   $0x0,-0x332(%rbp)
mov    -0x8(%rbp),%rdi
call   1090 <getc@plt>
mov    %al,-0x332(%rbp)
lea    -0x310(%rbp),%rsi
movsbl -0x332(%rbp),%edx
lea    0xde8(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xdda(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xdd6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x110(%rbp),%rdi
mov    -0x8(%rbp),%rcx
mov    $0x1,%esi
mov    $0x8,%edx
call   1030 <fread@plt>
jmp    1ceb <decodeArchive+0xb7b>
movl   $0x0,-0x338(%rbp)
mov    -0x8(%rbp),%rdi
call   1090 <getc@plt>
mov    %eax,-0x338(%rbp)
lea    -0x310(%rbp),%rsi
mov    -0x338(%rbp),%edx
lea    0xd8c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xd81(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xc83(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xd66(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xd60(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xd5f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xd61(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
lea    0xd5c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x33a(%rbp),%rdi
xor    %esi,%esi
mov    $0x2,%edx
call   1060 <memset@plt>
movq   $0x0,-0x348(%rbp)
lea    -0x33a(%rbp),%rdi
mov    -0x8(%rbp),%rcx
mov    $0x1,%esi
mov    $0x2,%edx
call   1030 <fread@plt>
movsbl -0x9(%rbp),%eax
cmp    $0x1,%eax
jne    18b6 <decodeArchive+0x746>
movzbl -0x339(%rbp),%eax
movzbl -0x33a(%rbp),%ecx
shl    $0x8,%ecx
or     %ecx,%eax
cltq
mov    %rax,-0x348(%rbp)
movsbl -0x9(%rbp),%eax
cmp    $0x2,%eax
jne    18df <decodeArchive+0x76f>
movzbl -0x33a(%rbp),%eax
movzbl -0x339(%rbp),%ecx
shl    $0x8,%ecx
or     %ecx,%eax
cltq
mov    %rax,-0x348(%rbp)
lea    -0x310(%rbp),%rsi
mov    -0x348(%rbp),%rdx
lea    0xcc5(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x348(%rbp),%rsi
mov    0x26db(%rip),%rax
mov    (%rax),%edx
call   1070 <fseek@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x34c(%rbp),%rdi
xor    %esi,%esi
mov    $0x4,%edx
call   1060 <memset@plt>
movq   $0x0,-0x358(%rbp)
lea    -0x370(%rbp),%rdi
xor    %esi,%esi
mov    $0x18,%edx
call   1060 <memset@plt>
movl   $0x0,-0x374(%rbp)
lea    -0x34c(%rbp),%rdi
mov    -0x8(%rbp),%rcx
mov    $0x1,%esi
mov    $0x4,%edx
call   1030 <fread@plt>
movsbl -0x9(%rbp),%eax
cmp    $0x1,%eax
jne    19af <decodeArchive+0x83f>
movzbl -0x349(%rbp),%eax
movzbl -0x34a(%rbp),%ecx
shl    $0x8,%ecx
or     %ecx,%eax
movzbl -0x34b(%rbp),%ecx
shl    $0x10,%ecx
or     %ecx,%eax
movzbl -0x34c(%rbp),%ecx
shl    $0x18,%ecx
or     %ecx,%eax
cltq
mov    %rax,-0x358(%rbp)
movsbl -0x9(%rbp),%eax
cmp    $0x2,%eax
jne    19f0 <decodeArchive+0x880>
movzbl -0x34c(%rbp),%eax
movzbl -0x34b(%rbp),%ecx
shl    $0x8,%ecx
or     %ecx,%eax
movzbl -0x34a(%rbp),%ecx
shl    $0x10,%ecx
or     %ecx,%eax
movzbl -0x349(%rbp),%ecx
shl    $0x18,%ecx
or     %ecx,%eax
cltq
mov    %rax,-0x358(%rbp)
lea    -0x310(%rbp),%rsi
mov    -0x358(%rbp),%rdx
lea    0xbd9(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x370(%rbp),%rdi
mov    -0x358(%rbp),%rdx
lea    0xbe0(%rip),%rsi
call   1080 <sprintf@plt>
lea    -0x370(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x374(%rbp)
mov    -0x8(%rbp),%rdi
call   1090 <getc@plt>
mov    %eax,-0x318(%rbp)
cmpl   $0x84,-0x318(%rbp)
je     1a6b <decodeArchive+0x8fb>
mov    -0x318(%rbp),%esi
lea    0xba4(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rdi
call   1090 <getc@plt>
mov    %eax,-0x318(%rbp)
mov    -0x318(%rbp),%eax
cmp    -0x374(%rbp),%eax
je     1aa6 <decodeArchive+0x936>
mov    -0x374(%rbp),%esi
mov    -0x318(%rbp),%edx
lea    0xb99(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rdi
movslq -0x374(%rbp),%rsi
mov    0x2530(%rip),%rax
mov    (%rax),%edx
call   1070 <fseek@plt>
mov    -0x8(%rbp),%rdi
mov    -0x358(%rbp),%rsi
mov    0x2517(%rip),%rax
mov    (%rax),%edx
call   1070 <fseek@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
mov    -0x318(%rbp),%edx
lea    0xb78(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x310(%rbp),%rsi
lea    0xb7d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rdi
call   1090 <getc@plt>
mov    -0x8(%rbp),%rdi
call   1090 <getc@plt>
mov    -0x8(%rbp),%rdi
call   1090 <getc@plt>
mov    -0x8(%rbp),%rdi
call   1090 <getc@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
mov    -0x324(%rbp),%edx
lea    0xb51(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
mov    -0x318(%rbp),%edx
lea    0xb3e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x320(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x320(%rbp)
jmp    1ceb <decodeArchive+0xb7b>
mov    -0x320(%rbp),%eax
sub    $0x2,%eax
mov    %eax,-0x320(%rbp)
movslq -0x320(%rbp),%rax
movb   $0x0,-0x310(%rbp,%rax,1)
lea    -0x310(%rbp),%rsi
lea    0x6c5(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x310(%rbp),%rsi
mov    -0x318(%rbp),%edx
lea    0xaf3(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
mov    -0x318(%rbp),%edx
lea    0xae9(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x320(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x320(%rbp)
lea    -0x310(%rbp),%rsi
lea    0x7d3(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
mov    -0x318(%rbp),%edx
lea    0xabb(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
mov    -0x318(%rbp),%edx
lea    0xab0(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
mov    -0x318(%rbp),%edx
lea    0xaaa(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x1,-0x32c(%rbp)
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
mov    -0x318(%rbp),%edx
lea    0xa99(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
mov    -0x318(%rbp),%edx
lea    0xa95(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x1,-0x330(%rbp)
jmp    1ceb <decodeArchive+0xb7b>
lea    -0x310(%rbp),%rsi
mov    -0x318(%rbp),%edx
lea    0xa85(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x318(%rbp),%eax
mov    %eax,-0x31c(%rbp)
jmp    11fb <decodeArchive+0x8b>
add    $0x380,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<decodeArchive>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x368,%rsp
mov    %esi,0x34(%rsp)
mov    %rdi,%rbx
xorps  %xmm0,%xmm0
movaps %xmm0,0x350(%rsp)
movaps %xmm0,0x340(%rsp)
movaps %xmm0,0x330(%rsp)
movaps %xmm0,0x320(%rsp)
movaps %xmm0,0x310(%rsp)
movaps %xmm0,0x300(%rsp)
movaps %xmm0,0x2f0(%rsp)
movaps %xmm0,0x2e0(%rsp)
movaps %xmm0,0x2d0(%rsp)
movaps %xmm0,0x2c0(%rsp)
movaps %xmm0,0x2b0(%rsp)
movaps %xmm0,0x2a0(%rsp)
movaps %xmm0,0x290(%rsp)
movaps %xmm0,0x280(%rsp)
movaps %xmm0,0x270(%rsp)
movaps %xmm0,0x260(%rsp)
lea    0x60(%rsp),%rdi
mov    $0x200,%edx
xor    %esi,%esi
call   1060 <memset@plt>
mov    %rbx,0x20(%rsp)
mov    %rbx,%rdi
call   1090 <getc@plt>
mov    %rax,%r13
mov    0x2dad(%rip),%rax
cmp    %r13d,(%rax)
jne    124a <decodeArchive+0xda>
add    $0x368,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %r13,0x38(%rsp)
xor    %eax,%eax
mov    %rax,0x10(%rsp)
movl   $0x0,0xc(%rsp)
xor    %r15d,%r15d
xor    %ebp,%ebp
movl   $0x0,0x2c(%rsp)
xor    %r12d,%r12d
xchg   %ax,%ax
cmpl   $0x2,0x2c(%rsp)
setge  %al
cmpl   $0x1,0xc(%rsp)
sete   %cl
or     %al,%cl
mov    %cl,0x1f(%rsp)
mov    0x38(%rsp),%r14
nopl   0x0(%rax,%rax,1)
test   %r12d,%r12d
jle    12a7 <decodeArchive+0x137>
mov    %r12d,%edx
lea    0x60(%rsp),%rdi
mov    $0x20,%esi
call   1060 <memset@plt>
movslq %r12d,%rbx
movb   $0x0,0x60(%rsp,%rbx,1)
cmp    $0x84,%r13d
je     13c8 <decodeArchive+0x258>
cmpl   $0x92,0x10(%rsp)
jne    12f9 <decodeArchive+0x189>
lea    0xf97(%rip),%rdi
lea    0x60(%rsp),%r12
mov    %r12,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0x0,0x5e(%rsp,%rbx,1)
add    $0xfffffffffffffffe,%rbx
lea    0xf8a(%rip),%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebx,%r12d
cmp    $0x1,%r13d
jne    130a <decodeArchive+0x19a>
cmpl   $0x0,0xc(%rsp)
je     1409 <decodeArchive+0x299>
lea    -0x1(%r13),%eax
cmp    $0x7e,%eax
ja     144c <decodeArchive+0x2dc>
lea    0xf79(%rip),%rdi
lea    0x60(%rsp),%rsi
mov    %r13d,%edx
mov    %r13d,%ecx
xor    %eax,%eax
call   1050 <printf@plt>
cmp    $0x1,%r15d
je     1412 <decodeArchive+0x2a2>
cmpb   $0x0,0x1f(%rsp)
je     1434 <decodeArchive+0x2c4>
xor    %r15d,%r15d
lea    0xf6e(%rip),%rdi
lea    0x60(%rsp),%r14
mov    %r14,%rsi
mov    %r13d,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x260(%rsp),%rbp
mov    %rbp,%rdi
mov    $0x1,%esi
mov    %r13d,%edx
mov    0x20(%rsp),%rbx
mov    %rbx,%rcx
call   1030 <fread@plt>
movslq %r13d,%rax
movb   $0x0,0x260(%rsp,%rax,1)
lea    0xf49(%rip),%rdi
mov    %r14,%rsi
mov    %rbp,%rdx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
call   1090 <getc@plt>
mov    %rax,%r13
mov    %rax,%r14
mov    $0x0,%ebp
mov    0x2c26(%rip),%rax
cmp    %r13d,(%rax)
jne    1290 <decodeArchive+0x120>
jmp    1238 <decodeArchive+0xc8>
mov    0x2c(%rsp),%ecx
add    $0x1,%ecx
test   %ebp,%ebp
mov    $0x1,%eax
cmove  %eax,%ecx
mov    %ecx,0x2c(%rsp)
add    $0x1,%ebp
xor    %r15d,%r15d
lea    0x12b1(%rip),%rdi
lea    0x60(%rsp),%rsi
mov    0x2c(%rsp),%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x84,%eax
mov    %rax,0x10(%rsp)
jmp    1ba3 <decodeArchive+0xa33>
lea    0xe6b(%rip),%rdi
jmp    1419 <decodeArchive+0x2a9>
lea    0xe97(%rip),%rdi
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x20(%rsp),%rdi
call   1090 <getc@plt>
mov    %rax,%r14
jmp    144c <decodeArchive+0x2dc>
lea    0xeb1(%rip),%rdi
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x38(%rsp),%r14
mov    %r14d,%edx
cmp    $0x98,%r14d
ja     1498 <decodeArchive+0x328>
xor    %ebp,%ebp
mov    %edx,%eax
lea    0xb9d(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xe94(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %r15d,%r15d
movl   $0x0,0xc(%rsp)
xor    %eax,%eax
mov    %rax,0x10(%rsp)
jmp    1bab <decodeArchive+0xa3b>
xor    %ebp,%ebp
lea    0x12c8(%rip),%rdi
lea    0x60(%rsp),%rsi
mov    %rdx,0x10(%rsp)
jmp    1b94 <decodeArchive+0xa24>
lea    0xe78(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x23,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xe70(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x2a,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xe6c(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x2b,%eax
mov    %rax,0x10(%rsp)
jmp    1bf6 <decodeArchive+0xa86>
lea    0xe60(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x33,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xe57(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x3a,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xe52(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x3f,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xe4a(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%r14
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe3c(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x40,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xe21(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x42,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
mov    0x20(%rsp),%rdi
call   1090 <getc@plt>
movzbl %al,%edx
lea    0xe04(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x43,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xdf5(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x49,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xded(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x4c,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xde6(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x4f,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xda5(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x51,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xdd6(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x52,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xd94(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x53,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xdaa(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x56,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xda4(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x5e,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xd9f(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x62,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
mov    0x20(%rsp),%rdi
call   1090 <getc@plt>
movsbl %al,%edx
lea    0xd87(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x63,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xd6f(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x64,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xd61(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x260(%rsp),%rdi
mov    $0x1,%esi
mov    $0x8,%edx
mov    0x20(%rsp),%rcx
call   1030 <fread@plt>
mov    $0x66,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
mov    0x20(%rsp),%rdi
call   1090 <getc@plt>
lea    0xd20(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x69,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xd22(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x6c,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xce5(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x6e,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xbdd(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x6f,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xcca(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x71,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xcbf(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x72,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xcb7(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x73,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
lea    0xca8(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x76,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
movw   $0x0,0x40(%rsp)
lea    0x40(%rsp),%rdi
mov    $0x1,%esi
mov    $0x2,%edx
mov    0x20(%rsp),%rbx
mov    %rbx,%rcx
call   1030 <fread@plt>
movzbl 0x41(%rsp),%r14d
movzbl 0x40(%rsp),%eax
mov    %rax,%rcx
shl    $0x8,%rcx
or     %r14,%rcx
xor    %ebp,%ebp
mov    0x34(%rsp),%edx
cmp    $0x1,%dl
cmovne %rbp,%rcx
shl    $0x8,%r14
or     %rax,%r14
cmp    $0x2,%dl
cmovne %rcx,%r14
lea    0xc45(%rip),%rdi
lea    0x60(%rsp),%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x265e(%rip),%rax
mov    (%rax),%edx
mov    %rbx,%rdi
mov    %r14,%rsi
call   1070 <fseek@plt>
mov    $0x81,%eax
mov    %rax,0x10(%rsp)
jmp    1ba0 <decodeArchive+0xa30>
movl   $0x0,0x30(%rsp)
xorps  %xmm0,%xmm0
movaps %xmm0,0x40(%rsp)
movq   $0x0,0x50(%rsp)
lea    0x30(%rsp),%rdi
mov    $0x1,%esi
mov    $0x4,%edx
mov    0x20(%rsp),%rcx
call   1030 <fread@plt>
mov    0x34(%rsp),%eax
cmp    $0x2,%al
je     1c03 <decodeArchive+0xa93>
cmp    $0x1,%al
jne    1c0a <decodeArchive+0xa9a>
mov    0x30(%rsp),%eax
bswap  %eax
movslq %eax,%r13
jmp    1c0d <decodeArchive+0xa9d>
lea    0xc68(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%r14
mov    $0x83,%eax
mov    %rax,0x10(%rsp)
mov    %r14,%rsi
mov    $0x83,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc5b(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x20(%rsp),%rbx
mov    %rbx,%rdi
call   1090 <getc@plt>
mov    %rbx,%rdi
call   1090 <getc@plt>
mov    %rbx,%rdi
call   1090 <getc@plt>
mov    %rbx,%rdi
call   1090 <getc@plt>
jmp    1ba0 <decodeArchive+0xa30>
lea    0xc45(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
mov    $0x85,%eax
mov    %rax,0x10(%rsp)
mov    $0x85,%edx
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x2,%r12d
jmp    1ba0 <decodeArchive+0xa30>
movslq %r12d,%r12
movb   $0x0,0x5e(%rsp,%r12,1)
add    $0xfffffffffffffffe,%r12
lea    0x7d9(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%r14
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc0a(%rip),%rdi
mov    $0x86,%eax
mov    %rax,0x10(%rsp)
mov    %r14,%rsi
mov    $0x86,%edx
jmp    1b94 <decodeArchive+0xa24>
lea    0xc02(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%r14
mov    $0x92,%eax
mov    %rax,0x10(%rsp)
mov    %r14,%rsi
mov    $0x92,%edx
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x2,%r12d
lea    0x8e5(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    1ba0 <decodeArchive+0xa30>
lea    0xbd7(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
mov    $0x93,%eax
mov    %rax,0x10(%rsp)
mov    $0x93,%edx
jmp    1b94 <decodeArchive+0xa24>
lea    0xbcd(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
mov    $0x95,%eax
mov    %rax,0x10(%rsp)
mov    $0x95,%edx
jmp    1b94 <decodeArchive+0xa24>
lea    0xbc8(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
mov    $0x96,%eax
mov    %rax,0x10(%rsp)
mov    $0x96,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x1,%r15d
jmp    1ba3 <decodeArchive+0xa33>
lea    0xbb5(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
mov    $0x97,%eax
mov    %rax,0x10(%rsp)
mov    $0x97,%edx
xor    %eax,%eax
call   1050 <printf@plt>
nopl   0x0(%rax,%rax,1)
xor    %r15d,%r15d
movl   $0x0,0xc(%rsp)
mov    0x20(%rsp),%rdi
call   1090 <getc@plt>
mov    %rax,%r13
mov    %rax,0x38(%rsp)
mov    0x241c(%rip),%rax
cmp    %r13d,(%rax)
jne    1270 <decodeArchive+0x100>
jmp    1238 <decodeArchive+0xc8>
lea    0xb76(%rip),%rdi
xor    %ebp,%ebp
lea    0x60(%rsp),%rsi
mov    $0x98,%eax
mov    %rax,0x10(%rsp)
mov    $0x98,%edx
xor    %eax,%eax
call   1050 <printf@plt>
movl   $0x1,0xc(%rsp)
xor    %r15d,%r15d
jmp    1bab <decodeArchive+0xa3b>
movslq 0x30(%rsp),%r13
jmp    1c0d <decodeArchive+0xa9d>
xor    %r13d,%r13d
lea    0x9ca(%rip),%rdi
lea    0x60(%rsp),%rsi
mov    %r13,%rdx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x9d7(%rip),%rsi
lea    0x40(%rsp),%r14
mov    %r14,%rdi
mov    %r13,%rdx
call   1080 <sprintf@plt>
mov    %r14,%rdi
call   1040 <strlen@plt>
mov    %eax,%r14d
mov    0x20(%rsp),%rdi
call   1090 <getc@plt>
cmp    $0x84,%eax
je     1c66 <decodeArchive+0xaf6>
lea    0x9ab(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x20(%rsp),%rdi
call   1090 <getc@plt>
mov    %rax,%rbx
cmp    %ebx,%r14d
je     1c8b <decodeArchive+0xb1b>
lea    0x9b9(%rip),%rdi
mov    %r14d,%esi
mov    %ebx,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,0x10(%rsp)
movslq %r14d,%rsi
mov    0x234e(%rip),%rbx
mov    (%rbx),%edx
mov    0x20(%rsp),%rbp
mov    %rbp,%rdi
call   1070 <fseek@plt>
mov    (%rbx),%edx
mov    %rbp,%rdi
mov    %r13,%rsi
call   1070 <fseek@plt>
xor    %ebp,%ebp
jmp    1ba0 <decodeArchive+0xa30>

LLVM IR (-O0):
@EOF = global i32 0
@.str = [18 x i8] c"%sMissing Marker\0A\00"
@.str.1 = [5 x i8] c"%s}\0A\00"
@.str.2 = [28 x i8] c"%sGrab next byte marker...\0A\00"
@.str.3 = [25 x i8] c"%sKey byte: %d (0x%02X)\0A\00"
@.str.4 = [13 x i8] c"%sArray Key\0A\00"
@.str.5 = [31 x i8] c"%sReading %d bytes of data...\0A\00"
@.str.6 = [16 x i8] c"%sData is '%s'\0A\00"
@.str.7 = [27 x i8] c"%sUnknown Key (mark <= 1)\0A\00"
@.str.8 = [40 x i8] c"%sPrevious data was Object/Class label\0A\00"
@.str.9 = [28 x i8] c"%sClass Object [UNHANDLED]\0A\00"
@.str.10 = [32 x i8] c"%sCharacter String [UNHANDLED]\0A\00"
@.str.11 = [24 x i8] c"%sCString to follow...\0A\00"
@.str.12 = [27 x i8] c"%sUnknown - 3 [UNHANDLED]\0A\00"
@.str.13 = [31 x i8] c"%sMethod selector [UNHANDLED]\0A\00"
@.str.14 = [28 x i8] c"%sUnknown Type [UNHANDLED]\0A\00"
@.str.15 = [10 x i8] c"%sObject\0A\00"
@.str.16 = [5 x i8] c"%s{\0A\00"
@.str.17 = [20 x i8] c"%sBool [UNHANDLED]\0A\00"
@.str.18 = [21 x i8] c"%sUnsigned Char: %c\0A\00"
@.str.19 = [28 x i8] c"%sUnsigned Int [UNHANDLED]\0A\00"
@.str.20 = [29 x i8] c"%sUnsigned Long [UNHANDLED]\0A\00"
@.str.21 = [26 x i8] c"%sMethod Out [UNHANDLED]\0A\00"
@.str.22 = [30 x i8] c"%sUnsigned Short [UNHANDLED]\0A\00"
@.str.23 = [28 x i8] c"%sMethod ByRef [UNHANDLED]\0A\00"
@.str.24 = [30 x i8] c"%sMethod One Way [UNHANDLED]\0A\00"
@.str.25 = [31 x i8] c"%sPointer to Type [UNHANDLED]\0A\00"
@.str.26 = [25 x i8] c"%sBit Feild [UNHANDLED]\0A\00"
@.str.27 = [12 x i8] c"%sChar: %c\0A\00"
@.str.28 = [22 x i8] c"%sDouble [UNHANDLED]\0A\00"
@.str.29 = [9 x i8] c"%sFloat\0A\00"
@.str.30 = [15 x i8] c"%sInteger: %d\0A\00"
@.str.31 = [25 x i8] c"%sMethod In [UNHANDLED]\0A\00"
@.str.32 = [20 x i8] c"%sLong [UNHANDLED]\0A\00"
@.str.33 = [25 x i8] c"%sLong Long [UNHANDLED]\0A\00"
@.str.34 = [28 x i8] c"%sMethod Const [UNHANDLED]\0A\00"
@.str.35 = [21 x i8] c"%sShort [UNHANDLED]\0A\00"
@.str.36 = [20 x i8] c"%sVoid [UNHANDLED]\0A\00"
@.str.37 = [37 x i8] c"\0A%sMedium data stream of size: %ld\0A\0A\00"
@SEEK_CUR = global i32 0
@.str.38 = [35 x i8] c"\0A%sLong data stream of size: %ld\0A\0A\00"
@.str.39 = [7 x i8] c"[%ldc]\00"
@.str.40 = [48 x i8] c"Read byte not found - expected 0x84 got 0x%02X\0A\00"
@.str.41 = [49 x i8] c"Data label length mismatch - expected %d got %d\0A\00"
@.str.42 = [26 x i8] c"%sRead 4 bytes ='0x%02X'\0A\00"
@.str.43 = [24 x i8] c"%sUNKNOWN 4-BYTE VALUE\0A\00"
@.str.44 = [13 x i8] c"%s-mark- %d\0A\00"
@.str.45 = [23 x i8] c"%sObject S0 ='0x%02X'\0A\00"
@.str.46 = [22 x i8] c"%sItem E: ='0x%02X'\0A\0A\00"
@.str.47 = [22 x i8] c"%sItem S1: ='0x%02X'\0A\00"
@.str.48 = [21 x i8] c"%sItem S2: '0x%02X'\0A\00"
@.str.49 = [26 x i8] c"%sArray Start: ='0x%02X'\0A\00"
@.str.50 = [25 x i8] c"%sArray Data: ='0x%02X'\0A\00"
@.str.51 = [28 x i8] c"%sArray Element: ='0x%02X'\0A\00"
@.str.52 = [26 x i8] c"%sData Buffer: ='0x%02X'\0A\00"
@.str.53 = [21 x i8] c"%sUNKNOWN: '0x%02X'\0A\00"
define void @decodeArchive(i32* %0, i8 signext %1) {
%3 = alloca i32*
%4 = alloca i8
%5 = alloca [256 x i8]
%6 = alloca [512 x i8]
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i8
%16 = alloca i8
%17 = alloca i32
%18 = alloca [2 x i8]
%19 = alloca i64
%20 = alloca [4 x i8]
%21 = alloca i64
%22 = alloca [24 x i8]
%23 = alloca i32
store i32* %0, i32** %3
store i8 %1, i8* %4
%24 = bitcast [256 x i8]* %5 to i8*
%25 = bitcast [512 x i8]* %6 to i8*
store i32 0, i32* %7
store i32 0, i32* %8
store i32 0, i32* %9
store i32 0, i32* %10
store i32 0, i32* %11
store i32 0, i32* %12
store i32 0, i32* %13
store i32 0, i32* %14
br label %26
26: ; preds = %439, %110, %2
%27 = load i32*, i32** %3
%28 = call i8* @getc(i32* %27)
%29 = ptrtoint i8* %28 to i32
store i32 %29, i32* %8
%30 = load i32, i32* @EOF
%31 = icmp ne i32 %29, %30
br i1 %31, label %32, label %441
32: ; preds = %26
store i32 0, i32* %7
br label %33
33: ; preds = %41, %32
%34 = load i32, i32* %7
%35 = load i32, i32* %10
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %44
37: ; preds = %33
%38 = load i32, i32* %7
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 %39
store i8 32, i8* %40
br label %41
41: ; preds = %37
%42 = load i32, i32* %7
%43 = add nsw i32 %42, 1
store i32 %43, i32* %7
br label %33
44: ; preds = %33
%45 = load i32, i32* %10
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 %46
store i8 0, i8* %47
%48 = load i32, i32* %8
%49 = icmp eq i32 %48, 132
br i1 %49, label %50, label %59
50: ; preds = %44
%51 = load i32, i32* %12
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %50
store i32 0, i32* %11
br label %54
54: ; preds = %53, %50
%55 = load i32, i32* %11
%56 = add nsw i32 %55, 1
store i32 %56, i32* %11
%57 = load i32, i32* %12
%58 = add nsw i32 %57, 1
store i32 %58, i32* %12
br label %73
59: ; preds = %44
store i32 0, i32* %12
%60 = load i32, i32* %9
%61 = icmp eq i32 %60, 146
br i1 %61, label %62, label %72
62: ; preds = %59
%63 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* %63)
%65 = load i32, i32* %10
%66 = sub nsw i32 %65, 2
store i32 %66, i32* %10
%67 = load i32, i32* %10
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 %68
store i8 0, i8* %69
%70 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* %70)
br label %72
72: ; preds = %62, %59
br label %73
73: ; preds = %72, %54
%74 = load i32, i32* %8
%75 = icmp eq i32 %74, 1
br i1 %75, label %76, label %85
76: ; preds = %73
%77 = load i32, i32* %14
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %85
79: ; preds = %76
%80 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i8* %80)
%82 = load i32*, i32** %3
%83 = call i8* @getc(i32* %82)
%84 = ptrtoint i8* %83 to i32
store i32 %84, i32* %8
br label %130
85: ; preds = %76, %73
%86 = load i32, i32* %8
%87 = icmp sgt i32 %86, 0
br i1 %87, label %88, label %129
88: ; preds = %85
%89 = load i32, i32* %8
%90 = icmp slt i32 %89, 128
br i1 %90, label %91, label %129
91: ; preds = %88
%92 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%93 = load i32, i32* %8
%94 = load i32, i32* %8
%95 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0), i8* %92, i32 %93, i32 %94)
%96 = load i32, i32* %13
%97 = icmp eq i32 %96, 1
br i1 %97, label %98, label %104
98: ; preds = %91
%99 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), i8* %99)
%101 = load i32*, i32** %3
%102 = call i8* @getc(i32* %101)
%103 = ptrtoint i8* %102 to i32
store i32 %103, i32* %8
br label %128
104: ; preds = %91
%105 = load i32, i32* %11
%106 = icmp sgt i32 %105, 1
br i1 %106, label %110, label %107
107: ; preds = %104
%108 = load i32, i32* %14
%109 = icmp eq i32 %108, 1
br i1 %109, label %110, label %124
110: ; preds = %107, %104
%111 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%112 = load i32, i32* %8
%113 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0), i8* %111, i32 %112)
%114 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 0
%115 = load i32, i32* %8
%116 = load i32*, i32** %3
%117 = call i32 @fread(i8* %114, i32 1, i32 %115, i32* %116)
%118 = load i32, i32* %8
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 %119
store i8 0, i8* %120
%121 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%122 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 0
%123 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), i8* %121, i8* %122)
br label %26
124: ; preds = %107
%125 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%126 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0), i8* %125)
br label %127
127: ; preds = %124
br label %128
128: ; preds = %127, %98
br label %129
129: ; preds = %128, %88, %85
br label %130
130: ; preds = %129, %79
store i32 0, i32* %13
store i32 0, i32* %14
%131 = load i32, i32* %8
switch i32 %131, label %435 [
i32 0, label %132
i32 35, label %135
i32 42, label %138
i32 43, label %141
i32 51, label %144
i32 58, label %147
i32 63, label %150
i32 64, label %153
i32 66, label %158
i32 67, label %161
i32 73, label %169
i32 76, label %172
i32 79, label %175
i32 83, label %178
i32 81, label %181
i32 82, label %184
i32 86, label %187
i32 94, label %190
i32 98, label %193
i32 99, label %196
i32 100, label %204
i32 102, label %207
i32 105, label %213
i32 110, label %220
i32 111, label %223
i32 108, label %226
i32 113, label %229
i32 114, label %232
i32 115, label %235
i32 118, label %238
i32 129, label %241
i32 130, label %281
i32 131, label %372
i32 132, label %386
i32 133, label %390
i32 134, label %396
i32 146, label %407
i32 147, label %415
i32 149, label %419
i32 150, label %423
i32 151, label %427
i32 152, label %431
]
132: ; preds = %130
%133 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%134 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.8, i64 0, i64 0), i8* %133)
br label %439
135: ; preds = %130
%136 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%137 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.9, i64 0, i64 0), i8* %136)
br label %439
138: ; preds = %130
%139 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%140 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0), i8* %139)
br label %439
141: ; preds = %130
%142 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%143 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.11, i64 0, i64 0), i8* %142)
store i32 1, i32* %14
br label %439
144: ; preds = %130
%145 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%146 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.12, i64 0, i64 0), i8* %145)
br label %439
147: ; preds = %130
%148 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%149 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.13, i64 0, i64 0), i8* %148)
br label %439
150: ; preds = %130
%151 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%152 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.14, i64 0, i64 0), i8* %151)
br label %439
153: ; preds = %130
%154 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%155 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0), i8* %154)
%156 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%157 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i8* %156)
br label %439
158: ; preds = %130
%159 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%160 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.17, i64 0, i64 0), i8* %159)
br label %439
161: ; preds = %130
store i8 0, i8* %15
%162 = load i32*, i32** %3
%163 = call i8* @getc(i32* %162)
%164 = ptrtoint i8* %163 to i8
store i8 %164, i8* %15
%165 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%166 = load i8, i8* %15
%167 = zext i8 %166 to i32
%168 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.18, i64 0, i64 0), i8* %165, i32 %167)
br label %439
169: ; preds = %130
%170 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%171 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.19, i64 0, i64 0), i8* %170)
br label %439
172: ; preds = %130
%173 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%174 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.20, i64 0, i64 0), i8* %173)
br label %439
175: ; preds = %130
%176 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%177 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.21, i64 0, i64 0), i8* %176)
br label %439
178: ; preds = %130
%179 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%180 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.22, i64 0, i64 0), i8* %179)
br label %439
181: ; preds = %130
%182 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%183 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.20, i64 0, i64 0), i8* %182)
br label %439
184: ; preds = %130
%185 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%186 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.23, i64 0, i64 0), i8* %185)
br label %439
187: ; preds = %130
%188 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%189 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.24, i64 0, i64 0), i8* %188)
br label %439
190: ; preds = %130
%191 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%192 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.25, i64 0, i64 0), i8* %191)
br label %439
193: ; preds = %130
%194 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%195 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.26, i64 0, i64 0), i8* %194)
br label %439
196: ; preds = %130
store i8 0, i8* %16
%197 = load i32*, i32** %3
%198 = call i8* @getc(i32* %197)
%199 = ptrtoint i8* %198 to i8
store i8 %199, i8* %16
%200 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%201 = load i8, i8* %16
%202 = sext i8 %201 to i32
%203 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.27, i64 0, i64 0), i8* %200, i32 %202)
br label %439
204: ; preds = %130
%205 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%206 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.28, i64 0, i64 0), i8* %205)
br label %439
207: ; preds = %130
%208 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%209 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.29, i64 0, i64 0), i8* %208)
%210 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 0
%211 = load i32*, i32** %3
%212 = call i32 @fread(i8* %210, i32 1, i32 8, i32* %211)
br label %439
213: ; preds = %130
store i32 0, i32* %17
%214 = load i32*, i32** %3
%215 = call i8* @getc(i32* %214)
%216 = ptrtoint i8* %215 to i32
store i32 %216, i32* %17
%217 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%218 = load i32, i32* %17
%219 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.30, i64 0, i64 0), i8* %217, i32 %218)
br label %439
220: ; preds = %130
%221 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%222 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.31, i64 0, i64 0), i8* %221)
br label %439
223: ; preds = %130
%224 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%225 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.21, i64 0, i64 0), i8* %224)
br label %439
226: ; preds = %130
%227 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%228 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.32, i64 0, i64 0), i8* %227)
br label %439
229: ; preds = %130
%230 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%231 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.33, i64 0, i64 0), i8* %230)
br label %439
232: ; preds = %130
%233 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%234 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.34, i64 0, i64 0), i8* %233)
br label %439
235: ; preds = %130
%236 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%237 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.35, i64 0, i64 0), i8* %236)
br label %439
238: ; preds = %130
%239 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%240 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.36, i64 0, i64 0), i8* %239)
br label %439
241: ; preds = %130
%242 = bitcast [2 x i8]* %18 to i8*
store i64 0, i64* %19
%243 = getelementptr inbounds [2 x i8], [2 x i8]* %18, i64 0, i64 0
%244 = load i32*, i32** %3
%245 = call i32 @fread(i8* %243, i32 1, i32 2, i32* %244)
%246 = load i8, i8* %4
%247 = sext i8 %246 to i32
%248 = icmp eq i32 %247, 1
br i1 %248, label %249, label %259
249: ; preds = %241
%250 = getelementptr inbounds [2 x i8], [2 x i8]* %18, i64 0, i64 1
%251 = load i8, i8* %250
%252 = zext i8 %251 to i32
%253 = getelementptr inbounds [2 x i8], [2 x i8]* %18, i64 0, i64 0
%254 = load i8, i8* %253
%255 = zext i8 %254 to i32
%256 = shl i32 %255, 8
%257 = or i32 %252, %256
%258 = sext i32 %257 to i64
store i64 %258, i64* %19
br label %259
259: ; preds = %249, %241
%260 = load i8, i8* %4
%261 = sext i8 %260 to i32
%262 = icmp eq i32 %261, 2
br i1 %262, label %263, label %273
263: ; preds = %259
%264 = getelementptr inbounds [2 x i8], [2 x i8]* %18, i64 0, i64 0
%265 = load i8, i8* %264
%266 = zext i8 %265 to i32
%267 = getelementptr inbounds [2 x i8], [2 x i8]* %18, i64 0, i64 1
%268 = load i8, i8* %267
%269 = zext i8 %268 to i32
%270 = shl i32 %269, 8
%271 = or i32 %266, %270
%272 = sext i32 %271 to i64
store i64 %272, i64* %19
br label %273
273: ; preds = %263, %259
%274 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%275 = load i64, i64* %19
%276 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.37, i64 0, i64 0), i8* %274, i64 %275)
%277 = load i32*, i32** %3
%278 = load i64, i64* %19
%279 = load i32, i32* @SEEK_CUR
%280 = call i32 @fseek(i32* %277, i64 %278, i32 %279)
br label %439
281: ; preds = %130
%282 = bitcast [4 x i8]* %20 to i8*
store i64 0, i64* %21
%283 = bitcast [24 x i8]* %22 to i8*
store i32 0, i32* %23
%284 = getelementptr inbounds [4 x i8], [4 x i8]* %20, i64 0, i64 0
%285 = load i32*, i32** %3
%286 = call i32 @fread(i8* %284, i32 1, i32 4, i32* %285)
%287 = load i8, i8* %4
%288 = sext i8 %287 to i32
%289 = icmp eq i32 %288, 1
br i1 %289, label %290, label %310
290: ; preds = %281
%291 = getelementptr inbounds [4 x i8], [4 x i8]* %20, i64 0, i64 3
%292 = load i8, i8* %291
%293 = zext i8 %292 to i32
%294 = getelementptr inbounds [4 x i8], [4 x i8]* %20, i64 0, i64 2
%295 = load i8, i8* %294
%296 = zext i8 %295 to i32
%297 = shl i32 %296, 8
%298 = or i32 %293, %297
%299 = getelementptr inbounds [4 x i8], [4 x i8]* %20, i64 0, i64 1
%300 = load i8, i8* %299
%301 = zext i8 %300 to i32
%302 = shl i32 %301, 16
%303 = or i32 %298, %302
%304 = getelementptr inbounds [4 x i8], [4 x i8]* %20, i64 0, i64 0
%305 = load i8, i8* %304
%306 = zext i8 %305 to i32
%307 = shl i32 %306, 24
%308 = or i32 %303, %307
%309 = sext i32 %308 to i64
store i64 %309, i64* %21
br label %310
310: ; preds = %290, %281
%311 = load i8, i8* %4
%312 = sext i8 %311 to i32
%313 = icmp eq i32 %312, 2
br i1 %313, label %314, label %334
314: ; preds = %310
%315 = getelementptr inbounds [4 x i8], [4 x i8]* %20, i64 0, i64 0
%316 = load i8, i8* %315
%317 = zext i8 %316 to i32
%318 = getelementptr inbounds [4 x i8], [4 x i8]* %20, i64 0, i64 1
%319 = load i8, i8* %318
%320 = zext i8 %319 to i32
%321 = shl i32 %320, 8
%322 = or i32 %317, %321
%323 = getelementptr inbounds [4 x i8], [4 x i8]* %20, i64 0, i64 2
%324 = load i8, i8* %323
%325 = zext i8 %324 to i32
%326 = shl i32 %325, 16
%327 = or i32 %322, %326
%328 = getelementptr inbounds [4 x i8], [4 x i8]* %20, i64 0, i64 3
%329 = load i8, i8* %328
%330 = zext i8 %329 to i32
%331 = shl i32 %330, 24
%332 = or i32 %327, %331
%333 = sext i32 %332 to i64
store i64 %333, i64* %21
br label %334
334: ; preds = %314, %310
%335 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%336 = load i64, i64* %21
%337 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.38, i64 0, i64 0), i8* %335, i64 %336)
%338 = getelementptr inbounds [24 x i8], [24 x i8]* %22, i64 0, i64 0
%339 = load i64, i64* %21
%340 = call i32 @sprintf(i8* %338, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.39, i64 0, i64 0), i64 %339)
%341 = getelementptr inbounds [24 x i8], [24 x i8]* %22, i64 0, i64 0
%342 = call i32 @strlen(i8* %341)
store i32 %342, i32* %23
%343 = load i32*, i32** %3
%344 = call i8* @getc(i32* %343)
%345 = ptrtoint i8* %344 to i32
store i32 %345, i32* %8
%346 = load i32, i32* %8
%347 = icmp ne i32 %346, 132
br i1 %347, label %348, label %351
348: ; preds = %334
%349 = load i32, i32* %8
%350 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.40, i64 0, i64 0), i32 %349)
br label %351
351: ; preds = %348, %334
%352 = load i32*, i32** %3
%353 = call i8* @getc(i32* %352)
%354 = ptrtoint i8* %353 to i32
store i32 %354, i32* %8
%355 = load i32, i32* %8
%356 = load i32, i32* %23
%357 = icmp ne i32 %355, %356
br i1 %357, label %358, label %362
358: ; preds = %351
%359 = load i32, i32* %23
%360 = load i32, i32* %8
%361 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.41, i64 0, i64 0), i32 %359, i32 %360)
br label %362
362: ; preds = %358, %351
%363 = load i32*, i32** %3
%364 = load i32, i32* %23
%365 = sext i32 %364 to i64
%366 = load i32, i32* @SEEK_CUR
%367 = call i32 @fseek(i32* %363, i64 %365, i32 %366)
%368 = load i32*, i32** %3
%369 = load i64, i64* %21
%370 = load i32, i32* @SEEK_CUR
%371 = call i32 @fseek(i32* %368, i64 %369, i32 %370)
br label %439
372: ; preds = %130
%373 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%374 = load i32, i32* %8
%375 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.42, i64 0, i64 0), i8* %373, i32 %374)
%376 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%377 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.43, i64 0, i64 0), i8* %376)
%378 = load i32*, i32** %3
%379 = call i8* @getc(i32* %378)
%380 = load i32*, i32** %3
%381 = call i8* @getc(i32* %380)
%382 = load i32*, i32** %3
%383 = call i8* @getc(i32* %382)
%384 = load i32*, i32** %3
%385 = call i8* @getc(i32* %384)
br label %439
386: ; preds = %130
%387 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%388 = load i32, i32* %11
%389 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.44, i64 0, i64 0), i8* %387, i32 %388)
br label %439
390: ; preds = %130
%391 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%392 = load i32, i32* %8
%393 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.45, i64 0, i64 0), i8* %391, i32 %392)
%394 = load i32, i32* %10
%395 = add nsw i32 %394, 2
store i32 %395, i32* %10
br label %439
396: ; preds = %130
%397 = load i32, i32* %10
%398 = sub nsw i32 %397, 2
store i32 %398, i32* %10
%399 = load i32, i32* %10
%400 = sext i32 %399 to i64
%401 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 %400
store i8 0, i8* %401
%402 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%403 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* %402)
%404 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%405 = load i32, i32* %8
%406 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.46, i64 0, i64 0), i8* %404, i32 %405)
br label %439
407: ; preds = %130
%408 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%409 = load i32, i32* %8
%410 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.47, i64 0, i64 0), i8* %408, i32 %409)
%411 = load i32, i32* %10
%412 = add nsw i32 %411, 2
store i32 %412, i32* %10
%413 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%414 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i8* %413)
br label %439
415: ; preds = %130
%416 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%417 = load i32, i32* %8
%418 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.48, i64 0, i64 0), i8* %416, i32 %417)
br label %439
419: ; preds = %130
%420 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%421 = load i32, i32* %8
%422 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.49, i64 0, i64 0), i8* %420, i32 %421)
br label %439
423: ; preds = %130
%424 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%425 = load i32, i32* %8
%426 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.50, i64 0, i64 0), i8* %424, i32 %425)
store i32 1, i32* %13
br label %439
427: ; preds = %130
%428 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%429 = load i32, i32* %8
%430 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.51, i64 0, i64 0), i8* %428, i32 %429)
br label %439
431: ; preds = %130
%432 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%433 = load i32, i32* %8
%434 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.52, i64 0, i64 0), i8* %432, i32 %433)
store i32 1, i32* %14
br label %439
435: ; preds = %130
%436 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%437 = load i32, i32* %8
%438 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.53, i64 0, i64 0), i8* %436, i32 %437)
br label %439
439: ; preds = %435, %431, %427, %423, %419, %415, %407, %396, %390, %386, %372, %362, %273, %238, %235, %232, %229, %226, %223, %220, %213, %207, %204, %196, %193, %190, %187, %184, %181, %178, %175, %172, %169, %161, %158, %153, %150, %147, %144, %141, %138, %135, %132
%440 = load i32, i32* %8
store i32 %440, i32* %9
br label %26
441: ; preds = %26
ret void
}

LLVM IR (-O2):
@EOF = global i32 0
@.str = [18 x i8] c"%sMissing Marker\0A\00"
@.str.1 = [5 x i8] c"%s}\0A\00"
@.str.2 = [28 x i8] c"%sGrab next byte marker...\0A\00"
@.str.3 = [25 x i8] c"%sKey byte: %d (0x%02X)\0A\00"
@.str.4 = [13 x i8] c"%sArray Key\0A\00"
@.str.5 = [31 x i8] c"%sReading %d bytes of data...\0A\00"
@.str.6 = [16 x i8] c"%sData is '%s'\0A\00"
@.str.7 = [27 x i8] c"%sUnknown Key (mark <= 1)\0A\00"
@.str.8 = [40 x i8] c"%sPrevious data was Object/Class label\0A\00"
@.str.9 = [28 x i8] c"%sClass Object [UNHANDLED]\0A\00"
@.str.10 = [32 x i8] c"%sCharacter String [UNHANDLED]\0A\00"
@.str.11 = [24 x i8] c"%sCString to follow...\0A\00"
@.str.12 = [27 x i8] c"%sUnknown - 3 [UNHANDLED]\0A\00"
@.str.13 = [31 x i8] c"%sMethod selector [UNHANDLED]\0A\00"
@.str.14 = [28 x i8] c"%sUnknown Type [UNHANDLED]\0A\00"
@.str.15 = [10 x i8] c"%sObject\0A\00"
@.str.16 = [5 x i8] c"%s{\0A\00"
@.str.17 = [20 x i8] c"%sBool [UNHANDLED]\0A\00"
@.str.18 = [21 x i8] c"%sUnsigned Char: %c\0A\00"
@.str.19 = [28 x i8] c"%sUnsigned Int [UNHANDLED]\0A\00"
@.str.20 = [29 x i8] c"%sUnsigned Long [UNHANDLED]\0A\00"
@.str.21 = [26 x i8] c"%sMethod Out [UNHANDLED]\0A\00"
@.str.22 = [30 x i8] c"%sUnsigned Short [UNHANDLED]\0A\00"
@.str.23 = [28 x i8] c"%sMethod ByRef [UNHANDLED]\0A\00"
@.str.24 = [30 x i8] c"%sMethod One Way [UNHANDLED]\0A\00"
@.str.25 = [31 x i8] c"%sPointer to Type [UNHANDLED]\0A\00"
@.str.26 = [25 x i8] c"%sBit Feild [UNHANDLED]\0A\00"
@.str.27 = [12 x i8] c"%sChar: %c\0A\00"
@.str.28 = [22 x i8] c"%sDouble [UNHANDLED]\0A\00"
@.str.29 = [9 x i8] c"%sFloat\0A\00"
@.str.30 = [15 x i8] c"%sInteger: %d\0A\00"
@.str.31 = [25 x i8] c"%sMethod In [UNHANDLED]\0A\00"
@.str.32 = [20 x i8] c"%sLong [UNHANDLED]\0A\00"
@.str.33 = [25 x i8] c"%sLong Long [UNHANDLED]\0A\00"
@.str.34 = [28 x i8] c"%sMethod Const [UNHANDLED]\0A\00"
@.str.35 = [21 x i8] c"%sShort [UNHANDLED]\0A\00"
@.str.36 = [20 x i8] c"%sVoid [UNHANDLED]\0A\00"
@.str.37 = [37 x i8] c"\0A%sMedium data stream of size: %ld\0A\0A\00"
@SEEK_CUR = global i32 0
@.str.38 = [35 x i8] c"\0A%sLong data stream of size: %ld\0A\0A\00"
@.str.39 = [7 x i8] c"[%ldc]\00"
@.str.40 = [48 x i8] c"Read byte not found - expected 0x84 got 0x%02X\0A\00"
@.str.41 = [49 x i8] c"Data label length mismatch - expected %d got %d\0A\00"
@.str.42 = [26 x i8] c"%sRead 4 bytes ='0x%02X'\0A\00"
@.str.43 = [24 x i8] c"%sUNKNOWN 4-BYTE VALUE\0A\00"
@.str.44 = [13 x i8] c"%s-mark- %d\0A\00"
@.str.45 = [23 x i8] c"%sObject S0 ='0x%02X'\0A\00"
@.str.46 = [22 x i8] c"%sItem E: ='0x%02X'\0A\0A\00"
@.str.47 = [22 x i8] c"%sItem S1: ='0x%02X'\0A\00"
@.str.48 = [21 x i8] c"%sItem S2: '0x%02X'\0A\00"
@.str.49 = [26 x i8] c"%sArray Start: ='0x%02X'\0A\00"
@.str.50 = [25 x i8] c"%sArray Data: ='0x%02X'\0A\00"
@.str.51 = [28 x i8] c"%sArray Element: ='0x%02X'\0A\00"
@.str.52 = [26 x i8] c"%sData Buffer: ='0x%02X'\0A\00"
@.str.53 = [21 x i8] c"%sUNKNOWN: '0x%02X'\0A\00"
define void @decodeArchive(i32* nocapture %0, i8 signext %1) {
%3 = alloca [256 x i8]
%4 = alloca [512 x i8]
%5 = getelementptr inbounds [512 x i8], [512 x i8]* %4, i64 0, i64 0
%6 = alloca i16
%7 = alloca i32
%8 = bitcast i32* %7 to [4 x i8]*
%9 = alloca [24 x i8]
%10 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%11 = getelementptr inbounds [512 x i8], [512 x i8]* %4, i64 0, i64 0
%12 = call i8* @getc(i32* %0)
%13 = ptrtoint i8* %12 to i64
%14 = trunc i64 %13 to i32
%15 = load i32, i32* @EOF
%16 = icmp eq i32 %15, %14
br i1 %16, label %300, label %17
17: ; preds = %2
%18 = bitcast i16* %6 to [2 x i8]*
%19 = bitcast i32* %7 to i8*
%20 = getelementptr inbounds [24 x i8], [24 x i8]* %9, i64 0, i64 0
%21 = getelementptr inbounds [4 x i8], [4 x i8]* %8, i64 0, i64 1
%22 = getelementptr inbounds [4 x i8], [4 x i8]* %8, i64 0, i64 2
%23 = getelementptr inbounds [4 x i8], [4 x i8]* %8, i64 0, i64 3
%24 = bitcast i16* %6 to i8*
%25 = icmp eq i8 %1, 1
%26 = getelementptr inbounds [2 x i8], [2 x i8]* %18, i64 0, i64 1
%27 = icmp eq i8 %1, 2
br label %28
28: ; preds = %17, %288
%29 = phi i32 [ %14, %17 ], [ %297, %288 ]
%30 = phi i64 [ %13, %17 ], [ %296, %288 ]
%31 = phi i8* [ %12, %17 ], [ %295, %288 ]
%32 = phi i32 [ 0, %17 ], [ %294, %288 ]
%33 = phi i32 [ 0, %17 ], [ %293, %288 ]
%34 = phi i32 [ 0, %17 ], [ %292, %288 ]
%35 = phi i32 [ 0, %17 ], [ %290, %288 ]
%36 = phi i32 [ 0, %17 ], [ %289, %288 ]
%37 = phi i32 [ 0, %17 ], [ %291, %288 ]
%38 = icmp eq i32 %32, 146
%39 = icmp eq i32 %33, 0
%40 = icmp sgt i32 %36, 1
%41 = icmp eq i32 %33, 1
%42 = or i1 %40, %41
br label %43
43: ; preds = %28, %86
%44 = phi i32 [ %29, %28 ], [ %95, %86 ]
%45 = phi i64 [ %30, %28 ], [ %94, %86 ]
%46 = phi i8* [ %31, %28 ], [ %93, %86 ]
%47 = phi i32 [ %34, %28 ], [ 0, %86 ]
%48 = phi i32 [ %35, %28 ], [ 0, %86 ]
%49 = phi i32 [ %37, %28 ], [ %70, %86 ]
%50 = icmp sgt i32 %49, 0
br i1 %50, label %51, label %53
51: ; preds = %43
%52 = zext i32 %49 to i64
br label %53
53: ; preds = %51, %43
%54 = sext i32 %49 to i64
%55 = getelementptr inbounds [512 x i8], [512 x i8]* %4, i64 0, i64 %54
store i8 0, i8* %55
%56 = icmp eq i32 %44, 132
br i1 %56, label %57, label %62
57: ; preds = %53
%58 = icmp eq i32 %48, 0
%59 = add nsw i32 %36, 1
%60 = select i1 %58, i32 1, i32 %59
%61 = add nsw i32 %48, 1
br label %258
62: ; preds = %53
br i1 %38, label %63, label %69
63: ; preds = %62
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* %11)
%65 = add nsw i32 %49, -2
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [512 x i8], [512 x i8]* %4, i64 0, i64 %66
store i8 0, i8* %67
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* %11)
br label %69
69: ; preds = %62, %63
%70 = phi i32 [ %65, %63 ], [ %49, %62 ]
%71 = icmp eq i32 %44, 1
%72 = and i1 %71, %39
br i1 %72, label %73, label %76
73: ; preds = %69
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i8* %11)
%75 = call i8* @getc(i32* %0)
br label %100
76: ; preds = %69
%77 = add i32 %44, -1
%78 = icmp ult i32 %77, 127
br i1 %78, label %79, label %100
79: ; preds = %76
%80 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0), i8* %11, i32 %44, i32 %44)
%81 = icmp eq i32 %47, 1
br i1 %81, label %82, label %85
82: ; preds = %79
%83 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), i8* %11)
%84 = call i8* @getc(i32* %0)
br label %100
85: ; preds = %79
br i1 %42, label %86, label %98
86: ; preds = %85
%87 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0), i8* %11, i32 %44)
%88 = call i32 @fread(i8* %10, i32 1, i32 %44, i32* %0)
%89 = shl i64 %45, 32
%90 = ashr exact i64 %89, 32
%91 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 %90
store i8 0, i8* %91
%92 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), i8* %11, i8* %10)
%93 = call i8* @getc(i32* %0)
%94 = ptrtoint i8* %93 to i64
%95 = trunc i64 %94 to i32
%96 = load i32, i32* @EOF
%97 = icmp eq i32 %96, %95
br i1 %97, label %300, label %43
98: ; preds = %85
%99 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0), i8* %11)
br label %100
100: ; preds = %76, %98, %82, %73
%101 = phi i8* [ %75, %73 ], [ %84, %82 ], [ %31, %98 ], [ %46, %76 ]
%102 = ptrtoint i8* %101 to i64
%103 = trunc i64 %102 to i32
switch i32 %103, label %286 [
i32 0, label %104
i32 35, label %106
i32 42, label %108
i32 43, label %110
i32 51, label %112
i32 58, label %114
i32 63, label %116
i32 64, label %118
i32 66, label %121
i32 67, label %123
i32 73, label %129
i32 76, label %131
i32 79, label %133
i32 83, label %135
i32 81, label %137
i32 82, label %139
i32 86, label %141
i32 94, label %143
i32 98, label %145
i32 99, label %147
i32 100, label %154
i32 102, label %156
i32 105, label %159
i32 110, label %164
i32 111, label %166
i32 108, label %168
i32 113, label %170
i32 114, label %172
i32 115, label %174
i32 118, label %176
i32 129, label %178
i32 130, label %193
i32 131, label %251
i32 132, label %258
i32 133, label %263
i32 134, label %266
i32 146, label %272
i32 147, label %276
i32 149, label %278
i32 150, label %280
i32 151, label %282
i32 152, label %284
]
104: ; preds = %100
%105 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.8, i64 0, i64 0), i8* %11)
br label %288
106: ; preds = %100
%107 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.9, i64 0, i64 0), i8* %11)
br label %288
108: ; preds = %100
%109 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0), i8* %11)
br label %288
110: ; preds = %100
%111 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.11, i64 0, i64 0), i8* %11)
br label %288
112: ; preds = %100
%113 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.12, i64 0, i64 0), i8* %11)
br label %288
114: ; preds = %100
%115 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.13, i64 0, i64 0), i8* %11)
br label %288
116: ; preds = %100
%117 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.14, i64 0, i64 0), i8* %11)
br label %288
118: ; preds = %100
%119 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0), i8* %11)
%120 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i8* %11)
br label %288
121: ; preds = %100
%122 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.17, i64 0, i64 0), i8* %11)
br label %288
123: ; preds = %100
%124 = call i8* @getc(i32* %0)
%125 = ptrtoint i8* %124 to i64
%126 = trunc i64 %125 to i32
%127 = and i32 %126, 255
%128 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.18, i64 0, i64 0), i8* %11, i32 %127)
br label %288
129: ; preds = %100
%130 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.19, i64 0, i64 0), i8* %11)
br label %288
131: ; preds = %100
%132 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.20, i64 0, i64 0), i8* %11)
br label %288
133: ; preds = %100
%134 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.21, i64 0, i64 0), i8* %11)
br label %288
135: ; preds = %100
%136 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.22, i64 0, i64 0), i8* %11)
br label %288
137: ; preds = %100
%138 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.20, i64 0, i64 0), i8* %11)
br label %288
139: ; preds = %100
%140 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.23, i64 0, i64 0), i8* %11)
br label %288
141: ; preds = %100
%142 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.24, i64 0, i64 0), i8* %11)
br label %288
143: ; preds = %100
%144 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.25, i64 0, i64 0), i8* %11)
br label %288
145: ; preds = %100
%146 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.26, i64 0, i64 0), i8* %11)
br label %288
147: ; preds = %100
%148 = call i8* @getc(i32* %0)
%149 = ptrtoint i8* %148 to i64
%150 = trunc i64 %149 to i32
%151 = shl i32 %150, 24
%152 = ashr exact i32 %151, 24
%153 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.27, i64 0, i64 0), i8* %11, i32 %152)
br label %288
154: ; preds = %100
%155 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.28, i64 0, i64 0), i8* %11)
br label %288
156: ; preds = %100
%157 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.29, i64 0, i64 0), i8* %11)
%158 = call i32 @fread(i8* %10, i32 1, i32 8, i32* %0)
br label %288
159: ; preds = %100
%160 = call i8* @getc(i32* %0)
%161 = ptrtoint i8* %160 to i64
%162 = trunc i64 %161 to i32
%163 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.30, i64 0, i64 0), i8* %11, i32 %162)
br label %288
164: ; preds = %100
%165 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.31, i64 0, i64 0), i8* %11)
br label %288
166: ; preds = %100
%167 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.21, i64 0, i64 0), i8* %11)
br label %288
168: ; preds = %100
%169 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.32, i64 0, i64 0), i8* %11)
br label %288
170: ; preds = %100
%171 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.33, i64 0, i64 0), i8* %11)
br label %288
172: ; preds = %100
%173 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.34, i64 0, i64 0), i8* %11)
br label %288
174: ; preds = %100
%175 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.35, i64 0, i64 0), i8* %11)
br label %288
176: ; preds = %100
%177 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.36, i64 0, i64 0), i8* %11)
br label %288
178: ; preds = %100
store i16 0, i16* %6
%179 = call i32 @fread(i8* %24, i32 1, i32 2, i32* %0)
%180 = load i8, i8* %26
%181 = zext i8 %180 to i64
%182 = load i8, i8* %24
%183 = zext i8 %182 to i64
%184 = shl nuw nsw i64 %183, 8
%185 = or i64 %184, %181
%186 = select i1 %25, i64 %185, i64 0
%187 = shl nuw nsw i64 %181, 8
%188 = or i64 %187, %183
%189 = select i1 %27, i64 %188, i64 %186
%190 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.37, i64 0, i64 0), i8* %11, i64 %189)
%191 = load i32, i32* @SEEK_CUR
%192 = call i32 @fseek(i32* %0, i64 %189, i32 %191)
br label %288
193: ; preds = %100
store i32 0, i32* %7
%194 = call i32 @fread(i8* %19, i32 1, i32 4, i32* %0)
switch i8 %1, label %227 [
i8 1, label %195
i8 2, label %211
]
195: ; preds = %193
%196 = load i8, i8* %23
%197 = zext i8 %196 to i32
%198 = load i8, i8* %22
%199 = zext i8 %198 to i32
%200 = shl nuw nsw i32 %199, 8
%201 = or i32 %200, %197
%202 = load i8, i8* %21
%203 = zext i8 %202 to i32
%204 = shl nuw nsw i32 %203, 16
%205 = or i32 %201, %204
%206 = load i8, i8* %19
%207 = zext i8 %206 to i32
%208 = shl nuw i32 %207, 24
%209 = or i32 %205, %208
%210 = sext i32 %209 to i64
br label %227
211: ; preds = %193
%212 = load i8, i8* %19
%213 = zext i8 %212 to i32
%214 = load i8, i8* %21
%215 = zext i8 %214 to i32
%216 = shl nuw nsw i32 %215, 8
%217 = or i32 %216, %213
%218 = load i8, i8* %22
%219 = zext i8 %218 to i32
%220 = shl nuw nsw i32 %219, 16
%221 = or i32 %217, %220
%222 = load i8, i8* %23
%223 = zext i8 %222 to i32
%224 = shl nuw i32 %223, 24
%225 = or i32 %221, %224
%226 = sext i32 %225 to i64
br label %227
227: ; preds = %193, %195, %211
%228 = phi i64 [ %226, %211 ], [ %210, %195 ], [ 0, %193 ]
%229 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.38, i64 0, i64 0), i8* %11, i64 %228)
%230 = call i32 @sprintf(i8* %20, i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.39, i64 0, i64 0), i64 %228)
%231 = call i32 @strlen(i8* %20)
%232 = call i8* @getc(i32* %0)
%233 = ptrtoint i8* %232 to i64
%234 = trunc i64 %233 to i32
%235 = icmp eq i32 %234, 132
br i1 %235, label %238, label %236
236: ; preds = %227
%237 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.40, i64 0, i64 0), i32 %234)
br label %238
238: ; preds = %236, %227
%239 = call i8* @getc(i32* %0)
%240 = ptrtoint i8* %239 to i64
%241 = trunc i64 %240 to i32
%242 = icmp eq i32 %231, %241
br i1 %242, label %245, label %243
243: ; preds = %238
%244 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.41, i64 0, i64 0), i32 %231, i32 %241)
br label %245
245: ; preds = %243, %238
%246 = sext i32 %231 to i64
%247 = load i32, i32* @SEEK_CUR
%248 = call i32 @fseek(i32* %0, i64 %246, i32 %247)
%249 = load i32, i32* @SEEK_CUR
%250 = call i32 @fseek(i32* %0, i64 %228, i32 %249)
br label %288
251: ; preds = %100
%252 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.42, i64 0, i64 0), i8* %11, i32 131)
%253 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.43, i64 0, i64 0), i8* %11)
%254 = call i8* @getc(i32* %0)
%255 = call i8* @getc(i32* %0)
%256 = call i8* @getc(i32* %0)
%257 = call i8* @getc(i32* %0)
br label %288
258: ; preds = %57, %100
%259 = phi i32 [ %49, %57 ], [ %70, %100 ]
%260 = phi i32 [ %60, %57 ], [ %36, %100 ]
%261 = phi i32 [ %61, %57 ], [ 0, %100 ]
%262 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.44, i64 0, i64 0), i8* %11, i32 %260)
br label %288
263: ; preds = %100
%264 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.45, i64 0, i64 0), i8* %11, i32 133)
%265 = add nsw i32 %70, 2
br label %288
266: ; preds = %100
%267 = add nsw i32 %70, -2
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds [512 x i8], [512 x i8]* %4, i64 0, i64 %268
store i8 0, i8* %269
%270 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* %11)
%271 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.46, i64 0, i64 0), i8* %11, i32 134)
br label %288
272: ; preds = %100
%273 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.47, i64 0, i64 0), i8* %11, i32 146)
%274 = add nsw i32 %70, 2
%275 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i8* %11)
br label %288
276: ; preds = %100
%277 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.48, i64 0, i64 0), i8* %11, i32 147)
br label %288
278: ; preds = %100
%279 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.49, i64 0, i64 0), i8* %11, i32 149)
br label %288
280: ; preds = %100
%281 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.50, i64 0, i64 0), i8* %11, i32 150)
br label %288
282: ; preds = %100
%283 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.51, i64 0, i64 0), i8* %11, i32 151)
br label %288
284: ; preds = %100
%285 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.52, i64 0, i64 0), i8* %11, i32 152)
br label %288
286: ; preds = %100
%287 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.53, i64 0, i64 0), i8* %11, i32 %103)
br label %288
288: ; preds = %286, %284, %282, %280, %278, %276, %272, %266, %263, %258, %251, %245, %178, %176, %174, %172, %170, %168, %166, %164, %159, %156, %154, %147, %145, %143, %141, %139, %137, %135, %133, %131, %129, %123, %121, %118, %116, %114, %112, %110, %108, %106, %104
%289 = phi i32 [ %36, %286 ], [ %36, %284 ], [ %36, %282 ], [ %36, %280 ], [ %36, %278 ], [ %36, %276 ], [ %36, %272 ], [ %36, %266 ], [ %36, %263 ], [ %260, %258 ], [ %36, %251 ], [ %36, %245 ], [ %36, %178 ], [ %36, %176 ], [ %36, %174 ], [ %36, %172 ], [ %36, %170 ], [ %36, %168 ], [ %36, %166 ], [ %36, %164 ], [ %36, %159 ], [ %36, %156 ], [ %36, %154 ], [ %36, %147 ], [ %36, %145 ], [ %36, %143 ], [ %36, %141 ], [ %36, %139 ], [ %36, %137 ], [ %36, %135 ], [ %36, %133 ], [ %36, %131 ], [ %36, %129 ], [ %36, %123 ], [ %36, %121 ], [ %36, %118 ], [ %36, %116 ], [ %36, %114 ], [ %36, %112 ], [ %36, %110 ], [ %36, %108 ], [ %36, %106 ], [ %36, %104 ]
%290 = phi i32 [ 0, %286 ], [ 0, %284 ], [ 0, %282 ], [ 0, %280 ], [ 0, %278 ], [ 0, %276 ], [ 0, %272 ], [ 0, %266 ], [ 0, %263 ], [ %261, %258 ], [ 0, %251 ], [ 0, %245 ], [ 0, %178 ], [ 0, %176 ], [ 0, %174 ], [ 0, %172 ], [ 0, %170 ], [ 0, %168 ], [ 0, %166 ], [ 0, %164 ], [ 0, %159 ], [ 0, %156 ], [ 0, %154 ], [ 0, %147 ], [ 0, %145 ], [ 0, %143 ], [ 0, %141 ], [ 0, %139 ], [ 0, %137 ], [ 0, %135 ], [ 0, %133 ], [ 0, %131 ], [ 0, %129 ], [ 0, %123 ], [ 0, %121 ], [ 0, %118 ], [ 0, %116 ], [ 0, %114 ], [ 0, %112 ], [ 0, %110 ], [ 0, %108 ], [ 0, %106 ], [ 0, %104 ]
%291 = phi i32 [ %70, %286 ], [ %70, %284 ], [ %70, %282 ], [ %70, %280 ], [ %70, %278 ], [ %70, %276 ], [ %274, %272 ], [ %267, %266 ], [ %265, %263 ], [ %259, %258 ], [ %70, %251 ], [ %70, %245 ], [ %70, %178 ], [ %70, %176 ], [ %70, %174 ], [ %70, %172 ], [ %70, %170 ], [ %70, %168 ], [ %70, %166 ], [ %70, %164 ], [ %70, %159 ], [ %70, %156 ], [ %70, %154 ], [ %70, %147 ], [ %70, %145 ], [ %70, %143 ], [ %70, %141 ], [ %70, %139 ], [ %70, %137 ], [ %70, %135 ], [ %70, %133 ], [ %70, %131 ], [ %70, %129 ], [ %70, %123 ], [ %70, %121 ], [ %70, %118 ], [ %70, %116 ], [ %70, %114 ], [ %70, %112 ], [ %70, %110 ], [ %70, %108 ], [ %70, %106 ], [ %70, %104 ]
%292 = phi i32 [ 0, %286 ], [ 0, %284 ], [ 0, %282 ], [ 1, %280 ], [ 0, %278 ], [ 0, %276 ], [ 0, %272 ], [ 0, %266 ], [ 0, %263 ], [ 0, %258 ], [ 0, %251 ], [ 0, %245 ], [ 0, %178 ], [ 0, %176 ], [ 0, %174 ], [ 0, %172 ], [ 0, %170 ], [ 0, %168 ], [ 0, %166 ], [ 0, %164 ], [ 0, %159 ], [ 0, %156 ], [ 0, %154 ], [ 0, %147 ], [ 0, %145 ], [ 0, %143 ], [ 0, %141 ], [ 0, %139 ], [ 0, %137 ], [ 0, %135 ], [ 0, %133 ], [ 0, %131 ], [ 0, %129 ], [ 0, %123 ], [ 0, %121 ], [ 0, %118 ], [ 0, %116 ], [ 0, %114 ], [ 0, %112 ], [ 0, %110 ], [ 0, %108 ], [ 0, %106 ], [ 0, %104 ]
%293 = phi i32 [ 0, %286 ], [ 1, %284 ], [ 0, %282 ], [ 0, %280 ], [ 0, %278 ], [ 0, %276 ], [ 0, %272 ], [ 0, %266 ], [ 0, %263 ], [ 0, %258 ], [ 0, %251 ], [ 0, %245 ], [ 0, %178 ], [ 0, %176 ], [ 0, %174 ], [ 0, %172 ], [ 0, %170 ], [ 0, %168 ], [ 0, %166 ], [ 0, %164 ], [ 0, %159 ], [ 0, %156 ], [ 0, %154 ], [ 0, %147 ], [ 0, %145 ], [ 0, %143 ], [ 0, %141 ], [ 0, %139 ], [ 0, %137 ], [ 0, %135 ], [ 0, %133 ], [ 0, %131 ], [ 0, %129 ], [ 0, %123 ], [ 0, %121 ], [ 0, %118 ], [ 0, %116 ], [ 0, %114 ], [ 0, %112 ], [ 1, %110 ], [ 0, %108 ], [ 0, %106 ], [ 0, %104 ]
%294 = phi i32 [ %103, %286 ], [ 152, %284 ], [ 151, %282 ], [ 150, %280 ], [ 149, %278 ], [ 147, %276 ], [ 146, %272 ], [ 134, %266 ], [ 133, %263 ], [ 132, %258 ], [ 131, %251 ], [ %241, %245 ], [ 129, %178 ], [ 118, %176 ], [ 115, %174 ], [ 114, %172 ], [ 113, %170 ], [ 108, %168 ], [ 111, %166 ], [ 110, %164 ], [ 105, %159 ], [ 102, %156 ], [ 100, %154 ], [ 99, %147 ], [ 98, %145 ], [ 94, %143 ], [ 86, %141 ], [ 82, %139 ], [ 81, %137 ], [ 83, %135 ], [ 79, %133 ], [ 76, %131 ], [ 73, %129 ], [ 67, %123 ], [ 66, %121 ], [ 64, %118 ], [ 63, %116 ], [ 58, %114 ], [ 51, %112 ], [ 43, %110 ], [ 42, %108 ], [ 35, %106 ], [ 0, %104 ]
%295 = call i8* @getc(i32* %0)
%296 = ptrtoint i8* %295 to i64
%297 = trunc i64 %296 to i32
%298 = load i32, i32* @EOF
%299 = icmp eq i32 %298, %297
br i1 %299, label %300, label %28
300: ; preds = %288, %86, %2
ret void
}