#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 */
scalar_t__ malloc(int);
scalar_t__ strcmp(char *, char *);
int strlen(char *);
char toupper(char);
char *tokenize_string(char *s) {
  char *result;
  char *literal = s;
  int l;
  int c;
  if (strcmp(s, ":") == 0)
    literal = "_colon";
  else if (strcmp(s, "!") == 0)
    literal = "_bang";
  else if (strcmp(s, "!=") == 0)
    literal = "_bang_equals";
  else if (strcmp(s, "&&") == 0)
    literal = "_amperamper";
  else if (strcmp(s, "&") == 0)
    literal = "_amper";
  else if (strcmp(s, "+") == 0)
    literal = "_plus";
  else if (strcmp(s, "+=") == 0)
    literal = "_plus_equals";
  else if (strcmp(s, "||") == 0)
    literal = "_barbar";
  else if (strcmp(s, "|") == 0)
    literal = "_bar";
  else if (strcmp(s, ";") == 0)
    literal = "_semic";
  else if (strcmp(s, "-") == 0)
    literal = "_minus";
  else if (strcmp(s, "<") == 0)
    literal = "_langle";
  else if (strcmp(s, "<=") == 0)
    literal = "_langle_equals";
  else if (strcmp(s, ">") == 0)
    literal = "_rangle";
  else if (strcmp(s, ">=") == 0)
    literal = "_rangle_equals";
  else if (strcmp(s, ".") == 0)
    literal = "_period";
  else if (strcmp(s, "?") == 0)
    literal = "_question";
  else if (strcmp(s, "?=") == 0)
    literal = "_question_equals";
  else if (strcmp(s, "=") == 0)
    literal = "_equals";
  else if (strcmp(s, ",") == 0)
    literal = "_comma";
  else if (strcmp(s, "[") == 0)
    literal = "_lbracket";
  else if (strcmp(s, "]") == 0)
    literal = "_rbracket";
  else if (strcmp(s, "{") == 0)
    literal = "_lbrace";
  else if (strcmp(s, "}") == 0)
    literal = "_rbrace";
  else if (strcmp(s, "(") == 0)
    literal = "_lparen";
  else if (strcmp(s, ")") == 0)
    literal = "_rparen";
  l = strlen(literal) + 2;
  result = (char *)malloc(l + 1);
  for (c = 0; literal[c] != 0; ++c) {
    result[c] = toupper(literal[c]);
  }
  result[l - 2] = '_';
  result[l - 1] = 't';
  result[l] = 0;
  return result;
}


