#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ exit(int /*<<< orphan*/);
scalar_t__ strcmp(char *, char *);
void defineContentType(char *extension, char **type) {
  if (strcmp(extension, "") == 0) {
    exit(0);
  } else if ((strcmp(extension, ".txt") && strcmp(extension, ".TXT")) == 0) {
    *type = "text/plain";
  } else if ((strcmp(extension, ".css") && strcmp(extension, ".CSS")) == 0) {
    *type = "text/css";
  } else if ((strcmp(extension, ".sed") && strcmp(extension, ".SED")) == 0) {
    *type = "text/plain";
  } else if ((strcmp(extension, ".html") && strcmp(extension, ".HTML")) == 0) {
    *type = "text/html";
  } else if ((strcmp(extension, ".htm") && strcmp(extension, ".HTM")) == 0) {
    *type = "text/html";
  } else if ((strcmp(extension, ".awk") && strcmp(extension, ".AWK")) == 0) {
    *type = "text/plain";
  } else if ((strcmp(extension, ".c") && strcmp(extension, ".C")) == 0) {
    *type = "text/plain";
  } else if ((strcmp(extension, ".h") && strcmp(extension, ".H")) == 0) {
    *type = "text/plain";
  } else if ((strcmp(extension, ".jpeg") && strcmp(extension, ".JPEG")) == 0) {
    *type = "image/jpeg";
  } else if ((strcmp(extension, ".jpg") && strcmp(extension, ".JPG")) == 0) {
    *type = "image/jpeg";
  } else if ((strcmp(extension, ".gif") && strcmp(extension, ".GIF")) == 0) {
    *type = "image/gif";
  } else if ((strcmp(extension, ".pdf") && strcmp(extension, ".PDF")) == 0) {
    *type = "application/pdf";
  } else {
    *type = "application/octet-stream";
  }
}


