#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 */

/* Variables and functions */
int EOF;
int /*<<< orphan*/ EXIT_FAILURE;
int /*<<< orphan*/ EXIT_SUCCESS;
int /*<<< orphan*/ SEEK_SET;
int /*<<< orphan*/ clearerr(int /*<<< orphan*/);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ feof(int /*<<< orphan*/);
int /*<<< orphan*/ ferror(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *);
int /*<<< orphan*/ fseek(int /*<<< orphan*/, int /*<<< orphan*/,
                         int /*<<< orphan*/);
int getchar();
int /*<<< orphan*/ matched(char *, char *);
int /*<<< orphan*/ skip(int);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdin;
char *strchr(char *, char);
scalar_t__ strcmp(char *, char *);
char tolower(unsigned int);
int main(int argc, char *argv[]) {
  int i, j;
  if (argc <= 1) {
    fprintf(stderr, "Usage: %s extensions... < archivefile\n", argv[0]);
    exit(EXIT_FAILURE);
  }
  for (i = 1; i < argc; i++) {
    if (argv[i][0] == '.')
      argv[i]++;
    for (j = 0; argv[i][j]; j++) {
      argv[i][j] = tolower(((unsigned int)argv[i][j]));
    }
  }
ZIP_NEXT:
  if (getchar() == 80 && getchar() == 75 && getchar() == 3 && getchar() == 4) {
    int cm, fnlen, exlen, ccsize, ucsize, gbp;
    char ext[5], *ptr;
    getchar();
    getchar();
    gbp = getchar();
    gbp |= (getchar() << 8);
    cm = getchar();
    cm |= (getchar() << 8);
    getchar();
    getchar();
    getchar();
    getchar();
    getchar();
    getchar();
    getchar();
    getchar();
    ccsize = getchar();
    ccsize |= (getchar() << 8);
    ccsize |= (getchar() << 16);
    ccsize |= (getchar() << 24);
    ucsize = getchar();
    ucsize |= getchar();
    ucsize |= getchar();
    ucsize |= getchar();
    fnlen = getchar();
    fnlen |= (getchar() << 8);
    exlen = getchar();
    exlen |= (getchar() << 8);
    if (!ferror(stdin) && !feof(stdin)) {
      if (fnlen < 4) {
        skip(fnlen + exlen);
      } else {
        skip(fnlen - 4);
        ext[0] = tolower(((unsigned int)getchar()));
        ext[1] = tolower(((unsigned int)getchar()));
        ext[2] = tolower(((unsigned int)getchar()));
        ext[3] = tolower(((unsigned int)getchar()));
        skip(exlen);
        if (ext[3] == '/') {
        }
        ext[4] = 0;
        ptr = strchr(ext, '.');
        if (!ptr || !*ptr)
          ptr = ext;
        else
          ptr = ptr + 1;
        for (i = 1; i < argc; i++) {
          if (strcmp(ptr, argv[i]))
            continue;
          matched("zipfile", ptr);
        }
      }
      if (gbp & 8) {
        for (i = j = 0; i != EOF;) {
          while ((i = getchar()) != 80 && i != EOF)
            j++;
          if (i == 80 && getchar() == 75 && getchar() == 7 && getchar() == 8) {
            getchar();
            getchar();
            getchar();
            getchar();
            ccsize = getchar();
            ccsize |= (getchar() << 8);
            ccsize |= (getchar() << 16);
            ccsize |= (getchar() << 24);
            if (ccsize != j + 4) {
            }
            ucsize = getchar();
            ucsize |= getchar();
            ucsize |= getchar();
            ucsize |= getchar();
            break;
          }
        }
      } else {
        skip(ccsize);
      }
      goto ZIP_NEXT;
    }
  }
  clearerr(stdin);
  fseek(stdin, 0, SEEK_SET);
  exit(EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x1,-0x8(%rbp)
jg     120a <main+0x4a>
mov    0x2de9(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xe09(%rip),%rsi
call   1080 <fprintf@plt>
mov    0x2dbd(%rip),%rax
mov    (%rax),%edi
call   10d0 <exit@plt>
movl   $0x1,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    12b9 <main+0xf9>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movsbl (%rax),%eax
cmp    $0x2e,%eax
jne    1249 <main+0x89>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdx
add    $0x1,%rdx
mov    %rdx,(%rax,%rcx,8)
movl   $0x0,-0x18(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x18(%rbp),%rcx
cmpb   $0x0,(%rax,%rcx,1)
je     12a6 <main+0xe6>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x18(%rbp),%rcx
movsbl (%rax,%rcx,1),%edi
call   10b0 <tolower@plt>
mov    %al,%dl
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x18(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1250 <main+0x90>
jmp    12ab <main+0xeb>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1211 <main+0x51>
jmp    12be <main+0xfe>
mov    $0x0,%al
call   1070 <getchar@plt>
cmp    $0x50,%eax
jne    16df <main+0x51f>
mov    $0x0,%al
call   1070 <getchar@plt>
cmp    $0x4b,%eax
jne    16df <main+0x51f>
mov    $0x0,%al
call   1070 <getchar@plt>
cmp    $0x3,%eax
jne    16df <main+0x51f>
mov    $0x0,%al
call   1070 <getchar@plt>
cmp    $0x4,%eax
jne    16df <main+0x51f>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,-0x30(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
shl    $0x8,%eax
or     -0x30(%rbp),%eax
mov    %eax,-0x30(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,-0x1c(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
shl    $0x8,%eax
or     -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,-0x28(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
shl    $0x8,%eax
or     -0x28(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
shl    $0x10,%eax
or     -0x28(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
shl    $0x18,%eax
or     -0x28(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,-0x2c(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
or     -0x2c(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
or     -0x2c(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
or     -0x2c(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,-0x20(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
shl    $0x8,%eax
or     -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,-0x24(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
shl    $0x8,%eax
or     -0x24(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    0x2bca(%rip),%rax
mov    (%rax),%edi
call   1040 <ferror@plt>
cmp    $0x0,%eax
jne    16da <main+0x51a>
mov    0x2bb3(%rip),%rax
mov    (%rax),%edi
call   1090 <feof@plt>
cmp    $0x0,%eax
jne    16da <main+0x51a>
cmpl   $0x4,-0x20(%rbp)
jge    145f <main+0x29f>
mov    -0x20(%rbp),%edi
add    -0x24(%rbp),%edi
call   1030 <skip@plt>
jmp    1569 <main+0x3a9>
mov    -0x20(%rbp),%edi
sub    $0x4,%edi
call   1030 <skip@plt>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,%edi
call   10b0 <tolower@plt>
mov    %al,-0x35(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,%edi
call   10b0 <tolower@plt>
mov    %al,-0x34(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,%edi
call   10b0 <tolower@plt>
mov    %al,-0x33(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,%edi
call   10b0 <tolower@plt>
mov    %al,-0x32(%rbp)
mov    -0x24(%rbp),%edi
call   1030 <skip@plt>
movsbl -0x32(%rbp),%eax
cmp    $0x2f,%eax
jne    14c8 <main+0x308>
jmp    14c8 <main+0x308>
movb   $0x0,-0x31(%rbp)
lea    -0x35(%rbp),%rdi
mov    $0x2e,%esi
call   1050 <strchr@plt>
mov    %rax,-0x40(%rbp)
cmpq   $0x0,-0x40(%rbp)
je     14f6 <main+0x336>
mov    -0x40(%rbp),%rax
cmpb   $0x0,(%rax)
jne    1503 <main+0x343>
lea    -0x35(%rbp),%rax
mov    %rax,-0x40(%rbp)
jmp    150f <main+0x34f>
mov    -0x40(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x40(%rbp)
movl   $0x1,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1564 <main+0x3a4>
mov    -0x40(%rbp),%rdi
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     1546 <main+0x386>
jmp    1556 <main+0x396>
mov    -0x40(%rbp),%rsi
lea    0xad6(%rip),%rdi
call   10e0 <matched@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1516 <main+0x356>
jmp    1569 <main+0x3a9>
mov    -0x30(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     16cd <main+0x50d>
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    0x2a50(%rip),%rcx
cmp    (%rcx),%eax
je     16c8 <main+0x508>
jmp    159d <main+0x3dd>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,%ecx
mov    %ecx,-0x14(%rbp)
xor    %eax,%eax
cmp    $0x50,%ecx
mov    %al,-0x41(%rbp)
je     15c9 <main+0x409>
mov    -0x14(%rbp),%eax
mov    0x2a1f(%rip),%rcx
cmp    (%rcx),%eax
setne  %al
mov    %al,-0x41(%rbp)
mov    -0x41(%rbp),%al
test   $0x1,%al
jne    15d9 <main+0x419>
jmp    15e7 <main+0x427>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    159d <main+0x3dd>
cmpl   $0x50,-0x14(%rbp)
jne    16c3 <main+0x503>
mov    $0x0,%al
call   1070 <getchar@plt>
cmp    $0x4b,%eax
jne    16c3 <main+0x503>
mov    $0x0,%al
call   1070 <getchar@plt>
cmp    $0x7,%eax
jne    16c3 <main+0x503>
mov    $0x0,%al
call   1070 <getchar@plt>
cmp    $0x8,%eax
jne    16c3 <main+0x503>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,-0x28(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
shl    $0x8,%eax
or     -0x28(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
shl    $0x10,%eax
or     -0x28(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
shl    $0x18,%eax
or     -0x28(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    -0x28(%rbp),%eax
mov    -0x18(%rbp),%ecx
add    $0x4,%ecx
cmp    %ecx,%eax
je     168d <main+0x4cd>
jmp    168d <main+0x4cd>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,-0x2c(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
or     -0x2c(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
or     -0x2c(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
or     -0x2c(%rbp),%eax
mov    %eax,-0x2c(%rbp)
jmp    16c8 <main+0x508>
jmp    1586 <main+0x3c6>
jmp    16d5 <main+0x515>
mov    -0x28(%rbp),%edi
call   1030 <skip@plt>
jmp    12be <main+0xfe>
jmp    16df <main+0x51f>
mov    0x2902(%rip),%rax
mov    (%rax),%edi
call   10a0 <clearerr@plt>
mov    0x28f4(%rip),%rax
mov    (%rax),%edi
mov    0x28cb(%rip),%rax
mov    (%rax),%edx
xor    %esi,%esi
call   10c0 <fseek@plt>
mov    0x28ab(%rip),%rax
mov    (%rax),%edi
call   10d0 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %rsi,%r14
cmp    $0x2,%edi
jge    11fc <main+0x3c>
mov    0x2df3(%rip),%rax
mov    (%rax),%edi
mov    (%r14),%rdx
lea    0xe17(%rip),%rsi
call   1080 <fprintf@plt>
mov    0x2dcb(%rip),%rax
mov    (%rax),%edi
call   10d0 <exit@plt>
mov    %edi,0xc(%rsp)
mov    %edi,%r15d
mov    $0x1,%ebp
jmp    1219 <main+0x59>
nopw   0x0(%rax,%rax,1)
add    $0x1,%rbp
cmp    %r15,%rbp
je     1262 <main+0xa2>
mov    (%r14,%rbp,8),%rcx
mov    (%rcx),%al
cmp    $0x2e,%al
jne    122e <main+0x6e>
lea    0x1(%rcx),%rax
mov    %rax,(%r14,%rbp,8)
mov    0x1(%rcx),%al
test   %al,%al
je     1210 <main+0x50>
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movsbl %al,%edi
call   10b0 <tolower@plt>
mov    (%r14,%rbp,8),%rcx
mov    %al,(%rcx,%rbx,1)
mov    (%r14,%rbp,8),%rax
movzbl 0x1(%rax,%rbx,1),%eax
add    $0x1,%rbx
test   %al,%al
jne    1240 <main+0x80>
jmp    1210 <main+0x50>
mov    %r15,0x20(%rsp)
xor    %eax,%eax
call   1070 <getchar@plt>
cmp    $0x50,%eax
jne    15be <main+0x3fe>
mov    0x2d6a(%rip),%rbx
jmp    12b9 <main+0xf9>
mov    0x18(%rsp),%edi
shl    $0x8,%edi
mov    0x14(%rsp),%eax
shl    $0x10,%eax
mov    0x10(%rsp),%ecx
shl    $0x18,%ecx
or     %eax,%ecx
or     0x1c(%rsp),%edi
or     %ecx,%edi
call   1030 <skip@plt>
mov    0x2d3f(%rip),%rbx
xor    %eax,%eax
call   1070 <getchar@plt>
cmp    $0x50,%eax
jne    15be <main+0x3fe>
xor    %eax,%eax
call   1070 <getchar@plt>
cmp    $0x4b,%eax
jne    15be <main+0x3fe>
xor    %eax,%eax
call   1070 <getchar@plt>
cmp    $0x3,%eax
jne    15be <main+0x3fe>
xor    %eax,%eax
call   1070 <getchar@plt>
cmp    $0x4,%eax
jne    15be <main+0x3fe>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
mov    %eax,0x8(%rsp)
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
mov    %eax,0x1c(%rsp)
xor    %eax,%eax
call   1070 <getchar@plt>
mov    %eax,0x18(%rsp)
xor    %eax,%eax
call   1070 <getchar@plt>
mov    %eax,0x14(%rsp)
xor    %eax,%eax
call   1070 <getchar@plt>
mov    %eax,0x10(%rsp)
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
mov    %eax,%r15d
xor    %eax,%eax
call   1070 <getchar@plt>
mov    %eax,%ebp
xor    %eax,%eax
call   1070 <getchar@plt>
mov    %eax,%r12d
xor    %eax,%eax
call   1070 <getchar@plt>
mov    %eax,%r13d
mov    (%rbx),%edi
call   1040 <ferror@plt>
test   %eax,%eax
jne    15be <main+0x3fe>
mov    (%rbx),%edi
call   1090 <feof@plt>
test   %eax,%eax
jne    15be <main+0x3fe>
shl    $0x8,%ebp
or     %r15d,%ebp
shl    $0x8,%r13d
or     %r12d,%r13d
cmp    $0x3,%ebp
jg     1410 <main+0x250>
add    %ebp,%r13d
mov    %r13d,%edi
call   1030 <skip@plt>
mov    0x8(%rsp),%r13d
jmp    14f0 <main+0x330>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
add    $0xfffffffc,%ebp
mov    %ebp,%edi
call   1030 <skip@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
mov    %eax,%edi
call   10b0 <tolower@plt>
mov    %al,0x3(%rsp)
xor    %eax,%eax
call   1070 <getchar@plt>
mov    %eax,%edi
call   10b0 <tolower@plt>
mov    %al,0x4(%rsp)
xor    %eax,%eax
call   1070 <getchar@plt>
mov    %eax,%edi
call   10b0 <tolower@plt>
mov    %al,0x5(%rsp)
xor    %eax,%eax
call   1070 <getchar@plt>
mov    %eax,%edi
call   10b0 <tolower@plt>
mov    %al,0x6(%rsp)
mov    %r13d,%edi
call   1030 <skip@plt>
movb   $0x0,0x7(%rsp)
lea    0x3(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x2e,%esi
call   1050 <strchr@plt>
mov    %rbx,%r15
test   %rax,%rax
je     1497 <main+0x2d7>
mov    %rax,%r15
add    $0x1,%r15
cmpb   $0x0,(%rax)
cmove  %rbx,%r15
cmpl   $0x2,0xc(%rsp)
mov    0x20(%rsp),%rbx
lea    0xb7f(%rip),%r12
mov    0x8(%rsp),%r13d
jl     14f0 <main+0x330>
mov    $0x1,%ebp
jmp    14c9 <main+0x309>
cs nopw 0x0(%rax,%rax,1)
add    $0x1,%rbp
cmp    %rbp,%rbx
je     14f0 <main+0x330>
mov    (%r14,%rbp,8),%rsi
mov    %r15,%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
jne    14c0 <main+0x300>
mov    %r12,%rdi
mov    %r15,%rsi
call   10e0 <matched@plt>
jmp    14c0 <main+0x300>
nopw   0x0(%rax,%rax,1)
test   $0x8,%r13b
je     1280 <main+0xc0>
mov    0x2adf(%rip),%r15
cmpl   $0x0,(%r15)
mov    0x2adc(%rip),%rbx
jne    1529 <main+0x369>
jmp    12a9 <main+0xe9>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
cmp    (%r15),%ebp
je     12a9 <main+0xe9>
xor    %eax,%eax
call   1070 <getchar@plt>
mov    %eax,%ebp
cmp    $0x50,%eax
je     153c <main+0x37c>
cmp    (%r15),%ebp
jne    1529 <main+0x369>
cmp    $0x50,%ebp
jne    1520 <main+0x360>
xor    %eax,%eax
call   1070 <getchar@plt>
cmp    $0x4b,%eax
jne    1520 <main+0x360>
xor    %eax,%eax
call   1070 <getchar@plt>
cmp    $0x7,%eax
jne    1520 <main+0x360>
xor    %eax,%eax
call   1070 <getchar@plt>
cmp    $0x8,%eax
jne    1520 <main+0x360>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
jmp    12a9 <main+0xe9>
mov    0x2a23(%rip),%rbx
mov    (%rbx),%edi
call   10a0 <clearerr@plt>
mov    (%rbx),%edi
mov    0x29f3(%rip),%rax
mov    (%rax),%edx
xor    %esi,%esi
call   10c0 <fseek@plt>
mov    0x29d3(%rip),%rax
mov    (%rax),%edi
call   10d0 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [39 x i8] c"Usage: %s extensions... < archivefile\0A\00"
@EXIT_FAILURE = global i32 0
@stdin = global i32 0
@.str.1 = [8 x i8] c"zipfile\00"
@EOF = global i32 0
@SEEK_SET = global i32 0
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca [5 x i8]
%15 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%16 = load i32, i32* %4
%17 = icmp sle i32 %16, 1
br i1 %17, label %18, label %26
18: ; preds = %2
%19 = load i32, i32* @stderr
%20 = load i8**, i8*** %5
%21 = getelementptr inbounds i8*, i8** %20, i64 0
%22 = load i8*, i8** %21
%23 = call i32 @fprintf(i32 %19, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0), i8* %22)
%24 = load i32, i32* @EXIT_FAILURE
%25 = call i32 @exit(i32 %24)
unreachable
26: ; preds = %2
store i32 1, i32* %6
br label %27
27: ; preds = %84, %26
%28 = load i32, i32* %6
%29 = load i32, i32* %4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %87
31: ; preds = %27
%32 = load i8**, i8*** %5
%33 = load i32, i32* %6
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8*, i8** %32, i64 %34
%36 = load i8*, i8** %35
%37 = getelementptr inbounds i8, i8* %36, i64 0
%38 = load i8, i8* %37
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 46
br i1 %40, label %41, label %48
41: ; preds = %31
%42 = load i8**, i8*** %5
%43 = load i32, i32* %6
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8*, i8** %42, i64 %44
%46 = load i8*, i8** %45
%47 = getelementptr inbounds i8, i8* %46, i32 1
store i8* %47, i8** %45
br label %48
48: ; preds = %41, %31
store i32 0, i32* %7
br label %49
49: ; preds = %80, %48
%50 = load i8**, i8*** %5
%51 = load i32, i32* %6
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8*, i8** %50, i64 %52
%54 = load i8*, i8** %53
%55 = load i32, i32* %7
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, i8* %54, i64 %56
%58 = load i8, i8* %57
%59 = icmp ne i8 %58, 0
br i1 %59, label %60, label %83
60: ; preds = %49
%61 = load i8**, i8*** %5
%62 = load i32, i32* %6
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8*, i8** %61, i64 %63
%65 = load i8*, i8** %64
%66 = load i32, i32* %7
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, i8* %65, i64 %67
%69 = load i8, i8* %68
%70 = sext i8 %69 to i32
%71 = call signext i8 @tolower(i32 %70)
%72 = load i8**, i8*** %5
%73 = load i32, i32* %6
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8*, i8** %72, i64 %74
%76 = load i8*, i8** %75
%77 = load i32, i32* %7
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, i8* %76, i64 %78
store i8 %71, i8* %79
br label %80
80: ; preds = %60
%81 = load i32, i32* %7
%82 = add nsw i32 %81, 1
store i32 %82, i32* %7
br label %49
83: ; preds = %49
br label %84
84: ; preds = %83
%85 = load i32, i32* %6
%86 = add nsw i32 %85, 1
store i32 %86, i32* %6
br label %27
87: ; preds = %27
br label %88
88: ; preds = %302, %87
%89 = call i32 (...) @getchar()
%90 = icmp eq i32 %89, 80
br i1 %90, label %91, label %304
91: ; preds = %88
%92 = call i32 (...) @getchar()
%93 = icmp eq i32 %92, 75
br i1 %93, label %94, label %304
94: ; preds = %91
%95 = call i32 (...) @getchar()
%96 = icmp eq i32 %95, 3
br i1 %96, label %97, label %304
97: ; preds = %94
%98 = call i32 (...) @getchar()
%99 = icmp eq i32 %98, 4
br i1 %99, label %100, label %304
100: ; preds = %97
%101 = call i32 (...) @getchar()
%102 = call i32 (...) @getchar()
%103 = call i32 (...) @getchar()
store i32 %103, i32* %13
%104 = call i32 (...) @getchar()
%105 = shl i32 %104, 8
%106 = load i32, i32* %13
%107 = or i32 %106, %105
store i32 %107, i32* %13
%108 = call i32 (...) @getchar()
store i32 %108, i32* %8
%109 = call i32 (...) @getchar()
%110 = shl i32 %109, 8
%111 = load i32, i32* %8
%112 = or i32 %111, %110
store i32 %112, i32* %8
%113 = call i32 (...) @getchar()
%114 = call i32 (...) @getchar()
%115 = call i32 (...) @getchar()
%116 = call i32 (...) @getchar()
%117 = call i32 (...) @getchar()
%118 = call i32 (...) @getchar()
%119 = call i32 (...) @getchar()
%120 = call i32 (...) @getchar()
%121 = call i32 (...) @getchar()
store i32 %121, i32* %11
%122 = call i32 (...) @getchar()
%123 = shl i32 %122, 8
%124 = load i32, i32* %11
%125 = or i32 %124, %123
store i32 %125, i32* %11
%126 = call i32 (...) @getchar()
%127 = shl i32 %126, 16
%128 = load i32, i32* %11
%129 = or i32 %128, %127
store i32 %129, i32* %11
%130 = call i32 (...) @getchar()
%131 = shl i32 %130, 24
%132 = load i32, i32* %11
%133 = or i32 %132, %131
store i32 %133, i32* %11
%134 = call i32 (...) @getchar()
store i32 %134, i32* %12
%135 = call i32 (...) @getchar()
%136 = load i32, i32* %12
%137 = or i32 %136, %135
store i32 %137, i32* %12
%138 = call i32 (...) @getchar()
%139 = load i32, i32* %12
%140 = or i32 %139, %138
store i32 %140, i32* %12
%141 = call i32 (...) @getchar()
%142 = load i32, i32* %12
%143 = or i32 %142, %141
store i32 %143, i32* %12
%144 = call i32 (...) @getchar()
store i32 %144, i32* %9
%145 = call i32 (...) @getchar()
%146 = shl i32 %145, 8
%147 = load i32, i32* %9
%148 = or i32 %147, %146
store i32 %148, i32* %9
%149 = call i32 (...) @getchar()
store i32 %149, i32* %10
%150 = call i32 (...) @getchar()
%151 = shl i32 %150, 8
%152 = load i32, i32* %10
%153 = or i32 %152, %151
store i32 %153, i32* %10
%154 = load i32, i32* @stdin
%155 = call i32 @ferror(i32 %154)
%156 = icmp ne i32 %155, 0
br i1 %156, label %303, label %157
157: ; preds = %100
%158 = load i32, i32* @stdin
%159 = call i32 @feof(i32 %158)
%160 = icmp ne i32 %159, 0
br i1 %160, label %303, label %161
161: ; preds = %157
%162 = load i32, i32* %9
%163 = icmp slt i32 %162, 4
br i1 %163, label %164, label %169
164: ; preds = %161
%165 = load i32, i32* %9
%166 = load i32, i32* %10
%167 = add nsw i32 %165, %166
%168 = call i32 @skip(i32 %167)
br label %229
169: ; preds = %161
%170 = load i32, i32* %9
%171 = sub nsw i32 %170, 4
%172 = call i32 @skip(i32 %171)
%173 = call i32 (...) @getchar()
%174 = call signext i8 @tolower(i32 %173)
%175 = getelementptr inbounds [5 x i8], [5 x i8]* %14, i64 0, i64 0
store i8 %174, i8* %175
%176 = call i32 (...) @getchar()
%177 = call signext i8 @tolower(i32 %176)
%178 = getelementptr inbounds [5 x i8], [5 x i8]* %14, i64 0, i64 1
store i8 %177, i8* %178
%179 = call i32 (...) @getchar()
%180 = call signext i8 @tolower(i32 %179)
%181 = getelementptr inbounds [5 x i8], [5 x i8]* %14, i64 0, i64 2
store i8 %180, i8* %181
%182 = call i32 (...) @getchar()
%183 = call signext i8 @tolower(i32 %182)
%184 = getelementptr inbounds [5 x i8], [5 x i8]* %14, i64 0, i64 3
store i8 %183, i8* %184
%185 = load i32, i32* %10
%186 = call i32 @skip(i32 %185)
%187 = getelementptr inbounds [5 x i8], [5 x i8]* %14, i64 0, i64 3
%188 = load i8, i8* %187
%189 = sext i8 %188 to i32
%190 = icmp eq i32 %189, 47
br i1 %190, label %191, label %192
191: ; preds = %169
br label %192
192: ; preds = %191, %169
%193 = getelementptr inbounds [5 x i8], [5 x i8]* %14, i64 0, i64 4
store i8 0, i8* %193
%194 = getelementptr inbounds [5 x i8], [5 x i8]* %14, i64 0, i64 0
%195 = call i8* @strchr(i8* %194, i8 signext 46)
store i8* %195, i8** %15
%196 = load i8*, i8** %15
%197 = icmp ne i8* %196, null
br i1 %197, label %198, label %202
198: ; preds = %192
%199 = load i8*, i8** %15
%200 = load i8, i8* %199
%201 = icmp ne i8 %200, 0
br i1 %201, label %204, label %202
202: ; preds = %198, %192
%203 = getelementptr inbounds [5 x i8], [5 x i8]* %14, i64 0, i64 0
store i8* %203, i8** %15
br label %207
204: ; preds = %198
%205 = load i8*, i8** %15
%206 = getelementptr inbounds i8, i8* %205, i64 1
store i8* %206, i8** %15
br label %207
207: ; preds = %204, %202
store i32 1, i32* %6
br label %208
208: ; preds = %225, %207
%209 = load i32, i32* %6
%210 = load i32, i32* %4
%211 = icmp slt i32 %209, %210
br i1 %211, label %212, label %228
212: ; preds = %208
%213 = load i8*, i8** %15
%214 = load i8**, i8*** %5
%215 = load i32, i32* %6
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds i8*, i8** %214, i64 %216
%218 = load i8*, i8** %217
%219 = call i64 @strcmp(i8* %213, i8* %218)
%220 = icmp ne i64 %219, 0
br i1 %220, label %221, label %222
221: ; preds = %212
br label %225
222: ; preds = %212
%223 = load i8*, i8** %15
%224 = call i32 @matched(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i8* %223)
br label %225
225: ; preds = %222, %221
%226 = load i32, i32* %6
%227 = add nsw i32 %226, 1
store i32 %227, i32* %6
br label %208
228: ; preds = %208
br label %229
229: ; preds = %228, %164
%230 = load i32, i32* %13
%231 = and i32 %230, 8
%232 = icmp ne i32 %231, 0
br i1 %232, label %233, label %299
233: ; preds = %229
store i32 0, i32* %7
store i32 0, i32* %6
br label %234
234: ; preds = %297, %233
%235 = load i32, i32* %6
%236 = load i32, i32* @EOF
%237 = icmp ne i32 %235, %236
br i1 %237, label %238, label %298
238: ; preds = %234
br label %239
239: ; preds = %248, %238
%240 = call i32 (...) @getchar()
store i32 %240, i32* %6
%241 = icmp ne i32 %240, 80
br i1 %241, label %242, label %246
242: ; preds = %239
%243 = load i32, i32* %6
%244 = load i32, i32* @EOF
%245 = icmp ne i32 %243, %244
br label %246
246: ; preds = %242, %239
%247 = phi i1 [ false, %239 ], [ %245, %242 ]
br i1 %247, label %248, label %251
248: ; preds = %246
%249 = load i32, i32* %7
%250 = add nsw i32 %249, 1
store i32 %250, i32* %7
br label %239
251: ; preds = %246
%252 = load i32, i32* %6
%253 = icmp eq i32 %252, 80
br i1 %253, label %254, label %297
254: ; preds = %251
%255 = call i32 (...) @getchar()
%256 = icmp eq i32 %255, 75
br i1 %256, label %257, label %297
257: ; preds = %254
%258 = call i32 (...) @getchar()
%259 = icmp eq i32 %258, 7
br i1 %259, label %260, label %297
260: ; preds = %257
%261 = call i32 (...) @getchar()
%262 = icmp eq i32 %261, 8
br i1 %262, label %263, label %297
263: ; preds = %260
%264 = call i32 (...) @getchar()
%265 = call i32 (...) @getchar()
%266 = call i32 (...) @getchar()
%267 = call i32 (...) @getchar()
%268 = call i32 (...) @getchar()
store i32 %268, i32* %11
%269 = call i32 (...) @getchar()
%270 = shl i32 %269, 8
%271 = load i32, i32* %11
%272 = or i32 %271, %270
store i32 %272, i32* %11
%273 = call i32 (...) @getchar()
%274 = shl i32 %273, 16
%275 = load i32, i32* %11
%276 = or i32 %275, %274
store i32 %276, i32* %11
%277 = call i32 (...) @getchar()
%278 = shl i32 %277, 24
%279 = load i32, i32* %11
%280 = or i32 %279, %278
store i32 %280, i32* %11
%281 = load i32, i32* %11
%282 = load i32, i32* %7
%283 = add nsw i32 %282, 4
%284 = icmp ne i32 %281, %283
br i1 %284, label %285, label %286
285: ; preds = %263
br label %286
286: ; preds = %285, %263
%287 = call i32 (...) @getchar()
store i32 %287, i32* %12
%288 = call i32 (...) @getchar()
%289 = load i32, i32* %12
%290 = or i32 %289, %288
store i32 %290, i32* %12
%291 = call i32 (...) @getchar()
%292 = load i32, i32* %12
%293 = or i32 %292, %291
store i32 %293, i32* %12
%294 = call i32 (...) @getchar()
%295 = load i32, i32* %12
%296 = or i32 %295, %294
store i32 %296, i32* %12
br label %298
297: ; preds = %260, %257, %254, %251
br label %234
298: ; preds = %286, %234
br label %302
299: ; preds = %229
%300 = load i32, i32* %11
%301 = call i32 @skip(i32 %300)
br label %302
302: ; preds = %299, %298
br label %88
303: ; preds = %157, %100
br label %304
304: ; preds = %303, %97, %94, %91, %88
%305 = load i32, i32* @stdin
%306 = call i32 @clearerr(i32 %305)
%307 = load i32, i32* @stdin
%308 = load i32, i32* @SEEK_SET
%309 = call i32 @fseek(i32 %307, i32 0, i32 %308)
%310 = load i32, i32* @EXIT_SUCCESS
%311 = call i32 @exit(i32 %310)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [39 x i8] c"Usage: %s extensions... < archivefile\0A\00"
@EXIT_FAILURE = global i32 0
@stdin = global i32 0
@.str.1 = [8 x i8] c"zipfile\00"
@EOF = global i32 0
@SEEK_SET = global i32 0
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [5 x i8]
%4 = icmp slt i32 %0, 2
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = zext i32 %0 to i64
br label %24
7: ; preds = %2
%8 = load i32, i32* @stderr
%9 = load i8*, i8** %1
%10 = tail call i32 @fprintf(i32 %8, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0), i8* %9)
%11 = load i32, i32* @EXIT_FAILURE
%12 = tail call i32 @exit(i32 %11)
unreachable
13: ; preds = %48
%14 = call i32 (...) @getchar()
%15 = icmp eq i32 %14, 80
br i1 %15, label %16, label %187
16: ; preds = %13
%17 = getelementptr inbounds [5 x i8], [5 x i8]* %3, i64 0, i64 0
%18 = getelementptr inbounds [5 x i8], [5 x i8]* %3, i64 0, i64 1
%19 = getelementptr inbounds [5 x i8], [5 x i8]* %3, i64 0, i64 2
%20 = getelementptr inbounds [5 x i8], [5 x i8]* %3, i64 0, i64 3
%21 = getelementptr inbounds [5 x i8], [5 x i8]* %3, i64 0, i64 4
%22 = icmp sgt i32 %0, 1
%23 = zext i32 %0 to i64
br label %51
24: ; preds = %5, %48
%25 = phi i64 [ 1, %5 ], [ %49, %48 ]
%26 = getelementptr inbounds i8*, i8** %1, i64 %25
%27 = load i8*, i8** %26
%28 = load i8, i8* %27
%29 = icmp eq i8 %28, 46
br i1 %29, label %30, label %33
30: ; preds = %24
%31 = getelementptr inbounds i8, i8* %27, i64 1
store i8* %31, i8** %26
%32 = load i8, i8* %31
br label %33
33: ; preds = %30, %24
%34 = phi i8 [ %32, %30 ], [ %28, %24 ]
%35 = icmp eq i8 %34, 0
br i1 %35, label %48, label %36
36: ; preds = %33, %36
%37 = phi i64 [ %43, %36 ], [ 0, %33 ]
%38 = phi i8 [ %46, %36 ], [ %34, %33 ]
%39 = sext i8 %38 to i32
%40 = tail call signext i8 @tolower(i32 %39)
%41 = load i8*, i8** %26
%42 = getelementptr inbounds i8, i8* %41, i64 %37
store i8 %40, i8* %42
%43 = add nuw i64 %37, 1
%44 = load i8*, i8** %26
%45 = getelementptr inbounds i8, i8* %44, i64 %43
%46 = load i8, i8* %45
%47 = icmp eq i8 %46, 0
br i1 %47, label %48, label %36
48: ; preds = %36, %33
%49 = add nuw nsw i64 %25, 1
%50 = icmp eq i64 %49, %6
br i1 %50, label %13, label %24
51: ; preds = %16, %184
%52 = call i32 (...) @getchar()
%53 = icmp eq i32 %52, 75
br i1 %53, label %54, label %187
54: ; preds = %51
%55 = call i32 (...) @getchar()
%56 = icmp eq i32 %55, 3
br i1 %56, label %57, label %187
57: ; preds = %54
%58 = call i32 (...) @getchar()
%59 = icmp eq i32 %58, 4
br i1 %59, label %60, label %187
60: ; preds = %57
%61 = call i32 (...) @getchar()
%62 = call i32 (...) @getchar()
%63 = call i32 (...) @getchar()
%64 = call i32 (...) @getchar()
%65 = call i32 (...) @getchar()
%66 = call i32 (...) @getchar()
%67 = call i32 (...) @getchar()
%68 = call i32 (...) @getchar()
%69 = call i32 (...) @getchar()
%70 = call i32 (...) @getchar()
%71 = call i32 (...) @getchar()
%72 = call i32 (...) @getchar()
%73 = call i32 (...) @getchar()
%74 = call i32 (...) @getchar()
%75 = call i32 (...) @getchar()
%76 = call i32 (...) @getchar()
%77 = shl i32 %76, 8
%78 = or i32 %77, %75
%79 = call i32 (...) @getchar()
%80 = shl i32 %79, 16
%81 = or i32 %78, %80
%82 = call i32 (...) @getchar()
%83 = shl i32 %82, 24
%84 = or i32 %81, %83
%85 = call i32 (...) @getchar()
%86 = call i32 (...) @getchar()
%87 = call i32 (...) @getchar()
%88 = call i32 (...) @getchar()
%89 = call i32 (...) @getchar()
%90 = call i32 (...) @getchar()
%91 = shl i32 %90, 8
%92 = or i32 %91, %89
%93 = call i32 (...) @getchar()
%94 = call i32 (...) @getchar()
%95 = shl i32 %94, 8
%96 = or i32 %95, %93
%97 = load i32, i32* @stdin
%98 = call i32 @ferror(i32 %97)
%99 = icmp eq i32 %98, 0
br i1 %99, label %100, label %183
100: ; preds = %60
%101 = load i32, i32* @stdin
%102 = call i32 @feof(i32 %101)
%103 = icmp eq i32 %102, 0
br i1 %103, label %104, label %183
104: ; preds = %100
%105 = icmp slt i32 %92, 4
br i1 %105, label %106, label %109
106: ; preds = %104
%107 = add nsw i32 %96, %92
%108 = call i32 @skip(i32 %107)
br label %141
109: ; preds = %104
%110 = add nsw i32 %92, -4
%111 = call i32 @skip(i32 %110)
%112 = call i32 (...) @getchar()
%113 = call signext i8 @tolower(i32 %112)
store i8 %113, i8* %17
%114 = call i32 (...) @getchar()
%115 = call signext i8 @tolower(i32 %114)
store i8 %115, i8* %18
%116 = call i32 (...) @getchar()
%117 = call signext i8 @tolower(i32 %116)
store i8 %117, i8* %19
%118 = call i32 (...) @getchar()
%119 = call signext i8 @tolower(i32 %118)
store i8 %119, i8* %20
%120 = call i32 @skip(i32 %96)
store i8 0, i8* %21
%121 = call i8* @strchr(i8* %17, i8 signext 46)
%122 = icmp eq i8* %121, null
br i1 %122, label %128, label %123
123: ; preds = %109
%124 = load i8, i8* %121
%125 = icmp eq i8 %124, 0
%126 = getelementptr inbounds i8, i8* %121, i64 1
%127 = select i1 %125, i8* %17, i8* %126
br label %128
128: ; preds = %123, %109
%129 = phi i8* [ %17, %109 ], [ %127, %123 ]
br i1 %22, label %130, label %141
130: ; preds = %128, %138
%131 = phi i64 [ %139, %138 ], [ 1, %128 ]
%132 = getelementptr inbounds i8*, i8** %1, i64 %131
%133 = load i8*, i8** %132
%134 = call i64 @strcmp(i8* %129, i8* %133)
%135 = icmp eq i64 %134, 0
br i1 %135, label %136, label %138
136: ; preds = %130
%137 = call i32 @matched(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i8* %129)
br label %138
138: ; preds = %130, %136
%139 = add nuw nsw i64 %131, 1
%140 = icmp eq i64 %139, %23
br i1 %140, label %141, label %130
141: ; preds = %138, %128, %106
%142 = and i32 %63, 8
%143 = icmp eq i32 %142, 0
br i1 %143, label %181, label %144
144: ; preds = %141
%145 = load i32, i32* @EOF
%146 = icmp eq i32 %145, 0
br i1 %146, label %184, label %147
147: ; preds = %144, %153
%148 = call i32 (...) @getchar()
%149 = icmp ne i32 %148, 80
%150 = load i32, i32* @EOF
%151 = icmp ne i32 %148, %150
%152 = select i1 %149, i1 %151, i1 false
br i1 %152, label %153, label %154
153: ; preds = %147, %178
br label %147
154: ; preds = %147
%155 = icmp eq i32 %148, 80
br i1 %155, label %156, label %178
156: ; preds = %154
%157 = call i32 (...) @getchar()
%158 = icmp eq i32 %157, 75
br i1 %158, label %159, label %178
159: ; preds = %156
%160 = call i32 (...) @getchar()
%161 = icmp eq i32 %160, 7
br i1 %161, label %162, label %178
162: ; preds = %159
%163 = call i32 (...) @getchar()
%164 = icmp eq i32 %163, 8
br i1 %164, label %165, label %178
165: ; preds = %162
%166 = call i32 (...) @getchar()
%167 = call i32 (...) @getchar()
%168 = call i32 (...) @getchar()
%169 = call i32 (...) @getchar()
%170 = call i32 (...) @getchar()
%171 = call i32 (...) @getchar()
%172 = call i32 (...) @getchar()
%173 = call i32 (...) @getchar()
%174 = call i32 (...) @getchar()
%175 = call i32 (...) @getchar()
%176 = call i32 (...) @getchar()
%177 = call i32 (...) @getchar()
br label %184
178: ; preds = %162, %159, %156, %154
%179 = load i32, i32* @EOF
%180 = icmp eq i32 %148, %179
br i1 %180, label %184, label %153
181: ; preds = %141
%182 = call i32 @skip(i32 %84)
br label %184
183: ; preds = %100, %60
br label %187
184: ; preds = %178, %144, %181, %165
%185 = call i32 (...) @getchar()
%186 = icmp eq i32 %185, 80
br i1 %186, label %51, label %187
187: ; preds = %184, %51, %54, %57, %13, %183
%188 = load i32, i32* @stdin
%189 = call i32 @clearerr(i32 %188)
%190 = load i32, i32* @stdin
%191 = load i32, i32* @SEEK_SET
%192 = call i32 @fseek(i32 %190, i32 0, i32 %191)
%193 = load i32, i32* @EXIT_SUCCESS
%194 = call i32 @exit(i32 %193)
unreachable
}