// File: /workspace/github_cpp_makefile_star2_O3/kobanium[P]Ray/src/common/Message.cpp
// Function: PrintStringID(game_info_t const*)
void
PrintStringID( 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) {
        std::cerr << " " << std::setw(3) << game->string_id[pos];
      } else {
        std::cerr << "   -";
      }
    }
    std::cerr << std::endl;
  }
  std::cerr << std::endl;
}

// Assembly:
cmpb $0x1, 0x58c79(%rip)     # 0x76430
jne 0x1da20
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %r14
movq 0x58813(%rip), %rdi     # 0x75fe8
leaq 0x3fe21(%rip), %rsi     # 0x5d5fd
movl $0x4, %edx
callq 0x6490
leaq 0x590d3(%rip), %rax     # 0x768c0
movl (%rax), %ebp
leaq 0x590ce(%rip), %rbx     # 0x768c4
cmpl (%rbx), %ebp
jg 0x1d844
decl %ebp
leaq 0x3fb9e(%rip), %r12     # 0x5d3a1
movq 0x587de(%rip), %r15     # 0x75fe8
leaq 0x7(%rsp), %r13
movl $0x3, %edx
movq %r15, %rdi
leaq 0x3fde0(%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 0x1d80f
movq %rbx, %r12
movq 0x5879a(%rip), %rbx     # 0x75fe8
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x63c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6290
leaq 0x59044(%rip), %rax     # 0x768c0
movl (%rax), %eax
movq %rax, 0x8(%rsp)
cmpl (%r12), %eax
jg 0x1d9eb
leaq 0x9620(%r14), %r15
movl $0x1, %edx
movq %r15, 0x18(%rsp)
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rbx,%rax)
leaq 0x58fff(%rip), %rax     # 0x768b4
movl (%rax), %esi
movl %edx, 0x14(%rsp)
subl %edx, %esi
incl %esi
movq %rbx, %rdi
callq 0x6730
movl $0x1, %edx
movq %rax, %rdi
leaq 0x3f7c0(%rip), %rsi     # 0x5d096
callq 0x6490
leaq 0x58fde(%rip), %rax     # 0x768c0
movslq (%rax), %rbp
cmpl (%r12), %ebp
jg 0x1d9a0
leal -0x1(%rbp), %r13d
movslq 0x8(%rsp), %rax
movq %rax, 0x20(%rsp)
leaq 0x58fb8(%rip), %rax     # 0x768bc
movslq (%rax), %rbx
imulq 0x20(%rsp), %rbx
addq %rbp, %rbx
movslq 0x95720(%r14,%rbx,4), %rax
imulq $0x7c8, %rax, %rax      # imm = 0x7C8
cmpb $0x1, 0x7c4(%r15,%rax)
jne 0x1d978
movl $0x1, %edx
movq %r12, %r15
movq %r14, %r12
movq 0x586ac(%rip), %r14     # 0x75fe8
movq %r14, %rdi
leaq 0x3fcba(%rip), %rsi     # 0x5d600
callq 0x6490
movq (%r14), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%r14,%rax)
movl 0x95720(%r12,%rbx,4), %esi
movq %r14, %rdi
movq %r12, %r14
movq %r15, %r12
movq 0x18(%rsp), %r15
callq 0x6730
jmp 0x1d990
movl $0x4, %edx
movq 0x58664(%rip), %rdi     # 0x75fe8
leaq 0x3f76d(%rip), %rsi     # 0x5d0f8
callq 0x6490
incl %r13d
incq %rbp
cmpl (%r12), %r13d
jl 0x1d8fd
movq 0x58641(%rip), %rbx     # 0x75fe8
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x63c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6290
movq 0x8(%rsp), %rcx
leal 0x1(%rcx), %eax
movl 0x14(%rsp), %edx
incl %edx
cmpl (%r12), %ecx
movq %rax, 0x8(%rsp)
jl 0x1d89e
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x63c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6290
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq