#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 /*<<< orphan*/ feof(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
size_t fread(char *, int, int, int /*<<< orphan*/);
int /*<<< orphan*/ fwrite(char *, int, size_t, int /*<<< orphan*/);
int /*<<< orphan*/ memset(char *, char, int);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdin;
int /*<<< orphan*/ stdout;
scalar_t__ strcmp(char *, char *);
int main(int argc, char **argv) {
  char buffer[4096];
  memset(buffer, 'A', sizeof buffer);
  if (argc == 1)
    return 2;
  else if (strcmp(argv[1], "return0") == 0)
    return 0;
  else if (strcmp(argv[1], "return1") == 0)
    return 1;
  else if (strcmp(argv[1], "return77") == 0)
    return 77;
  else if (strcmp(argv[1], "hello_stdout") == 0)
    fprintf(stdout, "hello");
  else if (strcmp(argv[1], "hello_stderr") == 0)
    fprintf(stderr, "hello");
  else if (strcmp(argv[1], "stdout4096") == 0)
    fwrite(buffer, 1, sizeof buffer, stdout);
  else if (strcmp(argv[1], "stdout8192") == 0) {
    fwrite(buffer, 1, sizeof buffer, stdout);
    fwrite(buffer, 1, sizeof buffer, stdout);
  } else if (strcmp(argv[1], "cat") == 0)
    while (!feof(stdin)) {
      size_t bytes_read;
      bytes_read = fread(buffer, 1, sizeof buffer, stdin);
      fwrite(buffer, 1, bytes_read, stdout);
    }
  else {
    fprintf(stderr, "unknown command %s\n", argv[1]);
    return 2;
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1020,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    -0x1010(%rbp),%rdi
mov    $0x41,%esi
mov    $0x1000,%edx
call   1040 <memset@plt>
cmpl   $0x1,-0x8(%rbp)
jne    11a5 <main+0x45>
movl   $0x2,-0x4(%rbp)
jmp    142b <main+0x2cb>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe4c(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    11cf <main+0x6f>
movl   $0x0,-0x4(%rbp)
jmp    142b <main+0x2cb>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe2a(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    11f9 <main+0x99>
movl   $0x1,-0x4(%rbp)
jmp    142b <main+0x2cb>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe08(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1223 <main+0xc3>
movl   $0x4d,-0x4(%rbp)
jmp    142b <main+0x2cb>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xde7(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    125d <main+0xfd>
mov    0x2d88(%rip),%rax
mov    (%rax),%edi
lea    0xdd5(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
jmp    1410 <main+0x2b0>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xdc0(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1297 <main+0x137>
mov    0x2d56(%rip),%rax
mov    (%rax),%edi
lea    0xd9b(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
jmp    140b <main+0x2ab>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xd93(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    12d9 <main+0x179>
lea    -0x1010(%rbp),%rdi
mov    0x2d0d(%rip),%rax
mov    (%rax),%ecx
mov    $0x1,%esi
mov    $0x1000,%edx
call   1080 <fwrite@plt>
jmp    1406 <main+0x2a6>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xd5c(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    133a <main+0x1da>
lea    -0x1010(%rbp),%rdi
mov    0x2ccb(%rip),%rax
mov    (%rax),%ecx
mov    $0x1,%esi
mov    $0x1000,%edx
call   1080 <fwrite@plt>
lea    -0x1010(%rbp),%rdi
mov    0x2cac(%rip),%rax
mov    (%rax),%ecx
mov    $0x1,%esi
mov    $0x1000,%edx
call   1080 <fwrite@plt>
jmp    1401 <main+0x2a1>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xd06(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    13d1 <main+0x271>
jmp    135d <main+0x1fd>
mov    0x2c84(%rip),%rax
mov    (%rax),%edi
call   1070 <feof@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
test   $0x1,%al
jne    1380 <main+0x220>
jmp    13cc <main+0x26c>
lea    -0x1010(%rbp),%rdi
mov    0x2c5a(%rip),%rax
mov    (%rax),%ecx
mov    $0x1,%esi
mov    $0x1000,%edx
call   1030 <fread@plt>
mov    %rax,-0x1018(%rbp)
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
mov    0x2c15(%rip),%rax
mov    (%rax),%ecx
mov    $0x1,%esi
call   1080 <fwrite@plt>
jmp    135d <main+0x1fd>
jmp    13fc <main+0x29c>
mov    0x2c00(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdx
lea    0xc6a(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0x2,-0x4(%rbp)
jmp    142b <main+0x2cb>
jmp    1401 <main+0x2a1>
jmp    1406 <main+0x2a6>
jmp    140b <main+0x2ab>
jmp    1410 <main+0x2b0>
jmp    1415 <main+0x2b5>
jmp    141a <main+0x2ba>
jmp    141f <main+0x2bf>
jmp    1424 <main+0x2c4>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x1020,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x1008,%rsp
mov    %rsi,%rbx
mov    %edi,%ebp
mov    %rsp,%rdi
mov    $0x41,%esi
mov    $0x1000,%edx
call   1040 <memset@plt>
mov    $0x2,%r14d
cmp    $0x1,%ebp
je     12fd <main+0x19d>
mov    0x8(%rbx),%rdi
lea    0xe62(%rip),%rsi
call   1050 <strcmp@plt>
xor    %r14d,%r14d
test   %rax,%rax
je     12fd <main+0x19d>
mov    0x8(%rbx),%rdi
lea    0xe4e(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1281 <main+0x121>
mov    0x8(%rbx),%rdi
lea    0xe3d(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1289 <main+0x129>
mov    0x8(%rbx),%rdi
lea    0xe2d(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1291 <main+0x131>
mov    0x8(%rbx),%rdi
lea    0xe27(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
je     129a <main+0x13a>
mov    0x8(%rbx),%rdi
lea    0xe1b(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
je     12b6 <main+0x156>
mov    0x8(%rbx),%rdi
lea    0xe0d(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
je     12c9 <main+0x169>
mov    0x8(%rbx),%rdi
lea    0xdff(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
je     130e <main+0x1ae>
mov    0x2d73(%rip),%rax
mov    (%rax),%edi
mov    0x8(%rbx),%rdx
lea    0xde1(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    $0x2,%r14d
jmp    12fd <main+0x19d>
mov    $0x1,%r14d
jmp    12fd <main+0x19d>
mov    $0x4d,%r14d
jmp    12fd <main+0x19d>
mov    0x2d38(%rip),%rax
jmp    12a1 <main+0x141>
mov    0x2d37(%rip),%rax
mov    (%rax),%edi
lea    0xd7c(%rip),%rsi
xor    %r14d,%r14d
xor    %eax,%eax
call   1060 <fprintf@plt>
jmp    12fd <main+0x19d>
mov    0x2d13(%rip),%rax
mov    (%rax),%ecx
mov    %rsp,%rdi
mov    $0x1000,%edx
jmp    12f3 <main+0x193>
mov    0x2d00(%rip),%rbp
mov    0x0(%rbp),%ecx
mov    %rsp,%rbx
mov    $0x1000,%edx
mov    %rbx,%rdi
mov    $0x1,%esi
call   1080 <fwrite@plt>
mov    0x0(%rbp),%ecx
mov    $0x1000,%edx
mov    %rbx,%rdi
mov    $0x1,%esi
call   1080 <fwrite@plt>
mov    %r14d,%eax
add    $0x1008,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2cd3(%rip),%rbp
mov    0x0(%rbp),%edi
call   1070 <feof@plt>
test   %eax,%eax
jne    12fd <main+0x19d>
mov    %rsp,%rbx
mov    0x2ca5(%rip),%r15
mov    0x0(%rbp),%ecx
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x1000,%edx
call   1030 <fread@plt>
mov    (%r15),%ecx
mov    %rbx,%rdi
mov    $0x1,%esi
mov    %rax,%rdx
call   1080 <fwrite@plt>
mov    0x0(%rbp),%edi
call   1070 <feof@plt>
test   %eax,%eax
je     132b <main+0x1cb>
jmp    12fd <main+0x19d>

LLVM IR (-O0):
@.str = [8 x i8] c"return0\00"
@.str.1 = [8 x i8] c"return1\00"
@.str.2 = [9 x i8] c"return77\00"
@.str.3 = [13 x i8] c"hello_stdout\00"
@stdout = global i32 0
@.str.4 = [6 x i8] c"hello\00"
@.str.5 = [13 x i8] c"hello_stderr\00"
@stderr = global i32 0
@.str.6 = [11 x i8] c"stdout4096\00"
@.str.7 = [11 x i8] c"stdout8192\00"
@.str.8 = [4 x i8] c"cat\00"
@stdin = global i32 0
@.str.9 = [20 x i8] c"unknown command %s\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [4096 x i8]
%7 = alloca i64
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%8 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%9 = call i32 @memset(i8* %8, i8 signext 65, i32 4096)
%10 = load i32, i32* %4
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 2, i32* %3
br label %111
13: ; preds = %2
%14 = load i8**, i8*** %5
%15 = getelementptr inbounds i8*, i8** %14, i64 1
%16 = load i8*, i8** %15
%17 = call i64 @strcmp(i8* %16, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %13
store i32 0, i32* %3
br label %111
20: ; preds = %13
%21 = load i8**, i8*** %5
%22 = getelementptr inbounds i8*, i8** %21, i64 1
%23 = load i8*, i8** %22
%24 = call i64 @strcmp(i8* %23, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %20
store i32 1, i32* %3
br label %111
27: ; preds = %20
%28 = load i8**, i8*** %5
%29 = getelementptr inbounds i8*, i8** %28, i64 1
%30 = load i8*, i8** %29
%31 = call i64 @strcmp(i8* %30, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %27
store i32 77, i32* %3
br label %111
34: ; preds = %27
%35 = load i8**, i8*** %5
%36 = getelementptr inbounds i8*, i8** %35, i64 1
%37 = load i8*, i8** %36
%38 = call i64 @strcmp(i8* %37, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %34
%41 = load i32, i32* @stdout
%42 = call i32 (i32, i8*, ...) @fprintf(i32 %41, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
br label %106
43: ; preds = %34
%44 = load i8**, i8*** %5
%45 = getelementptr inbounds i8*, i8** %44, i64 1
%46 = load i8*, i8** %45
%47 = call i64 @strcmp(i8* %46, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0))
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %52
49: ; preds = %43
%50 = load i32, i32* @stderr
%51 = call i32 (i32, i8*, ...) @fprintf(i32 %50, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
br label %105
52: ; preds = %43
%53 = load i8**, i8*** %5
%54 = getelementptr inbounds i8*, i8** %53, i64 1
%55 = load i8*, i8** %54
%56 = call i64 @strcmp(i8* %55, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0))
%57 = icmp eq i64 %56, 0
br i1 %57, label %58, label %62
58: ; preds = %52
%59 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%60 = load i32, i32* @stdout
%61 = call i32 @fwrite(i8* %59, i32 1, i64 4096, i32 %60)
br label %104
62: ; preds = %52
%63 = load i8**, i8*** %5
%64 = getelementptr inbounds i8*, i8** %63, i64 1
%65 = load i8*, i8** %64
%66 = call i64 @strcmp(i8* %65, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
%67 = icmp eq i64 %66, 0
br i1 %67, label %68, label %75
68: ; preds = %62
%69 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%70 = load i32, i32* @stdout
%71 = call i32 @fwrite(i8* %69, i32 1, i64 4096, i32 %70)
%72 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%73 = load i32, i32* @stdout
%74 = call i32 @fwrite(i8* %72, i32 1, i64 4096, i32 %73)
br label %103
75: ; preds = %62
%76 = load i8**, i8*** %5
%77 = getelementptr inbounds i8*, i8** %76, i64 1
%78 = load i8*, i8** %77
%79 = call i64 @strcmp(i8* %78, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %96
81: ; preds = %75
br label %82
82: ; preds = %87, %81
%83 = load i32, i32* @stdin
%84 = call i32 @feof(i32 %83)
%85 = icmp ne i32 %84, 0
%86 = xor i1 %85, true
br i1 %86, label %87, label %95
87: ; preds = %82
%88 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%89 = load i32, i32* @stdin
%90 = call i64 @fread(i8* %88, i32 1, i32 4096, i32 %89)
store i64 %90, i64* %7
%91 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%92 = load i64, i64* %7
%93 = load i32, i32* @stdout
%94 = call i32 @fwrite(i8* %91, i32 1, i64 %92, i32 %93)
br label %82
95: ; preds = %82
br label %102
96: ; preds = %75
%97 = load i32, i32* @stderr
%98 = load i8**, i8*** %5
%99 = getelementptr inbounds i8*, i8** %98, i64 1
%100 = load i8*, i8** %99
%101 = call i32 (i32, i8*, ...) @fprintf(i32 %97, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0), i8* %100)
store i32 2, i32* %3
br label %111
102: ; preds = %95
br label %103
103: ; preds = %102, %68
br label %104
104: ; preds = %103, %58
br label %105
105: ; preds = %104, %49
br label %106
106: ; preds = %105, %40
br label %107
107: ; preds = %106
br label %108
108: ; preds = %107
br label %109
109: ; preds = %108
br label %110
110: ; preds = %109
store i32 0, i32* %3
br label %111
111: ; preds = %110, %96, %33, %26, %19, %12
%112 = load i32, i32* %3
ret i32 %112
}

LLVM IR (-O2):
@.str = [8 x i8] c"return0\00"
@.str.1 = [8 x i8] c"return1\00"
@.str.2 = [9 x i8] c"return77\00"
@.str.3 = [13 x i8] c"hello_stdout\00"
@stdout = global i32 0
@.str.4 = [6 x i8] c"hello\00"
@.str.5 = [13 x i8] c"hello_stderr\00"
@stderr = global i32 0
@.str.6 = [11 x i8] c"stdout4096\00"
@.str.7 = [11 x i8] c"stdout8192\00"
@.str.8 = [4 x i8] c"cat\00"
@stdin = global i32 0
@.str.9 = [20 x i8] c"unknown command %s\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [4096 x i8]
%4 = getelementptr inbounds [4096 x i8], [4096 x i8]* %3, i64 0, i64 0
%5 = call i32 @memset(i8* %4, i8 signext 65, i32 4096)
%6 = icmp eq i32 %0, 1
br i1 %6, label %70, label %7
7: ; preds = %2
%8 = getelementptr inbounds i8*, i8** %1, i64 1
%9 = load i8*, i8** %8
%10 = call i64 @strcmp(i8* %9, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%11 = icmp eq i64 %10, 0
br i1 %11, label %70, label %12
12: ; preds = %7
%13 = load i8*, i8** %8
%14 = call i64 @strcmp(i8* %13, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%15 = icmp eq i64 %14, 0
br i1 %15, label %70, label %16
16: ; preds = %12
%17 = load i8*, i8** %8
%18 = call i64 @strcmp(i8* %17, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%19 = icmp eq i64 %18, 0
br i1 %19, label %70, label %20
20: ; preds = %16
%21 = load i8*, i8** %8
%22 = call i64 @strcmp(i8* %21, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %20
%25 = load i32, i32* @stdout
%26 = call i32 (i32, i8*, ...) @fprintf(i32 %25, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
br label %70
27: ; preds = %20
%28 = load i8*, i8** %8
%29 = call i64 @strcmp(i8* %28, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0))
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = load i32, i32* @stderr
%33 = call i32 (i32, i8*, ...) @fprintf(i32 %32, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
br label %70
34: ; preds = %27
%35 = load i8*, i8** %8
%36 = call i64 @strcmp(i8* %35, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0))
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %34
%39 = load i32, i32* @stdout
%40 = call i32 @fwrite(i8* %4, i32 1, i64 4096, i32 %39)
br label %70
41: ; preds = %34
%42 = load i8*, i8** %8
%43 = call i64 @strcmp(i8* %42, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %50
45: ; preds = %41
%46 = load i32, i32* @stdout
%47 = call i32 @fwrite(i8* %4, i32 1, i64 4096, i32 %46)
%48 = load i32, i32* @stdout
%49 = call i32 @fwrite(i8* %4, i32 1, i64 4096, i32 %48)
br label %70
50: ; preds = %41
%51 = load i8*, i8** %8
%52 = call i64 @strcmp(i8* %51, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %66
54: ; preds = %50
%55 = load i32, i32* @stdin
%56 = call i32 @feof(i32 %55)
%57 = icmp eq i32 %56, 0
br i1 %57, label %58, label %70
58: ; preds = %54, %58
%59 = load i32, i32* @stdin
%60 = call i64 @fread(i8* %4, i32 1, i32 4096, i32 %59)
%61 = load i32, i32* @stdout
%62 = call i32 @fwrite(i8* %4, i32 1, i64 %60, i32 %61)
%63 = load i32, i32* @stdin
%64 = call i32 @feof(i32 %63)
%65 = icmp eq i32 %64, 0
br i1 %65, label %58, label %70
66: ; preds = %50
%67 = load i32, i32* @stderr
%68 = load i8*, i8** %8
%69 = call i32 (i32, i8*, ...) @fprintf(i32 %67, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0), i8* %68)
br label %70
70: ; preds = %58, %54, %24, %38, %45, %31, %16, %12, %7, %2, %66
%71 = phi i32 [ 2, %66 ], [ 2, %2 ], [ 0, %7 ], [ 1, %12 ], [ 77, %16 ], [ 0, %31 ], [ 0, %45 ], [ 0, %38 ], [ 0, %24 ], [ 0, %54 ], [ 0, %58 ]
ret i32 %71
}