// File: /workspace/github_cpp_makefile_star2_O1/tewalds[P]morat/pentago/agentmcts.cpp
// Function: Morat::Pentago::AgentMCTS::search(double, unsigned long, int)
void AgentMCTS::search(double time, uint64_t max_runs, int verbose){
	Side to_play = rootboard.to_play();

	if(rootboard.outcome() >= Outcome::DRAW || (time <= 0 && max_runs == 0))
		return;

	Time starttime;

	pool.pause();

	if(runs)
		logerr("Pondered " + to_str(runs) + " runs\n");

	runs = 0;
	maxruns = max_runs;
	pool.reset();

	//let them run!
	pool.resume();

	pool.wait_pause(time);

	double time_used = Time() - starttime;


	if(verbose){
		DepthStats gamelen, treelen;
		double times[4] = {0,0,0,0};
		for(auto & t : pool){
			gamelen += t->gamelen;
			treelen += t->treelen;

			for(int a = 0; a < 4; a++)
				times[a] += t->times[a];
		}

		logerr("Finished:    " + to_str(runs) + " runs in " + to_str(time_used*1000, 0) + " msec: " + to_str(runs/time_used, 0) + " Games/s\n");
		if(runs > 0){
			logerr("Game length: " + gamelen.to_s() + "\n");
			logerr("Tree depth:  " + treelen.to_s() + "\n");
			if(profile)
				logerr("Times:       " + to_str(times[0], 3) + ", " + to_str(times[1], 3) + ", " + to_str(times[2], 3) + ", " + to_str(times[3], 3) + "\n");
		}

		if(root.outcome != Outcome::UNKNOWN)
			logerr("Solved as a " + root.outcome.to_s_rel(to_play) + "\n");

		std::string pvstr;
		for(auto m : get_pv())
			pvstr += " " + m.to_s();
		logerr("PV:         " + pvstr + "\n");

		if(verbose >= 3 && !root.children.empty())
			logerr("Move stats:\n" + move_stats(vecmove()));
	}

	pool.reset();
	runs = 0;


	if(ponder && root.outcome < Outcome::DRAW)
		pool.resume();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x318, %rsp            # imm = 0x318
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r13
movb 0x99(%rdi), %bpl
movb 0x9a(%rdi), %al
leaq 0x2227c(%rip), %rcx     # 0x31da5
cmpb (%rcx), %al
jne 0xfb4c
leaq 0x80(%r13), %rdi
vmovsd %xmm0, 0x48(%rsp)
callq 0xe358
vmovsd 0x48(%rsp), %xmm0
movb %al, 0x9a(%r13)
movb 0x9a(%r13), %al
leaq 0x2224f(%rip), %r12     # 0x31da9
cmpb (%r12), %al
jge 0xfc56
vxorpd %xmm1, %xmm1, %xmm1
vucomisd %xmm0, %xmm1
setae %al
testq %r15, %r15
sete %cl
testb %cl, %al
jne 0xfc56
vmovsd %xmm0, 0x48(%rsp)
movl %ebx, 0x9c(%rsp)
leaq 0xc0(%rsp), %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x5600
vcvtsi2sdq (%r14), %xmm2, %xmm0
vmovsd %xmm0, 0x120(%rsp)
vcvtsi2sdq 0x8(%r14), %xmm2, %xmm0
vmovsd %xmm0, 0x178(%rsp)
leaq 0x14a8(%r13), %r14
movq %r14, %rdi
callq 0x131e0
movq 0xd8(%r13), %rsi
testq %rsi, %rsi
jne 0xfc68
movq $0x0, 0xd8(%r13)
movq %r15, 0xe0(%r13)
movq %r14, %rdi
callq 0x13254
movq %r14, %rdi
callq 0x132ca
movq %r14, %rdi
vmovsd 0x48(%rsp), %xmm0
callq 0x1330e
xorl %ebx, %ebx
leaq 0xc0(%rsp), %rdi
xorl %esi, %esi
callq 0x5600
cmpl $0x0, 0x9c(%rsp)
jne 0xfcc9
movq %r14, %rdi
callq 0x13254
movq $0x0, 0xd8(%r13)
cmpb $0x1, 0x38(%r13)
jne 0xfc56
movb 0xba(%r13), %al
cmpb (%r12), %al
jge 0xfc56
movq %r14, %rdi
callq 0x132ca
addq $0x318, %rsp            # imm = 0x318
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r14, 0x90(%rsp)
movq %r12, %rbx
leaq 0x100(%rsp), %r12
movq %r12, %rdi
callq 0xd392
leaq 0x1da3b(%rip), %rcx     # 0x2d6c5
movl $0x9, %r8d
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x53c0
leaq 0xd0(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0xfe97
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%r14)
jmp 0xfeaa
vcvtsi2sdq 0xc0(%rsp), %xmm2, %xmm0
vmovsd %xmm0, 0x90(%rsp)
vcvtsi2sdq 0xc8(%rsp), %xmm2, %xmm0
vmovsd %xmm0, 0x170(%rsp)
movl %ebx, 0xc8(%rsp)
movl $0x3b9aca00, %eax       # imm = 0x3B9ACA00
movq %rax, 0xc0(%rsp)
vxorpd %xmm0, %xmm0, %xmm0
vmovupd %xmm0, 0xd0(%rsp)
movl %ebx, 0x108(%rsp)
movq %rax, 0x100(%rsp)
vmovupd %xmm0, 0x110(%rsp)
movq 0x14b0(%r13), %rax
movq 0x14b8(%r13), %rcx
vxorpd %xmm2, %xmm2, %xmm2
cmpq %rcx, %rax
je 0xfe30
movl 0x100(%rsp), %esi
movl 0x104(%rsp), %edi
movl 0x108(%rsp), %edx
movl 0xc0(%rsp), %r9d
movl 0xc4(%rsp), %r10d
movl 0xc8(%rsp), %r8d
vmovdqu 0xd0(%rsp), %xmm0
vmovdqu 0x110(%rsp), %xmm1
movq (%rax), %r11
movl 0xa0(%r11), %ebx
cmpl %ebx, %r9d
jbe 0xfd9b
movl %ebx, 0xc0(%rsp)
movl %ebx, %r9d
movl 0xa4(%r11), %ebx
cmpl %ebx, %r10d
jae 0xfdb1
movl %ebx, 0xc4(%rsp)
movl %ebx, %r10d
movl 0x80(%r11), %ebx
cmpl %ebx, %esi
jbe 0xfdc5
movl %ebx, 0x100(%rsp)
movl %ebx, %esi
movl 0x84(%r11), %ebx
cmpl %ebx, %edi
jae 0xfdd9
movl %ebx, 0x104(%rsp)
movl %ebx, %edi
addl 0xa8(%r11), %r8d
vpaddq 0xb0(%r11), %xmm0, %xmm0
addl 0x88(%r11), %edx
vpaddq 0x90(%r11), %xmm1, %xmm1
vaddpd 0xc0(%r11), %ymm2, %ymm2
addq $0x8, %rax
cmpq %rcx, %rax
jne 0xfd82
movl %r8d, 0xc8(%rsp)
vmovdqu %xmm0, 0xd0(%rsp)
movl %edx, 0x108(%rsp)
vmovdqu %xmm1, 0x110(%rsp)
vmovupd %ymm2, 0x2c0(%rsp)
movq 0xd8(%r13), %rsi
leaq 0x150(%rsp), %r15
movq %r15, %rdi
vzeroupper
callq 0xd392
leaq 0x1d334(%rip), %rcx     # 0x2d18e
movl $0xd, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x53c0
leaq 0xb0(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0xff04
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%r12)
jmp 0xff17
movq %rdx, 0xc0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd0(%rsp)
movq %rbx, %r12
movq 0x8(%rax), %rdx
leaq 0xc0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x1d7fc(%rip), %rsi     # 0x2d6cf
callq 0x5720
leaq 0x2b0(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0xffad
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%rbx)
jmp 0xffc0
movq %rdx, 0xa0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb0(%rsp)
movq %r13, 0x48(%rsp)
movq 0x8(%rax), %rdx
leaq 0xa0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x1d794(%rip), %rsi     # 0x2d6d6
callq 0x5720
vmovsd 0x178(%rsp), %xmm0
vdivsd 0x1c0b0(%rip), %xmm0, %xmm0 # 0x2c008
vaddsd 0x120(%rsp), %xmm0, %xmm0
vmovsd 0x170(%rsp), %xmm1
vdivsd 0x1c096(%rip), %xmm1, %xmm1 # 0x2c008
vaddsd 0x90(%rsp), %xmm1, %xmm1
vsubsd %xmm0, %xmm1, %xmm1
leaq 0x80(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x1003d
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%r13)
jmp 0x1004d
movq %rdx, 0x2a0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x2b0(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x2a8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x2cff6(%rip), %rax     # 0x3cfd8
movq (%rax), %rsi
movq 0x2a0(%rsp), %rdi
callq 0x53b0
movq 0x2a0(%rsp), %rdi
cmpq %rbx, %rdi
je 0x10004
callq 0x5310
movq 0xc0(%rsp), %rdi
cmpq %r14, %rdi
je 0x10016
callq 0x5310
leaq 0x110(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
movq 0x90(%rsp), %r14
je 0xfbd8
callq 0x5310
jmp 0xfbd8
movq %rdx, 0x70(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x80(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x78(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
vmovsd %xmm1, 0x120(%rsp)
vmulsd 0x1d0ca(%rip), %xmm1, %xmm0 # 0x2d140
leaq 0xe0(%rsp), %rdi
xorl %esi, %esi
callq 0x2a99c
movq 0x70(%rsp), %rcx
movq 0x78(%rsp), %r8
movq 0xe8(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r13, %rcx
je 0x100ad
movq 0x80(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x100d2
leaq 0xf0(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x100cd
movq 0xf0(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x100e6
movq 0xe0(%rsp), %rsi
leaq 0x70(%rsp), %rdi
callq 0x50e0
jmp 0x100f7
leaq 0xe0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x53c0
leaq 0x60(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
jne 0x10116
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%rdx)
jmp 0x10123
movq %rsi, 0x50(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x60(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x58(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x1d060(%rip), %rsi     # 0x2d1a7
leaq 0x50(%rsp), %rdi
callq 0x5720
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
vmovsd 0x120(%rsp), %xmm1
jne 0x1017d
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%r15)
jmp 0x1018a
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x48(%rsp), %rax
vcvtusi2sdq 0xd8(%rax), %xmm3, %xmm0
vdivsd %xmm1, %xmm0, %xmm0
leaq 0x130(%rsp), %rdi
xorl %esi, %esi
callq 0x2a99c
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0x138(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r15, %rcx
je 0x101e6
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x1020b
leaq 0x140(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x10206
movq 0x140(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x1021f
movq 0x130(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x50e0
jmp 0x10230
leaq 0x130(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x53c0
leaq 0x38(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
jne 0x1024f
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%rdx)
jmp 0x1025c
movq %rsi, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x1d460(%rip), %rsi     # 0x2d6e0
leaq 0x28(%rsp), %rdi
callq 0x5720
leaq 0x290(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x102af
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%rbx)
jmp 0x102c2
movq %rdx, 0x280(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x290(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x288(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x2ccf4(%rip), %rax     # 0x3cfd8
movq (%rax), %rsi
movq 0x280(%rsp), %rdi
callq 0x53b0
movq 0x280(%rsp), %rdi
cmpq %rbx, %rdi
je 0x10306
callq 0x5310
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10319
callq 0x5310
leaq 0x140(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1032f
callq 0x5310
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x1033e
callq 0x5310
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10351
callq 0x5310
leaq 0xf0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10367
callq 0x5310
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x10376
callq 0x5310
movq 0xa0(%rsp), %rdi
cmpq %r12, %rdi
je 0x10388
callq 0x5310
movq %r14, 0x90(%rsp)
leaq 0x160(%rsp), %r12
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0x103a7
callq 0x5310
movq 0x48(%rsp), %r14
cmpq $0x0, 0xd8(%r14)
je 0x10bf2
leaq 0x8(%rsp), %r15
leaq 0xc0(%rsp), %rsi
movq %r15, %rdi
callq 0x1342e
leaq 0x1d314(%rip), %rcx     # 0x2d6ea
movl $0xd, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x53c0
leaq 0x38(%rsp), %rsi
movq %rsi, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x1040b
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%rsi)
jmp 0x10418
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
leaq 0x18(%rsp), %r14
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x1c402(%rip), %rsi     # 0x2c842
callq 0x5720
leaq 0x270(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x1046a
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%rbx)
jmp 0x1047d
movq %rdx, 0x260(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x270(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x268(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x2cb39(%rip), %rax     # 0x3cfd8
movq (%rax), %rsi
movq 0x260(%rsp), %rdi
callq 0x53b0
movq 0x260(%rsp), %rdi
cmpq %rbx, %rdi
je 0x104c1
callq 0x5310
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x104d5
callq 0x5310
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x104e4
callq 0x5310
leaq 0x8(%rsp), %r15
leaq 0x100(%rsp), %rsi
movq %r15, %rdi
callq 0x1342e
leaq 0x1d1f8(%rip), %rcx     # 0x2d6f8
movl $0xd, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x53c0
leaq 0x38(%rsp), %rsi
movq %rsi, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x10535
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%rsi)
jmp 0x10542
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
leaq 0x18(%rsp), %r14
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x1c2d8(%rip), %rsi     # 0x2c842
callq 0x5720
leaq 0x250(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x10594
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%rbx)
jmp 0x105a7
movq %rdx, 0x240(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x250(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x248(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x2ca0f(%rip), %rax     # 0x3cfd8
movq (%rax), %rsi
movq 0x240(%rsp), %rdi
callq 0x53b0
movq 0x240(%rsp), %rdi
cmpq %rbx, %rdi
je 0x105eb
callq 0x5310
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x105ff
callq 0x5310
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x1060e
callq 0x5310
movq 0x48(%rsp), %r14
cmpb $0x1, 0x48(%r14)
jne 0x10bf2
leaq 0x130(%rsp), %r15
movq %r15, %rdi
vmovups 0x2c0(%rsp), %ymm0
movl $0x3, %esi
vzeroupper
callq 0x2a99c
leaq 0x1d0c0(%rip), %rcx     # 0x2d706
movl $0xd, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x53c0
leaq 0xf0(%rsp), %r15
movq %r15, 0xe0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x10682
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%r15)
jmp 0x10695
movq %rdx, 0xe0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xf0(%rsp)
leaq 0x18(%rsp), %r14
movq 0x8(%rax), %rdx
leaq 0xe0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x1cabc(%rip), %rsi     # 0x2d17c
callq 0x5720
movq %r12, 0x150(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
vmovupd 0x2c0(%rsp), %ymm1
jne 0x106f1
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%r12)
jmp 0x10704
movq %rdx, 0x150(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x160(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x158(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
vshufpd $0x1, %xmm1, %xmm1, %xmm0 # xmm0 = xmm1[1,0]
leaq 0x1c0(%rsp), %rdi
movl $0x3, %esi
vzeroupper
callq 0x2a99c
movq 0x150(%rsp), %rcx
movq 0x158(%rsp), %r8
movq 0x1c8(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0x10767
movq 0x160(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x1078c
leaq 0x1d0(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x10787
movq 0x1d0(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x107a3
movq 0x1c0(%rsp), %rsi
leaq 0x150(%rsp), %rdi
callq 0x50e0
jmp 0x107b4
leaq 0x1c0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x53c0
leaq 0xb0(%rsp), %rsi
movq %rsi, 0xa0(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
jne 0x107da
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%rsi)
jmp 0x107ed
movq %rdx, 0xa0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb0(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0xa8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x1c968(%rip), %rsi     # 0x2d17c
leaq 0xa0(%rsp), %rdi
callq 0x5720
movq %r13, 0x70(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
vmovupd 0x2c0(%rsp), %ymm1
jne 0x1084a
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%r13)
jmp 0x1085a
movq %rdx, 0x70(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x80(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x78(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
vextractf128 $0x1, %ymm1, %xmm0
leaq 0x1a0(%rsp), %rdi
vmovapd %xmm0, 0x120(%rsp)
movl $0x3, %esi
vzeroupper
callq 0x2a99c
movq 0x70(%rsp), %rcx
movq 0x78(%rsp), %r8
movq 0x1a8(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r13, %rcx
je 0x108be
movq 0x80(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x108e3
leaq 0x1b0(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x108de
movq 0x1b0(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x108f7
movq 0x1a0(%rsp), %rsi
leaq 0x70(%rsp), %rdi
callq 0x50e0
jmp 0x10908
leaq 0x1a0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x53c0
leaq 0x60(%rsp), %rsi
movq %rsi, 0x50(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
jne 0x10928
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%rsi)
jmp 0x10935
movq %rdx, 0x50(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x60(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x58(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x1c823(%rip), %rsi     # 0x2d17c
leaq 0x50(%rsp), %rdi
callq 0x5720
movq %r14, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x10982
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%r14)
jmp 0x1098f
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
vmovapd 0x120(%rsp), %xmm0
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
vshufpd $0x1, %xmm0, %xmm0, %xmm0 # xmm0 = xmm0[1,0]
leaq 0x180(%rsp), %rdi
movl $0x3, %esi
callq 0x2a99c
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0x188(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r14, %rcx
je 0x109ec
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x10a11
leaq 0x190(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x10a0c
movq 0x190(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x10a25
movq 0x180(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x50e0
jmp 0x10a36
leaq 0x180(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x53c0
leaq 0x38(%rsp), %rsi
movq %rsi, 0x28(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
jne 0x10a56
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%rsi)
jmp 0x10a63
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x1bdbb(%rip), %rsi     # 0x2c842
leaq 0x28(%rsp), %rdi
callq 0x5720
leaq 0x230(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x10ab6
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%rbx)
jmp 0x10ac9
movq %rdx, 0x220(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x230(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x228(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x2c4ed(%rip), %rax     # 0x3cfd8
movq (%rax), %rsi
movq 0x220(%rsp), %rdi
callq 0x53b0
movq 0x220(%rsp), %rdi
cmpq %rbx, %rdi
je 0x10b0d
callq 0x5310
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x10b21
callq 0x5310
leaq 0x190(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10b37
callq 0x5310
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x10b46
callq 0x5310
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x10b5a
callq 0x5310
leaq 0x1b0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10b70
callq 0x5310
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x10b7f
callq 0x5310
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x10b99
callq 0x5310
leaq 0x1d0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10baf
callq 0x5310
movq 0x150(%rsp), %rdi
cmpq %r12, %rdi
je 0x10bc1
callq 0x5310
movq 0xe0(%rsp), %rdi
cmpq %r15, %rdi
je 0x10bd3
callq 0x5310
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
je 0x10bed
callq 0x5310
movq 0x48(%rsp), %r14
movb 0xba(%r14), %al
leaq 0x211a6(%rip), %rcx     # 0x31da6
cmpb (%rcx), %al
leaq 0x38(%rsp), %r12
je 0x10d32
leaq 0xba(%r14), %rsi
movzbl %bpl, %edx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x2a8bc
leaq 0x1cae8(%rip), %rcx     # 0x2d714
movl $0xc, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x53c0
movq %r12, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x10c5e
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%r12)
jmp 0x10c6b
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
leaq 0x18(%rsp), %r15
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x1bbaf(%rip), %rsi     # 0x2c842
callq 0x5720
leaq 0x210(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x10cbd
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%rbx)
jmp 0x10cd0
movq %rdx, 0x200(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x210(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x208(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x2c2e6(%rip), %rax     # 0x3cfd8
movq (%rax), %rsi
movq 0x200(%rsp), %rdi
callq 0x53b0
movq 0x200(%rsp), %rdi
cmpq %rbx, %rdi
je 0x10d14
callq 0x5310
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x10d23
callq 0x5310
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x10d32
callq 0x5310
movq %r12, 0x28(%rsp)
movq $0x0, 0x30(%rsp)
movb $0x0, 0x38(%rsp)
movq (%r14), %rax
leaq 0x70(%rsp), %rdi
movq %r14, %rsi
callq *0x40(%rax)
movq 0x70(%rsp), %r14
movq 0x78(%rsp), %rbx
cmpq %rbx, %r14
je 0x10e3a
leaq 0x50(%rsp), %r15
leaq 0xa0(%rsp), %r12
leaq 0x202bf(%rip), %r13     # 0x31039
leaq 0x28(%rsp), %rbp
movzwl (%r14), %eax
movw %ax, 0xa0(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0xd416
movl $0x1, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r13, %rcx
callq 0x53c0
leaq 0x18(%rsp), %rsi
movq %rsi, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x10dd3
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x10ddb
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x50e0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x10e19
callq 0x5310
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x10e2d
callq 0x5310
addq $0x2, %r14
cmpq %rbx, %r14
jne 0x10d7f
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x10e49
callq 0x5310
leaq 0x1c369(%rip), %rsi     # 0x2d1b9
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x9073
leaq 0x20f43(%rip), %r12     # 0x31da9
movq 0x90(%rsp), %r14
leaq 0x1b9cd(%rip), %rsi     # 0x2c842
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %r15
callq 0x5720
leaq 0x1f0(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq 0x48(%rsp), %r13
jne 0x10eae
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%rbx)
jmp 0x10ec1
movq %rdx, 0x1e0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1f0(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x1e8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x2c0f5(%rip), %rax     # 0x3cfd8
movq (%rax), %rsi
movq 0x1e0(%rsp), %rdi
callq 0x53b0
movq 0x1e0(%rsp), %rdi
cmpq %rbx, %rdi
je 0x10f05
callq 0x5310
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
movl 0x9c(%rsp), %ebx
je 0x10f1b
callq 0x5310
cmpl $0x3, %ebx
jl 0x10f34
movq 0xc0(%r13), %rax
cmpq $0x2, %rax
jb 0x10f34
cmpw $0x0, 0x6(%rax)
jne 0x10f51
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xfc27
callq 0x5310
jmp 0xfc27
vxorpd %xmm0, %xmm0, %xmm0
leaq 0x2e0(%rsp), %rdx
vmovapd %xmm0, (%rdx)
movq $0x0, 0x10(%rdx)
movq (%r13), %rax
leaq 0x8(%rsp), %rdi
movq %r13, %rsi
callq *0x48(%rax)
leaq 0x1c247(%rip), %rcx     # 0x2d1c6
leaq 0x8(%rsp), %rdi
movl $0xc, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x53c0
leaq 0x2f8(%rsp), %rdi
leaq 0x8(%rsp), %rdx
leaq 0x2e0(%rsp), %rcx
movq %rax, %rsi
callq 0x58fc
jmp 0x10f34
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x10fc9
callq 0x5310
jmp 0x10fc9
movq %rax, %rbx
movq 0x2e0(%rsp), %rdi
jmp 0x1126c
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x10ff2
callq 0x5310
jmp 0x10ff2
movq %rax, %rbx
leaq 0x190(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1100d
callq 0x5310
jmp 0x1100d
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x11026
callq 0x5310
jmp 0x11026
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x1103f
callq 0x5310
jmp 0x1103f
movq %rax, %rbx
leaq 0x1b0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1105a
callq 0x5310
jmp 0x1105a
movq %rax, %rbx
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x1106e
callq 0x5310
jmp 0x1106e
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x1108d
callq 0x5310
jmp 0x1108d
movq %rax, %rbx
leaq 0x1d0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x110a8
callq 0x5310
jmp 0x110a8
movq %rax, %rbx
movq 0x150(%rsp), %rdi
cmpq %r12, %rdi
je 0x110ba
callq 0x5310
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x110d4
callq 0x5310
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
jmp 0x11280
movq %rax, %rbx
jmp 0x110ba
movq %rax, %rbx
jmp 0x110d4
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
jne 0x1111a
jmp 0x11124
jmp 0x11121
jmp 0x11108
jmp 0x11121
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x11124
callq 0x5310
jmp 0x11124
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
jmp 0x11280
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
jne 0x11271
jmp 0x11276
jmp 0x1114b
movq %rax, %rbx
jmp 0x11276
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1116e
callq 0x5310
jmp 0x1116e
movq %rax, %rbx
leaq 0x140(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11189
callq 0x5310
jmp 0x11189
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x111a2
callq 0x5310
jmp 0x111a2
movq %rax, %rbx
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x111ba
callq 0x5310
jmp 0x111ba
movq %rax, %rbx
leaq 0xf0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x111d5
callq 0x5310
jmp 0x111d5
movq %rax, %rbx
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x111e9
callq 0x5310
jmp 0x111e9
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
cmpq %r12, %rdi
je 0x11217
callq 0x5310
jmp 0x11217
movq %rax, %rbx
movq 0xc0(%rsp), %rdi
cmpq %r14, %rdi
je 0x11224
callq 0x5310
jmp 0x11224
movq %rax, %rbx
leaq 0x160(%rsp), %rax
jmp 0x1122c
movq %rax, %rbx
leaq 0x110(%rsp), %rax
movq -0x10(%rax), %rdi
jmp 0x11280
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1124e
callq 0x5310
jmp 0x1124e
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x11267
callq 0x5310
jmp 0x11267
movq %rax, %rbx
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x11276
callq 0x5310
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1128a
callq 0x5310
movq %rbx, %rdi
callq 0x56c0