#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*/ cmdClose();
int /*<<< orphan*/ cmdCp();
int /*<<< orphan*/ cmdCreate();
int /*<<< orphan*/ cmdDelete();
int /*<<< orphan*/ cmdExit();
int /*<<< orphan*/ cmdFscp();
int /*<<< orphan*/ cmdLs();
int /*<<< orphan*/ cmdMan();
int /*<<< orphan*/ cmdMkdir();
int /*<<< orphan*/ cmdOpen();
int /*<<< orphan*/ cmdRead();
int /*<<< orphan*/ cmdRmdir();
int /*<<< orphan*/ cmdTrunc();
int /*<<< orphan*/ cmdWho();
int /*<<< orphan*/ gets(char *);
int /*<<< orphan*/ printf(char *);
scalar_t__ strcmp(char *, char *);
char *strtok(char *, char *);
int main() {
  char cmd[256];
  char *token;
  printf("Testing for T2FS - v 1.0\n");
  cmdMan();
  while (1) {
    printf("T2FS> ");
    gets(cmd);
    if ((token = strtok(cmd, " \t")) != NULL) {
      if (strcmp(token, "exit") == 0) {
        cmdExit();
        break;
      } else if (strcmp(token, "man") == 0)
        cmdMan();
      else if (strcmp(token, "who") == 0)
        cmdWho();
      else if (strcmp(token, "cp") == 0)
        cmdCp();
      else if (strcmp(token, "fscp") == 0)
        cmdFscp();
      else if (strcmp(token, "create") == 0)
        cmdCreate();
      else if (strcmp(token, "del") == 0)
        cmdDelete();
      else if (strcmp(token, "open") == 0)
        cmdOpen();
      else if (strcmp(token, "close") == 0)
        cmdClose();
      else if (strcmp(token, "read") == 0)
        cmdRead();
      else if (strcmp(token, "mkdir") == 0 || strcmp(token, "md") == 0)
        cmdMkdir();
      else if (strcmp(token, "rmdir") == 0 || strcmp(token, "rm") == 0)
        cmdRmdir();
      else if (strcmp(token, "ls") == 0 || strcmp(token, "dir") == 0)
        cmdLs();
      else if (strcmp(token, "trunc") == 0)
        cmdTrunc();
      else
        printf("???\n");
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x120,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xdc7(%rip),%rdi
call   1080 <printf@plt>
mov    $0x0,%al
call   1090 <cmdMan@plt>
lea    0xdce(%rip),%rdi
call   1080 <printf@plt>
lea    -0x110(%rbp),%rdi
call   10d0 <gets@plt>
lea    -0x110(%rbp),%rdi
lea    0xdb6(%rip),%rsi
call   1120 <strtok@plt>
mov    %rax,-0x118(%rbp)
cmp    $0x0,%rax
je     1568 <main+0x348>
mov    -0x118(%rbp),%rdi
lea    0xd95(%rip),%rsi
call   10c0 <strcmp@plt>
cmp    $0x0,%rax
jne    12aa <main+0x8a>
mov    $0x0,%al
call   1100 <cmdExit@plt>
jmp    156d <main+0x34d>
mov    -0x118(%rbp),%rdi
lea    0xd71(%rip),%rsi
call   10c0 <strcmp@plt>
cmp    $0x0,%rax
jne    12d3 <main+0xb3>
mov    $0x0,%al
call   1090 <cmdMan@plt>
jmp    155e <main+0x33e>
mov    -0x118(%rbp),%rdi
lea    0xd4c(%rip),%rsi
call   10c0 <strcmp@plt>
cmp    $0x0,%rax
jne    12fc <main+0xdc>
mov    $0x0,%al
call   1030 <cmdWho@plt>
jmp    1559 <main+0x339>
mov    -0x118(%rbp),%rdi
lea    0xd29(%rip),%rsi
call   10c0 <strcmp@plt>
cmp    $0x0,%rax
jne    1325 <main+0x105>
mov    $0x0,%al
call   1130 <cmdCp@plt>
jmp    1554 <main+0x334>
mov    -0x118(%rbp),%rdi
lea    0xcfe(%rip),%rsi
call   10c0 <strcmp@plt>
cmp    $0x0,%rax
jne    134e <main+0x12e>
mov    $0x0,%al
call   10e0 <cmdFscp@plt>
jmp    154f <main+0x32f>
mov    -0x118(%rbp),%rdi
lea    0xcda(%rip),%rsi
call   10c0 <strcmp@plt>
cmp    $0x0,%rax
jne    1377 <main+0x157>
mov    $0x0,%al
call   1070 <cmdCreate@plt>
jmp    154a <main+0x32a>
mov    -0x118(%rbp),%rdi
lea    0xcb8(%rip),%rsi
call   10c0 <strcmp@plt>
cmp    $0x0,%rax
jne    13a0 <main+0x180>
mov    $0x0,%al
call   10b0 <cmdDelete@plt>
jmp    1545 <main+0x325>
mov    -0x118(%rbp),%rdi
lea    0xc93(%rip),%rsi
call   10c0 <strcmp@plt>
cmp    $0x0,%rax
jne    13c9 <main+0x1a9>
mov    $0x0,%al
call   1140 <cmdOpen@plt>
jmp    1540 <main+0x320>
mov    -0x118(%rbp),%rdi
lea    0xc6f(%rip),%rsi
call   10c0 <strcmp@plt>
cmp    $0x0,%rax
jne    13f2 <main+0x1d2>
mov    $0x0,%al
call   1110 <cmdClose@plt>
jmp    153b <main+0x31b>
mov    -0x118(%rbp),%rdi
lea    0xc4c(%rip),%rsi
call   10c0 <strcmp@plt>
cmp    $0x0,%rax
jne    141b <main+0x1fb>
mov    $0x0,%al
call   1040 <cmdRead@plt>
jmp    1536 <main+0x316>
mov    -0x118(%rbp),%rdi
lea    0xc28(%rip),%rsi
call   10c0 <strcmp@plt>
cmp    $0x0,%rax
je     1455 <main+0x235>
mov    -0x118(%rbp),%rdi
lea    0xc11(%rip),%rsi
call   10c0 <strcmp@plt>
cmp    $0x0,%rax
jne    1461 <main+0x241>
mov    $0x0,%al
call   1060 <cmdMkdir@plt>
jmp    1531 <main+0x311>
mov    -0x118(%rbp),%rdi
lea    0xbeb(%rip),%rsi
call   10c0 <strcmp@plt>
cmp    $0x0,%rax
je     149b <main+0x27b>
mov    -0x118(%rbp),%rdi
lea    0xbd4(%rip),%rsi
call   10c0 <strcmp@plt>
cmp    $0x0,%rax
jne    14a7 <main+0x287>
mov    $0x0,%al
call   10a0 <cmdRmdir@plt>
jmp    152c <main+0x30c>
mov    -0x118(%rbp),%rdi
lea    0xbae(%rip),%rsi
call   10c0 <strcmp@plt>
cmp    $0x0,%rax
je     14e1 <main+0x2c1>
mov    -0x118(%rbp),%rdi
lea    0xb81(%rip),%rsi
call   10c0 <strcmp@plt>
cmp    $0x0,%rax
jne    14ed <main+0x2cd>
mov    $0x0,%al
call   10f0 <cmdLs@plt>
jmp    1527 <main+0x307>
mov    -0x118(%rbp),%rdi
lea    0xb6b(%rip),%rsi
call   10c0 <strcmp@plt>
cmp    $0x0,%rax
jne    1516 <main+0x2f6>
mov    $0x0,%al
call   1050 <cmdTrunc@plt>
jmp    1522 <main+0x302>
lea    0xb4f(%rip),%rdi
call   1080 <printf@plt>
jmp    1527 <main+0x307>
jmp    152c <main+0x30c>
jmp    1531 <main+0x311>
jmp    1536 <main+0x316>
jmp    153b <main+0x31b>
jmp    1540 <main+0x320>
jmp    1545 <main+0x325>
jmp    154a <main+0x32a>
jmp    154f <main+0x32f>
jmp    1554 <main+0x334>
jmp    1559 <main+0x339>
jmp    155e <main+0x33e>
jmp    1563 <main+0x343>
jmp    1568 <main+0x348>
jmp    1245 <main+0x25>
xor    %eax,%eax
add    $0x120,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x108,%rsp
lea    0xe0a(%rip),%rdi
call   1070 <puts@plt>
xor    %eax,%eax
call   10a0 <cmdMan@plt>
lea    0xda5(%rip),%r14
mov    %rsp,%rbx
lea    0xda2(%rip),%r15
lea    0xd9e(%rip),%r12
lea    0xd9c(%rip),%r13
jmp    1287 <main+0x57>
cs nopw 0x0(%rax,%rax,1)
nop
xor    %eax,%eax
call   10a0 <cmdMan@plt>
mov    %r14,%rdi
call   1090 <printf@plt>
mov    %rbx,%rdi
call   10e0 <gets@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1130 <strtok@plt>
test   %rax,%rax
je     1287 <main+0x57>
mov    %rax,%rbp
mov    %rax,%rdi
mov    %r12,%rsi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     14d7 <main+0x2a7>
mov    %rbp,%rdi
mov    %r13,%rsi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     1280 <main+0x50>
mov    %rbp,%rdi
lea    0xd3b(%rip),%rsi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     1447 <main+0x217>
mov    %rbp,%rdi
lea    0xd29(%rip),%rsi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     1453 <main+0x223>
mov    %rbp,%rdi
lea    0xd0f(%rip),%rsi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     145f <main+0x22f>
mov    %rbp,%rdi
lea    0xcfc(%rip),%rsi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     146b <main+0x23b>
mov    %rbp,%rdi
lea    0xceb(%rip),%rsi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     1477 <main+0x247>
mov    %rbp,%rdi
lea    0xcd7(%rip),%rsi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     1483 <main+0x253>
mov    %rbp,%rdi
lea    0xcc4(%rip),%rsi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     148f <main+0x25f>
mov    %rbp,%rdi
lea    0xcb2(%rip),%rsi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     14a7 <main+0x277>
mov    %rbp,%rdi
lea    0xc9f(%rip),%rsi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     149b <main+0x26b>
mov    %rbp,%rdi
lea    0xc8d(%rip),%rsi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     149b <main+0x26b>
mov    %rbp,%rdi
lea    0xc78(%rip),%rsi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     14b3 <main+0x283>
mov    %rbp,%rdi
lea    0xc66(%rip),%rsi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     14b3 <main+0x283>
mov    %rbp,%rdi
lea    0xc51(%rip),%rsi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     14bf <main+0x28f>
mov    %rbp,%rdi
lea    0xc29(%rip),%rsi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     14bf <main+0x28f>
mov    %rbp,%rdi
lea    0xc24(%rip),%rsi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     14cb <main+0x29b>
lea    0xc2e(%rip),%rdi
call   1070 <puts@plt>
jmp    1287 <main+0x57>
xor    %eax,%eax
call   1030 <cmdWho@plt>
jmp    1287 <main+0x57>
xor    %eax,%eax
call   1140 <cmdCp@plt>
jmp    1287 <main+0x57>
xor    %eax,%eax
call   10f0 <cmdFscp@plt>
jmp    1287 <main+0x57>
xor    %eax,%eax
call   1080 <cmdCreate@plt>
jmp    1287 <main+0x57>
xor    %eax,%eax
call   10c0 <cmdDelete@plt>
jmp    1287 <main+0x57>
xor    %eax,%eax
call   1150 <cmdOpen@plt>
jmp    1287 <main+0x57>
xor    %eax,%eax
call   1120 <cmdClose@plt>
jmp    1287 <main+0x57>
xor    %eax,%eax
call   1060 <cmdMkdir@plt>
jmp    1287 <main+0x57>
xor    %eax,%eax
call   1040 <cmdRead@plt>
jmp    1287 <main+0x57>
xor    %eax,%eax
call   10b0 <cmdRmdir@plt>
jmp    1287 <main+0x57>
xor    %eax,%eax
call   1100 <cmdLs@plt>
jmp    1287 <main+0x57>
xor    %eax,%eax
call   1050 <cmdTrunc@plt>
jmp    1287 <main+0x57>
xor    %eax,%eax
call   1110 <cmdExit@plt>
xor    %eax,%eax
add    $0x108,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [26 x i8] c"Testing for T2FS - v 1.0\0A\00"
@.str.1 = [7 x i8] c"T2FS> \00"
@.str.2 = [3 x i8] c" \09\00"
@.str.3 = [5 x i8] c"exit\00"
@.str.4 = [4 x i8] c"man\00"
@.str.5 = [4 x i8] c"who\00"
@.str.6 = [3 x i8] c"cp\00"
@.str.7 = [5 x i8] c"fscp\00"
@.str.8 = [7 x i8] c"create\00"
@.str.9 = [4 x i8] c"del\00"
@.str.10 = [5 x i8] c"open\00"
@.str.11 = [6 x i8] c"close\00"
@.str.12 = [5 x i8] c"read\00"
@.str.13 = [6 x i8] c"mkdir\00"
@.str.14 = [3 x i8] c"md\00"
@.str.15 = [6 x i8] c"rmdir\00"
@.str.16 = [3 x i8] c"rm\00"
@.str.17 = [3 x i8] c"ls\00"
@.str.18 = [4 x i8] c"dir\00"
@.str.19 = [6 x i8] c"trunc\00"
@.str.20 = [5 x i8] c"???\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [256 x i8]
%3 = alloca i8*
store i32 0, i32* %1
%4 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
%5 = call i32 (...) @cmdMan()
br label %6
6: ; preds = %0, %125
%7 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%8 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%9 = call i32 @gets(i8* %8)
%10 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%11 = call i8* @strtok(i8* %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
store i8* %11, i8** %3
%12 = icmp ne i8* %11, null
br i1 %12, label %13, label %125
13: ; preds = %6
%14 = load i8*, i8** %3
%15 = call i64 @strcmp(i8* %14, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = call i32 (...) @cmdExit()
br label %126
19: ; preds = %13
%20 = load i8*, i8** %3
%21 = call i64 @strcmp(i8* %20, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = call i32 (...) @cmdMan()
br label %123
25: ; preds = %19
%26 = load i8*, i8** %3
%27 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %25
%30 = call i32 (...) @cmdWho()
br label %122
31: ; preds = %25
%32 = load i8*, i8** %3
%33 = call i64 @strcmp(i8* %32, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = call i32 (...) @cmdCp()
br label %121
37: ; preds = %31
%38 = load i8*, i8** %3
%39 = call i64 @strcmp(i8* %38, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %37
%42 = call i32 (...) @cmdFscp()
br label %120
43: ; preds = %37
%44 = load i8*, i8** %3
%45 = call i64 @strcmp(i8* %44, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0))
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %43
%48 = call i32 (...) @cmdCreate()
br label %119
49: ; preds = %43
%50 = load i8*, i8** %3
%51 = call i64 @strcmp(i8* %50, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %49
%54 = call i32 (...) @cmdDelete()
br label %118
55: ; preds = %49
%56 = load i8*, i8** %3
%57 = call i64 @strcmp(i8* %56, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%58 = icmp eq i64 %57, 0
br i1 %58, label %59, label %61
59: ; preds = %55
%60 = call i32 (...) @cmdOpen()
br label %117
61: ; preds = %55
%62 = load i8*, i8** %3
%63 = call i64 @strcmp(i8* %62, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%64 = icmp eq i64 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %61
%66 = call i32 (...) @cmdClose()
br label %116
67: ; preds = %61
%68 = load i8*, i8** %3
%69 = call i64 @strcmp(i8* %68, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%70 = icmp eq i64 %69, 0
br i1 %70, label %71, label %73
71: ; preds = %67
%72 = call i32 (...) @cmdRead()
br label %115
73: ; preds = %67
%74 = load i8*, i8** %3
%75 = call i64 @strcmp(i8* %74, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.13, i64 0, i64 0))
%76 = icmp eq i64 %75, 0
br i1 %76, label %81, label %77
77: ; preds = %73
%78 = load i8*, i8** %3
%79 = call i64 @strcmp(i8* %78, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0))
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %83
81: ; preds = %77, %73
%82 = call i32 (...) @cmdMkdir()
br label %114
83: ; preds = %77
%84 = load i8*, i8** %3
%85 = call i64 @strcmp(i8* %84, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0))
%86 = icmp eq i64 %85, 0
br i1 %86, label %91, label %87
87: ; preds = %83
%88 = load i8*, i8** %3
%89 = call i64 @strcmp(i8* %88, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.16, i64 0, i64 0))
%90 = icmp eq i64 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %87, %83
%92 = call i32 (...) @cmdRmdir()
br label %113
93: ; preds = %87
%94 = load i8*, i8** %3
%95 = call i64 @strcmp(i8* %94, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0))
%96 = icmp eq i64 %95, 0
br i1 %96, label %101, label %97
97: ; preds = %93
%98 = load i8*, i8** %3
%99 = call i64 @strcmp(i8* %98, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0))
%100 = icmp eq i64 %99, 0
br i1 %100, label %101, label %103
101: ; preds = %97, %93
%102 = call i32 (...) @cmdLs()
br label %112
103: ; preds = %97
%104 = load i8*, i8** %3
%105 = call i64 @strcmp(i8* %104, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.19, i64 0, i64 0))
%106 = icmp eq i64 %105, 0
br i1 %106, label %107, label %109
107: ; preds = %103
%108 = call i32 (...) @cmdTrunc()
br label %111
109: ; preds = %103
%110 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
br label %111
111: ; preds = %109, %107
br label %112
112: ; preds = %111, %101
br label %113
113: ; preds = %112, %91
br label %114
114: ; preds = %113, %81
br label %115
115: ; preds = %114, %71
br label %116
116: ; preds = %115, %65
br label %117
117: ; preds = %116, %59
br label %118
118: ; preds = %117, %53
br label %119
119: ; preds = %118, %47
br label %120
120: ; preds = %119, %41
br label %121
121: ; preds = %120, %35
br label %122
122: ; preds = %121, %29
br label %123
123: ; preds = %122, %23
br label %124
124: ; preds = %123
br label %125
125: ; preds = %124, %6
br label %6
126: ; preds = %17
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [7 x i8] c"T2FS> \00"
@.str.2 = [3 x i8] c" \09\00"
@.str.3 = [5 x i8] c"exit\00"
@.str.4 = [4 x i8] c"man\00"
@.str.5 = [4 x i8] c"who\00"
@.str.6 = [3 x i8] c"cp\00"
@.str.7 = [5 x i8] c"fscp\00"
@.str.8 = [7 x i8] c"create\00"
@.str.9 = [4 x i8] c"del\00"
@.str.10 = [5 x i8] c"open\00"
@.str.11 = [6 x i8] c"close\00"
@.str.12 = [5 x i8] c"read\00"
@.str.13 = [6 x i8] c"mkdir\00"
@.str.14 = [3 x i8] c"md\00"
@.str.15 = [6 x i8] c"rmdir\00"
@.str.16 = [3 x i8] c"rm\00"
@.str.17 = [3 x i8] c"ls\00"
@.str.18 = [4 x i8] c"dir\00"
@.str.19 = [6 x i8] c"trunc\00"
@str = [25 x i8] c"Testing for T2FS - v 1.0\00"
@str.21 = [4 x i8] c"???\00"
define i32 @main() {
%1 = alloca [256 x i8]
%2 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 (...) @cmdMan()
br label %5
5: ; preds = %25, %0
%6 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%7 = call i32 @gets(i8* %2)
%8 = call i8* @strtok(i8* %2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%9 = icmp eq i8* %8, null
br i1 %9, label %25, label %10
10: ; preds = %5
%11 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = call i32 (...) @cmdExit()
ret i32 0
15: ; preds = %10
%16 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = call i32 (...) @cmdMan()
br label %25
20: ; preds = %15
%21 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = call i32 (...) @cmdWho()
br label %25
25: ; preds = %23, %34, %44, %54, %67, %83, %90, %88, %75, %59, %49, %39, %29, %18, %5
br label %5
26: ; preds = %20
%27 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = call i32 (...) @cmdCp()
br label %25
31: ; preds = %26
%32 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = call i32 (...) @cmdFscp()
br label %25
36: ; preds = %31
%37 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0))
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %36
%40 = call i32 (...) @cmdCreate()
br label %25
41: ; preds = %36
%42 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %41
%45 = call i32 (...) @cmdDelete()
br label %25
46: ; preds = %41
%47 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = call i32 (...) @cmdOpen()
br label %25
51: ; preds = %46
%52 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %51
%55 = call i32 (...) @cmdClose()
br label %25
56: ; preds = %51
%57 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%58 = icmp eq i64 %57, 0
br i1 %58, label %59, label %61
59: ; preds = %56
%60 = call i32 (...) @cmdRead()
br label %25
61: ; preds = %56
%62 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.13, i64 0, i64 0))
%63 = icmp eq i64 %62, 0
br i1 %63, label %67, label %64
64: ; preds = %61
%65 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0))
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %69
67: ; preds = %64, %61
%68 = call i32 (...) @cmdMkdir()
br label %25
69: ; preds = %64
%70 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0))
%71 = icmp eq i64 %70, 0
br i1 %71, label %75, label %72
72: ; preds = %69
%73 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.16, i64 0, i64 0))
%74 = icmp eq i64 %73, 0
br i1 %74, label %75, label %77
75: ; preds = %72, %69
%76 = call i32 (...) @cmdRmdir()
br label %25
77: ; preds = %72
%78 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0))
%79 = icmp eq i64 %78, 0
br i1 %79, label %83, label %80
80: ; preds = %77
%81 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0))
%82 = icmp eq i64 %81, 0
br i1 %82, label %83, label %85
83: ; preds = %80, %77
%84 = call i32 (...) @cmdLs()
br label %25
85: ; preds = %80
%86 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.19, i64 0, i64 0))
%87 = icmp eq i64 %86, 0
br i1 %87, label %88, label %90
88: ; preds = %85
%89 = call i32 (...) @cmdTrunc()
br label %25
90: ; preds = %85
%91 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.21, i64 0, i64 0))
br label %25
}