#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 */
typedef scalar_t__ pid_t;
typedef char *intmax_t;

/* Variables and functions */
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ free(char *);
scalar_t__ getUserCommand(char **, char ***);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ runBackground(char **);
int /*<<< orphan*/ runFor(char **);
int /*<<< orphan*/ runMurder(char **);
scalar_t__ runRun(char **);
scalar_t__ strcmp(char *, char *);
int main() {
  char *cmd = NULL;
  char *args[32] = {NULL};
  int i = 0;
  while (1) {
    printf("# ");
    if (getUserCommand(&cmd, &args) != 0) {
      if (strcmp(cmd, "quit") == 0) {
        free(cmd);
        for (i = 0; i < 32; i++)
          free(args[i]);
        exit(0);
      } else if (strcmp(cmd, "run") == 0) {
        if (runRun(args) == 0)
          printf("error: process not run\n");
      } else if (strcmp(cmd, "background") == 0) {
        pid_t pid;
        pid = runBackground(args);
        if (pid > 0)
          printf("process backgrounded, id is: %jd\n", (intmax_t)pid);
        else
          printf("error: process not backgrounded\n");
      } else if (strcmp(cmd, "murder") == 0) {
        runMurder(args);
      } else if (strcmp(cmd, "for") == 0) {
        runFor(args);
      } else {
        printf("no such command: %s\n", cmd);
      }
    }
    free(cmd);
    for (i = 0; i < 32; i++)
      free(args[i]);
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x120,%rsp
movl   $0x0,-0x4(%rbp)
movq   $0x0,-0x10(%rbp)
lea    -0x110(%rbp),%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1090 <memset@plt>
movl   $0x0,-0x114(%rbp)
lea    0xe22(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
lea    -0x110(%rbp),%rsi
lea    -0x10(%rbp),%rdi
call   1050 <getUserCommand@plt>
cmp    $0x0,%rax
je     1394 <main+0x1f4>
mov    -0x10(%rbp),%rdi
lea    0xdf9(%rip),%rsi
call   10b0 <strcmp@plt>
cmp    $0x0,%rax
jne    1268 <main+0xc8>
mov    -0x10(%rbp),%rdi
call   1030 <free@plt>
movl   $0x0,-0x114(%rbp)
cmpl   $0x20,-0x114(%rbp)
jge    1261 <main+0xc1>
movslq -0x114(%rbp),%rax
mov    -0x110(%rbp,%rax,8),%rdi
ff
call   1030 <free@plt>
mov    -0x114(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x114(%rbp)
jmp    122c <main+0x8c>
xor    %edi,%edi
call   10c0 <exit@plt>
mov    -0x10(%rbp),%rdi
lea    0xd95(%rip),%rsi
call   10b0 <strcmp@plt>
cmp    $0x0,%rax
jne    12ab <main+0x10b>
lea    -0x110(%rbp),%rdi
call   1080 <runRun@plt>
cmp    $0x0,%rax
jne    12a6 <main+0x106>
lea    0xd6d(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
jmp    138a <main+0x1ea>
mov    -0x10(%rbp),%rdi
lea    0xd6e(%rip),%rsi
call   10b0 <strcmp@plt>
cmp    $0x0,%rax
jne    1313 <main+0x173>
lea    -0x110(%rbp),%rdi
call   10a0 <runBackground@plt>
mov    %rax,-0x120(%rbp)
cmpq   $0x0,-0x120(%rbp)
jle    1300 <main+0x160>
mov    -0x120(%rbp),%rsi
lea    0xd3b(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
jmp    130e <main+0x16e>
lea    0xd4a(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
jmp    1385 <main+0x1e5>
mov    -0x10(%rbp),%rdi
lea    0xd54(%rip),%rsi
call   10b0 <strcmp@plt>
cmp    $0x0,%rax
jne    133e <main+0x19e>
lea    -0x110(%rbp),%rdi
call   1040 <runMurder@plt>
jmp    1380 <main+0x1e0>
mov    -0x10(%rbp),%rdi
lea    0xd30(%rip),%rsi
call   10b0 <strcmp@plt>
cmp    $0x0,%rax
jne    1369 <main+0x1c9>
lea    -0x110(%rbp),%rdi
call   1060 <runFor@plt>
jmp    137b <main+0x1db>
mov    -0x10(%rbp),%rsi
lea    0xd09(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
jmp    1380 <main+0x1e0>
jmp    1385 <main+0x1e5>
jmp    138a <main+0x1ea>
jmp    138f <main+0x1ef>
jmp    1394 <main+0x1f4>
mov    -0x10(%rbp),%rdi
call   1030 <free@plt>
movl   $0x0,-0x114(%rbp)
cmpl   $0x20,-0x114(%rbp)
jge    13dc <main+0x23c>
movslq -0x114(%rbp),%rax
mov    -0x110(%rbp,%rax,8),%rdi
ff
call   1030 <free@plt>
mov    -0x114(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x114(%rbp)
jmp    13a7 <main+0x207>
jmp    11d7 <main+0x37>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x118,%rsp
movq   $0x0,0x8(%rsp)
xorps  %xmm0,%xmm0
movaps %xmm0,0x100(%rsp)
movaps %xmm0,0xf0(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
lea    0xdd1(%rip),%r14
lea    0x8(%rsp),%r15
lea    0x10(%rsp),%rbx
lea    0xdc3(%rip),%r12
lea    0xe41(%rip),%r13
lea    0xdba(%rip),%rbp
jmp    13f0 <main+0x250>
mov    0x8(%rsp),%rsi
lea    0xde1(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
cs nopw 0x0(%rax,%rax,1)
mov    0x8(%rsp),%rdi
call   1030 <free@plt>
mov    0x10(%rsp),%rdi
call   1030 <free@plt>
mov    0x18(%rsp),%rdi
call   1030 <free@plt>
mov    0x20(%rsp),%rdi
call   1030 <free@plt>
mov    0x28(%rsp),%rdi
call   1030 <free@plt>
mov    0x30(%rsp),%rdi
call   1030 <free@plt>
mov    0x38(%rsp),%rdi
call   1030 <free@plt>
mov    0x40(%rsp),%rdi
call   1030 <free@plt>
mov    0x48(%rsp),%rdi
call   1030 <free@plt>
mov    0x50(%rsp),%rdi
call   1030 <free@plt>
mov    0x58(%rsp),%rdi
call   1030 <free@plt>
mov    0x60(%rsp),%rdi
call   1030 <free@plt>
mov    0x68(%rsp),%rdi
call   1030 <free@plt>
mov    0x70(%rsp),%rdi
call   1030 <free@plt>
mov    0x78(%rsp),%rdi
call   1030 <free@plt>
mov    0x80(%rsp),%rdi
call   1030 <free@plt>
mov    0x88(%rsp),%rdi
call   1030 <free@plt>
mov    0x90(%rsp),%rdi
call   1030 <free@plt>
mov    0x98(%rsp),%rdi
call   1030 <free@plt>
mov    0xa0(%rsp),%rdi
call   1030 <free@plt>
mov    0xa8(%rsp),%rdi
call   1030 <free@plt>
mov    0xb0(%rsp),%rdi
call   1030 <free@plt>
mov    0xb8(%rsp),%rdi
call   1030 <free@plt>
mov    0xc0(%rsp),%rdi
call   1030 <free@plt>
mov    0xc8(%rsp),%rdi
call   1030 <free@plt>
mov    0xd0(%rsp),%rdi
call   1030 <free@plt>
mov    0xd8(%rsp),%rdi
call   1030 <free@plt>
mov    0xe0(%rsp),%rdi
call   1030 <free@plt>
mov    0xe8(%rsp),%rdi
call   1030 <free@plt>
mov    0xf0(%rsp),%rdi
call   1030 <free@plt>
mov    0xf8(%rsp),%rdi
call   1030 <free@plt>
mov    0x100(%rsp),%rdi
call   1030 <free@plt>
mov    0x108(%rsp),%rdi
call   1030 <free@plt>
mov    %r14,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
call   1060 <getUserCommand@plt>
test   %rax,%rax
je     1270 <main+0xd0>
mov    0x8(%rsp),%rdi
mov    %r12,%rsi
call   10b0 <strcmp@plt>
mov    0x8(%rsp),%rdi
test   %rax,%rax
je     14ec <main+0x34c>
mov    %r13,%rsi
call   10b0 <strcmp@plt>
test   %rax,%rax
je     1490 <main+0x2f0>
mov    0x8(%rsp),%rdi
mov    %rbp,%rsi
call   10b0 <strcmp@plt>
test   %rax,%rax
je     14b2 <main+0x312>
mov    0x8(%rsp),%rdi
lea    0xbe1(%rip),%rsi
call   10b0 <strcmp@plt>
test   %rax,%rax
je     14ce <main+0x32e>
mov    0x8(%rsp),%rdi
lea    0xbd2(%rip),%rsi
call   10b0 <strcmp@plt>
test   %rax,%rax
jne    1253 <main+0xb3>
mov    %rbx,%rdi
call   1070 <runFor@plt>
jmp    1270 <main+0xd0>
cs nopw 0x0(%rax,%rax,1)
nop
mov    %rbx,%rdi
call   1090 <runRun@plt>
test   %rax,%rax
jne    1270 <main+0xd0>
lea    0xbcd(%rip),%rdi
call   1040 <puts@plt>
jmp    1270 <main+0xd0>
mov    %rbx,%rdi
call   10a0 <runBackground@plt>
test   %rax,%rax
jle    14db <main+0x33b>
lea    0xb4d(%rip),%rdi
mov    %rax,%rsi
jmp    125f <main+0xbf>
mov    %rbx,%rdi
call   1050 <runMurder@plt>
jmp    1270 <main+0xd0>
lea    0xb73(%rip),%rdi
call   1040 <puts@plt>
jmp    1270 <main+0xd0>
call   1030 <free@plt>
mov    0x10(%rsp),%rdi
call   1030 <free@plt>
mov    0x18(%rsp),%rdi
call   1030 <free@plt>
mov    0x20(%rsp),%rdi
call   1030 <free@plt>
mov    0x28(%rsp),%rdi
call   1030 <free@plt>
mov    0x30(%rsp),%rdi
call   1030 <free@plt>
mov    0x38(%rsp),%rdi
call   1030 <free@plt>
mov    0x40(%rsp),%rdi
call   1030 <free@plt>
mov    0x48(%rsp),%rdi
call   1030 <free@plt>
mov    0x50(%rsp),%rdi
call   1030 <free@plt>
mov    0x58(%rsp),%rdi
call   1030 <free@plt>
mov    0x60(%rsp),%rdi
call   1030 <free@plt>
mov    0x68(%rsp),%rdi
call   1030 <free@plt>
mov    0x70(%rsp),%rdi
call   1030 <free@plt>
mov    0x78(%rsp),%rdi
call   1030 <free@plt>
mov    0x80(%rsp),%rdi
call   1030 <free@plt>
mov    0x88(%rsp),%rdi
call   1030 <free@plt>
mov    0x90(%rsp),%rdi
call   1030 <free@plt>
mov    0x98(%rsp),%rdi
call   1030 <free@plt>
mov    0xa0(%rsp),%rdi
call   1030 <free@plt>
mov    0xa8(%rsp),%rdi
call   1030 <free@plt>
mov    0xb0(%rsp),%rdi
call   1030 <free@plt>
mov    0xb8(%rsp),%rdi
call   1030 <free@plt>
mov    0xc0(%rsp),%rdi
call   1030 <free@plt>
mov    0xc8(%rsp),%rdi
call   1030 <free@plt>
mov    0xd0(%rsp),%rdi
call   1030 <free@plt>
mov    0xd8(%rsp),%rdi
call   1030 <free@plt>
mov    0xe0(%rsp),%rdi
call   1030 <free@plt>
mov    0xe8(%rsp),%rdi
call   1030 <free@plt>
mov    0xf0(%rsp),%rdi
call   1030 <free@plt>
mov    0xf8(%rsp),%rdi
call   1030 <free@plt>
mov    0x100(%rsp),%rdi
call   1030 <free@plt>
mov    0x108(%rsp),%rdi
call   1030 <free@plt>
xor    %edi,%edi
call   10c0 <exit@plt>

LLVM IR (-O0):
@.str = [3 x i8] c"# \00"
@.str.1 = [5 x i8] c"quit\00"
@.str.2 = [4 x i8] c"run\00"
@.str.3 = [24 x i8] c"error: process not run\0A\00"
@.str.4 = [11 x i8] c"background\00"
@.str.5 = [34 x i8] c"process backgrounded, id is: %jd\0A\00"
@.str.6 = [33 x i8] c"error: process not backgrounded\0A\00"
@.str.7 = [7 x i8] c"murder\00"
@.str.8 = [4 x i8] c"for\00"
@.str.9 = [21 x i8] c"no such command: %s\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8*
%3 = alloca [32 x i8*]
%4 = alloca i32
%5 = alloca i64
store i32 0, i32* %1
store i8* null, i8** %2
%6 = bitcast [32 x i8*]* %3 to i8*
store i32 0, i32* %4
br label %7
7: ; preds = %0, %97
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%9 = bitcast [32 x i8*]* %3 to i8***
%10 = call i64 @getUserCommand(i8** %2, i8*** %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %82
12: ; preds = %7
%13 = load i8*, i8** %2
%14 = call i64 @strcmp(i8* %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %33
16: ; preds = %12
%17 = load i8*, i8** %2
%18 = call i32 @free(i8* %17)
store i32 0, i32* %4
br label %19
19: ; preds = %28, %16
%20 = load i32, i32* %4
%21 = icmp slt i32 %20, 32
br i1 %21, label %22, label %31
22: ; preds = %19
%23 = load i32, i32* %4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [32 x i8*], [32 x i8*]* %3, i64 0, i64 %24
%26 = load i8*, i8** %25
%27 = call i32 @free(i8* %26)
br label %28
28: ; preds = %22
%29 = load i32, i32* %4
%30 = add nsw i32 %29, 1
store i32 %30, i32* %4
br label %19
31: ; preds = %19
%32 = call i32 @exit(i32 0)
unreachable
33: ; preds = %12
%34 = load i8*, i8** %2
%35 = call i64 @strcmp(i8* %34, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %44
37: ; preds = %33
%38 = getelementptr inbounds [32 x i8*], [32 x i8*]* %3, i64 0, i64 0
%39 = call i64 @runRun(i8** %38)
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %37
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
br label %43
43: ; preds = %41, %37
br label %80
44: ; preds = %33
%45 = load i8*, i8** %2
%46 = call i64 @strcmp(i8* %45, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %60
48: ; preds = %44
%49 = getelementptr inbounds [32 x i8*], [32 x i8*]* %3, i64 0, i64 0
%50 = call i64 @runBackground(i8** %49)
store i64 %50, i64* %5
%51 = load i64, i64* %5
%52 = icmp sgt i64 %51, 0
br i1 %52, label %53, label %57
53: ; preds = %48
%54 = load i64, i64* %5
%55 = inttoptr i64 %54 to i8*
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.5, i64 0, i64 0), i8* %55)
br label %59
57: ; preds = %48
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.6, i64 0, i64 0))
br label %59
59: ; preds = %57, %53
br label %79
60: ; preds = %44
%61 = load i8*, i8** %2
%62 = call i64 @strcmp(i8* %61, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%63 = icmp eq i64 %62, 0
br i1 %63, label %64, label %67
64: ; preds = %60
%65 = getelementptr inbounds [32 x i8*], [32 x i8*]* %3, i64 0, i64 0
%66 = call i32 @runMurder(i8** %65)
br label %78
67: ; preds = %60
%68 = load i8*, i8** %2
%69 = call i64 @strcmp(i8* %68, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%70 = icmp eq i64 %69, 0
br i1 %70, label %71, label %74
71: ; preds = %67
%72 = getelementptr inbounds [32 x i8*], [32 x i8*]* %3, i64 0, i64 0
%73 = call i32 @runFor(i8** %72)
br label %77
74: ; preds = %67
%75 = load i8*, i8** %2
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), i8* %75)
br label %77
77: ; preds = %74, %71
br label %78
78: ; preds = %77, %64
br label %79
79: ; preds = %78, %59
br label %80
80: ; preds = %79, %43
br label %81
81: ; preds = %80
br label %82
82: ; preds = %81, %7
%83 = load i8*, i8** %2
%84 = call i32 @free(i8* %83)
store i32 0, i32* %4
br label %85
85: ; preds = %94, %82
%86 = load i32, i32* %4
%87 = icmp slt i32 %86, 32
br i1 %87, label %88, label %97
88: ; preds = %85
%89 = load i32, i32* %4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [32 x i8*], [32 x i8*]* %3, i64 0, i64 %90
%92 = load i8*, i8** %91
%93 = call i32 @free(i8* %92)
br label %94
94: ; preds = %88
%95 = load i32, i32* %4
%96 = add nsw i32 %95, 1
store i32 %96, i32* %4
br label %85
97: ; preds = %85
br label %7
}

LLVM IR (-O2):
@.str = [3 x i8] c"# \00"
@.str.1 = [5 x i8] c"quit\00"
@.str.2 = [4 x i8] c"run\00"
@.str.4 = [11 x i8] c"background\00"
@.str.5 = [34 x i8] c"process backgrounded, id is: %jd\0A\00"
@.str.7 = [7 x i8] c"murder\00"
@.str.8 = [4 x i8] c"for\00"
@.str.9 = [21 x i8] c"no such command: %s\0A\00"
@str = [32 x i8] c"error: process not backgrounded\00"
@str.10 = [23 x i8] c"error: process not run\00"
define i32 @main() {
%1 = alloca i8*
%2 = alloca [32 x i8*]
%3 = bitcast i8** %1 to i8*
store i8* null, i8** %1
%4 = bitcast [32 x i8*]* %2 to i8*
%5 = bitcast [32 x i8*]* %2 to i8***
%6 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 0
%7 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 1
%8 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 2
%9 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 3
%10 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 4
%11 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 5
%12 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 6
%13 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 7
%14 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 8
%15 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 9
%16 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 10
%17 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 11
%18 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 12
%19 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 13
%20 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 14
%21 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 15
%22 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 16
%23 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 17
%24 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 18
%25 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 19
%26 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 20
%27 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 21
%28 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 22
%29 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 23
%30 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 24
%31 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 25
%32 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 26
%33 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 27
%34 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 28
%35 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 29
%36 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 30
%37 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 31
br label %38
38: ; preds = %180, %0
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%40 = call i64 @getUserCommand(i8** %1, i8*** %5)
%41 = icmp eq i64 %40, 0
br i1 %41, label %180, label %42
42: ; preds = %38
%43 = load i8*, i8** %1
%44 = call i64 @strcmp(i8* %43, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%45 = icmp eq i64 %44, 0
%46 = load i8*, i8** %1
br i1 %45, label %47, label %145
47: ; preds = %42
%48 = call i32 @free(i8* %46)
%49 = load i8*, i8** %6
%50 = call i32 @free(i8* %49)
%51 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 1
%52 = load i8*, i8** %51
%53 = call i32 @free(i8* %52)
%54 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 2
%55 = load i8*, i8** %54
%56 = call i32 @free(i8* %55)
%57 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 3
%58 = load i8*, i8** %57
%59 = call i32 @free(i8* %58)
%60 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 4
%61 = load i8*, i8** %60
%62 = call i32 @free(i8* %61)
%63 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 5
%64 = load i8*, i8** %63
%65 = call i32 @free(i8* %64)
%66 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 6
%67 = load i8*, i8** %66
%68 = call i32 @free(i8* %67)
%69 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 7
%70 = load i8*, i8** %69
%71 = call i32 @free(i8* %70)
%72 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 8
%73 = load i8*, i8** %72
%74 = call i32 @free(i8* %73)
%75 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 9
%76 = load i8*, i8** %75
%77 = call i32 @free(i8* %76)
%78 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 10
%79 = load i8*, i8** %78
%80 = call i32 @free(i8* %79)
%81 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 11
%82 = load i8*, i8** %81
%83 = call i32 @free(i8* %82)
%84 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 12
%85 = load i8*, i8** %84
%86 = call i32 @free(i8* %85)
%87 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 13
%88 = load i8*, i8** %87
%89 = call i32 @free(i8* %88)
%90 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 14
%91 = load i8*, i8** %90
%92 = call i32 @free(i8* %91)
%93 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 15
%94 = load i8*, i8** %93
%95 = call i32 @free(i8* %94)
%96 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 16
%97 = load i8*, i8** %96
%98 = call i32 @free(i8* %97)
%99 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 17
%100 = load i8*, i8** %99
%101 = call i32 @free(i8* %100)
%102 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 18
%103 = load i8*, i8** %102
%104 = call i32 @free(i8* %103)
%105 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 19
%106 = load i8*, i8** %105
%107 = call i32 @free(i8* %106)
%108 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 20
%109 = load i8*, i8** %108
%110 = call i32 @free(i8* %109)
%111 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 21
%112 = load i8*, i8** %111
%113 = call i32 @free(i8* %112)
%114 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 22
%115 = load i8*, i8** %114
%116 = call i32 @free(i8* %115)
%117 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 23
%118 = load i8*, i8** %117
%119 = call i32 @free(i8* %118)
%120 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 24
%121 = load i8*, i8** %120
%122 = call i32 @free(i8* %121)
%123 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 25
%124 = load i8*, i8** %123
%125 = call i32 @free(i8* %124)
%126 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 26
%127 = load i8*, i8** %126
%128 = call i32 @free(i8* %127)
%129 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 27
%130 = load i8*, i8** %129
%131 = call i32 @free(i8* %130)
%132 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 28
%133 = load i8*, i8** %132
%134 = call i32 @free(i8* %133)
%135 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 29
%136 = load i8*, i8** %135
%137 = call i32 @free(i8* %136)
%138 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 30
%139 = load i8*, i8** %138
%140 = call i32 @free(i8* %139)
%141 = getelementptr inbounds [32 x i8*], [32 x i8*]* %2, i64 0, i64 31
%142 = load i8*, i8** %141
%143 = call i32 @free(i8* %142)
%144 = call i32 @exit(i32 0)
unreachable
145: ; preds = %42
%146 = call i64 @strcmp(i8* %46, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%147 = icmp eq i64 %146, 0
br i1 %147, label %148, label %153
148: ; preds = %145
%149 = call i64 @runRun(i8** %6)
%150 = icmp eq i64 %149, 0
br i1 %150, label %151, label %180
151: ; preds = %148
%152 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.10, i64 0, i64 0))
br label %180
153: ; preds = %145
%154 = load i8*, i8** %1
%155 = call i64 @strcmp(i8* %154, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
%156 = icmp eq i64 %155, 0
br i1 %156, label %157, label %165
157: ; preds = %153
%158 = call i64 @runBackground(i8** %6)
%159 = icmp sgt i64 %158, 0
br i1 %159, label %160, label %163
160: ; preds = %157
%161 = inttoptr i64 %158 to i8*
%162 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.5, i64 0, i64 0), i8* %161)
br label %180
163: ; preds = %157
%164 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str, i64 0, i64 0))
br label %180
165: ; preds = %153
%166 = load i8*, i8** %1
%167 = call i64 @strcmp(i8* %166, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%168 = icmp eq i64 %167, 0
br i1 %168, label %169, label %171
169: ; preds = %165
%170 = call i32 @runMurder(i8** %6)
br label %180
171: ; preds = %165
%172 = load i8*, i8** %1
%173 = call i64 @strcmp(i8* %172, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%174 = icmp eq i64 %173, 0
br i1 %174, label %175, label %177
175: ; preds = %171
%176 = call i32 @runFor(i8** %6)
br label %180
177: ; preds = %171
%178 = load i8*, i8** %1
%179 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), i8* %178)
br label %180
180: ; preds = %160, %163, %175, %177, %169, %148, %151, %38
%181 = load i8*, i8** %1
%182 = call i32 @free(i8* %181)
%183 = load i8*, i8** %6
%184 = call i32 @free(i8* %183)
%185 = load i8*, i8** %7
%186 = call i32 @free(i8* %185)
%187 = load i8*, i8** %8
%188 = call i32 @free(i8* %187)
%189 = load i8*, i8** %9
%190 = call i32 @free(i8* %189)
%191 = load i8*, i8** %10
%192 = call i32 @free(i8* %191)
%193 = load i8*, i8** %11
%194 = call i32 @free(i8* %193)
%195 = load i8*, i8** %12
%196 = call i32 @free(i8* %195)
%197 = load i8*, i8** %13
%198 = call i32 @free(i8* %197)
%199 = load i8*, i8** %14
%200 = call i32 @free(i8* %199)
%201 = load i8*, i8** %15
%202 = call i32 @free(i8* %201)
%203 = load i8*, i8** %16
%204 = call i32 @free(i8* %203)
%205 = load i8*, i8** %17
%206 = call i32 @free(i8* %205)
%207 = load i8*, i8** %18
%208 = call i32 @free(i8* %207)
%209 = load i8*, i8** %19
%210 = call i32 @free(i8* %209)
%211 = load i8*, i8** %20
%212 = call i32 @free(i8* %211)
%213 = load i8*, i8** %21
%214 = call i32 @free(i8* %213)
%215 = load i8*, i8** %22
%216 = call i32 @free(i8* %215)
%217 = load i8*, i8** %23
%218 = call i32 @free(i8* %217)
%219 = load i8*, i8** %24
%220 = call i32 @free(i8* %219)
%221 = load i8*, i8** %25
%222 = call i32 @free(i8* %221)
%223 = load i8*, i8** %26
%224 = call i32 @free(i8* %223)
%225 = load i8*, i8** %27
%226 = call i32 @free(i8* %225)
%227 = load i8*, i8** %28
%228 = call i32 @free(i8* %227)
%229 = load i8*, i8** %29
%230 = call i32 @free(i8* %229)
%231 = load i8*, i8** %30
%232 = call i32 @free(i8* %231)
%233 = load i8*, i8** %31
%234 = call i32 @free(i8* %233)
%235 = load i8*, i8** %32
%236 = call i32 @free(i8* %235)
%237 = load i8*, i8** %33
%238 = call i32 @free(i8* %237)
%239 = load i8*, i8** %34
%240 = call i32 @free(i8* %239)
%241 = load i8*, i8** %35
%242 = call i32 @free(i8* %241)
%243 = load i8*, i8** %36
%244 = call i32 @free(i8* %243)
%245 = load i8*, i8** %37
%246 = call i32 @free(i8* %245)
br label %38
}