#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 help_book(void) {
  printf("\nBook Commands:\n");
  printf("Book Commands must be entered in the form 'b|book <command> "
         "<parameters>'.\n");
  printf("  new <n1> <n2>       create a new empty book with level <n1> and "
         "depth <n2>.\n");
  printf("  load [file]         load an opening book from a binary opening "
         "file.\n");
  printf("  merge [file]        merge an opening book with the current opening "
         "book.\n");
  printf(
      "  save [file]         save an opening book to a binary opening file.\n");
  printf("  import [file]       load an opening book from a portable text "
         "file.\n");
  printf(
      "  export [file]       save an opening book to a portable text file.\n");
  printf("  on                  use the opening book.\n");
  printf("  off                 do not use the opening book.\n");
  printf("  show                display details about the current position.\n");
  printf("  info                display book general information.\n");
  printf(
      "  a|analyze [n]       retro-analyze the game using the opening book.\n");
  printf("  randomness [n]      play more various but worse move from the "
         "opening book.\n");
  printf("  depth [n]           change book depth (up to which to add "
         "positions).\n");
  printf("  deepen [n]          change book level & reevalute the whole book "
         "(very slow!).\n");
  printf("  fix                 fix the opening book: add missing links and "
         "negamax the\n  whole book tree.\n");
  printf(
      "  store               add the last played game to the opening book.\n");
  printf("  deviate <n1> <n2>   add positions by deviating with a relative "
         "error <n1> and\n  an absolute error <n2>.\n");
  printf("  enhance <n1> <n2>   add positions by improving score accuracy with "
         "a midgame\n  error <n1> and an endcut error <n2>.\n");
  printf("  fill [n]            add positions between existing positions.\n");
  printf("  prune               remove unreachable positions.\n");
  printf("  add [file]          add positions from a game base file (txt, ggf, "
         "sgf or\n  wthor format).\n");
}


