#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*/ printf(char *, char *, char *);
int strlen(char *);
int /*<<< orphan*/ strncmp(char *, char *, int);
void process_uevent_buf(char *buf, int buflen) {
  enum uevent_env_indices {
    UEVENT_ENV_ACTION,
    UEVENT_ENV_SUBSYSTEM,
    UEVENT_ENV_DEVPATH,
    UEVENT_ENV_DEVTYPE,
    UEVENT_ENV_PHYSDEVBUS,
    UEVENT_ENV_PHYSDEVDRIVER,
    UEVENT_ENV_PHYSDEVPATH,
    UEVENT_ENV_SLOT,
    UEVENT_ENV_MAX
  };
  char *uevent_env_str[] = {
      "ACTION=",     "SUBSYSTEM=",     "DEVPATH=",     "DEVTYPE=",
      "PHYSDEVBUS=", "PHYSDEVDRIVER=", "PHYSDEVPATH=", "SLOT=",
  };
  char *uevent_envp_vals[20];
  char *uevent_envp;
  int matches = 0;
  int j;
  uevent_envp = buf;
  for (j = 0; j < UEVENT_ENV_MAX; uevent_envp_vals[j] = NULL, j++)
    ;
  while (uevent_envp < buf + buflen) {
    for (j = 0; j < UEVENT_ENV_MAX; j++) {
      if (!strncmp(uevent_envp, uevent_env_str[j], strlen(uevent_env_str[j]))) {
        uevent_envp_vals[j] = uevent_envp + strlen(uevent_env_str[j]);
        matches++;
      }
    }
    while (*uevent_envp++)
      ;
  }
  for (j = 0; j < UEVENT_ENV_MAX; j++)
    printf("%s = %s\n", uevent_env_str[j], uevent_envp_vals[j]);
}


x86 assembly (clang, -O0):
<process_uevent_buf>:
push   %rbp
mov    %rsp,%rbp
sub    $0x120,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
lea    -0x50(%rbp),%rdi
lea    0x2c83(%rip),%rsi
mov    $0x40,%edx
call   1060 <memcpy@plt>
movl   $0x0,-0xfc(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0xf8(%rbp)
movl   $0x0,-0x100(%rbp)
cmpl   $0x8,-0x100(%rbp)
jge    11bf <process_uevent_buf+0x7f>
jmp    1198 <process_uevent_buf+0x58>
movslq -0x100(%rbp),%rax
movq   $0x0,-0xf0(%rbp,%rax,8)
mov    -0x100(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x100(%rbp)
jmp    1186 <process_uevent_buf+0x46>
jmp    11c4 <process_uevent_buf+0x84>
mov    -0xf8(%rbp),%rax
mov    -0x8(%rbp),%rcx
movslq -0xc(%rbp),%rdx
add    %rdx,%rcx
cmp    %rcx,%rax
jae    12d5 <process_uevent_buf+0x195>
movl   $0x0,-0x100(%rbp)
cmpl   $0x8,-0x100(%rbp)
jge    12a8 <process_uevent_buf+0x168>
mov    -0xf8(%rbp),%rax
mov    %rax,-0x110(%rbp)
movslq -0x100(%rbp),%rax
mov    -0x50(%rbp,%rax,8),%rax
mov    %rax,-0x108(%rbp)
movslq -0x100(%rbp),%rax
mov    -0x50(%rbp,%rax,8),%rdi
call   1040 <strlen@plt>
mov    -0x110(%rbp),%rdi
mov    -0x108(%rbp),%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    128f <process_uevent_buf+0x14f>
mov    -0xf8(%rbp),%rax
mov    %rax,-0x118(%rbp)
movslq -0x100(%rbp),%rax
mov    -0x50(%rbp,%rax,8),%rdi
call   1040 <strlen@plt>
mov    -0x118(%rbp),%rcx
cltq
add    %rax,%rcx
movslq -0x100(%rbp),%rax
mov    %rcx,-0xf0(%rbp,%rax,8)
ff
mov    -0xfc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xfc(%rbp)
jmp    1294 <process_uevent_buf+0x154>
mov    -0x100(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x100(%rbp)
jmp    11e9 <process_uevent_buf+0xa9>
jmp    12ad <process_uevent_buf+0x16d>
mov    -0xf8(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0xf8(%rbp)
cmpb   $0x0,(%rax)
je     12d0 <process_uevent_buf+0x190>
jmp    12ad <process_uevent_buf+0x16d>
jmp    11c4 <process_uevent_buf+0x84>
movl   $0x0,-0x100(%rbp)
cmpl   $0x8,-0x100(%rbp)
jge    1327 <process_uevent_buf+0x1e7>
movslq -0x100(%rbp),%rax
mov    -0x50(%rbp,%rax,8),%rsi
movslq -0x100(%rbp),%rax
mov    -0xf0(%rbp,%rax,8),%rdx
ff
lea    0xd3c(%rip),%rdi
call   1050 <printf@plt>
mov    -0x100(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x100(%rbp)
jmp    12df <process_uevent_buf+0x19f>
add    $0x120,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<process_uevent_buf>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
test   %esi,%esi
jle    1357 <process_uevent_buf+0x227>
mov    %rdi,%r15
movslq %esi,%rax
add    %rdi,%rax
mov    %rax,0x40(%rsp)
xor    %eax,%eax
mov    %rax,0x18(%rsp)
lea    0xed5(%rip),%r12
lea    0xedb(%rip),%rbp
xor    %eax,%eax
mov    %rax,0x8(%rsp)
xor    %eax,%eax
mov    %rax,0x10(%rsp)
xor    %eax,%eax
mov    %rax,0x20(%rsp)
xor    %eax,%eax
mov    %rax,0x28(%rsp)
xor    %eax,%eax
mov    %rax,0x30(%rsp)
xor    %eax,%eax
mov    %rax,0x38(%rsp)
xor    %r13d,%r13d
cs nopw 0x0(%rax,%rax,1)
lea    0xe59(%rip),%r14
mov    %r14,%rdi
call   1040 <strlen@plt>
mov    %r15,%rdi
mov    %r14,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
jne    11d2 <process_uevent_buf+0xa2>
lea    0xe39(%rip),%rdi
call   1040 <strlen@plt>
movslq %eax,%r13
add    %r15,%r13
lea    0xe2f(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
jne    1208 <process_uevent_buf+0xd8>
lea    0xe0f(%rip),%rdi
call   1040 <strlen@plt>
cltq
add    %r15,%rax
mov    %rax,0x18(%rsp)
lea    0xe2c(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
jne    123e <process_uevent_buf+0x10e>
lea    0xe0c(%rip),%rdi
call   1040 <strlen@plt>
cltq
add    %r15,%rax
mov    %rax,0x8(%rsp)
lea    0xdce(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
jne    1274 <process_uevent_buf+0x144>
lea    0xdae(%rip),%rdi
call   1040 <strlen@plt>
cltq
add    %r15,%rax
mov    %rax,0x10(%rsp)
lea    0xda1(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
jne    12aa <process_uevent_buf+0x17a>
lea    0xd81(%rip),%rdi
call   1040 <strlen@plt>
cltq
add    %r15,%rax
mov    %rax,0x20(%rsp)
lea    0xd77(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
jne    12e0 <process_uevent_buf+0x1b0>
lea    0xd57(%rip),%rdi
call   1040 <strlen@plt>
cltq
add    %r15,%rax
mov    %rax,0x28(%rsp)
mov    %r12,%rdi
call   1040 <strlen@plt>
mov    %r15,%rdi
mov    %r12,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
jne    130b <process_uevent_buf+0x1db>
mov    %r12,%rdi
call   1040 <strlen@plt>
cltq
add    %r15,%rax
mov    %rax,0x30(%rsp)
mov    %rbp,%rdi
call   1040 <strlen@plt>
mov    %r15,%rdi
mov    %rbp,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
jne    1340 <process_uevent_buf+0x210>
mov    %rbp,%rdi
call   1040 <strlen@plt>
cltq
add    %r15,%rax
mov    %rax,0x38(%rsp)
cs nopw 0x0(%rax,%rax,1)
cmpb   $0x0,(%r15)
lea    0x1(%r15),%r15
jne    1340 <process_uevent_buf+0x210>
cmp    0x40(%rsp),%r15
jb     11a0 <process_uevent_buf+0x70>
jmp    138b <process_uevent_buf+0x25b>
xor    %eax,%eax
mov    %rax,0x18(%rsp)
xor    %eax,%eax
mov    %rax,0x8(%rsp)
xor    %eax,%eax
mov    %rax,0x10(%rsp)
xor    %eax,%eax
mov    %rax,0x20(%rsp)
xor    %eax,%eax
mov    %rax,0x28(%rsp)
xor    %eax,%eax
mov    %rax,0x30(%rsp)
xor    %eax,%eax
mov    %rax,0x38(%rsp)
xor    %r13d,%r13d
lea    0xcb8(%rip),%rbx
lea    0xc67(%rip),%rsi
mov    %rbx,%rdi
mov    %r13,%rdx
call   1050 <printf@plt>
lea    0xc5d(%rip),%rsi
mov    %rbx,%rdi
mov    0x18(%rsp),%rdx
call   1050 <printf@plt>
lea    0xc7c(%rip),%rsi
mov    %rbx,%rdi
mov    0x8(%rsp),%rdx
call   1050 <printf@plt>
lea    0xc40(%rip),%rsi
mov    %rbx,%rdi
mov    0x10(%rsp),%rdx
call   1050 <printf@plt>
lea    0xc35(%rip),%rsi
mov    %rbx,%rdi
mov    0x20(%rsp),%rdx
call   1050 <printf@plt>
lea    0xc2d(%rip),%rsi
mov    %rbx,%rdi
mov    0x28(%rsp),%rdx
call   1050 <printf@plt>
lea    0xc28(%rip),%rsi
mov    %rbx,%rdi
mov    0x30(%rsp),%rdx
call   1050 <printf@plt>
lea    0xc21(%rip),%rsi
mov    %rbx,%rdi
mov    0x38(%rsp),%rdx
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <printf@plt>

LLVM IR (-O0):
@.str = [8 x i8] c"ACTION=\00"
@.str.1 = [11 x i8] c"SUBSYSTEM=\00"
@.str.2 = [9 x i8] c"DEVPATH=\00"
@.str.3 = [9 x i8] c"DEVTYPE=\00"
@.str.4 = [12 x i8] c"PHYSDEVBUS=\00"
@.str.5 = [15 x i8] c"PHYSDEVDRIVER=\00"
@.str.6 = [13 x i8] c"PHYSDEVPATH=\00"
@.str.7 = [6 x i8] c"SLOT=\00"
@__const.process_uevent_buf.uevent_env_str = [8 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i32 0, i32 0)]
@.str.8 = [9 x i8] c"%s = %s\0A\00"
define void @process_uevent_buf(i8* %0, i32 %1) {
%3 = alloca i8*
%4 = alloca i32
%5 = alloca [8 x i8*]
%6 = alloca [20 x i8*]
%7 = alloca i8*
%8 = alloca i32
%9 = alloca i32
store i8* %0, i8** %3
store i32 %1, i32* %4
%10 = bitcast [8 x i8*]* %5 to i8*
store i32 0, i32* %8
%11 = load i8*, i8** %3
store i8* %11, i8** %7
store i32 0, i32* %9
br label %12
12: ; preds = %16, %2
%13 = load i32, i32* %9
%14 = icmp slt i32 %13, 8
br i1 %14, label %15, label %22
15: ; preds = %12
br label %16
16: ; preds = %15
%17 = load i32, i32* %9
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [20 x i8*], [20 x i8*]* %6, i64 0, i64 %18
store i8* null, i8** %19
%20 = load i32, i32* %9
%21 = add nsw i32 %20, 1
store i32 %21, i32* %9
br label %12
22: ; preds = %12
br label %23
23: ; preds = %72, %22
%24 = load i8*, i8** %7
%25 = load i8*, i8** %3
%26 = load i32, i32* %4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, i8* %25, i64 %27
%29 = icmp ult i8* %24, %28
br i1 %29, label %30, label %73
30: ; preds = %23
store i32 0, i32* %9
br label %31
31: ; preds = %62, %30
%32 = load i32, i32* %9
%33 = icmp slt i32 %32, 8
br i1 %33, label %34, label %65
34: ; preds = %31
%35 = load i8*, i8** %7
%36 = load i32, i32* %9
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [8 x i8*], [8 x i8*]* %5, i64 0, i64 %37
%39 = load i8*, i8** %38
%40 = load i32, i32* %9
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [8 x i8*], [8 x i8*]* %5, i64 0, i64 %41
%43 = load i8*, i8** %42
%44 = call i32 @strlen(i8* %43)
%45 = call i32 @strncmp(i8* %35, i8* %39, i32 %44)
%46 = icmp ne i32 %45, 0
br i1 %46, label %61, label %47
47: ; preds = %34
%48 = load i8*, i8** %7
%49 = load i32, i32* %9
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [8 x i8*], [8 x i8*]* %5, i64 0, i64 %50
%52 = load i8*, i8** %51
%53 = call i32 @strlen(i8* %52)
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, i8* %48, i64 %54
%56 = load i32, i32* %9
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [20 x i8*], [20 x i8*]* %6, i64 0, i64 %57
store i8* %55, i8** %58
%59 = load i32, i32* %8
%60 = add nsw i32 %59, 1
store i32 %60, i32* %8
br label %61
61: ; preds = %47, %34
br label %62
62: ; preds = %61
%63 = load i32, i32* %9
%64 = add nsw i32 %63, 1
store i32 %64, i32* %9
br label %31
65: ; preds = %31
br label %66
66: ; preds = %71, %65
%67 = load i8*, i8** %7
%68 = getelementptr inbounds i8, i8* %67, i32 1
store i8* %68, i8** %7
%69 = load i8, i8* %67
%70 = icmp ne i8 %69, 0
br i1 %70, label %71, label %72
71: ; preds = %66
br label %66
72: ; preds = %66
br label %23
73: ; preds = %23
store i32 0, i32* %9
br label %74
74: ; preds = %87, %73
%75 = load i32, i32* %9
%76 = icmp slt i32 %75, 8
br i1 %76, label %77, label %90
77: ; preds = %74
%78 = load i32, i32* %9
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [8 x i8*], [8 x i8*]* %5, i64 0, i64 %79
%81 = load i8*, i8** %80
%82 = load i32, i32* %9
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [20 x i8*], [20 x i8*]* %6, i64 0, i64 %83
%85 = load i8*, i8** %84
%86 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8* %81, i8* %85)
br label %87
87: ; preds = %77
%88 = load i32, i32* %9
%89 = add nsw i32 %88, 1
store i32 %89, i32* %9
br label %74
90: ; preds = %74
ret void
}

LLVM IR (-O2):
@.str = [8 x i8] c"ACTION=\00"
@.str.1 = [11 x i8] c"SUBSYSTEM=\00"
@.str.2 = [9 x i8] c"DEVPATH=\00"
@.str.3 = [9 x i8] c"DEVTYPE=\00"
@.str.4 = [12 x i8] c"PHYSDEVBUS=\00"
@.str.5 = [15 x i8] c"PHYSDEVDRIVER=\00"
@.str.6 = [13 x i8] c"PHYSDEVPATH=\00"
@.str.7 = [6 x i8] c"SLOT=\00"
@.str.8 = [9 x i8] c"%s = %s\0A\00"
define void @process_uevent_buf(i8* %0, i32 %1) {
%3 = sext i32 %1 to i64
%4 = getelementptr inbounds i8, i8* %0, i64 %3
%5 = icmp sgt i32 %1, 0
br i1 %5, label %8, label %21
6: ; preds = %107
%7 = icmp ult i8* %109, %4
br i1 %7, label %8, label %21
8: ; preds = %2, %6
%9 = phi i8* [ %52, %6 ], [ null, %2 ]
%10 = phi i8* [ %61, %6 ], [ null, %2 ]
%11 = phi i8* [ %70, %6 ], [ null, %2 ]
%12 = phi i8* [ %79, %6 ], [ null, %2 ]
%13 = phi i8* [ %88, %6 ], [ null, %2 ]
%14 = phi i8* [ %97, %6 ], [ null, %2 ]
%15 = phi i8* [ %106, %6 ], [ null, %2 ]
%16 = phi i8* [ %43, %6 ], [ null, %2 ]
%17 = phi i8* [ %109, %6 ], [ %0, %2 ]
%18 = tail call i32 @strlen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%19 = tail call i32 @strncmp(i8* %17, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %18)
%20 = icmp eq i32 %19, 0
br i1 %20, label %38, label %42
21: ; preds = %6, %2
%22 = phi i8* [ null, %2 ], [ %52, %6 ]
%23 = phi i8* [ null, %2 ], [ %61, %6 ]
%24 = phi i8* [ null, %2 ], [ %70, %6 ]
%25 = phi i8* [ null, %2 ], [ %79, %6 ]
%26 = phi i8* [ null, %2 ], [ %88, %6 ]
%27 = phi i8* [ null, %2 ], [ %97, %6 ]
%28 = phi i8* [ null, %2 ], [ %106, %6 ]
%29 = phi i8* [ null, %2 ], [ %43, %6 ]
%30 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* %29)
%31 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i8* %22)
%32 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8* %23)
%33 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i8* %24)
%34 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i8* %25)
%35 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%36 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i8* %27)
%37 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* %28)
ret void
38: ; preds = %8
%39 = tail call i32 @strlen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, i8* %17, i64 %40
br label %42
42: ; preds = %8, %38
%43 = phi i8* [ %41, %38 ], [ %16, %8 ]
%44 = tail call i32 @strlen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%45 = tail call i32 @strncmp(i8* %17, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %44)
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %42
%48 = tail call i32 @strlen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, i8* %17, i64 %49
br label %51
51: ; preds = %47, %42
%52 = phi i8* [ %50, %47 ], [ %9, %42 ]
%53 = tail call i32 @strlen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%54 = tail call i32 @strncmp(i8* %17, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 %53)
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %60
56: ; preds = %51
%57 = tail call i32 @strlen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, i8* %17, i64 %58
br label %60
60: ; preds = %56, %51
%61 = phi i8* [ %59, %56 ], [ %10, %51 ]
%62 = tail call i32 @strlen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%63 = tail call i32 @strncmp(i8* %17, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i32 %62)
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %69
65: ; preds = %60
%66 = tail call i32 @strlen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, i8* %17, i64 %67
br label %69
69: ; preds = %65, %60
%70 = phi i8* [ %68, %65 ], [ %11, %60 ]
%71 = tail call i32 @strlen(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%72 = tail call i32 @strncmp(i8* %17, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i32 %71)
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %78
74: ; preds = %69
%75 = tail call i32 @strlen(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, i8* %17, i64 %76
br label %78
78: ; preds = %74, %69
%79 = phi i8* [ %77, %74 ], [ %12, %69 ]
%80 = tail call i32 @strlen(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0))
%81 = tail call i32 @strncmp(i8* %17, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 %80)
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %87
83: ; preds = %78
%84 = tail call i32 @strlen(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0))
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, i8* %17, i64 %85
br label %87
87: ; preds = %83, %78
%88 = phi i8* [ %86, %83 ], [ %13, %78 ]
%89 = tail call i32 @strlen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%90 = tail call i32 @strncmp(i8* %17, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i32 %89)
%91 = icmp eq i32 %90, 0
br i1 %91, label %92, label %96
92: ; preds = %87
%93 = tail call i32 @strlen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, i8* %17, i64 %94
br label %96
96: ; preds = %92, %87
%97 = phi i8* [ %95, %92 ], [ %14, %87 ]
%98 = tail call i32 @strlen(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%99 = tail call i32 @strncmp(i8* %17, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %98)
%100 = icmp eq i32 %99, 0
br i1 %100, label %101, label %105
101: ; preds = %96
%102 = tail call i32 @strlen(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, i8* %17, i64 %103
br label %105
105: ; preds = %101, %96
%106 = phi i8* [ %104, %101 ], [ %15, %96 ]
br label %107
107: ; preds = %105, %107
%108 = phi i8* [ %109, %107 ], [ %17, %105 ]
%109 = getelementptr inbounds i8, i8* %108, i64 1
%110 = load i8, i8* %108
%111 = icmp eq i8 %110, 0
br i1 %111, label %6, label %107
}