#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 *, char *);
void display_stdio_print_help(void) {
  char message[] =
      "This display driver is for testing purposes only.\n\n"
      "To provide input, simply type a string of characters and press ENTER.\n"
      "For special characters, use one of the following special commands:\n"
      "\t# number   uses the decimal value of number\n"
      "\tx hex      uses the hexadecimal value of hex\n"
      "\t\\symbol    escapes the given symbol (including newline!)\n"
      "\t: command  use a key name (e.g. up, left, esc, enter) or\n"
      "\t           one of (shift, SHIFT, brief, verbose, print).\n\n";
  printf("%s", message);
}


x86 assembly (clang, -O0):
<display_stdio_print_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1d0,%rsp
lea    -0x1d0(%rbp),%rdi
lea    0xec7(%rip),%rsi
mov    $0x1c7,%edx
call   1040 <memcpy@plt>
lea    -0x1d0(%rbp),%rsi
lea    0x1076(%rip),%rdi
call   1030 <printf@plt>
add    $0x1d0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<display_stdio_print_help>:
push   %rbx
sub    $0x1d0,%rsp
lea    0xed1(%rip),%rsi
mov    %rsp,%rbx
mov    $0x1c7,%edx
mov    %rbx,%rdi
call   1040 <memcpy@plt>
lea    0x1081(%rip),%rdi
mov    %rbx,%rsi
call   1030 <printf@plt>
add    $0x1d0,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@__const.display_stdio_print_help.message = [455 x i8] c"This display driver is for testing purposes only.\0A\0ATo provide input, simply type a string of characters and press ENTER.\0AFor special characters, use one of the following special commands:\0A\09# number uses the decimal value of number\0A\09x hex uses the hexadecimal value of hex\0A\09\\symbol escapes the given symbol (including newline!)\0A\09: command use a key name (e.g. up, left, esc, enter) or\0A\09 one of (shift, SHIFT, brief, verbose, print).\0A\0A\00"
@.str = [3 x i8] c"%s\00"
define void @display_stdio_print_help() {
%1 = alloca [455 x i8]
%2 = bitcast [455 x i8]* %1 to i8*
%3 = getelementptr inbounds [455 x i8], [455 x i8]* %1, i64 0, i64 0
%4 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %3)
ret void
}

LLVM IR (-O2):
@__const.display_stdio_print_help.message = [455 x i8] c"This display driver is for testing purposes only.\0A\0ATo provide input, simply type a string of characters and press ENTER.\0AFor special characters, use one of the following special commands:\0A\09# number uses the decimal value of number\0A\09x hex uses the hexadecimal value of hex\0A\09\\symbol escapes the given symbol (including newline!)\0A\09: command use a key name (e.g. up, left, esc, enter) or\0A\09 one of (shift, SHIFT, brief, verbose, print).\0A\0A\00"
@.str = [3 x i8] c"%s\00"
define void @display_stdio_print_help() {
%1 = alloca [455 x i8]
%2 = getelementptr inbounds [455 x i8], [455 x i8]* %1, i64 0, i64 0
%3 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %2)
ret void
}