// File: /workspace/github_cpp_makefile_star2_O3/nmmmnu[P]HM3/main/dbadapter.h
// Function: DBAdapter<hm3::LSMTable<std::vector<hm3::DiskTable, std::allocator<hm3::DiskTable>>>, hm3::tableloader::DirectoryTableLoader>::getall[abi:cxx11](StringRef const&) const
std::vector<std::string> getall(const StringRef &key) const{
		std::vector<std::string> result;

		// reserve x2 because of hgetall
		result.reserve(maxResults_ * 2);

		const auto bit = list_.lowerBound(key);
		const auto eit = list_.end();

		size_t c = 0;
		for(auto it = bit; it != eit; ++it){
			result.push_back(it->getKey());
			result.push_back(es__(it->getVal()));

			if (++c >= maxResults_)
				break;
		}

		for(auto x : result)
			std::cout << x << '\n';

		return result;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x10(%rsi), %rsi
addq %rsi, %rsi
callq 0x6236
movq (%r14), %rax
movq (%rax), %rsi
leaq 0x68(%rsp), %rdi
movq %r15, %rdx
xorl %ecx, %ecx
callq 0x633a
movq (%r14), %rax
movq (%rax), %rsi
leaq 0x28(%rsp), %rdx
movb $0x1, (%rdx)
leaq 0xa8(%rsp), %rdi
xorl %ecx, %ecx
callq 0x5492
leaq 0x28(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x64dc
leaq 0x90(%rsp), %rsi
movups -0x10(%rsi), %xmm0
leaq 0x50(%rsp), %rdi
movups %xmm0, -0x10(%rdi)
callq 0x6578
leaq 0x10(%rsp), %rbp
xorl %r12d, %r12d
leaq 0x28(%rsp), %r15
movq %rsp, %r13
movq %r15, %rdi
leaq 0xa8(%rsp), %rsi
callq 0x5c86
testb %al, %al
jne 0x5001
movq 0x48(%rsp), %rax
testq %rax, %rax
jne 0x4f47
movq %r15, %rdi
callq 0x5d24
movq %rax, %rdi
callq 0x75bc
movq %rbp, (%rsp)
addq %rdx, %rax
movq %r13, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0x3d5a
movq %rbx, %rdi
movq %r13, %rsi
callq 0x66d0
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x4f85
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3290
movq 0x48(%rsp), %rax
testq %rax, %rax
jne 0x4f97
movq %r15, %rdi
callq 0x5d24
movq %rax, %rdi
callq 0x75de
testq %rax, %rax
leaq 0x5242(%rip), %rcx      # 0xa1eb
cmoveq %rcx, %rdx
cmpq $0x1, %rax
adcq $0x0, %rax
movq %rbp, (%rsp)
addq %rdx, %rax
movq %r13, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0x3d5a
movq %rbx, %rdi
movq %r13, %rsi
callq 0x66d0
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x4feb
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3290
incq %r12
cmpq 0x10(%r14), %r12
jae 0x5001
movq %r15, %rdi
callq 0x5418
jmp 0x4f1d
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x5018
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x3290
leaq 0x28(%rsp), %rdi
callq 0x57a6
movq (%rbx), %r13
movq %rbx, 0x20(%rsp)
movq 0x8(%rbx), %rbx
cmpq %rbx, %r13
je 0x50a5
leaq 0x38(%rsp), %rbp
leaq 0x28(%rsp), %r14
movq 0x9f8c(%rip), %r15      # 0xefd0
movq %rsp, %r12
movq %rbp, 0x28(%rsp)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x690a
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %r15, %rdi
callq 0x32d0
movb $0xa, (%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x32d0
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x509c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3290
addq $0x20, %r13
cmpq %rbx, %r13
jne 0x5047
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x50c2
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3290
leaq 0xa8(%rsp), %rdi
callq 0x57a6
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
movq 0x20(%rsp), %rbx
je 0x50f1
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3290
leaq 0x68(%rsp), %rdi
callq 0x57a6
movq %rbx, %rax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x57a6
jmp 0x5184
movq %rax, %r14
jmp 0x5184
movq %rax, %r14
jmp 0x5191
jmp 0x512b
movq %rax, %r14
jmp 0x519b
jmp 0x5132
movq %rax, %r14
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x5159
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3290
jmp 0x5159
movq %rax, %r14
jmp 0x517f
jmp 0x5156
jmp 0x5156
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x5470
jmp 0x5184
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x517f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3290
movq 0x20(%rsp), %rbx
leaq 0xa8(%rsp), %rdi
callq 0x5470
leaq 0x68(%rsp), %rdi
callq 0x5470
movq %rbx, %rdi
callq 0x51ac
movq %r14, %rdi
callq 0x3420
nop