x86 assembly (clang, -O0):
<defineContentType>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xf26(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1151 <defineContentType+0x31>
xor    %edi,%edi
call   1040 <exit@plt>
mov    -0x8(%rbp),%rdi
lea    0xea4(%rip),%rsi
call   1030 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    $0x0,%rcx
mov    %al,-0x11(%rbp)
je     118d <defineContentType+0x6d>
mov    -0x8(%rbp),%rdi
lea    0xe87(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x11(%rbp)
mov    -0x11(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
cmp    $0x0,%eax
jne    11b1 <defineContentType+0x91>
mov    -0x10(%rbp),%rax
lea    0xe61(%rip),%rcx
mov    %rcx,(%rax)
jmp    1616 <defineContentType+0x4f6>
mov    -0x8(%rbp),%rdi
lea    0xe59(%rip),%rsi
call   1030 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    $0x0,%rcx
mov    %al,-0x12(%rbp)
je     11ed <defineContentType+0xcd>
mov    -0x8(%rbp),%rdi
lea    0xe3c(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x12(%rbp)
mov    -0x12(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
cmp    $0x0,%eax
jne    1211 <defineContentType+0xf1>
mov    -0x10(%rbp),%rax
lea    0xe16(%rip),%rcx
mov    %rcx,(%rax)
jmp    1611 <defineContentType+0x4f1>
mov    -0x8(%rbp),%rdi
lea    0xe0c(%rip),%rsi
call   1030 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    $0x0,%rcx
mov    %al,-0x13(%rbp)
je     124d <defineContentType+0x12d>
mov    -0x8(%rbp),%rdi
lea    0xdef(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x13(%rbp)
mov    -0x13(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
cmp    $0x0,%eax
jne    1271 <defineContentType+0x151>
mov    -0x10(%rbp),%rax
lea    0xda1(%rip),%rcx
mov    %rcx,(%rax)
jmp    160c <defineContentType+0x4ec>
mov    -0x8(%rbp),%rdi
lea    0xdb6(%rip),%rsi
call   1030 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    $0x0,%rcx
mov    %al,-0x14(%rbp)
je     12ad <defineContentType+0x18d>
mov    -0x8(%rbp),%rdi
lea    0xd9a(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x14(%rbp)
mov    -0x14(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
cmp    $0x0,%eax
jne    12d1 <defineContentType+0x1b1>
mov    -0x10(%rbp),%rax
lea    0xd75(%rip),%rcx
mov    %rcx,(%rax)
jmp    1607 <defineContentType+0x4e7>
mov    -0x8(%rbp),%rdi
lea    0xd6c(%rip),%rsi
call   1030 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    $0x0,%rcx
mov    %al,-0x15(%rbp)
je     130d <defineContentType+0x1ed>
mov    -0x8(%rbp),%rdi
lea    0xd4f(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x15(%rbp)
mov    -0x15(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
cmp    $0x0,%eax
jne    1331 <defineContentType+0x211>
mov    -0x10(%rbp),%rax
lea    0xd15(%rip),%rcx
mov    %rcx,(%rax)
jmp    1602 <defineContentType+0x4e2>
mov    -0x8(%rbp),%rdi
lea    0xd16(%rip),%rsi
call   1030 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    $0x0,%rcx
mov    %al,-0x16(%rbp)
je     136d <defineContentType+0x24d>
mov    -0x8(%rbp),%rdi
lea    0xcf9(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x16(%rbp)
mov    -0x16(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
cmp    $0x0,%eax
jne    1391 <defineContentType+0x271>
mov    -0x10(%rbp),%rax
lea    0xc81(%rip),%rcx
mov    %rcx,(%rax)
jmp    15fd <defineContentType+0x4dd>
mov    -0x8(%rbp),%rdi
lea    0xcc0(%rip),%rsi
call   1030 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    $0x0,%rcx
mov    %al,-0x17(%rbp)
je     13cd <defineContentType+0x2ad>
mov    -0x8(%rbp),%rdi
lea    0xca1(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x17(%rbp)
mov    -0x17(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
cmp    $0x0,%eax
jne    13f1 <defineContentType+0x2d1>
mov    -0x10(%rbp),%rax
lea    0xc21(%rip),%rcx
mov    %rcx,(%rax)
jmp    15f8 <defineContentType+0x4d8>
mov    -0x8(%rbp),%rdi
lea    0xc66(%rip),%rsi
call   1030 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    $0x0,%rcx
mov    %al,-0x18(%rbp)
je     142d <defineContentType+0x30d>
mov    -0x8(%rbp),%rdi
lea    0xc47(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x18(%rbp)
mov    -0x18(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
cmp    $0x0,%eax
jne    1451 <defineContentType+0x331>
mov    -0x10(%rbp),%rax
lea    0xbc1(%rip),%rcx
mov    %rcx,(%rax)
jmp    15f3 <defineContentType+0x4d3>
mov    -0x8(%rbp),%rdi
lea    0xc0c(%rip),%rsi
call   1030 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    $0x0,%rcx
mov    %al,-0x19(%rbp)
je     148d <defineContentType+0x36d>
mov    -0x8(%rbp),%rdi
lea    0xbf0(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x19(%rbp)
mov    -0x19(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
cmp    $0x0,%eax
jne    14b1 <defineContentType+0x391>
mov    -0x10(%rbp),%rax
lea    0xbcb(%rip),%rcx
mov    %rcx,(%rax)
jmp    15ee <defineContentType+0x4ce>
mov    -0x8(%rbp),%rdi
lea    0xbc3(%rip),%rsi
call   1030 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    $0x0,%rcx
mov    %al,-0x1a(%rbp)
je     14ed <defineContentType+0x3cd>
mov    -0x8(%rbp),%rdi
lea    0xba6(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x1a(%rbp)
mov    -0x1a(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
cmp    $0x0,%eax
jne    1511 <defineContentType+0x3f1>
mov    -0x10(%rbp),%rax
lea    0xb6b(%rip),%rcx
mov    %rcx,(%rax)
jmp    15e9 <defineContentType+0x4c9>
mov    -0x8(%rbp),%rdi
lea    0xb6d(%rip),%rsi
call   1030 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    $0x0,%rcx
mov    %al,-0x1b(%rbp)
je     154d <defineContentType+0x42d>
mov    -0x8(%rbp),%rdi
lea    0xb50(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x1b(%rbp)
mov    -0x1b(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
cmp    $0x0,%eax
jne    1571 <defineContentType+0x451>
mov    -0x10(%rbp),%rax
lea    0xb2a(%rip),%rcx
mov    %rcx,(%rax)
jmp    15e4 <defineContentType+0x4c4>
mov    -0x8(%rbp),%rdi
lea    0xb21(%rip),%rsi
call   1030 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    $0x0,%rcx
mov    %al,-0x1c(%rbp)
je     15ad <defineContentType+0x48d>
mov    -0x8(%rbp),%rdi
lea    0xb04(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x1c(%rbp)
mov    -0x1c(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
cmp    $0x0,%eax
jne    15d1 <defineContentType+0x4b1>
mov    -0x10(%rbp),%rax
lea    0xade(%rip),%rcx
mov    %rcx,(%rax)
jmp    15df <defineContentType+0x4bf>
mov    -0x10(%rbp),%rax
lea    0xadb(%rip),%rcx
mov    %rcx,(%rax)
jmp    15e4 <defineContentType+0x4c4>
jmp    15e9 <defineContentType+0x4c9>
jmp    15ee <defineContentType+0x4ce>
jmp    15f3 <defineContentType+0x4d3>
jmp    15f8 <defineContentType+0x4d8>
jmp    15fd <defineContentType+0x4dd>
jmp    1602 <defineContentType+0x4e2>
jmp    1607 <defineContentType+0x4e7>
jmp    160c <defineContentType+0x4ec>
jmp    1611 <defineContentType+0x4f1>
jmp    1616 <defineContentType+0x4f6>
jmp    161b <defineContentType+0x4fb>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<defineContentType>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%rbx
lea    0xf2c(%rip),%rsi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13c2 <defineContentType+0x2a2>
lea    0xeb6(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
lea    0xeb1(%rip),%r15
test   %rax,%rax
je     13a7 <defineContentType+0x287>
lea    0xe9c(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13a7 <defineContentType+0x287>
lea    0xe94(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
lea    0xe8f(%rip),%r12
test   %rax,%rax
je     13aa <defineContentType+0x28a>
lea    0xe7a(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13aa <defineContentType+0x28a>
lea    0xe70(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13a7 <defineContentType+0x287>
lea    0xe5d(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13a7 <defineContentType+0x287>
lea    0xe4a(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
lea    0xe47(%rip),%r12
test   %rax,%rax
je     13aa <defineContentType+0x28a>
lea    0xe31(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13aa <defineContentType+0x28a>
lea    0xe29(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13aa <defineContentType+0x28a>
lea    0xe16(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13aa <defineContentType+0x28a>
lea    0xe03(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13a7 <defineContentType+0x287>
lea    0xdf0(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13a7 <defineContentType+0x287>
lea    0xddd(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13a7 <defineContentType+0x287>
lea    0xdc8(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13a7 <defineContentType+0x287>
lea    0xdb3(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13a7 <defineContentType+0x287>
lea    0xd9e(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
mov    %r15,%r12
test   %rax,%rax
je     13aa <defineContentType+0x28a>
lea    0xd86(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
lea    0xd83(%rip),%r12
test   %rax,%rax
je     13aa <defineContentType+0x28a>
lea    0xd6d(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13aa <defineContentType+0x28a>
lea    0xd66(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13aa <defineContentType+0x28a>
lea    0xd53(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13aa <defineContentType+0x28a>
lea    0xd44(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
lea    0xd3f(%rip),%r12
test   %rax,%rax
je     13aa <defineContentType+0x28a>
lea    0xd2e(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13aa <defineContentType+0x28a>
lea    0xd29(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     13b9 <defineContentType+0x299>
lea    0xd1a(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
lea    0xd0d(%rip),%rax
lea    0xd16(%rip),%r12
cmove  %rax,%r12
jmp    13aa <defineContentType+0x28a>
mov    %r15,%r12
mov    %r12,(%r14)
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret
lea    0xce7(%rip),%r12
jmp    13aa <defineContentType+0x28a>
xor    %edi,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [1 x i8] zeroinitializer
@.str.1 = [5 x i8] c".txt\00"
@.str.2 = [5 x i8] c".TXT\00"
@.str.3 = [11 x i8] c"text/plain\00"
@.str.4 = [5 x i8] c".css\00"
@.str.5 = [5 x i8] c".CSS\00"
@.str.6 = [9 x i8] c"text/css\00"
@.str.7 = [5 x i8] c".sed\00"
@.str.8 = [5 x i8] c".SED\00"
@.str.9 = [6 x i8] c".html\00"
@.str.10 = [6 x i8] c".HTML\00"
@.str.11 = [10 x i8] c"text/html\00"
@.str.12 = [5 x i8] c".htm\00"
@.str.13 = [5 x i8] c".HTM\00"
@.str.14 = [5 x i8] c".awk\00"
@.str.15 = [5 x i8] c".AWK\00"
@.str.16 = [3 x i8] c".c\00"
@.str.17 = [3 x i8] c".C\00"
@.str.18 = [3 x i8] c".h\00"
@.str.19 = [3 x i8] c".H\00"
@.str.20 = [6 x i8] c".jpeg\00"
@.str.21 = [6 x i8] c".JPEG\00"
@.str.22 = [11 x i8] c"image/jpeg\00"
@.str.23 = [5 x i8] c".jpg\00"
@.str.24 = [5 x i8] c".JPG\00"
@.str.25 = [5 x i8] c".gif\00"
@.str.26 = [5 x i8] c".GIF\00"
@.str.27 = [10 x i8] c"image/gif\00"
@.str.28 = [5 x i8] c".pdf\00"
@.str.29 = [5 x i8] c".PDF\00"
@.str.30 = [16 x i8] c"application/pdf\00"
@.str.31 = [25 x i8] c"application/octet-stream\00"
define void @defineContentType(i8* %0, i8** %1) {
%3 = alloca i8*
%4 = alloca i8**
store i8* %0, i8** %3
store i8** %1, i8*** %4
%5 = load i8*, i8** %3
%6 = call i64 @strcmp(i8* %5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = call i32 @exit(i32 0)
unreachable
10: ; preds = %2
%11 = load i8*, i8** %3
%12 = call i64 @strcmp(i8* %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = load i8*, i8** %3
%16 = call i64 @strcmp(i8* %15, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%17 = icmp ne i64 %16, 0
br label %18
18: ; preds = %14, %10
%19 = phi i1 [ false, %10 ], [ %17, %14 ]
%20 = zext i1 %19 to i32
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %18
%23 = load i8**, i8*** %4
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8** %23
br label %191
24: ; preds = %18
%25 = load i8*, i8** %3
%26 = call i64 @strcmp(i8* %25, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %24
%29 = load i8*, i8** %3
%30 = call i64 @strcmp(i8* %29, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%31 = icmp ne i64 %30, 0
br label %32
32: ; preds = %28, %24
%33 = phi i1 [ false, %24 ], [ %31, %28 ]
%34 = zext i1 %33 to i32
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = load i8**, i8*** %4
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i8** %37
br label %190
38: ; preds = %32
%39 = load i8*, i8** %3
%40 = call i64 @strcmp(i8* %39, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %38
%43 = load i8*, i8** %3
%44 = call i64 @strcmp(i8* %43, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%45 = icmp ne i64 %44, 0
br label %46
46: ; preds = %42, %38
%47 = phi i1 [ false, %38 ], [ %45, %42 ]
%48 = zext i1 %47 to i32
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %46
%51 = load i8**, i8*** %4
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8** %51
br label %189
52: ; preds = %46
%53 = load i8*, i8** %3
%54 = call i64 @strcmp(i8* %53, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%55 = icmp ne i64 %54, 0
br i1 %55, label %56, label %60
56: ; preds = %52
%57 = load i8*, i8** %3
%58 = call i64 @strcmp(i8* %57, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
%59 = icmp ne i64 %58, 0
br label %60
60: ; preds = %56, %52
%61 = phi i1 [ false, %52 ], [ %59, %56 ]
%62 = zext i1 %61 to i32
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %66
64: ; preds = %60
%65 = load i8**, i8*** %4
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i8** %65
br label %188
66: ; preds = %60
%67 = load i8*, i8** %3
%68 = call i64 @strcmp(i8* %67, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %74
70: ; preds = %66
%71 = load i8*, i8** %3
%72 = call i64 @strcmp(i8* %71, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%73 = icmp ne i64 %72, 0
br label %74
74: ; preds = %70, %66
%75 = phi i1 [ false, %66 ], [ %73, %70 ]
%76 = zext i1 %75 to i32
%77 = icmp eq i32 %76, 0
br i1 %77, label %78, label %80
78: ; preds = %74
%79 = load i8**, i8*** %4
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i8** %79
br label %187
80: ; preds = %74
%81 = load i8*, i8** %3
%82 = call i64 @strcmp(i8* %81, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0))
%83 = icmp ne i64 %82, 0
br i1 %83, label %84, label %88
84: ; preds = %80
%85 = load i8*, i8** %3
%86 = call i64 @strcmp(i8* %85, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0))
%87 = icmp ne i64 %86, 0
br label %88
88: ; preds = %84, %80
%89 = phi i1 [ false, %80 ], [ %87, %84 ]
%90 = zext i1 %89 to i32
%91 = icmp eq i32 %90, 0
br i1 %91, label %92, label %94
92: ; preds = %88
%93 = load i8**, i8*** %4
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8** %93
br label %186
94: ; preds = %88
%95 = load i8*, i8** %3
%96 = call i64 @strcmp(i8* %95, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.16, i64 0, i64 0))
%97 = icmp ne i64 %96, 0
br i1 %97, label %98, label %102
98: ; preds = %94
%99 = load i8*, i8** %3
%100 = call i64 @strcmp(i8* %99, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0))
%101 = icmp ne i64 %100, 0
br label %102
102: ; preds = %98, %94
%103 = phi i1 [ false, %94 ], [ %101, %98 ]
%104 = zext i1 %103 to i32
%105 = icmp eq i32 %104, 0
br i1 %105, label %106, label %108
106: ; preds = %102
%107 = load i8**, i8*** %4
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8** %107
br label %185
108: ; preds = %102
%109 = load i8*, i8** %3
%110 = call i64 @strcmp(i8* %109, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0))
%111 = icmp ne i64 %110, 0
br i1 %111, label %112, label %116
112: ; preds = %108
%113 = load i8*, i8** %3
%114 = call i64 @strcmp(i8* %113, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.19, i64 0, i64 0))
%115 = icmp ne i64 %114, 0
br label %116
116: ; preds = %112, %108
%117 = phi i1 [ false, %108 ], [ %115, %112 ]
%118 = zext i1 %117 to i32
%119 = icmp eq i32 %118, 0
br i1 %119, label %120, label %122
120: ; preds = %116
%121 = load i8**, i8*** %4
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8** %121
br label %184
122: ; preds = %116
%123 = load i8*, i8** %3
%124 = call i64 @strcmp(i8* %123, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.20, i64 0, i64 0))
%125 = icmp ne i64 %124, 0
br i1 %125, label %126, label %130
126: ; preds = %122
%127 = load i8*, i8** %3
%128 = call i64 @strcmp(i8* %127, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.21, i64 0, i64 0))
%129 = icmp ne i64 %128, 0
br label %130
130: ; preds = %126, %122
%131 = phi i1 [ false, %122 ], [ %129, %126 ]
%132 = zext i1 %131 to i32
%133 = icmp eq i32 %132, 0
br i1 %133, label %134, label %136
134: ; preds = %130
%135 = load i8**, i8*** %4
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.22, i64 0, i64 0), i8** %135
br label %183
136: ; preds = %130
%137 = load i8*, i8** %3
%138 = call i64 @strcmp(i8* %137, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0))
%139 = icmp ne i64 %138, 0
br i1 %139, label %140, label %144
140: ; preds = %136
%141 = load i8*, i8** %3
%142 = call i64 @strcmp(i8* %141, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.24, i64 0, i64 0))
%143 = icmp ne i64 %142, 0
br label %144
144: ; preds = %140, %136
%145 = phi i1 [ false, %136 ], [ %143, %140 ]
%146 = zext i1 %145 to i32
%147 = icmp eq i32 %146, 0
br i1 %147, label %148, label %150
148: ; preds = %144
%149 = load i8**, i8*** %4
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.22, i64 0, i64 0), i8** %149
br label %182
150: ; preds = %144
%151 = load i8*, i8** %3
%152 = call i64 @strcmp(i8* %151, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.25, i64 0, i64 0))
%153 = icmp ne i64 %152, 0
br i1 %153, label %154, label %158
154: ; preds = %150
%155 = load i8*, i8** %3
%156 = call i64 @strcmp(i8* %155, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.26, i64 0, i64 0))
%157 = icmp ne i64 %156, 0
br label %158
158: ; preds = %154, %150
%159 = phi i1 [ false, %150 ], [ %157, %154 ]
%160 = zext i1 %159 to i32
%161 = icmp eq i32 %160, 0
br i1 %161, label %162, label %164
162: ; preds = %158
%163 = load i8**, i8*** %4
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), i8** %163
br label %181
164: ; preds = %158
%165 = load i8*, i8** %3
%166 = call i64 @strcmp(i8* %165, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.28, i64 0, i64 0))
%167 = icmp ne i64 %166, 0
br i1 %167, label %168, label %172
168: ; preds = %164
%169 = load i8*, i8** %3
%170 = call i64 @strcmp(i8* %169, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.29, i64 0, i64 0))
%171 = icmp ne i64 %170, 0
br label %172
172: ; preds = %168, %164
%173 = phi i1 [ false, %164 ], [ %171, %168 ]
%174 = zext i1 %173 to i32
%175 = icmp eq i32 %174, 0
br i1 %175, label %176, label %178
176: ; preds = %172
%177 = load i8**, i8*** %4
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.30, i64 0, i64 0), i8** %177
br label %180
178: ; preds = %172
%179 = load i8**, i8*** %4
store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.31, i64 0, i64 0), i8** %179
br label %180
180: ; preds = %178, %176
br label %181
181: ; preds = %180, %162
br label %182
182: ; preds = %181, %148
br label %183
183: ; preds = %182, %134
br label %184
184: ; preds = %183, %120
br label %185
185: ; preds = %184, %106
br label %186
186: ; preds = %185, %92
br label %187
187: ; preds = %186, %78
br label %188
188: ; preds = %187, %64
br label %189
189: ; preds = %188, %50
br label %190
190: ; preds = %189, %36
br label %191
191: ; preds = %190, %22
br label %192
192: ; preds = %191
ret void
}

LLVM IR (-O2):
@.str = [1 x i8] zeroinitializer
@.str.1 = [5 x i8] c".txt\00"
@.str.2 = [5 x i8] c".TXT\00"
@.str.3 = [11 x i8] c"text/plain\00"
@.str.4 = [5 x i8] c".css\00"
@.str.5 = [5 x i8] c".CSS\00"
@.str.6 = [9 x i8] c"text/css\00"
@.str.7 = [5 x i8] c".sed\00"
@.str.8 = [5 x i8] c".SED\00"
@.str.9 = [6 x i8] c".html\00"
@.str.10 = [6 x i8] c".HTML\00"
@.str.11 = [10 x i8] c"text/html\00"
@.str.12 = [5 x i8] c".htm\00"
@.str.13 = [5 x i8] c".HTM\00"
@.str.14 = [5 x i8] c".awk\00"
@.str.15 = [5 x i8] c".AWK\00"
@.str.16 = [3 x i8] c".c\00"
@.str.17 = [3 x i8] c".C\00"
@.str.18 = [3 x i8] c".h\00"
@.str.19 = [3 x i8] c".H\00"
@.str.20 = [6 x i8] c".jpeg\00"
@.str.21 = [6 x i8] c".JPEG\00"
@.str.22 = [11 x i8] c"image/jpeg\00"
@.str.23 = [5 x i8] c".jpg\00"
@.str.24 = [5 x i8] c".JPG\00"
@.str.25 = [5 x i8] c".gif\00"
@.str.26 = [5 x i8] c".GIF\00"
@.str.27 = [10 x i8] c"image/gif\00"
@.str.28 = [5 x i8] c".pdf\00"
@.str.29 = [5 x i8] c".PDF\00"
@.str.30 = [16 x i8] c"application/pdf\00"
@.str.31 = [25 x i8] c"application/octet-stream\00"
define void @defineContentType(i8* %0, i8** nocapture writeonly %1) {
%3 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = tail call i32 @exit(i32 0)
unreachable
7: ; preds = %2
%8 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, 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 ([5 x i8], [5 x i8]* @.str.2, 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 ([5 x i8], [5 x i8]* @.str.4, 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 ([5 x i8], [5 x i8]* @.str.5, 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 ([5 x i8], [5 x i8]* @.str.7, 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 ([5 x i8], [5 x i8]* @.str.8, 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 ([6 x i8], [6 x i8]* @.str.9, 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 ([6 x i8], [6 x i8]* @.str.10, 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 ([5 x i8], [5 x i8]* @.str.12, 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 ([5 x i8], [5 x i8]* @.str.13, 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 ([5 x i8], [5 x i8]* @.str.14, 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 ([5 x i8], [5 x i8]* @.str.15, 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.16, 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 ([3 x i8], [3 x i8]* @.str.17, 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 ([3 x i8], [3 x i8]* @.str.18, 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.19, 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 ([6 x i8], [6 x i8]* @.str.20, 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 ([6 x i8], [6 x i8]* @.str.21, 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 ([5 x i8], [5 x i8]* @.str.23, 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 ([5 x i8], [5 x i8]* @.str.24, 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 ([5 x i8], [5 x i8]* @.str.25, 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 ([5 x i8], [5 x i8]* @.str.26, 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 ([5 x i8], [5 x i8]* @.str.28, 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 ([5 x i8], [5 x i8]* @.str.29, i64 0, i64 0))
%78 = icmp eq i64 %77, 0
%79 = select i1 %78, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.30, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.31, i64 0, i64 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
%81 = phi i8* [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), %7 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), %10 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), %13 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), %16 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), %19 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), %22 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), %25 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), %28 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), %31 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), %34 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), %37 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), %40 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), %43 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), %46 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), %49 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), %52 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.22, i64 0, i64 0), %55 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.22, i64 0, i64 0), %58 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.22, i64 0, i64 0), %61 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.22, i64 0, i64 0), %64 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), %67 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), %70 ], [ getelementptr inbounds ([16 x i8], [16 x i8]* @.str.30, i64 0, i64 0), %73 ], [ %79, %76 ]
store i8* %81, i8** %1
ret void
}