#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__ strcmp(char const *, char *);
char code_for(const char *name) {
  if (strcmp(name, "BOOT") == 0)
    return '!';
  if (strcmp(name, "BOOT0") == 0)
    return '!';
  if (strcmp(name, "HEADER") == 0)
    return '!';
  if (strcmp(name, "CODE") == 0)
    return '0';
  if (strcmp(name, "CODE1") == 0)
    return '1';
  if (strcmp(name, "CODE2") == 0)
    return '2';
  if (strcmp(name, "CODE3") == 0)
    return '3';
  if (strcmp(name, "CODE4") == 0)
    return '4';
  if (strcmp(name, "CODE5") == 0)
    return '5';
  if (strcmp(name, "CODE6") == 0)
    return '6';
  if (strcmp(name, "VECTORS") == 0)
    return 'v';
  if (strcmp(name, "VIDEO") == 0)
    return 'V';
  if (strcmp(name, "FONT") == 0)
    return 'F';
  if (strcmp(name, "FONTCOMMON") == 0)
    return 'F';
  if (strcmp(name, "INITIALIZED") == 0)
    return 'I';
  if (strcmp(name, "HOME") == 0)
    return 'H';
  if (strcmp(name, "DISCARD") == 0)
    return 'X';
  if (strcmp(name, "DISCARD1") == 0)
    return 'X';
  if (strcmp(name, "DISCARD2") == 0)
    return 'X';
  if (strcmp(name, "DATA") == 0)
    return 'D';
  if (strcmp(name, "BUFFERS") == 0)
    return 'B';
  if (strcmp(name, "BUFFERS1") == 0)
    return 'B';
  if (strcmp(name, "BUFFERS2") == 0)
    return 'B';
  if (strcmp(name, "COMMONMEM") == 0)
    return 'S';
  if (strcmp(name, "COMMONDATA") == 0)
    return 's';
  if (strcmp(name, "CONST") == 0)
    return 'C';
  if (strcmp(name, "INITIALIZER") == 0)
    return 'i';
  if (strcmp(name, "STUBS") == 0)
    return '@';
  if (strcmp(name, "UDATA") == 0)
    return 'U';
  return '?';
}


