#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 *);
instructions() {
  printf("	To play backgammon, you must type the numbers\n");
  printf("	of the points from which pieces are to be\n");
  printf("	moved. For example, if the roll was '2  6',\n");
  printf("	typing '12 15' will move a piece from point\n");
  printf("	12 two spaces to point 14 and a piece from\n");
  printf("	point 15 six spaces to point 21. If the moves\n");
  printf("	must be made in the opposite order, you must\n");
  printf("	prepend the first number with a minus ('-').\n");
  printf("	Thus, typing '-12 15' will move a piece from\n");
  printf("	point 12 six spaces and a piece from point 15\n");
  printf("	two spaces. If you want to move a single piece\n");
  printf("	several times the sequence of points from\n");
  printf("	which it is to be moved must be typed. For \n");
  printf("	example, if the roll is '3  5', typing\n");
  printf("	'14  17' will move a piece from point 14 to\n");
  printf("	point 17 and then to point 22. If a double\n");
  printf("	is rolled, you should enter four numbers.\n");
  printf("	\n");
  printf("	Brown pieces that have been removed from the\n");
  printf("	board after being hit by white are on point 0\n");
  printf("	and must be brought in before any other moves\n");
  printf("	can be made. White pieces that are hit are \n");
  printf("	removed to point 25.\n");
  printf("	\n");
  printf("	Making illegal, too few or too many moves is\n");
  printf("	detected. Type a '?' when you are asked\n");
  printf("	for your move and a list of available actions \n");
  printf("	will be printed. Good luck!!!\n");
}


x86 assembly (clang, -O0):
<instructions>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xee1(%rip),%rdi
call   1030 <printf@plt>
lea    0xf05(%rip),%rdi
call   1030 <printf@plt>
lea    0xf25(%rip),%rdi
call   1030 <printf@plt>
lea    0xf47(%rip),%rdi
call   1030 <printf@plt>
lea    0xf69(%rip),%rdi
call   1030 <printf@plt>
lea    0xf8a(%rip),%rdi
call   1030 <printf@plt>
lea    0xfae(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd1(%rip),%rdi
call   1030 <printf@plt>
lea    0xff4(%rip),%rdi
call   1030 <printf@plt>
lea    0x1017(%rip),%rdi
call   1030 <printf@plt>
lea    0x103b(%rip),%rdi
call   1030 <printf@plt>
lea    0x1060(%rip),%rdi
call   1030 <printf@plt>
lea    0x1080(%rip),%rdi
call   1030 <printf@plt>
lea    0x10a2(%rip),%rdi
call   1030 <printf@plt>
lea    0x10bf(%rip),%rdi
call   1030 <printf@plt>
lea    0x10e1(%rip),%rdi
call   1030 <printf@plt>
lea    0x1102(%rip),%rdi
call   1030 <printf@plt>
lea    0x1122(%rip),%rdi
call   1030 <printf@plt>
lea    0x1119(%rip),%rdi
call   1030 <printf@plt>
lea    0x113c(%rip),%rdi
call   1030 <printf@plt>
lea    0x1160(%rip),%rdi
call   1030 <printf@plt>
lea    0x1184(%rip),%rdi
call   1030 <printf@plt>
lea    0x11a6(%rip),%rdi
call   1030 <printf@plt>
lea    0x10da(%rip),%rdi
call   1030 <printf@plt>
lea    0x11a5(%rip),%rdi
call   1030 <printf@plt>
lea    0x11c8(%rip),%rdi
call   1030 <printf@plt>
lea    0x11e6(%rip),%rdi
call   1030 <printf@plt>
lea    0x120b(%rip),%rdi
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<instructions>:
push   %rbx
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf4b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf8c(%rip),%rdi
call   1030 <puts@plt>
lea    0xfaf(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd1(%rip),%rdi
call   1030 <puts@plt>
lea    0xff3(%rip),%rdi
call   1030 <puts@plt>
lea    0x1015(%rip),%rdi
call   1030 <puts@plt>
lea    0x1038(%rip),%rdi
call   1030 <puts@plt>
lea    0x105c(%rip),%rdi
call   1030 <puts@plt>
lea    0x107b(%rip),%rdi
call   1030 <puts@plt>
lea    0x109c(%rip),%rdi
call   1030 <puts@plt>
lea    0x10b8(%rip),%rdi
call   1030 <puts@plt>
lea    0x10d9(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f9(%rip),%rdi
call   1030 <puts@plt>
lea    0x11e7(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x1109(%rip),%rdi
call   1030 <puts@plt>
lea    0x112b(%rip),%rdi
call   1030 <puts@plt>
lea    0x114e(%rip),%rdi
call   1030 <puts@plt>
lea    0x1171(%rip),%rdi
call   1030 <puts@plt>
lea    0x1192(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x1196(%rip),%rdi
call   1030 <puts@plt>
lea    0x11b8(%rip),%rdi
call   1030 <puts@plt>
lea    0x11d5(%rip),%rdi
call   1030 <puts@plt>
lea    0x11f9(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [48 x i8] c"\09To play backgammon, you must type the numbers\0A\00"
@.str.1 = [44 x i8] c"\09of the points from which pieces are to be\0A\00"
@.str.2 = [46 x i8] c"\09moved. For example, if the roll was '2 6',\0A\00"
@.str.3 = [46 x i8] c"\09typing '12 15' will move a piece from point\0A\00"
@.str.4 = [45 x i8] c"\0912 two spaces to point 14 and a piece from\0A\00"
@.str.5 = [48 x i8] c"\09point 15 six spaces to point 21. If the moves\0A\00"
@.str.6 = [47 x i8] c"\09must be made in the opposite order, you must\0A\00"
@.str.7 = [47 x i8] c"\09prepend the first number with a minus ('-').\0A\00"
@.str.8 = [47 x i8] c"\09Thus, typing '-12 15' will move a piece from\0A\00"
@.str.9 = [48 x i8] c"\09point 12 six spaces and a piece from point 15\0A\00"
@.str.10 = [49 x i8] c"\09two spaces. If you want to move a single piece\0A\00"
@.str.11 = [44 x i8] c"\09several times the sequence of points from\0A\00"
@.str.12 = [46 x i8] c"\09which it is to be moved must be typed. For \0A\00"
@.str.13 = [41 x i8] c"\09example, if the roll is '3 5', typing\0A\00"
@.str.14 = [46 x i8] c"\09'14 17' will move a piece from point 14 to\0A\00"
@.str.15 = [45 x i8] c"\09point 17 and then to point 22. If a double\0A\00"
@.str.16 = [44 x i8] c"\09is rolled, you should enter four numbers.\0A\00"
@.str.17 = [3 x i8] c"\09\0A\00"
@.str.18 = [47 x i8] c"\09Brown pieces that have been removed from the\0A\00"
@.str.19 = [48 x i8] c"\09board after being hit by white are on point 0\0A\00"
@.str.20 = [48 x i8] c"\09and must be brought in before any other moves\0A\00"
@.str.21 = [46 x i8] c"\09can be made. White pieces that are hit are \0A\00"
@.str.22 = [23 x i8] c"\09removed to point 25.\0A\00"
@.str.23 = [47 x i8] c"\09Making illegal, too few or too many moves is\0A\00"
@.str.24 = [42 x i8] c"\09detected. Type a '?' when you are asked\0A\00"
@.str.25 = [49 x i8] c"\09for your move and a list of available actions \0A\00"
@.str.26 = [32 x i8] c"\09will be printed. Good luck!!!\0A\00"
define i32 @instructions() {
%1 = alloca i32
%2 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.8, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.9, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.10, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.11, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.12, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.13, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.14, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.15, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.16, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.18, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.19, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.20, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.21, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.22, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.23, i64 0, i64 0))
%27 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.24, i64 0, i64 0))
%28 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.25, i64 0, i64 0))
%29 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.26, i64 0, i64 0))
%30 = load i32, i32* %1
ret i32 %30
}

LLVM IR (-O2):
@str = [47 x i8] c"\09To play backgammon, you must type the numbers\00"
@str.27 = [43 x i8] c"\09of the points from which pieces are to be\00"
@str.28 = [45 x i8] c"\09moved. For example, if the roll was '2 6',\00"
@str.29 = [45 x i8] c"\09typing '12 15' will move a piece from point\00"
@str.30 = [44 x i8] c"\0912 two spaces to point 14 and a piece from\00"
@str.31 = [47 x i8] c"\09point 15 six spaces to point 21. If the moves\00"
@str.32 = [46 x i8] c"\09must be made in the opposite order, you must\00"
@str.33 = [46 x i8] c"\09prepend the first number with a minus ('-').\00"
@str.34 = [46 x i8] c"\09Thus, typing '-12 15' will move a piece from\00"
@str.35 = [47 x i8] c"\09point 12 six spaces and a piece from point 15\00"
@str.36 = [48 x i8] c"\09two spaces. If you want to move a single piece\00"
@str.37 = [43 x i8] c"\09several times the sequence of points from\00"
@str.38 = [45 x i8] c"\09which it is to be moved must be typed. For \00"
@str.39 = [40 x i8] c"\09example, if the roll is '3 5', typing\00"
@str.40 = [45 x i8] c"\09'14 17' will move a piece from point 14 to\00"
@str.41 = [44 x i8] c"\09point 17 and then to point 22. If a double\00"
@str.42 = [43 x i8] c"\09is rolled, you should enter four numbers.\00"
@str.44 = [46 x i8] c"\09Brown pieces that have been removed from the\00"
@str.45 = [47 x i8] c"\09board after being hit by white are on point 0\00"
@str.46 = [47 x i8] c"\09and must be brought in before any other moves\00"
@str.47 = [45 x i8] c"\09can be made. White pieces that are hit are \00"
@str.48 = [22 x i8] c"\09removed to point 25.\00"
@str.49 = [2 x i8] c"\09\00"
@str.50 = [46 x i8] c"\09Making illegal, too few or too many moves is\00"
@str.51 = [41 x i8] c"\09detected. Type a '?' when you are asked\00"
@str.52 = [48 x i8] c"\09for your move and a list of available actions \00"
@str.53 = [31 x i8] c"\09will be printed. Good luck!!!\00"
define i32 @instructions() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.27, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.28, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.29, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.30, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.31, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.32, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.33, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.34, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.35, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.36, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.37, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.38, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.39, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.40, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.41, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.42, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.49, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.44, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.45, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.46, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.47, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.48, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.49, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.50, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.51, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.52, i64 0, i64 0))
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.53, i64 0, i64 0))
ret i32 undef
}