#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 */
typedef int /*<<< orphan*/ buf;

/* Variables and functions */
scalar_t__ http_read_line(int, char *, int);
scalar_t__ sprintf(char *, char *, ...);
char *strchr(char *, char);
scalar_t__ strcmp(char *, char *);
int /*<<< orphan*/ touch(char *);
int /*<<< orphan*/ url_decode(char *, char *, int);
const char *http_request_line(int fd, char *reqpath, char *env,
                              size_t *env_len) {
  static char buf[8192];
  char *sp1, *sp2, *qp, *envp = env;
  touch("http_request_line");
  if (http_read_line(fd, buf, sizeof(buf)) < 0)
    return "Socket IO error";
  sp1 = strchr(buf, ' ');
  if (!sp1)
    return "Cannot parse HTTP request (1)";
  *sp1 = '\0';
  sp1++;
  if (*sp1 != '/')
    return "Bad request path";
  sp2 = strchr(sp1, ' ');
  if (!sp2)
    return "Cannot parse HTTP request (2)";
  *sp2 = '\0';
  sp2++;
  if (strcmp(buf, "GET") && strcmp(buf, "POST"))
    return "Unsupported request (not GET or POST)";
  envp += sprintf(envp, "REQUEST_METHOD=%s", buf) + 1;
  envp += sprintf(envp, "SERVER_PROTOCOL=%s", sp2) + 1;
  if ((qp = strchr(sp1, '?'))) {
    *qp = '\0';
    envp += sprintf(envp, "QUERY_STRING=%s", qp + 1) + 1;
  }
  url_decode(reqpath, sp1, 2048);
  envp += sprintf(envp, "REQUEST_URI=%s", reqpath) + 1;
  envp += sprintf(envp, "SERVER_NAME=zoobar.org") + 1;
  *envp = 0;
  *env_len = envp - env + 1;
  return NULL;
}


