// File: /workspace/github_cpp_makefile_star2_O3/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>>>>::lower_bound(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
iterator lower_bound(const key_type& key)
			{
				size_type size = traits_type::size(key);
				node_pointer branch = find_branch(key, size);
				if (branch == end_node())
					return end();

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

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

				if (mismatch == branch->index())
				{
					if (size == mismatch)
					{
						if (branch->leaf())
							return iterator(branch);

						return iterator(branch->next_leaf());
					}
					else
					{
						return iterator(branch->min_leaf());
					}
				}

				if (size == mismatch)
					return iterator(branch->next_leaf());

				if (traits_type::test(derived().key(leaf->value()), mismatch))
					return iterator(branch->min_leaf());

				return iterator(branch->next_branch_leaf());
			}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %rbx
movq 0x8(%rsi), %r14
shlq $0x4, %r14
incq %r14
movq %r14, %rdx
callq 0xc32c
addq $0x8, %rbx
cmpq %rbx, %rax
je 0x1521b
movq %rax, %r12
movb 0x8(%rax), %al
movq %r12, %rbp
testb %al, %al
jne 0x15164
movq %r12, %rbp
xorl %eax, %eax
cmpq $0x0, (%rbp)
sete %al
shll $0x4, %eax
movq (%rbp,%rax), %rbp
movb 0x8(%rbp), %al
cmpb $0x1, %al
jne 0x1514b
testb %al, %al
je 0x1522d
leaq 0x28(%rbp), %r13
movq %r15, %rdi
movq %r13, %rsi
callq 0xc3b8
movq (%rbx), %rcx
movq %r12, %r15
cmpq %rcx, %r12
je 0x15191
movq 0x18(%r15), %r12
cmpq 0x20(%r12), %rax
jbe 0x1517e
cmpq 0x20(%r15), %rax
jne 0x151a9
cmpq %rax, %r14
je 0x151ff
movq %r15, %rbx
movq (%r15), %r15
testq %r15, %r15
jne 0x1519c
jmp 0x151ce
cmpq %rax, %r14
je 0x1520b
cmpb $0x0, 0x8(%rbp)
je 0x1522d
movq %r13, %rdi
movq %rax, %rsi
callq 0xc526
testb %al, %al
je 0x151f3
movq %r15, %rbx
movq (%r15), %r15
testq %r15, %r15
jne 0x151c3
cmpb $0x0, 0x8(%rbx)
jne 0x1521b
leaq 0x378e4(%rip), %rdi     # 0x4cabf
leaq 0x37319(%rip), %rsi     # 0x4c4fb
leaq 0x378e3(%rip), %rcx     # 0x4cacc
movl $0xd5, %edx
callq 0xa240
movq %r15, %rax
movq 0x18(%r15), %r15
cmpq %rax, (%r15)
jne 0x151f3
cmpb $0x0, 0x8(%r15)
je 0x1520b
movq %r15, %rbx
jmp 0x1521b
movq %r15, %rdi
callq 0xc654
testq %rax, %rax
je 0x1524c
movq %rax, %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x37596(%rip), %rdi     # 0x4c7ca
leaq 0x372c0(%rip), %rsi     # 0x4c4fb
leaq 0x372de(%rip), %rcx     # 0x4c520
movl $0x78, %edx
callq 0xa240
leaq 0x37394(%rip), %rdi     # 0x4c5e7
leaq 0x37392(%rip), %rsi     # 0x4c5ec
leaq 0x373b4(%rip), %rcx     # 0x4c615
movl $0x38, %edx
callq 0xa240
nop