#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*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stdout;
int listColors() {
  fprintf(stdout, "boardSwitch/switchBoard v0.1                                "
                  "                    \n");
  fprintf(stdout, "Usage: boardSwitch <color>                                  "
                  "                    \n");
  fprintf(stdout, "                                                            "
                  "                    \n");
  fprintf(stdout, "Usable colors:                                              "
                  "                    \n");
  fprintf(stdout, "   off     0 or 00                                          "
                  "                    \n");
  fprintf(stdout, "   red     1 or 01                                          "
                  "                    \n");
  fprintf(stdout, "   orange  2 or 02                                          "
                  "                    \n");
  fprintf(stdout, "   yellow  3 or 03                                          "
                  "                    \n");
  fprintf(stdout, "   green   4 or 04                                          "
                  "                    \n");
  fprintf(stdout, "   sky     5 or 05                                          "
                  "                    \n");
  fprintf(stdout, "   blue    6 or 06                                          "
                  "                    \n");
  fprintf(stdout, "   purple  7 or 07                                          "
                  "                    \n");
  fprintf(stdout, "   white   8 or 08                                          "
                  "                    \n");
  fprintf(stdout, "                                                            "
                  "                    \n");
  fprintf(stdout, "Note:                                                       "
                  "                    \n");
  fprintf(stdout, "   Colors can also be chosen by their English names.        "
                  "                    \n");
  fprintf(stdout, "   For example, 8 can be typed in as \"boardSwitch white\". "
                  "                    \n");
  fprintf(stdout, "                                                            "
                  "                    \n");
}


