#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*/ zcmp(unsigned char *, unsigned char *);
int llib_led_kbd_val(unsigned char *s) {
  if (s[0] == '^' && s[1] && !s[2]) {
    switch (s[1]) {
    case '?':
      return 127;
    case '#':
      return 0x9B;
    default:
      return s[1] & 0x1F;
    }
  } else if ((s[0] == 'S' || s[0] == 's') && (s[1] == 'P' || s[1] == 'p') &&
             !s[2])
    return ' ';
  else if ((s[0] == 'M' || s[0] == 'm') && s[1]) {
    if (!zcmp(s, (unsigned char *)"MDOWN"))
      return 256;
    else if (!zcmp(s, (unsigned char *)"MWDOWN"))
      return 266;
    else if (!zcmp(s, (unsigned char *)"MWUP"))
      return 265;
    else if (!zcmp(s, (unsigned char *)"MUP"))
      return 257;
    else if (!zcmp(s, (unsigned char *)"MDRAG"))
      return 258;
    else if (!zcmp(s, (unsigned char *)"M2DOWN"))
      return 259;
    else if (!zcmp(s, (unsigned char *)"M2UP"))
      return 260;
    else if (!zcmp(s, (unsigned char *)"M2DRAG"))
      return 261;
    else if (!zcmp(s, (unsigned char *)"M3DOWN"))
      return 262;
    else if (!zcmp(s, (unsigned char *)"M3UP"))
      return 263;
    else if (!zcmp(s, (unsigned char *)"M3DRAG"))
      return 264;
    else
      return s[0];
  } else if (s[1] || !s[0])
    return -1;
  else
    return (unsigned char)s[0];
}


