// File: /workspace/github_cpp_makefile_star2_O1/tewalds[P]morat/hex/../lib/gtpbase.h
// Function: Morat::GTPBase::GTPBase(_IO_FILE*, _IO_FILE*)
GTPBase(FILE * i = stdin, FILE * o = stdout){
		in = i;
		out = o;
		longest_cmd = 0;
		running = false;

		newcallback("list_commands",    std::bind(&GTPBase::gtp_list_commands,    this, _1, false), "List the commands");
		newcallback("help",             std::bind(&GTPBase::gtp_list_commands,    this, _1, true),  "List the commands, with descriptions");
		newcallback("quit",             std::bind(&GTPBase::gtp_quit,             this, _1), "Quit the program");
		newcallback("exit",             std::bind(&GTPBase::gtp_quit,             this, _1), "Alias for quit");
		newcallback("protocol_version", std::bind(&GTPBase::gtp_protocol_version, this, _1), "Show the gtp protocol version");
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x168, %rsp            # imm = 0x168
movq %rdi, %rbx
vxorps %xmm0, %xmm0, %xmm0
vmovups %xmm0, 0x10(%rdi)
movq $0x0, 0x20(%rdi)
movq %rsi, (%rdi)
movq %rdx, 0x8(%rdi)
movl $0x0, 0x28(%rdi)
movb $0x0, 0x2c(%rdi)
leaq 0x158(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x278b2(%rip), %rsi     # 0x317c4
leaq 0x278b8(%rip), %rdx     # 0x317d1
leaq 0x148(%rsp), %rdi
callq 0xb0e0
vxorps %xmm0, %xmm0, %xmm0
vmovups %ymm0, (%rsp)
movl $0x20, %edi
vzeroupper
callq 0x5320
leaq 0x5c5(%rip), %r14       # 0xa508
movq %r14, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, 0x18(%rax)
movq %rax, (%rsp)
leaq 0x995(%rip), %r12       # 0xa8f6
movq %r12, 0x18(%rsp)
leaq 0x9a5(%rip), %r13       # 0xa912
movq %r13, 0x10(%rsp)
leaq 0x138(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x2784d(%rip), %rsi     # 0x317d2
leaq 0x27857(%rip), %rdx     # 0x317e3
leaq 0x128(%rsp), %rdi
callq 0xb0e0
leaq 0x148(%rsp), %rsi
movq %rsp, %rdx
leaq 0x128(%rsp), %rcx
movq %rbx, %rdi
callq 0x9d04
movq 0x128(%rsp), %rdi
cmpq %rbp, %rdi
je 0x9fc6
callq 0x52e0
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x9fdd
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x148(%rsp), %rdi
cmpq %r15, %rdi
je 0x9fef
callq 0x52e0
leaq 0x118(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x271da(%rip), %rsi     # 0x311dc
leaq 0x271d7(%rip), %rdx     # 0x311e0
leaq 0x108(%rsp), %rdi
callq 0xb0e0
vxorps %xmm0, %xmm0, %xmm0
vmovups %ymm0, (%rsp)
movl $0x20, %edi
vzeroupper
callq 0x5320
movq %r14, (%rax)
movq $0x0, 0x8(%rax)
movb $0x1, 0x10(%rax)
movq %rbx, 0x18(%rax)
movq %rax, (%rsp)
movq %r12, 0x18(%rsp)
movq %r13, 0x10(%rsp)
leaq 0xf8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x27783(%rip), %rsi     # 0x317e4
leaq 0x277a0(%rip), %rdx     # 0x31808
leaq 0xe8(%rsp), %rdi
callq 0xb0e0
leaq 0x108(%rsp), %rsi
movq %rsp, %rdx
leaq 0xe8(%rsp), %rcx
movq %rbx, %rdi
callq 0x9d04
movq 0xe8(%rsp), %rdi
cmpq %r12, %rdi
je 0xa0a2
callq 0x52e0
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0xa0b9
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x108(%rsp), %rdi
cmpq %r15, %rdi
je 0xa0cb
callq 0x52e0
leaq 0xd8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x2774a(%rip), %rsi     # 0x31829
leaq 0x27747(%rip), %rdx     # 0x3182d
leaq 0xc8(%rsp), %rdi
callq 0xb0e0
vxorps %xmm0, %xmm0, %xmm0
vmovups %ymm0, (%rsp)
movl $0x18, %edi
vzeroupper
callq 0x5320
leaq 0x5c8(%rip), %r13       # 0xa6d8
movq %r13, (%rax)
movq $0x0, 0x8(%rax)
movq %rbx, 0x10(%rax)
movq %rax, (%rsp)
leaq 0x92a(%rip), %r14       # 0xaa54
movq %r14, 0x18(%rsp)
leaq 0x936(%rip), %r15       # 0xaa6c
movq %r15, 0x10(%rsp)
leaq 0xb8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x276bb(%rip), %rsi     # 0x31809
leaq 0x276c4(%rip), %rdx     # 0x31819
leaq 0xa8(%rsp), %rdi
callq 0xb0e0
leaq 0xc8(%rsp), %rsi
movq %rsp, %rdx
leaq 0xa8(%rsp), %rcx
movq %rbx, %rdi
callq 0x9d04
movq 0xa8(%rsp), %rdi
cmpq %rbp, %rdi
je 0xa18f
callq 0x52e0
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0xa1a6
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0xc8(%rsp), %rdi
cmpq %r12, %rdi
je 0xa1b8
callq 0x52e0
leaq 0x98(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x2764e(%rip), %rsi     # 0x3181a
leaq 0x2764b(%rip), %rdx     # 0x3181e
leaq 0x88(%rsp), %rdi
callq 0xb0e0
vxorps %xmm0, %xmm0, %xmm0
vmovups %ymm0, (%rsp)
movl $0x18, %edi
vzeroupper
callq 0x5320
movq %r13, (%rax)
movq $0x0, 0x8(%rax)
movq %rbx, 0x10(%rax)
movq %rax, (%rsp)
movq %r14, 0x18(%rsp)
movq %r15, 0x10(%rsp)
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x275fc(%rip), %rsi     # 0x3181f
leaq 0x27603(%rip), %rdx     # 0x3182d
leaq 0x68(%rsp), %rdi
callq 0xb0e0
leaq 0x88(%rsp), %rsi
movq %rsp, %rdx
leaq 0x68(%rsp), %rcx
movq %rbx, %rdi
callq 0x9d04
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0xa25b
callq 0x52e0
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0xa272
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x88(%rsp), %rdi
cmpq %r12, %rdi
je 0xa284
callq 0x52e0
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x27599(%rip), %rsi     # 0x3182e
leaq 0x275a2(%rip), %rdx     # 0x3183e
leaq 0x48(%rsp), %rdi
callq 0xb0e0
vxorps %xmm0, %xmm0, %xmm0
vmovups %ymm0, (%rsp)
movl $0x18, %edi
vzeroupper
callq 0x5320
leaq 0x487(%rip), %rcx       # 0xa74a
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movq %rbx, 0x10(%rax)
movq %rax, (%rsp)
movq %r14, 0x18(%rsp)
movq %r15, 0x10(%rsp)
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x2754f(%rip), %rsi     # 0x3183f
leaq 0x27565(%rip), %rdx     # 0x3185c
leaq 0x28(%rsp), %rdi
callq 0xb0e0
leaq 0x48(%rsp), %rsi
movq %rsp, %rdx
leaq 0x28(%rsp), %rcx
movq %rbx, %rdi
callq 0x9d04
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0xa325
callq 0x52e0
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0xa33c
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0xa34b
callq 0x52e0
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xa4d1
jmp 0xa4d1
jmp 0xa4d1
jmp 0xa4d1
jmp 0xa4d1
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0xa38d
callq 0x52e0
jmp 0xa38d
movq %rax, %r14
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0xa3ae
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0xa3ae
jmp 0xa4d1
movq %rax, %r14
movq 0x48(%rsp), %rdi
jmp 0xa447
jmp 0xa4f0
movq %rax, %r14
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0xa3d4
callq 0x52e0
jmp 0xa3d4
movq %rax, %r14
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0xa3f5
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0xa3f5
jmp 0xa4d1
movq %rax, %r14
movq 0x88(%rsp), %rdi
jmp 0xa447
jmp 0xa4f0
movq %rax, %r14
movq 0xa8(%rsp), %rdi
cmpq %rbp, %rdi
je 0xa41e
callq 0x52e0
jmp 0xa41e
movq %rax, %r14
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0xa43f
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0xa43f
jmp 0xa4d1
movq %rax, %r14
movq 0xc8(%rsp), %rdi
cmpq %r12, %rdi
jne 0xa4e9
jmp 0xa4f3
jmp 0xa4f0
movq %rax, %r14
movq 0xe8(%rsp), %rdi
cmpq %r12, %rdi
je 0xa474
callq 0x52e0
jmp 0xa474
movq %rax, %r14
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0xa492
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0xa492
jmp 0xa4d1
movq %rax, %r14
movq 0x108(%rsp), %rdi
jmp 0xa4e4
jmp 0xa4f0
movq %rax, %r14
movq 0x128(%rsp), %rdi
cmpq %rbp, %rdi
je 0xa4b8
callq 0x52e0
jmp 0xa4b8
movq %rax, %r14
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0xa4dc
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0xa4dc
movq %rax, %rdi
callq 0xa7e4
movq %rax, %r14
movq 0x148(%rsp), %rdi
cmpq %r15, %rdi
je 0xa4f3
callq 0x52e0
jmp 0xa4f3
movq %rax, %r14
addq $0x10, %rbx
movq %rbx, %rdi
callq 0xa7bc
movq %r14, %rdi
callq 0x5670
nop