#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 CorrectnessTest1();
int CorrectnessTest2();
int CorrectnessTest3();
int CorrectnessTest4();
int CorrectnessTest5();
int /*<<< orphan*/ PerformanceTest(int);
int atoi(char const *);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ strcmp(char *, char const *);
int main(int argc, const char *argv[]) {
  int res[5], i;
  if (argc == 2 && strcmp("-c", argv[1]) == 0) {
    res[0] = CorrectnessTest1();
    res[1] = CorrectnessTest2();
    res[2] = CorrectnessTest3();
    res[3] = CorrectnessTest4();
    res[4] = CorrectnessTest5();
    for (i = 0; i < 5; i++)
      printf("Test %d %s\n", i + 1, (res[i] == 0) ? "PASSED" : "FAILED");
    return 0;
  } else if (argc == 3 && strcmp("-c", argv[1]) == 0) {
    if (atoi(argv[2]) == 1)
      CorrectnessTest1();
    else if (atoi(argv[2]) == 2)
      CorrectnessTest2();
    else if (atoi(argv[2]) == 3)
      CorrectnessTest3();
    else if (atoi(argv[2]) == 4)
      CorrectnessTest4();
    else if (atoi(argv[2]) == 5)
      CorrectnessTest5();
    else
      goto error;
    return 0;
  } else if (argc == 3 && strcmp("-p", argv[1]) == 0) {
    int n = atoi(argv[2]);
    if (n > 0)
      PerformanceTest(n);
    return 0;
  }
error:
  printf("Usage:  %s -c      run all the correctness tests\n"
         "        %s -c 3    run the correctness test 3 (1~5)\n"
         "        %s -p 2000 run performance test with data set"
         " of 2000 users",
         argv[0], argv[0], argv[0]);
  return 0;
}


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)
cmpl   $0x2,-0x8(%rbp)
jne    125c <main+0xcc>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xe41(%rip),%rdi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    125c <main+0xcc>
mov    $0x0,%al
call   10b0 <CorrectnessTest1@plt>
mov    %eax,-0x30(%rbp)
mov    $0x0,%al
call   1060 <CorrectnessTest2@plt>
mov    %eax,-0x2c(%rbp)
mov    $0x0,%al
call   10a0 <CorrectnessTest3@plt>
mov    %eax,-0x28(%rbp)
mov    $0x0,%al
call   1050 <CorrectnessTest4@plt>
mov    %eax,-0x24(%rbp)
mov    $0x0,%al
call   1090 <CorrectnessTest5@plt>
mov    %eax,-0x20(%rbp)
movl   $0x0,-0x34(%rbp)
cmpl   $0x5,-0x34(%rbp)
jge    1250 <main+0xc0>
mov    -0x34(%rbp),%esi
add    $0x1,%esi
movslq -0x34(%rbp),%rax
mov    -0x30(%rbp,%rax,4),%ecx
lea    0xdf0(%rip),%rdx
lea    0xde2(%rip),%rax
cmp    $0x0,%ecx
cmove  %rax,%rdx
lea    0xdc8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1207 <main+0x77>
movl   $0x0,-0x4(%rbp)
jmp    13e2 <main+0x252>
cmpl   $0x3,-0x8(%rbp)
jne    1353 <main+0x1c3>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xd8b(%rip),%rdi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    1353 <main+0x1c3>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   1080 <atoi@plt>
cmp    $0x1,%eax
jne    12a6 <main+0x116>
mov    $0x0,%al
call   10b0 <CorrectnessTest1@plt>
jmp    1347 <main+0x1b7>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   1080 <atoi@plt>
cmp    $0x2,%eax
jne    12c8 <main+0x138>
mov    $0x0,%al
call   1060 <CorrectnessTest2@plt>
jmp    1342 <main+0x1b2>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   1080 <atoi@plt>
cmp    $0x3,%eax
jne    12ea <main+0x15a>
mov    $0x0,%al
call   10a0 <CorrectnessTest3@plt>
jmp    133d <main+0x1ad>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   1080 <atoi@plt>
cmp    $0x4,%eax
jne    130c <main+0x17c>
mov    $0x0,%al
call   1050 <CorrectnessTest4@plt>
jmp    1338 <main+0x1a8>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   1080 <atoi@plt>
cmp    $0x5,%eax
jne    132e <main+0x19e>
mov    $0x0,%al
call   1090 <CorrectnessTest5@plt>
jmp    1333 <main+0x1a3>
jmp    13b8 <main+0x228>
jmp    1338 <main+0x1a8>
jmp    133d <main+0x1ad>
jmp    1342 <main+0x1b2>
jmp    1347 <main+0x1b7>
movl   $0x0,-0x4(%rbp)
jmp    13e2 <main+0x252>
cmpl   $0x3,-0x8(%rbp)
jne    13a9 <main+0x219>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xcb1(%rip),%rdi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    13a9 <main+0x219>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   1080 <atoi@plt>
mov    %eax,-0x38(%rbp)
cmpl   $0x0,-0x38(%rbp)
jle    139d <main+0x20d>
mov    -0x38(%rbp),%edi
call   1070 <PerformanceTest@plt>
movl   $0x0,-0x4(%rbp)
jmp    13e2 <main+0x252>
jmp    13ae <main+0x21e>
jmp    13b3 <main+0x223>
jmp    13b8 <main+0x228>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
mov    -0x10(%rbp),%rax
mov    (%rax),%rcx
lea    0xc4c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%rbx
cmp    $0x3,%edi
je     1290 <main+0x100>
cmp    $0x2,%edi
jne    12ba <main+0x12a>
mov    0x8(%rbx),%rsi
lea    0xe59(%rip),%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
jne    12ba <main+0x12a>
xor    %eax,%eax
call   10b0 <CorrectnessTest1@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1060 <CorrectnessTest2@plt>
mov    %eax,%r13d
xor    %eax,%eax
call   10a0 <CorrectnessTest3@plt>
mov    %eax,%r12d
xor    %eax,%eax
call   1050 <CorrectnessTest4@plt>
mov    %eax,%r15d
xor    %eax,%eax
call   1090 <CorrectnessTest5@plt>
mov    %eax,0x4(%rsp)
test   %ebx,%ebx
lea    0xe1f(%rip),%r14
lea    0xe1f(%rip),%rbx
mov    %rbx,%rdx
cmove  %r14,%rdx
lea    0xdfe(%rip),%rbp
mov    %rbp,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <printf@plt>
test   %r13d,%r13d
mov    %rbx,%rdx
cmove  %r14,%rdx
mov    %rbp,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1030 <printf@plt>
test   %r12d,%r12d
mov    %rbx,%rdx
cmove  %r14,%rdx
mov    %rbp,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1030 <printf@plt>
test   %r15d,%r15d
mov    %rbx,%rdx
cmove  %r14,%rdx
mov    %rbp,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1030 <printf@plt>
cmpl   $0x0,0x4(%rsp)
cmove  %r14,%rbx
mov    %rbp,%rdi
mov    $0x5,%esi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
jmp    12d1 <main+0x141>
mov    0x8(%rbx),%rsi
lea    0xd79(%rip),%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     12e2 <main+0x152>
mov    0x8(%rbx),%rsi
lea    0xd81(%rip),%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     130c <main+0x17c>
mov    (%rbx),%rcx
lea    0xd70(%rip),%rdi
mov    %rcx,%rsi
mov    %rcx,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x10(%rbx),%rdi
call   1080 <atoi@plt>
add    $0xffffffff,%eax
cmp    $0x4,%eax
ja     12ba <main+0x12a>
lea    0xd06(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
xor    %eax,%eax
call   10b0 <CorrectnessTest1@plt>
jmp    12d1 <main+0x141>
mov    0x10(%rbx),%rdi
call   1080 <atoi@plt>
test   %eax,%eax
jle    12d1 <main+0x141>
mov    %eax,%edi
call   1070 <PerformanceTest@plt>
jmp    12d1 <main+0x141>
xor    %eax,%eax
call   10a0 <CorrectnessTest3@plt>
jmp    12d1 <main+0x141>
xor    %eax,%eax
call   1050 <CorrectnessTest4@plt>
jmp    12d1 <main+0x141>
xor    %eax,%eax
call   1090 <CorrectnessTest5@plt>
jmp    12d1 <main+0x141>
xor    %eax,%eax
call   1060 <CorrectnessTest2@plt>
jmp    12d1 <main+0x141>

LLVM IR (-O0):
@.str = [3 x i8] c"-c\00"
@.str.1 = [12 x i8] c"Test %d %s\0A\00"
@.str.2 = [7 x i8] c"PASSED\00"
@.str.3 = [7 x i8] c"FAILED\00"
@.str.4 = [3 x i8] c"-p\00"
@.str.5 = [169 x i8] c"Usage: %s -c run all the correctness tests\0A %s -c 3 run the correctness test 3 (1~5)\0A %s -p 2000 run performance test with data set of 2000 users\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [5 x i32]
%7 = alloca i32
%8 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%9 = load i32, i32* %4
%10 = icmp eq i32 %9, 2
br i1 %10, label %11, label %46
11: ; preds = %2
%12 = load i8**, i8*** %5
%13 = getelementptr inbounds i8*, i8** %12, i64 1
%14 = load i8*, i8** %13
%15 = call i64 @strcmp(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %14)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %46
17: ; preds = %11
%18 = call i32 (...) @CorrectnessTest1()
%19 = getelementptr inbounds [5 x i32], [5 x i32]* %6, i64 0, i64 0
store i32 %18, i32* %19
%20 = call i32 (...) @CorrectnessTest2()
%21 = getelementptr inbounds [5 x i32], [5 x i32]* %6, i64 0, i64 1
store i32 %20, i32* %21
%22 = call i32 (...) @CorrectnessTest3()
%23 = getelementptr inbounds [5 x i32], [5 x i32]* %6, i64 0, i64 2
store i32 %22, i32* %23
%24 = call i32 (...) @CorrectnessTest4()
%25 = getelementptr inbounds [5 x i32], [5 x i32]* %6, i64 0, i64 3
store i32 %24, i32* %25
%26 = call i32 (...) @CorrectnessTest5()
%27 = getelementptr inbounds [5 x i32], [5 x i32]* %6, i64 0, i64 4
store i32 %26, i32* %27
store i32 0, i32* %7
br label %28
28: ; preds = %42, %17
%29 = load i32, i32* %7
%30 = icmp slt i32 %29, 5
br i1 %30, label %31, label %45
31: ; preds = %28
%32 = load i32, i32* %7
%33 = add nsw i32 %32, 1
%34 = load i32, i32* %7
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [5 x i32], [5 x i32]* %6, i64 0, i64 %35
%37 = load i32, i32* %36
%38 = icmp eq i32 %37, 0
%39 = zext i1 %38 to i64
%40 = select i1 %38, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0)
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 %33, i8* %40)
br label %42
42: ; preds = %31
%43 = load i32, i32* %7
%44 = add nsw i32 %43, 1
store i32 %44, i32* %7
br label %28
45: ; preds = %28
store i32 0, i32* %3
br label %135
46: ; preds = %11, %2
%47 = load i32, i32* %4
%48 = icmp eq i32 %47, 3
br i1 %48, label %49, label %101
49: ; preds = %46
%50 = load i8**, i8*** %5
%51 = getelementptr inbounds i8*, i8** %50, i64 1
%52 = load i8*, i8** %51
%53 = call i64 @strcmp(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %52)
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %101
55: ; preds = %49
%56 = load i8**, i8*** %5
%57 = getelementptr inbounds i8*, i8** %56, i64 2
%58 = load i8*, i8** %57
%59 = call i32 @atoi(i8* %58)
%60 = icmp eq i32 %59, 1
br i1 %60, label %61, label %63
61: ; preds = %55
%62 = call i32 (...) @CorrectnessTest1()
br label %100
63: ; preds = %55
%64 = load i8**, i8*** %5
%65 = getelementptr inbounds i8*, i8** %64, i64 2
%66 = load i8*, i8** %65
%67 = call i32 @atoi(i8* %66)
%68 = icmp eq i32 %67, 2
br i1 %68, label %69, label %71
69: ; preds = %63
%70 = call i32 (...) @CorrectnessTest2()
br label %99
71: ; preds = %63
%72 = load i8**, i8*** %5
%73 = getelementptr inbounds i8*, i8** %72, i64 2
%74 = load i8*, i8** %73
%75 = call i32 @atoi(i8* %74)
%76 = icmp eq i32 %75, 3
br i1 %76, label %77, label %79
77: ; preds = %71
%78 = call i32 (...) @CorrectnessTest3()
br label %98
79: ; preds = %71
%80 = load i8**, i8*** %5
%81 = getelementptr inbounds i8*, i8** %80, i64 2
%82 = load i8*, i8** %81
%83 = call i32 @atoi(i8* %82)
%84 = icmp eq i32 %83, 4
br i1 %84, label %85, label %87
85: ; preds = %79
%86 = call i32 (...) @CorrectnessTest4()
br label %97
87: ; preds = %79
%88 = load i8**, i8*** %5
%89 = getelementptr inbounds i8*, i8** %88, i64 2
%90 = load i8*, i8** %89
%91 = call i32 @atoi(i8* %90)
%92 = icmp eq i32 %91, 5
br i1 %92, label %93, label %95
93: ; preds = %87
%94 = call i32 (...) @CorrectnessTest5()
br label %96
95: ; preds = %87
br label %124
96: ; preds = %93
br label %97
97: ; preds = %96, %85
br label %98
98: ; preds = %97, %77
br label %99
99: ; preds = %98, %69
br label %100
100: ; preds = %99, %61
store i32 0, i32* %3
br label %135
101: ; preds = %49, %46
%102 = load i32, i32* %4
%103 = icmp eq i32 %102, 3
br i1 %103, label %104, label %121
104: ; preds = %101
%105 = load i8**, i8*** %5
%106 = getelementptr inbounds i8*, i8** %105, i64 1
%107 = load i8*, i8** %106
%108 = call i64 @strcmp(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %107)
%109 = icmp eq i64 %108, 0
br i1 %109, label %110, label %121
110: ; preds = %104
%111 = load i8**, i8*** %5
%112 = getelementptr inbounds i8*, i8** %111, i64 2
%113 = load i8*, i8** %112
%114 = call i32 @atoi(i8* %113)
store i32 %114, i32* %8
%115 = load i32, i32* %8
%116 = icmp sgt i32 %115, 0
br i1 %116, label %117, label %120
117: ; preds = %110
%118 = load i32, i32* %8
%119 = call i32 @PerformanceTest(i32 %118)
br label %120
120: ; preds = %117, %110
store i32 0, i32* %3
br label %135
121: ; preds = %104, %101
br label %122
122: ; preds = %121
br label %123
123: ; preds = %122
br label %124
124: ; preds = %123, %95
%125 = load i8**, i8*** %5
%126 = getelementptr inbounds i8*, i8** %125, i64 0
%127 = load i8*, i8** %126
%128 = load i8**, i8*** %5
%129 = getelementptr inbounds i8*, i8** %128, i64 0
%130 = load i8*, i8** %129
%131 = load i8**, i8*** %5
%132 = getelementptr inbounds i8*, i8** %131, i64 0
%133 = load i8*, i8** %132
%134 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([169 x i8], [169 x i8]* @.str.5, i64 0, i64 0), i8* %127, i8* %130, i8* %133)
store i32 0, i32* %3
br label %135
135: ; preds = %124, %120, %100, %45
%136 = load i32, i32* %3
ret i32 %136
}