x86 assembly (clang, -O0):
<listColors>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    0x2ec1(%rip),%rax
mov    (%rax),%edi
lea    0xed8(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2eac(%rip),%rax
mov    (%rax),%edi
lea    0xf15(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e97(%rip),%rax
mov    (%rax),%edi
lea    0xf52(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e82(%rip),%rax
mov    (%rax),%edi
lea    0xf8f(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e6d(%rip),%rax
mov    (%rax),%edi
lea    0xfcc(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e58(%rip),%rax
mov    (%rax),%edi
lea    0x1009(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e43(%rip),%rax
mov    (%rax),%edi
lea    0x1046(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e2e(%rip),%rax
mov    (%rax),%edi
lea    0x1083(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e19(%rip),%rax
mov    (%rax),%edi
lea    0x10c0(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e04(%rip),%rax
mov    (%rax),%edi
lea    0x10fd(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2def(%rip),%rax
mov    (%rax),%edi
lea    0x113a(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2dda(%rip),%rax
mov    (%rax),%edi
lea    0x1177(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2dc5(%rip),%rax
mov    (%rax),%edi
lea    0x11b4(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2db0(%rip),%rax
mov    (%rax),%edi
lea    0xe6b(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d9b(%rip),%rax
mov    (%rax),%edi
lea    0x11dc(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d86(%rip),%rax
mov    (%rax),%edi
lea    0x1219(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d71(%rip),%rax
mov    (%rax),%edi
lea    0x1256(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2d5c(%rip),%rax
mov    (%rax),%edi
lea    0xe17(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<listColors>:
push   %r14
push   %rbx
push   %rax
mov    0x2ec5(%rip),%rbx
mov    (%rbx),%edi
lea    0xedc(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf20(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf64(%rip),%r14
mov    %r14,%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfa5(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfe9(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x102d(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1071(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10b5(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10f9(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x113d(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1181(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x11c5(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1209(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
mov    %r14,%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1243(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1287(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x12cb(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
mov    %r14,%rsi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stdout = global i32 0
@.str = [82 x i8] c"boardSwitch/switchBoard v0.1 \0A\00"
@.str.1 = [82 x i8] c"Usage: boardSwitch <color> \0A\00"
@.str.2 = [82 x i8] c" \0A\00"
@.str.3 = [82 x i8] c"Usable colors: \0A\00"
@.str.4 = [82 x i8] c" off 0 or 00 \0A\00"
@.str.5 = [82 x i8] c" red 1 or 01 \0A\00"
@.str.6 = [82 x i8] c" orange 2 or 02 \0A\00"
@.str.7 = [82 x i8] c" yellow 3 or 03 \0A\00"
@.str.8 = [82 x i8] c" green 4 or 04 \0A\00"
@.str.9 = [82 x i8] c" sky 5 or 05 \0A\00"
@.str.10 = [82 x i8] c" blue 6 or 06 \0A\00"
@.str.11 = [82 x i8] c" purple 7 or 07 \0A\00"
@.str.12 = [82 x i8] c" white 8 or 08 \0A\00"
@.str.13 = [82 x i8] c"Note: \0A\00"
@.str.14 = [82 x i8] c" Colors can also be chosen by their English names. \0A\00"
@.str.15 = [80 x i8] c" For example, 8 can be typed in as \22boardSwitch white\22. \0A\00"
define i32 @listColors() {
%1 = alloca i32
%2 = load i32, i32* @stdout
%3 = call i32 @fprintf(i32 %2, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str, i64 0, i64 0))
%4 = load i32, i32* @stdout
%5 = call i32 @fprintf(i32 %4, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.1, i64 0, i64 0))
%6 = load i32, i32* @stdout
%7 = call i32 @fprintf(i32 %6, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.2, i64 0, i64 0))
%8 = load i32, i32* @stdout
%9 = call i32 @fprintf(i32 %8, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.3, i64 0, i64 0))
%10 = load i32, i32* @stdout
%11 = call i32 @fprintf(i32 %10, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.4, i64 0, i64 0))
%12 = load i32, i32* @stdout
%13 = call i32 @fprintf(i32 %12, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.5, i64 0, i64 0))
%14 = load i32, i32* @stdout
%15 = call i32 @fprintf(i32 %14, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.6, i64 0, i64 0))
%16 = load i32, i32* @stdout
%17 = call i32 @fprintf(i32 %16, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.7, i64 0, i64 0))
%18 = load i32, i32* @stdout
%19 = call i32 @fprintf(i32 %18, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.8, i64 0, i64 0))
%20 = load i32, i32* @stdout
%21 = call i32 @fprintf(i32 %20, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.9, i64 0, i64 0))
%22 = load i32, i32* @stdout
%23 = call i32 @fprintf(i32 %22, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.10, i64 0, i64 0))
%24 = load i32, i32* @stdout
%25 = call i32 @fprintf(i32 %24, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.11, i64 0, i64 0))
%26 = load i32, i32* @stdout
%27 = call i32 @fprintf(i32 %26, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.12, i64 0, i64 0))
%28 = load i32, i32* @stdout
%29 = call i32 @fprintf(i32 %28, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.2, i64 0, i64 0))
%30 = load i32, i32* @stdout
%31 = call i32 @fprintf(i32 %30, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.13, i64 0, i64 0))
%32 = load i32, i32* @stdout
%33 = call i32 @fprintf(i32 %32, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.14, i64 0, i64 0))
%34 = load i32, i32* @stdout
%35 = call i32 @fprintf(i32 %34, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.15, i64 0, i64 0))
%36 = load i32, i32* @stdout
%37 = call i32 @fprintf(i32 %36, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.2, i64 0, i64 0))
%38 = load i32, i32* %1
ret i32 %38
}

LLVM IR (-O2):
@stdout = global i32 0
@.str = [82 x i8] c"boardSwitch/switchBoard v0.1 \0A\00"
@.str.1 = [82 x i8] c"Usage: boardSwitch <color> \0A\00"
@.str.2 = [82 x i8] c" \0A\00"
@.str.3 = [82 x i8] c"Usable colors: \0A\00"
@.str.4 = [82 x i8] c" off 0 or 00 \0A\00"
@.str.5 = [82 x i8] c" red 1 or 01 \0A\00"
@.str.6 = [82 x i8] c" orange 2 or 02 \0A\00"
@.str.7 = [82 x i8] c" yellow 3 or 03 \0A\00"
@.str.8 = [82 x i8] c" green 4 or 04 \0A\00"
@.str.9 = [82 x i8] c" sky 5 or 05 \0A\00"
@.str.10 = [82 x i8] c" blue 6 or 06 \0A\00"
@.str.11 = [82 x i8] c" purple 7 or 07 \0A\00"
@.str.12 = [82 x i8] c" white 8 or 08 \0A\00"
@.str.13 = [82 x i8] c"Note: \0A\00"
@.str.14 = [82 x i8] c" Colors can also be chosen by their English names. \0A\00"
@.str.15 = [80 x i8] c" For example, 8 can be typed in as \22boardSwitch white\22. \0A\00"
define i32 @listColors() {
%1 = load i32, i32* @stdout
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stdout
%4 = tail call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stdout
%6 = tail call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.2, i64 0, i64 0))
%7 = load i32, i32* @stdout
%8 = tail call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stdout
%10 = tail call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.4, i64 0, i64 0))
%11 = load i32, i32* @stdout
%12 = tail call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.5, i64 0, i64 0))
%13 = load i32, i32* @stdout
%14 = tail call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.6, i64 0, i64 0))
%15 = load i32, i32* @stdout
%16 = tail call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.7, i64 0, i64 0))
%17 = load i32, i32* @stdout
%18 = tail call i32 @fprintf(i32 %17, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.8, i64 0, i64 0))
%19 = load i32, i32* @stdout
%20 = tail call i32 @fprintf(i32 %19, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.9, i64 0, i64 0))
%21 = load i32, i32* @stdout
%22 = tail call i32 @fprintf(i32 %21, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.10, i64 0, i64 0))
%23 = load i32, i32* @stdout
%24 = tail call i32 @fprintf(i32 %23, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.11, i64 0, i64 0))
%25 = load i32, i32* @stdout
%26 = tail call i32 @fprintf(i32 %25, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.12, i64 0, i64 0))
%27 = load i32, i32* @stdout
%28 = tail call i32 @fprintf(i32 %27, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.2, i64 0, i64 0))
%29 = load i32, i32* @stdout
%30 = tail call i32 @fprintf(i32 %29, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.13, i64 0, i64 0))
%31 = load i32, i32* @stdout
%32 = tail call i32 @fprintf(i32 %31, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.14, i64 0, i64 0))
%33 = load i32, i32* @stdout
%34 = tail call i32 @fprintf(i32 %33, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.15, i64 0, i64 0))
%35 = load i32, i32* @stdout
%36 = tail call i32 @fprintf(i32 %35, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.2, i64 0, i64 0))
ret i32 undef
}