// File: /workspace/github_cpp_makefile_star2_O1/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 0x6560
leaq 0x3dd4e(%rip), %rsi     # 0x5d34d
movl $0x6, %edx
movq %r14, %rdi
callq 0x64a0
movslq %ebx, %r14
movq 0x9dea0(%r12,%r14,8), %rsi
leaq 0x30(%rsp), %rdi
callq 0x6110
leaq 0x40f1d(%rip), %rsi     # 0x60545
movl $0x1, %edx
movq %rax, %rdi
callq 0x64a0
leaq 0x56284(%rip), %rax     # 0x758c0
movslq (%rax), %rcx
leaq 0x5627e(%rip), %rax     # 0x758c4
cmpl (%rax), %ecx
jg 0x1f760
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 0x3df7b(%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 0x3dc99(%rip), %rsi     # 0x5d354
callq 0x64a0
leaq 0x561f9(%rip), %rax     # 0x758c0
movslq (%rax), %rbp
leaq 0x561f3(%rip), %rax     # 0x758c4
cmpl (%rax), %ebp
jg 0x1f72e
leal -0x1(%rbp), %r15d
movslq (%rsp), %r13
leaq 0x561d8(%rip), %rax     # 0x758bc
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 0x64a0
incl %r15d
incq %rbp
leaq 0x5619b(%rip), %rax     # 0x758c4
cmpl (%rax), %r15d
jl 0x1f6dd
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x40e08(%rip), %rsi     # 0x60545
callq 0x64a0
movq (%rsp), %rdx
leaq 0x1(%rdx), %rax
leaq 0x56173(%rip), %rcx     # 0x758c4
movslq (%rcx), %rcx
cmpq %rcx, %rdx
movq %rax, %rcx
jl 0x1f685
leaq 0x38(%rsp), %rsi
leaq 0x10(%rsp), %rdi
callq 0x6680
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x55868(%rip), %rdi     # 0x74fe8
callq 0x64a0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x63d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x62a0
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1f7ca
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6420
movq 0x557c7(%rip), %rsi     # 0x74f98
leaq 0x30(%rsp), %rdi
callq 0x61f0
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 0x1f820
jmp 0x1f820
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1f823
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6420
jmp 0x1f823
jmp 0x1f820
movq %rax, %rbx
movq 0x5576e(%rip), %rsi     # 0x74f98
leaq 0x30(%rsp), %rdi
callq 0x61f0
leaq 0xa0(%rsp), %rdi
callq 0x60f0
movq %rbx, %rdi
callq 0x6770