LLVM IR (-O2):
@.str = [3 x i8] c"-c\00"
@.str.1 = [12 x i8] c"Test %d %s\0A\00"
@.str.2 = [7 x i8] c"PASSED\00"
@.str.3 = [7 x i8] c"FAILED\00"
@.str.4 = [3 x i8] c"-p\00"
@.str.5 = [169 x i8] c"Usage: %s -c run all the correctness tests\0A %s -c 3 run the correctness test 3 (1~5)\0A %s -p 2000 run performance test with data set of 2000 users\00"
define i32 @main(i32 %0, i8** nocapture %1) {
switch i32 %0, label %59 [
i32 2, label %3
i32 3, label %29
]
3: ; preds = %2
%4 = getelementptr inbounds i8*, i8** %1, i64 1
%5 = load i8*, i8** %4
%6 = tail call i64 @strcmp(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %5)
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %59
8: ; preds = %3
%9 = tail call i32 (...) @CorrectnessTest1()
%10 = tail call i32 (...) @CorrectnessTest2()
%11 = tail call i32 (...) @CorrectnessTest3()
%12 = tail call i32 (...) @CorrectnessTest4()
%13 = tail call i32 (...) @CorrectnessTest5()
%14 = icmp eq i32 %9, 0
%15 = select i1 %14, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 1, i8* %15)
%17 = icmp eq i32 %10, 0
%18 = select i1 %17, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0)
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 2, i8* %18)
%20 = icmp eq i32 %11, 0
%21 = select i1 %20, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0)
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 3, i8* %21)
%23 = icmp eq i32 %12, 0
%24 = select i1 %23, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0)
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 4, i8* %24)
%26 = icmp eq i32 %13, 0
%27 = select i1 %26, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0)
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 5, i8* %27)
br label %62
29: ; preds = %2
%30 = getelementptr inbounds i8*, i8** %1, i64 1
%31 = load i8*, i8** %30
%32 = tail call i64 @strcmp(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %31)
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %48
34: ; preds = %29
%35 = getelementptr inbounds i8*, i8** %1, i64 2
%36 = load i8*, i8** %35
%37 = tail call i32 @atoi(i8* %36)
switch i32 %37, label %59 [
i32 1, label %38
i32 2, label %40
i32 3, label %42
i32 4, label %44
i32 5, label %46
]
38: ; preds = %34
%39 = tail call i32 (...) @CorrectnessTest1()
br label %62
40: ; preds = %34
%41 = tail call i32 (...) @CorrectnessTest2()
br label %62
42: ; preds = %34
%43 = tail call i32 (...) @CorrectnessTest3()
br label %62
44: ; preds = %34
%45 = tail call i32 (...) @CorrectnessTest4()
br label %62
46: ; preds = %34
%47 = tail call i32 (...) @CorrectnessTest5()
br label %62
48: ; preds = %29
%49 = load i8*, i8** %30
%50 = tail call i64 @strcmp(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %49)
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %59
52: ; preds = %48
%53 = getelementptr inbounds i8*, i8** %1, i64 2
%54 = load i8*, i8** %53
%55 = tail call i32 @atoi(i8* %54)
%56 = icmp sgt i32 %55, 0
br i1 %56, label %57, label %62
57: ; preds = %52
%58 = tail call i32 @PerformanceTest(i32 %55)
br label %62
59: ; preds = %2, %3, %34, %48
%60 = load i8*, i8** %1
%61 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([169 x i8], [169 x i8]* @.str.5, i64 0, i64 0), i8* %60, i8* %60, i8* %60)
br label %62
62: ; preds = %8, %52, %57, %38, %42, %46, %44, %40, %59
ret i32 0
}