#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 *, char *, char *, char *, char *,
                          char *, char *, char *, char *);
extern void printInstructions(void) {
  printf("%s%s\n%s\n%s\n%s\n%s\n%s %s\n%s\n",
         "Please enter your move in the following format: ", "\'xyz\'",
         "x is the piece you want to move,",
         "y is the letter of the column and", "z is the number of the row.",
         "Acceptable values for x are: R for Rook, N for Knight, B for Bishop, "
         "Q for Queen, K for King and P for Pawn.",
         "Acceptable values for y are lowercase letters",
         "from \'a\' to \'h\' and for z numbers from 1 to 8.",
         "For example to move Bishop to e2 type Be2 or Pawn to a4 type Pa4.");
}


x86 assembly (clang, -O0):
<printInstructions>:
push   %rbp
mov    %rsp,%rbp
push   %rbx
sub    $0x28,%rsp
lea    0xee0(%rip),%rdi
lea    0xef4(%rip),%rsi
lea    0xf1e(%rip),%rdx
lea    0xf1d(%rip),%rcx
lea    0xf37(%rip),%r8
lea    0xf52(%rip),%r9
lea    0xf67(%rip),%rbx
lea    0xfcd(%rip),%r11
lea    0xff4(%rip),%r10
lea    0x101c(%rip),%rax
mov    %rbx,(%rsp)
mov    %r11,0x8(%rsp)
mov    %r10,0x10(%rsp)
mov    %rax,0x18(%rsp)
call   1030 <printf@plt>
add    $0x28,%rsp
pop    %rbx
pop    %rbp
ret

x86 assembly (clang, -O2):
<printInstructions>:
push   %rbx
lea    0x1063(%rip),%rax
lea    0x102d(%rip),%r10
lea    0xff8(%rip),%r11
lea    0xf84(%rip),%rbx
lea    0xecc(%rip),%rdi
lea    0xee0(%rip),%rsi
lea    0xf0a(%rip),%rdx
lea    0xf09(%rip),%rcx
lea    0xf23(%rip),%r8
lea    0xf3e(%rip),%r9
push   %rax
push   %r10
push   %r11
push   %rbx
call   1030 <printf@plt>
add    $0x20,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [27 x i8] c"%s%s\0A%s\0A%s\0A%s\0A%s\0A%s %s\0A%s\0A\00"
@.str.1 = [49 x i8] c"Please enter your move in the following format: \00"
@.str.2 = [6 x i8] c"'xyz'\00"
@.str.3 = [33 x i8] c"x is the piece you want to move,\00"
@.str.4 = [34 x i8] c"y is the letter of the column and\00"
@.str.5 = [28 x i8] c"z is the number of the row.\00"
@.str.6 = [109 x i8] c"Acceptable values for x are: R for Rook, N for Knight, B for Bishop, Q for Queen, K for King and P for Pawn.\00"
@.str.7 = [46 x i8] c"Acceptable values for y are lowercase letters\00"
@.str.8 = [47 x i8] c"from 'a' to 'h' and for z numbers from 1 to 8.\00"
@.str.9 = [66 x i8] c"For example to move Bishop to e2 type Be2 or Pawn to a4 type Pa4.\00"
define void @printInstructions() {
%1 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([109 x i8], [109 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.9, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [27 x i8] c"%s%s\0A%s\0A%s\0A%s\0A%s\0A%s %s\0A%s\0A\00"
@.str.1 = [49 x i8] c"Please enter your move in the following format: \00"
@.str.2 = [6 x i8] c"'xyz'\00"
@.str.3 = [33 x i8] c"x is the piece you want to move,\00"
@.str.4 = [34 x i8] c"y is the letter of the column and\00"
@.str.5 = [28 x i8] c"z is the number of the row.\00"
@.str.6 = [109 x i8] c"Acceptable values for x are: R for Rook, N for Knight, B for Bishop, Q for Queen, K for King and P for Pawn.\00"
@.str.7 = [46 x i8] c"Acceptable values for y are lowercase letters\00"
@.str.8 = [47 x i8] c"from 'a' to 'h' and for z numbers from 1 to 8.\00"
@.str.9 = [66 x i8] c"For example to move Bishop to e2 type Be2 or Pawn to a4 type Pa4.\00"
define void @printInstructions() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([109 x i8], [109 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.9, i64 0, i64 0))
ret void
}