#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 EXIT_FAILURE;
int EXIT_SUCCESS;
int /*<<< orphan*/ changeColor(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
scalar_t__ getuid();
int /*<<< orphan*/ help();
int /*<<< orphan*/ listColors();
int /*<<< orphan*/ stdout;
scalar_t__ strcmp(char *, char *);
int main(int argc, char **argv) {
  if (getuid()) {
    fprintf(stdout, "You must be root to execute this program.\n");
    return EXIT_FAILURE;
  }
  if (argc != 2) {
    help();
  } else {
    if (strcmp(argv[1], "off") == 0 || strcmp(argv[1], "0") == 0 ||
        strcmp(argv[1], "00") == 0) {
      changeColor(0);
    } else if (strcmp(argv[1], "red") == 0 || strcmp(argv[1], "1") == 0 ||
               strcmp(argv[1], "01") == 0) {
      changeColor(1);
    } else if (strcmp(argv[1], "orange") == 0 || strcmp(argv[1], "2") == 0 ||
               strcmp(argv[1], "02") == 0) {
      changeColor(2);
    } else if (strcmp(argv[1], "yellow") == 0 || strcmp(argv[1], "3") == 0 ||
               strcmp(argv[1], "03") == 0) {
      changeColor(3);
    } else if (strcmp(argv[1], "green") == 0 || strcmp(argv[1], "4") == 0 ||
               strcmp(argv[1], "04") == 0) {
      changeColor(4);
    } else if (strcmp(argv[1], "sky") == 0 || strcmp(argv[1], "5") == 0 ||
               strcmp(argv[1], "05") == 0) {
      changeColor(5);
    } else if (strcmp(argv[1], "blue") == 0 || strcmp(argv[1], "6") == 0 ||
               strcmp(argv[1], "06") == 0) {
      changeColor(6);
    } else if (strcmp(argv[1], "purple") == 0 || strcmp(argv[1], "7") == 0 ||
               strcmp(argv[1], "07") == 0) {
      changeColor(7);
    } else if (strcmp(argv[1], "white") == 0 || strcmp(argv[1], "8") == 0 ||
               strcmp(argv[1], "08") == 0) {
      changeColor(8);
    } else if (strcmp(argv[1], "-h") == 0 || strcmp(argv[1], "--help") == 0) {
      help();
    } else if (strcmp(argv[1], "-c") == 0 || strcmp(argv[1], "--colors") == 0) {
      listColors();
    } else {
      fprintf(stdout,
              "%s is an invalid operand for this program. Type -h for help.\n",
              argv[1]);
    }
  }
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0x0,%al
call   1050 <getuid@plt>
cmp    $0x0,%rax
je     11af <main+0x4f>
mov    0x2e4a(%rip),%rax
mov    (%rax),%edi
lea    0xe69(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    0x2e3b(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    1665 <main+0x505>
cmpl   $0x2,-0x8(%rbp)
je     11c5 <main+0x65>
mov    $0x0,%al
call   1080 <help@plt>
jmp    1659 <main+0x4f9>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe57(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     121f <main+0xbf>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe3e(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     121f <main+0xbf>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe1f(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    122b <main+0xcb>
xor    %edi,%edi
call   1030 <changeColor@plt>
jmp    1654 <main+0x4f4>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xdf8(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     1285 <main+0x125>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xddf(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     1285 <main+0x125>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xdc0(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    1294 <main+0x134>
mov    $0x1,%edi
call   1030 <changeColor@plt>
jmp    164f <main+0x4ef>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xd96(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     12ee <main+0x18e>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xd80(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     12ee <main+0x18e>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xd61(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    12fd <main+0x19d>
mov    $0x2,%edi
call   1030 <changeColor@plt>
jmp    164a <main+0x4ea>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xd37(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     1357 <main+0x1f7>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xd21(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     1357 <main+0x1f7>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xd02(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    1366 <main+0x206>
mov    $0x3,%edi
call   1030 <changeColor@plt>
jmp    1645 <main+0x4e5>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xcd8(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     13c0 <main+0x260>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xcc1(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     13c0 <main+0x260>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xca2(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    13cf <main+0x26f>
mov    $0x4,%edi
call   1030 <changeColor@plt>
jmp    1640 <main+0x4e0>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xc78(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     1429 <main+0x2c9>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xc5f(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     1429 <main+0x2c9>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xc40(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    1438 <main+0x2d8>
mov    $0x5,%edi
call   1030 <changeColor@plt>
jmp    163b <main+0x4db>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xc16(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     1492 <main+0x332>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xbfe(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     1492 <main+0x332>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xbdf(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    14a1 <main+0x341>
mov    $0x6,%edi
call   1030 <changeColor@plt>
jmp    1636 <main+0x4d6>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xbb5(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     14fb <main+0x39b>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xb9f(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     14fb <main+0x39b>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xb80(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    150a <main+0x3aa>
mov    $0x7,%edi
call   1030 <changeColor@plt>
jmp    1631 <main+0x4d1>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xb56(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     1564 <main+0x404>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xb3f(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     1564 <main+0x404>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xb20(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    1573 <main+0x413>
mov    $0x8,%edi
call   1030 <changeColor@plt>
jmp    162c <main+0x4cc>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xaf6(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     15af <main+0x44f>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xadb(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    15bb <main+0x45b>
mov    $0x0,%al
call   1080 <help@plt>
jmp    1627 <main+0x4c7>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xab8(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     15f7 <main+0x497>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xa9d(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    1603 <main+0x4a3>
mov    $0x0,%al
call   1040 <listColors@plt>
jmp    1622 <main+0x4c2>
mov    0x29ce(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdx
lea    0xa73(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
jmp    1627 <main+0x4c7>
jmp    162c <main+0x4cc>
jmp    1631 <main+0x4d1>
jmp    1636 <main+0x4d6>
jmp    163b <main+0x4db>
jmp    1640 <main+0x4e0>
jmp    1645 <main+0x4e5>
jmp    164a <main+0x4ea>
jmp    164f <main+0x4ef>
jmp    1654 <main+0x4f4>
jmp    1659 <main+0x4f9>
mov    0x2970(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %rbx
push   %rax
mov    %rsi,%rbx
mov    %edi,%ebp
xor    %eax,%eax
call   1050 <getuid@plt>
test   %rax,%rax
je     1197 <main+0x37>
mov    0x2e5d(%rip),%rax
mov    (%rax),%edi
lea    0xe7c(%rip),%rsi
xor    %eax,%eax
call   1070 <fprintf@plt>
mov    0x2e4e(%rip),%rax
jmp    14b4 <main+0x354>
cmp    $0x2,%ebp
jne    149d <main+0x33d>
mov    0x8(%rbx),%rdi
lea    0xe80(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14a6 <main+0x346>
add    $0x8,%rbx
mov    (%rbx),%rdi
lea    0xe69(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14a6 <main+0x346>
mov    (%rbx),%rdi
lea    0xe50(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14a6 <main+0x346>
mov    (%rbx),%rdi
lea    0xe3b(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14bd <main+0x35d>
mov    (%rbx),%rdi
lea    0xe28(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14bd <main+0x35d>
mov    (%rbx),%rdi
lea    0xe0f(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14bd <main+0x35d>
mov    (%rbx),%rdi
lea    0xdfa(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14c4 <main+0x364>
mov    (%rbx),%rdi
lea    0xdea(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14c4 <main+0x364>
mov    (%rbx),%rdi
lea    0xdd1(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14c4 <main+0x364>
mov    (%rbx),%rdi
lea    0xdbc(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14cb <main+0x36b>
mov    (%rbx),%rdi
lea    0xdac(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14cb <main+0x36b>
mov    (%rbx),%rdi
lea    0xd93(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14cb <main+0x36b>
mov    (%rbx),%rdi
lea    0xd7e(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14d2 <main+0x372>
mov    (%rbx),%rdi
lea    0xd6d(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14d2 <main+0x372>
mov    (%rbx),%rdi
lea    0xd54(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14d2 <main+0x372>
mov    (%rbx),%rdi
lea    0xd3f(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14d9 <main+0x379>
mov    (%rbx),%rdi
lea    0xd2c(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14d9 <main+0x379>
mov    (%rbx),%rdi
lea    0xd13(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14d9 <main+0x379>
mov    (%rbx),%rdi
lea    0xcfe(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14e0 <main+0x380>
mov    (%rbx),%rdi
lea    0xcec(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14e0 <main+0x380>
mov    (%rbx),%rdi
lea    0xcd3(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14e0 <main+0x380>
mov    (%rbx),%rdi
lea    0xcbe(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14e7 <main+0x387>
mov    (%rbx),%rdi
lea    0xcae(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14e7 <main+0x387>
mov    (%rbx),%rdi
lea    0xc95(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14e7 <main+0x387>
mov    (%rbx),%rdi
lea    0xc80(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14ee <main+0x38e>
mov    (%rbx),%rdi
lea    0xc6f(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14ee <main+0x38e>
mov    (%rbx),%rdi
lea    0xc56(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14ee <main+0x38e>
mov    (%rbx),%rdi
lea    0xc41(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     149d <main+0x33d>
mov    (%rbx),%rdi
lea    0xc30(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     149d <main+0x33d>
mov    (%rbx),%rdi
lea    0xc23(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14f5 <main+0x395>
mov    (%rbx),%rdi
lea    0xc0e(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14f5 <main+0x395>
mov    0x2b50(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%rdx
lea    0xbfa(%rip),%rsi
xor    %eax,%eax
call   1070 <fprintf@plt>
jmp    14ad <main+0x34d>
xor    %eax,%eax
call   1080 <help@plt>
jmp    14ad <main+0x34d>
xor    %edi,%edi
call   1030 <changeColor@plt>
mov    0x2b1c(%rip),%rax
mov    (%rax),%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret
mov    $0x1,%edi
jmp    14a8 <main+0x348>
mov    $0x2,%edi
jmp    14a8 <main+0x348>
mov    $0x3,%edi
jmp    14a8 <main+0x348>
mov    $0x4,%edi
jmp    14a8 <main+0x348>
mov    $0x5,%edi
jmp    14a8 <main+0x348>
mov    $0x6,%edi
jmp    14a8 <main+0x348>
mov    $0x7,%edi
jmp    14a8 <main+0x348>
mov    $0x8,%edi
jmp    14a8 <main+0x348>
xor    %eax,%eax
call   1040 <listColors@plt>
jmp    14ad <main+0x34d>

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

LLVM IR (-O2):
@stdout = global i32 0
@.str = [43 x i8] c"You must be root to execute this program.\0A\00"
@EXIT_FAILURE = global i32 0
@.str.1 = [4 x i8] c"off\00"
@.str.2 = [2 x i8] c"0\00"
@.str.3 = [3 x i8] c"00\00"
@.str.4 = [4 x i8] c"red\00"
@.str.5 = [2 x i8] c"1\00"
@.str.6 = [3 x i8] c"01\00"
@.str.7 = [7 x i8] c"orange\00"
@.str.8 = [2 x i8] c"2\00"
@.str.9 = [3 x i8] c"02\00"
@.str.10 = [7 x i8] c"yellow\00"
@.str.11 = [2 x i8] c"3\00"
@.str.12 = [3 x i8] c"03\00"
@.str.13 = [6 x i8] c"green\00"
@.str.14 = [2 x i8] c"4\00"
@.str.15 = [3 x i8] c"04\00"
@.str.16 = [4 x i8] c"sky\00"
@.str.17 = [2 x i8] c"5\00"
@.str.18 = [3 x i8] c"05\00"
@.str.19 = [5 x i8] c"blue\00"
@.str.20 = [2 x i8] c"6\00"
@.str.21 = [3 x i8] c"06\00"
@.str.22 = [7 x i8] c"purple\00"
@.str.23 = [2 x i8] c"7\00"
@.str.24 = [3 x i8] c"07\00"
@.str.25 = [6 x i8] c"white\00"
@.str.26 = [2 x i8] c"8\00"
@.str.27 = [3 x i8] c"08\00"
@.str.28 = [3 x i8] c"-h\00"
@.str.29 = [7 x i8] c"--help\00"
@.str.30 = [3 x i8] c"-c\00"
@.str.31 = [9 x i8] c"--colors\00"
@.str.32 = [62 x i8] c"%s is an invalid operand for this program. Type -h for help.\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = tail call i64 (...) @getuid()
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = load i32, i32* @stdout
%7 = tail call i32 (i32, i8*, ...) @fprintf(i32 %6, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0))
br label %163
8: ; preds = %2
%9 = icmp eq i32 %0, 2
br i1 %9, label %12, label %10
10: ; preds = %8
%11 = tail call i32 (...) @help()
br label %163
12: ; preds = %8
%13 = getelementptr inbounds i8*, i8** %1, i64 1
%14 = load i8*, i8** %13
%15 = tail call i64 @strcmp(i8* %14, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%16 = icmp eq i64 %15, 0
br i1 %16, label %25, label %17
17: ; preds = %12
%18 = load i8*, i8** %13
%19 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%20 = icmp eq i64 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %17
%22 = load i8*, i8** %13
%23 = tail call i64 @strcmp(i8* %22, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %21, %17, %12
%26 = tail call i32 @changeColor(i32 0)
br label %163
27: ; preds = %21
%28 = load i8*, i8** %13
%29 = tail call i64 @strcmp(i8* %28, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
%30 = icmp eq i64 %29, 0
br i1 %30, label %39, label %31
31: ; preds = %27
%32 = load i8*, i8** %13
%33 = tail call i64 @strcmp(i8* %32, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%34 = icmp eq i64 %33, 0
br i1 %34, label %39, label %35
35: ; preds = %31
%36 = load i8*, i8** %13
%37 = tail call i64 @strcmp(i8* %36, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %35, %31, %27
%40 = tail call i32 @changeColor(i32 1)
br label %163
41: ; preds = %35
%42 = load i8*, i8** %13
%43 = tail call i64 @strcmp(i8* %42, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%44 = icmp eq i64 %43, 0
br i1 %44, label %53, label %45
45: ; preds = %41
%46 = load i8*, i8** %13
%47 = tail call i64 @strcmp(i8* %46, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
%48 = icmp eq i64 %47, 0
br i1 %48, label %53, label %49
49: ; preds = %45
%50 = load i8*, i8** %13
%51 = tail call i64 @strcmp(i8* %50, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %49, %45, %41
%54 = tail call i32 @changeColor(i32 2)
br label %163
55: ; preds = %49
%56 = load i8*, i8** %13
%57 = tail call i64 @strcmp(i8* %56, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0))
%58 = icmp eq i64 %57, 0
br i1 %58, label %67, label %59
59: ; preds = %55
%60 = load i8*, i8** %13
%61 = tail call i64 @strcmp(i8* %60, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
%62 = icmp eq i64 %61, 0
br i1 %62, label %67, label %63
63: ; preds = %59
%64 = load i8*, i8** %13
%65 = tail 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 %69
67: ; preds = %63, %59, %55
%68 = tail call i32 @changeColor(i32 3)
br label %163
69: ; preds = %63
%70 = load i8*, i8** %13
%71 = tail call i64 @strcmp(i8* %70, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.13, i64 0, i64 0))
%72 = icmp eq i64 %71, 0
br i1 %72, label %81, label %73
73: ; preds = %69
%74 = load i8*, i8** %13
%75 = tail call i64 @strcmp(i8* %74, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
%76 = icmp eq i64 %75, 0
br i1 %76, label %81, label %77
77: ; preds = %73
%78 = load i8*, i8** %13
%79 = tail call i64 @strcmp(i8* %78, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.15, i64 0, i64 0))
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %83
81: ; preds = %77, %73, %69
%82 = tail call i32 @changeColor(i32 4)
br label %163
83: ; preds = %77
%84 = load i8*, i8** %13
%85 = tail 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 %95, label %87
87: ; preds = %83
%88 = load i8*, i8** %13
%89 = tail call i64 @strcmp(i8* %88, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.17, i64 0, i64 0))
%90 = icmp eq i64 %89, 0
br i1 %90, label %95, label %91
91: ; preds = %87
%92 = load i8*, i8** %13
%93 = tail call i64 @strcmp(i8* %92, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0))
%94 = icmp eq i64 %93, 0
br i1 %94, label %95, label %97
95: ; preds = %91, %87, %83
%96 = tail call i32 @changeColor(i32 5)
br label %163
97: ; preds = %91
%98 = load i8*, i8** %13
%99 = tail call i64 @strcmp(i8* %98, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0))
%100 = icmp eq i64 %99, 0
br i1 %100, label %109, label %101
101: ; preds = %97
%102 = load i8*, i8** %13
%103 = tail call i64 @strcmp(i8* %102, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.20, i64 0, i64 0))
%104 = icmp eq i64 %103, 0
br i1 %104, label %109, label %105
105: ; preds = %101
%106 = load i8*, i8** %13
%107 = tail call i64 @strcmp(i8* %106, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0))
%108 = icmp eq i64 %107, 0
br i1 %108, label %109, label %111
109: ; preds = %105, %101, %97
%110 = tail call i32 @changeColor(i32 6)
br label %163
111: ; preds = %105
%112 = load i8*, i8** %13
%113 = tail call i64 @strcmp(i8* %112, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.22, i64 0, i64 0))
%114 = icmp eq i64 %113, 0
br i1 %114, label %123, label %115
115: ; preds = %111
%116 = load i8*, i8** %13
%117 = tail call i64 @strcmp(i8* %116, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.23, i64 0, i64 0))
%118 = icmp eq i64 %117, 0
br i1 %118, label %123, label %119
119: ; preds = %115
%120 = load i8*, i8** %13
%121 = tail call i64 @strcmp(i8* %120, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.24, i64 0, i64 0))
%122 = icmp eq i64 %121, 0
br i1 %122, label %123, label %125
123: ; preds = %119, %115, %111
%124 = tail call i32 @changeColor(i32 7)
br label %163
125: ; preds = %119
%126 = load i8*, i8** %13
%127 = tail call i64 @strcmp(i8* %126, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0))
%128 = icmp eq i64 %127, 0
br i1 %128, label %137, label %129
129: ; preds = %125
%130 = load i8*, i8** %13
%131 = tail call i64 @strcmp(i8* %130, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.26, i64 0, i64 0))
%132 = icmp eq i64 %131, 0
br i1 %132, label %137, label %133
133: ; preds = %129
%134 = load i8*, i8** %13
%135 = tail call i64 @strcmp(i8* %134, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.27, i64 0, i64 0))
%136 = icmp eq i64 %135, 0
br i1 %136, label %137, label %139
137: ; preds = %133, %129, %125
%138 = tail call i32 @changeColor(i32 8)
br label %163
139: ; preds = %133
%140 = load i8*, i8** %13
%141 = tail call i64 @strcmp(i8* %140, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.28, i64 0, i64 0))
%142 = icmp eq i64 %141, 0
br i1 %142, label %147, label %143
143: ; preds = %139
%144 = load i8*, i8** %13
%145 = tail call i64 @strcmp(i8* %144, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.29, i64 0, i64 0))
%146 = icmp eq i64 %145, 0
br i1 %146, label %147, label %149
147: ; preds = %143, %139
%148 = tail call i32 (...) @help()
br label %163
149: ; preds = %143
%150 = load i8*, i8** %13
%151 = tail call i64 @strcmp(i8* %150, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.30, i64 0, i64 0))
%152 = icmp eq i64 %151, 0
br i1 %152, label %157, label %153
153: ; preds = %149
%154 = load i8*, i8** %13
%155 = tail call i64 @strcmp(i8* %154, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.31, i64 0, i64 0))
%156 = icmp eq i64 %155, 0
br i1 %156, label %157, label %159
157: ; preds = %153, %149
%158 = tail call i32 (...) @listColors()
br label %163
159: ; preds = %153
%160 = load i32, i32* @stdout
%161 = load i8*, i8** %13
%162 = tail call i32 (i32, i8*, ...) @fprintf(i32 %160, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.32, i64 0, i64 0), i8* %161)
br label %163
163: ; preds = %10, %39, %67, %95, %123, %147, %159, %157, %137, %109, %81, %53, %25, %5
%164 = phi i32* [ @EXIT_FAILURE, %5 ], [ @EXIT_SUCCESS, %25 ], [ @EXIT_SUCCESS, %53 ], [ @EXIT_SUCCESS, %81 ], [ @EXIT_SUCCESS, %109 ], [ @EXIT_SUCCESS, %137 ], [ @EXIT_SUCCESS, %157 ], [ @EXIT_SUCCESS, %159 ], [ @EXIT_SUCCESS, %147 ], [ @EXIT_SUCCESS, %123 ], [ @EXIT_SUCCESS, %95 ], [ @EXIT_SUCCESS, %67 ], [ @EXIT_SUCCESS, %39 ], [ @EXIT_SUCCESS, %10 ]
%165 = load i32, i32* %164
ret i32 %165
}