#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*/ commandClear(char *, char *, char *, int *, int *);
int /*<<< orphan*/ commandDelete(char *, char *, char *, int *, int *, char **);
int /*<<< orphan*/ commandFind(char *, char *, char *, int *);
int /*<<< orphan*/ commandInsert(char **, char *, char *, int *, int *,
                                 char **);
int /*<<< orphan*/ commandPrev(char *, char *, char *, int *, int *, char **);
scalar_t__ compareTwoString(char *, char *, int, int);
int /*<<< orphan*/ free(char *);
char *getCommandAndData(char **, char **, char **, int *, int *);
int /*<<< orphan*/ printParameter();
int /*<<< orphan*/ printf(char *);
int strlen(char *);
bool runCommand(char *data, int *wordNumber, int *readLineLen,
                int *wordNumberArray, char **wordArray) {
  char *command = NULL;
  char *param1 = NULL;
  char *param2 = NULL;
  int commandLen;
  int checkParameters = 0;
  command =
      getCommandAndData(&data, &param1, &param2, readLineLen, &checkParameters);
  if (command == NULL) {
    printf("ignored\n");
    return false;
  }
  commandLen = strlen(command);
  if (compareTwoString(command, "insert", commandLen, 6)) {
    commandInsert(&data, param1, param2, wordNumber, wordNumberArray,
                  wordArray);
    printParameter();
  } else {
    if (compareTwoString(command, "clear", commandLen, 5)) {
      commandClear(data, param1, param2, wordNumber, wordNumberArray);
      printParameter();
    } else {
      if (compareTwoString(command, "delete", commandLen, 6)) {
        commandDelete(data, param1, param2, wordNumber, wordNumberArray,
                      wordArray);
        printParameter();
      } else {
        if (compareTwoString(command, "prev", commandLen, 4)) {
          if (checkParameters == 0) {
            commandPrev(data, param1, param2, wordNumber, wordNumberArray,
                        wordArray);
          } else {
            printf("ignored\n");
            if (data != NULL) {
              free(data);
              data = NULL;
            }
          }
          checkParameters = 0;
          printParameter();
        } else {
          if (compareTwoString(command, "find", commandLen, 4)) {
            commandFind(data, param1, param2, wordNumber);
          } else {
            if (data != NULL) {
              free(data);
              data = NULL;
            }
            printf("ignored\n");
          }
        }
      }
    }
  }
  if (command != NULL) {
    free(command);
    command = NULL;
  }
  if (param1 != NULL) {
    free(param1);
    param1 = NULL;
  }
  if (param2 != NULL) {
    free(param2);
    param2 = NULL;
  }
  return false;
}


