#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 display_help() {
  printf("\n\t############################################ AIDE "
         "########################################\n");
  printf("\t# To start a new game, type \"N\" or \"NEW\"                       "
         "                          #\n");
  printf("\t# To load a new game from a text file, type \"L\" ou \"LOAD\"      "
         "                          #\n");
  printf("\t# During a game, to play a move, type the coordinates of the case  "
         "                      #\n");
  printf("\t# To cancel a move, type \"C\" ou \"CANCEL\"                       "
         "                          #\n");
  printf("\t# To cancel a previous canceled move, type \"U\" ou \"UNCANCEL\"   "
         "                          #\n");
  printf("\t# To save the game while playing, type \"S\" ou \"SAVE\"           "
         "                          #\n");
  printf("\t# To display this help, type \"H\" ou \"HELP\"                     "
         "                          #\n");
  printf("\t# To quit the program, type \"Q\" ou \"QUIT\"                      "
         "                          #\n");
  printf("\t# Commands can be typed indifferently in upper-case or lower-case  "
         "                      #\n");
  printf("\t###################################################################"
         "#######################\n");
}


x86 assembly (clang, -O0):
<display_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf37(%rip),%rdi
call   1030 <printf@plt>
lea    0xf88(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd9(%rip),%rdi
call   1030 <printf@plt>
lea    0x102a(%rip),%rdi
call   1030 <printf@plt>
lea    0x107b(%rip),%rdi
call   1030 <printf@plt>
lea    0x10cc(%rip),%rdi
call   1030 <printf@plt>
lea    0x111d(%rip),%rdi
call   1030 <printf@plt>
lea    0x116e(%rip),%rdi
call   1030 <printf@plt>
lea    0x11bf(%rip),%rdi
call   1030 <printf@plt>
lea    0x1210(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<display_help>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf39(%rip),%rdi
call   1030 <puts@plt>
lea    0xf89(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd9(%rip),%rdi
call   1030 <puts@plt>
lea    0x1029(%rip),%rdi
call   1030 <puts@plt>
lea    0x1079(%rip),%rdi
call   1030 <puts@plt>
lea    0x10c9(%rip),%rdi
call   1030 <puts@plt>
lea    0x1119(%rip),%rdi
call   1030 <puts@plt>
lea    0x1169(%rip),%rdi
call   1030 <puts@plt>
lea    0x11b9(%rip),%rdi
call   1030 <puts@plt>
lea    0x1209(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [94 x i8] c"\0A\09############################################ AIDE ########################################\0A\00"
@.str.1 = [93 x i8] c"\09# To start a new game, type \22N\22 or \22NEW\22 #\0A\00"
@.str.2 = [93 x i8] c"\09# To load a new game from a text file, type \22L\22 ou \22LOAD\22 #\0A\00"
@.str.3 = [93 x i8] c"\09# During a game, to play a move, type the coordinates of the case #\0A\00"
@.str.4 = [93 x i8] c"\09# To cancel a move, type \22C\22 ou \22CANCEL\22 #\0A\00"
@.str.5 = [93 x i8] c"\09# To cancel a previous canceled move, type \22U\22 ou \22UNCANCEL\22 #\0A\00"
@.str.6 = [93 x i8] c"\09# To save the game while playing, type \22S\22 ou \22SAVE\22 #\0A\00"
@.str.7 = [93 x i8] c"\09# To display this help, type \22H\22 ou \22HELP\22 #\0A\00"
@.str.8 = [93 x i8] c"\09# To quit the program, type \22Q\22 ou \22QUIT\22 #\0A\00"
@.str.9 = [93 x i8] c"\09# Commands can be typed indifferently in upper-case or lower-case #\0A\00"
@.str.10 = [93 x i8] c"\09##########################################################################################\0A\00"
define void @display_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([94 x i8], [94 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @.str.10, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [93 x i8] c"\0A\09############################################ AIDE ########################################\00"
@str.11 = [92 x i8] c"\09# To start a new game, type \22N\22 or \22NEW\22 #\00"
@str.12 = [92 x i8] c"\09# To load a new game from a text file, type \22L\22 ou \22LOAD\22 #\00"
@str.13 = [92 x i8] c"\09# During a game, to play a move, type the coordinates of the case #\00"
@str.14 = [92 x i8] c"\09# To cancel a move, type \22C\22 ou \22CANCEL\22 #\00"
@str.15 = [92 x i8] c"\09# To cancel a previous canceled move, type \22U\22 ou \22UNCANCEL\22 #\00"
@str.16 = [92 x i8] c"\09# To save the game while playing, type \22S\22 ou \22SAVE\22 #\00"
@str.17 = [92 x i8] c"\09# To display this help, type \22H\22 ou \22HELP\22 #\00"
@str.18 = [92 x i8] c"\09# To quit the program, type \22Q\22 ou \22QUIT\22 #\00"
@str.19 = [92 x i8] c"\09# Commands can be typed indifferently in upper-case or lower-case #\00"
@str.20 = [92 x i8] c"\09##########################################################################################\00"
define void @display_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([93 x i8], [93 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @str.11, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @str.12, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @str.13, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @str.14, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @str.15, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @str.16, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @str.17, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @str.18, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @str.19, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @str.20, i64 0, i64 0))
ret void
}