#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 */
char *basename(char const *);
char *strdup(char *);
int /*<<< orphan*/ strncasecmp(char *, char *, int);
char *deduce_lv_set(const char *name) {
  char *base = basename(name);
  char *result = NULL;
  if ((!strncasecmp("froyo-", base, 6)) ||
      (!strncasecmp("gapps-mdpi", base, 10)))
    result = strdup("android22");
  else if ((!strncasecmp("update-cm7", base, 10)) ||
           (!strncasecmp("update-cm-7", base, 11)) ||
           (!strncasecmp("cm-7", base, 4)) ||
           (!strncasecmp("gapps-gb", base, 8)))
    result = strdup("android23");
  else if ((!strncasecmp("update-cm9", base, 10)) ||
           (!strncasecmp("update-cm-9", base, 11)) ||
           (!strncasecmp("cm-9", base, 4)) ||
           (!strncasecmp("gapps-ics", base, 9)))
    result = strdup("android40");
  else if ((!strncasecmp("update-cm10-", base, 10)) ||
           (!strncasecmp("update-cm-10-", base, 11)) ||
           (!strncasecmp("cm-10-", base, 6)) ||
           (!strncasecmp("skz_tenderloin-1.20", base, 19)) ||
           (!strncasecmp("gapps-jb-20120", base, 14)) ||
           (!strncasecmp("gapps-jb-201210", base, 15)))
    result = strdup("android41");
  else if ((!strncasecmp("ev", base, 2)) ||
           (!strncasecmp("cm-10.1", base, 7)) ||
           (!strncasecmp("skz_tenderloin-2.00", base, 19)) ||
           (!strncasecmp("gapps-jb", base, 8)))
    result = strdup("android42");
  return result;
}


