#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 add_random(int, int /*<<< orphan*/, int, int, int, int, int);
int /*<<< orphan*/ atof(char *);
int atoi(char *);
int basic_tests();
int larger_tests();
int perf_loop(int, int);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ strncmp(char *, char *, int);
int main(int argc, char **argv) {
  int rv = 0;
  if (argc == 1) {
    printf("----- Running basic tests -----\n");
    rv = basic_tests();
    printf("----- DONE Running basic tests -----\n");
    return rv;
  }
  if (!strncmp(argv[1], "-L", 2)) {
    return larger_tests();
  }
  if (!strncmp(argv[1], "-G", 2)) {
    if (argc != 6) {
      printf("-G START END INCREMENT ERROR\n");
      return 1;
    }
    int e;
    for (e = atoi(argv[2]); e <= atoi(argv[3]); e += atoi(argv[4])) {
      rv += add_random(e, atof(argv[5]), e, 1, 0, 32, 1);
    }
    return rv;
  }
  if (!strncmp(argv[1], "-c", 2)) {
    if (argc != 5) {
      printf("-c ENTRIES ERROR COUNT\n");
      return 1;
    }
    return add_random(atoi(argv[2]), atof(argv[3]), atoi(argv[4]), 0, 1, 32, 1);
  }
  if (!strncmp(argv[1], "-p", 2)) {
    if (argc != 4) {
      printf("-p ENTRIES COUNT\n");
    }
    return perf_loop(atoi(argv[2]), atoi(argv[3]));
  }
  return rv;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
cmpl   $0x1,-0x8(%rbp)
jne    11d4 <main+0x54>
lea    0xe52(%rip),%rdi
call   1070 <printf@plt>
mov    $0x0,%al
call   1080 <basic_tests@plt>
mov    %eax,-0x14(%rbp)
lea    0xe5d(%rip),%rdi
call   1070 <printf@plt>
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    13df <main+0x25f>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe64(%rip),%rsi
mov    $0x2,%edx
call   1040 <strncmp@plt>
cmp    $0x0,%eax
jne    1205 <main+0x85>
mov    $0x0,%al
call   10a0 <larger_tests@plt>
mov    %eax,-0x4(%rbp)
jmp    13df <main+0x25f>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe36(%rip),%rsi
mov    $0x2,%edx
call   1040 <strncmp@plt>
cmp    $0x0,%eax
jne    12d7 <main+0x157>
cmpl   $0x6,-0x8(%rbp)
je     1249 <main+0xc9>
lea    0xe15(%rip),%rdi
call   1070 <printf@plt>
movl   $0x1,-0x4(%rbp)
jmp    13df <main+0x25f>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   1090 <atoi@plt>
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rdi
call   1090 <atoi@plt>
mov    %eax,%ecx
mov    -0x1c(%rbp),%eax
cmp    %ecx,%eax
jg     12cc <main+0x14c>
mov    -0x18(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x10(%rbp),%rax
mov    0x28(%rax),%rdi
call   1050 <atof@plt>
mov    -0x20(%rbp),%edi
mov    %eax,%esi
mov    -0x18(%rbp),%edx
mov    $0x1,%ecx
xor    %r8d,%r8d
mov    $0x20,%r9d
movl   $0x1,(%rsp)
call   1030 <add_random@plt>
add    -0x14(%rbp),%eax
mov    %eax,-0x14(%rbp)
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%rdi
call   1090 <atoi@plt>
add    -0x18(%rbp),%eax
mov    %eax,-0x18(%rbp)
jmp    1259 <main+0xd9>
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    13df <main+0x25f>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xd85(%rip),%rsi
mov    $0x2,%edx
call   1040 <strncmp@plt>
cmp    $0x0,%eax
jne    1372 <main+0x1f2>
cmpl   $0x5,-0x8(%rbp)
je     131b <main+0x19b>
lea    0xd64(%rip),%rdi
call   1070 <printf@plt>
movl   $0x1,-0x4(%rbp)
jmp    13df <main+0x25f>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   1090 <atoi@plt>
mov    %eax,-0x28(%rbp)
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rdi
call   1050 <atof@plt>
mov    %eax,-0x24(%rbp)
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%rdi
call   1090 <atoi@plt>
mov    -0x28(%rbp),%edi
mov    -0x24(%rbp),%esi
mov    %eax,%edx
xor    %ecx,%ecx
mov    $0x1,%r8d
mov    $0x20,%r9d
movl   $0x1,(%rsp)
call   1030 <add_random@plt>
mov    %eax,-0x4(%rbp)
jmp    13df <main+0x25f>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xd05(%rip),%rsi
mov    $0x2,%edx
call   1040 <strncmp@plt>
cmp    $0x0,%eax
jne    13d9 <main+0x259>
cmpl   $0x4,-0x8(%rbp)
je     13aa <main+0x22a>
lea    0xce4(%rip),%rdi
call   1070 <printf@plt>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   1090 <atoi@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rdi
call   1090 <atoi@plt>
mov    -0x2c(%rbp),%edi
mov    %eax,%esi
call   1060 <perf_loop@plt>
mov    %eax,-0x4(%rbp)
jmp    13df <main+0x25f>
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
cmp    $0x1,%edi
jne    11b4 <main+0x34>
lea    0xebe(%rip),%rdi
call   1050 <puts@plt>
xor    %eax,%eax
call   1080 <basic_tests@plt>
mov    %eax,%ebx
lea    0xec9(%rip),%rdi
call   1050 <puts@plt>
mov    %ebx,%eax
jmp    1358 <main+0x1d8>
mov    %rsi,%r15
mov    %edi,%r14d
mov    0x8(%rsi),%rdi
lea    0xe3b(%rip),%rsi
mov    $0x2,%edx
call   1040 <strncmp@plt>
test   %eax,%eax
je     1269 <main+0xe9>
mov    0x8(%r15),%rdi
lea    0xe21(%rip),%rsi
mov    $0x2,%edx
call   1040 <strncmp@plt>
test   %eax,%eax
je     127a <main+0xfa>
mov    0x8(%r15),%rdi
lea    0xe07(%rip),%rsi
mov    $0x2,%edx
call   1040 <strncmp@plt>
test   %eax,%eax
je     12f5 <main+0x175>
mov    0x8(%r15),%rdi
lea    0xded(%rip),%rsi
mov    $0x2,%edx
call   1040 <strncmp@plt>
xor    %ebp,%ebp
test   %eax,%eax
jne    1356 <main+0x1d6>
cmp    $0x4,%r14d
je     1242 <main+0xc2>
lea    0xe03(%rip),%rdi
call   1050 <puts@plt>
mov    0x10(%r15),%rdi
call   1090 <atoi@plt>
mov    %eax,%ebx
mov    0x18(%r15),%rdi
call   1090 <atoi@plt>
mov    %ebx,%edi
mov    %eax,%esi
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1070 <perf_loop@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    10a0 <larger_tests@plt>
cmp    $0x6,%r14d
jne    133c <main+0x1bc>
mov    0x10(%r15),%rdi
call   1090 <atoi@plt>
mov    %eax,%ebx
mov    0x18(%r15),%rdi
call   1090 <atoi@plt>
xor    %ebp,%ebp
cmp    %eax,%ebx
jg     1356 <main+0x1d6>
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    0x28(%r15),%rdi
call   1060 <atof@plt>
movl   $0x1,(%rsp)
mov    %ebx,%edi
mov    %eax,%esi
mov    %ebx,%edx
mov    $0x1,%ecx
xor    %r8d,%r8d
mov    $0x20,%r9d
call   1030 <add_random@plt>
add    %eax,%ebp
mov    0x20(%r15),%rdi
call   1090 <atoi@plt>
add    %eax,%ebx
mov    0x18(%r15),%rdi
call   1090 <atoi@plt>
cmp    %eax,%ebx
jle    12b0 <main+0x130>
jmp    1356 <main+0x1d6>
cmp    $0x5,%r14d
jne    1345 <main+0x1c5>
mov    0x10(%r15),%rdi
call   1090 <atoi@plt>
mov    %eax,%ebx
mov    0x18(%r15),%rdi
call   1060 <atof@plt>
mov    %eax,%ebp
mov    0x20(%r15),%rdi
call   1090 <atoi@plt>
movl   $0x1,(%rsp)
mov    %ebx,%edi
mov    %ebp,%esi
mov    %eax,%edx
xor    %ecx,%ecx
mov    $0x1,%r8d
mov    $0x20,%r9d
call   1030 <add_random@plt>
jmp    1358 <main+0x1d8>
lea    0xcc9(%rip),%rdi
jmp    134c <main+0x1cc>
lea    0xcdd(%rip),%rdi
call   1050 <puts@plt>
mov    $0x1,%ebp
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [33 x i8] c"----- Running basic tests -----\0A\00"
@.str.1 = [38 x i8] c"----- DONE Running basic tests -----\0A\00"
@.str.2 = [3 x i8] c"-L\00"
@.str.3 = [3 x i8] c"-G\00"
@.str.4 = [30 x i8] c"-G START END INCREMENT ERROR\0A\00"
@.str.5 = [3 x i8] c"-c\00"
@.str.6 = [24 x i8] c"-c ENTRIES ERROR COUNT\0A\00"
@.str.7 = [3 x i8] c"-p\00"
@.str.8 = [18 x i8] c"-p ENTRIES COUNT\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %6
%8 = load i32, i32* %4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %15
10: ; preds = %2
%11 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%12 = call i32 (...) @basic_tests()
store i32 %12, i32* %6
%13 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0))
%14 = load i32, i32* %6
store i32 %14, i32* %3
br label %113
15: ; preds = %2
%16 = load i8**, i8*** %5
%17 = getelementptr inbounds i8*, i8** %16, i64 1
%18 = load i8*, i8** %17
%19 = call i32 @strncmp(i8* %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 2)
%20 = icmp ne i32 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %15
%22 = call i32 (...) @larger_tests()
store i32 %22, i32* %3
br label %113
23: ; preds = %15
%24 = load i8**, i8*** %5
%25 = getelementptr inbounds i8*, i8** %24, i64 1
%26 = load i8*, i8** %25
%27 = call i32 @strncmp(i8* %26, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 2)
%28 = icmp ne i32 %27, 0
br i1 %28, label %65, label %29
29: ; preds = %23
%30 = load i32, i32* %4
%31 = icmp ne i32 %30, 6
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0))
store i32 1, i32* %3
br label %113
34: ; preds = %29
%35 = load i8**, i8*** %5
%36 = getelementptr inbounds i8*, i8** %35, i64 2
%37 = load i8*, i8** %36
%38 = call i32 @atoi(i8* %37)
store i32 %38, i32* %7
br label %39
39: ; preds = %56, %34
%40 = load i32, i32* %7
%41 = load i8**, i8*** %5
%42 = getelementptr inbounds i8*, i8** %41, i64 3
%43 = load i8*, i8** %42
%44 = call i32 @atoi(i8* %43)
%45 = icmp sle i32 %40, %44
br i1 %45, label %46, label %63
46: ; preds = %39
%47 = load i32, i32* %7
%48 = load i8**, i8*** %5
%49 = getelementptr inbounds i8*, i8** %48, i64 5
%50 = load i8*, i8** %49
%51 = call i32 @atof(i8* %50)
%52 = load i32, i32* %7
%53 = call i32 @add_random(i32 %47, i32 %51, i32 %52, i32 1, i32 0, i32 32, i32 1)
%54 = load i32, i32* %6
%55 = add nsw i32 %54, %53
store i32 %55, i32* %6
br label %56
56: ; preds = %46
%57 = load i8**, i8*** %5
%58 = getelementptr inbounds i8*, i8** %57, i64 4
%59 = load i8*, i8** %58
%60 = call i32 @atoi(i8* %59)
%61 = load i32, i32* %7
%62 = add nsw i32 %61, %60
store i32 %62, i32* %7
br label %39
63: ; preds = %39
%64 = load i32, i32* %6
store i32 %64, i32* %3
br label %113
65: ; preds = %23
%66 = load i8**, i8*** %5
%67 = getelementptr inbounds i8*, i8** %66, i64 1
%68 = load i8*, i8** %67
%69 = call i32 @strncmp(i8* %68, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32 2)
%70 = icmp ne i32 %69, 0
br i1 %70, label %90, label %71
71: ; preds = %65
%72 = load i32, i32* %4
%73 = icmp ne i32 %72, 5
br i1 %73, label %74, label %76
74: ; preds = %71
%75 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.6, i64 0, i64 0))
store i32 1, i32* %3
br label %113
76: ; preds = %71
%77 = load i8**, i8*** %5
%78 = getelementptr inbounds i8*, i8** %77, i64 2
%79 = load i8*, i8** %78
%80 = call i32 @atoi(i8* %79)
%81 = load i8**, i8*** %5
%82 = getelementptr inbounds i8*, i8** %81, i64 3
%83 = load i8*, i8** %82
%84 = call i32 @atof(i8* %83)
%85 = load i8**, i8*** %5
%86 = getelementptr inbounds i8*, i8** %85, i64 4
%87 = load i8*, i8** %86
%88 = call i32 @atoi(i8* %87)
%89 = call i32 @add_random(i32 %80, i32 %84, i32 %88, i32 0, i32 1, i32 32, i32 1)
store i32 %89, i32* %3
br label %113
90: ; preds = %65
%91 = load i8**, i8*** %5
%92 = getelementptr inbounds i8*, i8** %91, i64 1
%93 = load i8*, i8** %92
%94 = call i32 @strncmp(i8* %93, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32 2)
%95 = icmp ne i32 %94, 0
br i1 %95, label %111, label %96
96: ; preds = %90
%97 = load i32, i32* %4
%98 = icmp ne i32 %97, 4
br i1 %98, label %99, label %101
99: ; preds = %96
%100 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0))
br label %101
101: ; preds = %99, %96
%102 = load i8**, i8*** %5
%103 = getelementptr inbounds i8*, i8** %102, i64 2
%104 = load i8*, i8** %103
%105 = call i32 @atoi(i8* %104)
%106 = load i8**, i8*** %5
%107 = getelementptr inbounds i8*, i8** %106, i64 3
%108 = load i8*, i8** %107
%109 = call i32 @atoi(i8* %108)
%110 = call i32 @perf_loop(i32 %105, i32 %109)
store i32 %110, i32* %3
br label %113
111: ; preds = %90
%112 = load i32, i32* %6
store i32 %112, i32* %3
br label %113
113: ; preds = %111, %101, %76, %74, %63, %32, %21, %10
%114 = load i32, i32* %3
ret i32 %114
}

