#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*/ printf(char *);
void light_printHelp() {
  printf("Usage: light <options> <value>\n");
  printf("<value> has to be either integral(raw mode) or decimal(percent mode) "
         "depending on the specified value mode.\n");
  printf("<options> can be any of the following:\n\n");
  printf("Operations (can not be used in conjunction):\n");
  printf("  -H -h:\tPrints this help and exits\n");
  printf("  -V:\t\tPrints version info and exits\n");
  printf("  -G:\t\tGet value (default)\n");
  printf("  -S:\t\tSet value\n");
  printf("  -A:\t\tAdd value\n");
  printf("  -U:\t\tSubtract value\n");
  printf("  -L:\t\tList controllers\n");
  printf("  -I:\t\tRestore brightness\n");
  printf("  -O:\t\tSave brightness\n\n");
  printf("Targets (can not be used in conjunction):\n");
  printf("  -b:\t\tBrightness (default)\n  \t\tUsed with [GSAU]\n\n");
  printf("  -m:\t\tMaximum brightness\n  \t\tUsed with [G]\n\n");
  printf("  -c:\t\tMinimum cap\n  \t\tUsed with [GS]\n");
  printf("  \t\tG returns null if no minimum cap is set.\n\n");
  printf("Controller selection (can not be used in conjunction):\n");
  printf("  -a:\t\tSelects controller automatically (default).\n");
  printf("  -s:\t\tSpecify controller to use. (needs argument)\n\n");
  printf("Value modes (can not be used in conjunction):\n");
  printf("  -p:\t\tInterpret <value> as, and output values in, percent. "
         "(default)\n");
  printf("  -r:\t\tInterpret <value> as, and output values in, raw mode.\n\n");
  printf("Other:\n");
  printf("  -v:\t\tSets the verbosity level, (needs argument).\n  \t\t0: Only "
         "outputs read values.\n  \t\t1: Read values, Errors.\n  \t\t2: Read "
         "values, Errors, Warnings.\n  \t\t3: Read values, Errors, Warnings, "
         "Notices.\n\n");
}