x86 assembly (clang, -O0):
<deduce_lv_set>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <basename@plt>
mov    %rax,-0x10(%rbp)
movq   $0x0,-0x18(%rbp)
mov    -0x10(%rbp),%rsi
lea    0xea4(%rip),%rdi
mov    $0x6,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
je     118d <deduce_lv_set+0x5d>
mov    -0x10(%rbp),%rsi
lea    0xe8d(%rip),%rdi
mov    $0xa,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
jne    11a2 <deduce_lv_set+0x72>
lea    0xe7e(%rip),%rdi
call   1050 <strdup@plt>
mov    %rax,-0x18(%rbp)
jmp    1421 <deduce_lv_set+0x2f1>
mov    -0x10(%rbp),%rsi
lea    0xe6f(%rip),%rdi
mov    $0xa,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
je     121a <deduce_lv_set+0xea>
mov    -0x10(%rbp),%rsi
lea    0xe5c(%rip),%rdi
mov    $0xb,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
je     121a <deduce_lv_set+0xea>
mov    -0x10(%rbp),%rsi
lea    0xe45(%rip),%rdi
mov    $0x4,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
je     121a <deduce_lv_set+0xea>
mov    -0x10(%rbp),%rsi
lea    0xe2c(%rip),%rdi
mov    $0x8,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
jne    122f <deduce_lv_set+0xff>
lea    0xe1b(%rip),%rdi
call   1050 <strdup@plt>
mov    %rax,-0x18(%rbp)
jmp    141c <deduce_lv_set+0x2ec>
mov    -0x10(%rbp),%rsi
lea    0xe0c(%rip),%rdi
mov    $0xa,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
je     12a7 <deduce_lv_set+0x177>
mov    -0x10(%rbp),%rsi
lea    0xdf9(%rip),%rdi
mov    $0xb,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
je     12a7 <deduce_lv_set+0x177>
mov    -0x10(%rbp),%rsi
lea    0xde2(%rip),%rdi
mov    $0x4,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
je     12a7 <deduce_lv_set+0x177>
mov    -0x10(%rbp),%rsi
lea    0xdc9(%rip),%rdi
mov    $0x9,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
jne    12bc <deduce_lv_set+0x18c>
lea    0xdb9(%rip),%rdi
call   1050 <strdup@plt>
mov    %rax,-0x18(%rbp)
jmp    1417 <deduce_lv_set+0x2e7>
mov    -0x10(%rbp),%rsi
lea    0xdaa(%rip),%rdi
mov    $0xa,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
je     1370 <deduce_lv_set+0x240>
mov    -0x10(%rbp),%rsi
lea    0xd99(%rip),%rdi
mov    $0xb,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
je     1370 <deduce_lv_set+0x240>
mov    -0x10(%rbp),%rsi
lea    0xd82(%rip),%rdi
mov    $0x6,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
je     1370 <deduce_lv_set+0x240>
mov    -0x10(%rbp),%rsi
lea    0xd6b(%rip),%rdi
mov    $0x13,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
je     1370 <deduce_lv_set+0x240>
mov    -0x10(%rbp),%rsi
lea    0xd61(%rip),%rdi
mov    $0xe,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
je     1370 <deduce_lv_set+0x240>
mov    -0x10(%rbp),%rsi
lea    0xd52(%rip),%rdi
mov    $0xf,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
jne    1385 <deduce_lv_set+0x255>
lea    0xd48(%rip),%rdi
call   1050 <strdup@plt>
mov    %rax,-0x18(%rbp)
jmp    1412 <deduce_lv_set+0x2e2>
mov    -0x10(%rbp),%rsi
lea    0xd39(%rip),%rdi
mov    $0x2,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
je     13fd <deduce_lv_set+0x2cd>
mov    -0x10(%rbp),%rsi
lea    0xd1e(%rip),%rdi
mov    $0x7,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
je     13fd <deduce_lv_set+0x2cd>
mov    -0x10(%rbp),%rsi
lea    0xd08(%rip),%rdi
mov    $0x13,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
je     13fd <deduce_lv_set+0x2cd>
mov    -0x10(%rbp),%rsi
lea    0xcfe(%rip),%rdi
mov    $0x8,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
jne    140d <deduce_lv_set+0x2dd>
lea    0xced(%rip),%rdi
call   1050 <strdup@plt>
mov    %rax,-0x18(%rbp)
jmp    1412 <deduce_lv_set+0x2e2>
jmp    1417 <deduce_lv_set+0x2e7>
jmp    141c <deduce_lv_set+0x2ec>
jmp    1421 <deduce_lv_set+0x2f1>
mov    -0x18(%rbp),%rax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<deduce_lv_set>:
push   %r14
push   %rbx
push   %rax
call   1030 <basename@plt>
mov    %rax,%rbx
lea    0xebd(%rip),%rdi
mov    %rax,%rsi
mov    $0x6,%edx
call   1040 <strncasecmp@plt>
lea    0xebb(%rip),%r14
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xea1(%rip),%rdi
mov    %rbx,%rsi
mov    $0xa,%edx
call   1040 <strncasecmp@plt>
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xe9a(%rip),%rdi
mov    %rbx,%rsi
mov    $0xa,%edx
call   1040 <strncasecmp@plt>
lea    0xea6(%rip),%r14
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xe82(%rip),%rdi
mov    %rbx,%rsi
mov    $0xb,%edx
call   1040 <strncasecmp@plt>
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xe6d(%rip),%rdi
mov    %rbx,%rsi
mov    $0x4,%edx
call   1040 <strncasecmp@plt>
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xe56(%rip),%rdi
mov    %rbx,%rsi
mov    $0x8,%edx
call   1040 <strncasecmp@plt>
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xe4d(%rip),%rdi
mov    %rbx,%rsi
mov    $0xa,%edx
call   1040 <strncasecmp@plt>
lea    0xe5a(%rip),%r14
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xe35(%rip),%rdi
mov    %rbx,%rsi
mov    $0xb,%edx
call   1040 <strncasecmp@plt>
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xe20(%rip),%rdi
mov    %rbx,%rsi
mov    $0x4,%edx
call   1040 <strncasecmp@plt>
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xe09(%rip),%rdi
mov    %rbx,%rsi
mov    $0x9,%edx
call   1040 <strncasecmp@plt>
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xe01(%rip),%rdi
mov    %rbx,%rsi
mov    $0xa,%edx
call   1040 <strncasecmp@plt>
lea    0xe3b(%rip),%r14
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xdeb(%rip),%rdi
mov    %rbx,%rsi
mov    $0xb,%edx
call   1040 <strncasecmp@plt>
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xdd6(%rip),%rdi
mov    %rbx,%rsi
mov    $0x6,%edx
call   1040 <strncasecmp@plt>
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xdc1(%rip),%rdi
mov    %rbx,%rsi
mov    $0x13,%edx
call   1040 <strncasecmp@plt>
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xdb9(%rip),%rdi
mov    %rbx,%rsi
mov    $0xe,%edx
call   1040 <strncasecmp@plt>
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xdac(%rip),%rdi
mov    %rbx,%rsi
mov    $0xf,%edx
call   1040 <strncasecmp@plt>
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xdae(%rip),%rdi
mov    %rbx,%rsi
mov    $0x2,%edx
call   1040 <strncasecmp@plt>
lea    0xdc2(%rip),%r14
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xd92(%rip),%rdi
mov    %rbx,%rsi
mov    $0x7,%edx
call   1040 <strncasecmp@plt>
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xd82(%rip),%rdi
mov    %rbx,%rsi
mov    $0x13,%edx
call   1040 <strncasecmp@plt>
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
lea    0xd7e(%rip),%rdi
mov    %rbx,%rsi
mov    $0x8,%edx
call   1040 <strncasecmp@plt>
test   %eax,%eax
je     1385 <deduce_lv_set+0x255>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret
mov    %r14,%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1050 <strdup@plt>

