#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 */
char *gettext(char *);
int /*<<< orphan*/ printf(char *);
void print_help(void) {
  printf(gettext("Usage: cpufreq-info [options]\n"));
  printf(gettext("Options:\n"));
  printf(gettext("  -c CPU, --cpu CPU    CPU number which information shall be "
                 "determined about\n"));
  printf(gettext("  -e, --debug          Prints out debug information\n"));
  printf(gettext("  -f, --freq           Get frequency the CPU currently runs "
                 "at, according\n"
                 "                       to the cpufreq core *\n"));
  printf(gettext(
      "  -w, --hwfreq         Get frequency the CPU currently runs at, by "
      "reading\n"
      "                       it from hardware (only available to root) *\n"));
  printf(gettext("  -l, --hwlimits       Determine the minimum and maximum CPU "
                 "frequency allowed *\n"));
  printf(gettext(
      "  -d, --driver         Determines the used cpufreq kernel driver *\n"));
  printf(gettext(
      "  -p, --policy         Gets the currently used cpufreq policy *\n"));
  printf(gettext(
      "  -g, --governors      Determines available cpufreq governors *\n"));
  printf(gettext("  -r, --related-cpus   Determines which CPUs run at the same "
                 "hardware frequency *\n"));
  printf(gettext("  -a, --affected-cpus  Determines which CPUs need to have "
                 "their frequency\n"
                 "                       coordinated by software *\n"));
  printf(gettext(
      "  -s, --stats          Shows cpufreq statistics if available\n"));
  printf(gettext("  -y, --latency        Determines the maximum latency on CPU "
                 "frequency changes *\n"));
  printf(gettext(
      "  -o, --proc           Prints out information like provided by the "
      "/proc/cpufreq\n"
      "                       interface in 2.4. and early 2.6. kernels\n"));
  printf(gettext("  -m, --human          human-readable output for the -f, -w, "
                 "-s and -y parameters\n"));
  printf(gettext("  -h, --help           Prints out this screen\n"));
  printf("\n");
  printf(
      gettext("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(gettext(
      "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    0xed5(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0xee0(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0xed6(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0xf11(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0xf32(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0xf96(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0x1011(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0x104f(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0x107f(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0x10ac(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0x10d9(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0x1118(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0x1180(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0x11aa(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0x11e8(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0x1266(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0x12a5(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0xf33(%rip),%rdi
call   1040 <printf@plt>
lea    0x12b4(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
lea    0x1329(%rip),%rdi
call   1030 <gettext@plt>
mov    %rax,%rdi
call   1040 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
push   %rax
lea    0xec8(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xed3(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xec9(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xf04(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xf25(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xf89(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0x1004(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0x1042(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0x1072(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0x109f(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0x10cc(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0x110b(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0x1173(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0x119d(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0x11db(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0x1259(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0x1298(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x12a9(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0x131e(%rip),%rdi
call   1040 <gettext@plt>
mov    %rax,%rdi
pop    %rax
jmp    1050 <printf@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 i8* @gettext(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* %1)
%3 = call i8* @gettext(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @printf(i8* %3)
%5 = call i8* @gettext(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.2, i64 0, i64 0))
%6 = call i32 @printf(i8* %5)
%7 = call i8* @gettext(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 @printf(i8* %7)
%9 = call i8* @gettext(i8* getelementptr inbounds ([120 x i8], [120 x i8]* @.str.4, i64 0, i64 0))
%10 = call i32 @printf(i8* %9)
%11 = call i8* @gettext(i8* getelementptr inbounds ([143 x i8], [143 x i8]* @.str.5, i64 0, i64 0))
%12 = call i32 @printf(i8* %11)
%13 = call i8* @gettext(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.6, i64 0, i64 0))
%14 = call i32 @printf(i8* %13)
%15 = call i8* @gettext(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.7, i64 0, i64 0))
%16 = call i32 @printf(i8* %15)
%17 = call i8* @gettext(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.8, i64 0, i64 0))
%18 = call i32 @printf(i8* %17)
%19 = call i8* @gettext(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.9, i64 0, i64 0))
%20 = call i32 @printf(i8* %19)
%21 = call i8* @gettext(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.10, i64 0, i64 0))
%22 = call i32 @printf(i8* %21)
%23 = call i8* @gettext(i8* getelementptr inbounds ([124 x i8], [124 x i8]* @.str.11, i64 0, i64 0))
%24 = call i32 @printf(i8* %23)
%25 = call i8* @gettext(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.12, i64 0, i64 0))
%26 = call i32 @printf(i8* %25)
%27 = call i8* @gettext(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.13, i64 0, i64 0))
%28 = call i32 @printf(i8* %27)
%29 = call i8* @gettext(i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.14, i64 0, i64 0))
%30 = call i32 @printf(i8* %29)
%31 = call i8* @gettext(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.15, i64 0, i64 0))
%32 = call i32 @printf(i8* %31)
%33 = call i8* @gettext(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.16, i64 0, i64 0))
%34 = call i32 @printf(i8* %33)
%35 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.17, i64 0, i64 0))
%36 = call i8* @gettext(i8* getelementptr inbounds ([137 x i8], [137 x i8]* @.str.18, i64 0, i64 0))
%37 = call i32 @printf(i8* %36)
%38 = call i8* @gettext(i8* getelementptr inbounds ([104 x i8], [104 x i8]* @.str.19, i64 0, i64 0))
%39 = call i32 @printf(i8* %38)
ret void
}

LLVM IR (-O2):
@.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.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 = tail call i8* @gettext(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @printf(i8* dereferenceable(1) %1)
%3 = tail call i8* @gettext(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 @printf(i8* dereferenceable(1) %3)
%5 = tail call i8* @gettext(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.2, i64 0, i64 0))
%6 = tail call i32 @printf(i8* dereferenceable(1) %5)
%7 = tail call i8* @gettext(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.3, i64 0, i64 0))
%8 = tail call i32 @printf(i8* dereferenceable(1) %7)
%9 = tail call i8* @gettext(i8* getelementptr inbounds ([120 x i8], [120 x i8]* @.str.4, i64 0, i64 0))
%10 = tail call i32 @printf(i8* dereferenceable(1) %9)
%11 = tail call i8* @gettext(i8* getelementptr inbounds ([143 x i8], [143 x i8]* @.str.5, i64 0, i64 0))
%12 = tail call i32 @printf(i8* dereferenceable(1) %11)
%13 = tail call i8* @gettext(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.6, i64 0, i64 0))
%14 = tail call i32 @printf(i8* dereferenceable(1) %13)
%15 = tail call i8* @gettext(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.7, i64 0, i64 0))
%16 = tail call i32 @printf(i8* dereferenceable(1) %15)
%17 = tail call i8* @gettext(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.8, i64 0, i64 0))
%18 = tail call i32 @printf(i8* dereferenceable(1) %17)
%19 = tail call i8* @gettext(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.9, i64 0, i64 0))
%20 = tail call i32 @printf(i8* dereferenceable(1) %19)
%21 = tail call i8* @gettext(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.10, i64 0, i64 0))
%22 = tail call i32 @printf(i8* dereferenceable(1) %21)
%23 = tail call i8* @gettext(i8* getelementptr inbounds ([124 x i8], [124 x i8]* @.str.11, i64 0, i64 0))
%24 = tail call i32 @printf(i8* dereferenceable(1) %23)
%25 = tail call i8* @gettext(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.12, i64 0, i64 0))
%26 = tail call i32 @printf(i8* dereferenceable(1) %25)
%27 = tail call i8* @gettext(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.13, i64 0, i64 0))
%28 = tail call i32 @printf(i8* dereferenceable(1) %27)
%29 = tail call i8* @gettext(i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.14, i64 0, i64 0))
%30 = tail call i32 @printf(i8* dereferenceable(1) %29)
%31 = tail call i8* @gettext(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.15, i64 0, i64 0))
%32 = tail call i32 @printf(i8* dereferenceable(1) %31)
%33 = tail call i8* @gettext(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.16, i64 0, i64 0))
%34 = tail call i32 @printf(i8* dereferenceable(1) %33)
%35 = tail call i32 @putchar(i32 10)
%36 = tail call i8* @gettext(i8* getelementptr inbounds ([137 x i8], [137 x i8]* @.str.18, i64 0, i64 0))
%37 = tail call i32 @printf(i8* dereferenceable(1) %36)
%38 = tail call i8* @gettext(i8* getelementptr inbounds ([104 x i8], [104 x i8]* @.str.19, i64 0, i64 0))
%39 = tail call i32 @printf(i8* dereferenceable(1) %38)
ret void
}