#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 cmdhelp() {
  printf("\ngpSP2X v0.9003 Beta by Exophase/ZodTTD\r\n");
  printf("cpu_speed by god_at_hell\r\n");
  printf("Usage: cpu_speed.gpe [option1] [value1] [option2]...\r\n");
  printf("Options:\r\n");
  printf(" RAM-Options\r\n");
  printf(" -----------\r\n");
  printf(" --cas 		CAS Latency. Delay in clock cycles between the "
         "registration \n\t\tof a READ command and the first bit of output "
         "data. \n\t\tValid values are 2 and 3 cycles.\r\n");
  printf(" --trc 		ACTIVE to ACTIVE /AUTOREFRESH command delay. "
         "Defines ACTIVE \n\t\tto ACTIVE/auto refresh command period delay. "
         "\n\t\tValid values are from 1 to 16 cycles.\r\n");
  printf(" --tras 	ACTIVE to PRECHARGE delay. Defines the delay between "
         "the ACTIVE \n\t\tand PRECHARGE commands. \n\t\tValid values are from "
         "1 to 16 cycles.\r\n");
  printf(" --twr 		Write recovery time in cycles.\n\t\tValid "
         "values are from 1 to 16 cycles.\r\n");
  printf(" --tmrd 	LOAD MODE REGISTER command cycle time.\n\t\tValid "
         "values are from 1 to 16 cycles.\r\n");
  printf(" --trfc 	AUTO REFRESH command period in cycles.\n\t\tValid "
         "values are from 1 to 16 cycles.\r\n");
  printf(" --trp 		PRECHARGE command period in cycles.\n\t\tValid "
         "values are from 1 to 16 cycles.\r\n");
  printf(" --trcd 	RAS to CAS Delay in cycles.\n\t\tValid values are from "
         "1 to 16 cycles.\r\n");
  printf(" --refperd 	Refresh Period. Defines maximum time period between "
         "\n\t\tAUTOREFRESH commands.\n\t\tValid values are from 1 to 65535 "
         "(default ~ 250) cycles.\r\n");
  printf(" --ramdiv 	Divider for the Memory-Clock which is 1/2 of the "
         "CPU-Clock. \n\t\tValid values are from 1 to 8.\r\n");
  printf("\n CPU-Options\r\n");
  printf(" -----------\r\n");
  printf(" --cpuclk	Sets the CPU-Frequency in Mhz. \n\t\tValid values are "
         "from 33 to 340.\r\n");
  printf(" --cpudiv 	Divider for the CPU-Clock. \n\t\tValid values are from "
         "1 to 8.\r\n");
  printf("\n Display-Options\r\n");
  printf("----------------\r\n");
  printf(" --fpll		Sets clockgenerator to fpll (for firmware 1.0 "
         "- 1.0.1).\r\n");
  printf(
      " --upll		Sets clockgenerator to upll (for the rest).\r\n");
  printf(" --timing	Timing Prescaler to eliminate flickering. \n\t\tValid "
         "values are: -20 to 36 with fpll.\n\t\t\t\t  -6 to 10 with upll.\r\n");
  printf(" --gamma	Regulates the gamma. \n\t\tValid values are from "
         "0.0001 to 15.0000.\r\n");
  printf("\n Daemon-Mode \r\n");
  printf("----------------\r\n");
  printf("Usage: cpu_speed.gpe --daemon [option1] [value1] [option2]...\r\n");
  printf("Shutdown: cpu_speed.gpe --kill[-daemon]\r\n");
  printf("Options:\r\n");
  printf(" --min	Sets the minimum CPU-Frequency in Mhz. \n\t\tValid "
         "values are from 33 to 340.\r\n");
  printf(" --max	Sets the maximum CPU-Frequency in Mhz. \n\t\tValid "
         "values are from 33 to 340.\r\n");
  printf(" --start	Sets the CPU-Frequency in Mhz. \n\t\tValid values are "
         "from 33 to 340.\r\n");
  printf(" --step	Sets the CPU-Frequency step in Mhz. \n\t\tValid values "
         "are from 1 to 340.\r\n");
  printf(" --hotkey	Sets the hotkey. (Default: LR) \n\t\tValid values are "
         "a combination of LRXYZAB+-S/@ or ``None''\n\t\t (+- are volume, S is "
         "Start, / is Select, @ is Stick).\r\n");
  printf(" --incr	Sets the increment key. (Default: +) \n\t\tValid "
         "values are a combination of LRXYZAB+-S/@ or ``None''\n\t\t (+- are "
         "volume, S is Start, / is Select, @ is Stick).\r\n");
  printf(" --decr	Sets the decrement key. (Default: -) \n\t\tValid "
         "values are a combination of LRXYZAB+-S/@ or ``None''\n\t\t (+- are "
         "volume, S is Start, / is Select, @ is Stick).\r\n");
  printf(" --no-hotkey	Alias for --hotkey None.\r\n");
  printf(" --no-incr	Alias for --incr None.\r\n");
  printf(" --no-decr	Alias for --decr None.\r\n");
  printf(" --foreground	Do not switch to daemon mode. (Useful for "
         "debugging)\r\n");
  printf(" --background	Switch to daemon mode. (Default)\r\n");
  printf(" --display	Enable on screen display. COMING SOON!\r\n");
  printf(" --no-display	Disable on screen display.\r\n");
  printf("\nNOTE:\nThe old commandline-settings are working ... read more "
         "about this in the readme\n\n");
}


