#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",
         "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/r for Rook, N/n for Knight, B/b for "
         "Bishop, Q/q for Queen, K/k for King and P/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    0xf17(%rip),%rdx
lea    0xf16(%rip),%rcx
lea    0xf30(%rip),%r8
lea    0xf4b(%rip),%r9
lea    0xf60(%rip),%rbx
lea    0xfd2(%rip),%r11
lea    0xff9(%rip),%r10
lea    0x1021(%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    0x1068(%rip),%rax
lea    0x1032(%rip),%r10
lea    0xffd(%rip),%r11
lea    0xf7d(%rip),%rbx
lea    0xecc(%rip),%rdi
lea    0xee0(%rip),%rsi
lea    0xf03(%rip),%rdx
lea    0xf02(%rip),%rcx
lea    0xf1c(%rip),%r8
lea    0xf37(%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 = [42 x i8] c"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 = [121 x i8] c"Acceptable values for x are: R/r for Rook, N/n for Knight, B/b for Bishop, Q/q for Queen, K/k for King and P/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 ([42 x i8], [42 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 ([121 x i8], [121 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 = [42 x i8] c"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 = [121 x i8] c"Acceptable values for x are: R/r for Rook, N/n for Knight, B/b for Bishop, Q/q for Queen, K/k for King and P/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 ([42 x i8], [42 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 ([121 x i8], [121 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
}