#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 */
scalar_t__ strcmp(char *, char *);
int GetLmode(char *para) {
  if (strcmp(para, "help") == 0) {
    return 999;
  }
  if (strcmp(para, "exit") == 0) {
    return 99;
  }
  if (strcmp(para, "quit") == 0) {
    return 99;
  }
  if (strcmp(para, "pwd") == 0) {
    return 2;
  }
  if (strcmp(para, "cd") == 0) {
    return 3;
  }
  if (strcmp(para, "history") == 0) {
    return 5;
  }
  if (strcmp(para, "cluster") == 0) {
    return 12;
  }
  if (strcmp(para, "status") == 0) {
    return 12;
  }
  if (strcmp(para, "status2") == 0) {
    return 13;
  }
  if (strcmp(para, "perf") == 0) {
    return 14;
  }
  if (strcmp(para, "df") == 0) {
    return 14;
  }
  if (strcmp(para, "vmstat") == 0) {
    return 14;
  }
  if (strcmp(para, "ps") == 0) {
    return 15;
  }
  if (strcmp(para, "process") == 0) {
    return 15;
  }
  if (strcmp(para, "mem") == 0) {
    return 16;
  }
  if (strcmp(para, "cache") == 0) {
    return 17;
  }
  if (strcmp(para, "vol") == 0) {
    return 18;
  }
  if (strcmp(para, "volume") == 0) {
    return 18;
  }
  if (strcmp(para, "disk") == 0) {
    return 18;
  }
  if (strcmp(para, "mkdir") == 0) {
    return 21;
  }
  if (strcmp(para, "rmdir") == 0) {
    return 22;
  }
  if (strcmp(para, "ls") == 0) {
    return 23;
  }
  if (strcmp(para, "dir") == 0) {
    return 23;
  }
  if (strcmp(para, "stat") == 0) {
    return 24;
  }
  if (strcmp(para, "mv") == 0) {
    return 25;
  }
  if (strcmp(para, "rm") == 0) {
    return 26;
  }
  if (strcmp(para, "chmod") == 0) {
    return 27;
  }
  if (strcmp(para, "chown") == 0) {
    return 28;
  }
  if (strcmp(para, "chgrp") == 0) {
    return 29;
  }
  if (strcmp(para, "get") == 0) {
    return 51;
  }
  if (strcmp(para, "put") == 0) {
    return 52;
  }
  return 0;
}


