#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fputs(char *, int /*<<< orphan*/ *);
void drm_print_help(FILE *f) {
  fputs("Adjust gamma ramps with Direct Rendering Manager.\n", f);
  fputs("\n", f);
  fputs("  edid=VALUE\tThe EDID of the monitor to apply adjustments to\n"
        "  crtc=N\tCRTC to apply adjustments to\n"
        "  card=N\tGraphics card to apply adjustments to\n",
        f);
  fputs("\n", f);
}


x86 assembly (clang, -O0):
<drm_print_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xed9(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0xefa(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0xeec(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0xeda(%rip),%rdi
call   1030 <fputs@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<drm_print_help>:
push   %rbx
mov    %rdi,%rbx
lea    0xed5(%rip),%rdi
mov    $0x32,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    $0xa,%edi
mov    %rbx,%rsi
call   1030 <fputc@plt>
lea    0xee2(%rip),%rdi
mov    $0x92,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    $0xa,%edi
mov    %rbx,%rsi
pop    %rbx
jmp    1030 <fputc@plt>

LLVM IR (-O0):
@.str = [51 x i8] c"Adjust gamma ramps with Direct Rendering Manager.\0A\00"
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [147 x i8] c" edid=VALUE\09The EDID of the monitor to apply adjustments to\0A crtc=N\09CRTC to apply adjustments to\0A card=N\09Graphics card to apply adjustments to\0A\00"
define void @drm_print_help(i32* %0) {
%2 = alloca i32*
store i32* %0, i32** %2
%3 = load i32*, i32** %2
%4 = call i32 @fputs(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str, i64 0, i64 0), i32* %3)
%5 = load i32*, i32** %2
%6 = call i32 @fputs(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i32* %5)
%7 = load i32*, i32** %2
%8 = call i32 @fputs(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str.2, i64 0, i64 0), i32* %7)
%9 = load i32*, i32** %2
%10 = call i32 @fputs(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i32* %9)
ret void
}

LLVM IR (-O2):
@.str = [51 x i8] c"Adjust gamma ramps with Direct Rendering Manager.\0A\00"
@.str.2 = [147 x i8] c" edid=VALUE\09The EDID of the monitor to apply adjustments to\0A crtc=N\09CRTC to apply adjustments to\0A card=N\09Graphics card to apply adjustments to\0A\00"
define void @drm_print_help(i32* nocapture %0) {
%2 = tail call i64 @fwrite(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str, i64 0, i64 0), i64 50, i64 1, i32* %0)
%3 = tail call i32 @fputc(i32 10, i32* %0)
%4 = tail call i64 @fwrite(i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str.2, i64 0, i64 0), i64 146, i64 1, i32* %0)
%5 = tail call i32 @fputc(i32 10, i32* %0)
ret void
}