LLVM IR (-O0):
@.str = [7 x i8] c"froyo-\00"
@.str.1 = [11 x i8] c"gapps-mdpi\00"
@.str.2 = [10 x i8] c"android22\00"
@.str.3 = [11 x i8] c"update-cm7\00"
@.str.4 = [12 x i8] c"update-cm-7\00"
@.str.5 = [5 x i8] c"cm-7\00"
@.str.6 = [9 x i8] c"gapps-gb\00"
@.str.7 = [10 x i8] c"android23\00"
@.str.8 = [11 x i8] c"update-cm9\00"
@.str.9 = [12 x i8] c"update-cm-9\00"
@.str.10 = [5 x i8] c"cm-9\00"
@.str.11 = [10 x i8] c"gapps-ics\00"
@.str.12 = [10 x i8] c"android40\00"
@.str.13 = [13 x i8] c"update-cm10-\00"
@.str.14 = [14 x i8] c"update-cm-10-\00"
@.str.15 = [7 x i8] c"cm-10-\00"
@.str.16 = [20 x i8] c"skz_tenderloin-1.20\00"
@.str.17 = [15 x i8] c"gapps-jb-20120\00"
@.str.18 = [16 x i8] c"gapps-jb-201210\00"
@.str.19 = [10 x i8] c"android41\00"
@.str.20 = [3 x i8] c"ev\00"
@.str.21 = [8 x i8] c"cm-10.1\00"
@.str.22 = [20 x i8] c"skz_tenderloin-2.00\00"
@.str.23 = [9 x i8] c"gapps-jb\00"
@.str.24 = [10 x i8] c"android42\00"
define i8* @deduce_lv_set(i8* %0) {
%2 = alloca i8*
%3 = alloca i8*
%4 = alloca i8*
store i8* %0, i8** %2
%5 = load i8*, i8** %2
%6 = call i8* @basename(i8* %5)
store i8* %6, i8** %3
store i8* null, i8** %4
%7 = load i8*, i8** %3
%8 = call i32 @strncasecmp(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* %7, i32 6)
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = load i8*, i8** %3
%12 = call i32 @strncasecmp(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i8* %11, i32 10)
%13 = icmp ne i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %10, %1
%15 = call i8* @strdup(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
store i8* %15, i8** %4
br label %100
16: ; preds = %10
%17 = load i8*, i8** %3
%18 = call i32 @strncasecmp(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* %17, i32 10)
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %32
20: ; preds = %16
%21 = load i8*, i8** %3
%22 = call i32 @strncasecmp(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i8* %21, i32 11)
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %32
24: ; preds = %20
%25 = load i8*, i8** %3
%26 = call i32 @strncasecmp(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* %25, i32 4)
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %24
%29 = load i8*, i8** %3
%30 = call i32 @strncasecmp(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i8* %29, i32 8)
%31 = icmp ne i32 %30, 0
br i1 %31, label %34, label %32
32: ; preds = %28, %24, %20, %16
%33 = call i8* @strdup(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0))
store i8* %33, i8** %4
br label %99
34: ; preds = %28
%35 = load i8*, i8** %3
%36 = call i32 @strncasecmp(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* %35, i32 10)
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %50
38: ; preds = %34
%39 = load i8*, i8** %3
%40 = call i32 @strncasecmp(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0), i8* %39, i32 11)
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %50
42: ; preds = %38
%43 = load i8*, i8** %3
%44 = call i32 @strncasecmp(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8* %43, i32 4)
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %50
46: ; preds = %42
%47 = load i8*, i8** %3
%48 = call i32 @strncasecmp(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i8* %47, i32 9)
%49 = icmp ne i32 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %46, %42, %38, %34
%51 = call i8* @strdup(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0))
store i8* %51, i8** %4
br label %98
52: ; preds = %46
%53 = load i8*, i8** %3
%54 = call i32 @strncasecmp(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0), i8* %53, i32 10)
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %76
56: ; preds = %52
%57 = load i8*, i8** %3
%58 = call i32 @strncasecmp(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.14, i64 0, i64 0), i8* %57, i32 11)
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %76
60: ; preds = %56
%61 = load i8*, i8** %3
%62 = call i32 @strncasecmp(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i8* %61, i32 6)
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %76
64: ; preds = %60
%65 = load i8*, i8** %3
%66 = call i32 @strncasecmp(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.16, i64 0, i64 0), i8* %65, i32 19)
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %76
68: ; preds = %64
%69 = load i8*, i8** %3
%70 = call i32 @strncasecmp(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.17, i64 0, i64 0), i8* %69, i32 14)
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %76
72: ; preds = %68
%73 = load i8*, i8** %3
%74 = call i32 @strncasecmp(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i64 0, i64 0), i8* %73, i32 15)
%75 = icmp ne i32 %74, 0
br i1 %75, label %78, label %76
76: ; preds = %72, %68, %64, %60, %56, %52
%77 = call i8* @strdup(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0))
store i8* %77, i8** %4
br label %97
78: ; preds = %72
%79 = load i8*, i8** %3
%80 = call i32 @strncasecmp(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.20, i64 0, i64 0), i8* %79, i32 2)
%81 = icmp ne i32 %80, 0
br i1 %81, label %82, label %94
82: ; preds = %78
%83 = load i8*, i8** %3
%84 = call i32 @strncasecmp(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.21, i64 0, i64 0), i8* %83, i32 7)
%85 = icmp ne i32 %84, 0
br i1 %85, label %86, label %94
86: ; preds = %82
%87 = load i8*, i8** %3
%88 = call i32 @strncasecmp(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.22, i64 0, i64 0), i8* %87, i32 19)
%89 = icmp ne i32 %88, 0
br i1 %89, label %90, label %94
90: ; preds = %86
%91 = load i8*, i8** %3
%92 = call i32 @strncasecmp(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.23, i64 0, i64 0), i8* %91, i32 8)
%93 = icmp ne i32 %92, 0
br i1 %93, label %96, label %94
94: ; preds = %90, %86, %82, %78
%95 = call i8* @strdup(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.24, i64 0, i64 0))
store i8* %95, i8** %4
br label %96
96: ; preds = %94, %90
br label %97
97: ; preds = %96, %76
br label %98
98: ; preds = %97, %50
br label %99
99: ; preds = %98, %32
br label %100
100: ; preds = %99, %14
%101 = load i8*, i8** %4
ret i8* %101
}

