// File: /workspace/github_cpp_makefile_star2_O1/kobanium[P]Ray/src/common/Message.cpp
// Function: PrintStringNext(game_info_t const*)
void
PrintStringNext( const game_info_t *game )
{
  if (!debug_message) return;

  std::cerr << "    ";
  for (int i = 1, y = board_start; y <= board_end; y++, i++) {
    std::cerr << "   " << gogui_x[i];
  }
  std::cerr << std::endl;

  for (int i = 1, y = board_start; y <= board_end; y++, i++) {
    std::cerr << std::setw(3) << (pure_board_size + 1 - i);
    for (int x = board_start; x <= board_end; x++) {
      const int pos = x + y * board_size;
      if (game->string[game->string_id[pos]].flag) {
        if (game->string_next[pos] != STRING_END) {
          std::cerr << std::setw(3) << game->string_next[pos];
        } else {
          std::cerr << " END";
        }
      } else {
        std::cerr << "   -";
      }
    }
    std::cerr << std::endl;
  }
  std::cerr << std::endl;
}

// Assembly:
cmpb $0x1, 0x577f8(%rip)     # 0x75430
jne 0x1de7b
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r14
movq 0x57392(%rip), %rdi     # 0x74fe8
leaq 0x3f9a0(%rip), %rsi     # 0x5d5fd
movl $0x4, %edx
callq 0x64a0
leaq 0x57c52(%rip), %rax     # 0x758c0
movl (%rax), %ebp
leaq 0x57c4d(%rip), %rbx     # 0x758c4
cmpl (%rbx), %ebp
jg 0x1dcc5
decl %ebp
leaq 0x3f71d(%rip), %r12     # 0x5d3a1
movq 0x5735d(%rip), %r15     # 0x74fe8
leaq 0x7(%rsp), %r13
movl $0x3, %edx
movq %r15, %rdi
leaq 0x3f95f(%rip), %rsi     # 0x5d5fe
callq 0x64a0
movb (%r12), %al
movb %al, 0x7(%rsp)
movl $0x1, %edx
movq %r15, %rdi
movq %r13, %rsi
callq 0x64a0
incq %r12
incl %ebp
cmpl (%rbx), %ebp
jl 0x1dc90
movq 0x5731c(%rip), %r13     # 0x74fe8
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x63d0
movsbl %al, %esi
movq %r13, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x62a0
leaq 0x57bc5(%rip), %rax     # 0x758c0
movl (%rax), %eax
movq %rax, 0x8(%rsp)
cmpl (%rbx), %eax
jg 0x1de45
movq %rbx, %r12
leaq 0x9620(%r14), %r15
movl $0x1, %edx
movq (%r13), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%r13,%rax)
leaq 0x57b83(%rip), %rax     # 0x758b4
movl (%rax), %esi
movl %edx, 0x14(%rsp)
subl %edx, %esi
incl %esi
movq %r13, %rdi
callq 0x6740
leaq 0x57b76(%rip), %rax     # 0x758c0
movslq (%rax), %rbp
movq %r12, %rbx
cmpl (%r12), %ebp
jg 0x1ddf8
leal -0x1(%rbp), %r12d
movslq 0x8(%rsp), %r13
leaq 0x57b52(%rip), %rax     # 0x758bc
movslq (%rax), %rax
imulq %r13, %rax
addq %rbp, %rax
movslq 0x95720(%r14,%rax,4), %rcx
imulq $0x7c8, %rcx, %rcx      # imm = 0x7C8
cmpb $0x1, 0x7c4(%r15,%rcx)
jne 0x1ddb3
movl 0x96200(%r14,%rax,4), %esi
cmpl $0x2b7, %esi            # imm = 0x2B7
jne 0x1ddcd
movl $0x4, %edx
movq 0x5723e(%rip), %rdi     # 0x74fe8
leaq 0x3f34c(%rip), %rsi     # 0x5d0fd
jmp 0x1ddc6
movl $0x4, %edx
movq 0x57229(%rip), %rdi     # 0x74fe8
leaq 0x3f332(%rip), %rsi     # 0x5d0f8
callq 0x64a0
jmp 0x1dde9
movq 0x57214(%rip), %rdi     # 0x74fe8
movq (%rdi), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rdi,%rax)
callq 0x6740
incl %r12d
incq %rbp
cmpl (%rbx), %r12d
jl 0x1dd63
movq 0x571e9(%rip), %r13     # 0x74fe8
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x63d0
movsbl %al, %esi
movq %r13, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x62a0
movq 0x8(%rsp), %rcx
leal 0x1(%rcx), %eax
movl 0x14(%rsp), %edx
incl %edx
movq %rbx, %r12
cmpl (%rbx), %ecx
movq %rax, 0x8(%rsp)
jl 0x1dd19
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x63d0
movsbl %al, %esi
movq %r13, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x62a0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq