#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 */
char EOF;
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ *freopen(char *, char *, int /*<<< orphan*/);
char getc(int /*<<< orphan*/ *);
char getchar();
int /*<<< orphan*/ help();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ putchar(char);
int /*<<< orphan*/ puts(char *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdin;
int /*<<< orphan*/ strcmp(char *, char *);
int /*<<< orphan*/ usage();
int /*<<< orphan*/ version();
int main(int argc, char *argv[]) {
  int i, accum = 0;
  char c;
  FILE *fp;
  if (argc > 1) {
    if (!strcmp(argv[1], "--version")) {
      version();
      return 0;
    } else if (!strcmp(argv[1], "--help")) {
      help();
      return 0;
    } else if (freopen(argv[1], "r", stdin) == NULL) {
      fprintf(stderr, "Failed to open file.");
      usage();
      return -1;
    }
  } else {
    usage();
    return -1;
  }
  while ((c = getchar()) != EOF) {
    switch (c) {
    case 'H':
    case 'h':
      puts("Hello, world!");
      break;
    case 'Q':
    case 'q':
      fp = fopen(argv[1], "r");
      while ((c = getc(fp)) != EOF)
        putchar(c);
      fclose(fp);
      break;
    case '9':
      for (i = 99; i > 1; i--) {
        printf("%d bottles of beer on the wall, %d bottles of beer.\n", i, i);
        printf("Take one down and pass it around, %d bottles of beer on the "
               "wall.\n\n",
               i - 1);
      }
      printf("1 bottles of beer on the wall, 1 bottles of beer.\n");
      printf("Take one down and pass it around, no more bottles of beer on the "
             "wall.\n\n");
      printf("No more bottles of beer on the wall, no more bottles of beer.\n");
      printf("Go to the store and buy some more, 99 bottles of beer on the "
             "wall.\n");
      break;
    case '+':
      accum++;
      break;
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x18(%rbp)
cmpl   $0x1,-0x8(%rbp)
jle    12b5 <main+0xe5>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xdfa(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%eax
jne    1227 <main+0x57>
mov    $0x0,%al
call   10b0 <version@plt>
movl   $0x0,-0x4(%rbp)
jmp    1455 <main+0x285>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xdd4(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%eax
jne    1257 <main+0x87>
mov    $0x0,%al
call   10e0 <help@plt>
movl   $0x0,-0x4(%rbp)
jmp    1455 <main+0x285>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
mov    0x2d82(%rip),%rax
mov    (%rax),%edx
lea    0xda2(%rip),%rsi
call   1070 <freopen@plt>
cmp    $0x0,%rax
jne    12a6 <main+0xd6>
mov    0x2d4b(%rip),%rax
mov    (%rax),%edi
lea    0xd85(%rip),%rsi
call   10a0 <fprintf@plt>
mov    $0x0,%al
call   10c0 <usage@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1455 <main+0x285>
jmp    12ab <main+0xdb>
jmp    12b0 <main+0xe0>
jmp    12c8 <main+0xf8>
mov    $0x0,%al
call   10c0 <usage@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1455 <main+0x285>
jmp    12cd <main+0xfd>
mov    $0x0,%al
call   1090 <getchar@plt>
mov    %al,-0x19(%rbp)
movsbl %al,%eax
mov    0x2cff(%rip),%rcx
movsbl (%rcx),%ecx
cmp    %ecx,%eax
je     144e <main+0x27e>
movsbl -0x19(%rbp),%eax
mov    %eax,-0x2c(%rbp)
sub    $0x2b,%eax
je     1440 <main+0x270>
jmp    1301 <main+0x131>
mov    -0x2c(%rbp),%eax
sub    $0x39,%eax
je     13bc <main+0x1ec>
jmp    1312 <main+0x142>
mov    -0x2c(%rbp),%eax
sub    $0x48,%eax
je     1356 <main+0x186>
jmp    1323 <main+0x153>
mov    -0x2c(%rbp),%eax
sub    $0x51,%eax
je     1367 <main+0x197>
jmp    1334 <main+0x164>
mov    -0x2c(%rbp),%eax
sub    $0x68,%eax
je     1356 <main+0x186>
jmp    1345 <main+0x175>
mov    -0x2c(%rbp),%eax
sub    $0x71,%eax
je     1367 <main+0x197>
jmp    1449 <main+0x279>
lea    0xccb(%rip),%rdi
call   1040 <puts@plt>
jmp    1449 <main+0x279>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xc9b(%rip),%rsi
call   10d0 <fopen@plt>
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rdi
call   10f0 <getc@plt>
mov    %al,-0x19(%rbp)
movsbl %al,%eax
mov    0x2c4b(%rip),%rcx
movsbl (%rcx),%ecx
cmp    %ecx,%eax
je     13ae <main+0x1de>
movsbl -0x19(%rbp),%edi
call   1030 <putchar@plt>
jmp    137f <main+0x1af>
mov    -0x28(%rbp),%rdi
call   1050 <fclose@plt>
jmp    1449 <main+0x279>
movl   $0x63,-0x14(%rbp)
cmpl   $0x1,-0x14(%rbp)
jle    1403 <main+0x233>
mov    -0x14(%rbp),%esi
mov    -0x14(%rbp),%edx
lea    0xc5c(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x14(%rbp),%esi
sub    $0x1,%esi
lea    0xc7d(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x14(%rbp)
jmp    13c3 <main+0x1f3>
lea    0xca5(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xcca(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xd05(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xd36(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1449 <main+0x279>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    12cd <main+0xfd>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
cmp    $0x2,%edi
jl     138a <main+0x1ba>
mov    %rsi,(%rsp)
mov    0x8(%rsi),%rbx
lea    0xe0d(%rip),%rsi
mov    %rbx,%rdi
call   1080 <strcmp@plt>
test   %eax,%eax
je     135d <main+0x18d>
lea    0xe00(%rip),%rsi
mov    %rbx,%rdi
call   1080 <strcmp@plt>
test   %eax,%eax
je     1369 <main+0x199>
mov    0x2dc7(%rip),%rax
mov    (%rax),%edx
lea    0xde7(%rip),%rsi
mov    %rbx,%rdi
call   1070 <freopen@plt>
test   %rax,%rax
je     1375 <main+0x1a5>
xor    %r12d,%r12d
xor    %eax,%eax
call   1090 <getchar@plt>
mov    0x2d94(%rip),%r14
cmp    (%r14),%al
mov    (%rsp),%rbx
je     1397 <main+0x1c7>
lea    0xdd6(%rip),%r15
lea    0xe04(%rip),%r13
xor    %r12d,%r12d
jmp    1288 <main+0xb8>
nopl   0x0(%rax)
mov    %rbp,%rdi
call   1050 <fclose@plt>
xor    %eax,%eax
call   1090 <getchar@plt>
cmp    (%r14),%al
je     1397 <main+0x1c7>
movsbl %al,%eax
cmp    $0x50,%eax
jle    12e0 <main+0x110>
cmp    $0x51,%eax
je     129f <main+0xcf>
cmp    $0x68,%eax
je     12ea <main+0x11a>
cmp    $0x71,%eax
jne    1278 <main+0xa8>
mov    0x8(%rbx),%rdi
lea    0xd67(%rip),%rsi
call   10d0 <fopen@plt>
mov    %rax,%rbp
mov    %rax,%rdi
cs nopw 0x0(%rax,%rax,1)
nop
call   10f0 <getc@plt>
cmp    (%r14),%al
je     1270 <main+0xa0>
movsbl %al,%edi
call   1030 <putchar@plt>
mov    %rbp,%rdi
jmp    12c0 <main+0xf0>
nopw   0x0(%rax,%rax,1)
cmp    $0x39,%eax
je     12f8 <main+0x128>
cmp    $0x48,%eax
jne    1278 <main+0xa8>
lea    0xd37(%rip),%rdi
call   1040 <puts@plt>
jmp    1278 <main+0xa8>
mov    $0x63,%ebp
nopl   (%rax)
mov    %r15,%rdi
mov    %ebp,%esi
mov    %ebp,%edx
xor    %eax,%eax
call   1060 <printf@plt>
lea    -0x1(%rbp),%ebx
mov    %r13,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1060 <printf@plt>
cmp    $0x2,%ebp
mov    %ebx,%ebp
ja     1300 <main+0x130>
lea    0xd84(%rip),%rdi
call   1040 <puts@plt>
lea    0xdaa(%rip),%rdi
call   1040 <puts@plt>
lea    0xde6(%rip),%rdi
call   1040 <puts@plt>
lea    0xe18(%rip),%rdi
call   1040 <puts@plt>
mov    (%rsp),%rbx
jmp    1278 <main+0xa8>
xor    %r12d,%r12d
xor    %eax,%eax
call   10b0 <version@plt>
jmp    1397 <main+0x1c7>
xor    %r12d,%r12d
xor    %eax,%eax
call   10e0 <help@plt>
jmp    1397 <main+0x1c7>
mov    0x2c54(%rip),%rax
mov    (%rax),%edi
lea    0xc8e(%rip),%rsi
call   10a0 <fprintf@plt>
xor    %eax,%eax
call   10c0 <usage@plt>
mov    $0xffffffff,%r12d
mov    %r12d,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [10 x i8] c"--version\00"
@.str.1 = [7 x i8] c"--help\00"
@.str.2 = [2 x i8] c"r\00"
@stdin = global i32 0
@stderr = global i32 0
@.str.3 = [21 x i8] c"Failed to open file.\00"
@EOF = global i8 0
@.str.4 = [14 x i8] c"Hello, world!\00"
@.str.5 = [53 x i8] c"%d bottles of beer on the wall, %d bottles of beer.\0A\00"
@.str.6 = [68 x i8] c"Take one down and pass it around, %d bottles of beer on the wall.\0A\0A\00"
@.str.7 = [51 x i8] c"1 bottles of beer on the wall, 1 bottles of beer.\0A\00"
@.str.8 = [73 x i8] c"Take one down and pass it around, no more bottles of beer on the wall.\0A\0A\00"
@.str.9 = [63 x i8] c"No more bottles of beer on the wall, no more bottles of beer.\0A\00"
@.str.10 = [68 x i8] c"Go to the store and buy some more, 99 bottles of beer on the wall.\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i8
%9 = alloca i32*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %7
%10 = load i32, i32* %4
%11 = icmp sgt i32 %10, 1
br i1 %11, label %12, label %42
12: ; preds = %2
%13 = load i8**, i8*** %5
%14 = getelementptr inbounds i8*, i8** %13, i64 1
%15 = load i8*, i8** %14
%16 = call i32 @strcmp(i8* %15, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%17 = icmp ne i32 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %12
%19 = call i32 (...) @version()
store i32 0, i32* %3
br label %98
20: ; preds = %12
%21 = load i8**, i8*** %5
%22 = getelementptr inbounds i8*, i8** %21, i64 1
%23 = load i8*, i8** %22
%24 = call i32 @strcmp(i8* %23, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%25 = icmp ne i32 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %20
%27 = call i32 (...) @help()
store i32 0, i32* %3
br label %98
28: ; preds = %20
%29 = load i8**, i8*** %5
%30 = getelementptr inbounds i8*, i8** %29, i64 1
%31 = load i8*, i8** %30
%32 = load i32, i32* @stdin
%33 = call i32* @freopen(i8* %31, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i32 %32)
%34 = icmp eq i32* %33, null
br i1 %34, label %35, label %39
35: ; preds = %28
%36 = load i32, i32* @stderr
%37 = call i32 @fprintf(i32 %36, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0))
%38 = call i32 (...) @usage()
store i32 -1, i32* %3
br label %98
39: ; preds = %28
br label %40
40: ; preds = %39
br label %41
41: ; preds = %40
br label %44
42: ; preds = %2
%43 = call i32 (...) @usage()
store i32 -1, i32* %3
br label %98
44: ; preds = %41
br label %45
45: ; preds = %96, %44
%46 = call signext i8 (...) @getchar()
store i8 %46, i8* %8
%47 = sext i8 %46 to i32
%48 = load i8, i8* @EOF
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %47, %49
br i1 %50, label %51, label %97
51: ; preds = %45
%52 = load i8, i8* %8
%53 = sext i8 %52 to i32
switch i32 %53, label %96 [
i32 72, label %54
i32 104, label %54
i32 81, label %56
i32 113, label %56
i32 57, label %74
i32 43, label %93
]
54: ; preds = %51, %51
%55 = call i32 @puts(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0))
br label %96
56: ; preds = %51, %51
%57 = load i8**, i8*** %5
%58 = getelementptr inbounds i8*, i8** %57, i64 1
%59 = load i8*, i8** %58
%60 = call i32* @fopen(i8* %59, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32* %60, i32** %9
br label %61
61: ; preds = %68, %56
%62 = load i32*, i32** %9
%63 = call signext i8 @getc(i32* %62)
store i8 %63, i8* %8
%64 = sext i8 %63 to i32
%65 = load i8, i8* @EOF
%66 = sext i8 %65 to i32
%67 = icmp ne i32 %64, %66
br i1 %67, label %68, label %71
68: ; preds = %61
%69 = load i8, i8* %8
%70 = call i32 @putchar(i8 signext %69)
br label %61
71: ; preds = %61
%72 = load i32*, i32** %9
%73 = call i32 @fclose(i32* %72)
br label %96
74: ; preds = %51
store i32 99, i32* %6
br label %75
75: ; preds = %85, %74
%76 = load i32, i32* %6
%77 = icmp sgt i32 %76, 1
br i1 %77, label %78, label %88
78: ; preds = %75
%79 = load i32, i32* %6
%80 = load i32, i32* %6
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.5, i64 0, i64 0), i32 %79, i32 %80)
%82 = load i32, i32* %6
%83 = sub nsw i32 %82, 1
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.6, i64 0, i64 0), i32 %83)
br label %85
85: ; preds = %78
%86 = load i32, i32* %6
%87 = add nsw i32 %86, -1
store i32 %87, i32* %6
br label %75
88: ; preds = %75
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.7, i64 0, i64 0))
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.8, i64 0, i64 0))
%91 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.9, i64 0, i64 0))
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.10, i64 0, i64 0))
br label %96
93: ; preds = %51
%94 = load i32, i32* %7
%95 = add nsw i32 %94, 1
store i32 %95, i32* %7
br label %96
96: ; preds = %51, %93, %88, %71, %54
br label %45
97: ; preds = %45
store i32 0, i32* %3
br label %98
98: ; preds = %97, %42, %35, %26, %18
%99 = load i32, i32* %3
ret i32 %99
}

LLVM IR (-O2):
@.str = [10 x i8] c"--version\00"
@.str.1 = [7 x i8] c"--help\00"
@.str.2 = [2 x i8] c"r\00"
@stdin = global i32 0
@stderr = global i32 0
@.str.3 = [21 x i8] c"Failed to open file.\00"
@EOF = global i8 0
@.str.4 = [14 x i8] c"Hello, world!\00"
@.str.5 = [53 x i8] c"%d bottles of beer on the wall, %d bottles of beer.\0A\00"
@.str.6 = [68 x i8] c"Take one down and pass it around, %d bottles of beer on the wall.\0A\0A\00"
@str = [50 x i8] c"1 bottles of beer on the wall, 1 bottles of beer.\00"
@str.11 = [72 x i8] c"Take one down and pass it around, no more bottles of beer on the wall.\0A\00"
@str.12 = [62 x i8] c"No more bottles of beer on the wall, no more bottles of beer.\00"
@str.13 = [67 x i8] c"Go to the store and buy some more, 99 bottles of beer on the wall.\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp sgt i32 %0, 1
br i1 %3, label %4, label %28
4: ; preds = %2
%5 = getelementptr inbounds i8*, i8** %1, i64 1
%6 = load i8*, i8** %5
%7 = tail call i32 @strcmp(i8* dereferenceable(1) %6, i8* dereferenceable(10) getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %4
%10 = tail call i32 (...) @version()
br label %64
11: ; preds = %4
%12 = tail call i32 @strcmp(i8* dereferenceable(1) %6, i8* dereferenceable(7) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = tail call i32 (...) @help()
br label %64
16: ; preds = %11
%17 = load i32, i32* @stdin
%18 = tail call i32* @freopen(i8* %6, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i32 %17)
%19 = icmp eq i32* %18, null
br i1 %19, label %24, label %20
20: ; preds = %16
%21 = tail call signext i8 (...) @getchar()
%22 = load i8, i8* @EOF
%23 = icmp eq i8 %21, %22
br i1 %23, label %64, label %30
24: ; preds = %16
%25 = load i32, i32* @stderr
%26 = tail call i32 @fprintf(i32 %25, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0))
%27 = tail call i32 (...) @usage()
br label %64
28: ; preds = %2
%29 = tail call i32 (...) @usage()
br label %64
30: ; preds = %20, %60
%31 = phi i8 [ %61, %60 ], [ %21, %20 ]
%32 = sext i8 %31 to i32
switch i32 %32, label %60 [
i32 72, label %33
i32 104, label %33
i32 81, label %35
i32 113, label %35
i32 57, label %49
]
33: ; preds = %30, %30
%34 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0))
br label %60
35: ; preds = %30, %30
%36 = load i8*, i8** %5
%37 = tail call i32* @fopen(i8* %36, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%38 = tail call signext i8 @getc(i32* %37)
%39 = load i8, i8* @EOF
%40 = icmp eq i8 %38, %39
br i1 %40, label %47, label %41
41: ; preds = %35, %41
%42 = phi i8 [ %44, %41 ], [ %38, %35 ]
%43 = tail call i32 @putchar(i8 signext %42)
%44 = tail call signext i8 @getc(i32* %37)
%45 = load i8, i8* @EOF
%46 = icmp eq i8 %44, %45
br i1 %46, label %47, label %41
47: ; preds = %41, %35
%48 = tail call i32 @fclose(i32* %37)
br label %60
49: ; preds = %30, %49
%50 = phi i32 [ %52, %49 ], [ 99, %30 ]
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.5, i64 0, i64 0), i32 %50, i32 %50)
%52 = add nsw i32 %50, -1
%53 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @.str.6, i64 0, i64 0), i32 %52)
%54 = icmp ugt i32 %50, 2
br i1 %54, label %49, label %55
55: ; preds = %49
%56 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str, i64 0, i64 0))
%57 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.11, i64 0, i64 0))
%58 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.12, i64 0, i64 0))
%59 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.13, i64 0, i64 0))
br label %60
60: ; preds = %30, %55, %47, %33
%61 = tail call signext i8 (...) @getchar()
%62 = load i8, i8* @EOF
%63 = icmp eq i8 %61, %62
br i1 %63, label %64, label %30
64: ; preds = %60, %20, %28, %24, %14, %9
%65 = phi i32 [ -1, %24 ], [ 0, %14 ], [ 0, %9 ], [ -1, %28 ], [ 0, %20 ], [ 0, %60 ]
ret i32 %65
}