x86 assembly (clang, -O0):
<light_printHelp>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef9(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf77(%rip),%rdi
call   1030 <printf@plt>
lea    0xf99(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb2(%rip),%rdi
call   1030 <printf@plt>
lea    0xfcc(%rip),%rdi
call   1030 <printf@plt>
lea    0xfdc(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe2(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe8(%rip),%rdi
call   1030 <printf@plt>
lea    0xff3(%rip),%rdi
call   1030 <printf@plt>
lea    0x1000(%rip),%rdi
call   1030 <printf@plt>
lea    0x100f(%rip),%rdi
call   1030 <printf@plt>
lea    0x101c(%rip),%rdi
call   1030 <printf@plt>
lea    0x103b(%rip),%rdi
call   1030 <printf@plt>
lea    0x1062(%rip),%rdi
call   1030 <printf@plt>
lea    0x1084(%rip),%rdi
call   1030 <printf@plt>
lea    0x109f(%rip),%rdi
call   1030 <printf@plt>
lea    0x10c2(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ee(%rip),%rdi
call   1030 <printf@plt>
lea    0x1116(%rip),%rdi
call   1030 <printf@plt>
lea    0x113f(%rip),%rdi
call   1030 <printf@plt>
lea    0x1162(%rip),%rdi
call   1030 <printf@plt>
lea    0x119d(%rip),%rdi
call   1030 <printf@plt>
lea    0x11d0(%rip),%rdi
call   1030 <printf@plt>
lea    0x11cc(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<light_printHelp>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xefb(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf77(%rip),%rdi
call   1030 <puts@plt>
lea    0xf98(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb0(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc9(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd8(%rip),%rdi
call   1030 <puts@plt>
lea    0xfdd(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe2(%rip),%rdi
call   1030 <puts@plt>
lea    0xfec(%rip),%rdi
call   1030 <puts@plt>
lea    0xff8(%rip),%rdi
call   1030 <puts@plt>
lea    0x1006(%rip),%rdi
call   1030 <puts@plt>
lea    0x1012(%rip),%rdi
call   1030 <puts@plt>
lea    0x1030(%rip),%rdi
call   1030 <puts@plt>
lea    0x1056(%rip),%rdi
call   1030 <puts@plt>
lea    0x1077(%rip),%rdi
call   1030 <puts@plt>
lea    0x1091(%rip),%rdi
call   1030 <puts@plt>
lea    0x10b3(%rip),%rdi
call   1030 <puts@plt>
lea    0x10de(%rip),%rdi
call   1030 <puts@plt>
lea    0x1105(%rip),%rdi
call   1030 <puts@plt>
lea    0x112d(%rip),%rdi
call   1030 <puts@plt>
lea    0x114f(%rip),%rdi
call   1030 <puts@plt>
lea    0x1189(%rip),%rdi
call   1030 <puts@plt>
lea    0x11bb(%rip),%rdi
call   1030 <puts@plt>
lea    0x11b6(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [32 x i8] c"Usage: light <options> <value>\0A\00"
@.str.1 = [109 x i8] c"<value> has to be either integral(raw mode) or decimal(percent mode) depending on the specified value mode.\0A\00"
@.str.2 = [41 x i8] c"<options> can be any of the following:\0A\0A\00"
@.str.3 = [46 x i8] c"Operations (can not be used in conjunction):\0A\00"
@.str.4 = [37 x i8] c" -H -h:\09Prints this help and exits\0A\00"
@.str.5 = [38 x i8] c" -V:\09\09Prints version info and exits\0A\00"
@.str.6 = [28 x i8] c" -G:\09\09Get value (default)\0A\00"
@.str.7 = [18 x i8] c" -S:\09\09Set value\0A\00"
@.str.8 = [18 x i8] c" -A:\09\09Add value\0A\00"
@.str.9 = [23 x i8] c" -U:\09\09Subtract value\0A\00"
@.str.10 = [25 x i8] c" -L:\09\09List controllers\0A\00"
@.str.11 = [27 x i8] c" -I:\09\09Restore brightness\0A\00"
@.str.12 = [25 x i8] c" -O:\09\09Save brightness\0A\0A\00"
@.str.13 = [43 x i8] c"Targets (can not be used in conjunction):\0A\00"
@.str.14 = [51 x i8] c" -b:\09\09Brightness (default)\0A \09\09Used with [GSAU]\0A\0A\00"
@.str.15 = [46 x i8] c" -m:\09\09Maximum brightness\0A \09\09Used with [G]\0A\0A\00"
@.str.16 = [39 x i8] c" -c:\09\09Minimum cap\0A \09\09Used with [GS]\0A\00"
@.str.17 = [47 x i8] c" \09\09G returns null if no minimum cap is set.\0A\0A\00"
@.str.18 = [56 x i8] c"Controller selection (can not be used in conjunction):\0A\00"
@.str.19 = [52 x i8] c" -a:\09\09Selects controller automatically (default).\0A\00"
@.str.20 = [53 x i8] c" -s:\09\09Specify controller to use. (needs argument)\0A\0A\00"
@.str.21 = [47 x i8] c"Value modes (can not be used in conjunction):\0A\00"
@.str.22 = [71 x i8] c" -p:\09\09Interpret <value> as, and output values in, percent. (default)\0A\00"
@.str.23 = [63 x i8] c" -r:\09\09Interpret <value> as, and output values in, raw mode.\0A\0A\00"
@.str.24 = [8 x i8] c"Other:\0A\00"
@.str.25 = [199 x i8] c" -v:\09\09Sets the verbosity level, (needs argument).\0A \09\090: Only outputs read values.\0A \09\091: Read values, Errors.\0A \09\092: Read values, Errors, Warnings.\0A \09\093: Read values, Errors, Warnings, Notices.\0A\0A\00"
define void @light_printHelp() {
%1 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([109 x i8], [109 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.19, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.20, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.21, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.22, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.23, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.24, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([199 x i8], [199 x i8]* @.str.25, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [31 x i8] c"Usage: light <options> <value>\00"
@str.26 = [108 x i8] c"<value> has to be either integral(raw mode) or decimal(percent mode) depending on the specified value mode.\00"
@str.27 = [40 x i8] c"<options> can be any of the following:\0A\00"
@str.28 = [45 x i8] c"Operations (can not be used in conjunction):\00"
@str.29 = [36 x i8] c" -H -h:\09Prints this help and exits\00"
@str.30 = [37 x i8] c" -V:\09\09Prints version info and exits\00"
@str.31 = [27 x i8] c" -G:\09\09Get value (default)\00"
@str.32 = [17 x i8] c" -S:\09\09Set value\00"
@str.33 = [17 x i8] c" -A:\09\09Add value\00"
@str.34 = [22 x i8] c" -U:\09\09Subtract value\00"
@str.35 = [24 x i8] c" -L:\09\09List controllers\00"
@str.36 = [26 x i8] c" -I:\09\09Restore brightness\00"
@str.37 = [24 x i8] c" -O:\09\09Save brightness\0A\00"
@str.38 = [42 x i8] c"Targets (can not be used in conjunction):\00"
@str.39 = [50 x i8] c" -b:\09\09Brightness (default)\0A \09\09Used with [GSAU]\0A\00"
@str.40 = [45 x i8] c" -m:\09\09Maximum brightness\0A \09\09Used with [G]\0A\00"
@str.41 = [38 x i8] c" -c:\09\09Minimum cap\0A \09\09Used with [GS]\00"
@str.42 = [46 x i8] c" \09\09G returns null if no minimum cap is set.\0A\00"
@str.43 = [55 x i8] c"Controller selection (can not be used in conjunction):\00"
@str.44 = [51 x i8] c" -a:\09\09Selects controller automatically (default).\00"
@str.45 = [52 x i8] c" -s:\09\09Specify controller to use. (needs argument)\0A\00"
@str.46 = [46 x i8] c"Value modes (can not be used in conjunction):\00"
@str.47 = [70 x i8] c" -p:\09\09Interpret <value> as, and output values in, percent. (default)\00"
@str.48 = [62 x i8] c" -r:\09\09Interpret <value> as, and output values in, raw mode.\0A\00"
@str.49 = [7 x i8] c"Other:\00"
@str.50 = [198 x i8] c" -v:\09\09Sets the verbosity level, (needs argument).\0A \09\090: Only outputs read values.\0A \09\091: Read values, Errors.\0A \09\092: Read values, Errors, Warnings.\0A \09\093: Read values, Errors, Warnings, Notices.\0A\00"
define void @light_printHelp() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([108 x i8], [108 x i8]* @str.26, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.27, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.28, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.29, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.30, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.31, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.32, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.33, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.34, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.35, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.36, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.37, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.38, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.39, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.40, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.41, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.42, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.43, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.44, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.45, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.46, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.47, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.48, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.49, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([198 x i8], [198 x i8]* @str.50, i64 0, i64 0))
ret void
}