x86 assembly (clang, -O0):
<code_for>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xed9(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    113f <code_for+0x2f>
movb   $0x21,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xebb(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1162 <code_for+0x52>
movb   $0x21,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xe9e(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1185 <code_for+0x75>
movb   $0x21,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xe82(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    11a8 <code_for+0x98>
movb   $0x30,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xe64(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    11cb <code_for+0xbb>
movb   $0x31,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xe47(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    11ee <code_for+0xde>
movb   $0x32,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xe2a(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1211 <code_for+0x101>
movb   $0x33,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xe0d(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1234 <code_for+0x124>
movb   $0x34,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xdf0(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1257 <code_for+0x147>
movb   $0x35,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xdd3(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    127a <code_for+0x16a>
movb   $0x36,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xdb6(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    129d <code_for+0x18d>
movb   $0x76,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xd9b(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    12c0 <code_for+0x1b0>
movb   $0x56,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xd7e(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    12e3 <code_for+0x1d3>
movb   $0x46,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xd60(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1306 <code_for+0x1f6>
movb   $0x46,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xd48(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1329 <code_for+0x219>
movb   $0x49,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xd31(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    134c <code_for+0x23c>
movb   $0x48,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xd13(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    136f <code_for+0x25f>
movb   $0x58,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xcf8(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1392 <code_for+0x282>
movb   $0x58,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xcde(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    13b5 <code_for+0x2a5>
movb   $0x58,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xcee(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    13d8 <code_for+0x2c8>
movb   $0x44,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xca1(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    13fb <code_for+0x2eb>
movb   $0x42,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xc86(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    141e <code_for+0x30e>
movb   $0x42,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xc6c(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1441 <code_for+0x331>
movb   $0x42,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xc52(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1464 <code_for+0x354>
movb   $0x53,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xc39(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1487 <code_for+0x377>
movb   $0x73,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xc21(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    14aa <code_for+0x39a>
movb   $0x43,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xc04(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    14cd <code_for+0x3bd>
movb   $0x69,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xbed(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    14f0 <code_for+0x3e0>
movb   $0x40,-0x1(%rbp)
jmp    1517 <code_for+0x407>
mov    -0x10(%rbp),%rdi
lea    0xbd0(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1513 <code_for+0x403>
movb   $0x55,-0x1(%rbp)
jmp    1517 <code_for+0x407>
movb   $0x3f,-0x1(%rbp)
movsbl -0x1(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<code_for>:
push   %rbp
push   %rbx
push   %rax
mov    %rdi,%rbx
lea    0xee3(%rip),%rsi
call   1030 <strcmp@plt>
mov    $0x21,%bpl
test   %rax,%rax
je     1407 <code_for+0x2f7>
lea    0xed0(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1407 <code_for+0x2f7>
lea    0xebe(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1407 <code_for+0x2f7>
lea    0xead(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13dc <code_for+0x2cc>
lea    0xe9a(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13e1 <code_for+0x2d1>
lea    0xe88(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13e6 <code_for+0x2d6>
lea    0xe76(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13eb <code_for+0x2db>
lea    0xe64(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13f0 <code_for+0x2e0>
lea    0xe52(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13f5 <code_for+0x2e5>
lea    0xe40(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13fa <code_for+0x2ea>
lea    0xe2e(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13ff <code_for+0x2ef>
lea    0xe1e(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1404 <code_for+0x2f4>
lea    0xe0c(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
mov    $0x46,%bpl
test   %rax,%rax
je     1407 <code_for+0x2f7>
lea    0xdf6(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1407 <code_for+0x2f7>
lea    0xde9(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1410 <code_for+0x300>
lea    0xddd(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1415 <code_for+0x305>
lea    0xdca(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
mov    $0x58,%bpl
test   %rax,%rax
je     1407 <code_for+0x2f7>
lea    0xdb7(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1407 <code_for+0x2f7>
lea    0xda8(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1407 <code_for+0x2f7>
lea    0xdc3(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     141a <code_for+0x30a>
lea    0xd81(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
mov    $0x42,%bpl
test   %rax,%rax
je     1407 <code_for+0x2f7>
lea    0xd6e(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1407 <code_for+0x2f7>
lea    0xd5f(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1407 <code_for+0x2f7>
lea    0xd50(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     141f <code_for+0x30f>
lea    0xd42(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1424 <code_for+0x314>
lea    0xd35(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1429 <code_for+0x319>
lea    0xd23(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     142e <code_for+0x31e>
lea    0xd17(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1433 <code_for+0x323>
lea    0xd09(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
mov    $0x55,%eax
mov    $0x3f,%ebp
cmove  %eax,%ebp
jmp    1407 <code_for+0x2f7>
mov    $0x30,%bpl
jmp    1407 <code_for+0x2f7>
mov    $0x31,%bpl
jmp    1407 <code_for+0x2f7>
mov    $0x32,%bpl
jmp    1407 <code_for+0x2f7>
mov    $0x33,%bpl
jmp    1407 <code_for+0x2f7>
mov    $0x34,%bpl
jmp    1407 <code_for+0x2f7>
mov    $0x35,%bpl
jmp    1407 <code_for+0x2f7>
mov    $0x36,%bpl
jmp    1407 <code_for+0x2f7>
mov    $0x76,%bpl
jmp    1407 <code_for+0x2f7>
mov    $0x56,%bpl
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret
mov    $0x49,%bpl
jmp    1407 <code_for+0x2f7>
mov    $0x48,%bpl
jmp    1407 <code_for+0x2f7>
mov    $0x44,%bpl
jmp    1407 <code_for+0x2f7>
mov    $0x53,%bpl
jmp    1407 <code_for+0x2f7>
mov    $0x73,%bpl
jmp    1407 <code_for+0x2f7>
mov    $0x43,%bpl
jmp    1407 <code_for+0x2f7>
mov    $0x69,%bpl
jmp    1407 <code_for+0x2f7>
mov    $0x40,%bpl
jmp    1407 <code_for+0x2f7>

LLVM IR (-O0):
@.str = [5 x i8] c"BOOT\00"
@.str.1 = [6 x i8] c"BOOT0\00"
@.str.2 = [7 x i8] c"HEADER\00"
@.str.3 = [5 x i8] c"CODE\00"
@.str.4 = [6 x i8] c"CODE1\00"
@.str.5 = [6 x i8] c"CODE2\00"
@.str.6 = [6 x i8] c"CODE3\00"
@.str.7 = [6 x i8] c"CODE4\00"
@.str.8 = [6 x i8] c"CODE5\00"
@.str.9 = [6 x i8] c"CODE6\00"
@.str.10 = [8 x i8] c"VECTORS\00"
@.str.11 = [6 x i8] c"VIDEO\00"
@.str.12 = [5 x i8] c"FONT\00"
@.str.13 = [11 x i8] c"FONTCOMMON\00"
@.str.14 = [12 x i8] c"INITIALIZED\00"
@.str.15 = [5 x i8] c"HOME\00"
@.str.16 = [8 x i8] c"DISCARD\00"
@.str.17 = [9 x i8] c"DISCARD1\00"
@.str.18 = [9 x i8] c"DISCARD2\00"
@.str.19 = [5 x i8] c"DATA\00"
@.str.20 = [8 x i8] c"BUFFERS\00"
@.str.21 = [9 x i8] c"BUFFERS1\00"
@.str.22 = [9 x i8] c"BUFFERS2\00"
@.str.23 = [10 x i8] c"COMMONMEM\00"
@.str.24 = [11 x i8] c"COMMONDATA\00"
@.str.25 = [6 x i8] c"CONST\00"
@.str.26 = [12 x i8] c"INITIALIZER\00"
@.str.27 = [6 x i8] c"STUBS\00"
@.str.28 = [6 x i8] c"UDATA\00"
define signext i8 @code_for(i8* %0) {
%2 = alloca i8
%3 = alloca i8*
store i8* %0, i8** %3
%4 = load i8*, i8** %3
%5 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i8 33, i8* %2
br label %149
8: ; preds = %1
%9 = load i8*, i8** %3
%10 = call i64 @strcmp(i8* %9, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i8 33, i8* %2
br label %149
13: ; preds = %8
%14 = load i8*, i8** %3
%15 = call i64 @strcmp(i8* %14, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i8 33, i8* %2
br label %149
18: ; preds = %13
%19 = load i8*, i8** %3
%20 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store i8 48, i8* %2
br label %149
23: ; preds = %18
%24 = load i8*, i8** %3
%25 = call i64 @strcmp(i8* %24, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %23
store i8 49, i8* %2
br label %149
28: ; preds = %23
%29 = load i8*, i8** %3
%30 = call i64 @strcmp(i8* %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %28
store i8 50, i8* %2
br label %149
33: ; preds = %28
%34 = load i8*, i8** %3
%35 = call i64 @strcmp(i8* %34, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
store i8 51, i8* %2
br label %149
38: ; preds = %33
%39 = load i8*, i8** %3
%40 = call i64 @strcmp(i8* %39, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %38
store i8 52, i8* %2
br label %149
43: ; preds = %38
%44 = load i8*, i8** %3
%45 = call i64 @strcmp(i8* %44, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %43
store i8 53, i8* %2
br label %149
48: ; preds = %43
%49 = load i8*, i8** %3
%50 = call i64 @strcmp(i8* %49, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %48
store i8 54, i8* %2
br label %149
53: ; preds = %48
%54 = load i8*, i8** %3
%55 = call i64 @strcmp(i8* %54, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %53
store i8 118, i8* %2
br label %149
58: ; preds = %53
%59 = load i8*, i8** %3
%60 = call i64 @strcmp(i8* %59, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %58
store i8 86, i8* %2
br label %149
63: ; preds = %58
%64 = load i8*, i8** %3
%65 = call i64 @strcmp(i8* %64, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %68
67: ; preds = %63
store i8 70, i8* %2
br label %149
68: ; preds = %63
%69 = load i8*, i8** %3
%70 = call i64 @strcmp(i8* %69, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0))
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %68
store i8 70, i8* %2
br label %149
73: ; preds = %68
%74 = load i8*, i8** %3
%75 = call i64 @strcmp(i8* %74, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i64 0, i64 0))
%76 = icmp eq i64 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %73
store i8 73, i8* %2
br label %149
78: ; preds = %73
%79 = load i8*, i8** %3
%80 = call i64 @strcmp(i8* %79, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0))
%81 = icmp eq i64 %80, 0
br i1 %81, label %82, label %83
82: ; preds = %78
store i8 72, i8* %2
br label %149
83: ; preds = %78
%84 = load i8*, i8** %3
%85 = call i64 @strcmp(i8* %84, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0))
%86 = icmp eq i64 %85, 0
br i1 %86, label %87, label %88
87: ; preds = %83
store i8 88, i8* %2
br label %149
88: ; preds = %83
%89 = load i8*, i8** %3
%90 = call i64 @strcmp(i8* %89, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.17, i64 0, i64 0))
%91 = icmp eq i64 %90, 0
br i1 %91, label %92, label %93
92: ; preds = %88
store i8 88, i8* %2
br label %149
93: ; preds = %88
%94 = load i8*, i8** %3
%95 = call i64 @strcmp(i8* %94, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.18, i64 0, i64 0))
%96 = icmp eq i64 %95, 0
br i1 %96, label %97, label %98
97: ; preds = %93
store i8 88, i8* %2
br label %149
98: ; preds = %93
%99 = load i8*, i8** %3
%100 = call i64 @strcmp(i8* %99, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0))
%101 = icmp eq i64 %100, 0
br i1 %101, label %102, label %103
102: ; preds = %98
store i8 68, i8* %2
br label %149
103: ; preds = %98
%104 = load i8*, i8** %3
%105 = call i64 @strcmp(i8* %104, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.20, i64 0, i64 0))
%106 = icmp eq i64 %105, 0
br i1 %106, label %107, label %108
107: ; preds = %103
store i8 66, i8* %2
br label %149
108: ; preds = %103
%109 = load i8*, i8** %3
%110 = call i64 @strcmp(i8* %109, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.21, i64 0, i64 0))
%111 = icmp eq i64 %110, 0
br i1 %111, label %112, label %113
112: ; preds = %108
store i8 66, i8* %2
br label %149
113: ; preds = %108
%114 = load i8*, i8** %3
%115 = call i64 @strcmp(i8* %114, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.22, i64 0, i64 0))
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %118
117: ; preds = %113
store i8 66, i8* %2
br label %149
118: ; preds = %113
%119 = load i8*, i8** %3
%120 = call i64 @strcmp(i8* %119, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.23, i64 0, i64 0))
%121 = icmp eq i64 %120, 0
br i1 %121, label %122, label %123
122: ; preds = %118
store i8 83, i8* %2
br label %149
123: ; preds = %118
%124 = load i8*, i8** %3
%125 = call i64 @strcmp(i8* %124, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.24, i64 0, i64 0))
%126 = icmp eq i64 %125, 0
br i1 %126, label %127, label %128
127: ; preds = %123
store i8 115, i8* %2
br label %149
128: ; preds = %123
%129 = load i8*, i8** %3
%130 = call i64 @strcmp(i8* %129, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0))
%131 = icmp eq i64 %130, 0
br i1 %131, label %132, label %133
132: ; preds = %128
store i8 67, i8* %2
br label %149
133: ; preds = %128
%134 = load i8*, i8** %3
%135 = call i64 @strcmp(i8* %134, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.26, i64 0, i64 0))
%136 = icmp eq i64 %135, 0
br i1 %136, label %137, label %138
137: ; preds = %133
store i8 105, i8* %2
br label %149
138: ; preds = %133
%139 = load i8*, i8** %3
%140 = call i64 @strcmp(i8* %139, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.27, i64 0, i64 0))
%141 = icmp eq i64 %140, 0
br i1 %141, label %142, label %143
142: ; preds = %138
store i8 64, i8* %2
br label %149
143: ; preds = %138
%144 = load i8*, i8** %3
%145 = call i64 @strcmp(i8* %144, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.28, i64 0, i64 0))
%146 = icmp eq i64 %145, 0
br i1 %146, label %147, label %148
147: ; preds = %143
store i8 85, i8* %2
br label %149
148: ; preds = %143
store i8 63, i8* %2
br label %149
149: ; preds = %148, %147, %142, %137, %132, %127, %122, %117, %112, %107, %102, %97, %92, %87, %82, %77, %72, %67, %62, %57, %52, %47, %42, %37, %32, %27, %22, %17, %12, %7
%150 = load i8, i8* %2
ret i8 %150
}

LLVM IR (-O2):
@.str = [5 x i8] c"BOOT\00"
@.str.1 = [6 x i8] c"BOOT0\00"
@.str.2 = [7 x i8] c"HEADER\00"
@.str.3 = [5 x i8] c"CODE\00"
@.str.4 = [6 x i8] c"CODE1\00"
@.str.5 = [6 x i8] c"CODE2\00"
@.str.6 = [6 x i8] c"CODE3\00"
@.str.7 = [6 x i8] c"CODE4\00"
@.str.8 = [6 x i8] c"CODE5\00"
@.str.9 = [6 x i8] c"CODE6\00"
@.str.10 = [8 x i8] c"VECTORS\00"
@.str.11 = [6 x i8] c"VIDEO\00"
@.str.12 = [5 x i8] c"FONT\00"
@.str.13 = [11 x i8] c"FONTCOMMON\00"
@.str.14 = [12 x i8] c"INITIALIZED\00"
@.str.15 = [5 x i8] c"HOME\00"
@.str.16 = [8 x i8] c"DISCARD\00"
@.str.17 = [9 x i8] c"DISCARD1\00"
@.str.18 = [9 x i8] c"DISCARD2\00"
@.str.19 = [5 x i8] c"DATA\00"
@.str.20 = [8 x i8] c"BUFFERS\00"
@.str.21 = [9 x i8] c"BUFFERS1\00"
@.str.22 = [9 x i8] c"BUFFERS2\00"
@.str.23 = [10 x i8] c"COMMONMEM\00"
@.str.24 = [11 x i8] c"COMMONDATA\00"
@.str.25 = [6 x i8] c"CONST\00"
@.str.26 = [12 x i8] c"INITIALIZER\00"
@.str.27 = [6 x i8] c"STUBS\00"
@.str.28 = [6 x i8] c"UDATA\00"
define signext i8 @code_for(i8* %0) {
%2 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%3 = icmp eq i64 %2, 0
br i1 %3, label %89, label %4
4: ; preds = %1
%5 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%6 = icmp eq i64 %5, 0
br i1 %6, label %89, label %7
7: ; preds = %4
%8 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%9 = icmp eq i64 %8, 0
br i1 %9, label %89, label %10
10: ; preds = %7
%11 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%12 = icmp eq i64 %11, 0
br i1 %12, label %89, label %13
13: ; preds = %10
%14 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%15 = icmp eq i64 %14, 0
br i1 %15, label %89, label %16
16: ; preds = %13
%17 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%18 = icmp eq i64 %17, 0
br i1 %18, label %89, label %19
19: ; preds = %16
%20 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%21 = icmp eq i64 %20, 0
br i1 %21, label %89, label %22
22: ; preds = %19
%23 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%24 = icmp eq i64 %23, 0
br i1 %24, label %89, label %25
25: ; preds = %22
%26 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%27 = icmp eq i64 %26, 0
br i1 %27, label %89, label %28
28: ; preds = %25
%29 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%30 = icmp eq i64 %29, 0
br i1 %30, label %89, label %31
31: ; preds = %28
%32 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
%33 = icmp eq i64 %32, 0
br i1 %33, label %89, label %34
34: ; preds = %31
%35 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
br i1 %36, label %89, label %37
37: ; preds = %34
%38 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
br i1 %39, label %89, label %40
40: ; preds = %37
%41 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0))
%42 = icmp eq i64 %41, 0
br i1 %42, label %89, label %43
43: ; preds = %40
%44 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i64 0, i64 0))
%45 = icmp eq i64 %44, 0
br i1 %45, label %89, label %46
46: ; preds = %43
%47 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0))
%48 = icmp eq i64 %47, 0
br i1 %48, label %89, label %49
49: ; preds = %46
%50 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0))
%51 = icmp eq i64 %50, 0
br i1 %51, label %89, label %52
52: ; preds = %49
%53 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.17, i64 0, i64 0))
%54 = icmp eq i64 %53, 0
br i1 %54, label %89, label %55
55: ; preds = %52
%56 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.18, i64 0, i64 0))
%57 = icmp eq i64 %56, 0
br i1 %57, label %89, label %58
58: ; preds = %55
%59 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0))
%60 = icmp eq i64 %59, 0
br i1 %60, label %89, label %61
61: ; preds = %58
%62 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.20, i64 0, i64 0))
%63 = icmp eq i64 %62, 0
br i1 %63, label %89, label %64
64: ; preds = %61
%65 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.21, i64 0, i64 0))
%66 = icmp eq i64 %65, 0
br i1 %66, label %89, label %67
67: ; preds = %64
%68 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.22, i64 0, i64 0))
%69 = icmp eq i64 %68, 0
br i1 %69, label %89, label %70
70: ; preds = %67
%71 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.23, i64 0, i64 0))
%72 = icmp eq i64 %71, 0
br i1 %72, label %89, label %73
73: ; preds = %70
%74 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.24, i64 0, i64 0))
%75 = icmp eq i64 %74, 0
br i1 %75, label %89, label %76
76: ; preds = %73
%77 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0))
%78 = icmp eq i64 %77, 0
br i1 %78, label %89, label %79
79: ; preds = %76
%80 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.26, i64 0, i64 0))
%81 = icmp eq i64 %80, 0
br i1 %81, label %89, label %82
82: ; preds = %79
%83 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.27, i64 0, i64 0))
%84 = icmp eq i64 %83, 0
br i1 %84, label %89, label %85
85: ; preds = %82
%86 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.28, i64 0, i64 0))
%87 = icmp eq i64 %86, 0
%88 = select i1 %87, i8 85, i8 63
br label %89
89: ; preds = %85, %82, %79, %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
%90 = phi i8 [ 33, %1 ], [ 33, %4 ], [ 33, %7 ], [ 48, %10 ], [ 49, %13 ], [ 50, %16 ], [ 51, %19 ], [ 52, %22 ], [ 53, %25 ], [ 54, %28 ], [ 118, %31 ], [ 86, %34 ], [ 70, %37 ], [ 70, %40 ], [ 73, %43 ], [ 72, %46 ], [ 88, %49 ], [ 88, %52 ], [ 88, %55 ], [ 68, %58 ], [ 66, %61 ], [ 66, %64 ], [ 66, %67 ], [ 83, %70 ], [ 115, %73 ], [ 67, %76 ], [ 105, %79 ], [ 64, %82 ], [ %88, %85 ]
ret i8 %90
}