x86 assembly (clang, -O0):
<GetLmode>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xed9(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1142 <GetLmode+0x32>
movl   $0x3e7,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xeb8(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1168 <GetLmode+0x58>
movl   $0x63,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xe97(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    118e <GetLmode+0x7e>
movl   $0x63,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xe76(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    11b4 <GetLmode+0xa4>
movl   $0x2,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xe54(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    11da <GetLmode+0xca>
movl   $0x3,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xe31(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1200 <GetLmode+0xf0>
movl   $0x5,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xe13(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1226 <GetLmode+0x116>
movl   $0xc,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xdf5(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    124c <GetLmode+0x13c>
movl   $0xc,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xdd6(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1272 <GetLmode+0x162>
movl   $0xd,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xdb8(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1298 <GetLmode+0x188>
movl   $0xe,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xd97(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    12be <GetLmode+0x1ae>
movl   $0xe,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xd74(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    12e4 <GetLmode+0x1d4>
movl   $0xe,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xd55(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    130a <GetLmode+0x1fa>
movl   $0xf,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xd32(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1330 <GetLmode+0x220>
movl   $0xf,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xd14(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1356 <GetLmode+0x246>
movl   $0x10,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xcf2(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    137c <GetLmode+0x26c>
movl   $0x11,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xcd2(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    13a2 <GetLmode+0x292>
movl   $0x12,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xcb0(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    13c8 <GetLmode+0x2b8>
movl   $0x12,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xc91(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    13ee <GetLmode+0x2de>
movl   $0x12,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xc70(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1414 <GetLmode+0x304>
movl   $0x15,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xc50(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    143a <GetLmode+0x32a>
movl   $0x16,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xc30(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1460 <GetLmode+0x350>
movl   $0x17,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xc00(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1486 <GetLmode+0x376>
movl   $0x17,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xbae(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    14ac <GetLmode+0x39c>
movl   $0x18,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xbc1(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    14d2 <GetLmode+0x3c2>
movl   $0x19,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xb9e(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    14f8 <GetLmode+0x3e8>
movl   $0x1a,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xb7b(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    151e <GetLmode+0x40e>
movl   $0x1b,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xb5b(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1544 <GetLmode+0x434>
movl   $0x1c,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xb3b(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    156a <GetLmode+0x45a>
movl   $0x1d,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xb1b(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1590 <GetLmode+0x480>
movl   $0x33,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
mov    -0x10(%rbp),%rdi
lea    0xaf9(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    15b6 <GetLmode+0x4a6>
movl   $0x34,-0x4(%rbp)
jmp    15bd <GetLmode+0x4ad>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<GetLmode>:
push   %rbp
push   %rbx
push   %rax
mov    %rdi,%rbx
lea    0xee3(%rip),%rsi
call   1030 <strcmp@plt>
test   %rax,%rax
je     141f <GetLmode+0x30f>
lea    0xed3(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
mov    $0x63,%ebp
test   %rax,%rax
je     1424 <GetLmode+0x314>
lea    0xebb(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1424 <GetLmode+0x314>
lea    0xea8(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     142d <GetLmode+0x31d>
lea    0xe94(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1434 <GetLmode+0x324>
lea    0xe7f(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     143b <GetLmode+0x32b>
lea    0xe6f(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
mov    $0xc,%ebp
test   %rax,%rax
je     1424 <GetLmode+0x314>
lea    0xe5a(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1424 <GetLmode+0x314>
lea    0xe49(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1442 <GetLmode+0x332>
lea    0xe39(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
mov    $0xe,%ebp
test   %rax,%rax
je     1424 <GetLmode+0x314>
lea    0xe21(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1424 <GetLmode+0x314>
lea    0xe0c(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1424 <GetLmode+0x314>
lea    0xdfb(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
mov    $0xf,%ebp
test   %rax,%rax
je     1424 <GetLmode+0x314>
lea    0xde1(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1424 <GetLmode+0x314>
lea    0xdd1(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1449 <GetLmode+0x339>
lea    0xdbd(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1450 <GetLmode+0x340>
lea    0xdab(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
mov    $0x12,%ebp
test   %rax,%rax
je     1424 <GetLmode+0x314>
lea    0xd92(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1424 <GetLmode+0x314>
lea    0xd81(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1424 <GetLmode+0x314>
lea    0xd6e(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1457 <GetLmode+0x347>
lea    0xd5c(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     145e <GetLmode+0x34e>
lea    0xd4a(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
mov    $0x17,%ebp
test   %rax,%rax
je     1424 <GetLmode+0x314>
lea    0xd23(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1424 <GetLmode+0x314>
lea    0xcdf(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1465 <GetLmode+0x355>
lea    0xd00(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     146c <GetLmode+0x35c>
lea    0xceb(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1473 <GetLmode+0x363>
lea    0xcd6(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     147a <GetLmode+0x36a>
lea    0xcc4(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1481 <GetLmode+0x371>
lea    0xcb2(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1488 <GetLmode+0x378>
lea    0xca0(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     148f <GetLmode+0x37f>
lea    0xc8c(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %ecx,%ecx
test   %rax,%rax
mov    $0x34,%ebp
cmovne %ecx,%ebp
jmp    1424 <GetLmode+0x314>
mov    $0x3e7,%ebp
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret
mov    $0x2,%ebp
jmp    1424 <GetLmode+0x314>
mov    $0x3,%ebp
jmp    1424 <GetLmode+0x314>
mov    $0x5,%ebp
jmp    1424 <GetLmode+0x314>
mov    $0xd,%ebp
jmp    1424 <GetLmode+0x314>
mov    $0x10,%ebp
jmp    1424 <GetLmode+0x314>
mov    $0x11,%ebp
jmp    1424 <GetLmode+0x314>
mov    $0x15,%ebp
jmp    1424 <GetLmode+0x314>
mov    $0x16,%ebp
jmp    1424 <GetLmode+0x314>
mov    $0x18,%ebp
jmp    1424 <GetLmode+0x314>
mov    $0x19,%ebp
jmp    1424 <GetLmode+0x314>
mov    $0x1a,%ebp
jmp    1424 <GetLmode+0x314>
mov    $0x1b,%ebp
jmp    1424 <GetLmode+0x314>
mov    $0x1c,%ebp
jmp    1424 <GetLmode+0x314>
mov    $0x1d,%ebp
jmp    1424 <GetLmode+0x314>
mov    $0x33,%ebp
jmp    1424 <GetLmode+0x314>

LLVM IR (-O0):
@.str = [5 x i8] c"help\00"
@.str.1 = [5 x i8] c"exit\00"
@.str.2 = [5 x i8] c"quit\00"
@.str.3 = [4 x i8] c"pwd\00"
@.str.4 = [3 x i8] c"cd\00"
@.str.5 = [8 x i8] c"history\00"
@.str.6 = [8 x i8] c"cluster\00"
@.str.7 = [7 x i8] c"status\00"
@.str.8 = [8 x i8] c"status2\00"
@.str.9 = [5 x i8] c"perf\00"
@.str.10 = [3 x i8] c"df\00"
@.str.11 = [7 x i8] c"vmstat\00"
@.str.12 = [3 x i8] c"ps\00"
@.str.13 = [8 x i8] c"process\00"
@.str.14 = [4 x i8] c"mem\00"
@.str.15 = [6 x i8] c"cache\00"
@.str.16 = [4 x i8] c"vol\00"
@.str.17 = [7 x i8] c"volume\00"
@.str.18 = [5 x i8] c"disk\00"
@.str.19 = [6 x i8] c"mkdir\00"
@.str.20 = [6 x i8] c"rmdir\00"
@.str.21 = [3 x i8] c"ls\00"
@.str.22 = [4 x i8] c"dir\00"
@.str.23 = [5 x i8] c"stat\00"
@.str.24 = [3 x i8] c"mv\00"
@.str.25 = [3 x i8] c"rm\00"
@.str.26 = [6 x i8] c"chmod\00"
@.str.27 = [6 x i8] c"chown\00"
@.str.28 = [6 x i8] c"chgrp\00"
@.str.29 = [4 x i8] c"get\00"
@.str.30 = [4 x i8] c"put\00"
define i32 @GetLmode(i8* %0) {
%2 = alloca i32
%3 = alloca i8*
store i8* %0, i8** %3
%4 = load i8*, i8** %3
%5 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 999, i32* %2
br label %159
8: ; preds = %1
%9 = load i8*, i8** %3
%10 = call i64 @strcmp(i8* %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 99, i32* %2
br label %159
13: ; preds = %8
%14 = load i8*, i8** %3
%15 = call i64 @strcmp(i8* %14, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 99, i32* %2
br label %159
18: ; preds = %13
%19 = load i8*, i8** %3
%20 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store i32 2, i32* %2
br label %159
23: ; preds = %18
%24 = load i8*, i8** %3
%25 = call i64 @strcmp(i8* %24, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %23
store i32 3, i32* %2
br label %159
28: ; preds = %23
%29 = load i8*, i8** %3
%30 = call i64 @strcmp(i8* %29, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %28
store i32 5, i32* %2
br label %159
33: ; preds = %28
%34 = load i8*, i8** %3
%35 = call i64 @strcmp(i8* %34, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
store i32 12, i32* %2
br label %159
38: ; preds = %33
%39 = load i8*, i8** %3
%40 = call i64 @strcmp(i8* %39, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %38
store i32 12, i32* %2
br label %159
43: ; preds = %38
%44 = load i8*, i8** %3
%45 = call i64 @strcmp(i8* %44, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %43
store i32 13, i32* %2
br label %159
48: ; preds = %43
%49 = load i8*, i8** %3
%50 = call i64 @strcmp(i8* %49, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %48
store i32 14, i32* %2
br label %159
53: ; preds = %48
%54 = load i8*, i8** %3
%55 = call i64 @strcmp(i8* %54, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0))
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %53
store i32 14, i32* %2
br label %159
58: ; preds = %53
%59 = load i8*, i8** %3
%60 = call i64 @strcmp(i8* %59, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0))
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %58
store i32 14, i32* %2
br label %159
63: ; preds = %58
%64 = load i8*, i8** %3
%65 = call i64 @strcmp(i8* %64, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0))
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %68
67: ; preds = %63
store i32 15, i32* %2
br label %159
68: ; preds = %63
%69 = load i8*, i8** %3
%70 = call i64 @strcmp(i8* %69, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0))
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %68
store i32 15, i32* %2
br label %159
73: ; preds = %68
%74 = load i8*, i8** %3
%75 = call i64 @strcmp(i8* %74, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%76 = icmp eq i64 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %73
store i32 16, i32* %2
br label %159
78: ; preds = %73
%79 = load i8*, i8** %3
%80 = call i64 @strcmp(i8* %79, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0))
%81 = icmp eq i64 %80, 0
br i1 %81, label %82, label %83
82: ; preds = %78
store i32 17, i32* %2
br label %159
83: ; preds = %78
%84 = load i8*, i8** %3
%85 = call i64 @strcmp(i8* %84, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0))
%86 = icmp eq i64 %85, 0
br i1 %86, label %87, label %88
87: ; preds = %83
store i32 18, i32* %2
br label %159
88: ; preds = %83
%89 = load i8*, i8** %3
%90 = call i64 @strcmp(i8* %89, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i64 0, i64 0))
%91 = icmp eq i64 %90, 0
br i1 %91, label %92, label %93
92: ; preds = %88
store i32 18, i32* %2
br label %159
93: ; preds = %88
%94 = load i8*, i8** %3
%95 = call i64 @strcmp(i8* %94, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%96 = icmp eq i64 %95, 0
br i1 %96, label %97, label %98
97: ; preds = %93
store i32 18, i32* %2
br label %159
98: ; preds = %93
%99 = load i8*, i8** %3
%100 = call i64 @strcmp(i8* %99, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.19, i64 0, i64 0))
%101 = icmp eq i64 %100, 0
br i1 %101, label %102, label %103
102: ; preds = %98
store i32 21, i32* %2
br label %159
103: ; preds = %98
%104 = load i8*, i8** %3
%105 = call i64 @strcmp(i8* %104, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.20, i64 0, i64 0))
%106 = icmp eq i64 %105, 0
br i1 %106, label %107, label %108
107: ; preds = %103
store i32 22, i32* %2
br label %159
108: ; preds = %103
%109 = load i8*, i8** %3
%110 = call i64 @strcmp(i8* %109, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0))
%111 = icmp eq i64 %110, 0
br i1 %111, label %112, label %113
112: ; preds = %108
store i32 23, i32* %2
br label %159
113: ; preds = %108
%114 = load i8*, i8** %3
%115 = call i64 @strcmp(i8* %114, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0))
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %118
117: ; preds = %113
store i32 23, i32* %2
br label %159
118: ; preds = %113
%119 = load i8*, i8** %3
%120 = call i64 @strcmp(i8* %119, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0))
%121 = icmp eq i64 %120, 0
br i1 %121, label %122, label %123
122: ; preds = %118
store i32 24, i32* %2
br label %159
123: ; preds = %118
%124 = load i8*, i8** %3
%125 = call i64 @strcmp(i8* %124, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.24, i64 0, i64 0))
%126 = icmp eq i64 %125, 0
br i1 %126, label %127, label %128
127: ; preds = %123
store i32 25, i32* %2
br label %159
128: ; preds = %123
%129 = load i8*, i8** %3
%130 = call i64 @strcmp(i8* %129, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.25, i64 0, i64 0))
%131 = icmp eq i64 %130, 0
br i1 %131, label %132, label %133
132: ; preds = %128
store i32 26, i32* %2
br label %159
133: ; preds = %128
%134 = load i8*, i8** %3
%135 = call i64 @strcmp(i8* %134, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0))
%136 = icmp eq i64 %135, 0
br i1 %136, label %137, label %138
137: ; preds = %133
store i32 27, i32* %2
br label %159
138: ; preds = %133
%139 = load i8*, i8** %3
%140 = call i64 @strcmp(i8* %139, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.27, i64 0, i64 0))
%141 = icmp eq i64 %140, 0
br i1 %141, label %142, label %143
142: ; preds = %138
store i32 28, i32* %2
br label %159
143: ; preds = %138
%144 = load i8*, i8** %3
%145 = call i64 @strcmp(i8* %144, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.28, i64 0, i64 0))
%146 = icmp eq i64 %145, 0
br i1 %146, label %147, label %148
147: ; preds = %143
store i32 29, i32* %2
br label %159
148: ; preds = %143
%149 = load i8*, i8** %3
%150 = call i64 @strcmp(i8* %149, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.29, i64 0, i64 0))
%151 = icmp eq i64 %150, 0
br i1 %151, label %152, label %153
152: ; preds = %148
store i32 51, i32* %2
br label %159
153: ; preds = %148
%154 = load i8*, i8** %3
%155 = call i64 @strcmp(i8* %154, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0))
%156 = icmp eq i64 %155, 0
br i1 %156, label %157, label %158
157: ; preds = %153
store i32 52, i32* %2
br label %159
158: ; preds = %153
store i32 0, i32* %2
br label %159
159: ; preds = %158, %157, %152, %147, %142, %137, %132, %127, %122, %117, %112, %107, %102, %97, %92, %87, %82, %77, %72, %67, %62, %57, %52, %47, %42, %37, %32, %27, %22, %17, %12, %7
%160 = load i32, i32* %2
ret i32 %160
}

LLVM IR (-O2):
@.str = [5 x i8] c"help\00"
@.str.1 = [5 x i8] c"exit\00"
@.str.2 = [5 x i8] c"quit\00"
@.str.3 = [4 x i8] c"pwd\00"
@.str.4 = [3 x i8] c"cd\00"
@.str.5 = [8 x i8] c"history\00"
@.str.6 = [8 x i8] c"cluster\00"
@.str.7 = [7 x i8] c"status\00"
@.str.8 = [8 x i8] c"status2\00"
@.str.9 = [5 x i8] c"perf\00"
@.str.10 = [3 x i8] c"df\00"
@.str.11 = [7 x i8] c"vmstat\00"
@.str.12 = [3 x i8] c"ps\00"
@.str.13 = [8 x i8] c"process\00"
@.str.14 = [4 x i8] c"mem\00"
@.str.15 = [6 x i8] c"cache\00"
@.str.16 = [4 x i8] c"vol\00"
@.str.17 = [7 x i8] c"volume\00"
@.str.18 = [5 x i8] c"disk\00"
@.str.19 = [6 x i8] c"mkdir\00"
@.str.20 = [6 x i8] c"rmdir\00"
@.str.21 = [3 x i8] c"ls\00"
@.str.22 = [4 x i8] c"dir\00"
@.str.23 = [5 x i8] c"stat\00"
@.str.24 = [3 x i8] c"mv\00"
@.str.25 = [3 x i8] c"rm\00"
@.str.26 = [6 x i8] c"chmod\00"
@.str.27 = [6 x i8] c"chown\00"
@.str.28 = [6 x i8] c"chgrp\00"
@.str.29 = [4 x i8] c"get\00"
@.str.30 = [4 x i8] c"put\00"
define i32 @GetLmode(i8* %0) {
%2 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%3 = icmp eq i64 %2, 0
br i1 %3, label %95, label %4
4: ; preds = %1
%5 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%6 = icmp eq i64 %5, 0
br i1 %6, label %95, label %7
7: ; preds = %4
%8 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%9 = icmp eq i64 %8, 0
br i1 %9, label %95, label %10
10: ; preds = %7
%11 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%12 = icmp eq i64 %11, 0
br i1 %12, label %95, label %13
13: ; preds = %10
%14 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%15 = icmp eq i64 %14, 0
br i1 %15, label %95, label %16
16: ; preds = %13
%17 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
%18 = icmp eq i64 %17, 0
br i1 %18, label %95, label %19
19: ; preds = %16
%20 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%21 = icmp eq i64 %20, 0
br i1 %21, label %95, label %22
22: ; preds = %19
%23 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%24 = icmp eq i64 %23, 0
br i1 %24, label %95, label %25
25: ; preds = %22
%26 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
%27 = icmp eq i64 %26, 0
br i1 %27, label %95, label %28
28: ; preds = %25
%29 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%30 = icmp eq i64 %29, 0
br i1 %30, label %95, label %31
31: ; preds = %28
%32 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0))
%33 = icmp eq i64 %32, 0
br i1 %33, label %95, label %34
34: ; preds = %31
%35 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
br i1 %36, label %95, label %37
37: ; preds = %34
%38 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
br i1 %39, label %95, label %40
40: ; preds = %37
%41 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0))
%42 = icmp eq i64 %41, 0
br i1 %42, label %95, label %43
43: ; preds = %40
%44 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%45 = icmp eq i64 %44, 0
br i1 %45, label %95, label %46
46: ; preds = %43
%47 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0))
%48 = icmp eq i64 %47, 0
br i1 %48, label %95, label %49
49: ; preds = %46
%50 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0))
%51 = icmp eq i64 %50, 0
br i1 %51, label %95, label %52
52: ; preds = %49
%53 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i64 0, i64 0))
%54 = icmp eq i64 %53, 0
br i1 %54, label %95, label %55
55: ; preds = %52
%56 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%57 = icmp eq i64 %56, 0
br i1 %57, label %95, label %58
58: ; preds = %55
%59 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.19, i64 0, i64 0))
%60 = icmp eq i64 %59, 0
br i1 %60, label %95, label %61
61: ; preds = %58
%62 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.20, i64 0, i64 0))
%63 = icmp eq i64 %62, 0
br i1 %63, label %95, label %64
64: ; preds = %61
%65 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0))
%66 = icmp eq i64 %65, 0
br i1 %66, label %95, label %67
67: ; preds = %64
%68 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0))
%69 = icmp eq i64 %68, 0
br i1 %69, label %95, label %70
70: ; preds = %67
%71 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0))
%72 = icmp eq i64 %71, 0
br i1 %72, label %95, label %73
73: ; preds = %70
%74 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.24, i64 0, i64 0))
%75 = icmp eq i64 %74, 0
br i1 %75, label %95, label %76
76: ; preds = %73
%77 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.25, i64 0, i64 0))
%78 = icmp eq i64 %77, 0
br i1 %78, label %95, label %79
79: ; preds = %76
%80 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0))
%81 = icmp eq i64 %80, 0
br i1 %81, label %95, label %82
82: ; preds = %79
%83 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.27, i64 0, i64 0))
%84 = icmp eq i64 %83, 0
br i1 %84, label %95, label %85
85: ; preds = %82
%86 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.28, i64 0, i64 0))
%87 = icmp eq i64 %86, 0
br i1 %87, label %95, label %88
88: ; preds = %85
%89 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.29, i64 0, i64 0))
%90 = icmp eq i64 %89, 0
br i1 %90, label %95, label %91
91: ; preds = %88
%92 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0))
%93 = icmp eq i64 %92, 0
%94 = select i1 %93, i32 52, i32 0
br label %95
95: ; preds = %91, %88, %85, %82, %79, %76, %73, %70, %67, %64, %61, %58, %55, %52, %49, %46, %43, %40, %37, %34, %31, %28, %25, %22, %19, %16, %13, %10, %7, %4, %1
%96 = phi i32 [ 999, %1 ], [ 99, %4 ], [ 99, %7 ], [ 2, %10 ], [ 3, %13 ], [ 5, %16 ], [ 12, %19 ], [ 12, %22 ], [ 13, %25 ], [ 14, %28 ], [ 14, %31 ], [ 14, %34 ], [ 15, %37 ], [ 15, %40 ], [ 16, %43 ], [ 17, %46 ], [ 18, %49 ], [ 18, %52 ], [ 18, %55 ], [ 21, %58 ], [ 22, %61 ], [ 23, %64 ], [ 23, %67 ], [ 24, %70 ], [ 25, %73 ], [ 26, %76 ], [ 27, %79 ], [ 28, %82 ], [ 29, %85 ], [ 51, %88 ], [ %94, %91 ]
ret i32 %96
}