#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__ strcasecmp(char *, char *);
const char *get_format(char *ctag) {
  const struct {
    char *tag;
    char *format;
  } table[] = {{"420jpeg", "YUV420P8"},  {"420mpeg2", "YUV420P8"},
               {"420paldv", "YUV420P8"}, {"420p9", "YUV420P9"},
               {"420p10", "YUV420P10"},  {"420p16", "YUV420P16"},
               {"411", "YUV411P8"},      {"422", "YUV422P8"},
               {"422p9", "YUV422P9"},    {"422p10", "YUV422P10"},
               {"422p16", "YUV422P16"},  {"444", "YUV444P8"},
               {"444p9", "YUV444P9"},    {"444p10", "YUV444P10"},
               {"444p16", "YUV444P16"},  {"444alpha", "YUV444P8A"},
               {ctag, "YUV420P8"}};
  int i = 0;
  while (strcasecmp(ctag, table[i].tag) != 0)
    i++;
  return table[i].format;
}


x86 assembly (clang, -O0):
<get_format>:
push   %rbp
mov    %rsp,%rbp
sub    $0x130,%rsp
mov    %rdi,-0x8(%rbp)
lea    0xeda(%rip),%rax
mov    %rax,-0x120(%rbp)
lea    0xed4(%rip),%rax
mov    %rax,-0x118(%rbp)
lea    0xecf(%rip),%rax
mov    %rax,-0x110(%rbp)
lea    0xeb8(%rip),%rax
mov    %rax,-0x108(%rbp)
lea    0xebc(%rip),%rax
mov    %rax,-0x100(%rbp)
lea    0xe9c(%rip),%rax
mov    %rax,-0xf8(%rbp)
lea    0xea9(%rip),%rax
mov    %rax,-0xf0(%rbp)
lea    0xea1(%rip),%rax
mov    %rax,-0xe8(%rbp)
lea    0xe9c(%rip),%rax
mov    %rax,-0xe0(%rbp)
lea    0xe95(%rip),%rax
mov    %rax,-0xd8(%rbp)
lea    0xe91(%rip),%rax
mov    %rax,-0xd0(%rbp)
lea    0xe8a(%rip),%rax
mov    %rax,-0xc8(%rbp)
lea    0xe86(%rip),%rax
mov    %rax,-0xc0(%rbp)
lea    0xe7c(%rip),%rax
mov    %rax,-0xb8(%rbp)
lea    0xe77(%rip),%rax
mov    %rax,-0xb0(%rbp)
lea    0xe6d(%rip),%rax
mov    %rax,-0xa8(%rbp)
lea    0xe68(%rip),%rax
mov    %rax,-0xa0(%rbp)
lea    0xe60(%rip),%rax
mov    %rax,-0x98(%rbp)
lea    0xe5b(%rip),%rax
mov    %rax,-0x90(%rbp)
lea    0xe54(%rip),%rax
mov    %rax,-0x88(%rbp)
lea    0xe50(%rip),%rax
mov    %rax,-0x80(%rbp)
lea    0xe4c(%rip),%rax
mov    %rax,-0x78(%rbp)
lea    0xe4b(%rip),%rax
mov    %rax,-0x70(%rbp)
lea    0xe44(%rip),%rax
mov    %rax,-0x68(%rbp)
lea    0xe42(%rip),%rax
mov    %rax,-0x60(%rbp)
lea    0xe3d(%rip),%rax
mov    %rax,-0x58(%rbp)
lea    0xe3b(%rip),%rax
mov    %rax,-0x50(%rbp)
lea    0xe37(%rip),%rax
mov    %rax,-0x48(%rbp)
lea    0xe36(%rip),%rax
mov    %rax,-0x40(%rbp)
lea    0xe32(%rip),%rax
mov    %rax,-0x38(%rbp)
lea    0xe31(%rip),%rax
mov    %rax,-0x30(%rbp)
lea    0xe2f(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x20(%rbp)
lea    0xd3e(%rip),%rax
mov    %rax,-0x18(%rbp)
movl   $0x0,-0x124(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x124(%rbp),%rcx
lea    -0x120(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
mov    (%rax),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%rax
je     1317 <get_format+0x207>
mov    -0x124(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x124(%rbp)
jmp    12d8 <get_format+0x1c8>
movslq -0x124(%rbp),%rcx
lea    -0x120(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
mov    0x8(%rax),%rax
add    $0x130,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_format>:
push   %r15
push   %r14
push   %rbx
sub    $0x110,%rsp
mov    %rdi,%r14
lea    0xeda(%rip),%rsi
mov    %rsi,(%rsp)
lea    0xed7(%rip),%rax
mov    %rax,0x8(%rsp)
lea    0xed4(%rip),%rcx
mov    %rcx,0x10(%rsp)
mov    %rax,0x18(%rsp)
lea    0xecc(%rip),%rcx
mov    %rcx,0x20(%rsp)
mov    %rax,0x28(%rsp)
lea    0xec4(%rip),%rcx
mov    %rcx,0x30(%rsp)
lea    0xebe(%rip),%rcx
mov    %rcx,0x38(%rsp)
lea    0xebb(%rip),%rcx
mov    %rcx,0x40(%rsp)
lea    0xeb6(%rip),%rcx
mov    %rcx,0x48(%rsp)
lea    0xeb4(%rip),%rcx
mov    %rcx,0x50(%rsp)
lea    0xeaf(%rip),%rcx
mov    %rcx,0x58(%rsp)
lea    0xead(%rip),%rcx
mov    %rcx,0x60(%rsp)
lea    0xea5(%rip),%rcx
mov    %rcx,0x68(%rsp)
lea    0xea2(%rip),%rcx
mov    %rcx,0x70(%rsp)
lea    0xe9a(%rip),%rcx
mov    %rcx,0x78(%rsp)
lea    0xe97(%rip),%rcx
mov    %rcx,0x80(%rsp)
lea    0xe8e(%rip),%rcx
mov    %rcx,0x88(%rsp)
lea    0xe88(%rip),%rcx
mov    %rcx,0x90(%rsp)
lea    0xe80(%rip),%rcx
mov    %rcx,0x98(%rsp)
lea    0xe7b(%rip),%rcx
mov    %rcx,0xa0(%rsp)
lea    0xe73(%rip),%rcx
mov    %rcx,0xa8(%rsp)
lea    0xe6e(%rip),%rcx
mov    %rcx,0xb0(%rsp)
lea    0xe63(%rip),%rcx
mov    %rcx,0xb8(%rsp)
lea    0xe5d(%rip),%rcx
mov    %rcx,0xc0(%rsp)
lea    0xe54(%rip),%rcx
mov    %rcx,0xc8(%rsp)
lea    0xe4e(%rip),%rcx
mov    %rcx,0xd0(%rsp)
lea    0xe46(%rip),%rcx
mov    %rcx,0xd8(%rsp)
lea    0xe41(%rip),%rcx
mov    %rcx,0xe0(%rsp)
lea    0xe39(%rip),%rcx
mov    %rcx,0xe8(%rsp)
lea    0xe34(%rip),%rcx
mov    %rcx,0xf0(%rsp)
lea    0xe2e(%rip),%rcx
mov    %rcx,0xf8(%rsp)
mov    %rdi,0x100(%rsp)
mov    %rax,0x108(%rsp)
call   1030 <strcasecmp@plt>
test   %rax,%rax
je     130a <get_format+0x1fa>
lea    0x10(%rsp),%rbx
xor    %r15d,%r15d
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    (%rbx),%rsi
mov    %r14,%rdi
call   1030 <strcasecmp@plt>
add    $0x1,%r15
add    $0x10,%rbx
test   %rax,%rax
jne    12f0 <get_format+0x1e0>
jmp    130d <get_format+0x1fd>
xor    %r15d,%r15d
mov    %r15d,%eax
shl    $0x4,%rax
mov    0x8(%rsp,%rax,1),%rax
add    $0x110,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
%struct.anon = type { i8*, i8* }
@.str = [8 x i8] c"420jpeg\00"
@.str.1 = [9 x i8] c"YUV420P8\00"
@.str.2 = [9 x i8] c"420mpeg2\00"
@.str.3 = [9 x i8] c"420paldv\00"
@.str.4 = [6 x i8] c"420p9\00"
@.str.5 = [9 x i8] c"YUV420P9\00"
@.str.6 = [7 x i8] c"420p10\00"
@.str.7 = [10 x i8] c"YUV420P10\00"
@.str.8 = [7 x i8] c"420p16\00"
@.str.9 = [10 x i8] c"YUV420P16\00"
@.str.10 = [4 x i8] c"411\00"
@.str.11 = [9 x i8] c"YUV411P8\00"
@.str.12 = [4 x i8] c"422\00"
@.str.13 = [9 x i8] c"YUV422P8\00"
@.str.14 = [6 x i8] c"422p9\00"
@.str.15 = [9 x i8] c"YUV422P9\00"
@.str.16 = [7 x i8] c"422p10\00"
@.str.17 = [10 x i8] c"YUV422P10\00"
@.str.18 = [7 x i8] c"422p16\00"
@.str.19 = [10 x i8] c"YUV422P16\00"
@.str.20 = [4 x i8] c"444\00"
@.str.21 = [9 x i8] c"YUV444P8\00"
@.str.22 = [6 x i8] c"444p9\00"
@.str.23 = [9 x i8] c"YUV444P9\00"
@.str.24 = [7 x i8] c"444p10\00"
@.str.25 = [10 x i8] c"YUV444P10\00"
@.str.26 = [7 x i8] c"444p16\00"
@.str.27 = [10 x i8] c"YUV444P16\00"
@.str.28 = [9 x i8] c"444alpha\00"
@.str.29 = [10 x i8] c"YUV444P8A\00"
define i8* @get_format(i8* %0) {
%2 = alloca i8*
%3 = alloca [17 x %struct.anon]
%4 = alloca i32
store i8* %0, i8** %2
%5 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %3, i64 0, i64 0
%6 = getelementptr inbounds %struct.anon, %struct.anon* %5, i32 0, i32 0
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8** %6
%7 = getelementptr inbounds %struct.anon, %struct.anon* %5, i32 0, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8** %7
%8 = getelementptr inbounds %struct.anon, %struct.anon* %5, i64 1
%9 = getelementptr inbounds %struct.anon, %struct.anon* %8, i32 0, i32 0
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8** %9
%10 = getelementptr inbounds %struct.anon, %struct.anon* %8, i32 0, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8** %10
%11 = getelementptr inbounds %struct.anon, %struct.anon* %8, i64 1
%12 = getelementptr inbounds %struct.anon, %struct.anon* %11, i32 0, i32 0
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i8** %12
%13 = getelementptr inbounds %struct.anon, %struct.anon* %11, i32 0, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8** %13
%14 = getelementptr inbounds %struct.anon, %struct.anon* %11, i64 1
%15 = getelementptr inbounds %struct.anon, %struct.anon* %14, i32 0, i32 0
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8** %15
%16 = getelementptr inbounds %struct.anon, %struct.anon* %14, i32 0, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i8** %16
%17 = getelementptr inbounds %struct.anon, %struct.anon* %14, i64 1
%18 = getelementptr inbounds %struct.anon, %struct.anon* %17, i32 0, i32 0
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i8** %18
%19 = getelementptr inbounds %struct.anon, %struct.anon* %17, i32 0, i32 1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i8** %19
%20 = getelementptr inbounds %struct.anon, %struct.anon* %17, i64 1
%21 = getelementptr inbounds %struct.anon, %struct.anon* %20, i32 0, i32 0
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i8** %21
%22 = getelementptr inbounds %struct.anon, %struct.anon* %20, i32 0, i32 1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i64 0, i64 0), i8** %22
%23 = getelementptr inbounds %struct.anon, %struct.anon* %20, i64 1
%24 = getelementptr inbounds %struct.anon, %struct.anon* %23, i32 0, i32 0
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8** %24
%25 = getelementptr inbounds %struct.anon, %struct.anon* %23, i32 0, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i8** %25
%26 = getelementptr inbounds %struct.anon, %struct.anon* %23, i64 1
%27 = getelementptr inbounds %struct.anon, %struct.anon* %26, i32 0, i32 0
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0), i8** %27
%28 = getelementptr inbounds %struct.anon, %struct.anon* %26, i32 0, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0), i8** %28
%29 = getelementptr inbounds %struct.anon, %struct.anon* %26, i64 1
%30 = getelementptr inbounds %struct.anon, %struct.anon* %29, i32 0, i32 0
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0), i8** %30
%31 = getelementptr inbounds %struct.anon, %struct.anon* %29, i32 0, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0), i8** %31
%32 = getelementptr inbounds %struct.anon, %struct.anon* %29, i64 1
%33 = getelementptr inbounds %struct.anon, %struct.anon* %32, i32 0, i32 0
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.16, i64 0, i64 0), i8** %33
%34 = getelementptr inbounds %struct.anon, %struct.anon* %32, i32 0, i32 1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.17, i64 0, i64 0), i8** %34
%35 = getelementptr inbounds %struct.anon, %struct.anon* %32, i64 1
%36 = getelementptr inbounds %struct.anon, %struct.anon* %35, i32 0, i32 0
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.18, i64 0, i64 0), i8** %36
%37 = getelementptr inbounds %struct.anon, %struct.anon* %35, i32 0, i32 1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i8** %37
%38 = getelementptr inbounds %struct.anon, %struct.anon* %35, i64 1
%39 = getelementptr inbounds %struct.anon, %struct.anon* %38, i32 0, i32 0
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0), i8** %39
%40 = getelementptr inbounds %struct.anon, %struct.anon* %38, i32 0, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.21, i64 0, i64 0), i8** %40
%41 = getelementptr inbounds %struct.anon, %struct.anon* %38, i64 1
%42 = getelementptr inbounds %struct.anon, %struct.anon* %41, i32 0, i32 0
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.22, i64 0, i64 0), i8** %42
%43 = getelementptr inbounds %struct.anon, %struct.anon* %41, i32 0, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.23, i64 0, i64 0), i8** %43
%44 = getelementptr inbounds %struct.anon, %struct.anon* %41, i64 1
%45 = getelementptr inbounds %struct.anon, %struct.anon* %44, i32 0, i32 0
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.24, i64 0, i64 0), i8** %45
%46 = getelementptr inbounds %struct.anon, %struct.anon* %44, i32 0, i32 1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.25, i64 0, i64 0), i8** %46
%47 = getelementptr inbounds %struct.anon, %struct.anon* %44, i64 1
%48 = getelementptr inbounds %struct.anon, %struct.anon* %47, i32 0, i32 0
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.26, i64 0, i64 0), i8** %48
%49 = getelementptr inbounds %struct.anon, %struct.anon* %47, i32 0, i32 1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), i8** %49
%50 = getelementptr inbounds %struct.anon, %struct.anon* %47, i64 1
%51 = getelementptr inbounds %struct.anon, %struct.anon* %50, i32 0, i32 0
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.28, i64 0, i64 0), i8** %51
%52 = getelementptr inbounds %struct.anon, %struct.anon* %50, i32 0, i32 1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.29, i64 0, i64 0), i8** %52
%53 = getelementptr inbounds %struct.anon, %struct.anon* %50, i64 1
%54 = getelementptr inbounds %struct.anon, %struct.anon* %53, i32 0, i32 0
%55 = load i8*, i8** %2
store i8* %55, i8** %54
%56 = getelementptr inbounds %struct.anon, %struct.anon* %53, i32 0, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8** %56
store i32 0, i32* %4
br label %57
57: ; preds = %66, %1
%58 = load i8*, i8** %2
%59 = load i32, i32* %4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %3, i64 0, i64 %60
%62 = getelementptr inbounds %struct.anon, %struct.anon* %61, i32 0, i32 0
%63 = load i8*, i8** %62
%64 = call i64 @strcasecmp(i8* %58, i8* %63)
%65 = icmp ne i64 %64, 0
br i1 %65, label %66, label %69
66: ; preds = %57
%67 = load i32, i32* %4
%68 = add nsw i32 %67, 1
store i32 %68, i32* %4
br label %57
69: ; preds = %57
%70 = load i32, i32* %4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %3, i64 0, i64 %71
%73 = getelementptr inbounds %struct.anon, %struct.anon* %72, i32 0, i32 1
%74 = load i8*, i8** %73
ret i8* %74
}

LLVM IR (-O2):
%struct.anon = type { i8*, i8* }
@.str = [8 x i8] c"420jpeg\00"
@.str.1 = [9 x i8] c"YUV420P8\00"
@.str.2 = [9 x i8] c"420mpeg2\00"
@.str.3 = [9 x i8] c"420paldv\00"
@.str.4 = [6 x i8] c"420p9\00"
@.str.5 = [9 x i8] c"YUV420P9\00"
@.str.6 = [7 x i8] c"420p10\00"
@.str.7 = [10 x i8] c"YUV420P10\00"
@.str.8 = [7 x i8] c"420p16\00"
@.str.9 = [10 x i8] c"YUV420P16\00"
@.str.10 = [4 x i8] c"411\00"
@.str.11 = [9 x i8] c"YUV411P8\00"
@.str.12 = [4 x i8] c"422\00"
@.str.13 = [9 x i8] c"YUV422P8\00"
@.str.14 = [6 x i8] c"422p9\00"
@.str.15 = [9 x i8] c"YUV422P9\00"
@.str.16 = [7 x i8] c"422p10\00"
@.str.17 = [10 x i8] c"YUV422P10\00"
@.str.18 = [7 x i8] c"422p16\00"
@.str.19 = [10 x i8] c"YUV422P16\00"
@.str.20 = [4 x i8] c"444\00"
@.str.21 = [9 x i8] c"YUV444P8\00"
@.str.22 = [6 x i8] c"444p9\00"
@.str.23 = [9 x i8] c"YUV444P9\00"
@.str.24 = [7 x i8] c"444p10\00"
@.str.25 = [10 x i8] c"YUV444P10\00"
@.str.26 = [7 x i8] c"444p16\00"
@.str.27 = [10 x i8] c"YUV444P16\00"
@.str.28 = [9 x i8] c"444alpha\00"
@.str.29 = [10 x i8] c"YUV444P8A\00"
define i8* @get_format(i8* %0) {
%2 = alloca [17 x %struct.anon]
%3 = bitcast [17 x %struct.anon]* %2 to i8*
%4 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 0, i32 0
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8** %4
%5 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 0, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8** %5
%6 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 1, i32 0
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8** %6
%7 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 1, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8** %7
%8 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 2, i32 0
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i8** %8
%9 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 2, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8** %9
%10 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 3, i32 0
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8** %10
%11 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 3, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i8** %11
%12 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 4, i32 0
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i8** %12
%13 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 4, i32 1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i8** %13
%14 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 5, i32 0
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i8** %14
%15 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 5, i32 1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i64 0, i64 0), i8** %15
%16 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 6, i32 0
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8** %16
%17 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 6, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i8** %17
%18 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 7, i32 0
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0), i8** %18
%19 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 7, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0), i8** %19
%20 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 8, i32 0
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0), i8** %20
%21 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 8, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0), i8** %21
%22 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 9, i32 0
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.16, i64 0, i64 0), i8** %22
%23 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 9, i32 1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.17, i64 0, i64 0), i8** %23
%24 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 10, i32 0
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.18, i64 0, i64 0), i8** %24
%25 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 10, i32 1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i8** %25
%26 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 11, i32 0
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0), i8** %26
%27 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 11, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.21, i64 0, i64 0), i8** %27
%28 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 12, i32 0
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.22, i64 0, i64 0), i8** %28
%29 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 12, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.23, i64 0, i64 0), i8** %29
%30 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 13, i32 0
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.24, i64 0, i64 0), i8** %30
%31 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 13, i32 1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.25, i64 0, i64 0), i8** %31
%32 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 14, i32 0
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.26, i64 0, i64 0), i8** %32
%33 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 14, i32 1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), i8** %33
%34 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 15, i32 0
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.28, i64 0, i64 0), i8** %34
%35 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 15, i32 1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.29, i64 0, i64 0), i8** %35
%36 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 16, i32 0
store i8* %0, i8** %36
%37 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 16, i32 1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8** %37
%38 = tail call i64 @strcasecmp(i8* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
br i1 %39, label %47, label %40
40: ; preds = %1, %40
%41 = phi i64 [ %46, %40 ], [ 1, %1 ]
%42 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 %41, i32 0
%43 = load i8*, i8** %42
%44 = tail call i64 @strcasecmp(i8* %0, i8* %43)
%45 = icmp eq i64 %44, 0
%46 = add nuw i64 %41, 1
br i1 %45, label %47, label %40
47: ; preds = %40, %1
%48 = phi i64 [ 0, %1 ], [ %41, %40 ]
%49 = and i64 %48, 4294967295
%50 = getelementptr inbounds [17 x %struct.anon], [17 x %struct.anon]* %2, i64 0, i64 %49, i32 1
%51 = load i8*, i8** %50
ret i8* %51
}