#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__ isalnum(char);
scalar_t__ isalpha(char);
scalar_t__ isdigit(char);
scalar_t__ strcmp(char *, char *);
int strlen(char *);
char toupper(char);
char *determine_token(char *token, int *token_type_ptr) {
  char *next;
  *token_type_ptr = 13;
  if (isdigit(*token)) {
    for (next = token + 1; isdigit(*next); next++)
      ;
  } else if (isalpha(*token)) {
    int length;
    int i;
    char buffer[20];
    *token_type_ptr = 9;
    for (next = token + 1; isalpha(*next) || isdigit(*next) || (*next == '_');
         next++)
      ;
    length = next - token;
    if (length < 20) {
      for (i = 0; i < length; i++)
        buffer[i] = toupper(token[i]);
      buffer[i] = '\0';
      if (strcmp(buffer, "SELECT") == 0)
        *token_type_ptr = 1;
      else if (strcmp(buffer, "TABLE") == 0)
        *token_type_ptr = 1;
      else if (strcmp(buffer, "ORDER") == 0)
        *token_type_ptr = 2;
      else if (strcmp(buffer, "BY") == 0)
        *token_type_ptr = 3;
      else if (strcmp(buffer, "PREPARE") == 0)
        *token_type_ptr = 5;
      else if (strcmp(buffer, "FROM") == 0)
        *token_type_ptr = 6;
      else if (strcmp(buffer, "EXECUTE") == 0)
        *token_type_ptr = 8;
      else if (strcmp(buffer, "GET") == 0)
        *token_type_ptr = 11;
      else if (strcmp(buffer, "TABLES") == 0)
        *token_type_ptr = 12;
      else if (strcmp(buffer, "INDEXES") == 0)
        *token_type_ptr = 12;
      else if (strcmp(buffer, "LIBRARIES") == 0)
        *token_type_ptr = 12;
      else if (strcmp(buffer, "SCHEMAS") == 0)
        *token_type_ptr = 12;
      else if (strcmp(buffer, "VIEWS") == 0)
        *token_type_ptr = 12;
      else if (strcmp(buffer, "PRIVILEGES") == 0)
        *token_type_ptr = 12;
      else if (strcmp(buffer, "FUNCTIONS") == 0)
        *token_type_ptr = 12;
      else if (strcmp(buffer, "PROCEDURES") == 0)
        *token_type_ptr = 12;
      else if (strcmp(buffer, "SEQUENCES") == 0)
        *token_type_ptr = 12;
      else if (strcmp(buffer, "ROLES") == 0)
        *token_type_ptr = 12;
      else if (strcmp(buffer, "OBJECTS") == 0)
        *token_type_ptr = 12;
    }
  } else if (*token == ';') {
    *token_type_ptr = 4;
    next = token + 1;
  } else if ((*token == '"') || (*token == '\'')) {
    *token_type_ptr = 7;
    next = token + 1;
  } else if ((*token == '#') || (*token == '?')) {
    char temp[13];
    int j;
    for (j = 1; (j < 13) && (isalnum(token[j])); j++) {
      temp[j - 1] = toupper(token[j]);
    }
    temp[j - 1] = '\0';
    if ((strcmp(temp, "IFMX") == 0) || (strcmp(temp, "IFMP") == 0) ||
        (strcmp(temp, "IFNT") == 0) || (strcmp(temp, "IFNSK") == 0) ||
        (strcmp(temp, "IFNSKREL1") == 0) || (strcmp(temp, "IGNORE") == 0) ||
        (strcmp(temp, "IFDEF") == 0) || (strcmp(temp, "IFNDEF") == 0) ||
        (strcmp(temp, "ELSE") == 0) || (strcmp(temp, "ENDIF") == 0) ||
        (strcmp(temp, "SECTION") == 0)) {
      *token_type_ptr = 10;
      next = token + strlen(temp) + 1;
      while (*next != '\n') {
        next++;
      }
    } else {
      next = token + 1;
    }
  } else
    next = token + 1;
  return next;
}