x86 assembly (clang, -O0):
<tokenize_string>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xea1(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    117e <tokenize_string+0x3e>
lea    0xe8d(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    1610 <tokenize_string+0x4d0>
mov    -0x8(%rbp),%rdi
lea    0xe80(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    11a8 <tokenize_string+0x68>
lea    0xe6c(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    160b <tokenize_string+0x4cb>
mov    -0x8(%rbp),%rdi
lea    0xe5e(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    11d2 <tokenize_string+0x92>
lea    0xe4b(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    1606 <tokenize_string+0x4c6>
mov    -0x8(%rbp),%rdi
lea    0xe44(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    11fc <tokenize_string+0xbc>
lea    0xe31(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    1601 <tokenize_string+0x4c1>
mov    -0x8(%rbp),%rdi
lea    0xe1b(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1226 <tokenize_string+0xe6>
lea    0xe13(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15fc <tokenize_string+0x4bc>
mov    -0x8(%rbp),%rdi
lea    0xe06(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1250 <tokenize_string+0x110>
lea    0xdf2(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15f7 <tokenize_string+0x4b7>
mov    -0x8(%rbp),%rdi
lea    0xde4(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    127a <tokenize_string+0x13a>
lea    0xdd1(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15f2 <tokenize_string+0x4b2>
mov    -0x8(%rbp),%rdi
lea    0xdca(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    12a4 <tokenize_string+0x164>
lea    0xdb7(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15ed <tokenize_string+0x4ad>
mov    -0x8(%rbp),%rdi
lea    0xda1(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    12ce <tokenize_string+0x18e>
lea    0xd95(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15e8 <tokenize_string+0x4a8>
mov    -0x8(%rbp),%rdi
lea    0xd86(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    12f8 <tokenize_string+0x1b8>
lea    0xd72(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15e3 <tokenize_string+0x4a3>
mov    -0x8(%rbp),%rdi
lea    0xd65(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1322 <tokenize_string+0x1e2>
lea    0xd51(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15de <tokenize_string+0x49e>
mov    -0x8(%rbp),%rdi
lea    0xd44(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    134c <tokenize_string+0x20c>
lea    0xd30(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15d9 <tokenize_string+0x499>
mov    -0x8(%rbp),%rdi
lea    0xd24(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1376 <tokenize_string+0x236>
lea    0xd11(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15d4 <tokenize_string+0x494>
mov    -0x8(%rbp),%rdi
lea    0xd0c(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    13a0 <tokenize_string+0x260>
lea    0xcf8(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15cf <tokenize_string+0x48f>
mov    -0x8(%rbp),%rdi
lea    0xcec(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    13ca <tokenize_string+0x28a>
lea    0xcd9(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15ca <tokenize_string+0x48a>
mov    -0x8(%rbp),%rdi
lea    0xcd4(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    13f4 <tokenize_string+0x2b4>
lea    0xcc0(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15c5 <tokenize_string+0x485>
mov    -0x8(%rbp),%rdi
lea    0xcb4(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    141e <tokenize_string+0x2de>
lea    0xca0(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15c0 <tokenize_string+0x480>
mov    -0x8(%rbp),%rdi
lea    0xc96(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1448 <tokenize_string+0x308>
lea    0xc83(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15bb <tokenize_string+0x47b>
mov    -0x8(%rbp),%rdi
lea    0xbbf(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1472 <tokenize_string+0x332>
lea    0xc1c(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15b6 <tokenize_string+0x476>
mov    -0x8(%rbp),%rdi
lea    0xc56(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    149c <tokenize_string+0x35c>
lea    0xc42(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15b1 <tokenize_string+0x471>
mov    -0x8(%rbp),%rdi
lea    0xc35(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    14c6 <tokenize_string+0x386>
lea    0xc21(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15ac <tokenize_string+0x46c>
mov    -0x8(%rbp),%rdi
lea    0xc17(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    14f0 <tokenize_string+0x3b0>
lea    0xc03(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15a7 <tokenize_string+0x467>
mov    -0x8(%rbp),%rdi
lea    0xbf9(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    151a <tokenize_string+0x3da>
lea    0xbe5(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    15a2 <tokenize_string+0x462>
mov    -0x8(%rbp),%rdi
lea    0xbd9(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1544 <tokenize_string+0x404>
lea    0xbc5(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    159d <tokenize_string+0x45d>
mov    -0x8(%rbp),%rdi
lea    0xbb9(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    156e <tokenize_string+0x42e>
lea    0xba5(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    1598 <tokenize_string+0x458>
mov    -0x8(%rbp),%rdi
lea    0xb99(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1593 <tokenize_string+0x453>
lea    0xb85(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    1598 <tokenize_string+0x458>
jmp    159d <tokenize_string+0x45d>
jmp    15a2 <tokenize_string+0x462>
jmp    15a7 <tokenize_string+0x467>
jmp    15ac <tokenize_string+0x46c>
jmp    15b1 <tokenize_string+0x471>
jmp    15b6 <tokenize_string+0x476>
jmp    15bb <tokenize_string+0x47b>
jmp    15c0 <tokenize_string+0x480>
jmp    15c5 <tokenize_string+0x485>
jmp    15ca <tokenize_string+0x48a>
jmp    15cf <tokenize_string+0x48f>
jmp    15d4 <tokenize_string+0x494>
jmp    15d9 <tokenize_string+0x499>
jmp    15de <tokenize_string+0x49e>
jmp    15e3 <tokenize_string+0x4a3>
jmp    15e8 <tokenize_string+0x4a8>
jmp    15ed <tokenize_string+0x4ad>
jmp    15f2 <tokenize_string+0x4b2>
jmp    15f7 <tokenize_string+0x4b7>
jmp    15fc <tokenize_string+0x4bc>
jmp    1601 <tokenize_string+0x4c1>
jmp    1606 <tokenize_string+0x4c6>
jmp    160b <tokenize_string+0x4cb>
jmp    1610 <tokenize_string+0x4d0>
mov    -0x18(%rbp),%rdi
call   1040 <strlen@plt>
add    $0x2,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%edi
add    $0x1,%edi
call   1060 <malloc@plt>
mov    %rax,-0x10(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x20(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x0,%eax
je     1676 <tokenize_string+0x536>
mov    -0x18(%rbp),%rax
movslq -0x20(%rbp),%rcx
movsbl (%rax,%rcx,1),%edi
call   1030 <toupper@plt>
mov    %al,%dl
mov    -0x10(%rbp),%rax
movslq -0x20(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1635 <tokenize_string+0x4f5>
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movb   $0x5f,(%rax,%rcx,1)
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movb   $0x74,(%rax,%rcx,1)
mov    -0x10(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movb   $0x0,(%rax,%rcx,1)
mov    -0x10(%rbp),%rax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<tokenize_string>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    %rdi,%r14
lea    0xeae(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
je     13c2 <tokenize_string+0x282>
lea    0xea2(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     13ce <tokenize_string+0x28e>
lea    0xe92(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     13da <tokenize_string+0x29a>
lea    0xe8a(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     13e6 <tokenize_string+0x2a6>
lea    0xe73(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     13f2 <tokenize_string+0x2b2>
lea    0xe70(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     13fe <tokenize_string+0x2be>
lea    0xe60(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     140a <tokenize_string+0x2ca>
lea    0xe58(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1416 <tokenize_string+0x2d6>
lea    0xe41(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1422 <tokenize_string+0x2e2>
lea    0xe38(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     142e <tokenize_string+0x2ee>
lea    0xe29(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     143a <tokenize_string+0x2fa>
lea    0xe1a(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1443 <tokenize_string+0x303>
lea    0xe0c(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     144c <tokenize_string+0x30c>
lea    0xe06(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1455 <tokenize_string+0x315>
lea    0xdf8(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     145e <tokenize_string+0x31e>
lea    0xdf2(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1467 <tokenize_string+0x327>
lea    0xde4(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1470 <tokenize_string+0x330>
lea    0xdd8(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1479 <tokenize_string+0x339>
lea    0xd13(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1482 <tokenize_string+0x342>
lea    0xdbc(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     148b <tokenize_string+0x34b>
lea    0xdad(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1494 <tokenize_string+0x354>
lea    0xda1(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     149d <tokenize_string+0x35d>
lea    0xd95(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     14a6 <tokenize_string+0x366>
lea    0xd87(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     14af <tokenize_string+0x36f>
lea    0xd79(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     14b8 <tokenize_string+0x378>
lea    0xd6b(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
lea    0xd5b(%rip),%r15
cmovne %r14,%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc39(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc36(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc33(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc37(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc37(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc34(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc31(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc35(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc31(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc2c(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc29(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc29(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc2b(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc33(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc35(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc3d(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc3e(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc42(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xbfc(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc43(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc43(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc46(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc49(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc4a(%rip),%r15
jmp    14bf <tokenize_string+0x37f>
lea    0xc4b(%rip),%r15
mov    %r15,%rdi
call   1040 <strlen@plt>
mov    %eax,%r14d
lea    0x3(%r14),%edi
call   1060 <malloc@plt>
mov    %rax,%r12
mov    (%r15),%al
test   %al,%al
je     14fa <tokenize_string+0x3ba>
xor    %ebx,%ebx
nop
movsbl %al,%edi
call   1030 <toupper@plt>
mov    %al,(%r12,%rbx,1)
movzbl 0x1(%r15,%rbx,1),%eax
add    $0x1,%rbx
test   %al,%al
jne    14e0 <tokenize_string+0x3a0>
movslq %r14d,%rax
movw   $0x745f,(%r12,%rax,1)
movb   $0x0,0x2(%r12,%rax,1)
mov    %r12,%rax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [2 x i8] c":\00"
@.str.1 = [7 x i8] c"_colon\00"
@.str.2 = [2 x i8] c"!\00"
@.str.3 = [6 x i8] c"_bang\00"
@.str.4 = [3 x i8] c"!=\00"
@.str.5 = [13 x i8] c"_bang_equals\00"
@.str.6 = [3 x i8] c"&&\00"
@.str.7 = [12 x i8] c"_amperamper\00"
@.str.8 = [2 x i8] c"&\00"
@.str.9 = [7 x i8] c"_amper\00"
@.str.10 = [2 x i8] c"+\00"
@.str.11 = [6 x i8] c"_plus\00"
@.str.12 = [3 x i8] c"+=\00"
@.str.13 = [13 x i8] c"_plus_equals\00"
@.str.14 = [3 x i8] c"||\00"
@.str.15 = [8 x i8] c"_barbar\00"
@.str.16 = [2 x i8] c"|\00"
@.str.17 = [5 x i8] c"_bar\00"
@.str.18 = [2 x i8] c";\00"
@.str.19 = [7 x i8] c"_semic\00"
@.str.20 = [2 x i8] c"-\00"
@.str.21 = [7 x i8] c"_minus\00"
@.str.22 = [2 x i8] c"<\00"
@.str.23 = [8 x i8] c"_langle\00"
@.str.24 = [3 x i8] c"<=\00"
@.str.25 = [15 x i8] c"_langle_equals\00"
@.str.26 = [2 x i8] c">\00"
@.str.27 = [8 x i8] c"_rangle\00"
@.str.28 = [3 x i8] c">=\00"
@.str.29 = [15 x i8] c"_rangle_equals\00"
@.str.30 = [2 x i8] c".\00"
@.str.31 = [8 x i8] c"_period\00"
@.str.32 = [2 x i8] c"?\00"
@.str.33 = [10 x i8] c"_question\00"
@.str.34 = [3 x i8] c"?=\00"
@.str.35 = [17 x i8] c"_question_equals\00"
@.str.36 = [2 x i8] c"=\00"
@.str.37 = [8 x i8] c"_equals\00"
@.str.38 = [2 x i8] c",\00"
@.str.39 = [7 x i8] c"_comma\00"
@.str.40 = [2 x i8] c"[\00"
@.str.41 = [10 x i8] c"_lbracket\00"
@.str.42 = [2 x i8] c"]\00"
@.str.43 = [10 x i8] c"_rbracket\00"
@.str.44 = [2 x i8] c"{\00"
@.str.45 = [8 x i8] c"_lbrace\00"
@.str.46 = [2 x i8] c"}\00"
@.str.47 = [8 x i8] c"_rbrace\00"
@.str.48 = [2 x i8] c"(\00"
@.str.49 = [8 x i8] c"_lparen\00"
@.str.50 = [2 x i8] c")\00"
@.str.51 = [8 x i8] c"_rparen\00"
define i8* @tokenize_string(i8* %0) {
%2 = alloca i8*
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i32
%6 = alloca i32
store i8* %0, i8** %2
%7 = load i8*, i8** %2
store i8* %7, i8** %4
%8 = load i8*, i8** %2
%9 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8** %4
br label %162
12: ; preds = %1
%13 = load i8*, i8** %2
%14 = call i64 @strcmp(i8* %13, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %12
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8** %4
br label %161
17: ; preds = %12
%18 = load i8*, i8** %2
%19 = call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %17
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8** %4
br label %160
22: ; preds = %17
%23 = load i8*, i8** %2
%24 = call i64 @strcmp(i8* %23, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %22
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0), i8** %4
br label %159
27: ; preds = %22
%28 = load i8*, i8** %2
%29 = call i64 @strcmp(i8* %28, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %27
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i8** %4
br label %158
32: ; preds = %27
%33 = load i8*, i8** %2
%34 = call i64 @strcmp(i8* %33, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %32
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8** %4
br label %157
37: ; preds = %32
%38 = load i8*, i8** %2
%39 = call i64 @strcmp(i8* %38, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0))
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %37
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0), i8** %4
br label %156
42: ; preds = %37
%43 = load i8*, i8** %2
%44 = call i64 @strcmp(i8* %43, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0))
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %42
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.15, i64 0, i64 0), i8** %4
br label %155
47: ; preds = %42
%48 = load i8*, i8** %2
%49 = call i64 @strcmp(i8* %48, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0))
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %52
51: ; preds = %47
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0), i8** %4
br label %154
52: ; preds = %47
%53 = load i8*, i8** %2
%54 = call i64 @strcmp(i8* %53, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.18, i64 0, i64 0))
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %52
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.19, i64 0, i64 0), i8** %4
br label %153
57: ; preds = %52
%58 = load i8*, i8** %2
%59 = call i64 @strcmp(i8* %58, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.20, i64 0, i64 0))
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %62
61: ; preds = %57
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.21, i64 0, i64 0), i8** %4
br label %152
62: ; preds = %57
%63 = load i8*, i8** %2
%64 = call i64 @strcmp(i8* %63, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.22, i64 0, i64 0))
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %67
66: ; preds = %62
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.23, i64 0, i64 0), i8** %4
br label %151
67: ; preds = %62
%68 = load i8*, i8** %2
%69 = call i64 @strcmp(i8* %68, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.24, i64 0, i64 0))
%70 = icmp eq i64 %69, 0
br i1 %70, label %71, label %72
71: ; preds = %67
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.25, i64 0, i64 0), i8** %4
br label %150
72: ; preds = %67
%73 = load i8*, i8** %2
%74 = call i64 @strcmp(i8* %73, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.26, i64 0, i64 0))
%75 = icmp eq i64 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %72
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.27, i64 0, i64 0), i8** %4
br label %149
77: ; preds = %72
%78 = load i8*, i8** %2
%79 = call i64 @strcmp(i8* %78, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.28, i64 0, i64 0))
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %82
81: ; preds = %77
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.29, i64 0, i64 0), i8** %4
br label %148
82: ; preds = %77
%83 = load i8*, i8** %2
%84 = call i64 @strcmp(i8* %83, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.30, i64 0, i64 0))
%85 = icmp eq i64 %84, 0
br i1 %85, label %86, label %87
86: ; preds = %82
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.31, i64 0, i64 0), i8** %4
br label %147
87: ; preds = %82
%88 = load i8*, i8** %2
%89 = call i64 @strcmp(i8* %88, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.32, i64 0, i64 0))
%90 = icmp eq i64 %89, 0
br i1 %90, label %91, label %92
91: ; preds = %87
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.33, i64 0, i64 0), i8** %4
br label %146
92: ; preds = %87
%93 = load i8*, i8** %2
%94 = call i64 @strcmp(i8* %93, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.34, i64 0, i64 0))
%95 = icmp eq i64 %94, 0
br i1 %95, label %96, label %97
96: ; preds = %92
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.35, i64 0, i64 0), i8** %4
br label %145
97: ; preds = %92
%98 = load i8*, i8** %2
%99 = call i64 @strcmp(i8* %98, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.36, i64 0, i64 0))
%100 = icmp eq i64 %99, 0
br i1 %100, label %101, label %102
101: ; preds = %97
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.37, i64 0, i64 0), i8** %4
br label %144
102: ; preds = %97
%103 = load i8*, i8** %2
%104 = call i64 @strcmp(i8* %103, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.38, i64 0, i64 0))
%105 = icmp eq i64 %104, 0
br i1 %105, label %106, label %107
106: ; preds = %102
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.39, i64 0, i64 0), i8** %4
br label %143
107: ; preds = %102
%108 = load i8*, i8** %2
%109 = call i64 @strcmp(i8* %108, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.40, i64 0, i64 0))
%110 = icmp eq i64 %109, 0
br i1 %110, label %111, label %112
111: ; preds = %107
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.41, i64 0, i64 0), i8** %4
br label %142
112: ; preds = %107
%113 = load i8*, i8** %2
%114 = call i64 @strcmp(i8* %113, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.42, i64 0, i64 0))
%115 = icmp eq i64 %114, 0
br i1 %115, label %116, label %117
116: ; preds = %112
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.43, i64 0, i64 0), i8** %4
br label %141
117: ; preds = %112
%118 = load i8*, i8** %2
%119 = call i64 @strcmp(i8* %118, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.44, i64 0, i64 0))
%120 = icmp eq i64 %119, 0
br i1 %120, label %121, label %122
121: ; preds = %117
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.45, i64 0, i64 0), i8** %4
br label %140
122: ; preds = %117
%123 = load i8*, i8** %2
%124 = call i64 @strcmp(i8* %123, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.46, i64 0, i64 0))
%125 = icmp eq i64 %124, 0
br i1 %125, label %126, label %127
126: ; preds = %122
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.47, i64 0, i64 0), i8** %4
br label %139
127: ; preds = %122
%128 = load i8*, i8** %2
%129 = call i64 @strcmp(i8* %128, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.48, i64 0, i64 0))
%130 = icmp eq i64 %129, 0
br i1 %130, label %131, label %132
131: ; preds = %127
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.49, i64 0, i64 0), i8** %4
br label %138
132: ; preds = %127
%133 = load i8*, i8** %2
%134 = call i64 @strcmp(i8* %133, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.50, i64 0, i64 0))
%135 = icmp eq i64 %134, 0
br i1 %135, label %136, label %137
136: ; preds = %132
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.51, i64 0, i64 0), i8** %4
br label %137
137: ; preds = %136, %132
br label %138
138: ; preds = %137, %131
br label %139
139: ; preds = %138, %126
br label %140
140: ; preds = %139, %121
br label %141
141: ; preds = %140, %116
br label %142
142: ; preds = %141, %111
br label %143
143: ; preds = %142, %106
br label %144
144: ; preds = %143, %101
br label %145
145: ; preds = %144, %96
br label %146
146: ; preds = %145, %91
br label %147
147: ; preds = %146, %86
br label %148
148: ; preds = %147, %81
br label %149
149: ; preds = %148, %76
br label %150
150: ; preds = %149, %71
br label %151
151: ; preds = %150, %66
br label %152
152: ; preds = %151, %61
br label %153
153: ; preds = %152, %56
br label %154
154: ; preds = %153, %51
br label %155
155: ; preds = %154, %46
br label %156
156: ; preds = %155, %41
br label %157
157: ; preds = %156, %36
br label %158
158: ; preds = %157, %31
br label %159
159: ; preds = %158, %26
br label %160
160: ; preds = %159, %21
br label %161
161: ; preds = %160, %16
br label %162
162: ; preds = %161, %11
%163 = load i8*, i8** %4
%164 = call i32 @strlen(i8* %163)
%165 = add nsw i32 %164, 2
store i32 %165, i32* %5
%166 = load i32, i32* %5
%167 = add nsw i32 %166, 1
%168 = call i64 @malloc(i32 %167)
%169 = inttoptr i64 %168 to i8*
store i8* %169, i8** %3
store i32 0, i32* %6
br label %170
170: ; preds = %189, %162
%171 = load i8*, i8** %4
%172 = load i32, i32* %6
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds i8, i8* %171, i64 %173
%175 = load i8, i8* %174
%176 = sext i8 %175 to i32
%177 = icmp ne i32 %176, 0
br i1 %177, label %178, label %192
178: ; preds = %170
%179 = load i8*, i8** %4
%180 = load i32, i32* %6
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds i8, i8* %179, i64 %181
%183 = load i8, i8* %182
%184 = call signext i8 @toupper(i8 signext %183)
%185 = load i8*, i8** %3
%186 = load i32, i32* %6
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds i8, i8* %185, i64 %187
store i8 %184, i8* %188
br label %189
189: ; preds = %178
%190 = load i32, i32* %6
%191 = add nsw i32 %190, 1
store i32 %191, i32* %6
br label %170
192: ; preds = %170
%193 = load i8*, i8** %3
%194 = load i32, i32* %5
%195 = sub nsw i32 %194, 2
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds i8, i8* %193, i64 %196
store i8 95, i8* %197
%198 = load i8*, i8** %3
%199 = load i32, i32* %5
%200 = sub nsw i32 %199, 1
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds i8, i8* %198, i64 %201
store i8 116, i8* %202
%203 = load i8*, i8** %3
%204 = load i32, i32* %5
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds i8, i8* %203, i64 %205
store i8 0, i8* %206
%207 = load i8*, i8** %3
ret i8* %207
}

LLVM IR (-O2):
@.str = [2 x i8] c":\00"
@.str.1 = [7 x i8] c"_colon\00"
@.str.2 = [2 x i8] c"!\00"
@.str.3 = [6 x i8] c"_bang\00"
@.str.4 = [3 x i8] c"!=\00"
@.str.5 = [13 x i8] c"_bang_equals\00"
@.str.6 = [3 x i8] c"&&\00"
@.str.7 = [12 x i8] c"_amperamper\00"
@.str.8 = [2 x i8] c"&\00"
@.str.9 = [7 x i8] c"_amper\00"
@.str.10 = [2 x i8] c"+\00"
@.str.11 = [6 x i8] c"_plus\00"
@.str.12 = [3 x i8] c"+=\00"
@.str.13 = [13 x i8] c"_plus_equals\00"
@.str.14 = [3 x i8] c"||\00"
@.str.15 = [8 x i8] c"_barbar\00"
@.str.16 = [2 x i8] c"|\00"
@.str.17 = [5 x i8] c"_bar\00"
@.str.18 = [2 x i8] c";\00"
@.str.19 = [7 x i8] c"_semic\00"
@.str.20 = [2 x i8] c"-\00"
@.str.21 = [7 x i8] c"_minus\00"
@.str.22 = [2 x i8] c"<\00"
@.str.23 = [8 x i8] c"_langle\00"
@.str.24 = [3 x i8] c"<=\00"
@.str.25 = [15 x i8] c"_langle_equals\00"
@.str.26 = [2 x i8] c">\00"
@.str.27 = [8 x i8] c"_rangle\00"
@.str.28 = [3 x i8] c">=\00"
@.str.29 = [15 x i8] c"_rangle_equals\00"
@.str.30 = [2 x i8] c".\00"
@.str.31 = [8 x i8] c"_period\00"
@.str.32 = [2 x i8] c"?\00"
@.str.33 = [10 x i8] c"_question\00"
@.str.34 = [3 x i8] c"?=\00"
@.str.35 = [17 x i8] c"_question_equals\00"
@.str.36 = [2 x i8] c"=\00"
@.str.37 = [8 x i8] c"_equals\00"
@.str.38 = [2 x i8] c",\00"
@.str.39 = [7 x i8] c"_comma\00"
@.str.40 = [2 x i8] c"[\00"
@.str.41 = [10 x i8] c"_lbracket\00"
@.str.42 = [2 x i8] c"]\00"
@.str.43 = [10 x i8] c"_rbracket\00"
@.str.44 = [2 x i8] c"{\00"
@.str.45 = [8 x i8] c"_lbrace\00"
@.str.46 = [2 x i8] c"}\00"
@.str.47 = [8 x i8] c"_rbrace\00"
@.str.48 = [2 x i8] c"(\00"
@.str.49 = [8 x i8] c"_lparen\00"
@.str.50 = [2 x i8] c")\00"
@.str.51 = [8 x i8] c"_rparen\00"
define i8* @tokenize_string(i8* %0) {
%2 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%3 = icmp eq i64 %2, 0
br i1 %3, label %80, label %4
4: ; preds = %1
%5 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%6 = icmp eq i64 %5, 0
br i1 %6, label %80, label %7
7: ; preds = %4
%8 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%9 = icmp eq i64 %8, 0
br i1 %9, label %80, label %10
10: ; preds = %7
%11 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%12 = icmp eq i64 %11, 0
br i1 %12, label %80, label %13
13: ; preds = %10
%14 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
%15 = icmp eq i64 %14, 0
br i1 %15, label %80, label %16
16: ; preds = %13
%17 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
%18 = icmp eq i64 %17, 0
br i1 %18, label %80, label %19
19: ; preds = %16
%20 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0))
%21 = icmp eq i64 %20, 0
br i1 %21, label %80, label %22
22: ; preds = %19
%23 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0))
%24 = icmp eq i64 %23, 0
br i1 %24, label %80, label %25
25: ; preds = %22
%26 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0))
%27 = icmp eq i64 %26, 0
br i1 %27, label %80, label %28
28: ; preds = %25
%29 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.18, i64 0, i64 0))
%30 = icmp eq i64 %29, 0
br i1 %30, label %80, label %31
31: ; preds = %28
%32 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.20, i64 0, i64 0))
%33 = icmp eq i64 %32, 0
br i1 %33, label %80, label %34
34: ; preds = %31
%35 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.22, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
br i1 %36, label %80, label %37
37: ; preds = %34
%38 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.24, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
br i1 %39, label %80, label %40
40: ; preds = %37
%41 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.26, i64 0, i64 0))
%42 = icmp eq i64 %41, 0
br i1 %42, label %80, label %43
43: ; preds = %40
%44 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.28, i64 0, i64 0))
%45 = icmp eq i64 %44, 0
br i1 %45, label %80, label %46
46: ; preds = %43
%47 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.30, i64 0, i64 0))
%48 = icmp eq i64 %47, 0
br i1 %48, label %80, label %49
49: ; preds = %46
%50 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.32, i64 0, i64 0))
%51 = icmp eq i64 %50, 0
br i1 %51, label %80, label %52
52: ; preds = %49
%53 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.34, i64 0, i64 0))
%54 = icmp eq i64 %53, 0
br i1 %54, label %80, label %55
55: ; preds = %52
%56 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.36, i64 0, i64 0))
%57 = icmp eq i64 %56, 0
br i1 %57, label %80, label %58
58: ; preds = %55
%59 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.38, i64 0, i64 0))
%60 = icmp eq i64 %59, 0
br i1 %60, label %80, label %61
61: ; preds = %58
%62 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.40, i64 0, i64 0))
%63 = icmp eq i64 %62, 0
br i1 %63, label %80, label %64
64: ; preds = %61
%65 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.42, i64 0, i64 0))
%66 = icmp eq i64 %65, 0
br i1 %66, label %80, label %67
67: ; preds = %64
%68 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.44, i64 0, i64 0))
%69 = icmp eq i64 %68, 0
br i1 %69, label %80, label %70
70: ; preds = %67
%71 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.46, i64 0, i64 0))
%72 = icmp eq i64 %71, 0
br i1 %72, label %80, label %73
73: ; preds = %70
%74 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.48, i64 0, i64 0))
%75 = icmp eq i64 %74, 0
br i1 %75, label %80, label %76
76: ; preds = %73
%77 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.50, i64 0, i64 0))
%78 = icmp eq i64 %77, 0
%79 = select i1 %78, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.51, i64 0, i64 0), i8* %0
br label %80
80: ; preds = %76, %73, %70, %67, %64, %61, %58, %55, %52, %49, %46, %43, %40, %37, %34, %31, %28, %25, %22, %19, %16, %13, %10, %7, %4, %1
%81 = phi i8* [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), %1 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), %4 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), %7 ], [ getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0), %10 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), %13 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), %16 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0), %19 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.15, i64 0, i64 0), %22 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0), %25 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.19, i64 0, i64 0), %28 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.21, i64 0, i64 0), %31 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.23, i64 0, i64 0), %34 ], [ getelementptr inbounds ([15 x i8], [15 x i8]* @.str.25, i64 0, i64 0), %37 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.27, i64 0, i64 0), %40 ], [ getelementptr inbounds ([15 x i8], [15 x i8]* @.str.29, i64 0, i64 0), %43 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.31, i64 0, i64 0), %46 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.33, i64 0, i64 0), %49 ], [ getelementptr inbounds ([17 x i8], [17 x i8]* @.str.35, i64 0, i64 0), %52 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.37, i64 0, i64 0), %55 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.39, i64 0, i64 0), %58 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.41, i64 0, i64 0), %61 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.43, i64 0, i64 0), %64 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.45, i64 0, i64 0), %67 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.47, i64 0, i64 0), %70 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.49, i64 0, i64 0), %73 ], [ %79, %76 ]
%82 = tail call i32 @strlen(i8* %81)
%83 = add nsw i32 %82, 3
%84 = tail call i64 @malloc(i32 %83)
%85 = inttoptr i64 %84 to i8*
%86 = load i8, i8* %81
%87 = icmp eq i8 %86, 0
br i1 %87, label %97, label %88
88: ; preds = %80, %88
%89 = phi i64 [ %93, %88 ], [ 0, %80 ]
%90 = phi i8 [ %95, %88 ], [ %86, %80 ]
%91 = tail call signext i8 @toupper(i8 signext %90)
%92 = getelementptr inbounds i8, i8* %85, i64 %89
store i8 %91, i8* %92
%93 = add nuw i64 %89, 1
%94 = getelementptr inbounds i8, i8* %81, i64 %93
%95 = load i8, i8* %94
%96 = icmp eq i8 %95, 0
br i1 %96, label %97, label %88
97: ; preds = %88, %80
%98 = add nsw i32 %82, 2
%99 = sext i32 %82 to i64
%100 = getelementptr inbounds i8, i8* %85, i64 %99
store i8 95, i8* %100
%101 = add nsw i32 %82, 1
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i8, i8* %85, i64 %102
store i8 116, i8* %103
%104 = sext i32 %98 to i64
%105 = getelementptr inbounds i8, i8* %85, i64 %104
store i8 0, i8* %105
ret i8* %85
}