x86 assembly (clang, -O0):
<cmdhelp>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf03(%rip),%rdi
call   1030 <printf@plt>
lea    0xf12(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf42(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd8(%rip),%rdi
call   1030 <printf@plt>
lea    0x106c(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ef(%rip),%rdi
call   1030 <printf@plt>
lea    0x1135(%rip),%rdi
call   1030 <printf@plt>
lea    0x1183(%rip),%rdi
call   1030 <printf@plt>
lea    0x11d1(%rip),%rdi
call   1030 <printf@plt>
lea    0x121c(%rip),%rdi
call   1030 <printf@plt>
lea    0x125f(%rip),%rdi
call   1030 <printf@plt>
lea    0x12e9(%rip),%rdi
call   1030 <printf@plt>
lea    0x1347(%rip),%rdi
call   1030 <printf@plt>
lea    0xeaf(%rip),%rdi
call   1030 <printf@plt>
lea    0x133f(%rip),%rdi
call   1030 <printf@plt>
lea    0x1382(%rip),%rdi
call   1030 <printf@plt>
lea    0x13bf(%rip),%rdi
call   1030 <printf@plt>
lea    0x13c7(%rip),%rdi
call   1030 <printf@plt>
lea    0x13ce(%rip),%rdi
call   1030 <printf@plt>
lea    0x1405(%rip),%rdi
call   1030 <printf@plt>
lea    0x1430(%rip),%rdi
call   1030 <printf@plt>
lea    0x149e(%rip),%rdi
call   1030 <printf@plt>
lea    0x14de(%rip),%rdi
call   1030 <printf@plt>
lea    0x137f(%rip),%rdi
call   1030 <printf@plt>
lea    0x14d7(%rip),%rdi
call   1030 <printf@plt>
lea    0x150b(%rip),%rdi
call   1030 <printf@plt>
lea    0xdf9(%rip),%rdi
call   1030 <printf@plt>
lea    0x151d(%rip),%rdi
call   1030 <printf@plt>
lea    0x1565(%rip),%rdi
call   1030 <printf@plt>
lea    0x15ad(%rip),%rdi
call   1030 <printf@plt>
lea    0x15ef(%rip),%rdi
call   1030 <printf@plt>
lea    0x1634(%rip),%rdi
call   1030 <printf@plt>
lea    0x16ca(%rip),%rdi
call   1030 <printf@plt>
lea    0x1764(%rip),%rdi
call   1030 <printf@plt>
lea    0x17fe(%rip),%rdi
call   1030 <printf@plt>
lea    0x181a(%rip),%rdi
call   1030 <printf@plt>
lea    0x1832(%rip),%rdi
call   1030 <printf@plt>
lea    0x184a(%rip),%rdi
call   1030 <printf@plt>
lea    0x1883(%rip),%rdi
call   1030 <printf@plt>
lea    0x18a8(%rip),%rdi
call   1030 <printf@plt>
lea    0x18d0(%rip),%rdi
call   1030 <printf@plt>
lea    0x18ef(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<cmdhelp>:
push   %r14
push   %rbx
push   %rax
lea    0xee5(%rip),%rdi
call   1030 <puts@plt>
lea    0xf02(%rip),%rdi
call   1030 <puts@plt>
lea    0xf10(%rip),%rdi
call   1030 <puts@plt>
lea    0x1647(%rip),%r14
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0xf2b(%rip),%rdi
call   1030 <puts@plt>
lea    0x13af(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xf1e(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb3(%rip),%rdi
call   1030 <puts@plt>
lea    0x1046(%rip),%rdi
call   1030 <puts@plt>
lea    0x10c8(%rip),%rdi
call   1030 <puts@plt>
lea    0x110d(%rip),%rdi
call   1030 <puts@plt>
lea    0x115a(%rip),%rdi
call   1030 <puts@plt>
lea    0x11a7(%rip),%rdi
call   1030 <puts@plt>
lea    0x11f1(%rip),%rdi
call   1030 <puts@plt>
lea    0x1233(%rip),%rdi
call   1030 <puts@plt>
lea    0x12bc(%rip),%rdi
call   1030 <puts@plt>
lea    0x1319(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x1322(%rip),%rdi
call   1030 <puts@plt>
lea    0x1364(%rip),%rdi
call   1030 <puts@plt>
lea    0x13a0(%rip),%rdi
call   1030 <puts@plt>
lea    0x14f3(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x1398(%rip),%rdi
call   1030 <puts@plt>
lea    0x13ce(%rip),%rdi
call   1030 <puts@plt>
lea    0x13f8(%rip),%rdi
call   1030 <puts@plt>
lea    0x1465(%rip),%rdi
call   1030 <puts@plt>
lea    0x14a4(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x14b2(%rip),%rdi
call   1030 <puts@plt>
lea    0x14e5(%rip),%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0x1504(%rip),%rdi
call   1030 <puts@plt>
lea    0x154b(%rip),%rdi
call   1030 <puts@plt>
lea    0x1592(%rip),%rdi
call   1030 <puts@plt>
lea    0x15d3(%rip),%rdi
call   1030 <puts@plt>
lea    0x1617(%rip),%rdi
call   1030 <puts@plt>
lea    0x16ac(%rip),%rdi
call   1030 <puts@plt>
lea    0x1745(%rip),%rdi
call   1030 <puts@plt>
lea    0x17de(%rip),%rdi
call   1030 <puts@plt>
lea    0x17f9(%rip),%rdi
call   1030 <puts@plt>
lea    0x1810(%rip),%rdi
call   1030 <puts@plt>
lea    0x1827(%rip),%rdi
call   1030 <puts@plt>
lea    0x185f(%rip),%rdi
call   1030 <puts@plt>
lea    0x1883(%rip),%rdi
call   1030 <puts@plt>
lea    0x18aa(%rip),%rdi
call   1030 <puts@plt>
lea    0x18c8(%rip),%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [42 x i8] c"\0AgpSP2X v0.9003 Beta by Exophase/ZodTTD\0D\0A\00"
@.str.1 = [27 x i8] c"cpu_speed by god_at_hell\0D\0A\00"
@.str.2 = [55 x i8] c"Usage: cpu_speed.gpe [option1] [value1] [option2]...\0D\0A\00"
@.str.3 = [11 x i8] c"Options:\0D\0A\00"
@.str.4 = [15 x i8] c" RAM-Options\0D\0A\00"
@.str.5 = [15 x i8] c" -----------\0D\0A\00"
@.str.6 = [162 x i8] c" --cas \09\09CAS Latency. Delay in clock cycles between the registration \0A\09\09of a READ command and the first bit of output data. \0A\09\09Valid values are 2 and 3 cycles.\0D\0A\00"
@.str.7 = [160 x i8] c" --trc \09\09ACTIVE to ACTIVE /AUTOREFRESH command delay. Defines ACTIVE \0A\09\09to ACTIVE/auto refresh command period delay. \0A\09\09Valid values are from 1 to 16 cycles.\0D\0A\00"
@.str.8 = [143 x i8] c" --tras \09ACTIVE to PRECHARGE delay. Defines the delay between the ACTIVE \0A\09\09and PRECHARGE commands. \0A\09\09Valid values are from 1 to 16 cycles.\0D\0A\00"
@.str.9 = [82 x i8] c" --twr \09\09Write recovery time in cycles.\0A\09\09Valid values are from 1 to 16 cycles.\0D\0A\00"
@.str.10 = [90 x i8] c" --tmrd \09LOAD MODE REGISTER command cycle time.\0A\09\09Valid values are from 1 to 16 cycles.\0D\0A\00"
@.str.11 = [90 x i8] c" --trfc \09AUTO REFRESH command period in cycles.\0A\09\09Valid values are from 1 to 16 cycles.\0D\0A\00"
@.str.12 = [87 x i8] c" --trp \09\09PRECHARGE command period in cycles.\0A\09\09Valid values are from 1 to 16 cycles.\0D\0A\00"
@.str.13 = [79 x i8] c" --trcd \09RAS to CAS Delay in cycles.\0A\09\09Valid values are from 1 to 16 cycles.\0D\0A\00"
@.str.14 = [150 x i8] c" --refperd \09Refresh Period. Defines maximum time period between \0A\09\09AUTOREFRESH commands.\0A\09\09Valid values are from 1 to 65535 (default ~ 250) cycles.\0D\0A\00"
@.str.15 = [106 x i8] c" --ramdiv \09Divider for the Memory-Clock which is 1/2 of the CPU-Clock. \0A\09\09Valid values are from 1 to 8.\0D\0A\00"
@.str.16 = [16 x i8] c"\0A CPU-Options\0D\0A\00"
@.str.17 = [79 x i8] c" --cpuclk\09Sets the CPU-Frequency in Mhz. \0A\09\09Valid values are from 33 to 340.\0D\0A\00"
@.str.18 = [73 x i8] c" --cpudiv \09Divider for the CPU-Clock. \0A\09\09Valid values are from 1 to 8.\0D\0A\00"
@.str.19 = [20 x i8] c"\0A Display-Options\0D\0A\00"
@.str.20 = [19 x i8] c"----------------\0D\0A\00"
@.str.21 = [67 x i8] c" --fpll\09\09Sets clockgenerator to fpll (for firmware 1.0 - 1.0.1).\0D\0A\00"
@.str.22 = [55 x i8] c" --upll\09\09Sets clockgenerator to upll (for the rest).\0D\0A\00"
@.str.23 = [122 x i8] c" --timing\09Timing Prescaler to eliminate flickering. \0A\09\09Valid values are: -20 to 36 with fpll.\0A\09\09\09\09 -6 to 10 with upll.\0D\0A\00"
@.str.24 = [76 x i8] c" --gamma\09Regulates the gamma. \0A\09\09Valid values are from 0.0001 to 15.0000.\0D\0A\00"
@.str.25 = [17 x i8] c"\0A Daemon-Mode \0D\0A\00"
@.str.26 = [64 x i8] c"Usage: cpu_speed.gpe --daemon [option1] [value1] [option2]...\0D\0A\00"
@.str.27 = [42 x i8] c"Shutdown: cpu_speed.gpe --kill[-daemon]\0D\0A\00"
@.str.28 = [84 x i8] c" --min\09Sets the minimum CPU-Frequency in Mhz. \0A\09\09Valid values are from 33 to 340.\0D\0A\00"
@.str.29 = [84 x i8] c" --max\09Sets the maximum CPU-Frequency in Mhz. \0A\09\09Valid values are from 33 to 340.\0D\0A\00"
@.str.30 = [78 x i8] c" --start\09Sets the CPU-Frequency in Mhz. \0A\09\09Valid values are from 33 to 340.\0D\0A\00"
@.str.31 = [81 x i8] c" --step\09Sets the CPU-Frequency step in Mhz. \0A\09\09Valid values are from 1 to 340.\0D\0A\00"
@.str.32 = [162 x i8] c" --hotkey\09Sets the hotkey. (Default: LR) \0A\09\09Valid values are a combination of LRXYZAB+-S/@ or ``None''\0A\09\09 (+- are volume, S is Start, / is Select, @ is Stick).\0D\0A\00"
@.str.33 = [166 x i8] c" --incr\09Sets the increment key. (Default: +) \0A\09\09Valid values are a combination of LRXYZAB+-S/@ or ``None''\0A\09\09 (+- are volume, S is Start, / is Select, @ is Stick).\0D\0A\00"
@.str.34 = [166 x i8] c" --decr\09Sets the decrement key. (Default: -) \0A\09\09Valid values are a combination of LRXYZAB+-S/@ or ``None''\0A\09\09 (+- are volume, S is Start, / is Select, @ is Stick).\0D\0A\00"
@.str.35 = [40 x i8] c" --no-hotkey\09Alias for --hotkey None.\0D\0A\00"
@.str.36 = [36 x i8] c" --no-incr\09Alias for --incr None.\0D\0A\00"
@.str.37 = [36 x i8] c" --no-decr\09Alias for --decr None.\0D\0A\00"
@.str.38 = [69 x i8] c" --foreground\09Do not switch to daemon mode. (Useful for debugging)\0D\0A\00"
@.str.39 = [49 x i8] c" --background\09Switch to daemon mode. (Default)\0D\0A\00"
@.str.40 = [52 x i8] c" --display\09Enable on screen display. COMING SOON!\0D\0A\00"
@.str.41 = [43 x i8] c" --no-display\09Disable on screen display.\0D\0A\00"
@.str.42 = [89 x i8] c"\0ANOTE:\0AThe old commandline-settings are working ... read more about this in the readme\0A\0A\00"
define void @cmdhelp() {
%1 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([162 x i8], [162 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([143 x i8], [143 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([106 x i8], [106 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.17, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.18, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.19, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.20, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.21, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.22, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([122 x i8], [122 x i8]* @.str.23, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.24, i64 0, i64 0))
%27 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.25, i64 0, i64 0))
%28 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.20, i64 0, i64 0))
%29 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.26, i64 0, i64 0))
%30 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.27, i64 0, i64 0))
%31 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%32 = call i32 @printf(i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.28, i64 0, i64 0))
%33 = call i32 @printf(i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.29, i64 0, i64 0))
%34 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.30, i64 0, i64 0))
%35 = call i32 @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.31, i64 0, i64 0))
%36 = call i32 @printf(i8* getelementptr inbounds ([162 x i8], [162 x i8]* @.str.32, i64 0, i64 0))
%37 = call i32 @printf(i8* getelementptr inbounds ([166 x i8], [166 x i8]* @.str.33, i64 0, i64 0))
%38 = call i32 @printf(i8* getelementptr inbounds ([166 x i8], [166 x i8]* @.str.34, i64 0, i64 0))
%39 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.35, i64 0, i64 0))
%40 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.36, i64 0, i64 0))
%41 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.37, i64 0, i64 0))
%42 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.38, i64 0, i64 0))
%43 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.39, i64 0, i64 0))
%44 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.40, i64 0, i64 0))
%45 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.41, i64 0, i64 0))
%46 = call i32 @printf(i8* getelementptr inbounds ([89 x i8], [89 x i8]* @.str.42, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [41 x i8] c"\0AgpSP2X v0.9003 Beta by Exophase/ZodTTD\0D\00"
@str.43 = [26 x i8] c"cpu_speed by god_at_hell\0D\00"
@str.44 = [54 x i8] c"Usage: cpu_speed.gpe [option1] [value1] [option2]...\0D\00"
@str.46 = [14 x i8] c" RAM-Options\0D\00"
@str.48 = [161 x i8] c" --cas \09\09CAS Latency. Delay in clock cycles between the registration \0A\09\09of a READ command and the first bit of output data. \0A\09\09Valid values are 2 and 3 cycles.\0D\00"
@str.49 = [159 x i8] c" --trc \09\09ACTIVE to ACTIVE /AUTOREFRESH command delay. Defines ACTIVE \0A\09\09to ACTIVE/auto refresh command period delay. \0A\09\09Valid values are from 1 to 16 cycles.\0D\00"
@str.50 = [142 x i8] c" --tras \09ACTIVE to PRECHARGE delay. Defines the delay between the ACTIVE \0A\09\09and PRECHARGE commands. \0A\09\09Valid values are from 1 to 16 cycles.\0D\00"
@str.51 = [81 x i8] c" --twr \09\09Write recovery time in cycles.\0A\09\09Valid values are from 1 to 16 cycles.\0D\00"
@str.52 = [89 x i8] c" --tmrd \09LOAD MODE REGISTER command cycle time.\0A\09\09Valid values are from 1 to 16 cycles.\0D\00"
@str.53 = [89 x i8] c" --trfc \09AUTO REFRESH command period in cycles.\0A\09\09Valid values are from 1 to 16 cycles.\0D\00"
@str.54 = [86 x i8] c" --trp \09\09PRECHARGE command period in cycles.\0A\09\09Valid values are from 1 to 16 cycles.\0D\00"
@str.55 = [78 x i8] c" --trcd \09RAS to CAS Delay in cycles.\0A\09\09Valid values are from 1 to 16 cycles.\0D\00"
@str.56 = [149 x i8] c" --refperd \09Refresh Period. Defines maximum time period between \0A\09\09AUTOREFRESH commands.\0A\09\09Valid values are from 1 to 65535 (default ~ 250) cycles.\0D\00"
@str.57 = [105 x i8] c" --ramdiv \09Divider for the Memory-Clock which is 1/2 of the CPU-Clock. \0A\09\09Valid values are from 1 to 8.\0D\00"
@str.58 = [15 x i8] c"\0A CPU-Options\0D\00"
@str.59 = [14 x i8] c" -----------\0D\00"
@str.60 = [78 x i8] c" --cpuclk\09Sets the CPU-Frequency in Mhz. \0A\09\09Valid values are from 33 to 340.\0D\00"
@str.61 = [72 x i8] c" --cpudiv \09Divider for the CPU-Clock. \0A\09\09Valid values are from 1 to 8.\0D\00"
@str.62 = [19 x i8] c"\0A Display-Options\0D\00"
@str.64 = [66 x i8] c" --fpll\09\09Sets clockgenerator to fpll (for firmware 1.0 - 1.0.1).\0D\00"
@str.65 = [54 x i8] c" --upll\09\09Sets clockgenerator to upll (for the rest).\0D\00"
@str.66 = [121 x i8] c" --timing\09Timing Prescaler to eliminate flickering. \0A\09\09Valid values are: -20 to 36 with fpll.\0A\09\09\09\09 -6 to 10 with upll.\0D\00"
@str.67 = [75 x i8] c" --gamma\09Regulates the gamma. \0A\09\09Valid values are from 0.0001 to 15.0000.\0D\00"
@str.68 = [16 x i8] c"\0A Daemon-Mode \0D\00"
@str.69 = [18 x i8] c"----------------\0D\00"
@str.70 = [63 x i8] c"Usage: cpu_speed.gpe --daemon [option1] [value1] [option2]...\0D\00"
@str.71 = [41 x i8] c"Shutdown: cpu_speed.gpe --kill[-daemon]\0D\00"
@str.72 = [10 x i8] c"Options:\0D\00"
@str.73 = [83 x i8] c" --min\09Sets the minimum CPU-Frequency in Mhz. \0A\09\09Valid values are from 33 to 340.\0D\00"
@str.74 = [83 x i8] c" --max\09Sets the maximum CPU-Frequency in Mhz. \0A\09\09Valid values are from 33 to 340.\0D\00"
@str.75 = [77 x i8] c" --start\09Sets the CPU-Frequency in Mhz. \0A\09\09Valid values are from 33 to 340.\0D\00"
@str.76 = [80 x i8] c" --step\09Sets the CPU-Frequency step in Mhz. \0A\09\09Valid values are from 1 to 340.\0D\00"
@str.77 = [161 x i8] c" --hotkey\09Sets the hotkey. (Default: LR) \0A\09\09Valid values are a combination of LRXYZAB+-S/@ or ``None''\0A\09\09 (+- are volume, S is Start, / is Select, @ is Stick).\0D\00"
@str.78 = [165 x i8] c" --incr\09Sets the increment key. (Default: +) \0A\09\09Valid values are a combination of LRXYZAB+-S/@ or ``None''\0A\09\09 (+- are volume, S is Start, / is Select, @ is Stick).\0D\00"
@str.79 = [165 x i8] c" --decr\09Sets the decrement key. (Default: -) \0A\09\09Valid values are a combination of LRXYZAB+-S/@ or ``None''\0A\09\09 (+- are volume, S is Start, / is Select, @ is Stick).\0D\00"
@str.80 = [39 x i8] c" --no-hotkey\09Alias for --hotkey None.\0D\00"
@str.81 = [35 x i8] c" --no-incr\09Alias for --incr None.\0D\00"
@str.82 = [35 x i8] c" --no-decr\09Alias for --decr None.\0D\00"
@str.83 = [68 x i8] c" --foreground\09Do not switch to daemon mode. (Useful for debugging)\0D\00"
@str.84 = [48 x i8] c" --background\09Switch to daemon mode. (Default)\0D\00"
@str.85 = [51 x i8] c" --display\09Enable on screen display. COMING SOON!\0D\00"
@str.86 = [42 x i8] c" --no-display\09Disable on screen display.\0D\00"
@str.87 = [88 x i8] c"\0ANOTE:\0AThe old commandline-settings are working ... read more about this in the readme\0A\00"
define void @cmdhelp() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.43, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.44, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.72, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.46, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.59, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([161 x i8], [161 x i8]* @str.48, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([159 x i8], [159 x i8]* @str.49, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([142 x i8], [142 x i8]* @str.50, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @str.51, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([89 x i8], [89 x i8]* @str.52, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([89 x i8], [89 x i8]* @str.53, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([86 x i8], [86 x i8]* @str.54, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.55, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([149 x i8], [149 x i8]* @str.56, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([105 x i8], [105 x i8]* @str.57, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.58, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.59, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.60, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.61, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.62, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.69, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.64, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.65, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([121 x i8], [121 x i8]* @str.66, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.67, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.68, i64 0, i64 0))
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.69, i64 0, i64 0))
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.70, i64 0, i64 0))
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.71, i64 0, i64 0))
%31 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.72, i64 0, i64 0))
%32 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([83 x i8], [83 x i8]* @str.73, i64 0, i64 0))
%33 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([83 x i8], [83 x i8]* @str.74, i64 0, i64 0))
%34 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.75, i64 0, i64 0))
%35 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str.76, i64 0, i64 0))
%36 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([161 x i8], [161 x i8]* @str.77, i64 0, i64 0))
%37 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([165 x i8], [165 x i8]* @str.78, i64 0, i64 0))
%38 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([165 x i8], [165 x i8]* @str.79, i64 0, i64 0))
%39 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.80, i64 0, i64 0))
%40 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.81, i64 0, i64 0))
%41 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.82, i64 0, i64 0))
%42 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.83, i64 0, i64 0))
%43 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.84, i64 0, i64 0))
%44 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.85, i64 0, i64 0))
%45 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.86, i64 0, i64 0))
%46 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([88 x i8], [88 x i8]* @str.87, i64 0, i64 0))
ret void
}