// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
leaq 0x1c87f(%rip), %rsi     # 0x75c01
movb $0x0, %al
callq 0x3240
movl $0x0, -0x24(%rbp)
cmpl $0x13, -0x24(%rbp)
jge 0x593ec
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
movl -0x24(%rbp), %eax
addl $0x41, %eax
movl %eax, -0x3c(%rbp)
xorl %eax, %eax
cmpl $0x7, -0x24(%rbp)
movb %al, -0x35(%rbp)
jle 0x593bf
cmpl $0x0, 0x2a4bb(%rip)     # 0x83874
setne %al
movb %al, -0x35(%rbp)
movq -0x48(%rbp), %rdi
movl -0x3c(%rbp), %edx
movb -0x35(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
shll $0x0, %eax
addl %eax, %edx
leaq 0x1c82b(%rip), %rsi     # 0x75c05
movb $0x0, %al
callq 0x3240
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x59390
movq -0x8(%rbp), %rdi
leaq 0x1c9b7(%rip), %rsi     # 0x75dae
movb $0x0, %al
callq 0x3240
movl $0x0, -0x28(%rbp)
cmpl $0x13, -0x28(%rbp)
jge 0x59559
movq -0x8(%rbp), %rax
movq %rax, -0x50(%rbp)
cmpl $0x0, 0x2a452(%rip)     # 0x83870
je 0x5942d
movl $0x13, %eax
subl -0x28(%rbp), %eax
movl %eax, -0x54(%rbp)
jmp 0x59436
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
movq -0x50(%rbp), %rdi
movl -0x54(%rbp), %edx
leaq 0x1c7c5(%rip), %rsi     # 0x75c09
movb $0x0, %al
callq 0x3240
movl $0x0, -0x24(%rbp)
cmpl $0x13, -0x24(%rbp)
jge 0x59539
imull $0x13, -0x28(%rbp), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x30(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0x594c7
movl $0x0, -0x34(%rbp)
movl $0x0, -0x2c(%rbp)
cmpl $0xa, -0x2c(%rbp)
jge 0x594bd
movl -0x30(%rbp), %eax
movq -0x20(%rbp), %rcx
movslq -0x2c(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jne 0x594b0
movl $0x1, -0x34(%rbp)
movq -0x8(%rbp), %rdi
movl -0x2c(%rbp), %edx
addl $0x1, %edx
leaq 0x1cc77(%rip), %rsi     # 0x76120
movb $0x0, %al
callq 0x3240
jmp 0x594b2
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x5947b
cmpl $0x0, -0x34(%rbp)
je 0x594c5
jmp 0x5952b
jmp 0x594c7
movq -0x10(%rbp), %rdi
movl -0x30(%rbp), %esi
callq 0x58d60
cmpl -0x14(%rbp), %eax
jne 0x594ec
movq -0x8(%rbp), %rdi
leaq 0x1c72a(%rip), %rsi     # 0x75c0d
movb $0x0, %al
callq 0x3240
jmp 0x59529
movq -0x10(%rbp), %rdi
movl -0x30(%rbp), %esi
callq 0x58d60
xorl %ecx, %ecx
subl -0x14(%rbp), %ecx
cmpl %ecx, %eax
jne 0x59515
movq -0x8(%rbp), %rdi
leaq 0x1c704(%rip), %rsi     # 0x75c10
movb $0x0, %al
callq 0x3240
jmp 0x59527
movq -0x8(%rbp), %rdi
leaq 0x1c6f3(%rip), %rsi     # 0x75c13
movb $0x0, %al
callq 0x3240
jmp 0x59529
jmp 0x5952b
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x59452
movq -0x8(%rbp), %rdi
leaq 0x1c86a(%rip), %rsi     # 0x75dae
movb $0x0, %al
callq 0x3240
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x59405
addq $0x60, %rsp
popq %rbp
retq
nop