#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 print_help(void) {
  printf("Usage: cpufreq-info [options]\n");
  printf("Options:\n");
  printf("  -c CPU, --cpu CPU    CPU number which information shall be "
         "determined about\n");
  printf("  -e, --debug          Prints out debug information\n");
  printf("  -f, --freq           Get frequency the CPU currently runs at, "
         "according\n"
         "                       to the cpufreq core *\n");
  printf(
      "  -w, --hwfreq         Get frequency the CPU currently runs at, by "
      "reading\n"
      "                       it from hardware (only available to root) *\n");
  printf("  -l, --hwlimits       Determine the minimum and maximum CPU "
         "frequency allowed *\n");
  printf(
      "  -d, --driver         Determines the used cpufreq kernel driver *\n");
  printf("  -p, --policy         Gets the currently used cpufreq policy *\n");
  printf("  -g, --governors      Determines available cpufreq governors *\n");
  printf("  -a, --affected-cpus  Determines which CPUs can only switch "
         "frequency at the\n"
         "                       same time *\n");
  printf("  -s, --stats          Shows cpufreq statistics if available\n");
  printf("  -o, --proc           Prints out information like provided by the "
         "/proc/cpufreq\n"
         "                       interface in 2.4. and early 2.6. kernels\n");
  printf("  -m, --human          human-readable output for the -f, -w and -s "
         "parameters\n");
  printf("  -h, --help           Prints out this screen\n");
  printf("\n");
  printf("If no argument or only the -c, --cpu parameter is given, debug "
         "output about\n"
         "cpufreq is printed which is useful e.g. for reporting bugs.\n");
  printf(
      "For the arguments marked with *, omitting the -c or --cpu argument is\n"
      "equivalent to setting it to zero\n");
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef8(%rip),%rdi
call   1030 <printf@plt>
lea    0xef6(%rip),%rdi
call   1030 <printf@plt>
lea    0xf39(%rip),%rdi
call   1030 <printf@plt>
lea    0xf62(%rip),%rdi
call   1030 <printf@plt>
lea    0xfce(%rip),%rdi
call   1030 <printf@plt>
lea    0x1051(%rip),%rdi
call   1030 <printf@plt>
lea    0x1097(%rip),%rdi
call   1030 <printf@plt>
lea    0x10cf(%rip),%rdi
call   1030 <printf@plt>
lea    0x1104(%rip),%rdi
call   1030 <printf@plt>
lea    0x1139(%rip),%rdi
call   1030 <printf@plt>
lea    0x119f(%rip),%rdi
call   1030 <printf@plt>
lea    0x11d1(%rip),%rdi
call   1030 <printf@plt>
lea    0x1257(%rip),%rdi
call   1030 <printf@plt>
lea    0x129a(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe3(%rip),%rdi
call   1030 <printf@plt>
lea    0x12b1(%rip),%rdi
call   1030 <printf@plt>
lea    0x132e(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <puts@plt>
lea    0xeea(%rip),%rdi
call   1040 <puts@plt>
lea    0xee7(%rip),%rdi
call   1040 <puts@plt>
lea    0xf29(%rip),%rdi
call   1040 <puts@plt>
lea    0xf51(%rip),%rdi
call   1040 <puts@plt>
lea    0xfbc(%rip),%rdi
call   1040 <puts@plt>
lea    0x103e(%rip),%rdi
call   1040 <puts@plt>
lea    0x1083(%rip),%rdi
call   1040 <puts@plt>
lea    0x10ba(%rip),%rdi
call   1040 <puts@plt>
lea    0x10ee(%rip),%rdi
call   1040 <puts@plt>
lea    0x1122(%rip),%rdi
call   1040 <puts@plt>
lea    0x1187(%rip),%rdi
call   1040 <puts@plt>
lea    0x11b8(%rip),%rdi
call   1040 <puts@plt>
lea    0x123d(%rip),%rdi
call   1040 <puts@plt>
lea    0x127f(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x1297(%rip),%rdi
call   1040 <puts@plt>
lea    0x1313(%rip),%rdi
pop    %rax
jmp    1040 <puts@plt>

LLVM IR (-O0):
@.str = [31 x i8] c"Usage: cpufreq-info [options]\0A\00"
@.str.1 = [10 x i8] c"Options:\0A\00"
@.str.2 = [79 x i8] c" -c CPU, --cpu CPU CPU number which information shall be determined about\0A\00"
@.str.3 = [53 x i8] c" -e, --debug Prints out debug information\0A\00"
@.str.4 = [120 x i8] c" -f, --freq Get frequency the CPU currently runs at, according\0A to the cpufreq core *\0A\00"
@.str.5 = [143 x i8] c" -w, --hwfreq Get frequency the CPU currently runs at, by reading\0A it from hardware (only available to root) *\0A\00"
@.str.6 = [82 x i8] c" -l, --hwlimits Determine the minimum and maximum CPU frequency allowed *\0A\00"
@.str.7 = [68 x i8] c" -d, --driver Determines the used cpufreq kernel driver *\0A\00"
@.str.8 = [65 x i8] c" -p, --policy Gets the currently used cpufreq policy *\0A\00"
@.str.9 = [65 x i8] c" -g, --governors Determines available cpufreq governors *\0A\00"
@.str.10 = [114 x i8] c" -a, --affected-cpus Determines which CPUs can only switch frequency at the\0A same time *\0A\00"
@.str.11 = [62 x i8] c" -s, --stats Shows cpufreq statistics if available\0A\00"
@.str.12 = [146 x i8] c" -o, --proc Prints out information like provided by the /proc/cpufreq\0A interface in 2.4. and early 2.6. kernels\0A\00"
@.str.13 = [79 x i8] c" -m, --human human-readable output for the -f, -w and -s parameters\0A\00"
@.str.14 = [47 x i8] c" -h, --help Prints out this screen\0A\00"
@.str.15 = [2 x i8] c"\0A\00"
@.str.16 = [137 x i8] c"If no argument or only the -c, --cpu parameter is given, debug output about\0Acpufreq is printed which is useful e.g. for reporting bugs.\0A\00"
@.str.17 = [104 x i8] c"For the arguments marked with *, omitting the -c or --cpu argument is\0Aequivalent to setting it to zero\0A\00"
define void @print_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([120 x i8], [120 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([143 x i8], [143 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([114 x i8], [114 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([146 x i8], [146 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 ([47 x i8], [47 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([137 x i8], [137 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([104 x i8], [104 x i8]* @.str.17, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [30 x i8] c"Usage: cpufreq-info [options]\00"
@str.18 = [9 x i8] c"Options:\00"
@str.19 = [78 x i8] c" -c CPU, --cpu CPU CPU number which information shall be determined about\00"
@str.20 = [52 x i8] c" -e, --debug Prints out debug information\00"
@str.21 = [119 x i8] c" -f, --freq Get frequency the CPU currently runs at, according\0A to the cpufreq core *\00"
@str.22 = [142 x i8] c" -w, --hwfreq Get frequency the CPU currently runs at, by reading\0A it from hardware (only available to root) *\00"
@str.23 = [81 x i8] c" -l, --hwlimits Determine the minimum and maximum CPU frequency allowed *\00"
@str.24 = [67 x i8] c" -d, --driver Determines the used cpufreq kernel driver *\00"
@str.25 = [64 x i8] c" -p, --policy Gets the currently used cpufreq policy *\00"
@str.26 = [64 x i8] c" -g, --governors Determines available cpufreq governors *\00"
@str.27 = [113 x i8] c" -a, --affected-cpus Determines which CPUs can only switch frequency at the\0A same time *\00"
@str.28 = [61 x i8] c" -s, --stats Shows cpufreq statistics if available\00"
@str.29 = [145 x i8] c" -o, --proc Prints out information like provided by the /proc/cpufreq\0A interface in 2.4. and early 2.6. kernels\00"
@str.30 = [78 x i8] c" -m, --human human-readable output for the -f, -w and -s parameters\00"
@str.31 = [46 x i8] c" -h, --help Prints out this screen\00"
@str.32 = [136 x i8] c"If no argument or only the -c, --cpu parameter is given, debug output about\0Acpufreq is printed which is useful e.g. for reporting bugs.\00"
@str.33 = [103 x i8] c"For the arguments marked with *, omitting the -c or --cpu argument is\0Aequivalent to setting it to zero\00"
define void @print_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.18, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.19, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.20, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([119 x i8], [119 x i8]* @str.21, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([142 x i8], [142 x i8]* @str.22, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @str.23, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.24, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.25, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.26, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([113 x i8], [113 x i8]* @str.27, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.28, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([145 x i8], [145 x i8]* @str.29, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.30, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.31, i64 0, i64 0))
%16 = tail call i32 @putchar(i32 10)
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([136 x i8], [136 x i8]* @str.32, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([103 x i8], [103 x i8]* @str.33, i64 0, i64 0))
ret void
}