char *ATLAS_GET_STAT_NAME(int statId) {
  if (statId <= 0)
    return "";
  if (statId == 1)
    return "CAREER_WINS";
  else if (statId == 2)
    return "CAREER_LOSSES";
  else if (statId == 3)
    return "BEST_RACE_TIME";
  else if (statId == 4)
    return "WORST_RACE_TIME";
  else if (statId == 5)
    return "TOTAL_MATCHES";
  else if (statId == 6)
    return "AVERAGE_RACE_TIME";
  else if (statId == 7)
    return "CURRENT_WIN_STREAK";
  else if (statId == 8)
    return "CURRENT_LOSS_STREAK";
  else if (statId == 9)
    return "TOTAL_RACE_TIME";
  else if (statId == 11)
    return "CAREER_DISCONNECTS";
  else if (statId == 12)
    return "DISCONNECT_RATE";
  else if (statId == 13)
    return "CAREER_DRAWS";
  else if (statId == 14)
    return "CURRENT_DRAW_STREAK";
  else if (statId == 15)
    return "CAREER_LONGEST_WIN_STREAK";
  else if (statId == 16)
    return "CAREER_LONGEST_LOSS_STREAK";
  else if (statId == 17)
    return "CAREER_LONGEST_DRAW_STREAK";
  else if (statId == 18)
    return "TOTAL_COMPLETE_MATCHES";
  else if (statId == 19)
    return "RICHARD_TEST1";
  else if (statId == 20)
    return "RICHARD_TEST2";
  else if (statId == 21)
    return "RICHARD_TEST3";
  return "";
}


