#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*/ strcmp(char *, char *);
int ATLAS_GET_STAT(char *statName) {
  if (!statName)
    return 0;
  if (!strcmp("CAREER_WINS", statName))
    return 1;
  else if (!strcmp("CAREER_LOSSES", statName))
    return 2;
  else if (!strcmp("BEST_RACE_TIME", statName))
    return 3;
  else if (!strcmp("WORST_RACE_TIME", statName))
    return 4;
  else if (!strcmp("TOTAL_MATCHES", statName))
    return 5;
  else if (!strcmp("AVERAGE_RACE_TIME", statName))
    return 6;
  else if (!strcmp("CURRENT_WIN_STREAK", statName))
    return 7;
  else if (!strcmp("CURRENT_LOSS_STREAK", statName))
    return 8;
  else if (!strcmp("TOTAL_RACE_TIME", statName))
    return 9;
  else if (!strcmp("CAREER_DISCONNECTS", statName))
    return 11;
  else if (!strcmp("DISCONNECT_RATE", statName))
    return 12;
  else if (!strcmp("CAREER_DRAWS", statName))
    return 13;
  else if (!strcmp("CURRENT_DRAW_STREAK", statName))
    return 14;
  else if (!strcmp("CAREER_LONGEST_WIN_STREAK", statName))
    return 15;
  else if (!strcmp("CAREER_LONGEST_LOSS_STREAK", statName))
    return 16;
  else if (!strcmp("CAREER_LONGEST_DRAW_STREAK", statName))
    return 17;
  else if (!strcmp("TOTAL_COMPLETE_MATCHES", statName))
    return 18;
  else if (!strcmp("RICHARD_TEST1", statName))
    return 19;
  else if (!strcmp("RICHARD_TEST2", statName))
    return 20;
  else if (!strcmp("RICHARD_TEST3", statName))
    return 21;
  return 0;
}


