// File: /workspace/github_cpp_makefile_star2_O3/kobanium[P]Ray/src/common/Message.cpp
// Function: PrintRate(game_info_t const*, int)
void
PrintRate( const game_info_t *game, const int color )
{
  std::ostringstream oss;

  oss << "Sum : " << game->sum_rate[color - 1] << "\n";

  for (int y = board_start; y <= board_end; y++) {
    oss << std::setw(6) << game->sum_rate_row[color - 1][y] << " | ";
    for (int x = board_start; x <= board_end; x++) {
      const int pos = POS(x, y);
      oss << std::setw(5) << game->rate[color - 1][pos] << " ";
    }
    oss << "\n";
  }

  std::cerr << oss.str() << std::endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movl %esi, %ebx
movq %rdi, %r12
leaq 0x30(%rsp), %r14
movq %r14, %rdi
callq 0x6550
leaq 0x3df1b(%rip), %rsi     # 0x5d34d
movl $0x6, %edx
movq %r14, %rdi
callq 0x6490
movslq %ebx, %r14
movq 0x9dea0(%r12,%r14,8), %rsi
leaq 0x30(%rsp), %rdi
callq 0x6110
leaq 0x4125a(%rip), %rsi     # 0x606b5
movl $0x1, %edx
movq %rax, %rdi
callq 0x6490
leaq 0x57451(%rip), %rax     # 0x768c0
movslq (%rax), %rcx
leaq 0x5744b(%rip), %rax     # 0x768c4
cmpl (%rax), %ecx
jg 0x1f593
decq %r14
leaq 0x9dcd8(%r12), %rax
addq $0x9a848, %r12          # imm = 0x9A848
imulq $0xe8, %r14, %rdx
addq %rax, %rdx
movq %rdx, 0x8(%rsp)
leaq 0x30(%rsp), %rbx
imulq $0x1a48, %r14, %r14     # imm = 0x1A48
addq %r12, %r14
leaq 0x3e148(%rip), %r12     # 0x5d600
movq 0x30(%rsp), %rax
movq -0x18(%rax), %rax
movq $0x6, 0x40(%rsp,%rax)
movq %rcx, (%rsp)
movq 0x8(%rsp), %rax
movq (%rax,%rcx,8), %rsi
movq %rbx, %rdi
callq 0x6110
movl $0x3, %edx
movq %rax, %rdi
leaq 0x3de66(%rip), %rsi     # 0x5d354
callq 0x6490
leaq 0x573c6(%rip), %rax     # 0x768c0
movslq (%rax), %rbp
leaq 0x573c0(%rip), %rax     # 0x768c4
cmpl (%rax), %ebp
jg 0x1f561
leal -0x1(%rbp), %r15d
movslq (%rsp), %r13
leaq 0x573a5(%rip), %rax     # 0x768bc
movslq (%rax), %rax
imulq %r13, %rax
movq 0x30(%rsp), %rcx
movq -0x18(%rcx), %rcx
movq $0x5, 0x40(%rsp,%rcx)
addq %rbp, %rax
movq (%r14,%rax,8), %rsi
movq %rbx, %rdi
callq 0x6110
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x6490
incl %r15d
incq %rbp
leaq 0x57368(%rip), %rax     # 0x768c4
cmpl (%rax), %r15d
jl 0x1f510
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x41145(%rip), %rsi     # 0x606b5
callq 0x6490
movq (%rsp), %rdx
leaq 0x1(%rdx), %rax
leaq 0x57340(%rip), %rcx     # 0x768c4
movslq (%rcx), %rcx
cmpq %rcx, %rdx
movq %rax, %rcx
jl 0x1f4b8
leaq 0x38(%rsp), %rsi
leaq 0x10(%rsp), %rdi
callq 0x6670
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x56a35(%rip), %rdi     # 0x75fe8
callq 0x6490
movq %rax, %rbx
movq (%rax), %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 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1f5fd
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6410
movq 0x56994(%rip), %rsi     # 0x75f98
leaq 0x30(%rsp), %rdi
callq 0x61e0
leaq 0xa0(%rsp), %rdi
callq 0x60f0
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1f653
jmp 0x1f653
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1f656
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6410
jmp 0x1f656
jmp 0x1f653
movq %rax, %rbx
movq 0x5693b(%rip), %rsi     # 0x75f98
leaq 0x30(%rsp), %rdi
callq 0x61e0
leaq 0xa0(%rsp), %rdi
callq 0x60f0
movq %rbx, %rdi
callq 0x6760