#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*/ puts(char *);
void print_usage() {
  puts("Usage: netlight --unit N --color RRGGBB [other options] "
       "dns_name_or_address");
  puts("\t-u --unit=N (unit number; first unit is 0)");
  puts("\t-c --color=RRGGBB (the hex color code to set on the light unit)");
  puts("Other options:");
  puts("\t-s --sound=none|silence|up|down|short|long|chirp|rise|siren|xmas");
  puts("\t-r --sound-repeat=N (number of times to repeat the sound)");
  puts("\t-T --future-timeout=N (number of seconds until the future. Required "
       "to specify any of the following)");
  puts("\t-S "
       "--future-sound=none|silence|up|down|short|long|chirp|rise|siren|xmas");
  puts("\t-R --future-sound-repeat=N (as for sound-repeat)");
  puts("\t-C --future-color=RRGGBB");
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <puts@plt>
lea    0xf25(%rip),%rdi
call   1030 <puts@plt>
lea    0xf45(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7d(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb3(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe2(%rip),%rdi
call   1030 <puts@plt>
lea    0x103c(%rip),%rdi
call   1030 <puts@plt>
lea    0x1079(%rip),%rdi
call   1030 <puts@plt>
lea    0x109f(%rip),%rdi
call   1030 <puts@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf28(%rip),%rdi
call   1030 <puts@plt>
lea    0xf48(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf80(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb6(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe5(%rip),%rdi
call   1030 <puts@plt>
lea    0x103f(%rip),%rdi
call   1030 <puts@plt>
lea    0x107c(%rip),%rdi
call   1030 <puts@plt>
lea    0x10a2(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [76 x i8] c"Usage: netlight --unit N --color RRGGBB [other options] dns_name_or_address\00"
@.str.1 = [44 x i8] c"\09-u --unit=N (unit number; first unit is 0)\00"
@.str.2 = [65 x i8] c"\09-c --color=RRGGBB (the hex color code to set on the light unit)\00"
@.str.3 = [15 x i8] c"Other options:\00"
@.str.4 = [66 x i8] c"\09-s --sound=none|silence|up|down|short|long|chirp|rise|siren|xmas\00"
@.str.5 = [59 x i8] c"\09-r --sound-repeat=N (number of times to repeat the sound)\00"
@.str.6 = [102 x i8] c"\09-T --future-timeout=N (number of seconds until the future. Required to specify any of the following)\00"
@.str.7 = [73 x i8] c"\09-S --future-sound=none|silence|up|down|short|long|chirp|rise|siren|xmas\00"
@.str.8 = [50 x i8] c"\09-R --future-sound-repeat=N (as for sound-repeat)\00"
@.str.9 = [26 x i8] c"\09-C --future-color=RRGGBB\00"
define void @print_usage() {
%1 = call i32 @puts(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @puts(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @puts(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @puts(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @puts(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @puts(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @puts(i8* getelementptr inbounds ([102 x i8], [102 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @puts(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @puts(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @puts(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.9, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [76 x i8] c"Usage: netlight --unit N --color RRGGBB [other options] dns_name_or_address\00"
@.str.1 = [44 x i8] c"\09-u --unit=N (unit number; first unit is 0)\00"
@.str.2 = [65 x i8] c"\09-c --color=RRGGBB (the hex color code to set on the light unit)\00"
@.str.3 = [15 x i8] c"Other options:\00"
@.str.4 = [66 x i8] c"\09-s --sound=none|silence|up|down|short|long|chirp|rise|siren|xmas\00"
@.str.5 = [59 x i8] c"\09-r --sound-repeat=N (number of times to repeat the sound)\00"
@.str.6 = [102 x i8] c"\09-T --future-timeout=N (number of seconds until the future. Required to specify any of the following)\00"
@.str.7 = [73 x i8] c"\09-S --future-sound=none|silence|up|down|short|long|chirp|rise|siren|xmas\00"
@.str.8 = [50 x i8] c"\09-R --future-sound-repeat=N (as for sound-repeat)\00"
@.str.9 = [26 x i8] c"\09-C --future-color=RRGGBB\00"
define void @print_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([102 x i8], [102 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.9, i64 0, i64 0))
ret void
}