LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/../lib/gtpbase.h
// Function: Morat::GTPBase::run()
bool run(){
		running = true;
		char buf[1001];

		while(running && fgets(buf, 1000, in)){
			std::string line(buf);

			trim(line);

			if(line.length() == 0 || line[0] == '#')
				continue;

			GTPResponse response = cmd(line);

			if(out){
				std::string output = response.to_s();

				fwrite(output.c_str(), 1, output.length(), out);
				fflush(out);
			}
		}
		return running;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x4a8, %rsp            # imm = 0x4A8
movb $0x1, %al
leaq 0xb0(%rsp), %r14
leaq 0x8(%rsp), %r15
leaq 0x68(%rsp), %r12
leaq 0x48(%rsp), %r13
leaq 0x28(%rsp), %rbp
movq %rdi, %rbx
movb $0x1, 0x2c(%rdi)
testb $0x1, %al
je 0x8001
movq (%rbx), %rdx
movl $0x3e8, %esi            # imm = 0x3E8
movq %r14, %rdi
callq 0x5580
testq %rax, %rax
je 0x8005
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x5110
movq %r15, %rdi
callq 0x20f6a
cmpq $0x0, 0x10(%rsp)
je 0x7ff1
movq 0x8(%rsp), %rax
cmpb $0x23, (%rax)
je 0x7ff1
movq %r13, %rdi
movq %r15, %rsi
callq 0x5490
movq %r12, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq 0x7c9e
movq %r13, %rdi
callq 0x5150
cmpq $0x0, 0x8(%rbx)
je 0x7fe9
movq %rbp, %rdi
movq %r12, %rsi
callq 0xa30e
movq 0x28(%rsp), %rdi
movq 0x30(%rsp), %rdx
movq 0x8(%rbx), %rcx
pushq $0x1
popq %rsi
callq 0x56f0
movq 0x8(%rbx), %rdi
callq 0x53e0
movq %rbp, %rdi
callq 0x5150
movq %r12, %rdi
callq 0x7ef6
movq %r15, %rdi
callq 0x5150
movb 0x2c(%rbx), %al
jmp 0x7f46
xorl %eax, %eax
jmp 0x8008
movb 0x2c(%rbx), %al
andb $0x1, %al
addq $0x4a8, %rsp            # imm = 0x4A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x68(%rsp), %rdi
movq %rax, %rbx
callq 0x7ef6
jmp 0x803f
leaq 0x48(%rsp), %rdi
movq %rax, %rbx
callq 0x5150
jmp 0x803f
jmp 0x803c
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x5150
movq %rbx, %rdi
callq 0x5650
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/../lib/gtpbase.h
// Function: Morat::GTPBase::gtp_list_commands(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, bool)
GTPResponse gtp_list_commands(vecstr args, bool showdesc){
		std::string ret = "\n";
		for(unsigned int i = 0; i < callbacks.size(); i++){
			ret += callbacks[i].name;
			if(showdesc && callbacks[i].desc.length() > 0){
				ret += std::string(longest_cmd + 2 - callbacks[i].name.length(), ' ');
				ret += callbacks[i].desc;
			}
			ret += "\n";
		}
		return GTPResponse(true, ret);
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rsi, %r14
leaq 0x38(%rsp), %rbp
leaq 0x19e93(%rip), %rsi     # 0x228dc
leaq 0x58(%rsp), %r12
movq %rdi, 0x10(%rsp)
movl %ecx, %r13d
movq %r12, %rdi
movq %rbp, %rdx
callq 0x5110
xorl %ebx, %ebx
movl %r13d, 0xc(%rsp)
movq 0x10(%r14), %rsi
movq 0x18(%r14), %rax
movl %ebx, %ebx
subq %rsi, %rax
cqto
pushq $0x60
popq %rcx
idivq %rcx
cmpq %rbx, %rax
jbe 0x8b0b
imulq $0x60, %rbx, %r15
addq %r15, %rsi
movq %r12, %rdi
callq 0x5700
testb %r13b, %r13b
je 0x8af5
movq 0x10(%r14), %rax
cmpq $0x0, 0x28(%rax,%r15)
je 0x8af5
movl 0x28(%r14), %esi
addq %r15, %rax
addl $0x2, %esi
subq 0x8(%rax), %rsi
leaq 0x48(%rsp), %rax
movq %rax, 0x38(%rsp)
movq %rbp, %r13
movq %rbp, %rdi
pushq $0x20
popq %rdx
callq 0x53b0
movq %r12, %rdi
movq %r13, %rsi
callq 0x5700
movq %r13, %rdi
callq 0x5150
movq 0x10(%r14), %rax
leaq 0x20(%rax,%r15), %rsi
movq %r12, %rdi
callq 0x5700
movl 0xc(%rsp), %r13d
leaq 0x19de0(%rip), %rsi     # 0x228dc
movq %r12, %rdi
callq 0x56b0
incl %ebx
jmp 0x8a68
leaq 0x18(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x5490
pushq $0x1
popq %rsi
movq 0x10(%rsp), %rbx
leaq 0x18(%rsp), %rdx
movq %rbx, %rdi
callq 0x8d00
leaq 0x18(%rsp), %rdi
callq 0x5150
leaq 0x58(%rsp), %rdi
callq 0x5150
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x18(%rsp), %rdi
movq %rax, %rbx
jmp 0x8b6b
jmp 0x8b72
jmp 0x8b72
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x5150
jmp 0x8b75
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x5150
movq %rbx, %rdi
callq 0x5650
nop
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/board.h
// Function: Morat::Hex::Board::size(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool size(std::string s) {
		if (!valid_size(s))
			return false;
		size_ = from_str<int>(s);
		sizem1_ = size_ - 1;
		neighbor_list_ = gen_neighbor_list();
		num_cells_ = vec_size();
		cells_.resize(vec_size());
		clear();
		return true;
	}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq %rsi, %rdi
movq %rsi, %r14
callq 0x9496
movl %eax, %ebp
testb %al, %al
je 0x948a
movq %r14, %rdi
callq 0x94a7
movb %al, (%rbx)
decb %al
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
movb %al, 0x1(%rbx)
callq 0x1852a
leaq 0x38(%rbx), %rdi
movq %r14, %rsi
callq 0x9630
leaq 0x8(%rsp), %rdi
callq 0x9664
movsbl (%rbx), %esi
leaq 0x10(%rbx), %rdi
imull %esi, %esi
movw %si, 0x2(%rbx)
callq 0x94fe
movq %rbx, %rdi
callq 0x9532
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/../lib/string.h
// Function: float Morat::from_str<float>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
T from_str(const std::string & str){
	std::istringstream sin(str);
	T ret;
	sin >> ret;
	return ret;
}

// Assembly:
pushq %rbx
subq $0x190, %rsp            # imm = 0x190
movq %rdi, %rsi
leaq 0x10(%rsp), %rbx
pushq $0x8
popq %rdx
movq %rbx, %rdi
callq 0x5600
leaq 0xc(%rsp), %rsi
movq %rbx, %rdi
callq 0x5720
vmovss 0xc(%rsp), %xmm0
leaq 0x10(%rsp), %rdi
vmovss %xmm0, 0x8(%rsp)
callq 0x5160
vmovss 0x8(%rsp), %xmm0
addq $0x190, %rsp            # imm = 0x190
popq %rbx
retq
leaq 0x10(%rsp), %rdi
movq %rax, %rbx
callq 0x5160
movq %rbx, %rdi
callq 0x5650
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/board.h
// Function: Morat::Hex::Board::clear()
void clear() {
		last_move_ = M_NONE;
		num_moves_ = 0;
		to_play_ = Side::P1;
		outcome_ = Outcome::UNKNOWN;
		hash.clear();

		for(int y = 0; y < size_; y++){
			for(int x = 0; x < size_; x++){
				MoveValid pos = move_valid(x, y);
				Side s = (on_board(x, y) ? Side::NONE : Side::UNDEF);
				cells_[pos.xy] = Cell(s, pos.xy, 1, edges(x, y), init_pattern(pos));
			}
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x1d966(%rip), %rax     # 0x26eaa
movl $0x78fd0000, 0x4(%rdi)  # imm = 0x78FD0000
vxorps %xmm0, %xmm0, %xmm0
movq %rdi, %rbx
xorl %ebp, %ebp
movb (%rax), %al
movb %al, 0x8(%rdi)
leaq 0x1d94e(%rip), %rax     # 0x26eae
movb (%rax), %al
movb %al, 0x9(%rdi)
vmovups %xmm0, 0x28(%rdi)
movb (%rdi), %al
movsbl %al, %ecx
cmpl %ecx, %ebp
jge 0x9620
xorl %r15d, %r15d
movsbl %al, %ecx
cmpl %ecx, %r15d
jge 0x9619
movq %rbx, %rdi
movl %r15d, %esi
movl %ebp, %edx
callq 0x987e
movl %eax, 0x4(%rsp)
movl %eax, %r12d
movsbl (%rbx), %eax
cmpl %eax, %r15d
setl %cl
cmpl %eax, %ebp
leaq 0x1d8fc(%rip), %rax     # 0x26ea8
setl %dl
andb %cl, %dl
testb $0x1, %dl
je 0x95bd
leaq 0x1d8ec(%rip), %rax     # 0x26ea9
movb (%rax), %r14b
shrl $0x10, %r12d
movq %rbx, %rdi
movl %r15d, %esi
movl %ebp, %edx
callq 0x184fc
leaq 0x4(%rsp), %rsi
movq %rbx, %rdi
movl %eax, %r13d
callq 0x988c
movswq 0x6(%rsp), %rcx
movq 0x10(%rbx), %rdx
incl %r15d
shlq $0x4, %rcx
movb %r14b, (%rdx,%rcx)
movw $0x1, 0x2(%rdx,%rcx)
movw %r12w, 0x4(%rdx,%rcx)
movb %r13b, 0x6(%rdx,%rcx)
movb $0x0, 0x7(%rdx,%rcx)
movq %rax, 0x8(%rdx,%rcx)
movb (%rbx), %al
jmp 0x957a
incl %ebp
jmp 0x956c
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/../lib/gtpbase.h
// Function: Morat::GTPBase::find_callback(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
int find_callback(const std::string & name){
		for(unsigned int i = 0; i < callbacks.size(); i++)
			if(callbacks[i].name == name)
				return i;
		return -1;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
xorl %ebp, %ebp
pushq $0x60
popq %r12
pushq $-0x1
popq %rbx
movq 0x10(%r15), %rdi
movq 0x18(%r15), %rax
movl %ebp, %ecx
subq %rdi, %rax
cqto
idivq %r12
cmpq %rcx, %rax
jbe 0xa0db
imulq $0x60, %rcx, %rax
movq %r14, %rsi
addq %rax, %rdi
callq 0xa20b
testb %al, %al
jne 0xa0d9
incl %ebp
jmp 0xa0ab
movl %ebp, %ebx
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/agentmcts.cpp
// Function: Morat::Hex::AgentMCTS::AgentMCTS(Morat::Hex::Board const&)
AgentMCTS::AgentMCTS(const Board & b) : Agent(b), pool(this) {
	nodes = 0;
	runs = 0;
	gclimit = 5;

	profile     = false;
	ponder      = false;
//#ifdef SINGLE_THREAD ... make sure only 1 thread
	numthreads  = 1;
	pool.set_num_threads(numthreads);
	maxmem      = 1000*1024*1024;

	msrave      = -2;
	msexplore   = 0;

	explore     = 0;
	parentexplore = false;
	ravefactor  = 500;
	decrrave    = 0;
	knowledge   = true;
	userave     = 1;
	useexplore  = 1;
	fpurgency   = 1;
	rollouts    = 5;
	dynwiden    = 0;
	logdynwiden = (dynwiden ? std::log(dynwiden) : 0);

	shortrave   = false;
	keeptree    = true;
	minimax     = 2;
	visitexpand = 1;
	gcsolved    = 100000;
	longestloss = false;

	localreply  = 5;
	locality    = 5;
	connect     = 20;
	size        = 0;
	bridge      = 100;
	dists       = 0;

	weightedrandom = false;
	rolloutpattern = true;
	lastgoodreply  = false;
	instantwin     = 0;

	for(int i = 0; i < 4096; i++)
		gammas[i] = 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
callq 0xd978
leaq 0x2fd74(%rip), %rax     # 0x3b8a0
leaq 0x40e0(%rbx), %r14
movq %rax, (%rbx)
movq %r14, %rdi
callq 0xd98c
leaq 0x4130(%rbx), %r15
movq %r15, %rdi
callq 0xd9ba
leaq 0x54f0(%rbx), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0xda18
andq $0x0, 0x4110(%rbx)
andq $0x0, 0x4120(%rbx)
xorl %eax, %eax
movl $0x5, 0x4118(%rbx)
movb %al, 0x68(%rbx)
movb %al, 0x58(%rbx)
movl $0x1, 0x5c(%rbx)
pushq $0x1
popq %rsi
movq %r13, %rdi
callq 0xda86
vmovss 0x1767d(%rip), %xmm0    # 0x23218
vmovsd 0x1769d(%rip), %xmm1    # 0x23240
vbroadcastss 0x17670(%rip), %xmm2 # 0x2321c
movq $0x3e800000, 0x60(%rbx) # imm = 0x3E800000
xorl %eax, %eax
movb $0x1, %cl
movabsq $0x53f800000, %rdx      # imm = 0x53F800000
vmovlps %xmm0, 0x6c(%rbx)
movb %al, 0x74(%rbx)
vmovsd %xmm1, 0x78(%rbx)
vmovaps 0x17679(%rip), %xmm1    # 0x23250
andl $0x0, 0x80(%rbx)
movb %cl, 0x84(%rbx)
vmovlps %xmm2, 0x88(%rbx)
movq %rdx, 0x90(%rbx)
movabsq $0x100000002, %rdx      # imm = 0x100000002
andq $0x0, 0x98(%rbx)
movw $0x100, 0xa0(%rbx)      # imm = 0x100
movq %rdx, 0xa4(%rbx)
movl $0x186a0, 0xac(%rbx)    # imm = 0x186A0
movb %al, 0xb0(%rbx)
vmovups %xmm1, 0xb4(%rbx)
movq $0x64, 0xc4(%rbx)
andl $0x0, 0xcc(%rbx)
movb %cl, 0xd0(%rbx)
andq $0x0, 0xd4(%rbx)
cmpq $0x1000, %rax           # imm = 0x1000
je 0xbc65
movl $0x3f800000, 0xdc(%rbx,%rax,4) # imm = 0x3F800000
incq %rax
jmp 0xbc4d
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %r13, %rdi
movq %rax, %r12
callq 0xdbf2
jmp 0xbc7f
movq %rax, %r12
movq %r15, %rdi
callq 0xdc30
jmp 0xbc8c
movq %rax, %r12
movq %r14, %rdi
callq 0xdc78
jmp 0xbc99
movq %rax, %r12
movq %rbx, %rdi
callq 0xec22
movq %r12, %rdi
callq 0x5650
nop
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/agentmcts.cpp
// Function: Morat::Hex::AgentMCTS::~AgentMCTS()
AgentMCTS::~AgentMCTS(){
	pool.pause();
	pool.set_num_threads(0);

	root.dealloc(ctmem);
	ctmem.compact();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
leaq 0x2fbe7(%rip), %rax     # 0x3b8a0
leaq 0x54f0(%rdi), %r14
movq %rdi, %rbx
movq %rax, (%rdi)
movq %r14, %rdi
callq 0xd3e6
movq %r14, %rdi
xorl %esi, %esi
callq 0xda86
leaq 0x40e0(%rbx), %r15
leaq 0x4130(%rbx), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xdcb0
vxorps %xmm0, %xmm0, %xmm0
vxorps %xmm1, %xmm1, %xmm1
movq %r12, %rdi
callq 0xdd2a
movq %r14, %rdi
callq 0xdbf2
movq %r12, %rdi
callq 0xdc30
movq %r15, %rdi
callq 0xdc78
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xec22
movq %rax, %rdi
callq 0x8cf5
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/agentmcts.cpp
// Function: Morat::Hex::AgentMCTS::set_ponder(bool)
void AgentMCTS::set_ponder(bool p){
	if(ponder != p){
		ponder = p;
		pool.pause();

		if(ponder)
			pool.resume();
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpb %sil, 0x58(%rdi)
je 0xbd7b
leaq 0x54f0(%rdi), %r14
movq %rdi, %rbx
movb %sil, 0x58(%rdi)
movq %r14, %rdi
callq 0xd3e6
cmpb $0x1, 0x58(%rbx)
jne 0xbd7b
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xd534
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/agentmcts.cpp
// Function: Morat::Hex::AgentMCTS::set_board(Morat::Hex::Board const&, bool)
void AgentMCTS::set_board(const Board & board, bool clear){
	pool.pause();

	nodes -= root.dealloc(ctmem);
	root = Node();
	root.exp.addwins(visitexpand+1);

	rootboard = board;

	if(ponder)
		pool.resume();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
leaq 0x54f0(%rdi), %rbx
movq %rdi, %r14
movq %rsi, %r15
movq %rbx, %rdi
callq 0xd3e6
leaq 0x40e0(%r14), %r12
leaq 0x4130(%r14), %rsi
movq %r12, %rdi
callq 0xdcb0
movl %eax, %eax
subq %rax, 0x4110(%r14)
leaq 0x1b0e4(%rip), %rax     # 0x26eae
vxorps %xmm0, %xmm0, %xmm0
movq %rsp, %rsi
andw $0x0, 0x20(%rsi)
vmovups %ymm0, (%rsi)
movb (%rax), %al
movb %al, 0x22(%rsi)
movl $0xfc78fd00, 0x23(%rsi) # imm = 0xFC78FD00
movb $0x78, 0x27(%rsi)
andq $0x0, 0x28(%rsi)
movq %r12, %rdi
vzeroupper
callq 0xe0da
movq %rsp, %rdi
callq 0xdc78
movl 0xa8(%r14), %eax
leaq 0x10(%r14), %rdi
movq %r15, %rsi
incl %eax
vmovq %rax, %xmm0
addq %rax, %rax
vmovq %rax, %xmm1
vpunpcklqdq %xmm0, %xmm1, %xmm0 # xmm0 = xmm1[0],xmm0[0]
vpaddq 0x40f0(%r14), %xmm0, %xmm0
vmovdqu %xmm0, 0x40f0(%r14)
callq 0xe148
cmpb $0x1, 0x58(%r14)
jne 0xbe49
movq %rbx, %rdi
callq 0xd534
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rsp, %rdi
movq %rax, %rbx
callq 0xdc78
movq %rbx, %rdi
callq 0x5650
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/agentmcts.cpp
// Function: Morat::Hex::AgentMCTS::gamelen() const
double AgentMCTS::gamelen() const {
	DepthStats len;
	for(auto & t : pool)
		len += t->gamelen;
	return len.avg();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
leaq 0x8(%rsp), %rbx
vxorpd %xmm0, %xmm0, %xmm0
movl $0x12148, %r12d         # imm = 0x12148
andl $0x0, 0x8(%rbx)
movq $0x3b9aca00, (%rbx)     # imm = 0x3B9ACA00
vmovupd %xmm0, 0x10(%rbx)
movq 0x54f8(%rdi), %r14
movq 0x5500(%rdi), %r15
cmpq %r15, %r14
je 0xc349
movq (%r14), %rsi
movq %rbx, %rdi
addq %r12, %rsi
callq 0xd63e
addq $0x8, %r14
jmp 0xc330
movl 0x10(%rsp), %eax
vcvtusi2sd %eax, %xmm1, %xmm0
vcvtusi2sdq 0x18(%rsp), %xmm1, %xmm1
testl %eax, %eax
sete %cl
kmovd %ecx, %k1
vdivsd %xmm0, %xmm1, %xmm0
vxorpd %xmm1, %xmm1, %xmm1
vmovsd %xmm1, %xmm0, %xmm0 {%k1}
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/agentmcts.cpp
// Function: Morat::Hex::AgentMCTS::get_pv(std::vector<Morat::Move, std::allocator<Morat::Move>> const&) const
std::vector<Move> AgentMCTS::get_pv(const vecmove& moves) const {
	vecmove pv;

	const Node * n = & root;
	Side turn = rootboard.to_play();
	unsigned int i = 0;
	while(n && !n->children.empty()){
		Move m = (i < moves.size() ? moves[i++] : return_move(n, turn));
		pv.push_back(m);
		n = find_child(n, m);
		turn = ~turn;
	}

	if(pv.size() == 0)
		pv.push_back(Move(M_RESIGN));

	return pv;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
vxorps %xmm0, %xmm0, %xmm0
andq $0x0, 0x10(%rdi)
leaq 0x40e0(%rsi), %r13
leaq 0xc(%rsp), %r12
movq %rdx, %r14
movq %rdi, %rbx
movq %rsi, 0x10(%rsp)
xorl %ebp, %ebp
vmovups %xmm0, (%rdi)
movb 0x18(%rsi), %r15b
testq %r13, %r13
je 0xc423
movq 0x28(%r13), %rax
cmpq $0x2, %rax
jb 0xc423
cmpw $0x0, 0x6(%rax)
je 0xc423
movq (%r14), %rcx
movq 0x8(%r14), %rdx
movl %ebp, %eax
subq %rcx, %rdx
sarq %rdx
cmpq %rax, %rdx
jbe 0xc3e8
movw (%rcx,%rax,2), %ax
incl %ebp
jmp 0xc3fb
movq 0x10(%rsp), %rdi
movzbl %r15b, %edx
movq %r13, %rsi
xorl %ecx, %ecx
callq 0xc466
movw %ax, 0xc(%rsp)
movq %rbx, %rdi
movq %r12, %rsi
callq 0xe216
movq %r13, %rsi
movq %r12, %rdx
callq 0xc7f4
movb $0x3, %cl
movq %rax, %r13
subb %r15b, %cl
movl %ecx, %r15d
jmp 0xc3b6
movq 0x8(%rbx), %rax
cmpq (%rbx), %rax
jne 0xc43e
leaq 0xe(%rsp), %rsi
movw $0x78fe, (%rsi)         # imm = 0x78FE
movq %rbx, %rdi
callq 0x10c98
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xc452
movq %rbx, %rdi
movq %rax, %r14
callq 0x9a04
movq %r14, %rdi
callq 0x5650
nop
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/agentmcts.cpp
// Function: Morat::Hex::AgentMCTS::move_stats[abi:cxx11](std::vector<Morat::Move, std::allocator<Morat::Move>> const&) const
std::string AgentMCTS::move_stats(const vecmove& moves) const {
	std::string s;
	const Node * node = & root;

	s += "root:\n";
	s += node->to_s() + "\n";

	if(moves.size()){
		s += "path:\n";
		for(const auto& m : moves){
			if(node){
				node = find_child(node, m);
				s += node->to_s() + "\n";
			}
		}
	}

	if(node){
		s += "children:\n";
		for(auto & n : node->children)
			s += n.to_s() + "\n";
	}
	return s;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
leaq 0x10(%rdi), %rax
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0x16c04(%rip), %rsi     # 0x2346c
callq 0x56b0
addq $0x40e0, %r14           # imm = 0x40E0
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0xa468
leaq 0x16054(%rip), %rdx     # 0x228dc
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x8051
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x5700
leaq 0x28(%rsp), %rdi
callq 0x5150
leaq 0x8(%rsp), %rdi
callq 0x5150
movq 0x8(%r15), %rax
cmpq (%r15), %rax
je 0xc949
leaq 0x16ba7(%rip), %rsi     # 0x23473
movq %rbx, %rdi
callq 0x56b0
movq (%r15), %r12
movq 0x8(%r15), %r13
leaq 0x8(%rsp), %r15
leaq 0x28(%rsp), %rbp
cmpq %r13, %r12
je 0xc940
testq %r14, %r14
je 0xc937
movq %r14, %rsi
movq %r12, %rdx
callq 0xc7f4
movq %rax, %r14
movq %r15, %rdi
movq %rax, %rsi
callq 0xa468
leaq 0x15fcd(%rip), %rdx     # 0x228dc
movq %rbp, %rdi
movq %r15, %rsi
callq 0x8051
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x5700
movq %rbp, %rdi
callq 0x5150
movq %r15, %rdi
callq 0x5150
jmp 0xc93a
xorl %r14d, %r14d
addq $0x2, %r12
jmp 0xc8e5
testq %r14, %r14
je 0xc9d0
leaq 0x16b2a(%rip), %rsi     # 0x2347a
movq %rbx, %rdi
callq 0x56b0
movq 0x28(%r14), %rcx
xorl %ebp, %ebp
movl $0x0, %r14d
leaq 0x10(%rcx), %rax
cmpq $0x2, %rcx
cmovaeq %rax, %r14
jb 0xc980
movzwl 0x6(%rcx), %ecx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movq %rax, %rbp
leaq 0x8(%rsp), %r15
leaq 0x15f50(%rip), %r12     # 0x228dc
leaq 0x28(%rsp), %r13
cmpq %rbp, %r14
je 0xc9d0
movq %r15, %rdi
movq %r14, %rsi
callq 0xa468
movq %r13, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x8051
movq %rbx, %rdi
movq %r13, %rsi
callq 0x5700
movq %r13, %rdi
callq 0x5150
movq %r15, %rdi
callq 0x5150
addq $0x30, %r14
jmp 0xc991
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xc9fa
jmp 0xc9f5
jmp 0xc9f0
jmp 0xc9f0
jmp 0xc9fa
jmp 0xc9f0
jmp 0xc9f5
movq %rax, %r14
jmp 0xca11
movq %rax, %r14
jmp 0xca07
leaq 0x28(%rsp), %rdi
movq %rax, %r14
callq 0x5150
leaq 0x8(%rsp), %rdi
callq 0x5150
movq %rbx, %rdi
callq 0x5150
movq %r14, %rdi
callq 0x5650
nop
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/agentmcts.cpp
// Function: Morat::Hex::AgentMCTS::garbage_collect(Morat::Hex::AgentMCTS::Node&, Morat::Side)
void AgentMCTS::garbage_collect(Node& node, Side to_play){
	for (auto& child : node.children) {
		if (child.children.num() == 0)
			continue;

		if ((node.outcome.solved() &&       // parent is solved
		     child.exp.num() > gcsolved &&  // keep the heavy nodes
		     (node.outcome != to_play ||    // loss or draw, keep the everything
		      child.outcome == to_play)) || // found the win, keep the proof tree
		    (!node.outcome.solved() &&      // parent isn't solved,
		     child.exp.num() > (child.outcome.solved() ?
		      gcsolved :                    // only keep the heavy proof tree
		      gclimit)) ){                  // but the light area still being worked on
			garbage_collect(child, ~to_play);
		} else {
			nodes -= child.dealloc(ctmem);
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0x28(%rsi), %rcx
movl %edx, 0x8(%rsp)
movq %rsi, %r14
movq %rdi, %r15
xorl %ebx, %ebx
movl $0x0, %r12d
leaq 0x10(%rcx), %rax
cmpq $0x2, %rcx
cmovaeq %rax, %r12
jb 0xca62
movzwl 0x6(%rcx), %ecx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movq %rax, %rbx
movb $0x3, %al
subb 0x8(%rsp), %al
leaq 0xac(%r15), %rcx
leaq 0x4130(%r15), %r13
leaq 0x4118(%r15), %rbp
movq %rcx, 0x10(%rsp)
movzbl %al, %eax
movl %eax, 0xc(%rsp)
cmpq %rbx, %r12
je 0xcb1c
movq 0x28(%r12), %rax
cmpq $0x2, %rax
jb 0xcb13
cmpw $0x0, 0x6(%rax)
je 0xcb13
leaq 0x1a406(%rip), %rcx     # 0x26eb1
movb 0x22(%r14), %al
movb (%rcx), %dl
movq 0x18(%r12), %rcx
cmpb %dl, %al
jge 0xcad1
cmpb %dl, 0x22(%r12)
movq 0x10(%rsp), %rax
cmovlq %rbp, %rax
movl (%rax), %eax
cmpq %rax, %rcx
ja 0xcaee
jmp 0xcaff
movl 0xac(%r15), %edx
cmpq %rdx, %rcx
jbe 0xcaff
cmpb 0x8(%rsp), %al
jne 0xcaee
movl 0x8(%rsp), %eax
cmpb %al, 0x22(%r12)
jne 0xcaff
movl 0xc(%rsp), %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0xca22
jmp 0xcb13
movq %r12, %rdi
movq %r13, %rsi
callq 0xdcb0
movl %eax, %eax
subq %rax, 0x4110(%r15)
addq $0x30, %r12
jmp 0xca89
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/agentmcts.cpp
// Function: Morat::Hex::AgentMCTS::gen_sgf(Morat::SGFPrinter<Morat::Move>&, unsigned int, Morat::Hex::AgentMCTS::Node const&, Morat::Side) const
void AgentMCTS::gen_sgf(SGFPrinter<Move> & sgf, unsigned int limit, const Node & node, Side side) const {
	for(auto & child : node.children){
		if(child.exp.num() >= limit && (side != node.outcome || child.outcome == node.outcome)){
			sgf.child_start();
			sgf.move(side, child.move);
			sgf.comment(child.to_s());
			gen_sgf(sgf, limit, child, ~side);
			sgf.child_end();
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, 0x20(%rsp)
movq 0x28(%rcx), %rcx
movl %r8d, %ebx
movl %edx, 0xc(%rsp)
movq %rsi, %r15
movq %rdi, 0x18(%rsp)
xorl %r12d, %r12d
movl $0x0, %r13d
leaq 0x10(%rcx), %rax
cmpq $0x2, %rcx
cmovaeq %rax, %r13
jb 0xcb77
movzwl 0x6(%rcx), %ecx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movq %rax, %r12
movl 0xc(%rsp), %r14d
movb $0x3, %al
movzbl %bl, %ecx
leaq 0x28(%rsp), %rbp
subb %bl, %al
movl %ecx, 0x14(%rsp)
movzbl %al, %eax
movl %eax, 0x10(%rsp)
cmpq %r12, %r13
je 0xcc0b
cmpq %r14, 0x18(%r13)
jb 0xcc05
movq 0x20(%rsp), %rax
cmpb %bl, 0x22(%rax)
jne 0xcbae
cmpb %bl, 0x22(%r13)
jne 0xcc05
movq %r15, %rdi
callq 0xe38a
movl 0x24(%r13), %edx
movl 0x14(%rsp), %esi
movq %r15, %rdi
callq 0xe492
movq %rbp, %rdi
movq %r13, %rsi
callq 0xa468
movq %r15, %rdi
movq %rbp, %rsi
callq 0xe592
movq %rbp, %rdi
callq 0x5150
movq 0x18(%rsp), %rdi
movl 0xc(%rsp), %edx
movl 0x10(%rsp), %r8d
movq %r15, %rsi
movq %r13, %rcx
callq 0xcb2c
movq %r15, %rdi
callq 0xe638
addq $0x30, %r13
jmp 0xcb93
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x28(%rsp), %rdi
movq %rax, %rbx
callq 0x5150
movq %rbx, %rdi
callq 0x5650
nop
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/agentmcts.cpp
// Function: Morat::Hex::AgentMCTS::create_children_simple(Morat::Hex::Board const&, Morat::Hex::AgentMCTS::Node*)
void AgentMCTS::create_children_simple(const Board & board, Node * node){
	assert(node->children.empty());

	node->children.alloc(board.moves_avail(), ctmem);

	Node * child = node->children.begin();
	for (auto move : board) {
		*child++ = Node(move);
	}
	assert(child == node->children.end());
	PLUS(nodes, node->children.num());
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq 0x28(%rdx), %rax
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
cmpq $0x2, %rax
jb 0xcc5c
cmpw $0x0, 0x6(%rax)
jne 0xcd8b
leaq 0x1a24e(%rip), %rcx     # 0x26eb1
movswl 0x2(%r12), %esi
movswl 0x4(%r12), %edx
movb 0x9(%r12), %al
addq $0x28, %r14
xorl %r15d, %r15d
movq %r14, %rdi
subl %edx, %esi
cmpb (%rcx), %al
leaq 0x4130(%rbx), %rdx
cmovgel %r15d, %esi
callq 0xe748
movq (%r14), %rax
movq %r12, %rdi
leaq 0x10(%rax), %rcx
cmpq $0x2, %rax
cmovaeq %rcx, %r15
callq 0xe78e
leaq 0x1a1fe(%rip), %rbp     # 0x26eae
leaq 0x38(%rsp), %r12
movq %rsp, %r13
movq %rax, (%r12)
movq %rdx, %rax
shrq $0x20, %rax
movl %edx, 0x8(%r12)
shrl $0x10, %edx
movb %al, 0xc(%r12)
cmpw $-0x1, %dx
je 0xcd31
movzwl 0x40(%rsp), %eax
movb (%rbp), %cl
vxorps %xmm0, %xmm0, %xmm0
andw $0x0, 0x20(%rsp)
vmovups %ymm0, (%rsp)
movb %cl, 0x22(%rsp)
movb $0x0, 0x23(%rsp)
movw %ax, 0x24(%rsp)
movw $0x78fc, 0x26(%rsp)     # imm = 0x78FC
andq $0x0, 0x28(%rsp)
movq %r15, %rdi
movq %r13, %rsi
vzeroupper
callq 0xe0da
movq %r13, %rdi
addq $0x30, %r15
callq 0xdc78
movq %r12, %rdi
callq 0xe7ae
movzwl 0x42(%rsp), %edx
jmp 0xccd0
movq (%r14), %rcx
cmpq $0x2, %rcx
jb 0xcd4e
movzwl 0x6(%rcx), %eax
imulq $0x30, %rax, %rdx
leaq 0x10(%rcx,%rdx), %rcx
cmpq %rcx, %r15
je 0xcd55
jmp 0xcd6c
testq %r15, %r15
jne 0xcd6c
xorl %eax, %eax
lock
addq %rax, 0x4110(%rbx)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x167d2(%rip), %rdi     # 0x23545
leaq 0x166a9(%rip), %rsi     # 0x23423
leaq 0x1677a(%rip), %rcx     # 0x234fb
movl $0x191, %edx            # imm = 0x191
callq 0x51f0
leaq 0x166f4(%rip), %rdi     # 0x23486
leaq 0x1668a(%rip), %rsi     # 0x23423
leaq 0x1675b(%rip), %rcx     # 0x234fb
movl $0x189, %edx            # imm = 0x189
callq 0x51f0
movq %rsp, %rdi
movq %rax, %rbx
callq 0xdc78
movq %rbx, %rdi
callq 0x5650
nop
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/agentmcts.cpp
// Function: Morat::Hex::AgentMCTS::load_sgf(Morat::SGFParser<Morat::Move>&, Morat::Hex::Board const&, Morat::Hex::AgentMCTS::Node&)
void AgentMCTS::load_sgf(SGFParser<Move> & sgf, const Board & board, Node & node) {
	assert(sgf.has_children());
	create_children_simple(board, & node);

	while(sgf.next_child()){
		Move m = sgf.move();
		Node & child = *find_child(&node, m);
		child.from_s(sgf.comment());
		if(sgf.done_child()){
			continue;
		}else{
			// has children!
			Board b = board;
			b.move(m);
			load_sgf(sgf, b, child);
			assert(sgf.done_child());
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %r12
movq %rsi, %rdi
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
callq 0xe82a
testb %al, %al
je 0xcee1
movq %r12, 0x10(%rsp)
movq %r12, %rdi
movq %r14, 0x18(%rsp)
movq %r14, %rsi
movq %rbx, %rdx
callq 0xcc30
leaq 0xe(%rsp), %r13
leaq 0x20(%rsp), %rbp
leaq 0x40(%rsp), %r14
movq %r15, %rdi
callq 0xe846
testb %al, %al
je 0xceb0
movq %r15, %rdi
callq 0xe86e
movw %ax, 0xe(%rsp)
movq %rbx, %rsi
movq %r13, %rdx
callq 0xc7f4
movq %rax, %r12
movq %rbp, %rdi
movq %r15, %rsi
callq 0xe98e
movq %r12, %rdi
movq %rbp, %rsi
callq 0xa970
movq %rbp, %rdi
callq 0x5150
movq %r15, %rdi
callq 0xe9fc
testb %al, %al
jne 0xce12
movq 0x18(%rsp), %rsi
movq %r14, %rdi
callq 0x9908
movq %r14, %rdi
movq %r13, %rsi
pushq $0x1
popq %rcx
movl %ecx, %edx
callq 0xe1ea
movq 0x10(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %r12, %rcx
callq 0xcdbe
movq %r15, %rdi
callq 0xe9fc
testb %al, %al
je 0xcec2
movq %r14, %rdi
callq 0x83bc
jmp 0xce12
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x166fc(%rip), %rdi     # 0x235c5
leaq 0x16553(%rip), %rsi     # 0x23423
leaq 0x1669f(%rip), %rcx     # 0x23576
movl $0x1a4, %edx            # imm = 0x1A4
callq 0x51f0
leaq 0x1667b(%rip), %rdi     # 0x23563
leaq 0x16534(%rip), %rsi     # 0x23423
leaq 0x16680(%rip), %rcx     # 0x23576
movl $0x196, %edx            # imm = 0x196
callq 0x51f0
leaq 0x20(%rsp), %rdi
movq %rax, %rbx
callq 0x5150
jmp 0xcf1c
leaq 0x40(%rsp), %rdi
movq %rax, %rbx
callq 0x83bc
movq %rbx, %rdi
callq 0x5650
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/../lib/move.h
// Function: Morat::Move::to_s[abi:cxx11]() const
std::string to_s() const {
		if(y == M_UNKNOWN) return "unknown";
		if(y == M_NONE)    return "none";
		if(y == M_SWAP)    return "swap";
		if(y == M_RESIGN)  return "resign";

		return std::string() + char(x + 'a') + to_str(y + 1);
	}

// Assembly:
pushq %r14
pushq %rbx
subq $0x68, %rsp
movzbl (%rsi), %eax
movq %rdi, %rbx
addl $0xffffff04, %eax       # imm = 0xFFFFFF04
cmpl $0x3, %eax
ja 0xd011
leaq 0x161f2(%rip), %rcx     # 0x231c0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x165f8(%rip), %rsi     # 0x235d6
jmp 0xcff9
leaq 0x16601(%rip), %rsi     # 0x235e8
jmp 0xcff9
leaq 0x165f3(%rip), %rsi     # 0x235e3
jmp 0xcff9
leaq 0x165e5(%rip), %rsi     # 0x235de
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x5110
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r14
retq
leaq 0x58(%rsp), %rax
movq %rsi, %r14
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movb 0x1(%rsi), %al
addb $0x61, %al
movsbl %al, %edx
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0xa3e7
movsbl (%r14), %esi
incl %esi
leaq 0x28(%rsp), %rdi
callq 0xd1be
leaq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
movq %rbx, %rdi
callq 0xcf24
leaq 0x28(%rsp), %rdi
callq 0x5150
leaq 0x8(%rsp), %rdi
callq 0x5150
leaq 0x48(%rsp), %rdi
callq 0x5150
jmp 0xd006
leaq 0x28(%rsp), %rdi
movq %rax, %rbx
callq 0x5150
jmp 0xd090
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x5150
jmp 0xd09f
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x5150
movq %rbx, %rdi
callq 0x5650
nop
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/../lib/move.h
// Function: Morat::Move::Move(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Move(const std::string & str){
		if(     str == "swap"   ){ y = M_SWAP;    x = 120; }
		else if(str == "resign" ){ y = M_RESIGN;  x = 120; }
		else if(str == "none"   ){ y = M_NONE;    x = 120; }
		else if(str == "unknown"){ y = M_UNKNOWN; x = 120; }
		else{
			x = tolower(str[0]) - 'a';
			y = atoi(str.c_str() + 1) - 1;
		}
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
leaq 0x16369(%rip), %rsi     # 0x235e3
movq %rdi, %rbx
movq %r14, %rdi
callq 0x7c91
testb %al, %al
je 0xd290
movw $0x78ff, (%rbx)         # imm = 0x78FF
jmp 0xd2fe
leaq 0x16351(%rip), %rsi     # 0x235e8
movq %r14, %rdi
callq 0x7c91
testb %al, %al
je 0xd2aa
movw $0x78fe, (%rbx)         # imm = 0x78FE
jmp 0xd2fe
leaq 0x1632d(%rip), %rsi     # 0x235de
movq %r14, %rdi
callq 0x7c91
testb %al, %al
je 0xd2c4
movw $0x78fd, (%rbx)         # imm = 0x78FD
jmp 0xd2fe
leaq 0x1630b(%rip), %rsi     # 0x235d6
movq %r14, %rdi
callq 0x7c91
testb %al, %al
je 0xd2de
movw $0x78fc, (%rbx)         # imm = 0x78FC
jmp 0xd2fe
movq (%r14), %r14
movsbl (%r14), %edi
callq 0x54c0
addb $-0x61, %al
incq %r14
movq %r14, %rdi
movb %al, 0x1(%rbx)
callq 0x5550
decb %al
movb %al, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/../lib/exppair.h
// Function: Morat::ExpPair::ExpPair(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
ExpPair(std::string str) {
		auto parts = explode(str, "/");
		assert(parts.size() == 2);
		n = from_str<uword>(parts[1]);
		s = 2.0*from_str<float>(parts[0])*n;
	}

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x162d5(%rip), %rsi     # 0x235ef
leaq 0x28(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x5110
leaq 0x10(%rsp), %rdi
leaq 0x28(%rsp), %rdx
movq %r14, %rsi
xorl %ecx, %ecx
callq 0x21006
leaq 0x28(%rsp), %rdi
callq 0x5150
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rax
subq %rdi, %rax
cmpq $0x40, %rax
jne 0xd39f
addq $0x20, %rdi
callq 0xea68
movq %rax, 0x8(%rbx)
movq 0x10(%rsp), %rdi
callq 0xeac0
vcvtss2sd %xmm0, %xmm0, %xmm0
leaq 0x10(%rsp), %rdi
vaddsd %xmm0, %xmm0, %xmm0
vcvtusi2sdq 0x8(%rbx), %xmm1, %xmm1
vmulsd %xmm1, %xmm0, %xmm0
vcvttsd2usi %xmm0, %rax
movq %rax, (%rbx)
callq 0x8e84
addq $0x48, %rsp
popq %rbx
popq %r14
retq
leaq 0x1624b(%rip), %rdi     # 0x235f1
leaq 0x16256(%rip), %rsi     # 0x23603
leaq 0x16264(%rip), %rcx     # 0x23618
pushq $0x19
popq %rdx
callq 0x51f0
leaq 0x28(%rsp), %rdi
movq %rax, %rbx
callq 0x5150
jmp 0xd3dd
movq %rax, %rbx
jmp 0xd3dd
leaq 0x10(%rsp), %rdi
movq %rax, %rbx
callq 0x8e84
movq %rbx, %rdi
callq 0x5650
nop
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/../lib/agentpool.h
// Function: Morat::AgentThreadPool<Morat::Hex::AgentMCTS>::pause()
void pause() { // pause the threads so they're waiting to be resumed
		if(thread_state != Thread_Wait_Start){
			timed_out();
			run_barrier.wait();
			CAS(thread_state, Thread_Wait_End, Thread_Wait_Start);
			assert(thread_state == Thread_Wait_Start);
		}
	}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl (%rdi), %eax
cmpl $0x1, %eax
je 0xd42d
movq %rdi, %rbx
pushq $0x3
popq %rax
pushq $0x6
popq %rbp
lock
cmpxchgl %ebp, (%rdi)
pushq $0x4
popq %rax
pushq $0x5
popq %rcx
lock
cmpxchgl %ecx, (%rdi)
movq 0xe0(%rdi), %rdi
movq (%rdi), %rax
callq *0x58(%rax)
leaq 0x20(%rbx), %rdi
callq 0xfaae
pushq $0x1
popq %rcx
movl %ebp, %eax
lock
cmpxchgl %ecx, (%rbx)
movl (%rbx), %eax
cmpl $0x1, %eax
jne 0xd434
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x16909(%rip), %rdi     # 0x23d44
leaq 0x16924(%rip), %rsi     # 0x23d66
leaq 0x16934(%rip), %rcx     # 0x23d7d
pushq $0x67
popq %rdx
callq 0x51f0
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/../lib/agentpool.h
// Function: Morat::AgentThreadPool<Morat::Hex::AgentMCTS>::reset()
void reset() { // call the reset method on each thread
		//start and end with thread_state = Thread_Wait_Start
		assert(thread_state == Thread_Wait_Start);

		for(auto & t : threads)
			t->reset();

		assert(thread_state == Thread_Wait_Start);
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl (%rdi), %eax
cmpl $0x1, %eax
jne 0xd4f6
movq 0x8(%rdi), %r14
movq 0x10(%rdi), %r15
movq %rdi, %rbx
cmpq %r15, %r14
je 0xd4e9
movq (%r14), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
addq $0x8, %r14
jmp 0xd4d5
movl (%rbx), %eax
cmpl $0x1, %eax
jne 0xd515
popq %rbx
popq %r14
popq %r15
retq
leaq 0x16847(%rip), %rdi     # 0x23d44
leaq 0x16862(%rip), %rsi     # 0x23d66
leaq 0x168d2(%rip), %rcx     # 0x23ddd
movl $0x9c, %edx
callq 0x51f0
leaq 0x16828(%rip), %rdi     # 0x23d44
leaq 0x16843(%rip), %rsi     # 0x23d66
leaq 0x168b3(%rip), %rcx     # 0x23ddd
movl $0xa1, %edx
callq 0x51f0
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/../lib/agentpool.h
// Function: Morat::AgentThreadPool<Morat::Hex::AgentMCTS>::resume()
void resume() { // let the threads run
		assert(thread_state == Thread_Wait_Start);
		run_barrier.wait();
		CAS(thread_state, Thread_Wait_Start, Thread_Running);
	}

// Assembly:
pushq %rbx
movl (%rdi), %eax
cmpl $0x1, %eax
jne 0xd554
movq %rdi, %rbx
addq $0x20, %rdi
callq 0xfaae
pushq $0x1
popq %rax
pushq $0x3
popq %rcx
lock
cmpxchgl %ecx, (%rbx)
popq %rbx
retq
leaq 0x167e9(%rip), %rdi     # 0x23d44
leaq 0x16804(%rip), %rsi     # 0x23d66
leaq 0x168d4(%rip), %rcx     # 0x23e3d
pushq $0x6c
popq %rdx
callq 0x51f0
nop
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/../lib/agentpool.h
// Function: Morat::AgentThreadPool<Morat::Hex::AgentMCTS>::wait_pause(double)
void wait_pause(double time) { // wait until they run out of time or otherwise finish
		Alarm timer;
		if(time > 0)
			timer(time, std::bind(&AgentThreadPool::timed_out, this));

		//wait for the timer to stop them or for them to hit the other stop conditions
		run_barrier.wait();
		CAS(thread_state, Thread_Wait_End, Thread_Wait_Start);
		assert(thread_state == Thread_Wait_Start);
	}

// Assembly:
pushq %rbx
subq $0x50, %rsp
orl $-0x1, 0xc(%rsp)
vxorpd %xmm1, %xmm1, %xmm1
movq %rdi, %rbx
vucomisd %xmm1, %xmm0
jbe 0xd5d0
leaq 0x24fc(%rip), %rax      # 0xfa8c
leaq 0x38(%rsp), %rsi
vmovsd %xmm0, 0x10(%rsp)
movq %rax, (%rsi)
andq $0x0, 0x8(%rsi)
movq %rbx, 0x10(%rsi)
leaq 0x18(%rsp), %rdi
callq 0xfbc0
vmovsd 0x10(%rsp), %xmm0
leaq 0xc(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0xfb46
leaq 0x18(%rsp), %rdi
callq 0x850c
leaq 0x20(%rbx), %rdi
callq 0xfaae
pushq $0x6
popq %rax
pushq $0x1
popq %rcx
lock
cmpxchgl %ecx, (%rbx)
movl (%rbx), %eax
cmpl $0x1, %eax
jne 0xd5fa
leaq 0xc(%rsp), %rdi
callq 0xfc08
addq $0x50, %rsp
popq %rbx
retq
leaq 0x16743(%rip), %rdi     # 0x23d44
leaq 0x1675e(%rip), %rsi     # 0x23d66
leaq 0x1688f(%rip), %rcx     # 0x23e9e
pushq $0x79
popq %rdx
callq 0x51f0
leaq 0x18(%rsp), %rdi
movq %rax, %rbx
callq 0x850c
jmp 0xd62b
jmp 0xd628
movq %rax, %rbx
leaq 0xc(%rsp), %rdi
callq 0xfc08
movq %rbx, %rdi
callq 0x5650
nop
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/../lib/depthstats.h
// Function: Morat::DepthStats::operator+=(Morat::DepthStats const&)
DepthStats & operator += (const DepthStats & o){
		num += o.num;
		sumdepth += o.sumdepth;
		sumdepthsq += o.sumdepthsq;
		if(mindepth > o.mindepth) mindepth = o.mindepth;
		if(maxdepth < o.maxdepth) maxdepth = o.maxdepth;
		return *this;
	}

// Assembly:
movl 0x8(%rsi), %ecx
movq %rdi, %rax
addl %ecx, 0x8(%rdi)
vmovdqu 0x10(%rdi), %xmm0
vpaddq 0x10(%rsi), %xmm0, %xmm0
vmovdqu %xmm0, 0x10(%rdi)
movl (%rsi), %ecx
cmpl %ecx, (%rdi)
jbe 0xd65e
movl %ecx, (%rax)
movl 0x4(%rsi), %ecx
cmpl %ecx, 0x4(%rax)
jae 0xd669
movl %ecx, 0x4(%rax)
retq
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/../lib/compacttree.h
// Function: Morat::CompactTree<Morat::Hex::AgentMCTS::Node>::CompactTree()
CompactTree() {
		//allocate the first chunk
		head = current = last = new Chunk(CHUNK_SIZE);
		numchunks = 1;
		memused = 0;
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
addq $0x20, %rdi
callq 0xfe9e
pushq $0x20
popq %rdi
callq 0x5340
movq %rax, %r14
movl $0x1000000, %esi        # imm = 0x1000000
movq %rax, %rdi
callq 0xf40c
movq %r14, 0x10(%rbx)
movq %r14, 0x8(%rbx)
movq %r14, (%rbx)
movl $0x1, 0x18(%rbx)
andq $0x0, 0x13b8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %r14, %rdi
movq %rax, %rbx
callq 0x52f0
movq %rbx, %rdi
callq 0x5650
nop
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/../lib/agentpool.h
// Function: Morat::AgentThreadPool<Morat::Hex::AgentMCTS>::set_num_threads(unsigned int)
void set_num_threads(unsigned int new_num_threads) { // destroys the existing threads and creates the specified number of new ones
		//start and end with thread_state = Thread_Wait_Start
		assert(thread_state == Thread_Wait_Start);

		//wait for them to all get to the barrier
		assert(CAS(thread_state, Thread_Wait_Start, Thread_Wait_Start_Cancelled));
		run_barrier.wait();

		//make sure they exited cleanly
		for(unsigned int i = 0; i < threads.size(); i++){
			threads[i]->join();
			delete threads[i];
		}

		threads.clear();

		thread_state = Thread_Wait_Start;

		num_threads = new_num_threads;

		run_barrier.reset(num_threads + 1);
		gc_barrier.reset(num_threads);

		//start new threads
		for(unsigned int i = 0; i < num_threads; i++)
			threads.push_back(new typename AgentType::AgentThread(this, agent));

		assert(thread_state == Thread_Wait_Start);
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl (%rdi), %eax
cmpl $0x1, %eax
jne 0xdb83
movq %rdi, %rbx
pushq $0x1
popq %rax
pushq $0x2
popq %rcx
lock
cmpxchgl %ecx, (%rdi)
jne 0xdba0
leaq 0x20(%rbx), %r15
movl %esi, %ebp
movq %r15, %rdi
callq 0xfaae
leaq 0x8(%rbx), %r14
xorl %r12d, %r12d
movq 0x10(%rbx), %rcx
movq 0x8(%rbx), %rax
movl %r12d, %r12d
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r12, %rdx
jbe 0xdb03
movq (%rax,%r12,8), %rdi
addq $0x8, %rdi
callq 0xfff6
movq (%r14), %rax
movq (%rax,%r12,8), %rdi
testq %rdi, %rdi
je 0xdafe
movq (%rdi), %rax
callq *0x8(%rax)
incl %r12d
jmp 0xdac5
cmpq %rax, %rcx
je 0xdb0c
movq %rax, 0x10(%rbx)
movl $0x1, (%rbx)
movl %ebp, 0x4(%rbx)
incl %ebp
movq %r15, %rdi
movl %ebp, %esi
callq 0xfeaa
movl 0x4(%rbx), %esi
leaq 0x80(%rbx), %rdi
callq 0xfeaa
leaq 0x8(%rsp), %r15
xorl %ebp, %ebp
cmpl 0x4(%rbx), %ebp
jae 0xdb6f
movl $0x121e8, %edi          # imm = 0x121E8
callq 0x5340
movq 0xe0(%rbx), %rdx
movq %rax, %r12
movq %rax, %rdi
movq %rbx, %rsi
callq 0xfeee
movq %r12, 0x8(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x10028
incl %ebp
jmp 0xdb37
movl (%rbx), %eax
cmpl $0x1, %eax
jne 0xdbbf
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x161ba(%rip), %rdi     # 0x23d44
leaq 0x161d5(%rip), %rsi     # 0x23d66
leaq 0x16371(%rip), %rcx     # 0x23f09
pushq $0x7e
popq %rdx
callq 0x51f0
leaq 0x163d8(%rip), %rdi     # 0x23f7f
leaq 0x161b8(%rip), %rsi     # 0x23d66
leaq 0x16354(%rip), %rcx     # 0x23f09
movl $0x81, %edx
callq 0x51f0
leaq 0x1617e(%rip), %rdi     # 0x23d44
leaq 0x16199(%rip), %rsi     # 0x23d66
leaq 0x16335(%rip), %rcx     # 0x23f09
movl $0x97, %edx
callq 0x51f0
movq %r12, %rdi
movq %rax, %rbx
callq 0x52f0
movq %rbx, %rdi
callq 0x5650
nop
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/../lib/compacttree.h
// Function: Morat::CompactTree<Morat::Hex::AgentMCTS::Node>::~CompactTree()
~CompactTree(){
		head->dealloc(true);
		delete head;
		head = current = last = NULL;
		numchunks = 0;
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdi
pushq $0x1
popq %rsi
callq 0xf582
movq (%rbx), %r14
testq %r14, %r14
je 0xdc52
movq %r14, %rdi
callq 0xf450
movq %r14, %rdi
callq 0x52f0
vxorps %xmm0, %xmm0, %xmm0
vmovups %xmm0, 0xc(%rbx)
vmovups %xmm0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rdi
callq 0x8cf5
nop
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/agentmcts.h
// Function: Morat::Hex::AgentMCTS::Node::dealloc(Morat::CompactTree<Morat::Hex::AgentMCTS::Node>&)
unsigned int dealloc(CompactTree<Node> & ct){
			unsigned int num = 0;

			if(children.num())
				for(Node * i = children.begin(); i != children.end(); i++)
					num += i->dealloc(ct);
			num += children.dealloc(ct);

			return num;
		}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq 0x28(%rdi), %rax
movq %rdi, %r14
addq $0x28, %r14
movq %rsi, %rbx
xorl %r12d, %r12d
cmpq $0x2, %rax
jb 0xdd10
cmpw $0x0, 0x6(%rax)
je 0xdd10
leaq 0x10(%rax), %r15
xorl %r12d, %r12d
cmpq $0x2, %rax
jb 0xdcf2
movzwl 0x6(%rax), %ecx
imulq $0x30, %rcx, %rcx
leaq 0x10(%rax,%rcx), %rax
jmp 0xdcf4
xorl %eax, %eax
cmpq %rax, %r15
je 0xdd10
movq %r15, %rdi
movq %rbx, %rsi
callq 0xdcb0
addl %eax, %r12d
movq (%r14), %rax
addq $0x30, %r15
jmp 0xdcdd
movq %r14, %rdi
movq %rbx, %rsi
callq 0xec5e
addl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/agentmcts.h
// Function: Morat::Hex::AgentMCTS::Node::operator=(Morat::Hex::AgentMCTS::Node const&)
Node & operator = (const Node & n){
			if(this != & n){ //don't copy to self
				//don't copy to a node that already has children
				assert(children.empty());

				rave = n.rave;
				exp  = n.exp;
				know = n.know;
				move = n.move;
				bestmove = n.bestmove;
				outcome = n.outcome;
				proofdepth = n.proofdepth;
				//children = n.children; ignore the children, they need to be swap_tree'd in
			}
			return *this;
		}

// Assembly:
cmpq %rsi, %rdi
je 0xe126
movq 0x28(%rdi), %rax
cmpq $0x2, %rax
jb 0xe0f0
cmpw $0x0, 0x6(%rax)
jne 0xe12a
vmovups (%rsi), %xmm0
vmovups %xmm0, (%rdi)
vmovups 0x10(%rsi), %xmm0
vmovups %xmm0, 0x10(%rdi)
movzwl 0x20(%rsi), %eax
movw %ax, 0x20(%rdi)
movzwl 0x24(%rsi), %eax
movw %ax, 0x24(%rdi)
movzwl 0x26(%rsi), %eax
movw %ax, 0x26(%rdi)
movb 0x22(%rsi), %al
movb %al, 0x22(%rdi)
movb 0x23(%rsi), %al
movb %al, 0x23(%rdi)
movq %rdi, %rax
retq
pushq %rax
leaq 0x1535a(%rip), %rdi     # 0x2348c
leaq 0x15526(%rip), %rsi     # 0x2365f
leaq 0x15706(%rip), %rcx     # 0x23846
pushq $0x38
popq %rdx
callq 0x51f0
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/agentmcts.h
// Function: Morat::Hex::AgentMCTS::Node::value(float, bool, float) const
float value(float ravefactor, bool knowledge, float fpurgency) const {
			float val = fpurgency;
			float expnum = exp.num();
			float ravenum = rave.num();

			if(ravefactor <= min_rave){
				if(expnum > 0)
					val = exp.avg();
			}else if(ravenum > 0 || expnum > 0){
				float alpha = ravefactor/(ravefactor + expnum);
//				float alpha = sqrt(ravefactor/(ravefactor + 3.0f*expnum));
//				float alpha = ravenum/(expnum + ravenum + expnum*ravenum*ravefactor);

				val = 0;
				if(ravenum > 0) val += alpha*rave.avg();
				if(expnum  > 0) val += (1.0f-alpha)*exp.avg();
			}

			if(knowledge && know > 0){
				if(expnum <= 1)
					val += 0.01f * know;
				else if(expnum < 1000) //knowledge is only useful with little experience
					val += 0.01f * know / sqrt(expnum);
			}

			return val;
		}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
vmovss 0x14fde(%rip), %xmm4    # 0x23224
movq 0x18(%rdi), %r15
leaq 0x10(%rdi), %r14
vmovaps %xmm1, %xmm2
movl %esi, %ebp
movq %rdi, %rbx
vcvtusi2ss %r15, %xmm3, %xmm3
vucomiss %xmm0, %xmm4
jae 0xe2a5
movq 0x8(%rbx), %rax
movq %rax, %rcx
orq %r15, %rcx
je 0xe300
vaddss %xmm0, %xmm3, %xmm1
vmovss %xmm3, 0xc(%rsp)
vdivss %xmm1, %xmm0, %xmm1
testq %rax, %rax
je 0xe2c4
movq %rbx, %rdi
vmovss %xmm1, 0x10(%rsp)
callq 0xe362
vmovss 0x10(%rsp), %xmm1
vxorps %xmm2, %xmm2, %xmm2
vfmadd231ss %xmm0, %xmm1, %xmm2 # xmm2 = (xmm1 * xmm0) + xmm2
jmp 0xe2c8
testq %r15, %r15
je 0xe300
movq %r14, %rdi
vmovss %xmm3, 0xc(%rsp)
callq 0xe362
vmovss 0xc(%rsp), %xmm3
vmovaps %xmm0, %xmm2
jmp 0xe300
vxorps %xmm2, %xmm2, %xmm2
testq %r15, %r15
je 0xe2fa
vmovss 0x14f47(%rip), %xmm0    # 0x2321c
movq %r14, %rdi
vmovss %xmm2, 0x10(%rsp)
vsubss %xmm1, %xmm0, %xmm0
vmovss %xmm0, 0x14(%rsp)
callq 0xe362
vmovss 0x10(%rsp), %xmm2
vfmadd231ss 0x14(%rsp), %xmm0, %xmm2 # xmm2 = (xmm0 * mem) + xmm2
vmovss 0xc(%rsp), %xmm3
testb %bpl, %bpl
je 0xe353
movswl 0x20(%rbx), %eax
testl %eax, %eax
jle 0xe353
cmpq $0x1, %r15
ja 0xe322
vcvtsi2ss %eax, %xmm5, %xmm0
vfmadd231ss 0x14f08(%rip), %xmm0, %xmm2 # xmm2 = (xmm0 * mem) + xmm2
jmp 0xe353
cmpq $0x3e7, %r15            # imm = 0x3E7
ja 0xe353
vcvtsi2ss %eax, %xmm5, %xmm0
vmulss 0x14ef1(%rip), %xmm0, %xmm0 # 0x23228
vcvtss2sd %xmm0, %xmm0, %xmm0
vcvtss2sd %xmm3, %xmm3, %xmm1
vsqrtsd %xmm1, %xmm1, %xmm1
vdivsd %xmm1, %xmm0, %xmm0
vcvtss2sd %xmm2, %xmm2, %xmm1
vaddsd %xmm1, %xmm0, %xmm0
vcvtsd2ss %xmm0, %xmm0, %xmm2
vmovaps %xmm2, %xmm0
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tewalds[P]morat/hex/../lib/sgf.h
// Function: Morat::SGFPrinter<Morat::Move>::child_start()
void child_start() {
		assert(!_root);
		assert(_depth >= 1);
		print("\n" + std::string(_depth, ' ') + "(");
		_depth++;
		_indent = false;
	}

// Assembly:
pushq %r14
pushq %rbx
subq $0x68, %rsp
cmpb $0x1, 0x8(%rdi)
je 0xe428
movslq 0xc(%rdi), %rsi
movq %rdi, %rbx
testq %rsi, %rsi
jle 0xe441
leaq 0x18(%rsp), %rax
leaq 0x8(%rsp), %r14
movq %rax, -0x10(%rax)
pushq $0x20
popq %rdx
movq %r14, %rdi
callq 0x53b0
leaq 0x14511(%rip), %rsi     # 0x228dc
leaq 0x28(%rsp), %rdi
movq %r14, %rdx
callq 0xcf8b
leaq 0x15dc9(%rip), %rdx     # 0x241a8
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x8051
leaq 0x48(%rsp), %rsi
movq %rbx, %rdi
callq 0x10d70
leaq 0x48(%rsp), %rdi
callq 0x5150
leaq 0x28(%rsp), %rdi
callq 0x5150
leaq 0x8(%rsp), %rdi
callq 0x5150
incl 0xc(%rbx)
movb $0x0, 0x10(%rbx)
addq $0x68, %rsp
popq %rbx
popq %r14
retq
leaq 0x15d0d(%rip), %rdi     # 0x2413c
leaq 0x15d0d(%rip), %rsi     # 0x24143
leaq 0x15d17(%rip), %rcx     # 0x24154
pushq $0x3f
jmp 0xe458
leaq 0x15d54(%rip), %rdi     # 0x2419c
leaq 0x15cf4(%rip), %rsi     # 0x24143
leaq 0x15cfe(%rip), %rcx     # 0x24154
pushq $0x40
popq %rdx
callq 0x51f0
leaq 0x48(%rsp), %rdi
movq %rax, %rbx
callq 0x5150
jmp 0xe470
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x5150
jmp 0xe47f
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x5150
movq %rbx, %rdi
callq 0x5650
nop