x86 assembly (clang, -O0):
<ATLAS_GET_STAT_NAME>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0xc(%rbp)
cmpl   $0x0,-0xc(%rbp)
jg     1121 <ATLAS_GET_STAT_NAME+0x21>
lea    0x1030(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0x1,-0xc(%rbp)
jne    113b <ATLAS_GET_STAT_NAME+0x3b>
lea    0xece(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0x2,-0xc(%rbp)
jne    1155 <ATLAS_GET_STAT_NAME+0x55>
lea    0xec0(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0x3,-0xc(%rbp)
jne    116f <ATLAS_GET_STAT_NAME+0x6f>
lea    0xeb4(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0x4,-0xc(%rbp)
jne    1189 <ATLAS_GET_STAT_NAME+0x89>
lea    0xea9(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0x5,-0xc(%rbp)
jne    11a3 <ATLAS_GET_STAT_NAME+0xa3>
lea    0xe9f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0x6,-0xc(%rbp)
jne    11bd <ATLAS_GET_STAT_NAME+0xbd>
lea    0xe93(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0x7,-0xc(%rbp)
jne    11d7 <ATLAS_GET_STAT_NAME+0xd7>
lea    0xe8b(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0x8,-0xc(%rbp)
jne    11f1 <ATLAS_GET_STAT_NAME+0xf1>
lea    0xe84(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0x9,-0xc(%rbp)
jne    120b <ATLAS_GET_STAT_NAME+0x10b>
lea    0xe7e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0xb,-0xc(%rbp)
jne    1225 <ATLAS_GET_STAT_NAME+0x125>
lea    0xe74(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0xc,-0xc(%rbp)
jne    123f <ATLAS_GET_STAT_NAME+0x13f>
lea    0xe6d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0xd,-0xc(%rbp)
jne    1259 <ATLAS_GET_STAT_NAME+0x159>
lea    0xe63(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0xe,-0xc(%rbp)
jne    1273 <ATLAS_GET_STAT_NAME+0x173>
lea    0xe56(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0xf,-0xc(%rbp)
jne    128d <ATLAS_GET_STAT_NAME+0x18d>
lea    0xe50(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0x10,-0xc(%rbp)
jne    12a7 <ATLAS_GET_STAT_NAME+0x1a7>
lea    0xe50(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0x11,-0xc(%rbp)
jne    12c1 <ATLAS_GET_STAT_NAME+0x1c1>
lea    0xe51(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0x12,-0xc(%rbp)
jne    12db <ATLAS_GET_STAT_NAME+0x1db>
lea    0xe52(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0x13,-0xc(%rbp)
jne    12f5 <ATLAS_GET_STAT_NAME+0x1f5>
lea    0xe4f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0x14,-0xc(%rbp)
jne    130f <ATLAS_GET_STAT_NAME+0x20f>
lea    0xe43(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
cmpl   $0x15,-0xc(%rbp)
jne    1329 <ATLAS_GET_STAT_NAME+0x229>
lea    0xe37(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1393 <ATLAS_GET_STAT_NAME+0x293>
jmp    132e <ATLAS_GET_STAT_NAME+0x22e>
jmp    1333 <ATLAS_GET_STAT_NAME+0x233>
jmp    1338 <ATLAS_GET_STAT_NAME+0x238>
jmp    133d <ATLAS_GET_STAT_NAME+0x23d>
jmp    1342 <ATLAS_GET_STAT_NAME+0x242>
jmp    1347 <ATLAS_GET_STAT_NAME+0x247>
jmp    134c <ATLAS_GET_STAT_NAME+0x24c>
jmp    1351 <ATLAS_GET_STAT_NAME+0x251>
jmp    1356 <ATLAS_GET_STAT_NAME+0x256>
jmp    135b <ATLAS_GET_STAT_NAME+0x25b>
jmp    1360 <ATLAS_GET_STAT_NAME+0x260>
jmp    1365 <ATLAS_GET_STAT_NAME+0x265>
jmp    136a <ATLAS_GET_STAT_NAME+0x26a>
jmp    136f <ATLAS_GET_STAT_NAME+0x26f>
jmp    1374 <ATLAS_GET_STAT_NAME+0x274>
jmp    1379 <ATLAS_GET_STAT_NAME+0x279>
jmp    137e <ATLAS_GET_STAT_NAME+0x27e>
jmp    1383 <ATLAS_GET_STAT_NAME+0x283>
jmp    1388 <ATLAS_GET_STAT_NAME+0x288>
lea    0xdb9(%rip),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
pop    %rbp
ret

x86 assembly (clang, -O2):
<ATLAS_GET_STAT_NAME>:
lea    0x1041(%rip),%rax
test   %edi,%edi
jle    1124 <ATLAS_GET_STAT_NAME+0x24>
add    $0xffffffff,%edi
cmp    $0x14,%edi
ja     1124 <ATLAS_GET_STAT_NAME+0x24>
movslq %edi,%rax
lea    0x104b(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
ret

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

LLVM IR (-O2):
@.str = [1 x i8] zeroinitializer
@.str.1 = [12 x i8] c"CAREER_WINS\00"
@.str.2 = [14 x i8] c"CAREER_LOSSES\00"
@.str.3 = [15 x i8] c"BEST_RACE_TIME\00"
@.str.4 = [16 x i8] c"WORST_RACE_TIME\00"
@.str.5 = [14 x i8] c"TOTAL_MATCHES\00"
@.str.6 = [18 x i8] c"AVERAGE_RACE_TIME\00"
@.str.7 = [19 x i8] c"CURRENT_WIN_STREAK\00"
@.str.8 = [20 x i8] c"CURRENT_LOSS_STREAK\00"
@.str.9 = [16 x i8] c"TOTAL_RACE_TIME\00"
@.str.10 = [19 x i8] c"CAREER_DISCONNECTS\00"
@.str.11 = [16 x i8] c"DISCONNECT_RATE\00"
@.str.12 = [13 x i8] c"CAREER_DRAWS\00"
@.str.13 = [20 x i8] c"CURRENT_DRAW_STREAK\00"
@.str.14 = [26 x i8] c"CAREER_LONGEST_WIN_STREAK\00"
@.str.15 = [27 x i8] c"CAREER_LONGEST_LOSS_STREAK\00"
@.str.16 = [27 x i8] c"CAREER_LONGEST_DRAW_STREAK\00"
@.str.17 = [23 x i8] c"TOTAL_COMPLETE_MATCHES\00"
@.str.18 = [14 x i8] c"RICHARD_TEST1\00"
@.str.19 = [14 x i8] c"RICHARD_TEST2\00"
@.str.20 = [14 x i8] c"RICHARD_TEST3\00"
@reltable.ATLAS_GET_STAT_NAME = [21 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.1 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.2 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.3 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.4 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.5 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([18 x i8]* @.str.6 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([19 x i8]* @.str.7 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([20 x i8]* @.str.8 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.9 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([1 x i8]* @.str to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([19 x i8]* @.str.10 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.11 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @.str.12 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([20 x i8]* @.str.13 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([26 x i8]* @.str.14 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([27 x i8]* @.str.15 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([27 x i8]* @.str.16 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([23 x i8]* @.str.17 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.18 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.19 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.20 to i64), i64 ptrtoint ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i64)) to i32)]
define i8* @ATLAS_GET_STAT_NAME(i32 %0) {
%2 = icmp slt i32 %0, 1
br i1 %2, label %10, label %3
3: ; preds = %1
%4 = add i32 %0, -1
%5 = icmp ult i32 %4, 21
br i1 %5, label %6, label %10
6: ; preds = %3
%7 = sext i32 %4 to i64
%8 = shl i64 %7, 2
%9 = call i8* @llvm.load.relative.i64(i8* bitcast ([21 x i32]* @reltable.ATLAS_GET_STAT_NAME to i8*), i64 %8)
br label %10
10: ; preds = %3, %6, %1
%11 = phi i8* [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %1 ], [ %9, %6 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %3 ]
ret i8* %11
}