#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 int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ command_add(char const *, char const *const *, char const *,
                               int);
int /*<<< orphan*/ command_create(char const *, char const *const *,
                                  char const *, int);
int /*<<< orphan*/ command_destroy(char const *, char const *const *,
                                   char const *, int);
int /*<<< orphan*/ command_dump(char const *, char const *const *, char const *,
                                int);
int /*<<< orphan*/ command_help(char const *, char const *const *, char const *,
                                int);
int /*<<< orphan*/ command_next(char const *, char const *const *, char const *,
                                int);
int /*<<< orphan*/ command_next_range(char const *, char const *const *,
                                      char const *, int);
int /*<<< orphan*/ command_reset(char const *, char const *const *,
                                 char const *, int);
int /*<<< orphan*/ command_time(char const *, char const *const *, char const *,
                                int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char const *, int,
                           char const *const);
int /*<<< orphan*/ stderr;
scalar_t__ strcasecmp(char const *const, char *);
int command(char const *progname, char const *const *argv, FILE *fp,
            char const *filename, int line) {
  if (strcasecmp(argv[0], "add") == 0)
    command_add(progname, argv, filename, line);
  else if (strcasecmp(argv[0], "create") == 0)
    command_create(progname, argv, filename, line);
  else if (strcasecmp(argv[0], "destroy") == 0)
    command_destroy(progname, argv, filename, line);
  else if (strcasecmp(argv[0], "dump") == 0)
    command_dump(progname, argv, filename, line);
  else if (strcasecmp(argv[0], "help") == 0)
    command_help(progname, argv, filename, line);
  else if (strcasecmp(argv[0], "next") == 0)
    command_next(progname, argv, filename, line);
  else if (strcasecmp(argv[0], "next*") == 0)
    command_next_range(progname, argv, filename, line);
  else if (strcasecmp(argv[0], "reset") == 0)
    command_reset(progname, argv, filename, line);
  else if (strcasecmp(argv[0], "time") == 0)
    command_time(progname, argv, filename, line);
  else if (strcasecmp(argv[0], "quit") == 0)
    return 1;
  else {
    fprintf(stderr,
            "%s:%d: unknown command \"%s\" -- "
            "try \"help\"?\n",
            filename, line, argv[0]);
  }
  return 0;
}