LLVM IR (-O2):
@.str = [7 x i8] c"froyo-\00"
@.str.1 = [11 x i8] c"gapps-mdpi\00"
@.str.2 = [10 x i8] c"android22\00"
@.str.3 = [11 x i8] c"update-cm7\00"
@.str.4 = [12 x i8] c"update-cm-7\00"
@.str.5 = [5 x i8] c"cm-7\00"
@.str.6 = [9 x i8] c"gapps-gb\00"
@.str.7 = [10 x i8] c"android23\00"
@.str.8 = [11 x i8] c"update-cm9\00"
@.str.9 = [12 x i8] c"update-cm-9\00"
@.str.10 = [5 x i8] c"cm-9\00"
@.str.11 = [10 x i8] c"gapps-ics\00"
@.str.12 = [10 x i8] c"android40\00"
@.str.13 = [13 x i8] c"update-cm10-\00"
@.str.14 = [14 x i8] c"update-cm-10-\00"
@.str.15 = [7 x i8] c"cm-10-\00"
@.str.16 = [20 x i8] c"skz_tenderloin-1.20\00"
@.str.17 = [15 x i8] c"gapps-jb-20120\00"
@.str.18 = [16 x i8] c"gapps-jb-201210\00"
@.str.19 = [10 x i8] c"android41\00"
@.str.20 = [3 x i8] c"ev\00"
@.str.21 = [8 x i8] c"cm-10.1\00"
@.str.22 = [20 x i8] c"skz_tenderloin-2.00\00"
@.str.23 = [9 x i8] c"gapps-jb\00"
@.str.24 = [10 x i8] c"android42\00"
define noalias i8* @deduce_lv_set(i8* %0) {
%2 = tail call i8* @basename(i8* %0)
%3 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* %2, i32 6)
%4 = icmp eq i32 %3, 0
br i1 %4, label %62, label %5
5: ; preds = %1
%6 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i8* %2, i32 10)
%7 = icmp eq i32 %6, 0
br i1 %7, label %62, label %8
8: ; preds = %5
%9 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* %2, i32 10)
%10 = icmp eq i32 %9, 0
br i1 %10, label %62, label %11
11: ; preds = %8
%12 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i8* %2, i32 11)
%13 = icmp eq i32 %12, 0
br i1 %13, label %62, label %14
14: ; preds = %11
%15 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* %2, i32 4)
%16 = icmp eq i32 %15, 0
br i1 %16, label %62, label %17
17: ; preds = %14
%18 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i8* %2, i32 8)
%19 = icmp eq i32 %18, 0
br i1 %19, label %62, label %20
20: ; preds = %17
%21 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* %2, i32 10)
%22 = icmp eq i32 %21, 0
br i1 %22, label %62, label %23
23: ; preds = %20
%24 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0), i8* %2, i32 11)
%25 = icmp eq i32 %24, 0
br i1 %25, label %62, label %26
26: ; preds = %23
%27 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8* %2, i32 4)
%28 = icmp eq i32 %27, 0
br i1 %28, label %62, label %29
29: ; preds = %26
%30 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i8* %2, i32 9)
%31 = icmp eq i32 %30, 0
br i1 %31, label %62, label %32
32: ; preds = %29
%33 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0), i8* %2, i32 10)
%34 = icmp eq i32 %33, 0
br i1 %34, label %62, label %35
35: ; preds = %32
%36 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.14, i64 0, i64 0), i8* %2, i32 11)
%37 = icmp eq i32 %36, 0
br i1 %37, label %62, label %38
38: ; preds = %35
%39 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i8* %2, i32 6)
%40 = icmp eq i32 %39, 0
br i1 %40, label %62, label %41
41: ; preds = %38
%42 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.16, i64 0, i64 0), i8* %2, i32 19)
%43 = icmp eq i32 %42, 0
br i1 %43, label %62, label %44
44: ; preds = %41
%45 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.17, i64 0, i64 0), i8* %2, i32 14)
%46 = icmp eq i32 %45, 0
br i1 %46, label %62, label %47
47: ; preds = %44
%48 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i64 0, i64 0), i8* %2, i32 15)
%49 = icmp eq i32 %48, 0
br i1 %49, label %62, label %50
50: ; preds = %47
%51 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.20, i64 0, i64 0), i8* %2, i32 2)
%52 = icmp eq i32 %51, 0
br i1 %52, label %62, label %53
53: ; preds = %50
%54 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.21, i64 0, i64 0), i8* %2, i32 7)
%55 = icmp eq i32 %54, 0
br i1 %55, label %62, label %56
56: ; preds = %53
%57 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.22, i64 0, i64 0), i8* %2, i32 19)
%58 = icmp eq i32 %57, 0
br i1 %58, label %62, label %59
59: ; preds = %56
%60 = tail call i32 @strncasecmp(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.23, i64 0, i64 0), i8* %2, i32 8)
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %65
62: ; preds = %50, %53, %56, %59, %32, %35, %38, %41, %44, %47, %20, %23, %26, %29, %8, %11, %14, %17, %1, %5
%63 = phi i8* [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), %5 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), %1 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), %17 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), %14 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), %11 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), %8 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0), %29 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0), %26 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0), %23 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0), %20 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), %47 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), %44 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), %41 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), %38 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), %35 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), %32 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.24, i64 0, i64 0), %59 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.24, i64 0, i64 0), %56 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.24, i64 0, i64 0), %53 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.24, i64 0, i64 0), %50 ]
%64 = tail call dereferenceable_or_null(10) i8* @strdup(i8* %63)
br label %65
65: ; preds = %62, %59
%66 = phi i8* [ null, %59 ], [ %64, %62 ]
ret i8* %66
}