x86 assembly (clang, -O0):
<runCommand>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    %r8,-0x30(%rbp)
movq   $0x0,-0x38(%rbp)
movq   $0x0,-0x40(%rbp)
movq   $0x0,-0x48(%rbp)
movl   $0x0,-0x50(%rbp)
mov    -0x20(%rbp),%rcx
lea    -0x10(%rbp),%rdi
lea    -0x40(%rbp),%rsi
lea    -0x48(%rbp),%rdx
lea    -0x50(%rbp),%r8
call   1050 <getCommandAndData@plt>
mov    %rax,-0x38(%rbp)
cmpq   $0x0,-0x38(%rbp)
jne    122b <runCommand+0x7b>
lea    0xde6(%rip),%rdi
call   1080 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1475 <runCommand+0x2c5>
mov    -0x38(%rbp),%rdi
call   1070 <strlen@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x38(%rbp),%rdi
mov    -0x4c(%rbp),%edx
lea    0xdc4(%rip),%rsi
mov    $0x6,%ecx
call   10d0 <compareTwoString@plt>
cmp    $0x0,%rax
je     1282 <runCommand+0xd2>
mov    -0x40(%rbp),%rsi
mov    -0x48(%rbp),%rdx
mov    -0x18(%rbp),%rcx
mov    -0x28(%rbp),%r8
mov    -0x30(%rbp),%r9
lea    -0x10(%rbp),%rdi
call   10c0 <commandInsert@plt>
mov    $0x0,%al
call   1090 <printParameter@plt>
jmp    141a <runCommand+0x26a>
mov    -0x38(%rbp),%rdi
mov    -0x4c(%rbp),%edx
lea    0xd80(%rip),%rsi
mov    $0x5,%ecx
call   10d0 <compareTwoString@plt>
cmp    $0x0,%rax
je     12c9 <runCommand+0x119>
mov    -0x10(%rbp),%rdi
mov    -0x40(%rbp),%rsi
mov    -0x48(%rbp),%rdx
mov    -0x18(%rbp),%rcx
mov    -0x28(%rbp),%r8
call   1060 <commandClear@plt>
mov    $0x0,%al
call   1090 <printParameter@plt>
jmp    1415 <runCommand+0x265>
mov    -0x38(%rbp),%rdi
mov    -0x4c(%rbp),%edx
lea    0xd3f(%rip),%rsi
mov    $0x6,%ecx
call   10d0 <compareTwoString@plt>
cmp    $0x0,%rax
je     1314 <runCommand+0x164>
mov    -0x10(%rbp),%rdi
mov    -0x40(%rbp),%rsi
mov    -0x48(%rbp),%rdx
mov    -0x18(%rbp),%rcx
mov    -0x28(%rbp),%r8
mov    -0x30(%rbp),%r9
call   10b0 <commandDelete@plt>
mov    $0x0,%al
call   1090 <printParameter@plt>
jmp    1410 <runCommand+0x260>
mov    -0x38(%rbp),%rdi
mov    -0x4c(%rbp),%edx
lea    0xcfb(%rip),%rsi
mov    $0x4,%ecx
call   10d0 <compareTwoString@plt>
cmp    $0x0,%rax
je     13a2 <runCommand+0x1f2>
cmpl   $0x0,-0x50(%rbp)
jne    1362 <runCommand+0x1b2>
mov    -0x10(%rbp),%rdi
mov    -0x40(%rbp),%rsi
mov    -0x48(%rbp),%rdx
mov    -0x18(%rbp),%rcx
mov    -0x28(%rbp),%r8
mov    -0x30(%rbp),%r9
call   1040 <commandPrev@plt>
jmp    138f <runCommand+0x1df>
lea    0xc97(%rip),%rdi
call   1080 <printf@plt>
cmpq   $0x0,-0x10(%rbp)
je     138a <runCommand+0x1da>
mov    -0x10(%rbp),%rdi
call   1030 <free@plt>
movq   $0x0,-0x10(%rbp)
jmp    138f <runCommand+0x1df>
movl   $0x0,-0x50(%rbp)
mov    $0x0,%al
call   1090 <printParameter@plt>
jmp    140b <runCommand+0x25b>
mov    -0x38(%rbp),%rdi
mov    -0x4c(%rbp),%edx
lea    0xc72(%rip),%rsi
mov    $0x4,%ecx
call   10d0 <compareTwoString@plt>
cmp    $0x0,%rax
je     13de <runCommand+0x22e>
mov    -0x10(%rbp),%rdi
mov    -0x40(%rbp),%rsi
mov    -0x48(%rbp),%rdx
mov    -0x18(%rbp),%rcx
call   10a0 <commandFind@plt>
jmp    1406 <runCommand+0x256>
cmpq   $0x0,-0x10(%rbp)
je     13fa <runCommand+0x24a>
mov    -0x10(%rbp),%rdi
call   1030 <free@plt>
movq   $0x0,-0x10(%rbp)
lea    0xbff(%rip),%rdi
call   1080 <printf@plt>
jmp    140b <runCommand+0x25b>
jmp    1410 <runCommand+0x260>
jmp    1415 <runCommand+0x265>
jmp    141a <runCommand+0x26a>
cmpq   $0x0,-0x38(%rbp)
je     1436 <runCommand+0x286>
mov    -0x38(%rbp),%rdi
call   1030 <free@plt>
movq   $0x0,-0x38(%rbp)
cmpq   $0x0,-0x40(%rbp)
je     1452 <runCommand+0x2a2>
mov    -0x40(%rbp),%rdi
call   1030 <free@plt>
movq   $0x0,-0x40(%rbp)
cmpq   $0x0,-0x48(%rbp)
je     146e <runCommand+0x2be>
mov    -0x48(%rbp),%rdi
call   1030 <free@plt>
movq   $0x0,-0x48(%rbp)
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<runCommand>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x20,%rsp
mov    %r8,%r12
mov    %rcx,%r15
mov    %rdx,%rcx
mov    %rsi,%r14
mov    %rdi,(%rsp)
movq   $0x0,0x8(%rsp)
movq   $0x0,0x10(%rsp)
movl   $0x0,0x1c(%rsp)
mov    %rsp,%rdi
lea    0x8(%rsp),%rsi
lea    0x10(%rsp),%rdx
lea    0x1c(%rsp),%r8
call   1060 <getCommandAndData@plt>
test   %rax,%rax
je     124a <runCommand+0x9a>
mov    %rax,%rbx
mov    %rax,%rdi
call   1080 <strlen@plt>
mov    %eax,%ebp
lea    0xdea(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
mov    $0x6,%ecx
call   10d0 <compareTwoString@plt>
test   %rax,%rax
je     125b <runCommand+0xab>
mov    0x8(%rsp),%rsi
mov    0x10(%rsp),%rdx
mov    %rsp,%rdi
mov    %r14,%rcx
mov    %r15,%r8
mov    %r12,%r9
call   10c0 <commandInsert@plt>
jmp    136d <runCommand+0x1bd>
lea    0xdcd(%rip),%rdi
call   1040 <puts@plt>
jmp    13a3 <runCommand+0x1f3>
lea    0xda5(%rip),%rsi
mov    %rbx,%rdi
mov    %ebp,%edx
mov    $0x5,%ecx
call   10d0 <compareTwoString@plt>
test   %rax,%rax
je     1294 <runCommand+0xe4>
mov    (%rsp),%rdi
mov    0x8(%rsp),%rsi
mov    0x10(%rsp),%rdx
mov    %r14,%rcx
mov    %r15,%r8
call   1070 <commandClear@plt>
jmp    136d <runCommand+0x1bd>
lea    0xd72(%rip),%rsi
mov    %rbx,%rdi
mov    %ebp,%edx
mov    $0x6,%ecx
call   10d0 <compareTwoString@plt>
test   %rax,%rax
je     12d0 <runCommand+0x120>
mov    (%rsp),%rdi
mov    0x8(%rsp),%rsi
mov    0x10(%rsp),%rdx
mov    %r14,%rcx
mov    %r15,%r8
mov    %r12,%r9
call   10b0 <commandDelete@plt>
jmp    136d <runCommand+0x1bd>
lea    0xd3d(%rip),%rsi
mov    %rbx,%rdi
mov    %ebp,%edx
mov    $0x4,%ecx
call   10d0 <compareTwoString@plt>
test   %rax,%rax
je     1316 <runCommand+0x166>
cmpl   $0x0,0x1c(%rsp)
je     1349 <runCommand+0x199>
lea    0xd25(%rip),%rdi
call   1040 <puts@plt>
mov    (%rsp),%rdi
test   %rdi,%rdi
je     1365 <runCommand+0x1b5>
call   1030 <free@plt>
movq   $0x0,(%rsp)
jmp    1365 <runCommand+0x1b5>
lea    0xcfc(%rip),%rsi
mov    %rbx,%rdi
mov    %ebp,%edx
mov    $0x4,%ecx
call   10d0 <compareTwoString@plt>
mov    (%rsp),%rdi
test   %rax,%rax
je     13b2 <runCommand+0x202>
mov    0x8(%rsp),%rsi
mov    0x10(%rsp),%rdx
mov    %r14,%rcx
call   10a0 <commandFind@plt>
jmp    1374 <runCommand+0x1c4>
mov    (%rsp),%rdi
mov    0x8(%rsp),%rsi
mov    0x10(%rsp),%rdx
mov    %r14,%rcx
mov    %r15,%r8
mov    %r12,%r9
call   1050 <commandPrev@plt>
movl   $0x0,0x1c(%rsp)
xor    %eax,%eax
call   1090 <printParameter@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
mov    0x8(%rsp),%rdi
test   %rdi,%rdi
je     1394 <runCommand+0x1e4>
call   1030 <free@plt>
movq   $0x0,0x8(%rsp)
mov    0x10(%rsp),%rdi
test   %rdi,%rdi
je     13a3 <runCommand+0x1f3>
call   1030 <free@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
test   %rdi,%rdi
je     13c4 <runCommand+0x214>
call   1030 <free@plt>
movq   $0x0,(%rsp)
lea    0xc53(%rip),%rdi
call   1040 <puts@plt>
jmp    1374 <runCommand+0x1c4>

LLVM IR (-O0):
@.str = [9 x i8] c"ignored\0A\00"
@.str.1 = [7 x i8] c"insert\00"
@.str.2 = [6 x i8] c"clear\00"
@.str.3 = [7 x i8] c"delete\00"
@.str.4 = [5 x i8] c"prev\00"
@.str.5 = [5 x i8] c"find\00"
define i32 @runCommand(i8* %0, i32* %1, i32* %2, i32* %3, i8** %4) {
%6 = alloca i32
%7 = alloca i8*
%8 = alloca i32*
%9 = alloca i32*
%10 = alloca i32*
%11 = alloca i8**
%12 = alloca i8*
%13 = alloca i8*
%14 = alloca i8*
%15 = alloca i32
%16 = alloca i32
store i8* %0, i8** %7
store i32* %1, i32** %8
store i32* %2, i32** %9
store i32* %3, i32** %10
store i8** %4, i8*** %11
store i8* null, i8** %12
store i8* null, i8** %13
store i8* null, i8** %14
store i32 0, i32* %16
%17 = load i32*, i32** %9
%18 = call i8* @getCommandAndData(i8** %7, i8** %13, i8** %14, i32* %17, i32* %16)
store i8* %18, i8** %12
%19 = load i8*, i8** %12
%20 = icmp eq i8* %19, null
br i1 %20, label %21, label %23
21: ; preds = %5
%22 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %6
br label %133
23: ; preds = %5
%24 = load i8*, i8** %12
%25 = call i32 @strlen(i8* %24)
store i32 %25, i32* %15
%26 = load i8*, i8** %12
%27 = load i32, i32* %15
%28 = call i64 @compareTwoString(i8* %26, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 %27, i32 6)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %38
30: ; preds = %23
%31 = load i8*, i8** %13
%32 = load i8*, i8** %14
%33 = load i32*, i32** %8
%34 = load i32*, i32** %10
%35 = load i8**, i8*** %11
%36 = call i32 @commandInsert(i8** %7, i8* %31, i8* %32, i32* %33, i32* %34, i8** %35)
%37 = call i32 (...) @printParameter()
br label %114
38: ; preds = %23
%39 = load i8*, i8** %12
%40 = load i32, i32* %15
%41 = call i64 @compareTwoString(i8* %39, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 %40, i32 5)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %51
43: ; preds = %38
%44 = load i8*, i8** %7
%45 = load i8*, i8** %13
%46 = load i8*, i8** %14
%47 = load i32*, i32** %8
%48 = load i32*, i32** %10
%49 = call i32 @commandClear(i8* %44, i8* %45, i8* %46, i32* %47, i32* %48)
%50 = call i32 (...) @printParameter()
br label %113
51: ; preds = %38
%52 = load i8*, i8** %12
%53 = load i32, i32* %15
%54 = call i64 @compareTwoString(i8* %52, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %53, i32 6)
%55 = icmp ne i64 %54, 0
br i1 %55, label %56, label %65
56: ; preds = %51
%57 = load i8*, i8** %7
%58 = load i8*, i8** %13
%59 = load i8*, i8** %14
%60 = load i32*, i32** %8
%61 = load i32*, i32** %10
%62 = load i8**, i8*** %11
%63 = call i32 @commandDelete(i8* %57, i8* %58, i8* %59, i32* %60, i32* %61, i8** %62)
%64 = call i32 (...) @printParameter()
br label %112
65: ; preds = %51
%66 = load i8*, i8** %12
%67 = load i32, i32* %15
%68 = call i64 @compareTwoString(i8* %66, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %67, i32 4)
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %91
70: ; preds = %65
%71 = load i32, i32* %16
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %81
73: ; preds = %70
%74 = load i8*, i8** %7
%75 = load i8*, i8** %13
%76 = load i8*, i8** %14
%77 = load i32*, i32** %8
%78 = load i32*, i32** %10
%79 = load i8**, i8*** %11
%80 = call i32 @commandPrev(i8* %74, i8* %75, i8* %76, i32* %77, i32* %78, i8** %79)
br label %89
81: ; preds = %70
%82 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%83 = load i8*, i8** %7
%84 = icmp ne i8* %83, null
br i1 %84, label %85, label %88
85: ; preds = %81
%86 = load i8*, i8** %7
%87 = call i32 @free(i8* %86)
store i8* null, i8** %7
br label %88
88: ; preds = %85, %81
br label %89
89: ; preds = %88, %73
store i32 0, i32* %16
%90 = call i32 (...) @printParameter()
br label %111
91: ; preds = %65
%92 = load i8*, i8** %12
%93 = load i32, i32* %15
%94 = call i64 @compareTwoString(i8* %92, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %93, i32 4)
%95 = icmp ne i64 %94, 0
br i1 %95, label %96, label %102
96: ; preds = %91
%97 = load i8*, i8** %7
%98 = load i8*, i8** %13
%99 = load i8*, i8** %14
%100 = load i32*, i32** %8
%101 = call i32 @commandFind(i8* %97, i8* %98, i8* %99, i32* %100)
br label %110
102: ; preds = %91
%103 = load i8*, i8** %7
%104 = icmp ne i8* %103, null
br i1 %104, label %105, label %108
105: ; preds = %102
%106 = load i8*, i8** %7
%107 = call i32 @free(i8* %106)
store i8* null, i8** %7
br label %108
108: ; preds = %105, %102
%109 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
br label %110
110: ; preds = %108, %96
br label %111
111: ; preds = %110, %89
br label %112
112: ; preds = %111, %56
br label %113
113: ; preds = %112, %43
br label %114
114: ; preds = %113, %30
%115 = load i8*, i8** %12
%116 = icmp ne i8* %115, null
br i1 %116, label %117, label %120
117: ; preds = %114
%118 = load i8*, i8** %12
%119 = call i32 @free(i8* %118)
store i8* null, i8** %12
br label %120
120: ; preds = %117, %114
%121 = load i8*, i8** %13
%122 = icmp ne i8* %121, null
br i1 %122, label %123, label %126
123: ; preds = %120
%124 = load i8*, i8** %13
%125 = call i32 @free(i8* %124)
store i8* null, i8** %13
br label %126
126: ; preds = %123, %120
%127 = load i8*, i8** %14
%128 = icmp ne i8* %127, null
br i1 %128, label %129, label %132
129: ; preds = %126
%130 = load i8*, i8** %14
%131 = call i32 @free(i8* %130)
store i8* null, i8** %14
br label %132
132: ; preds = %129, %126
store i32 0, i32* %6
br label %133
133: ; preds = %132, %21
%134 = load i32, i32* %6
ret i32 %134
}

LLVM IR (-O2):
@.str.1 = [7 x i8] c"insert\00"
@.str.2 = [6 x i8] c"clear\00"
@.str.3 = [7 x i8] c"delete\00"
@.str.4 = [5 x i8] c"prev\00"
@.str.5 = [5 x i8] c"find\00"
@str.7 = [8 x i8] c"ignored\00"
define i32 @runCommand(i8* %0, i32* %1, i32* %2, i32* %3, i8** %4) {
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i32
store i8* %0, i8** %6
%10 = bitcast i8** %7 to i8*
store i8* null, i8** %7
%11 = bitcast i8** %8 to i8*
store i8* null, i8** %8
%12 = bitcast i32* %9 to i8*
store i32 0, i32* %9
%13 = call i8* @getCommandAndData(i8** %6, i8** %7, i8** %8, i32* %2, i32* %9)
%14 = icmp eq i8* %13, null
br i1 %14, label %15, label %17
15: ; preds = %5
%16 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.7, i64 0, i64 0))
br label %88
17: ; preds = %5
%18 = call i32 @strlen(i8* %13)
%19 = call i64 @compareTwoString(i8* %13, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 %18, i32 6)
%20 = icmp eq i64 %19, 0
br i1 %20, label %26, label %21
21: ; preds = %17
%22 = load i8*, i8** %7
%23 = load i8*, i8** %8
%24 = call i32 @commandInsert(i8** %6, i8* %22, i8* %23, i32* %1, i32* %3, i8** %4)
%25 = call i32 (...) @printParameter()
br label %77
26: ; preds = %17
%27 = call i64 @compareTwoString(i8* %13, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 %18, i32 5)
%28 = icmp eq i64 %27, 0
br i1 %28, label %35, label %29
29: ; preds = %26
%30 = load i8*, i8** %6
%31 = load i8*, i8** %7
%32 = load i8*, i8** %8
%33 = call i32 @commandClear(i8* %30, i8* %31, i8* %32, i32* %1, i32* %3)
%34 = call i32 (...) @printParameter()
br label %77
35: ; preds = %26
%36 = call i64 @compareTwoString(i8* %13, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %18, i32 6)
%37 = icmp eq i64 %36, 0
br i1 %37, label %44, label %38
38: ; preds = %35
%39 = load i8*, i8** %6
%40 = load i8*, i8** %7
%41 = load i8*, i8** %8
%42 = call i32 @commandDelete(i8* %39, i8* %40, i8* %41, i32* %1, i32* %3, i8** %4)
%43 = call i32 (...) @printParameter()
br label %77
44: ; preds = %35
%45 = call i64 @compareTwoString(i8* %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %18, i32 4)
%46 = icmp eq i64 %45, 0
br i1 %46, label %63, label %47
47: ; preds = %44
%48 = load i32, i32* %9
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %55
50: ; preds = %47
%51 = load i8*, i8** %6
%52 = load i8*, i8** %7
%53 = load i8*, i8** %8
%54 = call i32 @commandPrev(i8* %51, i8* %52, i8* %53, i32* %1, i32* %3, i8** %4)
br label %61
55: ; preds = %47
%56 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.7, i64 0, i64 0))
%57 = load i8*, i8** %6
%58 = icmp eq i8* %57, null
br i1 %58, label %61, label %59
59: ; preds = %55
%60 = call i32 @free(i8* %57)
store i8* null, i8** %6
br label %61
61: ; preds = %55, %59, %50
store i32 0, i32* %9
%62 = call i32 (...) @printParameter()
br label %77
63: ; preds = %44
%64 = call i64 @compareTwoString(i8* %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %18, i32 4)
%65 = icmp eq i64 %64, 0
%66 = load i8*, i8** %6
br i1 %65, label %71, label %67
67: ; preds = %63
%68 = load i8*, i8** %7
%69 = load i8*, i8** %8
%70 = call i32 @commandFind(i8* %66, i8* %68, i8* %69, i32* %1)
br label %77
71: ; preds = %63
%72 = icmp eq i8* %66, null
br i1 %72, label %75, label %73
73: ; preds = %71
%74 = call i32 @free(i8* %66)
store i8* null, i8** %6
br label %75
75: ; preds = %73, %71
%76 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.7, i64 0, i64 0))
br label %77
77: ; preds = %21, %38, %67, %75, %61, %29
%78 = call i32 @free(i8* %13)
%79 = load i8*, i8** %7
%80 = icmp eq i8* %79, null
br i1 %80, label %83, label %81
81: ; preds = %77
%82 = call i32 @free(i8* %79)
store i8* null, i8** %7
br label %83
83: ; preds = %81, %77
%84 = load i8*, i8** %8
%85 = icmp eq i8* %84, null
br i1 %85, label %88, label %86
86: ; preds = %83
%87 = call i32 @free(i8* %84)
br label %88
88: ; preds = %83, %86, %15
ret i32 0
}