#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 /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
scalar_t__ feof(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fscanf(int /*<<< orphan*/ *, char *, char *);
int /*<<< orphan*/ printf(char *, ...);
int main(int argc, char *argv[]) {
  if (argc != 2) {
    printf("usage: query <filename>\n");
    return 0;
  }
  printf("Phrase,Year,MatchCount,VolumeCount\n");
  char *phrase = "Auswanderung";
  char line[1000];
  FILE *f = fopen(argv[1], "r");
  while (feof(f) == 0) {
    fscanf(f, "%[^\n]\n", line);
    char *cur_phrase = phrase;
    char *cur_line = line;
    while (*cur_line != '\t' && *cur_phrase != '\0' &&
           *cur_line++ == *cur_phrase++) {
    }
    if (*cur_line == '\t' && *cur_phrase == '\0') {
      while (*cur_line != '\0') {
        if (*cur_line == '\t') {
          *cur_line = ',';
        }
        cur_line++;
      }
      printf("%s\n", line);
    }
  }
  fclose(f);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x420,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
je     118d <main+0x3d>
lea    0xe86(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    132b <main+0x1db>
lea    0xe85(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe9b(%rip),%rax
mov    %rax,-0x18(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe95(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,-0x408(%rbp)
mov    -0x408(%rbp),%rdi
call   1060 <feof@plt>
cmp    $0x0,%rax
jne    131f <main+0x1cf>
mov    -0x408(%rbp),%rdi
lea    -0x400(%rbp),%rdx
lea    0xe60(%rip),%rsi
call   1050 <fscanf@plt>
mov    -0x18(%rbp),%rax
mov    %rax,-0x410(%rbp)
lea    -0x400(%rbp),%rax
mov    %rax,-0x418(%rbp)
mov    -0x418(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x9,%ecx
mov    %al,-0x419(%rbp)
je     127b <main+0x12b>
mov    -0x410(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x419(%rbp)
je     127b <main+0x12b>
mov    -0x418(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x418(%rbp)
movsbl (%rax),%eax
mov    -0x410(%rbp),%rcx
mov    %rcx,%rdx
add    $0x1,%rdx
mov    %rdx,-0x410(%rbp)
movsbl (%rcx),%ecx
cmp    %ecx,%eax
sete   %al
mov    %al,-0x419(%rbp)
mov    -0x419(%rbp),%al
test   $0x1,%al
jne    128e <main+0x13e>
jmp    1293 <main+0x143>
jmp    120a <main+0xba>
mov    -0x418(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x9,%eax
jne    131a <main+0x1ca>
mov    -0x410(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    131a <main+0x1ca>
jmp    12be <main+0x16e>
mov    -0x418(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     1305 <main+0x1b5>
mov    -0x418(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x9,%eax
jne    12ee <main+0x19e>
mov    -0x418(%rbp),%rax
movb   $0x2c,(%rax)
mov    -0x418(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x418(%rbp)
jmp    12be <main+0x16e>
lea    -0x400(%rbp),%rsi
lea    0xd40(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    11c1 <main+0x71>
mov    -0x408(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x4(%rbp),%eax
add    $0x420,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x3e8,%rsp
cmp    $0x2,%edi
jne    119f <main+0x4f>
mov    %rsi,%rbx
lea    0xea6(%rip),%rdi
call   1030 <puts@plt>
mov    0x8(%rbx),%rdi
lea    0xe8d(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,%rbx
mov    %rax,%rdi
call   1060 <feof@plt>
test   %rax,%rax
je     11bf <main+0x6f>
mov    %rbx,%rdi
call   1040 <fclose@plt>
jmp    11ab <main+0x5b>
lea    0xe93(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x3e8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0x1(%rsp),%r12
mov    %rsp,%r14
lea    0xe41(%rip),%r15
lea    0xe2b(%rip),%rbp
lea    0xe25(%rip),%r13
jmp    11f6 <main+0xa6>
xchg   %ax,%ax
cmpb   $0x0,(%rcx)
je     1430 <main+0x2e0>
mov    %rbx,%rdi
call   1060 <feof@plt>
test   %rax,%rax
jne    1195 <main+0x45>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
call   1050 <fscanf@plt>
mov    (%rsp),%dl
mov    %r14,%rax
mov    %rbp,%rcx
cmp    $0x9,%dl
je     11e0 <main+0x90>
mov    %r12,%rax
mov    %r13,%rcx
cmp    $0x41,%dl
jne    1420 <main+0x2d0>
mov    0x1(%rsp),%dl
mov    %r12,%rax
mov    %r13,%rcx
cmp    $0x9,%dl
je     11e0 <main+0x90>
lea    0x2(%rsp),%rax
lea    0xdc6(%rip),%rcx
cmp    $0x75,%dl
jne    1420 <main+0x2d0>
mov    0x2(%rsp),%dl
lea    0x2(%rsp),%rax
lea    0xdad(%rip),%rcx
cmp    $0x9,%dl
je     11e0 <main+0x90>
lea    0x3(%rsp),%rax
lea    0xd9d(%rip),%rcx
cmp    $0x73,%dl
jne    1420 <main+0x2d0>
mov    0x3(%rsp),%dl
lea    0x3(%rsp),%rax
lea    0xd84(%rip),%rcx
cmp    $0x9,%dl
je     11e0 <main+0x90>
lea    0x4(%rsp),%rax
lea    0xd70(%rip),%rcx
cmp    $0x77,%dl
jne    1420 <main+0x2d0>
mov    0x4(%rsp),%dl
lea    0x4(%rsp),%rax
lea    0xd57(%rip),%rcx
cmp    $0x9,%dl
je     11e0 <main+0x90>
lea    0x5(%rsp),%rax
lea    0xd43(%rip),%rcx
cmp    $0x61,%dl
jne    1420 <main+0x2d0>
mov    0x5(%rsp),%dl
lea    0x5(%rsp),%rax
lea    0xd2a(%rip),%rcx
cmp    $0x9,%dl
je     11e0 <main+0x90>
lea    0x6(%rsp),%rax
lea    0xd16(%rip),%rcx
cmp    $0x6e,%dl
jne    1420 <main+0x2d0>
mov    0x6(%rsp),%dl
lea    0x6(%rsp),%rax
lea    0xcfd(%rip),%rcx
cmp    $0x9,%dl
je     11e0 <main+0x90>
lea    0x7(%rsp),%rax
lea    0xce9(%rip),%rcx
cmp    $0x64,%dl
jne    1420 <main+0x2d0>
mov    0x7(%rsp),%dl
lea    0x7(%rsp),%rax
lea    0xcd0(%rip),%rcx
cmp    $0x9,%dl
je     11e0 <main+0x90>
lea    0x8(%rsp),%rax
lea    0xcbc(%rip),%rcx
cmp    $0x65,%dl
jne    1420 <main+0x2d0>
mov    0x8(%rsp),%dl
lea    0x8(%rsp),%rax
lea    0xca3(%rip),%rcx
cmp    $0x9,%dl
je     11e0 <main+0x90>
lea    0x9(%rsp),%rax
lea    0xc8f(%rip),%rcx
cmp    $0x72,%dl
jne    1420 <main+0x2d0>
mov    0x9(%rsp),%dl
lea    0x9(%rsp),%rax
lea    0xc76(%rip),%rcx
cmp    $0x9,%dl
je     11e0 <main+0x90>
lea    0xa(%rsp),%rax
lea    0xc62(%rip),%rcx
cmp    $0x75,%dl
jne    1420 <main+0x2d0>
mov    0xa(%rsp),%dl
lea    0xa(%rsp),%rax
lea    0xc4d(%rip),%rcx
cmp    $0x9,%dl
je     11e0 <main+0x90>
lea    0xb(%rsp),%rax
lea    0xc39(%rip),%rcx
cmp    $0x6e,%dl
jne    1420 <main+0x2d0>
mov    0xb(%rsp),%dl
lea    0xb(%rsp),%rax
lea    0xc24(%rip),%rcx
cmp    $0x9,%dl
je     11e0 <main+0x90>
lea    0xc(%rsp),%rax
lea    0xc10(%rip),%rcx
cmp    $0x67,%dl
jne    1420 <main+0x2d0>
cmpb   $0x9,0xc(%rsp)
lea    0xc(%rsp),%rax
lea    0xbfa(%rip),%rcx
je     11e0 <main+0x90>
jmp    11e9 <main+0x99>
nopl   (%rax)
cmpb   $0x9,(%rax)
je     11e0 <main+0x90>
jmp    11e9 <main+0x99>
xchg   %ax,%ax
add    $0x1,%rax
mov    $0x9,%cl
jmp    144b <main+0x2fb>
nopl   0x0(%rax,%rax,1)
movb   $0x2c,-0x1(%rax)
movzbl (%rax),%ecx
add    $0x1,%rax
cmp    $0x9,%cl
je     1440 <main+0x2f0>
test   %cl,%cl
jne    1444 <main+0x2f4>
mov    %r14,%rdi
call   1030 <puts@plt>
jmp    11e9 <main+0x99>

LLVM IR (-O0):
@.str = [25 x i8] c"usage: query <filename>\0A\00"
@.str.1 = [36 x i8] c"Phrase,Year,MatchCount,VolumeCount\0A\00"
@.str.2 = [13 x i8] c"Auswanderung\00"
@.str.3 = [2 x i8] c"r\00"
@.str.4 = [7 x i8] c"%[^\0A]\0A\00"
@.str.5 = [4 x i8] c"%s\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8*
%7 = alloca [1000 x i8]
%8 = alloca i32*
%9 = alloca i8*
%10 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%11 = load i32, i32* %4
%12 = icmp ne i32 %11, 2
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %3
br label %87
15: ; preds = %2
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.1, i64 0, i64 0))
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i8** %6
%17 = load i8**, i8*** %5
%18 = getelementptr inbounds i8*, i8** %17, i64 1
%19 = load i8*, i8** %18
%20 = call i32* @fopen(i8* %19, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i32* %20, i32** %8
br label %21
21: ; preds = %83, %15
%22 = load i32*, i32** %8
%23 = call i64 @feof(i32* %22)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %84
25: ; preds = %21
%26 = load i32*, i32** %8
%27 = getelementptr inbounds [1000 x i8], [1000 x i8]* %7, i64 0, i64 0
%28 = call i32 @fscanf(i32* %26, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i8* %27)
%29 = load i8*, i8** %6
store i8* %29, i8** %9
%30 = getelementptr inbounds [1000 x i8], [1000 x i8]* %7, i64 0, i64 0
store i8* %30, i8** %10
br label %31
31: ; preds = %53, %25
%32 = load i8*, i8** %10
%33 = load i8, i8* %32
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 9
br i1 %35, label %36, label %51
36: ; preds = %31
%37 = load i8*, i8** %9
%38 = load i8, i8* %37
%39 = sext i8 %38 to i32
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %51
41: ; preds = %36
%42 = load i8*, i8** %10
%43 = getelementptr inbounds i8, i8* %42, i32 1
store i8* %43, i8** %10
%44 = load i8, i8* %42
%45 = sext i8 %44 to i32
%46 = load i8*, i8** %9
%47 = getelementptr inbounds i8, i8* %46, i32 1
store i8* %47, i8** %9
%48 = load i8, i8* %46
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %45, %49
br label %51
51: ; preds = %41, %36, %31
%52 = phi i1 [ false, %36 ], [ false, %31 ], [ %50, %41 ]
br i1 %52, label %53, label %54
53: ; preds = %51
br label %31
54: ; preds = %51
%55 = load i8*, i8** %10
%56 = load i8, i8* %55
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 9
br i1 %58, label %59, label %83
59: ; preds = %54
%60 = load i8*, i8** %9
%61 = load i8, i8* %60
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %83
64: ; preds = %59
br label %65
65: ; preds = %77, %64
%66 = load i8*, i8** %10
%67 = load i8, i8* %66
%68 = sext i8 %67 to i32
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %80
70: ; preds = %65
%71 = load i8*, i8** %10
%72 = load i8, i8* %71
%73 = sext i8 %72 to i32
%74 = icmp eq i32 %73, 9
br i1 %74, label %75, label %77
75: ; preds = %70
%76 = load i8*, i8** %10
store i8 44, i8* %76
br label %77
77: ; preds = %75, %70
%78 = load i8*, i8** %10
%79 = getelementptr inbounds i8, i8* %78, i32 1
store i8* %79, i8** %10
br label %65
80: ; preds = %65
%81 = getelementptr inbounds [1000 x i8], [1000 x i8]* %7, i64 0, i64 0
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i8* %81)
br label %83
83: ; preds = %80, %59, %54
br label %21
84: ; preds = %21
%85 = load i32*, i32** %8
%86 = call i32 @fclose(i32* %85)
br label %87
87: ; preds = %84, %13
%88 = load i32, i32* %3
ret i32 %88
}

LLVM IR (-O2):
@.str.2 = [13 x i8] c"Auswanderung\00"
@.str.3 = [2 x i8] c"r\00"
@.str.4 = [7 x i8] c"%[^\0A]\0A\00"
@str = [35 x i8] c"Phrase,Year,MatchCount,VolumeCount\00"
@str.6 = [24 x i8] c"usage: query <filename>\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [1000 x i8]
%4 = icmp eq i32 %0, 2
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.6, i64 0, i64 0))
br label %80
7: ; preds = %2
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str, i64 0, i64 0))
%9 = getelementptr inbounds [1000 x i8], [1000 x i8]* %3, i64 0, i64 0
%10 = getelementptr inbounds i8*, i8** %1, i64 1
%11 = load i8*, i8** %10
%12 = tail call i32* @fopen(i8* %11, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%13 = call i64 @feof(i32* %12)
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %78
15: ; preds = %7
%16 = getelementptr inbounds [1000 x i8], [1000 x i8]* %3, i64 0, i64 1
%17 = getelementptr inbounds [1000 x i8], [1000 x i8]* %3, i64 0, i64 2
%18 = getelementptr inbounds [1000 x i8], [1000 x i8]* %3, i64 0, i64 3
%19 = getelementptr inbounds [1000 x i8], [1000 x i8]* %3, i64 0, i64 4
%20 = getelementptr inbounds [1000 x i8], [1000 x i8]* %3, i64 0, i64 5
%21 = getelementptr inbounds [1000 x i8], [1000 x i8]* %3, i64 0, i64 6
%22 = getelementptr inbounds [1000 x i8], [1000 x i8]* %3, i64 0, i64 7
%23 = getelementptr inbounds [1000 x i8], [1000 x i8]* %3, i64 0, i64 8
%24 = getelementptr inbounds [1000 x i8], [1000 x i8]* %3, i64 0, i64 9
%25 = getelementptr inbounds [1000 x i8], [1000 x i8]* %3, i64 0, i64 10
%26 = getelementptr inbounds [1000 x i8], [1000 x i8]* %3, i64 0, i64 11
%27 = getelementptr inbounds [1000 x i8], [1000 x i8]* %3, i64 0, i64 12
br label %28
28: ; preds = %15, %75
%29 = call i32 @fscanf(i32* %12, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i8* %9)
%30 = load i8, i8* %9
switch i8 %30, label %56 [
i8 9, label %61
i8 65, label %31
]
31: ; preds = %28
%32 = load i8, i8* %16
switch i8 %32, label %56 [
i8 9, label %61
i8 117, label %33
]
33: ; preds = %31
%34 = load i8, i8* %17
switch i8 %34, label %56 [
i8 9, label %61
i8 115, label %35
]
35: ; preds = %33
%36 = load i8, i8* %18
switch i8 %36, label %56 [
i8 9, label %61
i8 119, label %37
]
37: ; preds = %35
%38 = load i8, i8* %19
switch i8 %38, label %56 [
i8 9, label %61
i8 97, label %39
]
39: ; preds = %37
%40 = load i8, i8* %20
switch i8 %40, label %56 [
i8 9, label %61
i8 110, label %41
]
41: ; preds = %39
%42 = load i8, i8* %21
switch i8 %42, label %56 [
i8 9, label %61
i8 100, label %43
]
43: ; preds = %41
%44 = load i8, i8* %22
switch i8 %44, label %56 [
i8 9, label %61
i8 101, label %45
]
45: ; preds = %43
%46 = load i8, i8* %23
switch i8 %46, label %56 [
i8 9, label %61
i8 114, label %47
]
47: ; preds = %45
%48 = load i8, i8* %24
switch i8 %48, label %56 [
i8 9, label %61
i8 117, label %49
]
49: ; preds = %47
%50 = load i8, i8* %25
switch i8 %50, label %56 [
i8 9, label %61
i8 110, label %51
]
51: ; preds = %49
%52 = load i8, i8* %26
switch i8 %52, label %56 [
i8 9, label %61
i8 103, label %53
]
53: ; preds = %51
%54 = load i8, i8* %27
%55 = icmp eq i8 %54, 9
br i1 %55, label %61, label %75
56: ; preds = %51, %49, %47, %45, %43, %41, %39, %37, %35, %33, %31, %28
%57 = phi i8* [ %16, %28 ], [ %17, %31 ], [ %18, %33 ], [ %19, %35 ], [ %20, %37 ], [ %21, %39 ], [ %22, %41 ], [ %23, %43 ], [ %24, %45 ], [ %25, %47 ], [ %26, %49 ], [ %27, %51 ]
%58 = phi i8* [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 1), %28 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 2), %31 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 3), %33 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 4), %35 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 5), %37 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 6), %39 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 7), %41 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 8), %43 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 9), %45 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 10), %47 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 11), %49 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 12), %51 ]
%59 = load i8, i8* %57
%60 = icmp eq i8 %59, 9
br i1 %60, label %61, label %75
61: ; preds = %51, %49, %47, %45, %43, %41, %39, %37, %35, %33, %31, %28, %53, %56
%62 = phi i8* [ %57, %56 ], [ %9, %28 ], [ %16, %31 ], [ %17, %33 ], [ %18, %35 ], [ %19, %37 ], [ %20, %39 ], [ %21, %41 ], [ %22, %43 ], [ %23, %45 ], [ %24, %47 ], [ %25, %49 ], [ %26, %51 ], [ %27, %53 ]
%63 = phi i8* [ %58, %56 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), %28 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 1), %31 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 2), %33 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 3), %35 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 4), %37 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 5), %39 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 6), %41 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 7), %43 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 8), %45 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 9), %47 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 10), %49 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 11), %51 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 12), %53 ]
%64 = load i8, i8* %63
%65 = icmp eq i8 %64, 0
br i1 %65, label %66, label %75
66: ; preds = %61, %70
%67 = phi i8 [ %72, %70 ], [ 9, %61 ]
%68 = phi i8* [ %71, %70 ], [ %62, %61 ]
switch i8 %67, label %70 [
i8 0, label %73
i8 9, label %69
]
69: ; preds = %66
store i8 44, i8* %68
br label %70
70: ; preds = %66, %69
%71 = getelementptr inbounds i8, i8* %68, i64 1
%72 = load i8, i8* %71
br label %66
73: ; preds = %66
%74 = call i32 @puts(i8* %9)
br label %75
75: ; preds = %53, %73, %61, %56
%76 = call i64 @feof(i32* %12)
%77 = icmp eq i64 %76, 0
br i1 %77, label %28, label %78
78: ; preds = %75, %7
%79 = call i32 @fclose(i32* %12)
br label %80
80: ; preds = %78, %5
ret i32 0
}