LLVM IR (-O2):
@.str.2 = [3 x i8] c"-L\00"
@.str.3 = [3 x i8] c"-G\00"
@.str.5 = [3 x i8] c"-c\00"
@.str.7 = [3 x i8] c"-p\00"
@str = [29 x i8] c"-G START END INCREMENT ERROR\00"
@str.9 = [23 x i8] c"-c ENTRIES ERROR COUNT\00"
@str.10 = [17 x i8] c"-p ENTRIES COUNT\00"
@str.11 = [32 x i8] c"----- Running basic tests -----\00"
@str.12 = [37 x i8] c"----- DONE Running basic tests -----\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp eq i32 %0, 1
br i1 %3, label %4, label %8
4: ; preds = %2
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.11, i64 0, i64 0))
%6 = tail call i32 (...) @basic_tests()
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.12, i64 0, i64 0))
br label %82
8: ; preds = %2
%9 = getelementptr inbounds i8*, i8** %1, i64 1
%10 = load i8*, i8** %9
%11 = tail call i32 @strncmp(i8* %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 2)
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %8
%14 = tail call i32 (...) @larger_tests()
br label %82
15: ; preds = %8
%16 = load i8*, i8** %9
%17 = tail call i32 @strncmp(i8* %16, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 2)
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %47
19: ; preds = %15
%20 = icmp eq i32 %0, 6
br i1 %20, label %23, label %21
21: ; preds = %19
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str, i64 0, i64 0))
br label %82
23: ; preds = %19
%24 = getelementptr inbounds i8*, i8** %1, i64 2
%25 = load i8*, i8** %24
%26 = tail call i32 @atoi(i8* %25)
%27 = getelementptr inbounds i8*, i8** %1, i64 3
%28 = load i8*, i8** %27
%29 = tail call i32 @atoi(i8* %28)
%30 = icmp sgt i32 %26, %29
br i1 %30, label %82, label %31
31: ; preds = %23
%32 = getelementptr inbounds i8*, i8** %1, i64 5
%33 = getelementptr inbounds i8*, i8** %1, i64 4
br label %34
34: ; preds = %31, %34
%35 = phi i32 [ %26, %31 ], [ %43, %34 ]
%36 = phi i32 [ 0, %31 ], [ %40, %34 ]
%37 = load i8*, i8** %32
%38 = tail call i32 @atof(i8* %37)
%39 = tail call i32 @add_random(i32 %35, i32 %38, i32 %35, i32 1, i32 0, i32 32, i32 1)
%40 = add nsw i32 %39, %36
%41 = load i8*, i8** %33
%42 = tail call i32 @atoi(i8* %41)
%43 = add nsw i32 %42, %35
%44 = load i8*, i8** %27
%45 = tail call i32 @atoi(i8* %44)
%46 = icmp sgt i32 %43, %45
br i1 %46, label %82, label %34
47: ; preds = %15
%48 = load i8*, i8** %9
%49 = tail call i32 @strncmp(i8* %48, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32 2)
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %66
51: ; preds = %47
%52 = icmp eq i32 %0, 5
br i1 %52, label %55, label %53
53: ; preds = %51
%54 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.9, i64 0, i64 0))
br label %82
55: ; preds = %51
%56 = getelementptr inbounds i8*, i8** %1, i64 2
%57 = load i8*, i8** %56
%58 = tail call i32 @atoi(i8* %57)
%59 = getelementptr inbounds i8*, i8** %1, i64 3
%60 = load i8*, i8** %59
%61 = tail call i32 @atof(i8* %60)
%62 = getelementptr inbounds i8*, i8** %1, i64 4
%63 = load i8*, i8** %62
%64 = tail call i32 @atoi(i8* %63)
%65 = tail call i32 @add_random(i32 %58, i32 %61, i32 %64, i32 0, i32 1, i32 32, i32 1)
br label %82
66: ; preds = %47
%67 = load i8*, i8** %9
%68 = tail call i32 @strncmp(i8* %67, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32 2)
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %82
70: ; preds = %66
%71 = icmp eq i32 %0, 4
br i1 %71, label %74, label %72
72: ; preds = %70
%73 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.10, i64 0, i64 0))
br label %74
74: ; preds = %72, %70
%75 = getelementptr inbounds i8*, i8** %1, i64 2
%76 = load i8*, i8** %75
%77 = tail call i32 @atoi(i8* %76)
%78 = getelementptr inbounds i8*, i8** %1, i64 3
%79 = load i8*, i8** %78
%80 = tail call i32 @atoi(i8* %79)
%81 = tail call i32 @perf_loop(i32 %77, i32 %80)
br label %82
82: ; preds = %34, %23, %66, %74, %55, %53, %21, %13, %4
%83 = phi i32 [ %6, %4 ], [ %81, %74 ], [ 1, %53 ], [ %65, %55 ], [ 1, %21 ], [ %14, %13 ], [ 0, %66 ], [ 0, %23 ], [ %40, %34 ]
ret i32 %83
}