#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_common_help(void) {
  printf("Considerations for common errors:\n");
  printf("- Ensure that the control type exists, which may require loading a "
         "kernel module\n");
  printf("- Ensure that you run with administrative (super-user) privileges\n");
  printf("- Enabling/disabling a control type is an optional feature not "
         "supported by all control types\n");
  printf("- Resetting a zone energy counter is an optional powercap feature "
         "not supported by all control types\n");
}


x86 assembly (clang, -O0):
<print_common_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xefc(%rip),%rdi
call   1030 <printf@plt>
lea    0xf42(%rip),%rdi
call   1030 <printf@plt>
lea    0xf79(%rip),%rdi
call   1030 <printf@plt>
lea    0xfcc(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_common_help>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xefe(%rip),%rdi
call   1030 <puts@plt>
lea    0xf43(%rip),%rdi
call   1030 <puts@plt>
lea    0xf79(%rip),%rdi
call   1030 <puts@plt>
lea    0xfcb(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [35 x i8] c"Considerations for common errors:\0A\00"
@.str.1 = [82 x i8] c"- Ensure that the control type exists, which may require loading a kernel module\0A\00"
@.str.2 = [67 x i8] c"- Ensure that you run with administrative (super-user) privileges\0A\00"
@.str.3 = [95 x i8] c"- Enabling/disabling a control type is an optional feature not supported by all control types\0A\00"
@.str.4 = [102 x i8] c"- Resetting a zone energy counter is an optional powercap feature not supported by all control types\0A\00"
define void @print_common_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([102 x i8], [102 x i8]* @.str.4, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [34 x i8] c"Considerations for common errors:\00"
@str.5 = [81 x i8] c"- Ensure that the control type exists, which may require loading a kernel module\00"
@str.6 = [66 x i8] c"- Ensure that you run with administrative (super-user) privileges\00"
@str.7 = [94 x i8] c"- Enabling/disabling a control type is an optional feature not supported by all control types\00"
@str.8 = [101 x i8] c"- Resetting a zone energy counter is an optional powercap feature not supported by all control types\00"
define void @print_common_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @str.5, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.6, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([94 x i8], [94 x i8]* @str.7, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([101 x i8], [101 x i8]* @str.8, i64 0, i64 0))
ret void
}