x86 assembly (clang, -O0):
<command>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    %r8d,-0x2c(%rbp)
mov    -0x18(%rbp),%rax
mov    (%rax),%rdi
lea    0xe26(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%rax
jne    1202 <command+0x52>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x28(%rbp),%rdx
mov    -0x2c(%rbp),%ecx
call   1080 <command_add@plt>
jmp    142b <command+0x27b>
mov    -0x18(%rbp),%rax
mov    (%rax),%rdi
lea    0xdf4(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%rax
jne    1238 <command+0x88>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x28(%rbp),%rdx
mov    -0x2c(%rbp),%ecx
call   1070 <command_create@plt>
jmp    1426 <command+0x276>
mov    -0x18(%rbp),%rax
mov    (%rax),%rdi
lea    0xdc5(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%rax
jne    126e <command+0xbe>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x28(%rbp),%rdx
mov    -0x2c(%rbp),%ecx
call   10b0 <command_destroy@plt>
jmp    1421 <command+0x271>
mov    -0x18(%rbp),%rax
mov    (%rax),%rdi
lea    0xd97(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%rax
jne    12a4 <command+0xf4>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x28(%rbp),%rdx
mov    -0x2c(%rbp),%ecx
call   1050 <command_dump@plt>
jmp    141c <command+0x26c>
mov    -0x18(%rbp),%rax
mov    (%rax),%rdi
lea    0xd66(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%rax
jne    12da <command+0x12a>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x28(%rbp),%rdx
mov    -0x2c(%rbp),%ecx
call   1040 <command_help@plt>
jmp    1417 <command+0x267>
mov    -0x18(%rbp),%rax
mov    (%rax),%rdi
lea    0xd35(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%rax
jne    1310 <command+0x160>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x28(%rbp),%rdx
mov    -0x2c(%rbp),%ecx
call   1060 <command_next@plt>
jmp    1412 <command+0x262>
mov    -0x18(%rbp),%rax
mov    (%rax),%rdi
lea    0xd04(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%rax
jne    1346 <command+0x196>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x28(%rbp),%rdx
mov    -0x2c(%rbp),%ecx
call   10c0 <command_next_range@plt>
jmp    140d <command+0x25d>
mov    -0x18(%rbp),%rax
mov    (%rax),%rdi
lea    0xcd4(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%rax
jne    137c <command+0x1cc>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x28(%rbp),%rdx
mov    -0x2c(%rbp),%ecx
call   10a0 <command_reset@plt>
jmp    1408 <command+0x258>
mov    -0x18(%rbp),%rax
mov    (%rax),%rdi
lea    0xca4(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%rax
jne    13b2 <command+0x202>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x28(%rbp),%rdx
mov    -0x2c(%rbp),%ecx
call   10d0 <command_time@plt>
jmp    1403 <command+0x253>
mov    -0x18(%rbp),%rax
mov    (%rax),%rdi
lea    0xc73(%rip),%rsi
call   1030 <strcasecmp@plt>
cmp    $0x0,%rax
jne    13db <command+0x22b>
movl   $0x1,-0x4(%rbp)
jmp    1432 <command+0x282>
mov    0x2bfe(%rip),%rax
mov    (%rax),%edi
mov    -0x28(%rbp),%rdx
mov    -0x2c(%rbp),%ecx
mov    -0x18(%rbp),%rax
mov    (%rax),%r8
lea    0xc3f(%rip),%rsi
call   1090 <fprintf@plt>
jmp    1403 <command+0x253>
jmp    1408 <command+0x258>
jmp    140d <command+0x25d>
jmp    1412 <command+0x262>
jmp    1417 <command+0x267>
jmp    141c <command+0x26c>
jmp    1421 <command+0x271>
jmp    1426 <command+0x276>
jmp    142b <command+0x27b>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<command>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
mov    %r8d,%r14d
mov    %rcx,%r15
mov    %rsi,%rbp
mov    %rdi,%r12
mov    (%rsi),%rbx
lea    0xe32(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %rax,%rax
je     12da <command+0x12a>
lea    0xe1e(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %rax,%rax
je     12f0 <command+0x140>
lea    0xe0d(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %rax,%rax
je     1306 <command+0x156>
lea    0xdfd(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %rax,%rax
je     1319 <command+0x169>
lea    0xdea(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %rax,%rax
je     132c <command+0x17c>
lea    0xdd7(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %rax,%rax
je     133f <command+0x18f>
lea    0xdc4(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %rax,%rax
je     1352 <command+0x1a2>
lea    0xdb2(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %rax,%rax
je     1365 <command+0x1b5>
lea    0xda0(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %rax,%rax
je     1378 <command+0x1c8>
lea    0xd8d(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcasecmp@plt>
test   %rax,%rax
je     1394 <command+0x1e4>
mov    0x2d22(%rip),%rax
mov    (%rax),%edi
lea    0xd71(%rip),%rsi
mov    %r15,%rdx
mov    %r14d,%ecx
mov    %rbx,%r8
call   1090 <fprintf@plt>
jmp    1389 <command+0x1d9>
mov    %r12,%rdi
mov    %rbp,%rsi
mov    %r15,%rdx
mov    %r14d,%ecx
call   1080 <command_add@plt>
jmp    1389 <command+0x1d9>
mov    %r12,%rdi
mov    %rbp,%rsi
mov    %r15,%rdx
mov    %r14d,%ecx
call   1070 <command_create@plt>
jmp    1389 <command+0x1d9>
mov    %r12,%rdi
mov    %rbp,%rsi
mov    %r15,%rdx
mov    %r14d,%ecx
call   10b0 <command_destroy@plt>
jmp    1389 <command+0x1d9>
mov    %r12,%rdi
mov    %rbp,%rsi
mov    %r15,%rdx
mov    %r14d,%ecx
call   1050 <command_dump@plt>
jmp    1389 <command+0x1d9>
mov    %r12,%rdi
mov    %rbp,%rsi
mov    %r15,%rdx
mov    %r14d,%ecx
call   1040 <command_help@plt>
jmp    1389 <command+0x1d9>
mov    %r12,%rdi
mov    %rbp,%rsi
mov    %r15,%rdx
mov    %r14d,%ecx
call   1060 <command_next@plt>
jmp    1389 <command+0x1d9>
mov    %r12,%rdi
mov    %rbp,%rsi
mov    %r15,%rdx
mov    %r14d,%ecx
call   10c0 <command_next_range@plt>
jmp    1389 <command+0x1d9>
mov    %r12,%rdi
mov    %rbp,%rsi
mov    %r15,%rdx
mov    %r14d,%ecx
call   10a0 <command_reset@plt>
jmp    1389 <command+0x1d9>
mov    %r12,%rdi
mov    %rbp,%rsi
mov    %r15,%rdx
mov    %r14d,%ecx
call   10d0 <command_time@plt>
xor    %eax,%eax
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
mov    $0x1,%eax
jmp    138b <command+0x1db>

LLVM IR (-O0):
@.str = [4 x i8] c"add\00"
@.str.1 = [7 x i8] c"create\00"
@.str.2 = [8 x i8] c"destroy\00"
@.str.3 = [5 x i8] c"dump\00"
@.str.4 = [5 x i8] c"help\00"
@.str.5 = [5 x i8] c"next\00"
@.str.6 = [6 x i8] c"next*\00"
@.str.7 = [6 x i8] c"reset\00"
@.str.8 = [5 x i8] c"time\00"
@.str.9 = [5 x i8] c"quit\00"
@stderr = global i32 0
@.str.10 = [44 x i8] c"%s:%d: unknown command \22%s\22 -- try \22help\22?\0A\00"
define i32 @command(i8* %0, i8** %1, i32* %2, i8* %3, i32 %4) {
%6 = alloca i32
%7 = alloca i8*
%8 = alloca i8**
%9 = alloca i32*
%10 = alloca i8*
%11 = alloca i32
store i8* %0, i8** %7
store i8** %1, i8*** %8
store i32* %2, i32** %9
store i8* %3, i8** %10
store i32 %4, i32* %11
%12 = load i8**, i8*** %8
%13 = getelementptr inbounds i8*, i8** %12, i64 0
%14 = load i8*, i8** %13
%15 = call i64 @strcasecmp(i8* %14, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %5
%18 = load i8*, i8** %7
%19 = load i8**, i8*** %8
%20 = load i8*, i8** %10
%21 = load i32, i32* %11
%22 = call i32 @command_add(i8* %18, i8** %19, i8* %20, i32 %21)
br label %143
23: ; preds = %5
%24 = load i8**, i8*** %8
%25 = getelementptr inbounds i8*, i8** %24, i64 0
%26 = load i8*, i8** %25
%27 = call i64 @strcasecmp(i8* %26, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %35
29: ; preds = %23
%30 = load i8*, i8** %7
%31 = load i8**, i8*** %8
%32 = load i8*, i8** %10
%33 = load i32, i32* %11
%34 = call i32 @command_create(i8* %30, i8** %31, i8* %32, i32 %33)
br label %142
35: ; preds = %23
%36 = load i8**, i8*** %8
%37 = getelementptr inbounds i8*, i8** %36, i64 0
%38 = load i8*, i8** %37
%39 = call i64 @strcasecmp(i8* %38, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %47
41: ; preds = %35
%42 = load i8*, i8** %7
%43 = load i8**, i8*** %8
%44 = load i8*, i8** %10
%45 = load i32, i32* %11
%46 = call i32 @command_destroy(i8* %42, i8** %43, i8* %44, i32 %45)
br label %141
47: ; preds = %35
%48 = load i8**, i8*** %8
%49 = getelementptr inbounds i8*, i8** %48, i64 0
%50 = load i8*, i8** %49
%51 = call i64 @strcasecmp(i8* %50, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %59
53: ; preds = %47
%54 = load i8*, i8** %7
%55 = load i8**, i8*** %8
%56 = load i8*, i8** %10
%57 = load i32, i32* %11
%58 = call i32 @command_dump(i8* %54, i8** %55, i8* %56, i32 %57)
br label %140
59: ; preds = %47
%60 = load i8**, i8*** %8
%61 = getelementptr inbounds i8*, i8** %60, i64 0
%62 = load i8*, i8** %61
%63 = call i64 @strcasecmp(i8* %62, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%64 = icmp eq i64 %63, 0
br i1 %64, label %65, label %71
65: ; preds = %59
%66 = load i8*, i8** %7
%67 = load i8**, i8*** %8
%68 = load i8*, i8** %10
%69 = load i32, i32* %11
%70 = call i32 @command_help(i8* %66, i8** %67, i8* %68, i32 %69)
br label %139
71: ; preds = %59
%72 = load i8**, i8*** %8
%73 = getelementptr inbounds i8*, i8** %72, i64 0
%74 = load i8*, i8** %73
%75 = call i64 @strcasecmp(i8* %74, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%76 = icmp eq i64 %75, 0
br i1 %76, label %77, label %83
77: ; preds = %71
%78 = load i8*, i8** %7
%79 = load i8**, i8*** %8
%80 = load i8*, i8** %10
%81 = load i32, i32* %11
%82 = call i32 @command_next(i8* %78, i8** %79, i8* %80, i32 %81)
br label %138
83: ; preds = %71
%84 = load i8**, i8*** %8
%85 = getelementptr inbounds i8*, i8** %84, i64 0
%86 = load i8*, i8** %85
%87 = call i64 @strcasecmp(i8* %86, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%88 = icmp eq i64 %87, 0
br i1 %88, label %89, label %95
89: ; preds = %83
%90 = load i8*, i8** %7
%91 = load i8**, i8*** %8
%92 = load i8*, i8** %10
%93 = load i32, i32* %11
%94 = call i32 @command_next_range(i8* %90, i8** %91, i8* %92, i32 %93)
br label %137
95: ; preds = %83
%96 = load i8**, i8*** %8
%97 = getelementptr inbounds i8*, i8** %96, i64 0
%98 = load i8*, i8** %97
%99 = call i64 @strcasecmp(i8* %98, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%100 = icmp eq i64 %99, 0
br i1 %100, label %101, label %107
101: ; preds = %95
%102 = load i8*, i8** %7
%103 = load i8**, i8*** %8
%104 = load i8*, i8** %10
%105 = load i32, i32* %11
%106 = call i32 @command_reset(i8* %102, i8** %103, i8* %104, i32 %105)
br label %136
107: ; preds = %95
%108 = load i8**, i8*** %8
%109 = getelementptr inbounds i8*, i8** %108, i64 0
%110 = load i8*, i8** %109
%111 = call i64 @strcasecmp(i8* %110, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%112 = icmp eq i64 %111, 0
br i1 %112, label %113, label %119
113: ; preds = %107
%114 = load i8*, i8** %7
%115 = load i8**, i8*** %8
%116 = load i8*, i8** %10
%117 = load i32, i32* %11
%118 = call i32 @command_time(i8* %114, i8** %115, i8* %116, i32 %117)
br label %135
119: ; preds = %107
%120 = load i8**, i8*** %8
%121 = getelementptr inbounds i8*, i8** %120, i64 0
%122 = load i8*, i8** %121
%123 = call i64 @strcasecmp(i8* %122, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%124 = icmp eq i64 %123, 0
br i1 %124, label %125, label %126
125: ; preds = %119
store i32 1, i32* %6
br label %144
126: ; preds = %119
%127 = load i32, i32* @stderr
%128 = load i8*, i8** %10
%129 = load i32, i32* %11
%130 = load i8**, i8*** %8
%131 = getelementptr inbounds i8*, i8** %130, i64 0
%132 = load i8*, i8** %131
%133 = call i32 @fprintf(i32 %127, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.10, i64 0, i64 0), i8* %128, i32 %129, i8* %132)
br label %134
134: ; preds = %126
br label %135
135: ; preds = %134, %113
br label %136
136: ; preds = %135, %101
br label %137
137: ; preds = %136, %89
br label %138
138: ; preds = %137, %77
br label %139
139: ; preds = %138, %65
br label %140
140: ; preds = %139, %53
br label %141
141: ; preds = %140, %41
br label %142
142: ; preds = %141, %29
br label %143
143: ; preds = %142, %17
store i32 0, i32* %6
br label %144
144: ; preds = %143, %125
%145 = load i32, i32* %6
ret i32 %145
}

LLVM IR (-O2):
@.str = [4 x i8] c"add\00"
@.str.1 = [7 x i8] c"create\00"
@.str.2 = [8 x i8] c"destroy\00"
@.str.3 = [5 x i8] c"dump\00"
@.str.4 = [5 x i8] c"help\00"
@.str.5 = [5 x i8] c"next\00"
@.str.6 = [6 x i8] c"next*\00"
@.str.7 = [6 x i8] c"reset\00"
@.str.8 = [5 x i8] c"time\00"
@.str.9 = [5 x i8] c"quit\00"
@stderr = global i32 0
@.str.10 = [44 x i8] c"%s:%d: unknown command \22%s\22 -- try \22help\22?\0A\00"
define i32 @command(i8* %0, i8** %1, i32* nocapture readnone %2, i8* %3, i32 %4) {
%6 = load i8*, i8** %1
%7 = tail call i64 @strcasecmp(i8* %6, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = tail call i32 @command_add(i8* %0, i8** %1, i8* %3, i32 %4)
br label %57
11: ; preds = %5
%12 = tail call i64 @strcasecmp(i8* %6, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = tail call i32 @command_create(i8* %0, i8** %1, i8* %3, i32 %4)
br label %57
16: ; preds = %11
%17 = tail call i64 @strcasecmp(i8* %6, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = tail call i32 @command_destroy(i8* %0, i8** %1, i8* %3, i32 %4)
br label %57
21: ; preds = %16
%22 = tail call i64 @strcasecmp(i8* %6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = tail call i32 @command_dump(i8* %0, i8** %1, i8* %3, i32 %4)
br label %57
26: ; preds = %21
%27 = tail call i64 @strcasecmp(i8* %6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = tail call i32 @command_help(i8* %0, i8** %1, i8* %3, i32 %4)
br label %57
31: ; preds = %26
%32 = tail call i64 @strcasecmp(i8* %6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = tail call i32 @command_next(i8* %0, i8** %1, i8* %3, i32 %4)
br label %57
36: ; preds = %31
%37 = tail call i64 @strcasecmp(i8* %6, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %36
%40 = tail call i32 @command_next_range(i8* %0, i8** %1, i8* %3, i32 %4)
br label %57
41: ; preds = %36
%42 = tail call i64 @strcasecmp(i8* %6, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %41
%45 = tail call i32 @command_reset(i8* %0, i8** %1, i8* %3, i32 %4)
br label %57
46: ; preds = %41
%47 = tail call i64 @strcasecmp(i8* %6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = tail call i32 @command_time(i8* %0, i8** %1, i8* %3, i32 %4)
br label %57
51: ; preds = %46
%52 = tail call i64 @strcasecmp(i8* %6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%53 = icmp eq i64 %52, 0
br i1 %53, label %57, label %54
54: ; preds = %51
%55 = load i32, i32* @stderr
%56 = tail call i32 @fprintf(i32 %55, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.10, i64 0, i64 0), i8* %3, i32 %4, i8* %6)
br label %57
57: ; preds = %9, %19, %29, %39, %49, %54, %44, %34, %24, %14, %51
%58 = phi i32 [ 1, %51 ], [ 0, %14 ], [ 0, %24 ], [ 0, %34 ], [ 0, %44 ], [ 0, %54 ], [ 0, %49 ], [ 0, %39 ], [ 0, %29 ], [ 0, %19 ], [ 0, %9 ]
ret i32 %58
}