#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 *getExtension(char *);
scalar_t__ malloc(int);
scalar_t__ strcmp(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
char *getContentType(char *path) {
  int pathLen = strlen(path), i, ind = -1, extLen;
  char *type = NULL, *ext;
  int typelen = 30;
  ext = getExtension(path);
  if (ext) {
    type = (char *)malloc(typelen);
    if (strcmp(ext, "jpg") == 0 || strcmp(ext, "jpeg") == 0) {
      strcpy(type, "image/jpg");
    } else if (strcmp(ext, "png") == 0) {
      strcpy(type, "image/png");
    } else if (strcmp(ext, "gif") == 0) {
      strcpy(type, "image/gif");
    } else if (strcmp(ext, "html") == 0 || strcmp(ext, "htm") == 0) {
      strcpy(type, "text/html; charset=UTF-8");
    } else if (strcmp(ext, "js") == 0) {
      strcpy(type, "text/javascript");
    } else if (strcmp(ext, "json") == 0) {
      strcpy(type, "application/json");
    } else if (strcmp(ext, "css") == 0) {
      strcpy(type, "text/css");
    } else if (strcmp(ext, "woff") == 0) {
      strcpy(type, "application/font-woff");
    } else if (strcmp(ext, "ttf") == 0) {
      strcpy(type, "application/x-font-ttf");
    } else if (strcmp(ext, "ico") == 0) {
      strcpy(type, "image/x-icon");
    } else {
      strcpy(type, "text/plain");
    }
  } else {
    return NULL;
  }
  return type;
}


x86 assembly (clang, -O0):
<getContentType>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x14(%rbp)
movl   $0xffffffff,-0x1c(%rbp)
movq   $0x0,-0x28(%rbp)
movl   $0x1e,-0x34(%rbp)
mov    -0x10(%rbp),%rdi
call   1070 <getExtension@plt>
mov    %rax,-0x30(%rbp)
cmpq   $0x0,-0x30(%rbp)
je     13ee <getContentType+0x29e>
mov    -0x34(%rbp),%edi
call   1060 <malloc@plt>
mov    %rax,-0x28(%rbp)
mov    -0x30(%rbp),%rdi
lea    0xe5e(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
je     11d6 <getContentType+0x86>
mov    -0x30(%rbp),%rdi
lea    0xe39(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    11eb <getContentType+0x9b>
mov    -0x28(%rbp),%rdi
lea    0xe24(%rip),%rsi
call   1030 <strcpy@plt>
jmp    13e9 <getContentType+0x299>
mov    -0x30(%rbp),%rdi
lea    0xe1f(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    121a <getContentType+0xca>
mov    -0x28(%rbp),%rdi
lea    0xdff(%rip),%rsi
call   1030 <strcpy@plt>
jmp    13e4 <getContentType+0x294>
mov    -0x30(%rbp),%rdi
lea    0xdfa(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1249 <getContentType+0xf9>
mov    -0x28(%rbp),%rdi
lea    0xdda(%rip),%rsi
call   1030 <strcpy@plt>
jmp    13df <getContentType+0x28f>
mov    -0x30(%rbp),%rdi
lea    0xdcf(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
je     127d <getContentType+0x12d>
mov    -0x30(%rbp),%rdi
lea    0xdba(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1292 <getContentType+0x142>
mov    -0x28(%rbp),%rdi
lea    0xda4(%rip),%rsi
call   1030 <strcpy@plt>
jmp    13da <getContentType+0x28a>
mov    -0x30(%rbp),%rdi
lea    0xda8(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    12c1 <getContentType+0x171>
mov    -0x28(%rbp),%rdi
lea    0xd91(%rip),%rsi
call   1030 <strcpy@plt>
jmp    13d5 <getContentType+0x285>
mov    -0x30(%rbp),%rdi
lea    0xd98(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    12f0 <getContentType+0x1a0>
mov    -0x28(%rbp),%rdi
lea    0xd72(%rip),%rsi
call   1030 <strcpy@plt>
jmp    13d0 <getContentType+0x280>
mov    -0x30(%rbp),%rdi
lea    0xd73(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    131f <getContentType+0x1cf>
mov    -0x28(%rbp),%rdi
lea    0xd54(%rip),%rsi
call   1030 <strcpy@plt>
jmp    13cb <getContentType+0x27b>
mov    -0x30(%rbp),%rdi
lea    0xd59(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    134e <getContentType+0x1fe>
mov    -0x28(%rbp),%rdi
lea    0xd2e(%rip),%rsi
call   1030 <strcpy@plt>
jmp    13c6 <getContentType+0x276>
mov    -0x30(%rbp),%rdi
lea    0xd42(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    137d <getContentType+0x22d>
mov    -0x28(%rbp),%rdi
lea    0xd15(%rip),%rsi
call   1030 <strcpy@plt>
jmp    13c1 <getContentType+0x271>
mov    -0x30(%rbp),%rdi
lea    0xd17(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    13ac <getContentType+0x25c>
mov    -0x28(%rbp),%rdi
lea    0xd01(%rip),%rsi
call   1030 <strcpy@plt>
jmp    13bc <getContentType+0x26c>
mov    -0x28(%rbp),%rdi
lea    0xcf9(%rip),%rsi
call   1030 <strcpy@plt>
jmp    13c1 <getContentType+0x271>
jmp    13c6 <getContentType+0x276>
jmp    13cb <getContentType+0x27b>
jmp    13d0 <getContentType+0x280>
jmp    13d5 <getContentType+0x285>
jmp    13da <getContentType+0x28a>
jmp    13df <getContentType+0x28f>
jmp    13e4 <getContentType+0x294>
jmp    13e9 <getContentType+0x299>
jmp    13fb <getContentType+0x2ab>
movq   $0x0,-0x8(%rbp)
jmp    1403 <getContentType+0x2b3>
mov    -0x28(%rbp),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<getContentType>:
push   %r15
push   %r14
push   %rbx
mov    %rdi,%rbx
call   1040 <strlen@plt>
mov    %rbx,%rdi
call   1070 <getExtension@plt>
test   %rax,%rax
je     12b2 <getContentType+0x162>
mov    %rax,%rbx
mov    $0x1e,%edi
call   1060 <malloc@plt>
mov    %rax,%r14
lea    0xe86(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
lea    0xe71(%rip),%r15
test   %rax,%rax
je     12c7 <getContentType+0x177>
lea    0xe5c(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     12c7 <getContentType+0x177>
lea    0xe59(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     12b7 <getContentType+0x167>
lea    0xe4b(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     12c0 <getContentType+0x170>
lea    0xe37(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
lea    0xe31(%rip),%r15
test   %rax,%rax
je     12c7 <getContentType+0x177>
lea    0xe1d(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     12c7 <getContentType+0x177>
lea    0xe22(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     12db <getContentType+0x18b>
lea    0xe29(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     12e4 <getContentType+0x194>
lea    0xe1b(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     12ed <getContentType+0x19d>
lea    0xe18(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     12f6 <getContentType+0x1a6>
lea    0xe1c(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     12ff <getContentType+0x1af>
lea    0xe0c(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
lea    0xdfe(%rip),%rax
lea    0xe04(%rip),%r15
cmove  %rax,%r15
jmp    12c7 <getContentType+0x177>
xor    %r14d,%r14d
jmp    12d2 <getContentType+0x182>
lea    0xd51(%rip),%r15
jmp    12c7 <getContentType+0x177>
lea    0xd52(%rip),%r15
mov    %r14,%rdi
mov    %r15,%rsi
call   1030 <strcpy@plt>
mov    %r14,%rax
pop    %rbx
pop    %r14
pop    %r15
ret
lea    0xd66(%rip),%r15
jmp    12c7 <getContentType+0x177>
lea    0xd6d(%rip),%r15
jmp    12c7 <getContentType+0x177>
lea    0xd75(%rip),%r15
jmp    12c7 <getContentType+0x177>
lea    0xd75(%rip),%r15
jmp    12c7 <getContentType+0x177>
lea    0xd82(%rip),%r15
jmp    12c7 <getContentType+0x177>

LLVM IR (-O0):
@.str = [4 x i8] c"jpg\00"
@.str.1 = [5 x i8] c"jpeg\00"
@.str.2 = [10 x i8] c"image/jpg\00"
@.str.3 = [4 x i8] c"png\00"
@.str.4 = [10 x i8] c"image/png\00"
@.str.5 = [4 x i8] c"gif\00"
@.str.6 = [10 x i8] c"image/gif\00"
@.str.7 = [5 x i8] c"html\00"
@.str.8 = [4 x i8] c"htm\00"
@.str.9 = [25 x i8] c"text/html; charset=UTF-8\00"
@.str.10 = [3 x i8] c"js\00"
@.str.11 = [16 x i8] c"text/javascript\00"
@.str.12 = [5 x i8] c"json\00"
@.str.13 = [17 x i8] c"application/json\00"
@.str.14 = [4 x i8] c"css\00"
@.str.15 = [9 x i8] c"text/css\00"
@.str.16 = [5 x i8] c"woff\00"
@.str.17 = [22 x i8] c"application/font-woff\00"
@.str.18 = [4 x i8] c"ttf\00"
@.str.19 = [23 x i8] c"application/x-font-ttf\00"
@.str.20 = [4 x i8] c"ico\00"
@.str.21 = [13 x i8] c"image/x-icon\00"
@.str.22 = [11 x i8] c"text/plain\00"
define i8* @getContentType(i8* %0) {
%2 = alloca i8*
%3 = alloca i8*
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca i32
store i8* %0, i8** %3
%11 = load i8*, i8** %3
%12 = call i32 @strlen(i8* %11)
store i32 %12, i32* %4
store i32 -1, i32* %6
store i8* null, i8** %8
store i32 30, i32* %10
%13 = load i8*, i8** %3
%14 = call i8* @getExtension(i8* %13)
store i8* %14, i8** %9
%15 = load i8*, i8** %9
%16 = icmp ne i8* %15, null
br i1 %16, label %17, label %111
17: ; preds = %1
%18 = load i32, i32* %10
%19 = call i64 @malloc(i32 %18)
%20 = inttoptr i64 %19 to i8*
store i8* %20, i8** %8
%21 = load i8*, i8** %9
%22 = call i64 @strcmp(i8* %21, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%23 = icmp eq i64 %22, 0
br i1 %23, label %28, label %24
24: ; preds = %17
%25 = load i8*, i8** %9
%26 = call i64 @strcmp(i8* %25, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %24, %17
%29 = load i8*, i8** %8
%30 = call i32 @strcpy(i8* %29, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
br label %110
31: ; preds = %24
%32 = load i8*, i8** %9
%33 = call i64 @strcmp(i8* %32, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %31
%36 = load i8*, i8** %8
%37 = call i32 @strcpy(i8* %36, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
br label %109
38: ; preds = %31
%39 = load i8*, i8** %9
%40 = call i64 @strcmp(i8* %39, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %38
%43 = load i8*, i8** %8
%44 = call i32 @strcpy(i8* %43, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
br label %108
45: ; preds = %38
%46 = load i8*, i8** %9
%47 = call i64 @strcmp(i8* %46, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%48 = icmp eq i64 %47, 0
br i1 %48, label %53, label %49
49: ; preds = %45
%50 = load i8*, i8** %9
%51 = call i64 @strcmp(i8* %50, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %49, %45
%54 = load i8*, i8** %8
%55 = call i32 @strcpy(i8* %54, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0))
br label %107
56: ; preds = %49
%57 = load i8*, i8** %9
%58 = call i64 @strcmp(i8* %57, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0))
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %63
60: ; preds = %56
%61 = load i8*, i8** %8
%62 = call i32 @strcpy(i8* %61, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0))
br label %106
63: ; preds = %56
%64 = load i8*, i8** %9
%65 = call i64 @strcmp(i8* %64, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %70
67: ; preds = %63
%68 = load i8*, i8** %8
%69 = call i32 @strcpy(i8* %68, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.13, i64 0, i64 0))
br label %105
70: ; preds = %63
%71 = load i8*, i8** %9
%72 = call i64 @strcmp(i8* %71, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%73 = icmp eq i64 %72, 0
br i1 %73, label %74, label %77
74: ; preds = %70
%75 = load i8*, i8** %8
%76 = call i32 @strcpy(i8* %75, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0))
br label %104
77: ; preds = %70
%78 = load i8*, i8** %9
%79 = call i64 @strcmp(i8* %78, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %84
81: ; preds = %77
%82 = load i8*, i8** %8
%83 = call i32 @strcpy(i8* %82, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.17, i64 0, i64 0))
br label %103
84: ; preds = %77
%85 = load i8*, i8** %9
%86 = call i64 @strcmp(i8* %85, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0))
%87 = icmp eq i64 %86, 0
br i1 %87, label %88, label %91
88: ; preds = %84
%89 = load i8*, i8** %8
%90 = call i32 @strcpy(i8* %89, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.19, i64 0, i64 0))
br label %102
91: ; preds = %84
%92 = load i8*, i8** %9
%93 = call i64 @strcmp(i8* %92, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0))
%94 = icmp eq i64 %93, 0
br i1 %94, label %95, label %98
95: ; preds = %91
%96 = load i8*, i8** %8
%97 = call i32 @strcpy(i8* %96, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.21, i64 0, i64 0))
br label %101
98: ; preds = %91
%99 = load i8*, i8** %8
%100 = call i32 @strcpy(i8* %99, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.22, i64 0, i64 0))
br label %101
101: ; preds = %98, %95
br label %102
102: ; preds = %101, %88
br label %103
103: ; preds = %102, %81
br label %104
104: ; preds = %103, %74
br label %105
105: ; preds = %104, %67
br label %106
106: ; preds = %105, %60
br label %107
107: ; preds = %106, %53
br label %108
108: ; preds = %107, %42
br label %109
109: ; preds = %108, %35
br label %110
110: ; preds = %109, %28
br label %112
111: ; preds = %1
store i8* null, i8** %2
br label %114
112: ; preds = %110
%113 = load i8*, i8** %8
store i8* %113, i8** %2
br label %114
114: ; preds = %112, %111
%115 = load i8*, i8** %2
ret i8* %115
}

LLVM IR (-O2):
@.str = [4 x i8] c"jpg\00"
@.str.1 = [5 x i8] c"jpeg\00"
@.str.2 = [10 x i8] c"image/jpg\00"
@.str.3 = [4 x i8] c"png\00"
@.str.4 = [10 x i8] c"image/png\00"
@.str.5 = [4 x i8] c"gif\00"
@.str.6 = [10 x i8] c"image/gif\00"
@.str.7 = [5 x i8] c"html\00"
@.str.8 = [4 x i8] c"htm\00"
@.str.9 = [25 x i8] c"text/html; charset=UTF-8\00"
@.str.10 = [3 x i8] c"js\00"
@.str.11 = [16 x i8] c"text/javascript\00"
@.str.12 = [5 x i8] c"json\00"
@.str.13 = [17 x i8] c"application/json\00"
@.str.14 = [4 x i8] c"css\00"
@.str.15 = [9 x i8] c"text/css\00"
@.str.16 = [5 x i8] c"woff\00"
@.str.17 = [22 x i8] c"application/font-woff\00"
@.str.18 = [4 x i8] c"ttf\00"
@.str.19 = [23 x i8] c"application/x-font-ttf\00"
@.str.20 = [4 x i8] c"ico\00"
@.str.21 = [13 x i8] c"image/x-icon\00"
@.str.22 = [11 x i8] c"text/plain\00"
define i8* @getContentType(i8* %0) {
%2 = tail call i32 @strlen(i8* %0)
%3 = tail call i8* @getExtension(i8* %0)
%4 = icmp eq i8* %3, null
br i1 %4, label %47, label %5
5: ; preds = %1
%6 = tail call i64 @malloc(i32 30)
%7 = inttoptr i64 %6 to i8*
%8 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%9 = icmp eq i64 %8, 0
br i1 %9, label %44, label %10
10: ; preds = %5
%11 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%12 = icmp eq i64 %11, 0
br i1 %12, label %44, label %13
13: ; preds = %10
%14 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%15 = icmp eq i64 %14, 0
br i1 %15, label %44, label %16
16: ; preds = %13
%17 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%18 = icmp eq i64 %17, 0
br i1 %18, label %44, label %19
19: ; preds = %16
%20 = tail call i64 @strcmp(i8* %3, 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 %44, label %22
22: ; preds = %19
%23 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%24 = icmp eq i64 %23, 0
br i1 %24, label %44, label %25
25: ; preds = %22
%26 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0))
%27 = icmp eq i64 %26, 0
br i1 %27, label %44, label %28
28: ; preds = %25
%29 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%30 = icmp eq i64 %29, 0
br i1 %30, label %44, label %31
31: ; preds = %28
%32 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%33 = icmp eq i64 %32, 0
br i1 %33, label %44, label %34
34: ; preds = %31
%35 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
br i1 %36, label %44, label %37
37: ; preds = %34
%38 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
br i1 %39, label %44, label %40
40: ; preds = %37
%41 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0))
%42 = icmp eq i64 %41, 0
%43 = select i1 %42, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.22, i64 0, i64 0)
br label %44
44: ; preds = %40, %37, %34, %31, %28, %25, %19, %22, %16, %13, %5, %10
%45 = phi i8* [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), %10 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), %5 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), %13 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), %16 ], [ getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0), %22 ], [ getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0), %19 ], [ getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0), %25 ], [ getelementptr inbounds ([17 x i8], [17 x i8]* @.str.13, i64 0, i64 0), %28 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0), %31 ], [ getelementptr inbounds ([22 x i8], [22 x i8]* @.str.17, i64 0, i64 0), %34 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.19, i64 0, i64 0), %37 ], [ %43, %40 ]
%46 = tail call i32 @strcpy(i8* %7, i8* %45)
br label %47
47: ; preds = %44, %1
%48 = phi i8* [ null, %1 ], [ %7, %44 ]
ret i8* %48
}