#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 scalar_t__ int32_t;

/* Variables and functions */
int MAP_SHARED;
int /*<<< orphan*/ PROT_READ;
scalar_t__ fsize(scalar_t__);
char *mmap(int /*<<< orphan*/, scalar_t__, int /*<<< orphan*/, int, scalar_t__,
           int /*<<< orphan*/);
scalar_t__ open(char *, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ printll(char *);
void Snippet(char *x0) {
  printf("%s\n", "Phrase,Year,MatchCount,VolumeCount");
  int32_t x5 = 0;
  int32_t x2 = open(x0, 0);
  int32_t x3 = fsize(x2);
  char *x4 = mmap(0, x3, PROT_READ, MAP_SHARED | MAP_SHARED, x2, 0);
  for (;;) {
    int32_t x6 = x5;
    bool x7 = x6 < x3;
    if (!x7)
      break;
    int32_t x9 = x5;
    for (;;) {
      int32_t x10 = x5;
      char x11 = x4[x10];
      bool x12 = x11 != '\t';
      if (!x12)
        break;
      x5 += 1;
    }
    int32_t x17 = x5;
    x5 += 1;
    int32_t x21 = x5;
    for (;;) {
      int32_t x22 = x5;
      char x23 = x4[x22];
      bool x24 = x23 != '\t';
      if (!x24)
        break;
      x5 += 1;
    }
    int32_t x29 = x5;
    x5 += 1;
    int32_t x33 = x5;
    for (;;) {
      int32_t x34 = x5;
      char x35 = x4[x34];
      bool x36 = x35 != '\t';
      if (!x36)
        break;
      x5 += 1;
    }
    int32_t x41 = x5;
    x5 += 1;
    int32_t x45 = x5;
    for (;;) {
      int32_t x46 = x5;
      char x47 = x4[x46];
      bool x48 = x47 != '\n';
      if (!x48)
        break;
      x5 += 1;
    }
    int32_t x53 = x5;
    x5 += 1;
    int32_t x18 = x17 - x9;
    bool x58 = x18 == 12;
    bool x73;
    if (x58) {
      int32_t x59 = 0;
      char *x20 = x4 + x9;
      for (;;) {
        int32_t x60 = x59;
        bool x61 = x60 < x18;
        bool x65;
        if (x61) {
          char x62 = x20[x60];
          char x63 = "Auswanderung"[x60];
          bool x64 = x62 == x63;
          x65 = x64;
        } else {
          x65 = false;
        }
        if (!x65)
          break;
        x59 += 1;
      }
      int32_t x70 = x59;
      bool x71 = x70 == x18;
      x73 = x71;
    } else {
      x73 = false;
    }
    if (x73) {
      char *x20 = x4 + x9;
      int32_t x74 = printll(x20);
      printf(",");
      char *x32 = x4 + x21;
      int32_t x76 = printll(x32);
      printf(",");
      char *x44 = x4 + x33;
      int32_t x78 = printll(x44);
      printf(",");
      char *x56 = x4 + x45;
      int32_t x80 = printll(x56);
      printf("%s\n", "");
    } else {
    }
  }
}


x86 assembly (clang, -O0):
<Snippet>:
push   %rbp
mov    %rsp,%rbp
sub    $0x140,%rsp
mov    %rdi,-0x8(%rbp)
lea    0xe9a(%rip),%rdi
lea    0xe97(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
movq   $0x0,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
xor    %esi,%esi
call   1070 <open@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
call   1060 <fsize@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rsi
mov    0x2e55(%rip),%rax
mov    (%rax),%edx
mov    0x2e3c(%rip),%rax
mov    (%rax),%ecx
mov    0x2e33(%rip),%rax
or     (%rax),%ecx
mov    -0x18(%rbp),%r8
xor    %r9d,%r9d
mov    %r9d,%edi
call   1030 <mmap@plt>
mov    %rax,-0x28(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rax
cmp    -0x20(%rbp),%rax
setl   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x34(%rbp)
cmpl   $0x0,-0x34(%rbp)
jne    11f4 <Snippet+0xa4>
jmp    15ef <Snippet+0x49f>
mov    -0x10(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x28(%rbp),%rax
mov    -0x48(%rbp),%rcx
mov    (%rax,%rcx,1),%al
mov    %al,-0x49(%rbp)
movsbl -0x49(%rbp),%eax
cmp    $0x9,%eax
setne  %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x50(%rbp)
cmpl   $0x0,-0x50(%rbp)
jne    1233 <Snippet+0xe3>
jmp    1244 <Snippet+0xf4>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    11fc <Snippet+0xac>
mov    -0x10(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x60(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    -0x28(%rbp),%rax
mov    -0x68(%rbp),%rcx
mov    (%rax,%rcx,1),%al
mov    %al,-0x69(%rbp)
movsbl -0x69(%rbp),%eax
cmp    $0x9,%eax
setne  %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x70(%rbp)
cmpl   $0x0,-0x70(%rbp)
jne    1297 <Snippet+0x147>
jmp    12a8 <Snippet+0x158>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    1260 <Snippet+0x110>
mov    -0x10(%rbp),%rax
mov    %rax,-0x78(%rbp)
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x80(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x88(%rbp)
mov    -0x28(%rbp),%rax
mov    -0x88(%rbp),%rcx
mov    (%rax,%rcx,1),%al
mov    %al,-0x89(%rbp)
movsbl -0x89(%rbp),%eax
cmp    $0x9,%eax
setne  %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x90(%rbp)
cmpl   $0x0,-0x90(%rbp)
jne    130d <Snippet+0x1bd>
jmp    131e <Snippet+0x1ce>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    12c4 <Snippet+0x174>
mov    -0x10(%rbp),%rax
mov    %rax,-0x98(%rbp)
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0xa0(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0xa8(%rbp)
mov    -0x28(%rbp),%rax
mov    -0xa8(%rbp),%rcx
mov    (%rax,%rcx,1),%al
mov    %al,-0xa9(%rbp)
movsbl -0xa9(%rbp),%eax
cmp    $0xa,%eax
setne  %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xb0(%rbp)
cmpl   $0x0,-0xb0(%rbp)
jne    1389 <Snippet+0x239>
jmp    139a <Snippet+0x24a>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    1340 <Snippet+0x1f0>
mov    -0x10(%rbp),%rax
mov    %rax,-0xb8(%rbp)
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    -0x58(%rbp),%rax
sub    -0x40(%rbp),%rax
mov    %rax,-0xc0(%rbp)
cmpq   $0xc,-0xc0(%rbp)
0c
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xc4(%rbp)
cmpl   $0x0,-0xc4(%rbp)
je     14ff <Snippet+0x3af>
movq   $0x0,-0xd0(%rbp)
mov    -0x28(%rbp),%rax
add    -0x40(%rbp),%rax
mov    %rax,-0xd8(%rbp)
mov    -0xd0(%rbp),%rax
mov    %rax,-0xe0(%rbp)
mov    -0xe0(%rbp),%rax
cmp    -0xc0(%rbp),%rax
setl   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xe4(%rbp)
cmpl   $0x0,-0xe4(%rbp)
je     1491 <Snippet+0x341>
mov    -0xd8(%rbp),%rax
mov    -0xe0(%rbp),%rcx
mov    (%rax,%rcx,1),%al
mov    %al,-0xe9(%rbp)
mov    -0xe0(%rbp),%rcx
lea    0xbce(%rip),%rax
mov    (%rax,%rcx,1),%al
mov    %al,-0xea(%rbp)
movsbl -0xe9(%rbp),%eax
movsbl -0xea(%rbp),%ecx
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xf0(%rbp)
mov    -0xf0(%rbp),%eax
mov    %eax,-0xe8(%rbp)
jmp    149b <Snippet+0x34b>
movl   $0x0,-0xe8(%rbp)
cmpl   $0x0,-0xe8(%rbp)
jne    14ad <Snippet+0x35d>
jmp    14c4 <Snippet+0x374>
mov    -0xd0(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xd0(%rbp)
jmp    13fd <Snippet+0x2ad>
mov    -0xd0(%rbp),%rax
mov    %rax,-0xf8(%rbp)
mov    -0xf8(%rbp),%rax
cmp    -0xc0(%rbp),%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xfc(%rbp)
mov    -0xfc(%rbp),%eax
mov    %eax,-0xc8(%rbp)
jmp    1509 <Snippet+0x3b9>
movl   $0x0,-0xc8(%rbp)
cmpl   $0x0,-0xc8(%rbp)
je     15e5 <Snippet+0x495>
mov    -0x28(%rbp),%rax
add    -0x40(%rbp),%rax
mov    %rax,-0x108(%rbp)
mov    -0x108(%rbp),%rdi
call   1050 <printll@plt>
mov    %rax,-0x110(%rbp)
lea    0xaf5(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rax
add    -0x60(%rbp),%rax
mov    %rax,-0x118(%rbp)
mov    -0x118(%rbp),%rdi
call   1050 <printll@plt>
mov    %rax,-0x120(%rbp)
lea    0xac5(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rax
add    -0x80(%rbp),%rax
mov    %rax,-0x128(%rbp)
mov    -0x128(%rbp),%rdi
call   1050 <printll@plt>
mov    %rax,-0x130(%rbp)
lea    0xa95(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rax
add    -0xa0(%rbp),%rax
mov    %rax,-0x138(%rbp)
mov    -0x138(%rbp),%rdi
call   1050 <printll@plt>
mov    %rax,-0x140(%rbp)
lea    0xa2e(%rip),%rdi
lea    0xa2a(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15ea <Snippet+0x49a>
jmp    15ea <Snippet+0x49a>
jmp    11ca <Snippet+0x7a>
add    $0x140,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Snippet>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rdi,%rbx
lea    0xe88(%rip),%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
xor    %esi,%esi
call   1080 <open@plt>
mov    %rax,%rbx
mov    %rax,%rdi
call   1070 <fsize@plt>
mov    %rax,%rbp
mov    0x2e5c(%rip),%rax
mov    (%rax),%edx
mov    0x2e43(%rip),%rax
mov    (%rax),%ecx
xor    %edi,%edi
mov    %rbp,%rsi
mov    %rbx,%r8
xor    %r9d,%r9d
call   1050 <mmap@plt>
test   %rbp,%rbp
jle    135c <Snippet+0x1fc>
mov    %rbp,%r8
mov    %rax,%r15
lea    0x2(%rax),%r9
lea    0x3(%rax),%r10
xor    %r13d,%r13d
jmp    11e9 <Snippet+0x89>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
cmp    %r8,%r13
jge    135c <Snippet+0x1fc>
mov    %r13,%rdi
lea    (%r9,%r13,1),%rcx
lea    (%r10,%r13,1),%rsi
mov    $0xd,%eax
mov    %r13,%rbp
nopl   0x0(%rax)
add    $0xffffffffffffffff,%rax
cmpb   $0x9,(%r15,%rbp,1)
mov    %rcx,%rdx
mov    %rsi,%rbx
lea    0x1(%rbp),%rbp
lea    0x1(%rcx),%rcx
lea    0x1(%rsi),%rsi
jne    1200 <Snippet+0xa0>
mov    %rbp,%r12
cmpb   $0x9,(%r15,%r12,1)
mov    %rdx,%r14
mov    %rbx,%rsi
lea    0x1(%r12),%r12
lea    0x1(%rdx),%rdx
lea    0x1(%rbx),%rbx
jne    1220 <Snippet+0xc0>
mov    %r12,%r13
nopl   (%rax)
mov    %rsi,%rcx
add    $0x1,%r13
cmpb   $0x9,(%r14)
lea    0x1(%r14),%r14
lea    0x1(%rsi),%rsi
jne    1240 <Snippet+0xe0>
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%r13
cmpb   $0xa,(%rcx)
lea    0x1(%rcx),%rcx
jne    1260 <Snippet+0x100>
test   %rax,%rax
jne    11e0 <Snippet+0x80>
cmpb   $0x41,(%r15,%rdi,1)
jne    11e0 <Snippet+0x80>
add    %r15,%rdi
cmpb   $0x75,0x1(%rdi)
jne    11e0 <Snippet+0x80>
cmpb   $0x73,0x2(%rdi)
jne    11e0 <Snippet+0x80>
cmpb   $0x77,0x3(%rdi)
jne    11e0 <Snippet+0x80>
cmpb   $0x61,0x4(%rdi)
jne    11e0 <Snippet+0x80>
cmpb   $0x6e,0x5(%rdi)
jne    11e0 <Snippet+0x80>
cmpb   $0x64,0x6(%rdi)
jne    11e0 <Snippet+0x80>
cmpb   $0x65,0x7(%rdi)
jne    11e0 <Snippet+0x80>
cmpb   $0x72,0x8(%rdi)
jne    11e0 <Snippet+0x80>
cmpb   $0x75,0x9(%rdi)
jne    11e0 <Snippet+0x80>
cmpb   $0x6e,0xa(%rdi)
jne    11e0 <Snippet+0x80>
cmpb   $0x67,0xb(%rdi)
jne    11e0 <Snippet+0x80>
mov    %r8,0x10(%rsp)
mov    %r9,0x8(%rsp)
mov    %r10,%rbx
call   1060 <printll@plt>
mov    $0x2c,%edi
call   1030 <putchar@plt>
add    %r15,%rbp
mov    %rbp,%rdi
call   1060 <printll@plt>
mov    $0x2c,%edi
call   1030 <putchar@plt>
add    %r15,%r12
mov    %r12,%rdi
call   1060 <printll@plt>
mov    $0x2c,%edi
call   1030 <putchar@plt>
mov    %r14,%rdi
call   1060 <printll@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %rbx,%r10
mov    0x8(%rsp),%r9
mov    0x10(%rsp),%r8
jmp    11e0 <Snippet+0x80>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [4 x i8] c"%s\0A\00"
@.str.1 = [35 x i8] c"Phrase,Year,MatchCount,VolumeCount\00"
@PROT_READ = global i32 0
@MAP_SHARED = global i32 0
@.str.2 = [13 x i8] c"Auswanderung\00"
@.str.3 = [2 x i8] c",\00"
@.str.4 = [1 x i8] zeroinitializer
define void @Snippet(i8* %0) {
%2 = alloca i8*
%3 = alloca i64
%4 = alloca i64
%5 = alloca i64
%6 = alloca i8*
%7 = alloca i64
%8 = alloca i32
%9 = alloca i64
%10 = alloca i64
%11 = alloca i8
%12 = alloca i32
%13 = alloca i64
%14 = alloca i64
%15 = alloca i64
%16 = alloca i8
%17 = alloca i32
%18 = alloca i64
%19 = alloca i64
%20 = alloca i64
%21 = alloca i8
%22 = alloca i32
%23 = alloca i64
%24 = alloca i64
%25 = alloca i64
%26 = alloca i8
%27 = alloca i32
%28 = alloca i64
%29 = alloca i64
%30 = alloca i32
%31 = alloca i32
%32 = alloca i64
%33 = alloca i8*
%34 = alloca i64
%35 = alloca i32
%36 = alloca i32
%37 = alloca i8
%38 = alloca i8
%39 = alloca i32
%40 = alloca i64
%41 = alloca i32
%42 = alloca i8*
%43 = alloca i64
%44 = alloca i8*
%45 = alloca i64
%46 = alloca i8*
%47 = alloca i64
%48 = alloca i8*
%49 = alloca i64
store i8* %0, i8** %2
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0))
store i64 0, i64* %3
%51 = load i8*, i8** %2
%52 = call i64 @open(i8* %51, i32 0)
store i64 %52, i64* %4
%53 = load i64, i64* %4
%54 = call i64 @fsize(i64 %53)
store i64 %54, i64* %5
%55 = load i64, i64* %5
%56 = load i32, i32* @PROT_READ
%57 = load i32, i32* @MAP_SHARED
%58 = load i32, i32* @MAP_SHARED
%59 = or i32 %57, %58
%60 = load i64, i64* %4
%61 = call i8* @mmap(i32 0, i64 %55, i32 %56, i32 %59, i64 %60, i32 0)
store i8* %61, i8** %6
br label %62
62: ; preds = %236, %1
%63 = load i64, i64* %3
store i64 %63, i64* %7
%64 = load i64, i64* %7
%65 = load i64, i64* %5
%66 = icmp slt i64 %64, %65
%67 = zext i1 %66 to i32
store i32 %67, i32* %8
%68 = load i32, i32* %8
%69 = icmp ne i32 %68, 0
br i1 %69, label %71, label %70
70: ; preds = %62
br label %237
71: ; preds = %62
%72 = load i64, i64* %3
store i64 %72, i64* %9
br label %73
73: ; preds = %86, %71
%74 = load i64, i64* %3
store i64 %74, i64* %10
%75 = load i8*, i8** %6
%76 = load i64, i64* %10
%77 = getelementptr inbounds i8, i8* %75, i64 %76
%78 = load i8, i8* %77
store i8 %78, i8* %11
%79 = load i8, i8* %11
%80 = sext i8 %79 to i32
%81 = icmp ne i32 %80, 9
%82 = zext i1 %81 to i32
store i32 %82, i32* %12
%83 = load i32, i32* %12
%84 = icmp ne i32 %83, 0
br i1 %84, label %86, label %85
85: ; preds = %73
br label %89
86: ; preds = %73
%87 = load i64, i64* %3
%88 = add nsw i64 %87, 1
store i64 %88, i64* %3
br label %73
89: ; preds = %85
%90 = load i64, i64* %3
store i64 %90, i64* %13
%91 = load i64, i64* %3
%92 = add nsw i64 %91, 1
store i64 %92, i64* %3
%93 = load i64, i64* %3
store i64 %93, i64* %14
br label %94
94: ; preds = %107, %89
%95 = load i64, i64* %3
store i64 %95, i64* %15
%96 = load i8*, i8** %6
%97 = load i64, i64* %15
%98 = getelementptr inbounds i8, i8* %96, i64 %97
%99 = load i8, i8* %98
store i8 %99, i8* %16
%100 = load i8, i8* %16
%101 = sext i8 %100 to i32
%102 = icmp ne i32 %101, 9
%103 = zext i1 %102 to i32
store i32 %103, i32* %17
%104 = load i32, i32* %17
%105 = icmp ne i32 %104, 0
br i1 %105, label %107, label %106
106: ; preds = %94
br label %110
107: ; preds = %94
%108 = load i64, i64* %3
%109 = add nsw i64 %108, 1
store i64 %109, i64* %3
br label %94
110: ; preds = %106
%111 = load i64, i64* %3
store i64 %111, i64* %18
%112 = load i64, i64* %3
%113 = add nsw i64 %112, 1
store i64 %113, i64* %3
%114 = load i64, i64* %3
store i64 %114, i64* %19
br label %115
115: ; preds = %128, %110
%116 = load i64, i64* %3
store i64 %116, i64* %20
%117 = load i8*, i8** %6
%118 = load i64, i64* %20
%119 = getelementptr inbounds i8, i8* %117, i64 %118
%120 = load i8, i8* %119
store i8 %120, i8* %21
%121 = load i8, i8* %21
%122 = sext i8 %121 to i32
%123 = icmp ne i32 %122, 9
%124 = zext i1 %123 to i32
store i32 %124, i32* %22
%125 = load i32, i32* %22
%126 = icmp ne i32 %125, 0
br i1 %126, label %128, label %127
127: ; preds = %115
br label %131
128: ; preds = %115
%129 = load i64, i64* %3
%130 = add nsw i64 %129, 1
store i64 %130, i64* %3
br label %115
131: ; preds = %127
%132 = load i64, i64* %3
store i64 %132, i64* %23
%133 = load i64, i64* %3
%134 = add nsw i64 %133, 1
store i64 %134, i64* %3
%135 = load i64, i64* %3
store i64 %135, i64* %24
br label %136
136: ; preds = %149, %131
%137 = load i64, i64* %3
store i64 %137, i64* %25
%138 = load i8*, i8** %6
%139 = load i64, i64* %25
%140 = getelementptr inbounds i8, i8* %138, i64 %139
%141 = load i8, i8* %140
store i8 %141, i8* %26
%142 = load i8, i8* %26
%143 = sext i8 %142 to i32
%144 = icmp ne i32 %143, 10
%145 = zext i1 %144 to i32
store i32 %145, i32* %27
%146 = load i32, i32* %27
%147 = icmp ne i32 %146, 0
br i1 %147, label %149, label %148
148: ; preds = %136
br label %152
149: ; preds = %136
%150 = load i64, i64* %3
%151 = add nsw i64 %150, 1
store i64 %151, i64* %3
br label %136
152: ; preds = %148
%153 = load i64, i64* %3
store i64 %153, i64* %28
%154 = load i64, i64* %3
%155 = add nsw i64 %154, 1
store i64 %155, i64* %3
%156 = load i64, i64* %13
%157 = load i64, i64* %9
%158 = sub nsw i64 %156, %157
store i64 %158, i64* %29
%159 = load i64, i64* %29
%160 = icmp eq i64 %159, 12
%161 = zext i1 %160 to i32
store i32 %161, i32* %30
%162 = load i32, i32* %30
%163 = icmp ne i32 %162, 0
br i1 %163, label %164, label %206
164: ; preds = %152
store i64 0, i64* %32
%165 = load i8*, i8** %6
%166 = load i64, i64* %9
%167 = getelementptr inbounds i8, i8* %165, i64 %166
store i8* %167, i8** %33
br label %168
168: ; preds = %196, %164
%169 = load i64, i64* %32
store i64 %169, i64* %34
%170 = load i64, i64* %34
%171 = load i64, i64* %29
%172 = icmp slt i64 %170, %171
%173 = zext i1 %172 to i32
store i32 %173, i32* %35
%174 = load i32, i32* %35
%175 = icmp ne i32 %174, 0
br i1 %175, label %176, label %191
176: ; preds = %168
%177 = load i8*, i8** %33
%178 = load i64, i64* %34
%179 = getelementptr inbounds i8, i8* %177, i64 %178
%180 = load i8, i8* %179
store i8 %180, i8* %37
%181 = load i64, i64* %34
%182 = getelementptr inbounds [13 x i8], [13 x i8]* @.str.2, i64 0, i64 %181
%183 = load i8, i8* %182
store i8 %183, i8* %38
%184 = load i8, i8* %37
%185 = sext i8 %184 to i32
%186 = load i8, i8* %38
%187 = sext i8 %186 to i32
%188 = icmp eq i32 %185, %187
%189 = zext i1 %188 to i32
store i32 %189, i32* %39
%190 = load i32, i32* %39
store i32 %190, i32* %36
br label %192
191: ; preds = %168
store i32 0, i32* %36
br label %192
192: ; preds = %191, %176
%193 = load i32, i32* %36
%194 = icmp ne i32 %193, 0
br i1 %194, label %196, label %195
195: ; preds = %192
br label %199
196: ; preds = %192
%197 = load i64, i64* %32
%198 = add nsw i64 %197, 1
store i64 %198, i64* %32
br label %168
199: ; preds = %195
%200 = load i64, i64* %32
store i64 %200, i64* %40
%201 = load i64, i64* %40
%202 = load i64, i64* %29
%203 = icmp eq i64 %201, %202
%204 = zext i1 %203 to i32
store i32 %204, i32* %41
%205 = load i32, i32* %41
store i32 %205, i32* %31
br label %207
206: ; preds = %152
store i32 0, i32* %31
br label %207
207: ; preds = %206, %199
%208 = load i32, i32* %31
%209 = icmp ne i32 %208, 0
br i1 %209, label %210, label %235
210: ; preds = %207
%211 = load i8*, i8** %6
%212 = load i64, i64* %9
%213 = getelementptr inbounds i8, i8* %211, i64 %212
store i8* %213, i8** %42
%214 = load i8*, i8** %42
%215 = call i64 @printll(i8* %214)
store i64 %215, i64* %43
%216 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%217 = load i8*, i8** %6
%218 = load i64, i64* %14
%219 = getelementptr inbounds i8, i8* %217, i64 %218
store i8* %219, i8** %44
%220 = load i8*, i8** %44
%221 = call i64 @printll(i8* %220)
store i64 %221, i64* %45
%222 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%223 = load i8*, i8** %6
%224 = load i64, i64* %19
%225 = getelementptr inbounds i8, i8* %223, i64 %224
store i8* %225, i8** %46
%226 = load i8*, i8** %46
%227 = call i64 @printll(i8* %226)
store i64 %227, i64* %47
%228 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%229 = load i8*, i8** %6
%230 = load i64, i64* %24
%231 = getelementptr inbounds i8, i8* %229, i64 %230
store i8* %231, i8** %48
%232 = load i8*, i8** %48
%233 = call i64 @printll(i8* %232)
store i64 %233, i64* %49
%234 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.4, i64 0, i64 0))
br label %236
235: ; preds = %207
br label %236
236: ; preds = %235, %210
br label %62
237: ; preds = %70
ret void
}

LLVM IR (-O2):
@.str.1 = [35 x i8] c"Phrase,Year,MatchCount,VolumeCount\00"
@PROT_READ = global i32 0
@MAP_SHARED = global i32 0
define void @Snippet(i8* nocapture %0) {
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i64 @open(i8* %0, i32 0)
%4 = tail call i64 @fsize(i64 %3)
%5 = load i32, i32* @PROT_READ
%6 = load i32, i32* @MAP_SHARED
%7 = tail call i8* @mmap(i32 0, i64 %4, i32 %5, i32 %6, i64 %3, i32 0)
%8 = icmp sgt i64 %4, 0
br i1 %8, label %9, label %100
9: ; preds = %1, %98
%10 = phi i64 [ %34, %98 ], [ 0, %1 ]
br label %11
11: ; preds = %9, %11
%12 = phi i64 [ %16, %11 ], [ %10, %9 ]
%13 = getelementptr inbounds i8, i8* %7, i64 %12
%14 = load i8, i8* %13
%15 = icmp eq i8 %14, 9
%16 = add nsw i64 %12, 1
br i1 %15, label %17, label %11
17: ; preds = %11, %17
%18 = phi i64 [ %22, %17 ], [ %16, %11 ]
%19 = getelementptr inbounds i8, i8* %7, i64 %18
%20 = load i8, i8* %19
%21 = icmp eq i8 %20, 9
%22 = add nsw i64 %18, 1
br i1 %21, label %23, label %17
23: ; preds = %17, %23
%24 = phi i64 [ %28, %23 ], [ %22, %17 ]
%25 = getelementptr inbounds i8, i8* %7, i64 %24
%26 = load i8, i8* %25
%27 = icmp eq i8 %26, 9
%28 = add nsw i64 %24, 1
br i1 %27, label %29, label %23
29: ; preds = %23, %29
%30 = phi i64 [ %34, %29 ], [ %28, %23 ]
%31 = getelementptr inbounds i8, i8* %7, i64 %30
%32 = load i8, i8* %31
%33 = icmp eq i8 %32, 10
%34 = add nsw i64 %30, 1
br i1 %33, label %35, label %29
35: ; preds = %29
%36 = sub nsw i64 %12, %10
%37 = icmp eq i64 %36, 12
br i1 %37, label %38, label %98
38: ; preds = %35
%39 = getelementptr inbounds i8, i8* %7, i64 %10
%40 = load i8, i8* %39
%41 = icmp eq i8 %40, 65
br i1 %41, label %42, label %98
42: ; preds = %38
%43 = getelementptr inbounds i8, i8* %39, i64 1
%44 = load i8, i8* %43
%45 = icmp eq i8 %44, 117
br i1 %45, label %46, label %98
46: ; preds = %42
%47 = getelementptr inbounds i8, i8* %39, i64 2
%48 = load i8, i8* %47
%49 = icmp eq i8 %48, 115
br i1 %49, label %50, label %98
50: ; preds = %46
%51 = getelementptr inbounds i8, i8* %39, i64 3
%52 = load i8, i8* %51
%53 = icmp eq i8 %52, 119
br i1 %53, label %54, label %98
54: ; preds = %50
%55 = getelementptr inbounds i8, i8* %39, i64 4
%56 = load i8, i8* %55
%57 = icmp eq i8 %56, 97
br i1 %57, label %58, label %98
58: ; preds = %54
%59 = getelementptr inbounds i8, i8* %39, i64 5
%60 = load i8, i8* %59
%61 = icmp eq i8 %60, 110
br i1 %61, label %62, label %98
62: ; preds = %58
%63 = getelementptr inbounds i8, i8* %39, i64 6
%64 = load i8, i8* %63
%65 = icmp eq i8 %64, 100
br i1 %65, label %66, label %98
66: ; preds = %62
%67 = getelementptr inbounds i8, i8* %39, i64 7
%68 = load i8, i8* %67
%69 = icmp eq i8 %68, 101
br i1 %69, label %70, label %98
70: ; preds = %66
%71 = getelementptr inbounds i8, i8* %39, i64 8
%72 = load i8, i8* %71
%73 = icmp eq i8 %72, 114
br i1 %73, label %74, label %98
74: ; preds = %70
%75 = getelementptr inbounds i8, i8* %39, i64 9
%76 = load i8, i8* %75
%77 = icmp eq i8 %76, 117
br i1 %77, label %78, label %98
78: ; preds = %74
%79 = getelementptr inbounds i8, i8* %39, i64 10
%80 = load i8, i8* %79
%81 = icmp eq i8 %80, 110
br i1 %81, label %82, label %98
82: ; preds = %78
%83 = getelementptr inbounds i8, i8* %39, i64 11
%84 = load i8, i8* %83
%85 = icmp eq i8 %84, 103
br i1 %85, label %86, label %98
86: ; preds = %82
%87 = tail call i64 @printll(i8* %39)
%88 = tail call i32 @putchar(i32 44)
%89 = getelementptr inbounds i8, i8* %7, i64 %16
%90 = tail call i64 @printll(i8* %89)
%91 = tail call i32 @putchar(i32 44)
%92 = getelementptr inbounds i8, i8* %7, i64 %22
%93 = tail call i64 @printll(i8* %92)
%94 = tail call i32 @putchar(i32 44)
%95 = getelementptr inbounds i8, i8* %7, i64 %28
%96 = tail call i64 @printll(i8* %95)
%97 = tail call i32 @putchar(i32 10)
br label %98
98: ; preds = %38, %42, %46, %50, %54, %58, %62, %66, %70, %74, %78, %82, %35, %86
%99 = icmp slt i64 %34, %4
br i1 %99, label %9, label %100
100: ; preds = %98, %1
ret void
}