#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*/ strToUtf8(char *, char *, int, int, int /*<<< orphan*/ *);
scalar_t__ strcmpi(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
scalar_t__ stricmp(char *, char *);
char *FileExtensionToUpnpClass(char *extension, int wide) {
  char tempExtension[10], temp2[10];
  char *retVal = NULL;
  if (wide) {
    strToUtf8(temp2, extension, 10, 1, NULL);
    extension = temp2;
  }
  if (extension[0] != '.') {
    tempExtension[0] = '.';
    strcpy(tempExtension + 1, extension);
    extension = tempExtension;
  }
  if (stricmp(extension, ".mp3") == 0) {
    retVal = "object.item.audioItem";
  } else if (stricmp(extension, ".wma") == 0) {
    retVal = "object.item.audioItem";
  } else if (stricmp(extension, ".ogg") == 0) {
    retVal = "object.item.audioItem";
  } else if (stricmp(extension, ".asf") == 0) {
    retVal = "object.item.videoItem";
  } else if (stricmp(extension, ".wmv") == 0) {
    retVal = "object.item.videoItem";
  } else if (stricmp(extension, ".mpg") == 0) {
    retVal = "object.item.videoItem";
  } else if (stricmp(extension, ".mov") == 0) {
    retVal = "object.item.videoItem";
  } else if (stricmp(extension, ".jpg") == 0) {
    retVal = "object.item.imageItem";
  } else if (stricmp(extension, ".jpeg") == 0) {
    retVal = "object.item.imageItem";
  } else if (stricmp(extension, ".bmp") == 0) {
    retVal = "object.item.imageItem";
  } else if (strcmpi(extension, ".m3u") == 0) {
    retVal = "object.container.playlistContainer";
  } else if (stricmp(extension, ".asx") == 0) {
    retVal = "object.container.playlistContainer";
  } else {
    retVal = "object.item";
  }
  return retVal;
}


x86 assembly (clang, -O0):
<FileExtensionToUpnpClass>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
movq   $0x0,-0x28(%rbp)
cmpl   $0x0,-0xc(%rbp)
je     1185 <FileExtensionToUpnpClass+0x45>
lea    -0x20(%rbp),%rdi
mov    -0x8(%rbp),%rsi
mov    $0xa,%edx
mov    $0x1,%ecx
xor    %eax,%eax
mov    %eax,%r8d
call   1060 <strToUtf8@plt>
lea    -0x20(%rbp),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x2e,%eax
je     11b2 <FileExtensionToUpnpClass+0x72>
movb   $0x2e,-0x16(%rbp)
lea    -0x16(%rbp),%rdi
add    $0x1,%rdi
mov    -0x8(%rbp),%rsi
call   1030 <strcpy@plt>
lea    -0x16(%rbp),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xe43(%rip),%rsi
call   1040 <stricmp@plt>
cmp    $0x0,%rax
jne    11dc <FileExtensionToUpnpClass+0x9c>
lea    0xe32(%rip),%rax
mov    %rax,-0x28(%rbp)
jmp    13ec <FileExtensionToUpnpClass+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xe34(%rip),%rsi
call   1040 <stricmp@plt>
cmp    $0x0,%rax
jne    1206 <FileExtensionToUpnpClass+0xc6>
lea    0xe08(%rip),%rax
mov    %rax,-0x28(%rbp)
jmp    13e7 <FileExtensionToUpnpClass+0x2a7>
mov    -0x8(%rbp),%rdi
lea    0xe0f(%rip),%rsi
call   1040 <stricmp@plt>
cmp    $0x0,%rax
jne    1230 <FileExtensionToUpnpClass+0xf0>
lea    0xdde(%rip),%rax
mov    %rax,-0x28(%rbp)
jmp    13e2 <FileExtensionToUpnpClass+0x2a2>
mov    -0x8(%rbp),%rdi
lea    0xdea(%rip),%rsi
call   1040 <stricmp@plt>
cmp    $0x0,%rax
jne    125a <FileExtensionToUpnpClass+0x11a>
lea    0xdd9(%rip),%rax
mov    %rax,-0x28(%rbp)
jmp    13dd <FileExtensionToUpnpClass+0x29d>
mov    -0x8(%rbp),%rdi
lea    0xddb(%rip),%rsi
call   1040 <stricmp@plt>
cmp    $0x0,%rax
jne    1284 <FileExtensionToUpnpClass+0x144>
lea    0xdaf(%rip),%rax
mov    %rax,-0x28(%rbp)
jmp    13d8 <FileExtensionToUpnpClass+0x298>
mov    -0x8(%rbp),%rdi
lea    0xdb6(%rip),%rsi
call   1040 <stricmp@plt>
cmp    $0x0,%rax
jne    12ae <FileExtensionToUpnpClass+0x16e>
lea    0xd85(%rip),%rax
mov    %rax,-0x28(%rbp)
jmp    13d3 <FileExtensionToUpnpClass+0x293>
mov    -0x8(%rbp),%rdi
lea    0xd91(%rip),%rsi
call   1040 <stricmp@plt>
cmp    $0x0,%rax
jne    12d8 <FileExtensionToUpnpClass+0x198>
lea    0xd5b(%rip),%rax
mov    %rax,-0x28(%rbp)
jmp    13ce <FileExtensionToUpnpClass+0x28e>
mov    -0x8(%rbp),%rdi
lea    0xd6c(%rip),%rsi
call   1040 <stricmp@plt>
cmp    $0x0,%rax
jne    1302 <FileExtensionToUpnpClass+0x1c2>
lea    0xd5b(%rip),%rax
mov    %rax,-0x28(%rbp)
jmp    13c9 <FileExtensionToUpnpClass+0x289>
mov    -0x8(%rbp),%rdi
lea    0xd5d(%rip),%rsi
call   1040 <stricmp@plt>
cmp    $0x0,%rax
jne    132c <FileExtensionToUpnpClass+0x1ec>
lea    0xd31(%rip),%rax
mov    %rax,-0x28(%rbp)
jmp    13c4 <FileExtensionToUpnpClass+0x284>
mov    -0x8(%rbp),%rdi
lea    0xd39(%rip),%rsi
call   1040 <stricmp@plt>
cmp    $0x0,%rax
jne    1356 <FileExtensionToUpnpClass+0x216>
lea    0xd07(%rip),%rax
mov    %rax,-0x28(%rbp)
jmp    13bf <FileExtensionToUpnpClass+0x27f>
mov    -0x8(%rbp),%rdi
lea    0xd14(%rip),%rsi
call   1050 <strcmpi@plt>
cmp    $0x0,%rax
jne    1380 <FileExtensionToUpnpClass+0x240>
lea    0xd03(%rip),%rax
mov    %rax,-0x28(%rbp)
jmp    13ba <FileExtensionToUpnpClass+0x27a>
mov    -0x8(%rbp),%rdi
lea    0xd12(%rip),%rsi
call   1040 <stricmp@plt>
cmp    $0x0,%rax
jne    13aa <FileExtensionToUpnpClass+0x26a>
lea    0xcd9(%rip),%rax
mov    %rax,-0x28(%rbp)
jmp    13b5 <FileExtensionToUpnpClass+0x275>
lea    0xcf1(%rip),%rax
mov    %rax,-0x28(%rbp)
jmp    13ba <FileExtensionToUpnpClass+0x27a>
jmp    13bf <FileExtensionToUpnpClass+0x27f>
jmp    13c4 <FileExtensionToUpnpClass+0x284>
jmp    13c9 <FileExtensionToUpnpClass+0x289>
jmp    13ce <FileExtensionToUpnpClass+0x28e>
jmp    13d3 <FileExtensionToUpnpClass+0x293>
jmp    13d8 <FileExtensionToUpnpClass+0x298>
jmp    13dd <FileExtensionToUpnpClass+0x29d>
jmp    13e2 <FileExtensionToUpnpClass+0x2a2>
jmp    13e7 <FileExtensionToUpnpClass+0x2a7>
jmp    13ec <FileExtensionToUpnpClass+0x2ac>
mov    -0x28(%rbp),%rax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<FileExtensionToUpnpClass>:
push   %r14
push   %rbx
sub    $0x18,%rsp
mov    %rdi,%rbx
test   %esi,%esi
je     116e <FileExtensionToUpnpClass+0x2e>
lea    0xe(%rsp),%r14
mov    %r14,%rdi
mov    %rbx,%rsi
mov    $0xa,%edx
mov    $0x1,%ecx
xor    %r8d,%r8d
call   1060 <strToUtf8@plt>
mov    %r14,%rbx
cmpb   $0x2e,(%rbx)
je     118d <FileExtensionToUpnpClass+0x4d>
lea    0x4(%rsp),%r14
movb   $0x2e,0x4(%rsp)
lea    0x5(%rsp),%rdi
mov    %rbx,%rsi
call   1030 <strcpy@plt>
mov    %r14,%rbx
lea    0xe6c(%rip),%rsi
mov    %rbx,%rdi
call   1040 <stricmp@plt>
lea    0xe62(%rip),%r14
test   %rax,%rax
je     12c7 <FileExtensionToUpnpClass+0x187>
lea    0xe68(%rip),%rsi
mov    %rbx,%rdi
call   1040 <stricmp@plt>
test   %rax,%rax
je     12c7 <FileExtensionToUpnpClass+0x187>
lea    0xe55(%rip),%rsi
mov    %rbx,%rdi
call   1040 <stricmp@plt>
test   %rax,%rax
je     12c7 <FileExtensionToUpnpClass+0x187>
lea    0xe42(%rip),%rsi
mov    %rbx,%rdi
call   1040 <stricmp@plt>
lea    0xe38(%rip),%r14
test   %rax,%rax
je     12c7 <FileExtensionToUpnpClass+0x187>
lea    0xe3e(%rip),%rsi
mov    %rbx,%rdi
call   1040 <stricmp@plt>
test   %rax,%rax
je     12c7 <FileExtensionToUpnpClass+0x187>
lea    0xe2b(%rip),%rsi
mov    %rbx,%rdi
call   1040 <stricmp@plt>
test   %rax,%rax
je     12c7 <FileExtensionToUpnpClass+0x187>
lea    0xe18(%rip),%rsi
mov    %rbx,%rdi
call   1040 <stricmp@plt>
test   %rax,%rax
je     12c7 <FileExtensionToUpnpClass+0x187>
lea    0xe05(%rip),%rsi
mov    %rbx,%rdi
call   1040 <stricmp@plt>
lea    0xdfb(%rip),%r14
test   %rax,%rax
je     12c7 <FileExtensionToUpnpClass+0x187>
lea    0xe05(%rip),%rsi
mov    %rbx,%rdi
call   1040 <stricmp@plt>
test   %rax,%rax
je     12c7 <FileExtensionToUpnpClass+0x187>
lea    0xdf7(%rip),%rsi
mov    %rbx,%rdi
call   1040 <stricmp@plt>
test   %rax,%rax
je     12c7 <FileExtensionToUpnpClass+0x187>
lea    0xde8(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmpi@plt>
test   %rax,%rax
je     12c0 <FileExtensionToUpnpClass+0x180>
lea    0xdfc(%rip),%rsi
mov    %rbx,%rdi
call   1040 <stricmp@plt>
test   %rax,%rax
lea    0xdc7(%rip),%rax
lea    0xde8(%rip),%r14
cmove  %rax,%r14
jmp    12c7 <FileExtensionToUpnpClass+0x187>
lea    0xdb3(%rip),%r14
mov    %r14,%rax
add    $0x18,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [5 x i8] c".mp3\00"
@.str.1 = [22 x i8] c"object.item.audioItem\00"
@.str.2 = [5 x i8] c".wma\00"
@.str.3 = [5 x i8] c".ogg\00"
@.str.4 = [5 x i8] c".asf\00"
@.str.5 = [22 x i8] c"object.item.videoItem\00"
@.str.6 = [5 x i8] c".wmv\00"
@.str.7 = [5 x i8] c".mpg\00"
@.str.8 = [5 x i8] c".mov\00"
@.str.9 = [5 x i8] c".jpg\00"
@.str.10 = [22 x i8] c"object.item.imageItem\00"
@.str.11 = [6 x i8] c".jpeg\00"
@.str.12 = [5 x i8] c".bmp\00"
@.str.13 = [5 x i8] c".m3u\00"
@.str.14 = [35 x i8] c"object.container.playlistContainer\00"
@.str.15 = [5 x i8] c".asx\00"
@.str.16 = [12 x i8] c"object.item\00"
define i8* @FileExtensionToUpnpClass(i8* %0, i32 %1) {
%3 = alloca i8*
%4 = alloca i32
%5 = alloca [10 x i8]
%6 = alloca [10 x i8]
%7 = alloca i8*
store i8* %0, i8** %3
store i32 %1, i32* %4
store i8* null, i8** %7
%8 = load i32, i32* %4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %2
%11 = getelementptr inbounds [10 x i8], [10 x i8]* %6, i64 0, i64 0
%12 = load i8*, i8** %3
%13 = call i32 @strToUtf8(i8* %11, i8* %12, i32 10, i32 1, i32* null)
%14 = getelementptr inbounds [10 x i8], [10 x i8]* %6, i64 0, i64 0
store i8* %14, i8** %3
br label %15
15: ; preds = %10, %2
%16 = load i8*, i8** %3
%17 = getelementptr inbounds i8, i8* %16, i64 0
%18 = load i8, i8* %17
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 46
br i1 %20, label %21, label %28
21: ; preds = %15
%22 = getelementptr inbounds [10 x i8], [10 x i8]* %5, i64 0, i64 0
store i8 46, i8* %22
%23 = getelementptr inbounds [10 x i8], [10 x i8]* %5, i64 0, i64 0
%24 = getelementptr inbounds i8, i8* %23, i64 1
%25 = load i8*, i8** %3
%26 = call i32 @strcpy(i8* %24, i8* %25)
%27 = getelementptr inbounds [10 x i8], [10 x i8]* %5, i64 0, i64 0
store i8* %27, i8** %3
br label %28
28: ; preds = %21, %15
%29 = load i8*, i8** %3
%30 = call i64 @stricmp(i8* %29, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %28
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8** %7
br label %100
33: ; preds = %28
%34 = load i8*, i8** %3
%35 = call i64 @stricmp(i8* %34, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8** %7
br label %99
38: ; preds = %33
%39 = load i8*, i8** %3
%40 = call i64 @stricmp(i8* %39, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %38
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8** %7
br label %98
43: ; preds = %38
%44 = load i8*, i8** %3
%45 = call i64 @stricmp(i8* %44, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %43
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i8** %7
br label %97
48: ; preds = %43
%49 = load i8*, i8** %3
%50 = call i64 @stricmp(i8* %49, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %48
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i8** %7
br label %96
53: ; preds = %48
%54 = load i8*, i8** %3
%55 = call i64 @stricmp(i8* %54, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %53
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i8** %7
br label %95
58: ; preds = %53
%59 = load i8*, i8** %3
%60 = call i64 @stricmp(i8* %59, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %58
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i8** %7
br label %94
63: ; preds = %58
%64 = load i8*, i8** %3
%65 = call i64 @stricmp(i8* %64, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %68
67: ; preds = %63
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.10, i64 0, i64 0), i8** %7
br label %93
68: ; preds = %63
%69 = load i8*, i8** %3
%70 = call i64 @stricmp(i8* %69, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %68
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.10, i64 0, i64 0), i8** %7
br label %92
73: ; preds = %68
%74 = load i8*, i8** %3
%75 = call i64 @stricmp(i8* %74, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%76 = icmp eq i64 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %73
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.10, i64 0, i64 0), i8** %7
br label %91
78: ; preds = %73
%79 = load i8*, i8** %3
%80 = call i64 @strcmpi(i8* %79, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%81 = icmp eq i64 %80, 0
br i1 %81, label %82, label %83
82: ; preds = %78
store i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.14, i64 0, i64 0), i8** %7
br label %90
83: ; preds = %78
%84 = load i8*, i8** %3
%85 = call i64 @stricmp(i8* %84, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0))
%86 = icmp eq i64 %85, 0
br i1 %86, label %87, label %88
87: ; preds = %83
store i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.14, i64 0, i64 0), i8** %7
br label %89
88: ; preds = %83
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0), i8** %7
br label %89
89: ; preds = %88, %87
br label %90
90: ; preds = %89, %82
br label %91
91: ; preds = %90, %77
br label %92
92: ; preds = %91, %72
br label %93
93: ; preds = %92, %67
br label %94
94: ; preds = %93, %62
br label %95
95: ; preds = %94, %57
br label %96
96: ; preds = %95, %52
br label %97
97: ; preds = %96, %47
br label %98
98: ; preds = %97, %42
br label %99
99: ; preds = %98, %37
br label %100
100: ; preds = %99, %32
%101 = load i8*, i8** %7
ret i8* %101
}

LLVM IR (-O2):
@.str = [5 x i8] c".mp3\00"
@.str.1 = [22 x i8] c"object.item.audioItem\00"
@.str.2 = [5 x i8] c".wma\00"
@.str.3 = [5 x i8] c".ogg\00"
@.str.4 = [5 x i8] c".asf\00"
@.str.5 = [22 x i8] c"object.item.videoItem\00"
@.str.6 = [5 x i8] c".wmv\00"
@.str.7 = [5 x i8] c".mpg\00"
@.str.8 = [5 x i8] c".mov\00"
@.str.9 = [5 x i8] c".jpg\00"
@.str.10 = [22 x i8] c"object.item.imageItem\00"
@.str.11 = [6 x i8] c".jpeg\00"
@.str.12 = [5 x i8] c".bmp\00"
@.str.13 = [5 x i8] c".m3u\00"
@.str.14 = [35 x i8] c"object.container.playlistContainer\00"
@.str.15 = [5 x i8] c".asx\00"
@.str.16 = [12 x i8] c"object.item\00"
define i8* @FileExtensionToUpnpClass(i8* %0, i32 %1) {
%3 = alloca [10 x i8]
%4 = alloca [10 x i8]
%5 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 0
%6 = getelementptr inbounds [10 x i8], [10 x i8]* %4, i64 0, i64 0
%7 = icmp eq i32 %1, 0
br i1 %7, label %10, label %8
8: ; preds = %2
%9 = call i32 @strToUtf8(i8* %6, i8* %0, i32 10, i32 1, i32* null)
br label %10
10: ; preds = %8, %2
%11 = phi i8* [ %6, %8 ], [ %0, %2 ]
%12 = load i8, i8* %11
%13 = icmp eq i8 %12, 46
br i1 %13, label %17, label %14
14: ; preds = %10
store i8 46, i8* %5
%15 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 1
%16 = call i32 @strcpy(i8* %15, i8* %11)
br label %17
17: ; preds = %14, %10
%18 = phi i8* [ %5, %14 ], [ %11, %10 ]
%19 = call i64 @stricmp(i8* %18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%20 = icmp eq i64 %19, 0
br i1 %20, label %55, label %21
21: ; preds = %17
%22 = call i64 @stricmp(i8* %18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%23 = icmp eq i64 %22, 0
br i1 %23, label %55, label %24
24: ; preds = %21
%25 = call i64 @stricmp(i8* %18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%26 = icmp eq i64 %25, 0
br i1 %26, label %55, label %27
27: ; preds = %24
%28 = call i64 @stricmp(i8* %18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%29 = icmp eq i64 %28, 0
br i1 %29, label %55, label %30
30: ; preds = %27
%31 = call i64 @stricmp(i8* %18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%32 = icmp eq i64 %31, 0
br i1 %32, label %55, label %33
33: ; preds = %30
%34 = call i64 @stricmp(i8* %18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%35 = icmp eq i64 %34, 0
br i1 %35, label %55, label %36
36: ; preds = %33
%37 = call i64 @stricmp(i8* %18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%38 = icmp eq i64 %37, 0
br i1 %38, label %55, label %39
39: ; preds = %36
%40 = call i64 @stricmp(i8* %18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%41 = icmp eq i64 %40, 0
br i1 %41, label %55, label %42
42: ; preds = %39
%43 = call i64 @stricmp(i8* %18, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%44 = icmp eq i64 %43, 0
br i1 %44, label %55, label %45
45: ; preds = %42
%46 = call i64 @stricmp(i8* %18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%47 = icmp eq i64 %46, 0
br i1 %47, label %55, label %48
48: ; preds = %45
%49 = call i64 @strcmpi(i8* %18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%50 = icmp eq i64 %49, 0
br i1 %50, label %55, label %51
51: ; preds = %48
%52 = call i64 @stricmp(i8* %18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0))
%53 = icmp eq i64 %52, 0
%54 = select i1 %53, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0)
br label %55
55: ; preds = %51, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %17
%56 = phi i8* [ getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), %17 ], [ getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), %21 ], [ getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), %24 ], [ getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), %27 ], [ getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), %30 ], [ getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), %33 ], [ getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), %36 ], [ getelementptr inbounds ([22 x i8], [22 x i8]* @.str.10, i64 0, i64 0), %39 ], [ getelementptr inbounds ([22 x i8], [22 x i8]* @.str.10, i64 0, i64 0), %42 ], [ getelementptr inbounds ([22 x i8], [22 x i8]* @.str.10, i64 0, i64 0), %45 ], [ getelementptr inbounds ([35 x i8], [35 x i8]* @.str.14, i64 0, i64 0), %48 ], [ %54, %51 ]
ret i8* %56
}