#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 strlen(char *);
scalar_t__ strncmp(char *, char const *, int);
int clrstr_len(const char *txt) {
  if (strncmp("<<<", txt, strlen("<<<")) != 0)
    return -1;
  if (strncmp("<<<"
              ""
              ">>>",
              txt,
              strlen("<<<"
                     ""
                     ">>>")) == 0)
    return strlen("<<<"
                  ""
                  ">>>");
  else if (strncmp("<<<"
                   "monster"
                   ">>>",
                   txt,
                   strlen("<<<"
                          "monster"
                          ">>>")) == 0)
    return strlen("<<<"
                  "monster"
                  ">>>");
  else if (strncmp("<<<"
                   "player"
                   ">>>",
                   txt,
                   strlen("<<<"
                          "player"
                          ">>>")) == 0)
    return strlen("<<<"
                  "player"
                  ">>>");
  else if (strncmp("<<<"
                   "item"
                   ">>>",
                   txt,
                   strlen("<<<"
                          "item"
                          ">>>")) == 0)
    return strlen("<<<"
                  "item"
                  ">>>");
  else if (strncmp("<<<"
                   "dmg"
                   ">>>",
                   txt,
                   strlen("<<<"
                          "dmg"
                          ">>>")) == 0)
    return strlen("<<<"
                  "dmg"
                  ">>>");
  else if (strncmp("<<<"
                   "warning"
                   ">>>",
                   txt,
                   strlen("<<<"
                          "warning"
                          ">>>")) == 0)
    return strlen("<<<"
                  "warning"
                  ">>>");
  else if (strncmp("<<<"
                   "critical"
                   ">>>",
                   txt,
                   strlen("<<<"
                          "critical"
                          ">>>")) == 0)
    return strlen("<<<"
                  "critical"
                  ">>>");
  else if (strncmp("<<<"
                   "gm"
                   ">>>",
                   txt,
                   strlen("<<<"
                          "gm"
                          ">>>")) == 0)
    return strlen("<<<"
                  "gm"
                  ">>>");
  else if (strncmp("<<<"
                   "system"
                   ">>>",
                   txt,
                   strlen("<<<"
                          "system"
                          ">>>")) == 0)
    return strlen("<<<"
                  "system"
                  ">>>");
  else if (strncmp("<<<"
                   "attr"
                   ">>>",
                   txt,
                   strlen("<<<"
                          "attr"
                          ">>>")) == 0)
    return strlen("<<<"
                  "attr"
                  ">>>");
  else if (strncmp("<<<"
                   "old"
                   ">>>",
                   txt,
                   strlen("<<<"
                          "old"
                          ">>>")) == 0)
    return strlen("<<<"
                  "old"
                  ">>>");
  return -1;
}