x86 assembly (clang, -O0):
<http_request_line>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %edi,-0xc(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x48(%rbp)
lea    0xe7a(%rip),%rdi
call   1030 <touch@plt>
mov    -0xc(%rbp),%edi
lea    0x2ecb(%rip),%rsi
mov    $0x2000,%edx
call   1070 <http_read_line@plt>
cmp    $0x0,%rax
jge    11b9 <http_request_line+0x59>
lea    0xe62(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13ad <http_request_line+0x24d>
lea    0x2ea0(%rip),%rdi
mov    $0x20,%esi
call   1040 <strchr@plt>
mov    %rax,-0x30(%rbp)
cmpq   $0x0,-0x30(%rbp)
jne    11e9 <http_request_line+0x89>
lea    0xe42(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13ad <http_request_line+0x24d>
mov    -0x30(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x30(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x2f,%eax
je     121c <http_request_line+0xbc>
lea    0xe2d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13ad <http_request_line+0x24d>
mov    -0x30(%rbp),%rdi
mov    $0x20,%esi
call   1040 <strchr@plt>
mov    %rax,-0x38(%rbp)
cmpq   $0x0,-0x38(%rbp)
jne    1249 <http_request_line+0xe9>
lea    0xe11(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13ad <http_request_line+0x24d>
mov    -0x38(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x38(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x38(%rbp)
lea    0x2dfd(%rip),%rdi
lea    0xe05(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     12a6 <http_request_line+0x146>
lea    0x2de0(%rip),%rdi
lea    0xdec(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     12a6 <http_request_line+0x146>
lea    0xddb(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    13ad <http_request_line+0x24d>
mov    -0x48(%rbp),%rdi
lea    0xded(%rip),%rsi
lea    0x2da8(%rip),%rdx
mov    $0x0,%al
call   1080 <sprintf@plt>
add    $0x1,%rax
add    -0x48(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rdi
mov    -0x38(%rbp),%rdx
lea    0xdd6(%rip),%rsi
mov    $0x0,%al
call   1080 <sprintf@plt>
add    $0x1,%rax
add    -0x48(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x30(%rbp),%rdi
mov    $0x3f,%esi
call   1040 <strchr@plt>
mov    %rax,-0x40(%rbp)
cmp    $0x0,%rax
je     1336 <http_request_line+0x1d6>
mov    -0x40(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x48(%rbp),%rdi
mov    -0x40(%rbp),%rdx
add    $0x1,%rdx
lea    0xda0(%rip),%rsi
mov    $0x0,%al
call   1080 <sprintf@plt>
add    $0x1,%rax
add    -0x48(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x18(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    $0x800,%edx
call   1050 <url_decode@plt>
mov    -0x48(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xd7c(%rip),%rsi
mov    $0x0,%al
call   1080 <sprintf@plt>
add    $0x1,%rax
add    -0x48(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rdi
lea    0xd6d(%rip),%rsi
mov    $0x0,%al
call   1080 <sprintf@plt>
add    $0x1,%rax
add    -0x48(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x48(%rbp),%rcx
mov    -0x20(%rbp),%rax
sub    %rax,%rcx
add    $0x1,%rcx
mov    -0x28(%rbp),%rax
mov    %rcx,(%rax)
movq   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<http_request_line>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rcx,%r14
mov    %rdx,%r12
mov    %rsi,%r15
mov    %edi,%ebx
lea    0xe83(%rip),%rdi
call   1030 <touch@plt>
lea    0x2ed7(%rip),%rsi
mov    %ebx,%edi
mov    $0x2000,%edx
call   1070 <http_read_line@plt>
test   %rax,%rax
js     1214 <http_request_line+0xb4>
lea    0x2ebf(%rip),%rdi
mov    $0x20,%esi
call   1040 <strchr@plt>
test   %rax,%rax
je     1220 <http_request_line+0xc0>
mov    %rax,%rbx
movb   $0x0,(%rax)
cmpb   $0x2f,0x1(%rax)
jne    122c <http_request_line+0xcc>
add    $0x1,%rbx
mov    %rbx,%rdi
mov    $0x20,%esi
call   1040 <strchr@plt>
test   %rax,%rax
je     1238 <http_request_line+0xd8>
mov    %rax,%r13
movb   $0x0,(%rax)
lea    0x2e81(%rip),%rdi
lea    0xe89(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1244 <http_request_line+0xe4>
lea    0x2e69(%rip),%rdi
lea    0xe75(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1244 <http_request_line+0xe4>
lea    0xe69(%rip),%rbx
jmp    1312 <http_request_line+0x1b2>
lea    0xdf7(%rip),%rbx
jmp    1312 <http_request_line+0x1b2>
lea    0xdfb(%rip),%rbx
jmp    1312 <http_request_line+0x1b2>
lea    0xe0d(%rip),%rbx
jmp    1312 <http_request_line+0x1b2>
lea    0xe12(%rip),%rbx
jmp    1312 <http_request_line+0x1b2>
add    $0x1,%r13
lea    0xe4f(%rip),%rsi
lea    0x2e0a(%rip),%rdx
mov    %r12,%rdi
xor    %eax,%eax
call   1080 <sprintf@plt>
mov    %rax,%rbp
lea    (%rax,%r12,1),%rdi
add    $0x1,%rdi
add    %r12,%rbp
lea    0xe3b(%rip),%rsi
mov    %r13,%rdx
xor    %eax,%eax
call   1080 <sprintf@plt>
lea    (%rax,%rbp,1),%r13
add    $0x2,%r13
mov    %rbx,%rdi
mov    $0x3f,%esi
call   1040 <strchr@plt>
test   %rax,%rax
je     12bb <http_request_line+0x15b>
movb   $0x0,(%rax)
add    $0x1,%rax
lea    0xe1c(%rip),%rsi
mov    %r13,%rdi
mov    %rax,%rdx
xor    %eax,%eax
call   1080 <sprintf@plt>
add    %rax,%r13
add    $0x1,%r13
mov    %r15,%rdi
mov    %rbx,%rsi
mov    $0x800,%edx
call   1050 <url_decode@plt>
lea    0xe01(%rip),%rsi
xor    %ebx,%ebx
mov    %r13,%rdi
mov    %r15,%rdx
xor    %eax,%eax
call   1080 <sprintf@plt>
lea    (%rax,%r13,1),%rbp
lea    (%rax,%r13,1),%rdi
add    $0x1,%rdi
lea    0xdee(%rip),%rsi
xor    %eax,%eax
call   1080 <sprintf@plt>
lea    (%rax,%rbp,1),%rcx
add    $0x2,%rcx
movb   $0x0,0x2(%rax,%rbp,1)
sub    %r12,%rcx
add    $0x1,%rcx
mov    %rcx,(%r14)
mov    %rbx,%rax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@http_request_line.buf = internal global [8192 x i8] zeroinitializer
@.str = [18 x i8] c"http_request_line\00"
@.str.1 = [16 x i8] c"Socket IO error\00"
@.str.2 = [30 x i8] c"Cannot parse HTTP request (1)\00"
@.str.3 = [17 x i8] c"Bad request path\00"
@.str.4 = [30 x i8] c"Cannot parse HTTP request (2)\00"
@.str.5 = [4 x i8] c"GET\00"
@.str.6 = [5 x i8] c"POST\00"
@.str.7 = [38 x i8] c"Unsupported request (not GET or POST)\00"
@.str.8 = [18 x i8] c"REQUEST_METHOD=%s\00"
@.str.9 = [19 x i8] c"SERVER_PROTOCOL=%s\00"
@.str.10 = [16 x i8] c"QUERY_STRING=%s\00"
@.str.11 = [15 x i8] c"REQUEST_URI=%s\00"
@.str.12 = [23 x i8] c"SERVER_NAME=zoobar.org\00"
define i8* @http_request_line(i32 %0, i8* %1, i8* %2, i64* %3) {
%5 = alloca i8*
%6 = alloca i32
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i64*
%10 = alloca i8*
%11 = alloca i8*
%12 = alloca i8*
%13 = alloca i8*
store i32 %0, i32* %6
store i8* %1, i8** %7
store i8* %2, i8** %8
store i64* %3, i64** %9
%14 = load i8*, i8** %8
store i8* %14, i8** %13
%15 = call i32 @touch(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
%16 = load i32, i32* %6
%17 = call i64 @http_read_line(i32 %16, i8* getelementptr inbounds ([8192 x i8], [8192 x i8]* @http_request_line.buf, i64 0, i64 0), i32 8192)
%18 = icmp slt i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %4
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i8** %5
br label %97
20: ; preds = %4
%21 = call i8* @strchr(i8* getelementptr inbounds ([8192 x i8], [8192 x i8]* @http_request_line.buf, i64 0, i64 0), i8 signext 32)
store i8* %21, i8** %10
%22 = load i8*, i8** %10
%23 = icmp ne i8* %22, null
br i1 %23, label %25, label %24
24: ; preds = %20
store i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), i8** %5
br label %97
25: ; preds = %20
%26 = load i8*, i8** %10
store i8 0, i8* %26
%27 = load i8*, i8** %10
%28 = getelementptr inbounds i8, i8* %27, i32 1
store i8* %28, i8** %10
%29 = load i8*, i8** %10
%30 = load i8, i8* %29
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 47
br i1 %32, label %33, label %34
33: ; preds = %25
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), i8** %5
br label %97
34: ; preds = %25
%35 = load i8*, i8** %10
%36 = call i8* @strchr(i8* %35, i8 signext 32)
store i8* %36, i8** %11
%37 = load i8*, i8** %11
%38 = icmp ne i8* %37, null
br i1 %38, label %40, label %39
39: ; preds = %34
store i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), i8** %5
br label %97
40: ; preds = %34
%41 = load i8*, i8** %11
store i8 0, i8* %41
%42 = load i8*, i8** %11
%43 = getelementptr inbounds i8, i8* %42, i32 1
store i8* %43, i8** %11
%44 = call i64 @strcmp(i8* getelementptr inbounds ([8192 x i8], [8192 x i8]* @http_request_line.buf, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %50
46: ; preds = %40
%47 = call i64 @strcmp(i8* getelementptr inbounds ([8192 x i8], [8192 x i8]* @http_request_line.buf, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %50
49: ; preds = %46
store i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.7, i64 0, i64 0), i8** %5
br label %97
50: ; preds = %46, %40
%51 = load i8*, i8** %13
%52 = call i64 (i8*, i8*, ...) @sprintf(i8* %51, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([8192 x i8], [8192 x i8]* @http_request_line.buf, i64 0, i64 0))
%53 = add nsw i64 %52, 1
%54 = load i8*, i8** %13
%55 = getelementptr inbounds i8, i8* %54, i64 %53
store i8* %55, i8** %13
%56 = load i8*, i8** %13
%57 = load i8*, i8** %11
%58 = call i64 (i8*, i8*, ...) @sprintf(i8* %56, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i8* %57)
%59 = add nsw i64 %58, 1
%60 = load i8*, i8** %13
%61 = getelementptr inbounds i8, i8* %60, i64 %59
store i8* %61, i8** %13
%62 = load i8*, i8** %10
%63 = call i8* @strchr(i8* %62, i8 signext 63)
store i8* %63, i8** %12
%64 = icmp ne i8* %63, null
br i1 %64, label %65, label %74
65: ; preds = %50
%66 = load i8*, i8** %12
store i8 0, i8* %66
%67 = load i8*, i8** %13
%68 = load i8*, i8** %12
%69 = getelementptr inbounds i8, i8* %68, i64 1
%70 = call i64 (i8*, i8*, ...) @sprintf(i8* %67, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0), i8* %69)
%71 = add nsw i64 %70, 1
%72 = load i8*, i8** %13
%73 = getelementptr inbounds i8, i8* %72, i64 %71
store i8* %73, i8** %13
br label %74
74: ; preds = %65, %50
%75 = load i8*, i8** %7
%76 = load i8*, i8** %10
%77 = call i32 @url_decode(i8* %75, i8* %76, i32 2048)
%78 = load i8*, i8** %13
%79 = load i8*, i8** %7
%80 = call i64 (i8*, i8*, ...) @sprintf(i8* %78, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.11, i64 0, i64 0), i8* %79)
%81 = add nsw i64 %80, 1
%82 = load i8*, i8** %13
%83 = getelementptr inbounds i8, i8* %82, i64 %81
store i8* %83, i8** %13
%84 = load i8*, i8** %13
%85 = call i64 (i8*, i8*, ...) @sprintf(i8* %84, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.12, i64 0, i64 0))
%86 = add nsw i64 %85, 1
%87 = load i8*, i8** %13
%88 = getelementptr inbounds i8, i8* %87, i64 %86
store i8* %88, i8** %13
%89 = load i8*, i8** %13
store i8 0, i8* %89
%90 = load i8*, i8** %13
%91 = load i8*, i8** %8
%92 = ptrtoint i8* %90 to i64
%93 = ptrtoint i8* %91 to i64
%94 = sub i64 %92, %93
%95 = add nsw i64 %94, 1
%96 = load i64*, i64** %9
store i64 %95, i64* %96
store i8* null, i8** %5
br label %97
97: ; preds = %74, %49, %39, %33, %24, %19
%98 = load i8*, i8** %5
ret i8* %98
}

LLVM IR (-O2):
@http_request_line.buf = internal global [8192 x i8] zeroinitializer
@.str = [18 x i8] c"http_request_line\00"
@.str.1 = [16 x i8] c"Socket IO error\00"
@.str.2 = [30 x i8] c"Cannot parse HTTP request (1)\00"
@.str.3 = [17 x i8] c"Bad request path\00"
@.str.4 = [30 x i8] c"Cannot parse HTTP request (2)\00"
@.str.5 = [4 x i8] c"GET\00"
@.str.6 = [5 x i8] c"POST\00"
@.str.7 = [38 x i8] c"Unsupported request (not GET or POST)\00"
@.str.8 = [18 x i8] c"REQUEST_METHOD=%s\00"
@.str.9 = [19 x i8] c"SERVER_PROTOCOL=%s\00"
@.str.10 = [16 x i8] c"QUERY_STRING=%s\00"
@.str.11 = [15 x i8] c"REQUEST_URI=%s\00"
@.str.12 = [23 x i8] c"SERVER_NAME=zoobar.org\00"
define i8* @http_request_line(i32 %0, i8* %1, i8* %2, i64* nocapture writeonly %3) {
%5 = tail call i32 @touch(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
%6 = tail call i64 @http_read_line(i32 %0, i8* getelementptr inbounds ([8192 x i8], [8192 x i8]* @http_request_line.buf, i64 0, i64 0), i32 8192)
%7 = icmp slt i64 %6, 0
br i1 %7, label %52, label %8
8: ; preds = %4
%9 = tail call i8* @strchr(i8* dereferenceable(1) getelementptr inbounds ([8192 x i8], [8192 x i8]* @http_request_line.buf, i64 0, i64 0), i8 signext 32)
%10 = icmp eq i8* %9, null
br i1 %10, label %52, label %11
11: ; preds = %8
store i8 0, i8* %9
%12 = getelementptr inbounds i8, i8* %9, i64 1
%13 = load i8, i8* %12
%14 = icmp eq i8 %13, 47
br i1 %14, label %15, label %52
15: ; preds = %11
%16 = tail call i8* @strchr(i8* %12, i8 signext 32)
%17 = icmp eq i8* %16, null
br i1 %17, label %52, label %18
18: ; preds = %15
store i8 0, i8* %16
%19 = getelementptr inbounds i8, i8* %16, i64 1
%20 = tail call i64 @strcmp(i8* getelementptr inbounds ([8192 x i8], [8192 x i8]* @http_request_line.buf, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%21 = icmp eq i64 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %18
%23 = tail call i64 @strcmp(i8* getelementptr inbounds ([8192 x i8], [8192 x i8]* @http_request_line.buf, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %52
25: ; preds = %22, %18
%26 = tail call i64 (i8*, i8*, ...) @sprintf(i8* %2, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([8192 x i8], [8192 x i8]* @http_request_line.buf, i64 0, i64 0))
%27 = add nsw i64 %26, 1
%28 = getelementptr inbounds i8, i8* %2, i64 %27
%29 = tail call i64 (i8*, i8*, ...) @sprintf(i8* %28, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i8* %19)
%30 = add nsw i64 %29, 1
%31 = getelementptr inbounds i8, i8* %28, i64 %30
%32 = tail call i8* @strchr(i8* %12, i8 signext 63)
%33 = icmp eq i8* %32, null
br i1 %33, label %39, label %34
34: ; preds = %25
store i8 0, i8* %32
%35 = getelementptr inbounds i8, i8* %32, i64 1
%36 = tail call i64 (i8*, i8*, ...) @sprintf(i8* %31, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0), i8* %35)
%37 = add nsw i64 %36, 1
%38 = getelementptr inbounds i8, i8* %31, i64 %37
br label %39
39: ; preds = %34, %25
%40 = phi i8* [ %38, %34 ], [ %31, %25 ]
%41 = tail call i32 @url_decode(i8* %1, i8* %12, i32 2048)
%42 = tail call i64 (i8*, i8*, ...) @sprintf(i8* %40, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.11, i64 0, i64 0), i8* %1)
%43 = add nsw i64 %42, 1
%44 = getelementptr inbounds i8, i8* %40, i64 %43
%45 = tail call i64 (i8*, i8*, ...) @sprintf(i8* %44, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.12, i64 0, i64 0))
%46 = add nsw i64 %45, 1
%47 = getelementptr inbounds i8, i8* %44, i64 %46
store i8 0, i8* %47
%48 = ptrtoint i8* %47 to i64
%49 = ptrtoint i8* %2 to i64
%50 = sub i64 1, %49
%51 = add i64 %50, %48
store i64 %51, i64* %3
br label %52
52: ; preds = %22, %15, %11, %8, %4, %39
%53 = phi i8* [ null, %39 ], [ getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), %4 ], [ getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), %8 ], [ getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), %11 ], [ getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), %15 ], [ getelementptr inbounds ([38 x i8], [38 x i8]* @.str.7, i64 0, i64 0), %22 ]
ret i8* %53
}