x86 assembly (clang, -O0):
<ATLAS_GET_STAT>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    1133 <ATLAS_GET_STAT+0x23>
movl   $0x0,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xec2(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    1158 <ATLAS_GET_STAT+0x48>
movl   $0x1,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xea9(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    117d <ATLAS_GET_STAT+0x6d>
movl   $0x2,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xe92(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    11a2 <ATLAS_GET_STAT+0x92>
movl   $0x3,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xe7c(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    11c7 <ATLAS_GET_STAT+0xb7>
movl   $0x4,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xe67(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    11ec <ATLAS_GET_STAT+0xdc>
movl   $0x5,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xe50(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    1211 <ATLAS_GET_STAT+0x101>
movl   $0x6,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xe3d(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    1236 <ATLAS_GET_STAT+0x126>
movl   $0x7,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xe2b(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    125b <ATLAS_GET_STAT+0x14b>
movl   $0x8,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xe1a(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    1280 <ATLAS_GET_STAT+0x170>
movl   $0x9,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xe05(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    12a5 <ATLAS_GET_STAT+0x195>
movl   $0xb,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xdf3(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    12ca <ATLAS_GET_STAT+0x1ba>
movl   $0xc,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xdde(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    12ef <ATLAS_GET_STAT+0x1df>
movl   $0xd,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xdc6(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    1314 <ATLAS_GET_STAT+0x204>
movl   $0xe,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xdb5(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    1339 <ATLAS_GET_STAT+0x229>
movl   $0xf,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xdaa(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    135e <ATLAS_GET_STAT+0x24e>
movl   $0x10,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xda0(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    1383 <ATLAS_GET_STAT+0x273>
movl   $0x11,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xd96(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    13a8 <ATLAS_GET_STAT+0x298>
movl   $0x12,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xd88(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    13cd <ATLAS_GET_STAT+0x2bd>
movl   $0x13,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xd71(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    13f2 <ATLAS_GET_STAT+0x2e2>
movl   $0x14,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
mov    -0x10(%rbp),%rsi
lea    0xd5a(%rip),%rdi
call   1030 <strcmp@plt>
cmp    $0x0,%eax
jne    1417 <ATLAS_GET_STAT+0x307>
movl   $0x15,-0x4(%rbp)
jmp    147d <ATLAS_GET_STAT+0x36d>
jmp    141c <ATLAS_GET_STAT+0x30c>
jmp    1421 <ATLAS_GET_STAT+0x311>
jmp    1426 <ATLAS_GET_STAT+0x316>
jmp    142b <ATLAS_GET_STAT+0x31b>
jmp    1430 <ATLAS_GET_STAT+0x320>
jmp    1435 <ATLAS_GET_STAT+0x325>
jmp    143a <ATLAS_GET_STAT+0x32a>
jmp    143f <ATLAS_GET_STAT+0x32f>
jmp    1444 <ATLAS_GET_STAT+0x334>
jmp    1449 <ATLAS_GET_STAT+0x339>
jmp    144e <ATLAS_GET_STAT+0x33e>
jmp    1453 <ATLAS_GET_STAT+0x343>
jmp    1458 <ATLAS_GET_STAT+0x348>
jmp    145d <ATLAS_GET_STAT+0x34d>
jmp    1462 <ATLAS_GET_STAT+0x352>
jmp    1467 <ATLAS_GET_STAT+0x357>
jmp    146c <ATLAS_GET_STAT+0x35c>
jmp    1471 <ATLAS_GET_STAT+0x361>
jmp    1476 <ATLAS_GET_STAT+0x366>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ATLAS_GET_STAT>:
push   %rbx
test   %rdi,%rdi
je     12ef <ATLAS_GET_STAT+0x1df>
mov    %rdi,%rbx
lea    0xedc(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     12f3 <ATLAS_GET_STAT+0x1e3>
lea    0xed1(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     12fa <ATLAS_GET_STAT+0x1ea>
lea    0xec8(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1301 <ATLAS_GET_STAT+0x1f1>
lea    0xec0(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1308 <ATLAS_GET_STAT+0x1f8>
lea    0xeb9(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     130f <ATLAS_GET_STAT+0x1ff>
lea    0xeb0(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1316 <ATLAS_GET_STAT+0x206>
lea    0xeab(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     131d <ATLAS_GET_STAT+0x20d>
lea    0xea7(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1324 <ATLAS_GET_STAT+0x214>
lea    0xea4(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     132b <ATLAS_GET_STAT+0x21b>
lea    0xe9d(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1332 <ATLAS_GET_STAT+0x222>
lea    0xe99(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1339 <ATLAS_GET_STAT+0x229>
lea    0xe92(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1340 <ATLAS_GET_STAT+0x230>
lea    0xe88(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1347 <ATLAS_GET_STAT+0x237>
lea    0xe85(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     134e <ATLAS_GET_STAT+0x23e>
lea    0xe88(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1355 <ATLAS_GET_STAT+0x245>
lea    0xe8c(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     135c <ATLAS_GET_STAT+0x24c>
lea    0xe90(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1363 <ATLAS_GET_STAT+0x253>
lea    0xe90(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     136a <ATLAS_GET_STAT+0x25a>
lea    0xe87(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
test   %eax,%eax
je     1371 <ATLAS_GET_STAT+0x261>
lea    0xe7e(%rip),%rdi
mov    %rbx,%rsi
call   1030 <strcmp@plt>
xor    %ecx,%ecx
test   %eax,%eax
mov    $0x15,%eax
cmovne %ecx,%eax
pop    %rbx
ret
xor    %eax,%eax
pop    %rbx
ret
mov    $0x1,%eax
pop    %rbx
ret
mov    $0x2,%eax
pop    %rbx
ret
mov    $0x3,%eax
pop    %rbx
ret
mov    $0x4,%eax
pop    %rbx
ret
mov    $0x5,%eax
pop    %rbx
ret
mov    $0x6,%eax
pop    %rbx
ret
mov    $0x7,%eax
pop    %rbx
ret
mov    $0x8,%eax
pop    %rbx
ret
mov    $0x9,%eax
pop    %rbx
ret
mov    $0xb,%eax
pop    %rbx
ret
mov    $0xc,%eax
pop    %rbx
ret
mov    $0xd,%eax
pop    %rbx
ret
mov    $0xe,%eax
pop    %rbx
ret
mov    $0xf,%eax
pop    %rbx
ret
mov    $0x10,%eax
pop    %rbx
ret
mov    $0x11,%eax
pop    %rbx
ret
mov    $0x12,%eax
pop    %rbx
ret
mov    $0x13,%eax
pop    %rbx
ret
mov    $0x14,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [12 x i8] c"CAREER_WINS\00"
@.str.1 = [14 x i8] c"CAREER_LOSSES\00"
@.str.2 = [15 x i8] c"BEST_RACE_TIME\00"
@.str.3 = [16 x i8] c"WORST_RACE_TIME\00"
@.str.4 = [14 x i8] c"TOTAL_MATCHES\00"
@.str.5 = [18 x i8] c"AVERAGE_RACE_TIME\00"
@.str.6 = [19 x i8] c"CURRENT_WIN_STREAK\00"
@.str.7 = [20 x i8] c"CURRENT_LOSS_STREAK\00"
@.str.8 = [16 x i8] c"TOTAL_RACE_TIME\00"
@.str.9 = [19 x i8] c"CAREER_DISCONNECTS\00"
@.str.10 = [16 x i8] c"DISCONNECT_RATE\00"
@.str.11 = [13 x i8] c"CAREER_DRAWS\00"
@.str.12 = [20 x i8] c"CURRENT_DRAW_STREAK\00"
@.str.13 = [26 x i8] c"CAREER_LONGEST_WIN_STREAK\00"
@.str.14 = [27 x i8] c"CAREER_LONGEST_LOSS_STREAK\00"
@.str.15 = [27 x i8] c"CAREER_LONGEST_DRAW_STREAK\00"
@.str.16 = [23 x i8] c"TOTAL_COMPLETE_MATCHES\00"
@.str.17 = [14 x i8] c"RICHARD_TEST1\00"
@.str.18 = [14 x i8] c"RICHARD_TEST2\00"
@.str.19 = [14 x i8] c"RICHARD_TEST3\00"
define i32 @ATLAS_GET_STAT(i8* %0) {
%2 = alloca i32
%3 = alloca i8*
store i8* %0, i8** %3
%4 = load i8*, i8** %3
%5 = icmp ne i8* %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 0, i32* %2
br label %127
7: ; preds = %1
%8 = load i8*, i8** %3
%9 = call i32 @strcmp(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %7
store i32 1, i32* %2
br label %127
12: ; preds = %7
%13 = load i8*, i8** %3
%14 = call i32 @strcmp(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8* %13)
%15 = icmp ne i32 %14, 0
br i1 %15, label %17, label %16
16: ; preds = %12
store i32 2, i32* %2
br label %127
17: ; preds = %12
%18 = load i8*, i8** %3
%19 = call i32 @strcmp(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i8* %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %22, label %21
21: ; preds = %17
store i32 3, i32* %2
br label %127
22: ; preds = %17
%23 = load i8*, i8** %3
%24 = call i32 @strcmp(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i8* %23)
%25 = icmp ne i32 %24, 0
br i1 %25, label %27, label %26
26: ; preds = %22
store i32 4, i32* %2
br label %127
27: ; preds = %22
%28 = load i8*, i8** %3
%29 = call i32 @strcmp(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i8* %28)
%30 = icmp ne i32 %29, 0
br i1 %30, label %32, label %31
31: ; preds = %27
store i32 5, i32* %2
br label %127
32: ; preds = %27
%33 = load i8*, i8** %3
%34 = call i32 @strcmp(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i8* %33)
%35 = icmp ne i32 %34, 0
br i1 %35, label %37, label %36
36: ; preds = %32
store i32 6, i32* %2
br label %127
37: ; preds = %32
%38 = load i8*, i8** %3
%39 = call i32 @strcmp(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0), i8* %38)
%40 = icmp ne i32 %39, 0
br i1 %40, label %42, label %41
41: ; preds = %37
store i32 7, i32* %2
br label %127
42: ; preds = %37
%43 = load i8*, i8** %3
%44 = call i32 @strcmp(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0), i8* %43)
%45 = icmp ne i32 %44, 0
br i1 %45, label %47, label %46
46: ; preds = %42
store i32 8, i32* %2
br label %127
47: ; preds = %42
%48 = load i8*, i8** %3
%49 = call i32 @strcmp(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.8, i64 0, i64 0), i8* %48)
%50 = icmp ne i32 %49, 0
br i1 %50, label %52, label %51
51: ; preds = %47
store i32 9, i32* %2
br label %127
52: ; preds = %47
%53 = load i8*, i8** %3
%54 = call i32 @strcmp(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i8* %53)
%55 = icmp ne i32 %54, 0
br i1 %55, label %57, label %56
56: ; preds = %52
store i32 11, i32* %2
br label %127
57: ; preds = %52
%58 = load i8*, i8** %3
%59 = call i32 @strcmp(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0), i8* %58)
%60 = icmp ne i32 %59, 0
br i1 %60, label %62, label %61
61: ; preds = %57
store i32 12, i32* %2
br label %127
62: ; preds = %57
%63 = load i8*, i8** %3
%64 = call i32 @strcmp(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.11, i64 0, i64 0), i8* %63)
%65 = icmp ne i32 %64, 0
br i1 %65, label %67, label %66
66: ; preds = %62
store i32 13, i32* %2
br label %127
67: ; preds = %62
%68 = load i8*, i8** %3
%69 = call i32 @strcmp(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.12, i64 0, i64 0), i8* %68)
%70 = icmp ne i32 %69, 0
br i1 %70, label %72, label %71
71: ; preds = %67
store i32 14, i32* %2
br label %127
72: ; preds = %67
%73 = load i8*, i8** %3
%74 = call i32 @strcmp(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.13, i64 0, i64 0), i8* %73)
%75 = icmp ne i32 %74, 0
br i1 %75, label %77, label %76
76: ; preds = %72
store i32 15, i32* %2
br label %127
77: ; preds = %72
%78 = load i8*, i8** %3
%79 = call i32 @strcmp(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.14, i64 0, i64 0), i8* %78)
%80 = icmp ne i32 %79, 0
br i1 %80, label %82, label %81
81: ; preds = %77
store i32 16, i32* %2
br label %127
82: ; preds = %77
%83 = load i8*, i8** %3
%84 = call i32 @strcmp(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.15, i64 0, i64 0), i8* %83)
%85 = icmp ne i32 %84, 0
br i1 %85, label %87, label %86
86: ; preds = %82
store i32 17, i32* %2
br label %127
87: ; preds = %82
%88 = load i8*, i8** %3
%89 = call i32 @strcmp(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.16, i64 0, i64 0), i8* %88)
%90 = icmp ne i32 %89, 0
br i1 %90, label %92, label %91
91: ; preds = %87
store i32 18, i32* %2
br label %127
92: ; preds = %87
%93 = load i8*, i8** %3
%94 = call i32 @strcmp(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.17, i64 0, i64 0), i8* %93)
%95 = icmp ne i32 %94, 0
br i1 %95, label %97, label %96
96: ; preds = %92
store i32 19, i32* %2
br label %127
97: ; preds = %92
%98 = load i8*, i8** %3
%99 = call i32 @strcmp(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i8* %98)
%100 = icmp ne i32 %99, 0
br i1 %100, label %102, label %101
101: ; preds = %97
store i32 20, i32* %2
br label %127
102: ; preds = %97
%103 = load i8*, i8** %3
%104 = call i32 @strcmp(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.19, i64 0, i64 0), i8* %103)
%105 = icmp ne i32 %104, 0
br i1 %105, label %107, label %106
106: ; preds = %102
store i32 21, i32* %2
br label %127
107: ; preds = %102
br label %108
108: ; preds = %107
br label %109
109: ; preds = %108
br label %110
110: ; preds = %109
br label %111
111: ; preds = %110
br label %112
112: ; preds = %111
br label %113
113: ; preds = %112
br label %114
114: ; preds = %113
br label %115
115: ; preds = %114
br label %116
116: ; preds = %115
br label %117
117: ; preds = %116
br label %118
118: ; preds = %117
br label %119
119: ; preds = %118
br label %120
120: ; preds = %119
br label %121
121: ; preds = %120
br label %122
122: ; preds = %121
br label %123
123: ; preds = %122
br label %124
124: ; preds = %123
br label %125
125: ; preds = %124
br label %126
126: ; preds = %125
store i32 0, i32* %2
br label %127
127: ; preds = %126, %106, %101, %96, %91, %86, %81, %76, %71, %66, %61, %56, %51, %46, %41, %36, %31, %26, %21, %16, %11, %6
%128 = load i32, i32* %2
ret i32 %128
}

LLVM IR (-O2):
@.str = [12 x i8] c"CAREER_WINS\00"
@.str.1 = [14 x i8] c"CAREER_LOSSES\00"
@.str.2 = [15 x i8] c"BEST_RACE_TIME\00"
@.str.3 = [16 x i8] c"WORST_RACE_TIME\00"
@.str.4 = [14 x i8] c"TOTAL_MATCHES\00"
@.str.5 = [18 x i8] c"AVERAGE_RACE_TIME\00"
@.str.6 = [19 x i8] c"CURRENT_WIN_STREAK\00"
@.str.7 = [20 x i8] c"CURRENT_LOSS_STREAK\00"
@.str.8 = [16 x i8] c"TOTAL_RACE_TIME\00"
@.str.9 = [19 x i8] c"CAREER_DISCONNECTS\00"
@.str.10 = [16 x i8] c"DISCONNECT_RATE\00"
@.str.11 = [13 x i8] c"CAREER_DRAWS\00"
@.str.12 = [20 x i8] c"CURRENT_DRAW_STREAK\00"
@.str.13 = [26 x i8] c"CAREER_LONGEST_WIN_STREAK\00"
@.str.14 = [27 x i8] c"CAREER_LONGEST_LOSS_STREAK\00"
@.str.15 = [27 x i8] c"CAREER_LONGEST_DRAW_STREAK\00"
@.str.16 = [23 x i8] c"TOTAL_COMPLETE_MATCHES\00"
@.str.17 = [14 x i8] c"RICHARD_TEST1\00"
@.str.18 = [14 x i8] c"RICHARD_TEST2\00"
@.str.19 = [14 x i8] c"RICHARD_TEST3\00"
define i32 @ATLAS_GET_STAT(i8* %0) {
%2 = icmp eq i8* %0, null
br i1 %2, label %64, label %3
3: ; preds = %1
%4 = tail call i32 @strcmp(i8* dereferenceable(12) getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* dereferenceable(1) %0)
%5 = icmp eq i32 %4, 0
br i1 %5, label %64, label %6
6: ; preds = %3
%7 = tail call i32 @strcmp(i8* dereferenceable(14) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8* dereferenceable(1) %0)
%8 = icmp eq i32 %7, 0
br i1 %8, label %64, label %9
9: ; preds = %6
%10 = tail call i32 @strcmp(i8* dereferenceable(15) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i8* dereferenceable(1) %0)
%11 = icmp eq i32 %10, 0
br i1 %11, label %64, label %12
12: ; preds = %9
%13 = tail call i32 @strcmp(i8* dereferenceable(16) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i8* dereferenceable(1) %0)
%14 = icmp eq i32 %13, 0
br i1 %14, label %64, label %15
15: ; preds = %12
%16 = tail call i32 @strcmp(i8* dereferenceable(14) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i8* dereferenceable(1) %0)
%17 = icmp eq i32 %16, 0
br i1 %17, label %64, label %18
18: ; preds = %15
%19 = tail call i32 @strcmp(i8* dereferenceable(18) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i8* dereferenceable(1) %0)
%20 = icmp eq i32 %19, 0
br i1 %20, label %64, label %21
21: ; preds = %18
%22 = tail call i32 @strcmp(i8* dereferenceable(19) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0), i8* dereferenceable(1) %0)
%23 = icmp eq i32 %22, 0
br i1 %23, label %64, label %24
24: ; preds = %21
%25 = tail call i32 @strcmp(i8* dereferenceable(20) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0), i8* dereferenceable(1) %0)
%26 = icmp eq i32 %25, 0
br i1 %26, label %64, label %27
27: ; preds = %24
%28 = tail call i32 @strcmp(i8* dereferenceable(16) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.8, i64 0, i64 0), i8* dereferenceable(1) %0)
%29 = icmp eq i32 %28, 0
br i1 %29, label %64, label %30
30: ; preds = %27
%31 = tail call i32 @strcmp(i8* dereferenceable(19) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i8* dereferenceable(1) %0)
%32 = icmp eq i32 %31, 0
br i1 %32, label %64, label %33
33: ; preds = %30
%34 = tail call i32 @strcmp(i8* dereferenceable(16) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0), i8* dereferenceable(1) %0)
%35 = icmp eq i32 %34, 0
br i1 %35, label %64, label %36
36: ; preds = %33
%37 = tail call i32 @strcmp(i8* dereferenceable(13) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.11, i64 0, i64 0), i8* dereferenceable(1) %0)
%38 = icmp eq i32 %37, 0
br i1 %38, label %64, label %39
39: ; preds = %36
%40 = tail call i32 @strcmp(i8* dereferenceable(20) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.12, i64 0, i64 0), i8* dereferenceable(1) %0)
%41 = icmp eq i32 %40, 0
br i1 %41, label %64, label %42
42: ; preds = %39
%43 = tail call i32 @strcmp(i8* dereferenceable(26) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.13, i64 0, i64 0), i8* dereferenceable(1) %0)
%44 = icmp eq i32 %43, 0
br i1 %44, label %64, label %45
45: ; preds = %42
%46 = tail call i32 @strcmp(i8* dereferenceable(27) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.14, i64 0, i64 0), i8* dereferenceable(1) %0)
%47 = icmp eq i32 %46, 0
br i1 %47, label %64, label %48
48: ; preds = %45
%49 = tail call i32 @strcmp(i8* dereferenceable(27) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.15, i64 0, i64 0), i8* dereferenceable(1) %0)
%50 = icmp eq i32 %49, 0
br i1 %50, label %64, label %51
51: ; preds = %48
%52 = tail call i32 @strcmp(i8* dereferenceable(23) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.16, i64 0, i64 0), i8* dereferenceable(1) %0)
%53 = icmp eq i32 %52, 0
br i1 %53, label %64, label %54
54: ; preds = %51
%55 = tail call i32 @strcmp(i8* dereferenceable(14) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.17, i64 0, i64 0), i8* dereferenceable(1) %0)
%56 = icmp eq i32 %55, 0
br i1 %56, label %64, label %57
57: ; preds = %54
%58 = tail call i32 @strcmp(i8* dereferenceable(14) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i8* dereferenceable(1) %0)
%59 = icmp eq i32 %58, 0
br i1 %59, label %64, label %60
60: ; preds = %57
%61 = tail call i32 @strcmp(i8* dereferenceable(14) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.19, i64 0, i64 0), i8* dereferenceable(1) %0)
%62 = icmp eq i32 %61, 0
%63 = select i1 %62, i32 21, i32 0
br label %64
64: ; preds = %60, %57, %54, %51, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6, %3, %1
%65 = phi i32 [ 0, %1 ], [ 1, %3 ], [ 2, %6 ], [ 3, %9 ], [ 4, %12 ], [ 5, %15 ], [ 6, %18 ], [ 7, %21 ], [ 8, %24 ], [ 9, %27 ], [ 11, %30 ], [ 12, %33 ], [ 13, %36 ], [ 14, %39 ], [ 15, %42 ], [ 16, %45 ], [ 17, %48 ], [ 18, %51 ], [ 19, %54 ], [ 20, %57 ], [ %63, %60 ]
ret i32 %65
}