x86 assembly (clang, -O0):
<help_book>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xeea(%rip),%rdi
call   1030 <printf@plt>
lea    0xf2a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf6d(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa9(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe9(%rip),%rdi
call   1030 <printf@plt>
lea    0x1023(%rip),%rdi
call   1030 <printf@plt>
lea    0x105e(%rip),%rdi
call   1030 <printf@plt>
lea    0x1097(%rip),%rdi
call   1030 <printf@plt>
lea    0x10b8(%rip),%rdi
call   1030 <printf@plt>
lea    0x10e0(%rip),%rdi
call   1030 <printf@plt>
lea    0x1117(%rip),%rdi
call   1030 <printf@plt>
lea    0x1144(%rip),%rdi
call   1030 <printf@plt>
lea    0x117e(%rip),%rdi
call   1030 <printf@plt>
lea    0x11c1(%rip),%rdi
call   1030 <printf@plt>
lea    0x11fe(%rip),%rdi
call   1030 <printf@plt>
lea    0x1244(%rip),%rdi
call   1030 <printf@plt>
lea    0x129a(%rip),%rdi
call   1030 <printf@plt>
lea    0x12d3(%rip),%rdi
call   1030 <printf@plt>
lea    0x1332(%rip),%rdi
call   1030 <printf@plt>
lea    0x139d(%rip),%rdi
call   1030 <printf@plt>
lea    0x13d2(%rip),%rdi
call   1030 <printf@plt>
lea    0x13fb(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<help_book>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xeec(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6d(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa8(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe7(%rip),%rdi
call   1030 <puts@plt>
lea    0x1020(%rip),%rdi
call   1030 <puts@plt>
lea    0x105a(%rip),%rdi
call   1030 <puts@plt>
lea    0x1092(%rip),%rdi
call   1030 <puts@plt>
lea    0x10b2(%rip),%rdi
call   1030 <puts@plt>
lea    0x10d9(%rip),%rdi
call   1030 <puts@plt>
lea    0x110f(%rip),%rdi
call   1030 <puts@plt>
lea    0x113b(%rip),%rdi
call   1030 <puts@plt>
lea    0x1174(%rip),%rdi
call   1030 <puts@plt>
lea    0x11b6(%rip),%rdi
call   1030 <puts@plt>
lea    0x11f2(%rip),%rdi
call   1030 <puts@plt>
lea    0x1237(%rip),%rdi
call   1030 <puts@plt>
lea    0x128c(%rip),%rdi
call   1030 <puts@plt>
lea    0x12c4(%rip),%rdi
call   1030 <puts@plt>
lea    0x1322(%rip),%rdi
call   1030 <puts@plt>
lea    0x138c(%rip),%rdi
call   1030 <puts@plt>
lea    0x13c0(%rip),%rdi
call   1030 <puts@plt>
lea    0x13e8(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [17 x i8] c"\0ABook Commands:\0A\00"
@.str.1 = [76 x i8] c"Book Commands must be entered in the form 'b|book <command> <parameters>'.\0A\00"
@.str.2 = [79 x i8] c" new <n1> <n2> create a new empty book with level <n1> and depth <n2>.\0A\00"
@.str.3 = [72 x i8] c" load [file] load an opening book from a binary opening file.\0A\00"
@.str.4 = [76 x i8] c" merge [file] merge an opening book with the current opening book.\0A\00"
@.str.5 = [70 x i8] c" save [file] save an opening book to a binary opening file.\0A\00"
@.str.6 = [71 x i8] c" import [file] load an opening book from a portable text file.\0A\00"
@.str.7 = [69 x i8] c" export [file] save an opening book to a portable text file.\0A\00"
@.str.8 = [45 x i8] c" on use the opening book.\0A\00"
@.str.9 = [52 x i8] c" off do not use the opening book.\0A\00"
@.str.10 = [67 x i8] c" show display details about the current position.\0A\00"
@.str.11 = [57 x i8] c" info display book general information.\0A\00"
@.str.12 = [70 x i8] c" a|analyze [n] retro-analyze the game using the opening book.\0A\00"
@.str.13 = [79 x i8] c" randomness [n] play more various but worse move from the opening book.\0A\00"
@.str.14 = [73 x i8] c" depth [n] change book depth (up to which to add positions).\0A\00"
@.str.15 = [82 x i8] c" deepen [n] change book level & reevalute the whole book (very slow!).\0A\00"
@.str.16 = [98 x i8] c" fix fix the opening book: add missing links and negamax the\0A whole book tree.\0A\00"
@.str.17 = [69 x i8] c" store add the last played game to the opening book.\0A\00"
@.str.18 = [107 x i8] c" deviate <n1> <n2> add positions by deviating with a relative error <n1> and\0A an absolute error <n2>.\0A\00"
@.str.19 = [119 x i8] c" enhance <n1> <n2> add positions by improving score accuracy with a midgame\0A error <n1> and an endcut error <n2>.\0A\00"
@.str.20 = [65 x i8] c" fill [n] add positions between existing positions.\0A\00"
@.str.21 = [53 x i8] c" prune remove unreachable positions.\0A\00"
@.str.22 = [94 x i8] c" add [file] add positions from a game base file (txt, ggf, sgf or\0A wthor format).\0A\00"
define void @help_book() {
%1 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([98 x i8], [98 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([107 x i8], [107 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([119 x i8], [119 x i8]* @.str.19, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.20, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.21, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([94 x i8], [94 x i8]* @.str.22, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [16 x i8] c"\0ABook Commands:\00"
@str.23 = [75 x i8] c"Book Commands must be entered in the form 'b|book <command> <parameters>'.\00"
@str.24 = [78 x i8] c" new <n1> <n2> create a new empty book with level <n1> and depth <n2>.\00"
@str.25 = [71 x i8] c" load [file] load an opening book from a binary opening file.\00"
@str.26 = [75 x i8] c" merge [file] merge an opening book with the current opening book.\00"
@str.27 = [69 x i8] c" save [file] save an opening book to a binary opening file.\00"
@str.28 = [70 x i8] c" import [file] load an opening book from a portable text file.\00"
@str.29 = [68 x i8] c" export [file] save an opening book to a portable text file.\00"
@str.30 = [44 x i8] c" on use the opening book.\00"
@str.31 = [51 x i8] c" off do not use the opening book.\00"
@str.32 = [66 x i8] c" show display details about the current position.\00"
@str.33 = [56 x i8] c" info display book general information.\00"
@str.34 = [69 x i8] c" a|analyze [n] retro-analyze the game using the opening book.\00"
@str.35 = [78 x i8] c" randomness [n] play more various but worse move from the opening book.\00"
@str.36 = [72 x i8] c" depth [n] change book depth (up to which to add positions).\00"
@str.37 = [81 x i8] c" deepen [n] change book level & reevalute the whole book (very slow!).\00"
@str.38 = [97 x i8] c" fix fix the opening book: add missing links and negamax the\0A whole book tree.\00"
@str.39 = [68 x i8] c" store add the last played game to the opening book.\00"
@str.40 = [106 x i8] c" deviate <n1> <n2> add positions by deviating with a relative error <n1> and\0A an absolute error <n2>.\00"
@str.41 = [118 x i8] c" enhance <n1> <n2> add positions by improving score accuracy with a midgame\0A error <n1> and an endcut error <n2>.\00"
@str.42 = [64 x i8] c" fill [n] add positions between existing positions.\00"
@str.43 = [52 x i8] c" prune remove unreachable positions.\00"
@str.44 = [93 x i8] c" add [file] add positions from a game base file (txt, ggf, sgf or\0A wthor format).\00"
define void @help_book() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.23, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.24, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.25, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.26, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.27, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.28, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.29, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.30, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.31, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.32, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.33, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.34, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.35, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.36, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @str.37, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([97 x i8], [97 x i8]* @str.38, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.39, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([106 x i8], [106 x i8]* @str.40, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([118 x i8], [118 x i8]* @str.41, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.42, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.43, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([93 x i8], [93 x i8]* @str.44, i64 0, i64 0))
ret void
}