// File: tewalds[P]pentagod/./gtp.h
// Function: GTPclient::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){
		string ret = "\n";
		for(unsigned int i = 0; i < callbacks.size(); i++){
			ret += callbacks[i].name;
			if(showdesc && callbacks[i].desc.length() > 0){
				ret += string(longest_cmd + 2 - callbacks[i].name.length(), ' ');
				ret += callbacks[i].desc;
			}
			ret += "\n";
		}
		return GTPResponse(true, ret);
	}

// Assembly:
subq $0xe8, %rsp
movq %rdi, 0x28(%rsp)
movb %cl, %al
movq %rdi, %rcx
movq %rcx, 0x30(%rsp)
movq %rdi, 0xe0(%rsp)
movq %rsi, 0xd8(%rsp)
movq %rdx, 0xd0(%rsp)
andb $0x1, %al
movb %al, 0xcf(%rsp)
movq 0xd8(%rsp), %rax
movq %rax, 0x38(%rsp)
leaq 0xa7(%rsp), %rdi
movq %rdi, 0x40(%rsp)
callq 0x4670
movq 0x40(%rsp), %rdx
leaq 0x331be(%rip), %rsi     # 0x3dab0
leaq 0xa8(%rsp), %rdi
callq 0x44d0
jmp 0xa901
leaq 0xa7(%rsp), %rdi
callq 0x43f0
movl $0x0, 0x90(%rsp)
movq 0x38(%rsp), %rdi
movl 0x90(%rsp), %eax
movq %rax, 0x20(%rsp)
addq $0x18, %rdi
callq 0xb640
movq %rax, %rcx
movq 0x20(%rsp), %rax
cmpq %rcx, %rax
jae 0xab16
movq 0x38(%rsp), %rdi
addq $0x18, %rdi
movl 0x90(%rsp), %eax
movl %eax, %esi
callq 0xb660
movq %rax, %rsi
leaq 0xa8(%rsp), %rdi
callq 0x4490
jmp 0xa96d
testb $0x1, 0xcf(%rsp)
je 0xaae8
movq 0x38(%rsp), %rdi
addq $0x18, %rdi
movl 0x90(%rsp), %eax
movl %eax, %esi
callq 0xb660
movq %rax, %rdi
addq $0x20, %rdi
callq 0x4570
cmpq $0x0, %rax
jbe 0xaae8
movq 0x38(%rsp), %rdi
movl 0x30(%rdi), %eax
addl $0x2, %eax
movq %rax, 0x8(%rsp)
addq $0x18, %rdi
movl 0x90(%rsp), %eax
movl %eax, %esi
callq 0xb660
movq %rax, %rdi
callq 0x4570
movq %rax, %rcx
movq 0x8(%rsp), %rax
subq %rcx, %rax
movq %rax, 0x10(%rsp)
leaq 0x6f(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x4670
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rcx
leaq 0x70(%rsp), %rdi
movl $0x20, %edx
callq 0x4260
jmp 0xaa0c
leaq 0xa8(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x4490
jmp 0xaa20
leaq 0x70(%rsp), %rdi
callq 0x4210
leaq 0x6f(%rsp), %rdi
callq 0x43f0
movq 0x38(%rsp), %rdi
addq $0x18, %rdi
movl 0x90(%rsp), %eax
movl %eax, %esi
callq 0xb660
movq %rax, %rsi
addq $0x20, %rsi
leaq 0xa8(%rsp), %rdi
callq 0x4490
jmp 0xaa61
jmp 0xaae8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x98(%rsp)
movl %eax, 0x94(%rsp)
leaq 0xa7(%rsp), %rdi
callq 0x43f0
jmp 0xab8f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x98(%rsp)
movl %eax, 0x94(%rsp)
jmp 0xab82
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x98(%rsp)
movl %eax, 0x94(%rsp)
jmp 0xaad9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x98(%rsp)
movl %eax, 0x94(%rsp)
leaq 0x70(%rsp), %rdi
callq 0x4210
leaq 0x6f(%rsp), %rdi
callq 0x43f0
jmp 0xab82
leaq 0x32fc1(%rip), %rsi     # 0x3dab0
leaq 0xa8(%rsp), %rdi
callq 0x4370
jmp 0xaafe
jmp 0xab00
movl 0x90(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x90(%rsp)
jmp 0xa919
leaq 0x48(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x4170
jmp 0xab2a
movq 0x28(%rsp), %rdi
movl $0x1, %esi
leaq 0x48(%rsp), %rdx
callq 0xb680
jmp 0xab40
leaq 0x48(%rsp), %rdi
callq 0x4210
leaq 0xa8(%rsp), %rdi
callq 0x4210
movq 0x30(%rsp), %rax
addq $0xe8, %rsp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x98(%rsp)
movl %eax, 0x94(%rsp)
leaq 0x48(%rsp), %rdi
callq 0x4210
leaq 0xa8(%rsp), %rdi
callq 0x4210
movq 0x98(%rsp), %rdi
callq 0x4660
nopl (%rax)