x86 assembly (clang, -O0):
<llib_led_kbd_val>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movzbl (%rax),%eax
cmp    $0x5e,%eax
jne    11a0 <llib_led_kbd_val+0x90>
mov    -0x10(%rbp),%rax
movzbl 0x1(%rax),%eax
cmp    $0x0,%eax
je     11a0 <llib_led_kbd_val+0x90>
mov    -0x10(%rbp),%rax
cmpb   $0x0,0x2(%rax)
jne    11a0 <llib_led_kbd_val+0x90>
mov    -0x10(%rbp),%rax
movzbl 0x1(%rax),%eax
mov    %eax,-0x14(%rbp)
sub    $0x23,%eax
je     1181 <llib_led_kbd_val+0x71>
jmp    1164 <llib_led_kbd_val+0x54>
mov    -0x14(%rbp),%eax
sub    $0x3f,%eax
jne    118d <llib_led_kbd_val+0x7d>
jmp    1175 <llib_led_kbd_val+0x65>
movl   $0x7f,-0x4(%rbp)
jmp    1407 <llib_led_kbd_val+0x2f7>
movl   $0x9b,-0x4(%rbp)
jmp    1407 <llib_led_kbd_val+0x2f7>
mov    -0x10(%rbp),%rax
movzbl 0x1(%rax),%eax
and    $0x1f,%eax
mov    %eax,-0x4(%rbp)
jmp    1407 <llib_led_kbd_val+0x2f7>
mov    -0x10(%rbp),%rax
movzbl (%rax),%eax
cmp    $0x53,%eax
je     11c0 <llib_led_kbd_val+0xb0>
mov    -0x10(%rbp),%rax
movzbl (%rax),%eax
cmp    $0x73,%eax
jne    11fc <llib_led_kbd_val+0xec>
mov    -0x10(%rbp),%rax
movzbl 0x1(%rax),%eax
cmp    $0x50,%eax
je     11e2 <llib_led_kbd_val+0xd2>
mov    -0x10(%rbp),%rax
movzbl 0x1(%rax),%eax
cmp    $0x70,%eax
jne    11fc <llib_led_kbd_val+0xec>
mov    -0x10(%rbp),%rax
cmpb   $0x0,0x2(%rax)
jne    11fc <llib_led_kbd_val+0xec>
movl   $0x20,-0x4(%rbp)
jmp    1407 <llib_led_kbd_val+0x2f7>
mov    -0x10(%rbp),%rax
movzbl (%rax),%eax
cmp    $0x4d,%eax
je     121c <llib_led_kbd_val+0x10c>
mov    -0x10(%rbp),%rax
movzbl (%rax),%eax
cmp    $0x6d,%eax
jne    13d3 <llib_led_kbd_val+0x2c3>
mov    -0x10(%rbp),%rax
movzbl 0x1(%rax),%eax
cmp    $0x0,%eax
je     13d3 <llib_led_kbd_val+0x2c3>
mov    -0x10(%rbp),%rdi
lea    0xdc8(%rip),%rsi
call   1030 <zcmp@plt>
cmp    $0x0,%eax
jne    1252 <llib_led_kbd_val+0x142>
movl   $0x100,-0x4(%rbp)
jmp    1407 <llib_led_kbd_val+0x2f7>
mov    -0x10(%rbp),%rdi
lea    0xda9(%rip),%rsi
call   1030 <zcmp@plt>
cmp    $0x0,%eax
jne    1277 <llib_led_kbd_val+0x167>
movl   $0x10a,-0x4(%rbp)
jmp    1407 <llib_led_kbd_val+0x2f7>
mov    -0x10(%rbp),%rdi
lea    0xd8b(%rip),%rsi
call   1030 <zcmp@plt>
cmp    $0x0,%eax
jne    129c <llib_led_kbd_val+0x18c>
movl   $0x109,-0x4(%rbp)
jmp    1407 <llib_led_kbd_val+0x2f7>
mov    -0x10(%rbp),%rdi
lea    0xd6b(%rip),%rsi
call   1030 <zcmp@plt>
cmp    $0x0,%eax
jne    12c1 <llib_led_kbd_val+0x1b1>
movl   $0x101,-0x4(%rbp)
jmp    1407 <llib_led_kbd_val+0x2f7>
mov    -0x10(%rbp),%rdi
lea    0xd4a(%rip),%rsi
call   1030 <zcmp@plt>
cmp    $0x0,%eax
jne    12e6 <llib_led_kbd_val+0x1d6>
movl   $0x102,-0x4(%rbp)
jmp    1407 <llib_led_kbd_val+0x2f7>
mov    -0x10(%rbp),%rdi
lea    0xd2b(%rip),%rsi
call   1030 <zcmp@plt>
cmp    $0x0,%eax
jne    130b <llib_led_kbd_val+0x1fb>
movl   $0x103,-0x4(%rbp)
jmp    1407 <llib_led_kbd_val+0x2f7>
mov    -0x10(%rbp),%rdi
lea    0xd0d(%rip),%rsi
call   1030 <zcmp@plt>
cmp    $0x0,%eax
jne    1330 <llib_led_kbd_val+0x220>
movl   $0x104,-0x4(%rbp)
jmp    1407 <llib_led_kbd_val+0x2f7>
mov    -0x10(%rbp),%rdi
lea    0xced(%rip),%rsi
call   1030 <zcmp@plt>
cmp    $0x0,%eax
jne    1355 <llib_led_kbd_val+0x245>
movl   $0x105,-0x4(%rbp)
jmp    1407 <llib_led_kbd_val+0x2f7>
mov    -0x10(%rbp),%rdi
lea    0xccf(%rip),%rsi
call   1030 <zcmp@plt>
cmp    $0x0,%eax
jne    137a <llib_led_kbd_val+0x26a>
movl   $0x106,-0x4(%rbp)
jmp    1407 <llib_led_kbd_val+0x2f7>
mov    -0x10(%rbp),%rdi
lea    0xcb1(%rip),%rsi
call   1030 <zcmp@plt>
cmp    $0x0,%eax
jne    139f <llib_led_kbd_val+0x28f>
movl   $0x107,-0x4(%rbp)
jmp    1407 <llib_led_kbd_val+0x2f7>
mov    -0x10(%rbp),%rdi
lea    0xc91(%rip),%rsi
call   1030 <zcmp@plt>
cmp    $0x0,%eax
jne    13c4 <llib_led_kbd_val+0x2b4>
movl   $0x108,-0x4(%rbp)
jmp    1407 <llib_led_kbd_val+0x2f7>
mov    -0x10(%rbp),%rax
movzbl (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    1407 <llib_led_kbd_val+0x2f7>
mov    -0x10(%rbp),%rax
movzbl 0x1(%rax),%eax
cmp    $0x0,%eax
jne    13f1 <llib_led_kbd_val+0x2e1>
mov    -0x10(%rbp),%rax
cmpb   $0x0,(%rax)
jne    13fd <llib_led_kbd_val+0x2ed>
movl   $0xffffffff,-0x4(%rbp)
jmp    1407 <llib_led_kbd_val+0x2f7>
mov    -0x10(%rbp),%rax
movzbl (%rax),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<llib_led_kbd_val>:
push   %rbx
mov    %rdi,%rbx
movzbl (%rdi),%ecx
lea    -0x4d(%rcx),%eax
cmp    $0x26,%al
ja     125f <llib_led_kbd_val+0x14f>
movzbl %al,%eax
lea    0xed4(%rip),%rdx
movslq (%rdx,%rax,4),%rax
add    %rdx,%rax
jmp    *%rax
mov    0x1(%rbx),%dl
mov    %edx,%eax
or     $0x20,%al
cmp    $0x70,%al
jne    114a <llib_led_kbd_val+0x3a>
cmpb   $0x0,0x2(%rbx)
je     12a1 <llib_led_kbd_val+0x191>
cmp    $0x6d,%cl
jne    1262 <llib_led_kbd_val+0x152>
cmpb   $0x0,0x1(%rbx)
je     1291 <llib_led_kbd_val+0x181>
lea    0xf38(%rip),%rsi
mov    %rbx,%rdi
call   1030 <zcmp@plt>
test   %eax,%eax
je     129a <llib_led_kbd_val+0x18a>
lea    0xf27(%rip),%rsi
mov    %rbx,%rdi
call   1030 <zcmp@plt>
test   %eax,%eax
je     12a8 <llib_led_kbd_val+0x198>
lea    0xf17(%rip),%rsi
mov    %rbx,%rdi
call   1030 <zcmp@plt>
test   %eax,%eax
je     12af <llib_led_kbd_val+0x19f>
lea    0xf05(%rip),%rsi
mov    %rbx,%rdi
call   1030 <zcmp@plt>
test   %eax,%eax
je     12b6 <llib_led_kbd_val+0x1a6>
lea    0xef2(%rip),%rsi
mov    %rbx,%rdi
call   1030 <zcmp@plt>
test   %eax,%eax
je     12bd <llib_led_kbd_val+0x1ad>
lea    0xee1(%rip),%rsi
mov    %rbx,%rdi
call   1030 <zcmp@plt>
test   %eax,%eax
je     12d2 <llib_led_kbd_val+0x1c2>
lea    0xed1(%rip),%rsi
mov    %rbx,%rdi
call   1030 <zcmp@plt>
test   %eax,%eax
je     12d9 <llib_led_kbd_val+0x1c9>
lea    0xebf(%rip),%rsi
mov    %rbx,%rdi
call   1030 <zcmp@plt>
test   %eax,%eax
je     12e0 <llib_led_kbd_val+0x1d0>
lea    0xeaf(%rip),%rsi
mov    %rbx,%rdi
call   1030 <zcmp@plt>
test   %eax,%eax
je     12e7 <llib_led_kbd_val+0x1d7>
lea    0xe9f(%rip),%rsi
mov    %rbx,%rdi
call   1030 <zcmp@plt>
test   %eax,%eax
je     12ee <llib_led_kbd_val+0x1de>
lea    0xe8d(%rip),%rsi
mov    %rbx,%rdi
call   1030 <zcmp@plt>
test   %eax,%eax
je     12f5 <llib_led_kbd_val+0x1e5>
movzbl (%rbx),%eax
pop    %rbx
ret
mov    0x1(%rbx),%dl
mov    $0xffffffff,%eax
test   %dl,%dl
je     1291 <llib_led_kbd_val+0x181>
pop    %rbx
ret
movzbl 0x1(%rbx),%edx
test   %edx,%edx
je     1291 <llib_led_kbd_val+0x181>
mov    $0xffffffff,%eax
cmpb   $0x0,0x2(%rbx)
jne    126b <llib_led_kbd_val+0x15b>
cmp    $0x3f,%dl
je     12c4 <llib_led_kbd_val+0x1b4>
cmp    $0x23,%dl
jne    12cb <llib_led_kbd_val+0x1bb>
mov    $0x9b,%eax
pop    %rbx
ret
cmp    $0x1,%ecx
sbb    %eax,%eax
or     %ecx,%eax
pop    %rbx
ret
mov    $0x100,%eax
pop    %rbx
ret
mov    $0x20,%eax
pop    %rbx
ret
mov    $0x10a,%eax
pop    %rbx
ret
mov    $0x109,%eax
pop    %rbx
ret
mov    $0x101,%eax
pop    %rbx
ret
mov    $0x102,%eax
pop    %rbx
ret
mov    $0x7f,%eax
pop    %rbx
ret
and    $0x1f,%edx
mov    %edx,%eax
pop    %rbx
ret
mov    $0x103,%eax
pop    %rbx
ret
mov    $0x104,%eax
pop    %rbx
ret
mov    $0x105,%eax
pop    %rbx
ret
mov    $0x106,%eax
pop    %rbx
ret
mov    $0x107,%eax
pop    %rbx
ret
mov    $0x108,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [6 x i8] c"MDOWN\00"
@.str.1 = [7 x i8] c"MWDOWN\00"
@.str.2 = [5 x i8] c"MWUP\00"
@.str.3 = [4 x i8] c"MUP\00"
@.str.4 = [6 x i8] c"MDRAG\00"
@.str.5 = [7 x i8] c"M2DOWN\00"
@.str.6 = [5 x i8] c"M2UP\00"
@.str.7 = [7 x i8] c"M2DRAG\00"
@.str.8 = [7 x i8] c"M3DOWN\00"
@.str.9 = [5 x i8] c"M3UP\00"
@.str.10 = [7 x i8] c"M3DRAG\00"
define i32 @llib_led_kbd_val(i8* %0) {
%2 = alloca i32
%3 = alloca i8*
store i8* %0, i8** %3
%4 = load i8*, i8** %3
%5 = getelementptr inbounds i8, i8* %4, i64 0
%6 = load i8, i8* %5
%7 = zext i8 %6 to i32
%8 = icmp eq i32 %7, 94
br i1 %8, label %9, label %33
9: ; preds = %1
%10 = load i8*, i8** %3
%11 = getelementptr inbounds i8, i8* %10, i64 1
%12 = load i8, i8* %11
%13 = zext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %33
15: ; preds = %9
%16 = load i8*, i8** %3
%17 = getelementptr inbounds i8, i8* %16, i64 2
%18 = load i8, i8* %17
%19 = icmp ne i8 %18, 0
br i1 %19, label %33, label %20
20: ; preds = %15
%21 = load i8*, i8** %3
%22 = getelementptr inbounds i8, i8* %21, i64 1
%23 = load i8, i8* %22
%24 = zext i8 %23 to i32
switch i32 %24, label %27 [
i32 63, label %25
i32 35, label %26
]
25: ; preds = %20
store i32 127, i32* %2
br label %158
26: ; preds = %20
store i32 155, i32* %2
br label %158
27: ; preds = %20
%28 = load i8*, i8** %3
%29 = getelementptr inbounds i8, i8* %28, i64 1
%30 = load i8, i8* %29
%31 = zext i8 %30 to i32
%32 = and i32 %31, 31
store i32 %32, i32* %2
br label %158
33: ; preds = %15, %9, %1
%34 = load i8*, i8** %3
%35 = getelementptr inbounds i8, i8* %34, i64 0
%36 = load i8, i8* %35
%37 = zext i8 %36 to i32
%38 = icmp eq i32 %37, 83
br i1 %38, label %45, label %39
39: ; preds = %33
%40 = load i8*, i8** %3
%41 = getelementptr inbounds i8, i8* %40, i64 0
%42 = load i8, i8* %41
%43 = zext i8 %42 to i32
%44 = icmp eq i32 %43, 115
br i1 %44, label %45, label %63
45: ; preds = %39, %33
%46 = load i8*, i8** %3
%47 = getelementptr inbounds i8, i8* %46, i64 1
%48 = load i8, i8* %47
%49 = zext i8 %48 to i32
%50 = icmp eq i32 %49, 80
br i1 %50, label %57, label %51
51: ; preds = %45
%52 = load i8*, i8** %3
%53 = getelementptr inbounds i8, i8* %52, i64 1
%54 = load i8, i8* %53
%55 = zext i8 %54 to i32
%56 = icmp eq i32 %55, 112
br i1 %56, label %57, label %63
57: ; preds = %51, %45
%58 = load i8*, i8** %3
%59 = getelementptr inbounds i8, i8* %58, i64 2
%60 = load i8, i8* %59
%61 = icmp ne i8 %60, 0
br i1 %61, label %63, label %62
62: ; preds = %57
store i32 32, i32* %2
br label %158
63: ; preds = %57, %51, %39
%64 = load i8*, i8** %3
%65 = getelementptr inbounds i8, i8* %64, i64 0
%66 = load i8, i8* %65
%67 = zext i8 %66 to i32
%68 = icmp eq i32 %67, 77
br i1 %68, label %75, label %69
69: ; preds = %63
%70 = load i8*, i8** %3
%71 = getelementptr inbounds i8, i8* %70, i64 0
%72 = load i8, i8* %71
%73 = zext i8 %72 to i32
%74 = icmp eq i32 %73, 109
br i1 %74, label %75, label %141
75: ; preds = %69, %63
%76 = load i8*, i8** %3
%77 = getelementptr inbounds i8, i8* %76, i64 1
%78 = load i8, i8* %77
%79 = zext i8 %78 to i32
%80 = icmp ne i32 %79, 0
br i1 %80, label %81, label %141
81: ; preds = %75
%82 = load i8*, i8** %3
%83 = call i32 @zcmp(i8* %82, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%84 = icmp ne i32 %83, 0
br i1 %84, label %86, label %85
85: ; preds = %81
store i32 256, i32* %2
br label %158
86: ; preds = %81
%87 = load i8*, i8** %3
%88 = call i32 @zcmp(i8* %87, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%89 = icmp ne i32 %88, 0
br i1 %89, label %91, label %90
90: ; preds = %86
store i32 266, i32* %2
br label %158
91: ; preds = %86
%92 = load i8*, i8** %3
%93 = call i32 @zcmp(i8* %92, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%94 = icmp ne i32 %93, 0
br i1 %94, label %96, label %95
95: ; preds = %91
store i32 265, i32* %2
br label %158
96: ; preds = %91
%97 = load i8*, i8** %3
%98 = call i32 @zcmp(i8* %97, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%99 = icmp ne i32 %98, 0
br i1 %99, label %101, label %100
100: ; preds = %96
store i32 257, i32* %2
br label %158
101: ; preds = %96
%102 = load i8*, i8** %3
%103 = call i32 @zcmp(i8* %102, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%104 = icmp ne i32 %103, 0
br i1 %104, label %106, label %105
105: ; preds = %101
store i32 258, i32* %2
br label %158
106: ; preds = %101
%107 = load i8*, i8** %3
%108 = call i32 @zcmp(i8* %107, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%109 = icmp ne i32 %108, 0
br i1 %109, label %111, label %110
110: ; preds = %106
store i32 259, i32* %2
br label %158
111: ; preds = %106
%112 = load i8*, i8** %3
%113 = call i32 @zcmp(i8* %112, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%114 = icmp ne i32 %113, 0
br i1 %114, label %116, label %115
115: ; preds = %111
store i32 260, i32* %2
br label %158
116: ; preds = %111
%117 = load i8*, i8** %3
%118 = call i32 @zcmp(i8* %117, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%119 = icmp ne i32 %118, 0
br i1 %119, label %121, label %120
120: ; preds = %116
store i32 261, i32* %2
br label %158
121: ; preds = %116
%122 = load i8*, i8** %3
%123 = call i32 @zcmp(i8* %122, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0))
%124 = icmp ne i32 %123, 0
br i1 %124, label %126, label %125
125: ; preds = %121
store i32 262, i32* %2
br label %158
126: ; preds = %121
%127 = load i8*, i8** %3
%128 = call i32 @zcmp(i8* %127, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%129 = icmp ne i32 %128, 0
br i1 %129, label %131, label %130
130: ; preds = %126
store i32 263, i32* %2
br label %158
131: ; preds = %126
%132 = load i8*, i8** %3
%133 = call i32 @zcmp(i8* %132, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0))
%134 = icmp ne i32 %133, 0
br i1 %134, label %136, label %135
135: ; preds = %131
store i32 264, i32* %2
br label %158
136: ; preds = %131
%137 = load i8*, i8** %3
%138 = getelementptr inbounds i8, i8* %137, i64 0
%139 = load i8, i8* %138
%140 = zext i8 %139 to i32
store i32 %140, i32* %2
br label %158
141: ; preds = %75, %69
%142 = load i8*, i8** %3
%143 = getelementptr inbounds i8, i8* %142, i64 1
%144 = load i8, i8* %143
%145 = zext i8 %144 to i32
%146 = icmp ne i32 %145, 0
br i1 %146, label %152, label %147
147: ; preds = %141
%148 = load i8*, i8** %3
%149 = getelementptr inbounds i8, i8* %148, i64 0
%150 = load i8, i8* %149
%151 = icmp ne i8 %150, 0
br i1 %151, label %153, label %152
152: ; preds = %147, %141
store i32 -1, i32* %2
br label %158
153: ; preds = %147
%154 = load i8*, i8** %3
%155 = getelementptr inbounds i8, i8* %154, i64 0
%156 = load i8, i8* %155
%157 = zext i8 %156 to i32
store i32 %157, i32* %2
br label %158
158: ; preds = %153, %152, %136, %135, %130, %125, %120, %115, %110, %105, %100, %95, %90, %85, %62, %27, %26, %25
%159 = load i32, i32* %2
ret i32 %159
}

LLVM IR (-O2):
@.str = [6 x i8] c"MDOWN\00"
@.str.1 = [7 x i8] c"MWDOWN\00"
@.str.2 = [5 x i8] c"MWUP\00"
@.str.3 = [4 x i8] c"MUP\00"
@.str.4 = [6 x i8] c"MDRAG\00"
@.str.5 = [7 x i8] c"M2DOWN\00"
@.str.6 = [5 x i8] c"M2UP\00"
@.str.7 = [7 x i8] c"M2DRAG\00"
@.str.8 = [7 x i8] c"M3DOWN\00"
@.str.9 = [5 x i8] c"M3UP\00"
@.str.10 = [7 x i8] c"M3DRAG\00"
define i32 @llib_led_kbd_val(i8* %0) {
%2 = load i8, i8* %0
switch i8 %2, label %3 [
i8 94, label %6
i8 83, label %19
i8 115, label %19
i8 77, label %28
i8 109, label %28
]
3: ; preds = %1
%4 = getelementptr inbounds i8, i8* %0, i64 1
%5 = load i8, i8* %4
br label %68
6: ; preds = %1
%7 = getelementptr inbounds i8, i8* %0, i64 1
%8 = load i8, i8* %7
%9 = icmp eq i8 %8, 0
br i1 %9, label %71, label %10
10: ; preds = %6
%11 = getelementptr inbounds i8, i8* %0, i64 2
%12 = load i8, i8* %11
%13 = icmp eq i8 %12, 0
br i1 %13, label %14, label %75
14: ; preds = %10
switch i8 %8, label %16 [
i8 63, label %75
i8 35, label %15
]
15: ; preds = %14
br label %75
16: ; preds = %14
%17 = and i8 %8, 31
%18 = zext i8 %17 to i32
br label %75
19: ; preds = %1, %1
%20 = getelementptr inbounds i8, i8* %0, i64 1
%21 = load i8, i8* %20
switch i8 %21, label %26 [
i8 80, label %22
i8 112, label %22
]
22: ; preds = %19, %19
%23 = getelementptr inbounds i8, i8* %0, i64 2
%24 = load i8, i8* %23
%25 = icmp eq i8 %24, 0
br i1 %25, label %75, label %26
26: ; preds = %19, %22
%27 = icmp eq i8 %2, 109
br i1 %27, label %28, label %68
28: ; preds = %26, %1, %1
%29 = getelementptr inbounds i8, i8* %0, i64 1
%30 = load i8, i8* %29
%31 = icmp eq i8 %30, 0
br i1 %31, label %71, label %32
32: ; preds = %28
%33 = tail call i32 @zcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%34 = icmp eq i32 %33, 0
br i1 %34, label %75, label %35
35: ; preds = %32
%36 = tail call i32 @zcmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%37 = icmp eq i32 %36, 0
br i1 %37, label %75, label %38
38: ; preds = %35
%39 = tail call i32 @zcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%40 = icmp eq i32 %39, 0
br i1 %40, label %75, label %41
41: ; preds = %38
%42 = tail call i32 @zcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%43 = icmp eq i32 %42, 0
br i1 %43, label %75, label %44
44: ; preds = %41
%45 = tail call i32 @zcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%46 = icmp eq i32 %45, 0
br i1 %46, label %75, label %47
47: ; preds = %44
%48 = tail call i32 @zcmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%49 = icmp eq i32 %48, 0
br i1 %49, label %75, label %50
50: ; preds = %47
%51 = tail call i32 @zcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%52 = icmp eq i32 %51, 0
br i1 %52, label %75, label %53
53: ; preds = %50
%54 = tail call i32 @zcmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%55 = icmp eq i32 %54, 0
br i1 %55, label %75, label %56
56: ; preds = %53
%57 = tail call i32 @zcmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0))
%58 = icmp eq i32 %57, 0
br i1 %58, label %75, label %59
59: ; preds = %56
%60 = tail call i32 @zcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%61 = icmp eq i32 %60, 0
br i1 %61, label %75, label %62
62: ; preds = %59
%63 = tail call i32 @zcmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0))
%64 = icmp eq i32 %63, 0
br i1 %64, label %75, label %65
65: ; preds = %62
%66 = load i8, i8* %0
%67 = zext i8 %66 to i32
br label %75
68: ; preds = %26, %3
%69 = phi i8 [ %5, %3 ], [ %21, %26 ]
%70 = icmp eq i8 %69, 0
br i1 %70, label %71, label %75
71: ; preds = %28, %6, %68
%72 = icmp eq i8 %2, 0
%73 = zext i8 %2 to i32
%74 = select i1 %72, i32 -1, i32 %73
br label %75
75: ; preds = %10, %71, %68, %62, %59, %56, %53, %50, %47, %44, %41, %38, %35, %32, %22, %14, %65, %16, %15
%76 = phi i32 [ %67, %65 ], [ %18, %16 ], [ 155, %15 ], [ 127, %14 ], [ 32, %22 ], [ 256, %32 ], [ 266, %35 ], [ 265, %38 ], [ 257, %41 ], [ 258, %44 ], [ 259, %47 ], [ 260, %50 ], [ 261, %53 ], [ 262, %56 ], [ 263, %59 ], [ 264, %62 ], [ -1, %68 ], [ %74, %71 ], [ -1, %10 ]
ret i32 %76
}