x86 assembly (clang, -O0):
<clrstr_len>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x18(%rbp)
lea    0xec5(%rip),%rdi
call   1040 <strlen@plt>
mov    -0x18(%rbp),%rsi
mov    %eax,%edx
lea    0xeb3(%rip),%rdi
call   1030 <strncmp@plt>
cmp    $0x0,%rax
je     1168 <clrstr_len+0x48>
movl   $0xffffffff,-0x4(%rbp)
jmp    148d <clrstr_len+0x36d>
mov    -0x10(%rbp),%rax
mov    %rax,-0x20(%rbp)
lea    0xe8d(%rip),%rdi
call   1040 <strlen@plt>
mov    -0x20(%rbp),%rsi
mov    %eax,%edx
lea    0xe7b(%rip),%rdi
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    11ac <clrstr_len+0x8c>
lea    0xe65(%rip),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x4(%rbp)
jmp    148d <clrstr_len+0x36d>
mov    -0x10(%rbp),%rax
mov    %rax,-0x28(%rbp)
lea    0xe50(%rip),%rdi
call   1040 <strlen@plt>
mov    -0x28(%rbp),%rsi
mov    %eax,%edx
lea    0xe3e(%rip),%rdi
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    11f0 <clrstr_len+0xd0>
lea    0xe28(%rip),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x4(%rbp)
jmp    148d <clrstr_len+0x36d>
mov    -0x10(%rbp),%rax
mov    %rax,-0x30(%rbp)
lea    0xe1a(%rip),%rdi
call   1040 <strlen@plt>
mov    -0x30(%rbp),%rsi
mov    %eax,%edx
lea    0xe08(%rip),%rdi
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    1234 <clrstr_len+0x114>
lea    0xdf2(%rip),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x4(%rbp)
jmp    148d <clrstr_len+0x36d>
mov    -0x10(%rbp),%rax
mov    %rax,-0x38(%rbp)
lea    0xde3(%rip),%rdi
call   1040 <strlen@plt>
mov    -0x38(%rbp),%rsi
mov    %eax,%edx
lea    0xdd1(%rip),%rdi
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    1278 <clrstr_len+0x158>
lea    0xdbb(%rip),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x4(%rbp)
jmp    148d <clrstr_len+0x36d>
mov    -0x10(%rbp),%rax
mov    %rax,-0x40(%rbp)
lea    0xdaa(%rip),%rdi
call   1040 <strlen@plt>
mov    -0x40(%rbp),%rsi
mov    %eax,%edx
lea    0xd98(%rip),%rdi
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    12bc <clrstr_len+0x19c>
lea    0xd82(%rip),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x4(%rbp)
jmp    148d <clrstr_len+0x36d>
mov    -0x10(%rbp),%rax
mov    %rax,-0x48(%rbp)
lea    0xd70(%rip),%rdi
call   1040 <strlen@plt>
mov    -0x48(%rbp),%rsi
mov    %eax,%edx
lea    0xd5e(%rip),%rdi
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    1300 <clrstr_len+0x1e0>
lea    0xd48(%rip),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x4(%rbp)
jmp    148d <clrstr_len+0x36d>
mov    -0x10(%rbp),%rax
mov    %rax,-0x50(%rbp)
lea    0xd3a(%rip),%rdi
call   1040 <strlen@plt>
mov    -0x50(%rbp),%rsi
mov    %eax,%edx
lea    0xd28(%rip),%rdi
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    1344 <clrstr_len+0x224>
lea    0xd12(%rip),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x4(%rbp)
jmp    148d <clrstr_len+0x36d>
mov    -0x10(%rbp),%rax
mov    %rax,-0x58(%rbp)
lea    0xd05(%rip),%rdi
call   1040 <strlen@plt>
mov    -0x58(%rbp),%rsi
mov    %eax,%edx
lea    0xcf3(%rip),%rdi
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    1388 <clrstr_len+0x268>
lea    0xcdd(%rip),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x4(%rbp)
jmp    148d <clrstr_len+0x36d>
mov    -0x10(%rbp),%rax
mov    %rax,-0x60(%rbp)
lea    0xcca(%rip),%rdi
call   1040 <strlen@plt>
mov    -0x60(%rbp),%rsi
mov    %eax,%edx
lea    0xcb8(%rip),%rdi
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    13cc <clrstr_len+0x2ac>
lea    0xca2(%rip),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x4(%rbp)
jmp    148d <clrstr_len+0x36d>
mov    -0x10(%rbp),%rax
mov    %rax,-0x68(%rbp)
lea    0xc93(%rip),%rdi
call   1040 <strlen@plt>
mov    -0x68(%rbp),%rsi
mov    %eax,%edx
lea    0xc81(%rip),%rdi
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    1410 <clrstr_len+0x2f0>
lea    0xc6b(%rip),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x4(%rbp)
jmp    148d <clrstr_len+0x36d>
mov    -0x10(%rbp),%rax
mov    %rax,-0x70(%rbp)
lea    0xc5a(%rip),%rdi
call   1040 <strlen@plt>
mov    -0x70(%rbp),%rsi
mov    %eax,%edx
lea    0xc48(%rip),%rdi
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    1454 <clrstr_len+0x334>
lea    0xc32(%rip),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x4(%rbp)
jmp    148d <clrstr_len+0x36d>
jmp    1459 <clrstr_len+0x339>
jmp    145e <clrstr_len+0x33e>
jmp    1463 <clrstr_len+0x343>
jmp    1468 <clrstr_len+0x348>
jmp    146d <clrstr_len+0x34d>
jmp    1472 <clrstr_len+0x352>
jmp    1477 <clrstr_len+0x357>
jmp    147c <clrstr_len+0x35c>
jmp    1481 <clrstr_len+0x361>
jmp    1486 <clrstr_len+0x366>
movl   $0xffffffff,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<clrstr_len>:
push   %r14
push   %rbx
push   %rax
mov    %rdi,%r14
lea    0xed2(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     1155 <clrstr_len+0x35>
mov    $0xffffffff,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret
lea    0xea8(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     12e0 <clrstr_len+0x1c0>
lea    0xe8a(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     12e0 <clrstr_len+0x1c0>
lea    0xe73(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     12e0 <clrstr_len+0x1c0>
lea    0xe5b(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     12e0 <clrstr_len+0x1c0>
lea    0xe41(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     12e0 <clrstr_len+0x1c0>
lea    0xe26(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     12e0 <clrstr_len+0x1c0>
lea    0xe0f(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     12e0 <clrstr_len+0x1c0>
lea    0xdf9(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     12e0 <clrstr_len+0x1c0>
lea    0xde1(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     12e0 <clrstr_len+0x1c0>
lea    0xdcd(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     12e0 <clrstr_len+0x1c0>
lea    0xdb7(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
jne    1148 <clrstr_len+0x28>
mov    %rbx,%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1040 <strlen@plt>

LLVM IR (-O0):
@.str = [4 x i8] c"<<<\00"
@.str.1 = [7 x i8] c"<<<>>>\00"
@.str.2 = [14 x i8] c"<<<monster>>>\00"
@.str.3 = [13 x i8] c"<<<player>>>\00"
@.str.4 = [11 x i8] c"<<<item>>>\00"
@.str.5 = [10 x i8] c"<<<dmg>>>\00"
@.str.6 = [14 x i8] c"<<<warning>>>\00"
@.str.7 = [15 x i8] c"<<<critical>>>\00"
@.str.8 = [9 x i8] c"<<<gm>>>\00"
@.str.9 = [13 x i8] c"<<<system>>>\00"
@.str.10 = [11 x i8] c"<<<attr>>>\00"
@.str.11 = [10 x i8] c"<<<old>>>\00"
define i32 @clrstr_len(i8* %0) {
%2 = alloca i32
%3 = alloca i8*
store i8* %0, i8** %3
%4 = load i8*, i8** %3
%5 = call i32 @strlen(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%6 = call i64 @strncmp(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %4, i32 %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 -1, i32* %2
br label %97
9: ; preds = %1
%10 = load i8*, i8** %3
%11 = call i32 @strlen(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%12 = call i64 @strncmp(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* %10, i32 %11)
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %9
%15 = call i32 @strlen(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
store i32 %15, i32* %2
br label %97
16: ; preds = %9
%17 = load i8*, i8** %3
%18 = call i32 @strlen(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0))
%19 = call i64 @strncmp(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i8* %17, i32 %18)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %16
%22 = call i32 @strlen(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0))
store i32 %22, i32* %2
br label %97
23: ; preds = %16
%24 = load i8*, i8** %3
%25 = call i32 @strlen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%26 = call i64 @strncmp(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i8* %24, i32 %25)
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = call i32 @strlen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
store i32 %29, i32* %2
br label %97
30: ; preds = %23
%31 = load i8*, i8** %3
%32 = call i32 @strlen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
%33 = call i64 @strncmp(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8* %31, i32 %32)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %30
%36 = call i32 @strlen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
store i32 %36, i32* %2
br label %97
37: ; preds = %30
%38 = load i8*, i8** %3
%39 = call i32 @strlen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%40 = call i64 @strncmp(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i8* %38, i32 %39)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %37
%43 = call i32 @strlen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
store i32 %43, i32* %2
br label %97
44: ; preds = %37
%45 = load i8*, i8** %3
%46 = call i32 @strlen(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0))
%47 = call i64 @strncmp(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* %45, i32 %46)
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %44
%50 = call i32 @strlen(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0))
store i32 %50, i32* %2
br label %97
51: ; preds = %44
%52 = load i8*, i8** %3
%53 = call i32 @strlen(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0))
%54 = call i64 @strncmp(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i8* %52, i32 %53)
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %51
%57 = call i32 @strlen(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0))
store i32 %57, i32* %2
br label %97
58: ; preds = %51
%59 = load i8*, i8** %3
%60 = call i32 @strlen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0))
%61 = call i64 @strncmp(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8* %59, i32 %60)
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %65
63: ; preds = %58
%64 = call i32 @strlen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0))
store i32 %64, i32* %2
br label %97
65: ; preds = %58
%66 = load i8*, i8** %3
%67 = call i32 @strlen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0))
%68 = call i64 @strncmp(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0), i8* %66, i32 %67)
%69 = icmp eq i64 %68, 0
br i1 %69, label %70, label %72
70: ; preds = %65
%71 = call i32 @strlen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0))
store i32 %71, i32* %2
br label %97
72: ; preds = %65
%73 = load i8*, i8** %3
%74 = call i32 @strlen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0))
%75 = call i64 @strncmp(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i8* %73, i32 %74)
%76 = icmp eq i64 %75, 0
br i1 %76, label %77, label %79
77: ; preds = %72
%78 = call i32 @strlen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0))
store i32 %78, i32* %2
br label %97
79: ; preds = %72
%80 = load i8*, i8** %3
%81 = call i32 @strlen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%82 = call i64 @strncmp(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i8* %80, i32 %81)
%83 = icmp eq i64 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %79
%85 = call i32 @strlen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
store i32 %85, i32* %2
br label %97
86: ; preds = %79
br label %87
87: ; preds = %86
br label %88
88: ; preds = %87
br label %89
89: ; preds = %88
br label %90
90: ; preds = %89
br label %91
91: ; preds = %90
br label %92
92: ; preds = %91
br label %93
93: ; preds = %92
br label %94
94: ; preds = %93
br label %95
95: ; preds = %94
br label %96
96: ; preds = %95
store i32 -1, i32* %2
br label %97
97: ; preds = %96, %84, %77, %70, %63, %56, %49, %42, %35, %28, %21, %14, %8
%98 = load i32, i32* %2
ret i32 %98
}

LLVM IR (-O2):
@.str = [4 x i8] c"<<<\00"
@.str.1 = [7 x i8] c"<<<>>>\00"
@.str.2 = [14 x i8] c"<<<monster>>>\00"
@.str.3 = [13 x i8] c"<<<player>>>\00"
@.str.4 = [11 x i8] c"<<<item>>>\00"
@.str.5 = [10 x i8] c"<<<dmg>>>\00"
@.str.6 = [14 x i8] c"<<<warning>>>\00"
@.str.7 = [15 x i8] c"<<<critical>>>\00"
@.str.8 = [9 x i8] c"<<<gm>>>\00"
@.str.9 = [13 x i8] c"<<<system>>>\00"
@.str.10 = [11 x i8] c"<<<attr>>>\00"
@.str.11 = [10 x i8] c"<<<old>>>\00"
define i32 @clrstr_len(i8* %0) {
%2 = tail call i32 @strlen(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%3 = tail call i64 @strncmp(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %0, i32 %2)
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %52
5: ; preds = %1
%6 = tail call i32 @strlen(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%7 = tail call i64 @strncmp(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* %0, i32 %6)
%8 = icmp eq i64 %7, 0
br i1 %8, label %49, label %9
9: ; preds = %5
%10 = tail call i32 @strlen(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0))
%11 = tail call i64 @strncmp(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i8* %0, i32 %10)
%12 = icmp eq i64 %11, 0
br i1 %12, label %49, label %13
13: ; preds = %9
%14 = tail call i32 @strlen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%15 = tail call i64 @strncmp(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i8* %0, i32 %14)
%16 = icmp eq i64 %15, 0
br i1 %16, label %49, label %17
17: ; preds = %13
%18 = tail call i32 @strlen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
%19 = tail call i64 @strncmp(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8* %0, i32 %18)
%20 = icmp eq i64 %19, 0
br i1 %20, label %49, label %21
21: ; preds = %17
%22 = tail call i32 @strlen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%23 = tail call i64 @strncmp(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i8* %0, i32 %22)
%24 = icmp eq i64 %23, 0
br i1 %24, label %49, label %25
25: ; preds = %21
%26 = tail call i32 @strlen(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0))
%27 = tail call i64 @strncmp(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* %0, i32 %26)
%28 = icmp eq i64 %27, 0
br i1 %28, label %49, label %29
29: ; preds = %25
%30 = tail call i32 @strlen(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0))
%31 = tail call i64 @strncmp(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i8* %0, i32 %30)
%32 = icmp eq i64 %31, 0
br i1 %32, label %49, label %33
33: ; preds = %29
%34 = tail call i32 @strlen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0))
%35 = tail call i64 @strncmp(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8* %0, i32 %34)
%36 = icmp eq i64 %35, 0
br i1 %36, label %49, label %37
37: ; preds = %33
%38 = tail call i32 @strlen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0))
%39 = tail call i64 @strncmp(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0), i8* %0, i32 %38)
%40 = icmp eq i64 %39, 0
br i1 %40, label %49, label %41
41: ; preds = %37
%42 = tail call i32 @strlen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0))
%43 = tail call i64 @strncmp(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i8* %0, i32 %42)
%44 = icmp eq i64 %43, 0
br i1 %44, label %49, label %45
45: ; preds = %41
%46 = tail call i32 @strlen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%47 = tail call i64 @strncmp(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i8* %0, i32 %46)
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %52
49: ; preds = %45, %41, %37, %33, %29, %25, %21, %17, %13, %9, %5
%50 = phi i8* [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), %5 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), %9 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), %13 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), %17 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), %21 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), %25 ], [ getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), %29 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), %33 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0), %37 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), %41 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), %45 ]
%51 = tail call i32 @strlen(i8* %50)
br label %52
52: ; preds = %49, %45, %1
%53 = phi i32 [ -1, %1 ], [ -1, %45 ], [ %51, %49 ]
ret i32 %53
}