// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/go.c
// Function: print_board
void print_board(FILE *stream, float *board, int player, int *indexes)
{
    int i,j,n;
    fprintf(stream, "   ");
    for(i = 0; i < 19; ++i){
        fprintf(stream, "%c ", 'A' + i + 1*(i > 7 && noi));
    }
    fprintf(stream, "\n");
    for(j = 0; j < 19; ++j){
        fprintf(stream, "%2d", (inverted) ? 19-j : j+1);
        for(i = 0; i < 19; ++i){
            int index = j*19 + i;
            if(indexes){
                int found = 0;
                for(n = 0; n < nind; ++n){
                    if(index == indexes[n]){
                        found = 1;
                        /*
                           if(n == 0) fprintf(stream, "\uff11");
                           else if(n == 1) fprintf(stream, "\uff12");
                           else if(n == 2) fprintf(stream, "\uff13");
                           else if(n == 3) fprintf(stream, "\uff14");
                           else if(n == 4) fprintf(stream, "\uff15");
                         */
                        fprintf(stream, " %d", n+1);
                    }
                }
                if(found) continue;
            }
            //if(board[index]*-swap > 0) fprintf(stream, "\u25C9 ");
            //else if(board[index]*-swap < 0) fprintf(stream, "\u25EF ");
            if      (occupied(board, index) == player) fprintf(stream, " X");
            else if (occupied(board, index) ==-player) fprintf(stream, " O");
            else fprintf(stream, " .");
        }
        fprintf(stream, "\n");
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %rbx
movl %edx, 0x8(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdi, %r15
leaq 0x14751(%rip), %rdi     # 0x5a4b4
movl $0x3, %esi
movl $0x1, %edx
movq %r15, %rcx
callq 0x3440
leaq 0x1473c(%rip), %r12     # 0x5a4b8
xorl %r14d, %r14d
cmpl $0x8, %r14d
setae %al
cmpl $0x0, 0x26593(%rip)     # 0x6c320
setne %cl
andb %al, %cl
movzbl %cl, %eax
leal (%r14,%rax), %edx
addl $0x41, %edx
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x3270
incl %r14d
cmpl $0x13, %r14d
jne 0x45d7f
movl $0xa, %edi
movq %r15, %rsi
callq 0x31f0
movl 0x8(%rsp), %eax
negl %eax
movl %eax, 0xc(%rsp)
xorl %r14d, %r14d
movl $0x13, %eax
subl %r14d, %eax
cmpl $0x0, 0x26541(%rip)     # 0x6c31c
leaq 0x1(%r14), %rcx
movq %rcx, 0x10(%rsp)
movl %ecx, %edx
cmovnel %eax, %edx
movq %r15, %r13
movq %r15, %rdi
leaq 0x146c6(%rip), %rsi     # 0x5a4bc
xorl %eax, %eax
callq 0x3270
leaq (%r14,%r14,8), %rax
leaq (%r14,%rax,2), %rax
movq %rax, 0x20(%rsp)
xorl %ebp, %ebp
xorps %xmm1, %xmm1
movq 0x20(%rsp), %rax
leaq (%rax,%rbp), %r14
testq %rbx, %rbx
je 0x45e63
movb $0x1, %r15b
xorl %r12d, %r12d
incq %r12
movl -0x4(%rbx,%r12,4), %eax
cmpq %rax, %r14
je 0x45e3b
incq %r12
cmpq $0xb, %r12
jne 0x45e26
jmp 0x45e5d
xorl %r15d, %r15d
movq %r13, %rdi
leaq 0x14b86(%rip), %rsi     # 0x5a9ce
movl %r12d, %edx
xorl %eax, %eax
callq 0x3270
xorps %xmm1, %xmm1
cmpq $0xa, %r12
jne 0x45e23
jmp 0x45ed3
testb $0x1, %r15b
je 0x45ed3
movq 0x18(%rsp), %rax
movss (%rax,%r14,4), %xmm0
ucomiss %xmm1, %xmm0
jne 0x45e75
jnp 0x45e88
movl $0x1, %eax
leaq 0x1463f(%rip), %rdi     # 0x5a4c0
cmpl $0x1, 0x8(%rsp)
jmp 0x45ea6
movss 0x5a4(%rax,%r14,4), %xmm0
cmpneqss %xmm1, %xmm0
movd %xmm0, %eax
leaq 0x1461e(%rip), %rdi     # 0x5a4c0
cmpl 0x8(%rsp), %eax
movq %r13, %rcx
je 0x45ec1
cmpl 0xc(%rsp), %eax
leaq 0x14610(%rip), %rdi     # 0x5a4c6
leaq 0x14606(%rip), %rax     # 0x5a4c3
cmoveq %rax, %rdi
movl $0x2, %esi
movl $0x1, %edx
callq 0x3440
xorps %xmm1, %xmm1
incq %rbp
cmpq $0x13, %rbp
jne 0x45e0f
movl $0xa, %edi
movq %r13, %r15
movq %r13, %rsi
callq 0x31f0
movq 0x10(%rsp), %r14
cmpq $0x13, %r14
jne 0x45dcc
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq