// File: /workspace/github_cpp_makefile_star2_O3/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, 0x58a08(%rip)     # 0x76430
jne 0x1dc6b
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r14
movq 0x585a2(%rip), %rdi     # 0x75fe8
leaq 0x3fbb0(%rip), %rsi     # 0x5d5fd
movl $0x4, %edx
callq 0x6490
leaq 0x58e62(%rip), %rax     # 0x768c0
movl (%rax), %ebp
leaq 0x58e5d(%rip), %rbx     # 0x768c4
cmpl (%rbx), %ebp
jg 0x1dab5
decl %ebp
leaq 0x3f92d(%rip), %r12     # 0x5d3a1
movq 0x5856d(%rip), %r15     # 0x75fe8
leaq 0x7(%rsp), %r13
movl $0x3, %edx
movq %r15, %rdi
leaq 0x3fb6f(%rip), %rsi     # 0x5d5fe
callq 0x6490
movb (%r12), %al
movb %al, 0x7(%rsp)
movl $0x1, %edx
movq %r15, %rdi
movq %r13, %rsi
callq 0x6490
incq %r12
incl %ebp
cmpl (%rbx), %ebp
jl 0x1da80
movq 0x5852c(%rip), %r13     # 0x75fe8
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x63c0
movsbl %al, %esi
movq %r13, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6290
leaq 0x58dd5(%rip), %rax     # 0x768c0
movl (%rax), %eax
movq %rax, 0x8(%rsp)
cmpl (%rbx), %eax
jg 0x1dc35
movq %rbx, %r12
leaq 0x9620(%r14), %r15
movl $0x1, %edx
movq (%r13), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%r13,%rax)
leaq 0x58d93(%rip), %rax     # 0x768b4
movl (%rax), %esi
movl %edx, 0x14(%rsp)
subl %edx, %esi
incl %esi
movq %r13, %rdi
callq 0x6730
leaq 0x58d86(%rip), %rax     # 0x768c0
movslq (%rax), %rbp
movq %r12, %rbx
cmpl (%r12), %ebp
jg 0x1dbe8
leal -0x1(%rbp), %r12d
movslq 0x8(%rsp), %r13
leaq 0x58d62(%rip), %rax     # 0x768bc
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 0x1dba3
movl 0x96200(%r14,%rax,4), %esi
cmpl $0x2b7, %esi            # imm = 0x2B7
jne 0x1dbbd
movl $0x4, %edx
movq 0x5844e(%rip), %rdi     # 0x75fe8
leaq 0x3f55c(%rip), %rsi     # 0x5d0fd
jmp 0x1dbb6
movl $0x4, %edx
movq 0x58439(%rip), %rdi     # 0x75fe8
leaq 0x3f542(%rip), %rsi     # 0x5d0f8
callq 0x6490
jmp 0x1dbd9
movq 0x58424(%rip), %rdi     # 0x75fe8
movq (%rdi), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rdi,%rax)
callq 0x6730
incl %r12d
incq %rbp
cmpl (%rbx), %r12d
jl 0x1db53
movq 0x583f9(%rip), %r13     # 0x75fe8
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x63c0
movsbl %al, %esi
movq %r13, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6290
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 0x1db09
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x63c0
movsbl %al, %esi
movq %r13, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6290
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq