#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("  -r, --related-cpus   Determines which CPUs run at the same "
         "hardware frequency *\n");
  printf("  -a, --affected-cpus  Determines which CPUs need to have their "
         "frequency\n"
         "                       coordinated by software *\n");
  printf("  -s, --stats          Shows cpufreq statistics if available\n");
  printf("  -y, --latency        Determines the maximum latency on CPU "
         "frequency changes *\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, -s and "
         "-y 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    0x1180(%rip),%rdi
call   1030 <printf@plt>
lea    0x11f0(%rip),%rdi
call   1030 <printf@plt>
lea    0x1222(%rip),%rdi
call   1030 <printf@plt>
lea    0x1268(%rip),%rdi
call   1030 <printf@plt>
lea    0x12ee(%rip),%rdi
call   1030 <printf@plt>
lea    0x1335(%rip),%rdi
call   1030 <printf@plt>
lea    0xfcb(%rip),%rdi
call   1030 <printf@plt>
lea    0x134c(%rip),%rdi
call   1030 <printf@plt>
lea    0x13c9(%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    0x1168(%rip),%rdi
call   1040 <puts@plt>
lea    0x11d7(%rip),%rdi
call   1040 <puts@plt>
lea    0x1208(%rip),%rdi
call   1040 <puts@plt>
lea    0x124d(%rip),%rdi
call   1040 <puts@plt>
lea    0x12d2(%rip),%rdi
call   1040 <puts@plt>
lea    0x1318(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x1330(%rip),%rdi
call   1040 <puts@plt>
lea    0x13ac(%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 = [83 x i8] c" -r, --related-cpus Determines which CPUs run at the same hardware frequency *\0A\00"
@.str.11 = [124 x i8] c" -a, --affected-cpus Determines which CPUs need to have their frequency\0A coordinated by software *\0A\00"
@.str.12 = [62 x i8] c" -s, --stats Shows cpufreq statistics if available\0A\00"
@.str.13 = [82 x i8] c" -y, --latency Determines the maximum latency on CPU frequency changes *\0A\00"
@.str.14 = [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.15 = [83 x i8] c" -m, --human human-readable output for the -f, -w, -s and -y parameters\0A\00"
@.str.16 = [47 x i8] c" -h, --help Prints out this screen\0A\00"
@.str.17 = [2 x i8] c"\0A\00"
@.str.18 = [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.19 = [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 ([83 x i8], [83 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([124 x i8], [124 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([137 x i8], [137 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([104 x i8], [104 x i8]* @.str.19, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [30 x i8] c"Usage: cpufreq-info [options]\00"
@str.20 = [9 x i8] c"Options:\00"
@str.21 = [78 x i8] c" -c CPU, --cpu CPU CPU number which information shall be determined about\00"
@str.22 = [52 x i8] c" -e, --debug Prints out debug information\00"
@str.23 = [119 x i8] c" -f, --freq Get frequency the CPU currently runs at, according\0A to the cpufreq core *\00"
@str.24 = [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.25 = [81 x i8] c" -l, --hwlimits Determine the minimum and maximum CPU frequency allowed *\00"
@str.26 = [67 x i8] c" -d, --driver Determines the used cpufreq kernel driver *\00"
@str.27 = [64 x i8] c" -p, --policy Gets the currently used cpufreq policy *\00"
@str.28 = [64 x i8] c" -g, --governors Determines available cpufreq governors *\00"
@str.29 = [82 x i8] c" -r, --related-cpus Determines which CPUs run at the same hardware frequency *\00"
@str.30 = [123 x i8] c" -a, --affected-cpus Determines which CPUs need to have their frequency\0A coordinated by software *\00"
@str.31 = [61 x i8] c" -s, --stats Shows cpufreq statistics if available\00"
@str.32 = [81 x i8] c" -y, --latency Determines the maximum latency on CPU frequency changes *\00"
@str.33 = [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.34 = [82 x i8] c" -m, --human human-readable output for the -f, -w, -s and -y parameters\00"
@str.35 = [46 x i8] c" -h, --help Prints out this screen\00"
@str.36 = [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.37 = [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.20, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.21, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.22, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([119 x i8], [119 x i8]* @str.23, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([142 x i8], [142 x i8]* @str.24, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @str.25, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.26, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.27, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.28, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([82 x i8], [82 x i8]* @str.29, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([123 x i8], [123 x i8]* @str.30, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.31, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @str.32, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([145 x i8], [145 x i8]* @str.33, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([82 x i8], [82 x i8]* @str.34, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.35, i64 0, i64 0))
%18 = tail call i32 @putchar(i32 10)
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([136 x i8], [136 x i8]* @str.36, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([103 x i8], [103 x i8]* @str.37, i64 0, i64 0))
ret void
}