// File: planaria[P]cb_tree/./include/cb_tree/detail/cb_tree_base.hpp
// Function: cb_tree::detail::cb_tree_base<cb_tree::cb_set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, cb_tree::cb_key_traits<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, void>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, cb_tree::cb_key_traits<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, void>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::longest_match(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::pair<iterator, iterator> longest_match(const key_type& key)
			{
				node_pointer branch = find_branch(key);
				if (branch == end_node())
					return std::make_pair(end(), end());

				node_pointer leaf = branch->any_leaf();
				size_type mismatch = traits_type::mismatch(key, derived().key(leaf->value()));
				mismatch = traits_type::lexical_index(mismatch);

				while (branch != root_node() && mismatch <= branch->parent()->index())
					branch = branch->parent();

				return std::make_pair(iterator(branch->min_leaf()), iterator(branch->next_branch_leaf()));
			}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq -0x18(%rbp), %rdi
movq %rdi, -0x68(%rbp)
movq -0x20(%rbp), %rsi
callq 0x24190
movq -0x68(%rbp), %rdi
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x60(%rbp)
callq 0xed30
movq %rax, %rcx
movq -0x60(%rbp), %rax
cmpq %rcx, %rax
jne 0x4b419
movq -0x68(%rbp), %rdi
callq 0x22e60
movq -0x68(%rbp), %rdi
movq %rax, -0x30(%rbp)
callq 0x22e60
movq %rax, -0x38(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x4b7e0
movq %rax, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
jmp 0x4b51e
movq -0x28(%rbp), %rdi
callq 0xf990
movq -0x68(%rbp), %rdi
movq %rax, -0x40(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x70(%rbp)
callq 0xf820
movq %rax, -0x78(%rbp)
movq -0x40(%rbp), %rdi
callq 0xfb20
movq -0x78(%rbp), %rdi
movq %rax, %rsi
callq 0xf830
movq -0x70(%rbp), %rdi
movq %rax, %rsi
callq 0xfa00
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rdi
callq 0x4b840
movq %rax, -0x48(%rbp)
movq -0x68(%rbp), %rdi
movq -0x28(%rbp), %rax
movq %rax, -0x88(%rbp)
callq 0xed60
movq -0x88(%rbp), %rcx
movq %rax, %rdx
xorl %eax, %eax
cmpq (%rdx), %rcx
movb %al, -0x79(%rbp)
je 0x4b4c4
movq -0x48(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x28(%rbp), %rdi
callq 0xfb70
movq (%rax), %rdi
callq 0xfb90
movq %rax, %rcx
movq -0x90(%rbp), %rax
cmpq (%rcx), %rax
setbe %al
movb %al, -0x79(%rbp)
movb -0x79(%rbp), %al
testb $0x1, %al
jne 0x4b4cd
jmp 0x4b4df
movq -0x28(%rbp), %rdi
callq 0xfb70
movq (%rax), %rax
movq %rax, -0x28(%rbp)
jmp 0x4b46d
movq -0x28(%rbp), %rdi
callq 0x10570
movq %rax, %rsi
leaq -0x50(%rbp), %rdi
callq 0xfc00
movq -0x28(%rbp), %rdi
callq 0x243f0
movq %rax, %rsi
leaq -0x58(%rbp), %rdi
callq 0xfc00
leaq -0x50(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x4b7e0
movq %rax, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq -0x10(%rbp), %rax
movq -0x8(%rbp), %rdx
addq $0x90, %rsp
popq %rbp
retq
nop