x86 assembly (clang, -O0):
<determine_token>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movl   $0xd,(%rax)
mov    -0x8(%rbp),%rax
movsbl (%rax),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%rax
je     11cd <determine_token+0x6d>
mov    -0x8(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
movsbl (%rax),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%rax
je     11c8 <determine_token+0x68>
jmp    11b7 <determine_token+0x57>
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    119c <determine_token+0x3c>
jmp    18d7 <determine_token+0x777>
mov    -0x8(%rbp),%rax
movsbl (%rax),%edi
call   1080 <isalpha@plt>
cmp    $0x0,%rax
je     1632 <determine_token+0x4d2>
mov    -0x10(%rbp),%rax
movl   $0x9,(%rax)
mov    -0x8(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
movsbl (%rax),%edi
call   1080 <isalpha@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x55(%rbp)
jne    1245 <determine_token+0xe5>
mov    -0x18(%rbp),%rax
movsbl (%rax),%edi
call   1030 <isdigit@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x55(%rbp)
jne    1245 <determine_token+0xe5>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x5f,%eax
sete   %al
mov    %al,-0x55(%rbp)
mov    -0x55(%rbp),%al
test   $0x1,%al
jne    1255 <determine_token+0xf5>
jmp    126b <determine_token+0x10b>
jmp    125a <determine_token+0xfa>
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    11f9 <determine_token+0x99>
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%rcx
sub    %rcx,%rax
mov    %eax,-0x1c(%rbp)
cmpl   $0x14,-0x1c(%rbp)
jge    162d <determine_token+0x4cd>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    12bf <determine_token+0x15f>
mov    -0x8(%rbp),%rax
movslq -0x20(%rbp),%rcx
movsbl (%rax,%rcx,1),%edi
call   1040 <toupper@plt>
mov    %al,%cl
movslq -0x20(%rbp),%rax
mov    %cl,-0x40(%rbp,%rax,1)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    128a <determine_token+0x12a>
movslq -0x20(%rbp),%rax
movb   $0x0,-0x40(%rbp,%rax,1)
lea    -0x40(%rbp),%rdi
lea    0xd2d(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    12f1 <determine_token+0x191>
mov    -0x10(%rbp),%rax
movl   $0x1,(%rax)
jmp    1628 <determine_token+0x4c8>
lea    -0x40(%rbp),%rdi
lea    0xd0b(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    131a <determine_token+0x1ba>
mov    -0x10(%rbp),%rax
movl   $0x1,(%rax)
jmp    1623 <determine_token+0x4c3>
lea    -0x40(%rbp),%rdi
lea    0xce8(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    1343 <determine_token+0x1e3>
mov    -0x10(%rbp),%rax
movl   $0x2,(%rax)
jmp    161e <determine_token+0x4be>
lea    -0x40(%rbp),%rdi
lea    0xcc5(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    136c <determine_token+0x20c>
mov    -0x10(%rbp),%rax
movl   $0x3,(%rax)
jmp    1619 <determine_token+0x4b9>
lea    -0x40(%rbp),%rdi
lea    0xc9f(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    1395 <determine_token+0x235>
mov    -0x10(%rbp),%rax
movl   $0x5,(%rax)
jmp    1614 <determine_token+0x4b4>
lea    -0x40(%rbp),%rdi
lea    0xc7e(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    13be <determine_token+0x25e>
mov    -0x10(%rbp),%rax
movl   $0x6,(%rax)
jmp    160f <determine_token+0x4af>
lea    -0x40(%rbp),%rdi
lea    0xc5a(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    13e7 <determine_token+0x287>
mov    -0x10(%rbp),%rax
movl   $0x8,(%rax)
jmp    160a <determine_token+0x4aa>
lea    -0x40(%rbp),%rdi
lea    0xc39(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    1410 <determine_token+0x2b0>
mov    -0x10(%rbp),%rax
movl   $0xb,(%rax)
jmp    1605 <determine_token+0x4a5>
lea    -0x40(%rbp),%rdi
lea    0xc14(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    1439 <determine_token+0x2d9>
mov    -0x10(%rbp),%rax
movl   $0xc,(%rax)
jmp    1600 <determine_token+0x4a0>
lea    -0x40(%rbp),%rdi
lea    0xbf2(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    1462 <determine_token+0x302>
mov    -0x10(%rbp),%rax
movl   $0xc,(%rax)
jmp    15fb <determine_token+0x49b>
lea    -0x40(%rbp),%rdi
lea    0xbd1(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    148b <determine_token+0x32b>
mov    -0x10(%rbp),%rax
movl   $0xc,(%rax)
jmp    15f6 <determine_token+0x496>
lea    -0x40(%rbp),%rdi
lea    0xbb2(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    14b4 <determine_token+0x354>
mov    -0x10(%rbp),%rax
movl   $0xc,(%rax)
jmp    15f1 <determine_token+0x491>
lea    -0x40(%rbp),%rdi
lea    0xb91(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    14dd <determine_token+0x37d>
mov    -0x10(%rbp),%rax
movl   $0xc,(%rax)
jmp    15ec <determine_token+0x48c>
lea    -0x40(%rbp),%rdi
lea    0xb6e(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    1506 <determine_token+0x3a6>
mov    -0x10(%rbp),%rax
movl   $0xc,(%rax)
jmp    15e7 <determine_token+0x487>
lea    -0x40(%rbp),%rdi
lea    0xb50(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    152f <determine_token+0x3cf>
mov    -0x10(%rbp),%rax
movl   $0xc,(%rax)
jmp    15e2 <determine_token+0x482>
lea    -0x40(%rbp),%rdi
lea    0xb31(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    1558 <determine_token+0x3f8>
mov    -0x10(%rbp),%rax
movl   $0xc,(%rax)
jmp    15dd <determine_token+0x47d>
lea    -0x40(%rbp),%rdi
lea    0xb13(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    1581 <determine_token+0x421>
mov    -0x10(%rbp),%rax
movl   $0xc,(%rax)
jmp    15d8 <determine_token+0x478>
lea    -0x40(%rbp),%rdi
lea    0xaf4(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    15aa <determine_token+0x44a>
mov    -0x10(%rbp),%rax
movl   $0xc,(%rax)
jmp    15d3 <determine_token+0x473>
lea    -0x40(%rbp),%rdi
lea    0xad1(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    15ce <determine_token+0x46e>
mov    -0x10(%rbp),%rax
movl   $0xc,(%rax)
jmp    15d3 <determine_token+0x473>
jmp    15d8 <determine_token+0x478>
jmp    15dd <determine_token+0x47d>
jmp    15e2 <determine_token+0x482>
jmp    15e7 <determine_token+0x487>
jmp    15ec <determine_token+0x48c>
jmp    15f1 <determine_token+0x491>
jmp    15f6 <determine_token+0x496>
jmp    15fb <determine_token+0x49b>
jmp    1600 <determine_token+0x4a0>
jmp    1605 <determine_token+0x4a5>
jmp    160a <determine_token+0x4aa>
jmp    160f <determine_token+0x4af>
jmp    1614 <determine_token+0x4b4>
jmp    1619 <determine_token+0x4b9>
jmp    161e <determine_token+0x4be>
jmp    1623 <determine_token+0x4c3>
jmp    1628 <determine_token+0x4c8>
jmp    162d <determine_token+0x4cd>
jmp    18d2 <determine_token+0x772>
mov    -0x8(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3b,%eax
jne    165d <determine_token+0x4fd>
mov    -0x10(%rbp),%rax
movl   $0x4,(%rax)
mov    -0x8(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    18cd <determine_token+0x76d>
mov    -0x8(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x22,%eax
je     167d <determine_token+0x51d>
mov    -0x8(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x27,%eax
jne    1698 <determine_token+0x538>
mov    -0x10(%rbp),%rax
movl   $0x7,(%rax)
mov    -0x8(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    18c8 <determine_token+0x768>
mov    -0x8(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x23,%eax
je     16b8 <determine_token+0x558>
mov    -0x8(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3f,%eax
jne    18b7 <determine_token+0x757>
movl   $0x1,-0x54(%rbp)
xor    %eax,%eax
cmpl   $0xd,-0x54(%rbp)
mov    %al,-0x56(%rbp)
jge    16e9 <determine_token+0x589>
mov    -0x8(%rbp),%rax
movslq -0x54(%rbp),%rcx
movsbl (%rax,%rcx,1),%edi
call   1060 <isalnum@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x56(%rbp)
mov    -0x56(%rbp),%al
test   $0x1,%al
jne    16f9 <determine_token+0x599>
jmp    1726 <determine_token+0x5c6>
mov    -0x8(%rbp),%rax
movslq -0x54(%rbp),%rcx
movsbl (%rax,%rcx,1),%edi
call   1040 <toupper@plt>
mov    %al,%cl
mov    -0x54(%rbp),%eax
sub    $0x1,%eax
cltq
mov    %cl,-0x4d(%rbp,%rax,1)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    16bf <determine_token+0x55f>
mov    -0x54(%rbp),%eax
sub    $0x1,%eax
cltq
movb   $0x0,-0x4d(%rbp,%rax,1)
lea    -0x4d(%rbp),%rdi
lea    0x950(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
je     1851 <determine_token+0x6f1>
lea    -0x4d(%rbp),%rdi
lea    0x93b(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
je     1851 <determine_token+0x6f1>
lea    -0x4d(%rbp),%rdi
lea    0x926(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
je     1851 <determine_token+0x6f1>
lea    -0x4d(%rbp),%rdi
lea    0x911(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
je     1851 <determine_token+0x6f1>
lea    -0x4d(%rbp),%rdi
lea    0x8fd(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
je     1851 <determine_token+0x6f1>
lea    -0x4d(%rbp),%rdi
lea    0x8ed(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
je     1851 <determine_token+0x6f1>
lea    -0x4d(%rbp),%rdi
lea    0x8da(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
je     1851 <determine_token+0x6f1>
lea    -0x4d(%rbp),%rdi
lea    0x8c6(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
je     1851 <determine_token+0x6f1>
lea    -0x4d(%rbp),%rdi
lea    0x8b3(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
je     1851 <determine_token+0x6f1>
lea    -0x4d(%rbp),%rdi
lea    0x89e(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
je     1851 <determine_token+0x6f1>
lea    -0x4d(%rbp),%rdi
lea    0x88a(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    18a6 <determine_token+0x746>
mov    -0x10(%rbp),%rax
movl   $0xa,(%rax)
mov    -0x8(%rbp),%rax
mov    %rax,-0x60(%rbp)
lea    -0x4d(%rbp),%rdi
call   1050 <strlen@plt>
mov    %eax,%ecx
mov    -0x60(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0xa,%eax
je     18a1 <determine_token+0x741>
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    1880 <determine_token+0x720>
jmp    18b2 <determine_token+0x752>
mov    -0x8(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    18c3 <determine_token+0x763>
mov    -0x8(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    18c8 <determine_token+0x768>
jmp    18cd <determine_token+0x76d>
jmp    18d2 <determine_token+0x772>
jmp    18d7 <determine_token+0x777>
mov    -0x18(%rbp),%rax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<determine_token>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x20,%rsp
mov    %rsi,%r14
mov    %rdi,%r15
movl   $0xd,(%rsi)
movsbl (%rdi),%edi
call   1030 <isdigit@plt>
test   %rax,%rax
je     11a8 <determine_token+0x48>
cs nopw 0x0(%rax,%rax,1)
nop
movsbl 0x1(%r15),%edi
add    $0x1,%r15
call   1030 <isdigit@plt>
test   %rax,%rax
jne    1190 <determine_token+0x30>
jmp    1625 <determine_token+0x4c5>
movsbl (%r15),%edi
call   1080 <isalpha@plt>
test   %rax,%rax
je     122d <determine_token+0xcd>
movl   $0x9,(%r14)
mov    $0x1,%ebx
jmp    11d4 <determine_token+0x74>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
add    $0x1,%rbx
movsbl (%r15,%rbx,1),%edi
call   1080 <isalpha@plt>
test   %rax,%rax
jne    11d0 <determine_token+0x70>
movsbl (%r15,%rbx,1),%edi
call   1030 <isdigit@plt>
test   %rax,%rax
jne    11d0 <determine_token+0x70>
cmpb   $0x5f,(%r15,%rbx,1)
je     11d0 <determine_token+0x70>
cmp    $0x13,%ebx
jg     1622 <determine_token+0x4c2>
test   %ebx,%ebx
jle    13ee <determine_token+0x28e>
mov    %ebx,%r12d
xor    %ebp,%ebp
nop
movsbl (%r15,%rbp,1),%edi
call   1040 <toupper@plt>
mov    %al,(%rsp,%rbp,1)
add    $0x1,%rbp
cmp    %rbp,%r12
jne    1210 <determine_token+0xb0>
mov    %ebx,%eax
jmp    13f0 <determine_token+0x290>
mov    (%r15),%al
add    $0xde,%al
cmp    $0x1d,%al
ja     15c7 <determine_token+0x467>
movzbl %al,%eax
lea    0xdbc(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movl   $0x7,(%r14)
jmp    15c7 <determine_token+0x467>
movsbl 0x1(%r15),%edi
call   1060 <isalnum@plt>
test   %rax,%rax
je     15cd <determine_token+0x46d>
movsbl 0x1(%r15),%edi
call   1040 <toupper@plt>
mov    %al,(%rsp)
movsbl 0x2(%r15),%edi
call   1060 <isalnum@plt>
test   %rax,%rax
je     15db <determine_token+0x47b>
movsbl 0x2(%r15),%edi
call   1040 <toupper@plt>
mov    %al,0x1(%rsp)
movsbl 0x3(%r15),%edi
call   1060 <isalnum@plt>
test   %rax,%rax
je     15e9 <determine_token+0x489>
movsbl 0x3(%r15),%edi
call   1040 <toupper@plt>
mov    %al,0x2(%rsp)
movsbl 0x4(%r15),%edi
call   1060 <isalnum@plt>
test   %rax,%rax
je     15f7 <determine_token+0x497>
movsbl 0x4(%r15),%edi
call   1040 <toupper@plt>
mov    %al,0x3(%rsp)
movsbl 0x5(%r15),%edi
call   1060 <isalnum@plt>
test   %rax,%rax
je     1605 <determine_token+0x4a5>
movsbl 0x5(%r15),%edi
call   1040 <toupper@plt>
mov    %al,0x4(%rsp)
movsbl 0x6(%r15),%edi
call   1060 <isalnum@plt>
test   %rax,%rax
je     1613 <determine_token+0x4b3>
movsbl 0x6(%r15),%edi
call   1040 <toupper@plt>
mov    %al,0x5(%rsp)
movsbl 0x7(%r15),%edi
call   1060 <isalnum@plt>
test   %rax,%rax
je     1635 <determine_token+0x4d5>
movsbl 0x7(%r15),%edi
call   1040 <toupper@plt>
mov    %al,0x6(%rsp)
movsbl 0x8(%r15),%edi
call   1060 <isalnum@plt>
test   %rax,%rax
je     163c <determine_token+0x4dc>
movsbl 0x8(%r15),%edi
call   1040 <toupper@plt>
mov    %al,0x7(%rsp)
movsbl 0x9(%r15),%edi
call   1060 <isalnum@plt>
test   %rax,%rax
je     1643 <determine_token+0x4e3>
movsbl 0x9(%r15),%edi
call   1040 <toupper@plt>
mov    %al,0x8(%rsp)
movsbl 0xa(%r15),%edi
call   1060 <isalnum@plt>
test   %rax,%rax
je     164a <determine_token+0x4ea>
movsbl 0xa(%r15),%edi
call   1040 <toupper@plt>
mov    %al,0x9(%rsp)
movsbl 0xb(%r15),%edi
call   1060 <isalnum@plt>
test   %rax,%rax
je     1651 <determine_token+0x4f1>
movsbl 0xb(%r15),%edi
call   1040 <toupper@plt>
mov    %al,0xa(%rsp)
movsbl 0xc(%r15),%edi
call   1060 <isalnum@plt>
test   %rax,%rax
je     1658 <determine_token+0x4f8>
movsbl 0xc(%r15),%edi
call   1040 <toupper@plt>
mov    %al,0xb(%rsp)
mov    $0xc,%eax
jmp    165d <determine_token+0x4fd>
xor    %eax,%eax
movb   $0x0,(%rsp,%rax,1)
lea    0xc7d(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
mov    $0x1,%ebp
test   %rax,%rax
je     161f <determine_token+0x4bf>
lea    0xc67(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     161f <determine_token+0x4bf>
lea    0xc55(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     15d4 <determine_token+0x474>
lea    0xc43(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     15e2 <determine_token+0x482>
lea    0xc2e(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     15f0 <determine_token+0x490>
lea    0xc1e(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     15fe <determine_token+0x49e>
lea    0xc0b(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     160c <determine_token+0x4ac>
lea    0xbfb(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     161a <determine_token+0x4ba>
lea    0xbe7(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
mov    $0xc,%ebp
test   %rax,%rax
je     161f <determine_token+0x4bf>
lea    0xbd1(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     161f <determine_token+0x4bf>
lea    0xbc1(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     161f <determine_token+0x4bf>
lea    0xbb3(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     161f <determine_token+0x4bf>
lea    0xba3(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     161f <determine_token+0x4bf>
lea    0xb91(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     161f <determine_token+0x4bf>
lea    0xb84(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     161f <determine_token+0x4bf>
lea    0xb76(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     161f <determine_token+0x4bf>
lea    0xb69(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     161f <determine_token+0x4bf>
lea    0xb5b(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     161f <determine_token+0x4bf>
lea    0xb4d(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
jne    1622 <determine_token+0x4c2>
jmp    161f <determine_token+0x4bf>
movl   $0x4,(%r14)
add    $0x1,%r15
jmp    1625 <determine_token+0x4c5>
xor    %eax,%eax
jmp    165d <determine_token+0x4fd>
mov    $0x2,%ebp
jmp    161f <determine_token+0x4bf>
mov    $0x1,%eax
jmp    165d <determine_token+0x4fd>
mov    $0x3,%ebp
jmp    161f <determine_token+0x4bf>
mov    $0x2,%eax
jmp    165d <determine_token+0x4fd>
mov    $0x5,%ebp
jmp    161f <determine_token+0x4bf>
mov    $0x3,%eax
jmp    165d <determine_token+0x4fd>
mov    $0x6,%ebp
jmp    161f <determine_token+0x4bf>
mov    $0x4,%eax
jmp    165d <determine_token+0x4fd>
mov    $0x8,%ebp
jmp    161f <determine_token+0x4bf>
mov    $0x5,%eax
jmp    165d <determine_token+0x4fd>
mov    $0xb,%ebp
mov    %ebp,(%r14)
add    %rbx,%r15
mov    %r15,%rax
add    $0x20,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
mov    $0x6,%eax
jmp    165d <determine_token+0x4fd>
mov    $0x7,%eax
jmp    165d <determine_token+0x4fd>
mov    $0x8,%eax
jmp    165d <determine_token+0x4fd>
mov    $0x9,%eax
jmp    165d <determine_token+0x4fd>
mov    $0xa,%eax
jmp    165d <determine_token+0x4fd>
mov    $0xb,%eax
movb   $0x0,(%rsp,%rax,1)
lea    0xa9e(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     175d <determine_token+0x5fd>
lea    0xa8b(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     175d <determine_token+0x5fd>
lea    0xa78(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     175d <determine_token+0x5fd>
lea    0xa65(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     175d <determine_token+0x5fd>
lea    0xa53(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     175d <determine_token+0x5fd>
lea    0xa45(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     175d <determine_token+0x5fd>
lea    0xa38(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     175d <determine_token+0x5fd>
lea    0xa2a(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     175d <determine_token+0x5fd>
lea    0xa1d(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     175d <determine_token+0x5fd>
lea    0xa0e(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     175d <determine_token+0x5fd>
lea    0xa00(%rip),%rsi
mov    %rsp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     175d <determine_token+0x5fd>
add    $0x1,%r15
mov    %r15,%rax
jmp    1625 <determine_token+0x4c5>
movl   $0xa,(%r14)
mov    %rsp,%rdi
call   1050 <strlen@plt>
cltq
add    %rax,%r15
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
lea    0x1(%r15),%rax
cmpb   $0xa,0x1(%r15)
mov    %rax,%r15
jne    1780 <determine_token+0x620>
mov    %rax,%r15
jmp    1625 <determine_token+0x4c5>

LLVM IR (-O0):
@.str = [7 x i8] c"SELECT\00"
@.str.1 = [6 x i8] c"TABLE\00"
@.str.2 = [6 x i8] c"ORDER\00"
@.str.3 = [3 x i8] c"BY\00"
@.str.4 = [8 x i8] c"PREPARE\00"
@.str.5 = [5 x i8] c"FROM\00"
@.str.6 = [8 x i8] c"EXECUTE\00"
@.str.7 = [4 x i8] c"GET\00"
@.str.8 = [7 x i8] c"TABLES\00"
@.str.9 = [8 x i8] c"INDEXES\00"
@.str.10 = [10 x i8] c"LIBRARIES\00"
@.str.11 = [8 x i8] c"SCHEMAS\00"
@.str.12 = [6 x i8] c"VIEWS\00"
@.str.13 = [11 x i8] c"PRIVILEGES\00"
@.str.14 = [10 x i8] c"FUNCTIONS\00"
@.str.15 = [11 x i8] c"PROCEDURES\00"
@.str.16 = [10 x i8] c"SEQUENCES\00"
@.str.17 = [6 x i8] c"ROLES\00"
@.str.18 = [8 x i8] c"OBJECTS\00"
@.str.19 = [5 x i8] c"IFMX\00"
@.str.20 = [5 x i8] c"IFMP\00"
@.str.21 = [5 x i8] c"IFNT\00"
@.str.22 = [6 x i8] c"IFNSK\00"
@.str.23 = [10 x i8] c"IFNSKREL1\00"
@.str.24 = [7 x i8] c"IGNORE\00"
@.str.25 = [6 x i8] c"IFDEF\00"
@.str.26 = [7 x i8] c"IFNDEF\00"
@.str.27 = [5 x i8] c"ELSE\00"
@.str.28 = [6 x i8] c"ENDIF\00"
@.str.29 = [8 x i8] c"SECTION\00"
define i8* @determine_token(i8* %0, i32* %1) {
%3 = alloca i8*
%4 = alloca i32*
%5 = alloca i8*
%6 = alloca i32
%7 = alloca i32
%8 = alloca [20 x i8]
%9 = alloca [13 x i8]
%10 = alloca i32
store i8* %0, i8** %3
store i32* %1, i32** %4
%11 = load i32*, i32** %4
store i32 13, i32* %11
%12 = load i8*, i8** %3
%13 = load i8, i8* %12
%14 = call i64 @isdigit(i8 signext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %29
16: ; preds = %2
%17 = load i8*, i8** %3
%18 = getelementptr inbounds i8, i8* %17, i64 1
store i8* %18, i8** %5
br label %19
19: ; preds = %25, %16
%20 = load i8*, i8** %5
%21 = load i8, i8* %20
%22 = call i64 @isdigit(i8 signext %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %28
24: ; preds = %19
br label %25
25: ; preds = %24
%26 = load i8*, i8** %5
%27 = getelementptr inbounds i8, i8* %26, i32 1
store i8* %27, i8** %5
br label %19
28: ; preds = %19
br label %360
29: ; preds = %2
%30 = load i8*, i8** %3
%31 = load i8, i8* %30
%32 = call i64 @isalpha(i8 signext %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %223
34: ; preds = %29
%35 = load i32*, i32** %4
store i32 9, i32* %35
%36 = load i8*, i8** %3
%37 = getelementptr inbounds i8, i8* %36, i64 1
store i8* %37, i8** %5
br label %38
38: ; preds = %56, %34
%39 = load i8*, i8** %5
%40 = load i8, i8* %39
%41 = call i64 @isalpha(i8 signext %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %53, label %43
43: ; preds = %38
%44 = load i8*, i8** %5
%45 = load i8, i8* %44
%46 = call i64 @isdigit(i8 signext %45)
%47 = icmp ne i64 %46, 0
br i1 %47, label %53, label %48
48: ; preds = %43
%49 = load i8*, i8** %5
%50 = load i8, i8* %49
%51 = sext i8 %50 to i32
%52 = icmp eq i32 %51, 95
br label %53
53: ; preds = %48, %43, %38
%54 = phi i1 [ true, %43 ], [ true, %38 ], [ %52, %48 ]
br i1 %54, label %55, label %59
55: ; preds = %53
br label %56
56: ; preds = %55
%57 = load i8*, i8** %5
%58 = getelementptr inbounds i8, i8* %57, i32 1
store i8* %58, i8** %5
br label %38
59: ; preds = %53
%60 = load i8*, i8** %5
%61 = load i8*, i8** %3
%62 = ptrtoint i8* %60 to i64
%63 = ptrtoint i8* %61 to i64
%64 = sub i64 %62, %63
%65 = trunc i64 %64 to i32
store i32 %65, i32* %6
%66 = load i32, i32* %6
%67 = icmp slt i32 %66, 20
br i1 %67, label %68, label %222
68: ; preds = %59
store i32 0, i32* %7
br label %69
69: ; preds = %83, %68
%70 = load i32, i32* %7
%71 = load i32, i32* %6
%72 = icmp slt i32 %70, %71
br i1 %72, label %73, label %86
73: ; preds = %69
%74 = load i8*, i8** %3
%75 = load i32, i32* %7
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, i8* %74, i64 %76
%78 = load i8, i8* %77
%79 = call signext i8 @toupper(i8 signext %78)
%80 = load i32, i32* %7
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 %81
store i8 %79, i8* %82
br label %83
83: ; preds = %73
%84 = load i32, i32* %7
%85 = add nsw i32 %84, 1
store i32 %85, i32* %7
br label %69
86: ; preds = %69
%87 = load i32, i32* %7
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 %88
store i8 0, i8* %89
%90 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%91 = call i64 @strcmp(i8* %90, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%92 = icmp eq i64 %91, 0
br i1 %92, label %93, label %95
93: ; preds = %86
%94 = load i32*, i32** %4
store i32 1, i32* %94
br label %221
95: ; preds = %86
%96 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%97 = call i64 @strcmp(i8* %96, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%98 = icmp eq i64 %97, 0
br i1 %98, label %99, label %101
99: ; preds = %95
%100 = load i32*, i32** %4
store i32 1, i32* %100
br label %220
101: ; preds = %95
%102 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%103 = call i64 @strcmp(i8* %102, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%104 = icmp eq i64 %103, 0
br i1 %104, label %105, label %107
105: ; preds = %101
%106 = load i32*, i32** %4
store i32 2, i32* %106
br label %219
107: ; preds = %101
%108 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%109 = call i64 @strcmp(i8* %108, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%110 = icmp eq i64 %109, 0
br i1 %110, label %111, label %113
111: ; preds = %107
%112 = load i32*, i32** %4
store i32 3, i32* %112
br label %218
113: ; preds = %107
%114 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%115 = call i64 @strcmp(i8* %114, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %119
117: ; preds = %113
%118 = load i32*, i32** %4
store i32 5, i32* %118
br label %217
119: ; preds = %113
%120 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%121 = call i64 @strcmp(i8* %120, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%122 = icmp eq i64 %121, 0
br i1 %122, label %123, label %125
123: ; preds = %119
%124 = load i32*, i32** %4
store i32 6, i32* %124
br label %216
125: ; preds = %119
%126 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%127 = call i64 @strcmp(i8* %126, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%128 = icmp eq i64 %127, 0
br i1 %128, label %129, label %131
129: ; preds = %125
%130 = load i32*, i32** %4
store i32 8, i32* %130
br label %215
131: ; preds = %125
%132 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%133 = call i64 @strcmp(i8* %132, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%134 = icmp eq i64 %133, 0
br i1 %134, label %135, label %137
135: ; preds = %131
%136 = load i32*, i32** %4
store i32 11, i32* %136
br label %214
137: ; preds = %131
%138 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%139 = call i64 @strcmp(i8* %138, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0))
%140 = icmp eq i64 %139, 0
br i1 %140, label %141, label %143
141: ; preds = %137
%142 = load i32*, i32** %4
store i32 12, i32* %142
br label %213
143: ; preds = %137
%144 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%145 = call i64 @strcmp(i8* %144, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0))
%146 = icmp eq i64 %145, 0
br i1 %146, label %147, label %149
147: ; preds = %143
%148 = load i32*, i32** %4
store i32 12, i32* %148
br label %212
149: ; preds = %143
%150 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%151 = call i64 @strcmp(i8* %150, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.10, i64 0, i64 0))
%152 = icmp eq i64 %151, 0
br i1 %152, label %153, label %155
153: ; preds = %149
%154 = load i32*, i32** %4
store i32 12, i32* %154
br label %211
155: ; preds = %149
%156 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%157 = call i64 @strcmp(i8* %156, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0))
%158 = icmp eq i64 %157, 0
br i1 %158, label %159, label %161
159: ; preds = %155
%160 = load i32*, i32** %4
store i32 12, i32* %160
br label %210
161: ; preds = %155
%162 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%163 = call i64 @strcmp(i8* %162, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0))
%164 = icmp eq i64 %163, 0
br i1 %164, label %165, label %167
165: ; preds = %161
%166 = load i32*, i32** %4
store i32 12, i32* %166
br label %209
167: ; preds = %161
%168 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%169 = call i64 @strcmp(i8* %168, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0))
%170 = icmp eq i64 %169, 0
br i1 %170, label %171, label %173
171: ; preds = %167
%172 = load i32*, i32** %4
store i32 12, i32* %172
br label %208
173: ; preds = %167
%174 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%175 = call i64 @strcmp(i8* %174, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0))
%176 = icmp eq i64 %175, 0
br i1 %176, label %177, label %179
177: ; preds = %173
%178 = load i32*, i32** %4
store i32 12, i32* %178
br label %207
179: ; preds = %173
%180 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%181 = call i64 @strcmp(i8* %180, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0))
%182 = icmp eq i64 %181, 0
br i1 %182, label %183, label %185
183: ; preds = %179
%184 = load i32*, i32** %4
store i32 12, i32* %184
br label %206
185: ; preds = %179
%186 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%187 = call i64 @strcmp(i8* %186, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.16, i64 0, i64 0))
%188 = icmp eq i64 %187, 0
br i1 %188, label %189, label %191
189: ; preds = %185
%190 = load i32*, i32** %4
store i32 12, i32* %190
br label %205
191: ; preds = %185
%192 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%193 = call i64 @strcmp(i8* %192, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.17, i64 0, i64 0))
%194 = icmp eq i64 %193, 0
br i1 %194, label %195, label %197
195: ; preds = %191
%196 = load i32*, i32** %4
store i32 12, i32* %196
br label %204
197: ; preds = %191
%198 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%199 = call i64 @strcmp(i8* %198, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.18, i64 0, i64 0))
%200 = icmp eq i64 %199, 0
br i1 %200, label %201, label %203
201: ; preds = %197
%202 = load i32*, i32** %4
store i32 12, i32* %202
br label %203
203: ; preds = %201, %197
br label %204
204: ; preds = %203, %195
br label %205
205: ; preds = %204, %189
br label %206
206: ; preds = %205, %183
br label %207
207: ; preds = %206, %177
br label %208
208: ; preds = %207, %171
br label %209
209: ; preds = %208, %165
br label %210
210: ; preds = %209, %159
br label %211
211: ; preds = %210, %153
br label %212
212: ; preds = %211, %147
br label %213
213: ; preds = %212, %141
br label %214
214: ; preds = %213, %135
br label %215
215: ; preds = %214, %129
br label %216
216: ; preds = %215, %123
br label %217
217: ; preds = %216, %117
br label %218
218: ; preds = %217, %111
br label %219
219: ; preds = %218, %105
br label %220
220: ; preds = %219, %99
br label %221
221: ; preds = %220, %93
br label %222
222: ; preds = %221, %59
br label %359
223: ; preds = %29
%224 = load i8*, i8** %3
%225 = load i8, i8* %224
%226 = sext i8 %225 to i32
%227 = icmp eq i32 %226, 59
br i1 %227, label %228, label %232
228: ; preds = %223
%229 = load i32*, i32** %4
store i32 4, i32* %229
%230 = load i8*, i8** %3
%231 = getelementptr inbounds i8, i8* %230, i64 1
store i8* %231, i8** %5
br label %358
232: ; preds = %223
%233 = load i8*, i8** %3
%234 = load i8, i8* %233
%235 = sext i8 %234 to i32
%236 = icmp eq i32 %235, 34
br i1 %236, label %242, label %237
237: ; preds = %232
%238 = load i8*, i8** %3
%239 = load i8, i8* %238
%240 = sext i8 %239 to i32
%241 = icmp eq i32 %240, 39
br i1 %241, label %242, label %246
242: ; preds = %237, %232
%243 = load i32*, i32** %4
store i32 7, i32* %243
%244 = load i8*, i8** %3
%245 = getelementptr inbounds i8, i8* %244, i64 1
store i8* %245, i8** %5
br label %357
246: ; preds = %237
%247 = load i8*, i8** %3
%248 = load i8, i8* %247
%249 = sext i8 %248 to i32
%250 = icmp eq i32 %249, 35
br i1 %250, label %256, label %251
251: ; preds = %246
%252 = load i8*, i8** %3
%253 = load i8, i8* %252
%254 = sext i8 %253 to i32
%255 = icmp eq i32 %254, 63
br i1 %255, label %256, label %353
256: ; preds = %251, %246
store i32 1, i32* %10
br label %257
257: ; preds = %281, %256
%258 = load i32, i32* %10
%259 = icmp slt i32 %258, 13
br i1 %259, label %260, label %268
260: ; preds = %257
%261 = load i8*, i8** %3
%262 = load i32, i32* %10
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds i8, i8* %261, i64 %263
%265 = load i8, i8* %264
%266 = call i64 @isalnum(i8 signext %265)
%267 = icmp ne i64 %266, 0
br label %268
268: ; preds = %260, %257
%269 = phi i1 [ false, %257 ], [ %267, %260 ]
br i1 %269, label %270, label %284
270: ; preds = %268
%271 = load i8*, i8** %3
%272 = load i32, i32* %10
%273 = sext i32 %272 to i64
%274 = getelementptr inbounds i8, i8* %271, i64 %273
%275 = load i8, i8* %274
%276 = call signext i8 @toupper(i8 signext %275)
%277 = load i32, i32* %10
%278 = sub nsw i32 %277, 1
%279 = sext i32 %278 to i64
%280 = getelementptr inbounds [13 x i8], [13 x i8]* %9, i64 0, i64 %279
store i8 %276, i8* %280
br label %281
281: ; preds = %270
%282 = load i32, i32* %10
%283 = add nsw i32 %282, 1
store i32 %283, i32* %10
br label %257
284: ; preds = %268
%285 = load i32, i32* %10
%286 = sub nsw i32 %285, 1
%287 = sext i32 %286 to i64
%288 = getelementptr inbounds [13 x i8], [13 x i8]* %9, i64 0, i64 %287
store i8 0, i8* %288
%289 = getelementptr inbounds [13 x i8], [13 x i8]* %9, i64 0, i64 0
%290 = call i64 @strcmp(i8* %289, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0))
%291 = icmp eq i64 %290, 0
br i1 %291, label %332, label %292
292: ; preds = %284
%293 = getelementptr inbounds [13 x i8], [13 x i8]* %9, i64 0, i64 0
%294 = call i64 @strcmp(i8* %293, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%295 = icmp eq i64 %294, 0
br i1 %295, label %332, label %296
296: ; preds = %292
%297 = getelementptr inbounds [13 x i8], [13 x i8]* %9, i64 0, i64 0
%298 = call i64 @strcmp(i8* %297, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i64 0, i64 0))
%299 = icmp eq i64 %298, 0
br i1 %299, label %332, label %300
300: ; preds = %296
%301 = getelementptr inbounds [13 x i8], [13 x i8]* %9, i64 0, i64 0
%302 = call i64 @strcmp(i8* %301, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.22, i64 0, i64 0))
%303 = icmp eq i64 %302, 0
br i1 %303, label %332, label %304
304: ; preds = %300
%305 = getelementptr inbounds [13 x i8], [13 x i8]* %9, i64 0, i64 0
%306 = call i64 @strcmp(i8* %305, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.23, i64 0, i64 0))
%307 = icmp eq i64 %306, 0
br i1 %307, label %332, label %308
308: ; preds = %304
%309 = getelementptr inbounds [13 x i8], [13 x i8]* %9, i64 0, i64 0
%310 = call i64 @strcmp(i8* %309, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.24, i64 0, i64 0))
%311 = icmp eq i64 %310, 0
br i1 %311, label %332, label %312
312: ; preds = %308
%313 = getelementptr inbounds [13 x i8], [13 x i8]* %9, i64 0, i64 0
%314 = call i64 @strcmp(i8* %313, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0))
%315 = icmp eq i64 %314, 0
br i1 %315, label %332, label %316
316: ; preds = %312
%317 = getelementptr inbounds [13 x i8], [13 x i8]* %9, i64 0, i64 0
%318 = call i64 @strcmp(i8* %317, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.26, i64 0, i64 0))
%319 = icmp eq i64 %318, 0
br i1 %319, label %332, label %320
320: ; preds = %316
%321 = getelementptr inbounds [13 x i8], [13 x i8]* %9, i64 0, i64 0
%322 = call i64 @strcmp(i8* %321, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.27, i64 0, i64 0))
%323 = icmp eq i64 %322, 0
br i1 %323, label %332, label %324
324: ; preds = %320
%325 = getelementptr inbounds [13 x i8], [13 x i8]* %9, i64 0, i64 0
%326 = call i64 @strcmp(i8* %325, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.28, i64 0, i64 0))
%327 = icmp eq i64 %326, 0
br i1 %327, label %332, label %328
328: ; preds = %324
%329 = getelementptr inbounds [13 x i8], [13 x i8]* %9, i64 0, i64 0
%330 = call i64 @strcmp(i8* %329, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.29, i64 0, i64 0))
%331 = icmp eq i64 %330, 0
br i1 %331, label %332, label %349
332: ; preds = %328, %324, %320, %316, %312, %308, %304, %300, %296, %292, %284
%333 = load i32*, i32** %4
store i32 10, i32* %333
%334 = load i8*, i8** %3
%335 = getelementptr inbounds [13 x i8], [13 x i8]* %9, i64 0, i64 0
%336 = call i32 @strlen(i8* %335)
%337 = sext i32 %336 to i64
%338 = getelementptr inbounds i8, i8* %334, i64 %337
%339 = getelementptr inbounds i8, i8* %338, i64 1
store i8* %339, i8** %5
br label %340
340: ; preds = %345, %332
%341 = load i8*, i8** %5
%342 = load i8, i8* %341
%343 = sext i8 %342 to i32
%344 = icmp ne i32 %343, 10
br i1 %344, label %345, label %348
345: ; preds = %340
%346 = load i8*, i8** %5
%347 = getelementptr inbounds i8, i8* %346, i32 1
store i8* %347, i8** %5
br label %340
348: ; preds = %340
br label %352
349: ; preds = %328
%350 = load i8*, i8** %3
%351 = getelementptr inbounds i8, i8* %350, i64 1
store i8* %351, i8** %5
br label %352
352: ; preds = %349, %348
br label %356
353: ; preds = %251
%354 = load i8*, i8** %3
%355 = getelementptr inbounds i8, i8* %354, i64 1
store i8* %355, i8** %5
br label %356
356: ; preds = %353, %352
br label %357
357: ; preds = %356, %242
br label %358
358: ; preds = %357, %228
br label %359
359: ; preds = %358, %222
br label %360
360: ; preds = %359, %28
%361 = load i8*, i8** %5
ret i8* %361
}

LLVM IR (-O2):
@.str = [7 x i8] c"SELECT\00"
@.str.1 = [6 x i8] c"TABLE\00"
@.str.2 = [6 x i8] c"ORDER\00"
@.str.3 = [3 x i8] c"BY\00"
@.str.4 = [8 x i8] c"PREPARE\00"
@.str.5 = [5 x i8] c"FROM\00"
@.str.6 = [8 x i8] c"EXECUTE\00"
@.str.7 = [4 x i8] c"GET\00"
@.str.8 = [7 x i8] c"TABLES\00"
@.str.9 = [8 x i8] c"INDEXES\00"
@.str.10 = [10 x i8] c"LIBRARIES\00"
@.str.11 = [8 x i8] c"SCHEMAS\00"
@.str.12 = [6 x i8] c"VIEWS\00"
@.str.13 = [11 x i8] c"PRIVILEGES\00"
@.str.14 = [10 x i8] c"FUNCTIONS\00"
@.str.15 = [11 x i8] c"PROCEDURES\00"
@.str.16 = [10 x i8] c"SEQUENCES\00"
@.str.17 = [6 x i8] c"ROLES\00"
@.str.18 = [8 x i8] c"OBJECTS\00"
@.str.19 = [5 x i8] c"IFMX\00"
@.str.20 = [5 x i8] c"IFMP\00"
@.str.21 = [5 x i8] c"IFNT\00"
@.str.22 = [6 x i8] c"IFNSK\00"
@.str.23 = [10 x i8] c"IFNSKREL1\00"
@.str.24 = [7 x i8] c"IGNORE\00"
@.str.25 = [6 x i8] c"IFDEF\00"
@.str.26 = [7 x i8] c"IFNDEF\00"
@.str.27 = [5 x i8] c"ELSE\00"
@.str.28 = [6 x i8] c"ENDIF\00"
@.str.29 = [8 x i8] c"SECTION\00"
define i8* @determine_token(i8* %0, i32* writeonly %1) {
%3 = alloca [20 x i8]
%4 = alloca [13 x i8]
store i32 13, i32* %1
%5 = load i8, i8* %0
%6 = tail call i64 @isdigit(i8 signext %5)
%7 = icmp eq i64 %6, 0
br i1 %7, label %14, label %8
8: ; preds = %2, %8
%9 = phi i8* [ %10, %8 ], [ %0, %2 ]
%10 = getelementptr inbounds i8, i8* %9, i64 1
%11 = load i8, i8* %10
%12 = tail call i64 @isdigit(i8 signext %11)
%13 = icmp eq i64 %12, 0
br i1 %13, label %267, label %8
14: ; preds = %2
%15 = load i8, i8* %0
%16 = tail call i64 @isalpha(i8 signext %15)
%17 = icmp eq i64 %16, 0
br i1 %17, label %116, label %18
18: ; preds = %14
%19 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 0
store i32 9, i32* %1
br label %20
20: ; preds = %26, %18
%21 = phi i8* [ %0, %18 ], [ %22, %26 ]
%22 = getelementptr inbounds i8, i8* %21, i64 1
%23 = load i8, i8* %22
%24 = tail call i64 @isalpha(i8 signext %23)
%25 = icmp eq i64 %24, 0
br i1 %25, label %27, label %26
26: ; preds = %20, %27, %31
br label %20
27: ; preds = %20
%28 = load i8, i8* %22
%29 = tail call i64 @isdigit(i8 signext %28)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %26
31: ; preds = %27
%32 = load i8, i8* %22
%33 = icmp eq i8 %32, 95
br i1 %33, label %26, label %34
34: ; preds = %31
%35 = ptrtoint i8* %22 to i64
%36 = ptrtoint i8* %0 to i64
%37 = sub i64 %35, %36
%38 = trunc i64 %37 to i32
%39 = icmp slt i32 %38, 20
br i1 %39, label %40, label %115
40: ; preds = %34
%41 = icmp sgt i32 %38, 0
br i1 %41, label %42, label %54
42: ; preds = %40
%43 = and i64 %37, 4294967295
br label %44
44: ; preds = %42, %44
%45 = phi i64 [ 0, %42 ], [ %50, %44 ]
%46 = getelementptr inbounds i8, i8* %0, i64 %45
%47 = load i8, i8* %46
%48 = tail call signext i8 @toupper(i8 signext %47)
%49 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 %45
store i8 %48, i8* %49
%50 = add nuw nsw i64 %45, 1
%51 = icmp eq i64 %50, %43
br i1 %51, label %52, label %44
52: ; preds = %44
%53 = and i64 %37, 4294967295
br label %54
54: ; preds = %52, %40
%55 = phi i64 [ 0, %40 ], [ %53, %52 ]
%56 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 %55
store i8 0, i8* %56
%57 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%58 = icmp eq i64 %57, 0
br i1 %58, label %113, label %59
59: ; preds = %54
%60 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%61 = icmp eq i64 %60, 0
br i1 %61, label %113, label %62
62: ; preds = %59
%63 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%64 = icmp eq i64 %63, 0
br i1 %64, label %113, label %65
65: ; preds = %62
%66 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%67 = icmp eq i64 %66, 0
br i1 %67, label %113, label %68
68: ; preds = %65
%69 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%70 = icmp eq i64 %69, 0
br i1 %70, label %113, label %71
71: ; preds = %68
%72 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%73 = icmp eq i64 %72, 0
br i1 %73, label %113, label %74
74: ; preds = %71
%75 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%76 = icmp eq i64 %75, 0
br i1 %76, label %113, label %77
77: ; preds = %74
%78 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%79 = icmp eq i64 %78, 0
br i1 %79, label %113, label %80
80: ; preds = %77
%81 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0))
%82 = icmp eq i64 %81, 0
br i1 %82, label %113, label %83
83: ; preds = %80
%84 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0))
%85 = icmp eq i64 %84, 0
br i1 %85, label %113, label %86
86: ; preds = %83
%87 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.10, i64 0, i64 0))
%88 = icmp eq i64 %87, 0
br i1 %88, label %113, label %89
89: ; preds = %86
%90 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0))
%91 = icmp eq i64 %90, 0
br i1 %91, label %113, label %92
92: ; preds = %89
%93 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0))
%94 = icmp eq i64 %93, 0
br i1 %94, label %113, label %95
95: ; preds = %92
%96 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0))
%97 = icmp eq i64 %96, 0
br i1 %97, label %113, label %98
98: ; preds = %95
%99 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0))
%100 = icmp eq i64 %99, 0
br i1 %100, label %113, label %101
101: ; preds = %98
%102 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0))
%103 = icmp eq i64 %102, 0
br i1 %103, label %113, label %104
104: ; preds = %101
%105 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.16, i64 0, i64 0))
%106 = icmp eq i64 %105, 0
br i1 %106, label %113, label %107
107: ; preds = %104
%108 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.17, i64 0, i64 0))
%109 = icmp eq i64 %108, 0
br i1 %109, label %113, label %110
110: ; preds = %107
%111 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.18, i64 0, i64 0))
%112 = icmp eq i64 %111, 0
br i1 %112, label %113, label %115
113: ; preds = %110, %107, %104, %101, %98, %95, %92, %89, %86, %83, %80, %77, %74, %71, %68, %65, %62, %59, %54
%114 = phi i32 [ 1, %54 ], [ 1, %59 ], [ 2, %62 ], [ 3, %65 ], [ 5, %68 ], [ 6, %71 ], [ 8, %74 ], [ 11, %77 ], [ 12, %80 ], [ 12, %83 ], [ 12, %86 ], [ 12, %89 ], [ 12, %92 ], [ 12, %95 ], [ 12, %98 ], [ 12, %101 ], [ 12, %104 ], [ 12, %107 ], [ 12, %110 ]
store i32 %114, i32* %1
br label %115
115: ; preds = %113, %110, %34
br label %267
116: ; preds = %14
%117 = load i8, i8* %0
switch i8 %117, label %265 [
i8 59, label %118
i8 34, label %120
i8 39, label %120
i8 35, label %122
i8 63, label %122
]
118: ; preds = %116
store i32 4, i32* %1
%119 = getelementptr inbounds i8, i8* %0, i64 1
br label %267
120: ; preds = %116, %116
store i32 7, i32* %1
%121 = getelementptr inbounds i8, i8* %0, i64 1
br label %267
122: ; preds = %116, %116
%123 = getelementptr inbounds [13 x i8], [13 x i8]* %4, i64 0, i64 0
%124 = getelementptr inbounds i8, i8* %0, i64 1
%125 = load i8, i8* %124
%126 = tail call i64 @isalnum(i8 signext %125)
%127 = icmp eq i64 %126, 0
br i1 %127, label %219, label %128
128: ; preds = %122
%129 = load i8, i8* %124
%130 = tail call signext i8 @toupper(i8 signext %129)
store i8 %130, i8* %123
%131 = getelementptr inbounds i8, i8* %0, i64 2
%132 = load i8, i8* %131
%133 = tail call i64 @isalnum(i8 signext %132)
%134 = icmp eq i64 %133, 0
br i1 %134, label %219, label %135
135: ; preds = %128
%136 = load i8, i8* %131
%137 = tail call signext i8 @toupper(i8 signext %136)
%138 = getelementptr inbounds [13 x i8], [13 x i8]* %4, i64 0, i64 1
store i8 %137, i8* %138
%139 = getelementptr inbounds i8, i8* %0, i64 3
%140 = load i8, i8* %139
%141 = tail call i64 @isalnum(i8 signext %140)
%142 = icmp eq i64 %141, 0
br i1 %142, label %219, label %143
143: ; preds = %135
%144 = load i8, i8* %139
%145 = tail call signext i8 @toupper(i8 signext %144)
%146 = getelementptr inbounds [13 x i8], [13 x i8]* %4, i64 0, i64 2
store i8 %145, i8* %146
%147 = getelementptr inbounds i8, i8* %0, i64 4
%148 = load i8, i8* %147
%149 = tail call i64 @isalnum(i8 signext %148)
%150 = icmp eq i64 %149, 0
br i1 %150, label %219, label %151
151: ; preds = %143
%152 = load i8, i8* %147
%153 = tail call signext i8 @toupper(i8 signext %152)
%154 = getelementptr inbounds [13 x i8], [13 x i8]* %4, i64 0, i64 3
store i8 %153, i8* %154
%155 = getelementptr inbounds i8, i8* %0, i64 5
%156 = load i8, i8* %155
%157 = tail call i64 @isalnum(i8 signext %156)
%158 = icmp eq i64 %157, 0
br i1 %158, label %219, label %159
159: ; preds = %151
%160 = load i8, i8* %155
%161 = tail call signext i8 @toupper(i8 signext %160)
%162 = getelementptr inbounds [13 x i8], [13 x i8]* %4, i64 0, i64 4
store i8 %161, i8* %162
%163 = getelementptr inbounds i8, i8* %0, i64 6
%164 = load i8, i8* %163
%165 = tail call i64 @isalnum(i8 signext %164)
%166 = icmp eq i64 %165, 0
br i1 %166, label %219, label %167
167: ; preds = %159
%168 = load i8, i8* %163
%169 = tail call signext i8 @toupper(i8 signext %168)
%170 = getelementptr inbounds [13 x i8], [13 x i8]* %4, i64 0, i64 5
store i8 %169, i8* %170
%171 = getelementptr inbounds i8, i8* %0, i64 7
%172 = load i8, i8* %171
%173 = tail call i64 @isalnum(i8 signext %172)
%174 = icmp eq i64 %173, 0
br i1 %174, label %219, label %175
175: ; preds = %167
%176 = load i8, i8* %171
%177 = tail call signext i8 @toupper(i8 signext %176)
%178 = getelementptr inbounds [13 x i8], [13 x i8]* %4, i64 0, i64 6
store i8 %177, i8* %178
%179 = getelementptr inbounds i8, i8* %0, i64 8
%180 = load i8, i8* %179
%181 = tail call i64 @isalnum(i8 signext %180)
%182 = icmp eq i64 %181, 0
br i1 %182, label %219, label %183
183: ; preds = %175
%184 = load i8, i8* %179
%185 = tail call signext i8 @toupper(i8 signext %184)
%186 = getelementptr inbounds [13 x i8], [13 x i8]* %4, i64 0, i64 7
store i8 %185, i8* %186
%187 = getelementptr inbounds i8, i8* %0, i64 9
%188 = load i8, i8* %187
%189 = tail call i64 @isalnum(i8 signext %188)
%190 = icmp eq i64 %189, 0
br i1 %190, label %219, label %191
191: ; preds = %183
%192 = load i8, i8* %187
%193 = tail call signext i8 @toupper(i8 signext %192)
%194 = getelementptr inbounds [13 x i8], [13 x i8]* %4, i64 0, i64 8
store i8 %193, i8* %194
%195 = getelementptr inbounds i8, i8* %0, i64 10
%196 = load i8, i8* %195
%197 = tail call i64 @isalnum(i8 signext %196)
%198 = icmp eq i64 %197, 0
br i1 %198, label %219, label %199
199: ; preds = %191
%200 = load i8, i8* %195
%201 = tail call signext i8 @toupper(i8 signext %200)
%202 = getelementptr inbounds [13 x i8], [13 x i8]* %4, i64 0, i64 9
store i8 %201, i8* %202
%203 = getelementptr inbounds i8, i8* %0, i64 11
%204 = load i8, i8* %203
%205 = tail call i64 @isalnum(i8 signext %204)
%206 = icmp eq i64 %205, 0
br i1 %206, label %219, label %207
207: ; preds = %199
%208 = load i8, i8* %203
%209 = tail call signext i8 @toupper(i8 signext %208)
%210 = getelementptr inbounds [13 x i8], [13 x i8]* %4, i64 0, i64 10
store i8 %209, i8* %210
%211 = getelementptr inbounds i8, i8* %0, i64 12
%212 = load i8, i8* %211
%213 = tail call i64 @isalnum(i8 signext %212)
%214 = icmp eq i64 %213, 0
br i1 %214, label %219, label %215
215: ; preds = %207
%216 = load i8, i8* %211
%217 = tail call signext i8 @toupper(i8 signext %216)
%218 = getelementptr inbounds [13 x i8], [13 x i8]* %4, i64 0, i64 11
store i8 %217, i8* %218
br label %219
219: ; preds = %215, %207, %199, %191, %183, %175, %167, %159, %151, %143, %135, %128, %122
%220 = phi i64 [ 0, %122 ], [ 1, %128 ], [ 2, %135 ], [ 3, %143 ], [ 4, %151 ], [ 5, %159 ], [ 6, %167 ], [ 7, %175 ], [ 8, %183 ], [ 9, %191 ], [ 10, %199 ], [ 11, %207 ], [ 12, %215 ]
%221 = getelementptr inbounds [13 x i8], [13 x i8]* %4, i64 0, i64 %220
store i8 0, i8* %221
%222 = call i64 @strcmp(i8* %123, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0))
%223 = icmp eq i64 %222, 0
br i1 %223, label %254, label %224
224: ; preds = %219
%225 = call i64 @strcmp(i8* %123, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%226 = icmp eq i64 %225, 0
br i1 %226, label %254, label %227
227: ; preds = %224
%228 = call i64 @strcmp(i8* %123, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i64 0, i64 0))
%229 = icmp eq i64 %228, 0
br i1 %229, label %254, label %230
230: ; preds = %227
%231 = call i64 @strcmp(i8* %123, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.22, i64 0, i64 0))
%232 = icmp eq i64 %231, 0
br i1 %232, label %254, label %233
233: ; preds = %230
%234 = call i64 @strcmp(i8* %123, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.23, i64 0, i64 0))
%235 = icmp eq i64 %234, 0
br i1 %235, label %254, label %236
236: ; preds = %233
%237 = call i64 @strcmp(i8* %123, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.24, i64 0, i64 0))
%238 = icmp eq i64 %237, 0
br i1 %238, label %254, label %239
239: ; preds = %236
%240 = call i64 @strcmp(i8* %123, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0))
%241 = icmp eq i64 %240, 0
br i1 %241, label %254, label %242
242: ; preds = %239
%243 = call i64 @strcmp(i8* %123, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.26, i64 0, i64 0))
%244 = icmp eq i64 %243, 0
br i1 %244, label %254, label %245
245: ; preds = %242
%246 = call i64 @strcmp(i8* %123, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.27, i64 0, i64 0))
%247 = icmp eq i64 %246, 0
br i1 %247, label %254, label %248
248: ; preds = %245
%249 = call i64 @strcmp(i8* %123, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.28, i64 0, i64 0))
%250 = icmp eq i64 %249, 0
br i1 %250, label %254, label %251
251: ; preds = %248
%252 = call i64 @strcmp(i8* %123, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.29, i64 0, i64 0))
%253 = icmp eq i64 %252, 0
br i1 %253, label %254, label %263
254: ; preds = %251, %248, %245, %242, %239, %236, %233, %230, %227, %224, %219
store i32 10, i32* %1
%255 = call i32 @strlen(i8* %123)
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds i8, i8* %0, i64 %256
br label %258
258: ; preds = %258, %254
%259 = phi i8* [ %257, %254 ], [ %260, %258 ]
%260 = getelementptr inbounds i8, i8* %259, i64 1
%261 = load i8, i8* %260
%262 = icmp eq i8 %261, 10
br i1 %262, label %263, label %258
263: ; preds = %258, %251
%264 = phi i8* [ %124, %251 ], [ %260, %258 ]
br label %267
265: ; preds = %116
%266 = getelementptr inbounds i8, i8* %0, i64 1
br label %267
267: ; preds = %8, %115, %120, %265, %263, %118
%268 = phi i8* [ %22, %115 ], [ %119, %118 ], [ %121, %120 ], [ %264, %263 ], [ %266, %265 ], [ %10, %8 ]
ret i8* %268
}