// File: /workspace/github_cpp_makefile_star2_O1/tewalds[P]morat/havannah/lbdist.h
// Function: Morat::Havannah::LBDists::init_player(bool, Morat::Side)
void init_player(bool crossvcs, Side player) {
		int e = board->lines() - 1;
		int m = e / 2;

		init(0, 0, 0, player, 3); flood(0, player, crossvcs); //corner 0
		init(m, 0, 1, player, 4); flood(1, player, crossvcs); //corner 1
		init(e, m, 2, player, 5); flood(2, player, crossvcs); //corner 2
		init(e, e, 3, player, 0); flood(3, player, crossvcs); //corner 3
		init(m, e, 4, player, 1); flood(4, player, crossvcs); //corner 4
		init(0, m, 5, player, 2); flood(5, player, crossvcs); //corner 5

		for(int x = 1; x < m; x++)   { init(x,   0, 6,  player, 3+(x==1));   } flood(6,  player, crossvcs); //edge 0
		for(int y = 1; y < m; y++)   { init(m+y, y, 7,  player, 4+(y==1));   } flood(7,  player, crossvcs); //edge 1
		for(int y = m+1; y < e; y++) { init(e,   y, 8,  player, 5+(y==m+1)); } flood(8,  player, crossvcs); //edge 2
		for(int x = m+1; x < e; x++) { init(x,   e, 9,  player, 0+(x==e-1)); } flood(9,  player, crossvcs); //edge 3
		for(int x = 1; x < m; x++)   { init(x, m+x, 10, player, 1+(x==m-1)); } flood(10, player, crossvcs); //edge 4
		for(int y = 1; y < m; y++)   { init(0,   y, 11, player, 2+(y==m-1)); } flood(11, player, crossvcs); //edge 5
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %r15d
movl %esi, %r12d
movq %rdi, %rbx
movq 0xcb28(%rdi), %rax
movsbl (%rax), %ecx
movq %rcx, 0x8(%rsp)
leal -0x1(%rcx), %ebp
movl %ebp, %eax
shrl $0x1f, %eax
leal -0x1(%rcx,%rax), %r14d
sarl %r14d
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
movl %r15d, %r8d
movl $0x3, %r9d
callq 0x192ba
movq %rbx, %rdi
xorl %esi, %esi
movl %r15d, %edx
movl %r12d, %ecx
movl %r12d, 0x4(%rsp)
callq 0x19374
movl $0x1, %r13d
movq %rbx, %rdi
movl %r14d, %esi
xorl %edx, %edx
movl $0x1, %ecx
movl %r15d, %r8d
movl $0x4, %r9d
callq 0x192ba
movq %rbx, %rdi
movl $0x1, %esi
movl %r15d, %edx
movl %r12d, %ecx
callq 0x19374
movl $0x2, %r12d
movq %rbx, %rdi
movl %ebp, %esi
movl %r14d, %edx
movl $0x2, %ecx
movl %r15d, %r8d
movl $0x5, %r9d
callq 0x192ba
movq %rbx, %rdi
movl $0x2, %esi
movl %r15d, %edx
movl 0x4(%rsp), %ecx
callq 0x19374
movq %rbx, %rdi
movl %ebp, %esi
movl %ebp, %edx
movl $0x3, %ecx
movl %r15d, %r8d
xorl %r9d, %r9d
callq 0x192ba
movq %rbx, %rdi
movl $0x3, %esi
movl %r15d, %edx
movl 0x4(%rsp), %ecx
callq 0x19374
movq %rbx, %rdi
movl %r14d, %esi
movl %ebp, %edx
movl $0x4, %ecx
movl %r15d, %r8d
movl $0x1, %r9d
callq 0x192ba
movq %rbx, %rdi
movl $0x4, %esi
movl %r15d, %edx
movl 0x4(%rsp), %ecx
callq 0x19374
movq %rbx, %rdi
xorl %esi, %esi
movl %r14d, %edx
movl $0x5, %ecx
movl %r15d, %r8d
movl $0x2, %r9d
callq 0x192ba
movq %rbx, %rdi
movl $0x5, %esi
movl %r15d, %edx
movl 0x4(%rsp), %ecx
callq 0x19374
movzbl %r15b, %r15d
cmpl $0x5, 0x8(%rsp)
jl 0x190aa
cmpl $0x3, %r14d
cmovgel %r14d, %r12d
xorl %r9d, %r9d
cmpl $0x1, %r13d
sete %r9b
addl $0x3, %r9d
movq %rbx, %rdi
movl %r13d, %esi
xorl %edx, %edx
movl $0x6, %ecx
movl %r15d, %r8d
callq 0x192ba
incl %r13d
cmpl %r13d, %r12d
jne 0x1907e
movzbl 0x4(%rsp), %ecx
movq %rbx, %rdi
movl $0x6, %esi
movl %r15d, %edx
movl %ecx, 0x4(%rsp)
callq 0x19374
cmpb $0x5, 0x8(%rsp)
jl 0x1910c
cmpl $0x3, %r14d
movl $0x2, %r12d
cmovgel %r14d, %r12d
movl $0x1, %r13d
leal (%r14,%r13), %esi
xorl %r9d, %r9d
cmpl $0x1, %r13d
sete %r9b
orl $0x4, %r9d
movq %rbx, %rdi
movl %r13d, %edx
movl $0x7, %ecx
movl %r15d, %r8d
callq 0x192ba
incl %r13d
cmpl %r13d, %r12d
jne 0x190de
movq %rbx, %rdi
movl $0x7, %esi
movl %r15d, %edx
movl 0x4(%rsp), %ecx
callq 0x19374
movq %r14, 0x10(%rsp)
leal 0x1(%r14), %r13d
cmpl %ebp, %r13d
jge 0x1916f
movq 0x8(%rsp), %rax
movl %eax, %r12d
subl 0x10(%rsp), %r12d
addl $-0x2, %r12d
xorl %r14d, %r14d
leal (%r13,%r14), %edx
cmpl $0x1, %r14d
movl $0x0, %r9d
adcl $0x5, %r9d
movq %rbx, %rdi
movl %ebp, %esi
movl $0x8, %ecx
movl %r15d, %r8d
callq 0x192ba
incl %r14d
cmpl %r14d, %r12d
jne 0x19142
movq %rbx, %rdi
movl $0x8, %esi
movl %r15d, %edx
movl 0x4(%rsp), %ecx
callq 0x19374
cmpl %ebp, %r13d
jge 0x191c5
movq 0x8(%rsp), %r12
negl %r12d
leal (%r12,%r13), %eax
xorl %r9d, %r9d
cmpl $-0x2, %eax
sete %r9b
movq %rbx, %rdi
movl %r13d, %esi
movl %ebp, %edx
movl $0x9, %ecx
movl %r15d, %r8d
callq 0x192ba
leal 0x1(%r12,%r13), %eax
movl %r13d, %ecx
incl %ecx
movl %ecx, %r13d
cmpl $-0x1, %eax
jne 0x19190
movq %rbx, %rdi
movl $0x9, %esi
movl %r15d, %edx
movl 0x4(%rsp), %ecx
callq 0x19374
cmpb $0x5, 0x8(%rsp)
movq 0x10(%rsp), %r14
jl 0x19232
cmpl $0x3, %r14d
movl $0x2, %ebp
movl $0x2, %r12d
cmovgel %r14d, %r12d
subl %r14d, %ebp
movl $0x1, %r13d
leal (%rbp,%r13), %eax
leal (%r14,%r13), %edx
xorl %r9d, %r9d
cmpl $0x1, %eax
sete %r9b
incl %r9d
movq %rbx, %rdi
movl %r13d, %esi
movl $0xa, %ecx
movl %r15d, %r8d
callq 0x192ba
incl %r13d
cmpl %r13d, %r12d
jne 0x19201
movq %rbx, %rdi
movl $0xa, %esi
movl %r15d, %edx
movl 0x4(%rsp), %ecx
callq 0x19374
cmpb $0x5, 0x8(%rsp)
jl 0x19298
cmpl $0x3, %r14d
movl $0x2, %r12d
movl $0x2, %ebp
cmovgel %r14d, %ebp
subl %r14d, %r12d
movl $0x1, %r14d
leal (%r12,%r14), %eax
xorl %r9d, %r9d
cmpl $0x1, %eax
sete %r9b
orl $0x2, %r9d
movq %rbx, %rdi
xorl %esi, %esi
movl %r14d, %edx
movl $0xb, %ecx
movl %r15d, %r8d
callq 0x192ba
incl %r14d
cmpl %r14d, %ebp
jne 0x19269
movq %rbx, %rdi
movl $0xb, %esi
movl %r15d, %edx
movl 0x4(%rsp), %ecx
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x19374