#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*/ str_cmp(char const *, char *);
int get_door(const char *arg) {
  int door;
  if (!str_cmp(arg, "n") || !str_cmp(arg, "north"))
    door = 0;
  else if (!str_cmp(arg, "e") || !str_cmp(arg, "east"))
    door = 1;
  else if (!str_cmp(arg, "s") || !str_cmp(arg, "south"))
    door = 2;
  else if (!str_cmp(arg, "w") || !str_cmp(arg, "west"))
    door = 3;
  else if (!str_cmp(arg, "u") || !str_cmp(arg, "up"))
    door = 4;
  else if (!str_cmp(arg, "d") || !str_cmp(arg, "down"))
    door = 5;
  else if (!str_cmp(arg, "ne") || !str_cmp(arg, "northeast"))
    door = 6;
  else if (!str_cmp(arg, "nw") || !str_cmp(arg, "northwest"))
    door = 7;
  else if (!str_cmp(arg, "se") || !str_cmp(arg, "southeast"))
    door = 8;
  else if (!str_cmp(arg, "sw") || !str_cmp(arg, "southwest"))
    door = 9;
  else
    door = -1;
  return door;
}


x86 assembly (clang, -O0):
<get_door>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xef1(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
je     114e <get_door+0x3e>
mov    -0x8(%rbp),%rdi
lea    0xec0(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
jne    115a <get_door+0x4a>
movl   $0x0,-0xc(%rbp)
jmp    13bc <get_door+0x2ac>
mov    -0x8(%rbp),%rdi
lea    0xeb6(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
je     118c <get_door+0x7c>
mov    -0x8(%rbp),%rdi
lea    0xea4(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
jne    1198 <get_door+0x88>
movl   $0x1,-0xc(%rbp)
jmp    13b7 <get_door+0x2a7>
mov    -0x8(%rbp),%rdi
lea    0xe63(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
je     11ca <get_door+0xba>
mov    -0x8(%rbp),%rdi
lea    0xe4c(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
jne    11d6 <get_door+0xc6>
movl   $0x2,-0xc(%rbp)
jmp    13b2 <get_door+0x2a2>
mov    -0x8(%rbp),%rdi
lea    0xe47(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
je     1208 <get_door+0xf8>
mov    -0x8(%rbp),%rdi
lea    0xe35(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
jne    1214 <get_door+0x104>
movl   $0x3,-0xc(%rbp)
jmp    13ad <get_door+0x29d>
mov    -0x8(%rbp),%rdi
lea    0xdef(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
je     1246 <get_door+0x136>
mov    -0x8(%rbp),%rdi
lea    0xdd8(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
jne    1252 <get_door+0x142>
movl   $0x4,-0xc(%rbp)
jmp    13a8 <get_door+0x298>
mov    -0x8(%rbp),%rdi
lea    0xdb6(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
je     1284 <get_door+0x174>
mov    -0x8(%rbp),%rdi
lea    0xd9f(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
jne    1290 <get_door+0x180>
movl   $0x5,-0xc(%rbp)
jmp    13a3 <get_door+0x293>
mov    -0x8(%rbp),%rdi
lea    0xd7f(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
je     12c2 <get_door+0x1b2>
mov    -0x8(%rbp),%rdi
lea    0xd69(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
jne    12ce <get_door+0x1be>
movl   $0x6,-0xc(%rbp)
jmp    139e <get_door+0x28e>
mov    -0x8(%rbp),%rdi
lea    0xd4e(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
je     1300 <get_door+0x1f0>
mov    -0x8(%rbp),%rdi
lea    0xd38(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
jne    130c <get_door+0x1fc>
movl   $0x7,-0xc(%rbp)
jmp    1399 <get_door+0x289>
mov    -0x8(%rbp),%rdi
lea    0xd1d(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
je     133e <get_door+0x22e>
mov    -0x8(%rbp),%rdi
lea    0xd07(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
jne    134a <get_door+0x23a>
movl   $0x8,-0xc(%rbp)
jmp    1394 <get_door+0x284>
mov    -0x8(%rbp),%rdi
lea    0xcec(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
je     137c <get_door+0x26c>
mov    -0x8(%rbp),%rdi
lea    0xcd6(%rip),%rsi
call   1030 <str_cmp@plt>
cmp    $0x0,%eax
jne    1388 <get_door+0x278>
movl   $0x9,-0xc(%rbp)
jmp    138f <get_door+0x27f>
movl   $0xffffffff,-0xc(%rbp)
jmp    1394 <get_door+0x284>
jmp    1399 <get_door+0x289>
jmp    139e <get_door+0x28e>
jmp    13a3 <get_door+0x293>
jmp    13a8 <get_door+0x298>
jmp    13ad <get_door+0x29d>
jmp    13b2 <get_door+0x2a2>
jmp    13b7 <get_door+0x2a7>
jmp    13bc <get_door+0x2ac>
mov    -0xc(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_door>:
push   %rbp
push   %rbx
push   %rax
mov    %rdi,%rbx
lea    0xefb(%rip),%rsi
call   1030 <str_cmp@plt>
xor    %ebp,%ebp
test   %eax,%eax
je     12fb <get_door+0x1eb>
lea    0xecd(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
test   %eax,%eax
je     12fb <get_door+0x1eb>
lea    0xed1(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
mov    $0x1,%ebp
test   %eax,%eax
je     12fb <get_door+0x1eb>
lea    0xebc(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
test   %eax,%eax
je     12fb <get_door+0x1eb>
lea    0xe89(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
mov    $0x2,%ebp
test   %eax,%eax
je     12fb <get_door+0x1eb>
lea    0xe6f(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
test   %eax,%eax
je     12fb <get_door+0x1eb>
lea    0xe78(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
mov    $0x3,%ebp
test   %eax,%eax
je     12fb <get_door+0x1eb>
lea    0xe63(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
test   %eax,%eax
je     12fb <get_door+0x1eb>
lea    0xe2b(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
mov    $0x4,%ebp
test   %eax,%eax
je     12fb <get_door+0x1eb>
lea    0xe11(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
test   %eax,%eax
je     12fb <get_door+0x1eb>
lea    0xdfd(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
mov    $0x5,%ebp
test   %eax,%eax
je     12fb <get_door+0x1eb>
lea    0xde3(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
test   %eax,%eax
je     12fb <get_door+0x1eb>
lea    0xdd1(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
mov    $0x6,%ebp
test   %eax,%eax
je     12fb <get_door+0x1eb>
lea    0xdb8(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
test   %eax,%eax
je     12fb <get_door+0x1eb>
lea    0xdab(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
mov    $0x7,%ebp
test   %eax,%eax
je     12fb <get_door+0x1eb>
lea    0xd96(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
test   %eax,%eax
je     12fb <get_door+0x1eb>
lea    0xd8d(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
mov    $0x8,%ebp
test   %eax,%eax
je     12fb <get_door+0x1eb>
lea    0xd78(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
test   %eax,%eax
je     12fb <get_door+0x1eb>
lea    0xd6f(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
test   %eax,%eax
je     12f6 <get_door+0x1e6>
lea    0xd5f(%rip),%rsi
mov    %rbx,%rdi
call   1030 <str_cmp@plt>
neg    %eax
sbb    %ebp,%ebp
or     $0x9,%ebp
jmp    12fb <get_door+0x1eb>
mov    $0x9,%ebp
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
@.str = [2 x i8] c"n\00"
@.str.1 = [6 x i8] c"north\00"
@.str.2 = [2 x i8] c"e\00"
@.str.3 = [5 x i8] c"east\00"
@.str.4 = [2 x i8] c"s\00"
@.str.5 = [6 x i8] c"south\00"
@.str.6 = [2 x i8] c"w\00"
@.str.7 = [5 x i8] c"west\00"
@.str.8 = [2 x i8] c"u\00"
@.str.9 = [3 x i8] c"up\00"
@.str.10 = [2 x i8] c"d\00"
@.str.11 = [5 x i8] c"down\00"
@.str.12 = [3 x i8] c"ne\00"
@.str.13 = [10 x i8] c"northeast\00"
@.str.14 = [3 x i8] c"nw\00"
@.str.15 = [10 x i8] c"northwest\00"
@.str.16 = [3 x i8] c"se\00"
@.str.17 = [10 x i8] c"southeast\00"
@.str.18 = [3 x i8] c"sw\00"
@.str.19 = [10 x i8] c"southwest\00"
define i32 @get_door(i8* %0) {
%2 = alloca i8*
%3 = alloca i32
store i8* %0, i8** %2
%4 = load i8*, i8** %2
%5 = call i32 @str_cmp(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load i8*, i8** %2
%9 = call i32 @str_cmp(i8* %8, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%10 = icmp ne i32 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %7, %1
store i32 0, i32* %3
br label %103
12: ; preds = %7
%13 = load i8*, i8** %2
%14 = call i32 @str_cmp(i8* %13, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load i8*, i8** %2
%18 = call i32 @str_cmp(i8* %17, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%19 = icmp ne i32 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %16, %12
store i32 1, i32* %3
br label %102
21: ; preds = %16
%22 = load i8*, i8** %2
%23 = call i32 @str_cmp(i8* %22, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %29
25: ; preds = %21
%26 = load i8*, i8** %2
%27 = call i32 @str_cmp(i8* %26, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%28 = icmp ne i32 %27, 0
br i1 %28, label %30, label %29
29: ; preds = %25, %21
store i32 2, i32* %3
br label %101
30: ; preds = %25
%31 = load i8*, i8** %2
%32 = call i32 @str_cmp(i8* %31, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %38
34: ; preds = %30
%35 = load i8*, i8** %2
%36 = call i32 @str_cmp(i8* %35, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%37 = icmp ne i32 %36, 0
br i1 %37, label %39, label %38
38: ; preds = %34, %30
store i32 3, i32* %3
br label %100
39: ; preds = %34
%40 = load i8*, i8** %2
%41 = call i32 @str_cmp(i8* %40, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %47
43: ; preds = %39
%44 = load i8*, i8** %2
%45 = call i32 @str_cmp(i8* %44, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%46 = icmp ne i32 %45, 0
br i1 %46, label %48, label %47
47: ; preds = %43, %39
store i32 4, i32* %3
br label %99
48: ; preds = %43
%49 = load i8*, i8** %2
%50 = call i32 @str_cmp(i8* %49, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %56
52: ; preds = %48
%53 = load i8*, i8** %2
%54 = call i32 @str_cmp(i8* %53, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
%55 = icmp ne i32 %54, 0
br i1 %55, label %57, label %56
56: ; preds = %52, %48
store i32 5, i32* %3
br label %98
57: ; preds = %52
%58 = load i8*, i8** %2
%59 = call i32 @str_cmp(i8* %58, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0))
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %65
61: ; preds = %57
%62 = load i8*, i8** %2
%63 = call i32 @str_cmp(i8* %62, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0))
%64 = icmp ne i32 %63, 0
br i1 %64, label %66, label %65
65: ; preds = %61, %57
store i32 6, i32* %3
br label %97
66: ; preds = %61
%67 = load i8*, i8** %2
%68 = call i32 @str_cmp(i8* %67, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0))
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %74
70: ; preds = %66
%71 = load i8*, i8** %2
%72 = call i32 @str_cmp(i8* %71, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0))
%73 = icmp ne i32 %72, 0
br i1 %73, label %75, label %74
74: ; preds = %70, %66
store i32 7, i32* %3
br label %96
75: ; preds = %70
%76 = load i8*, i8** %2
%77 = call i32 @str_cmp(i8* %76, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.16, i64 0, i64 0))
%78 = icmp ne i32 %77, 0
br i1 %78, label %79, label %83
79: ; preds = %75
%80 = load i8*, i8** %2
%81 = call i32 @str_cmp(i8* %80, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.17, i64 0, i64 0))
%82 = icmp ne i32 %81, 0
br i1 %82, label %84, label %83
83: ; preds = %79, %75
store i32 8, i32* %3
br label %95
84: ; preds = %79
%85 = load i8*, i8** %2
%86 = call i32 @str_cmp(i8* %85, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0))
%87 = icmp ne i32 %86, 0
br i1 %87, label %88, label %92
88: ; preds = %84
%89 = load i8*, i8** %2
%90 = call i32 @str_cmp(i8* %89, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0))
%91 = icmp ne i32 %90, 0
br i1 %91, label %93, label %92
92: ; preds = %88, %84
store i32 9, i32* %3
br label %94
93: ; preds = %88
store i32 -1, i32* %3
br label %94
94: ; preds = %93, %92
br label %95
95: ; preds = %94, %83
br label %96
96: ; preds = %95, %74
br label %97
97: ; preds = %96, %65
br label %98
98: ; preds = %97, %56
br label %99
99: ; preds = %98, %47
br label %100
100: ; preds = %99, %38
br label %101
101: ; preds = %100, %29
br label %102
102: ; preds = %101, %20
br label %103
103: ; preds = %102, %11
%104 = load i32, i32* %3
ret i32 %104
}

LLVM IR (-O2):
@.str = [2 x i8] c"n\00"
@.str.1 = [6 x i8] c"north\00"
@.str.2 = [2 x i8] c"e\00"
@.str.3 = [5 x i8] c"east\00"
@.str.4 = [2 x i8] c"s\00"
@.str.5 = [6 x i8] c"south\00"
@.str.6 = [2 x i8] c"w\00"
@.str.7 = [5 x i8] c"west\00"
@.str.8 = [2 x i8] c"u\00"
@.str.9 = [3 x i8] c"up\00"
@.str.10 = [2 x i8] c"d\00"
@.str.11 = [5 x i8] c"down\00"
@.str.12 = [3 x i8] c"ne\00"
@.str.13 = [10 x i8] c"northeast\00"
@.str.14 = [3 x i8] c"nw\00"
@.str.15 = [10 x i8] c"northwest\00"
@.str.16 = [3 x i8] c"se\00"
@.str.17 = [10 x i8] c"southeast\00"
@.str.18 = [3 x i8] c"sw\00"
@.str.19 = [10 x i8] c"southwest\00"
define i32 @get_door(i8* %0) {
%2 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%3 = icmp eq i32 %2, 0
br i1 %3, label %62, label %4
4: ; preds = %1
%5 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%6 = icmp eq i32 %5, 0
br i1 %6, label %62, label %7
7: ; preds = %4
%8 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%9 = icmp eq i32 %8, 0
br i1 %9, label %62, label %10
10: ; preds = %7
%11 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%12 = icmp eq i32 %11, 0
br i1 %12, label %62, label %13
13: ; preds = %10
%14 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%15 = icmp eq i32 %14, 0
br i1 %15, label %62, label %16
16: ; preds = %13
%17 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%18 = icmp eq i32 %17, 0
br i1 %18, label %62, label %19
19: ; preds = %16
%20 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%21 = icmp eq i32 %20, 0
br i1 %21, label %62, label %22
22: ; preds = %19
%23 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%24 = icmp eq i32 %23, 0
br i1 %24, label %62, label %25
25: ; preds = %22
%26 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
%27 = icmp eq i32 %26, 0
br i1 %27, label %62, label %28
28: ; preds = %25
%29 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%30 = icmp eq i32 %29, 0
br i1 %30, label %62, label %31
31: ; preds = %28
%32 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
%33 = icmp eq i32 %32, 0
br i1 %33, label %62, label %34
34: ; preds = %31
%35 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
%36 = icmp eq i32 %35, 0
br i1 %36, label %62, label %37
37: ; preds = %34
%38 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0))
%39 = icmp eq i32 %38, 0
br i1 %39, label %62, label %40
40: ; preds = %37
%41 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0))
%42 = icmp eq i32 %41, 0
br i1 %42, label %62, label %43
43: ; preds = %40
%44 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0))
%45 = icmp eq i32 %44, 0
br i1 %45, label %62, label %46
46: ; preds = %43
%47 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0))
%48 = icmp eq i32 %47, 0
br i1 %48, label %62, label %49
49: ; preds = %46
%50 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.16, i64 0, i64 0))
%51 = icmp eq i32 %50, 0
br i1 %51, label %62, label %52
52: ; preds = %49
%53 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.17, i64 0, i64 0))
%54 = icmp eq i32 %53, 0
br i1 %54, label %62, label %55
55: ; preds = %52
%56 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0))
%57 = icmp eq i32 %56, 0
br i1 %57, label %62, label %58
58: ; preds = %55
%59 = tail call i32 @str_cmp(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0))
%60 = icmp eq i32 %59, 0
%61 = select i1 %60, i32 9, i32 -1
br label %62
62: ; preds = %58, %55, %49, %52, %43, %46, %37, %40, %31, %34, %25, %28, %19, %22, %13, %16, %7, %10, %1, %4
%63 = phi i32 [ 0, %4 ], [ 0, %1 ], [ 1, %10 ], [ 1, %7 ], [ 2, %16 ], [ 2, %13 ], [ 3, %22 ], [ 3, %19 ], [ 4, %28 ], [ 4, %25 ], [ 5, %34 ], [ 5, %31 ], [ 6, %40 ], [ 6, %37 ], [ 7, %46 ], [ 7, %43 ], [ 8, %52 ], [ 8, %49 ], [ 9, %55 ], [ %61, %58 ]
ret i32 %63
}