// File: /workspace/github_cpp_makefile_star2_O3/DimitriDaSilva[P]42_ft_containers/tester/containers/map/test_map_operations.cpp
// Function: test_map_operations_lower_bound()
void
test_map_operations_lower_bound()
{
	ft::map<char, int> map;
	ft::map<char, int>::iterator it;
	ft::map<char, int>::const_iterator const_it;

	for (char i = '0'; i <= '9'; i++)
		map.insert(ft::make_pair(i, i));

	it = map.lower_bound('0');
	if (it != map.end())
		std::cout << " [" << it->first << "] = " << it->second << std::endl;
	else
		std::cout << "end()" << std::endl;

	it = map.lower_bound('!');
	if (it != map.end())
		std::cout << " [" << it->first << "] = " << it->second << std::endl;
	else
		std::cout << "end()" << std::endl;

	const_it = map.lower_bound('?');
	if (const_it != map.end())
		std::cout << " [" << const_it->first << "] = " << const_it->second << std::endl;
	else
		std::cout << "end()" << std::endl;

	const_it = map.lower_bound('-');
	if (const_it != map.end())
		std::cout << " [" << const_it->first << "] = " << const_it->second << std::endl;
	else
		std::cout << "end()" << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
leaq -0x50(%rbp), %r15
movl $0x0, (%r15)
xorl %eax, %eax
movq %rax, 0x8(%r15)
movq %r15, 0x10(%r15)
movq %r15, 0x18(%r15)
movq %rax, 0x20(%r15)
movw $0x3030, %r12w          # imm = 0x3030
leaq -0x58(%rbp), %rbx
leaq -0x22(%rbp), %r14
movw %r12w, -0x22(%rbp)
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd03a
addl $0x101, %r12d           # imm = 0x101
movzwl %r12w, %eax
cmpl $0x3a3a, %eax           # imm = 0x3A3A
jne 0xbdbb
movq -0x48(%rbp), %rax
testq %rax, %rax
je 0xbe78
movq %r15, %r14
xorl %ecx, %ecx
cmpb $0x30, 0x20(%rax)
setl %cl
cmovgeq %rax, %r14
movq 0x10(%rax,%rcx,8), %rax
testq %rax, %rax
jne 0xbded
cmpq %r15, %r14
je 0xbe78
movq 0x281c0(%rip), %rdi     # 0x33fd0
leaq 0x1a820(%rip), %rsi     # 0x26637
movl $0x2, %edx
callq 0x2230
movb 0x20(%r14), %al
leaq -0x22(%rbp), %rsi
movb %al, (%rsi)
movq 0x2819e(%rip), %rdi     # 0x33fd0
movl $0x1, %edx
callq 0x2230
movq %rax, %rbx
leaq 0x1a7f4(%rip), %rsi     # 0x2663a
movl $0x4, %edx
movq %rax, %rdi
callq 0x2230
movl 0x24(%r14), %esi
movq %rbx, %rdi
callq 0x2330
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
jmp 0xbea7
movq 0x28151(%rip), %rbx     # 0x33fd0
leaq 0x1a526(%rip), %rsi     # 0x263ac
movl $0x5, %edx
movq %rbx, %rdi
callq 0x2230
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq -0x48(%rbp), %rax
testq %rax, %rax
je 0xbf55
movq %r15, %r14
xorl %ecx, %ecx
cmpb $0x21, 0x20(%rax)
setl %cl
cmovgeq %rax, %r14
movq 0x10(%rax,%rcx,8), %rax
testq %rax, %rax
jne 0xbeca
cmpq %r15, %r14
je 0xbf55
movq 0x280e3(%rip), %rdi     # 0x33fd0
leaq 0x1a743(%rip), %rsi     # 0x26637
movl $0x2, %edx
callq 0x2230
movb 0x20(%r14), %al
leaq -0x22(%rbp), %rsi
movb %al, (%rsi)
movq 0x280c1(%rip), %rdi     # 0x33fd0
movl $0x1, %edx
callq 0x2230
movq %rax, %rbx
leaq 0x1a717(%rip), %rsi     # 0x2663a
movl $0x4, %edx
movq %rax, %rdi
callq 0x2230
movl 0x24(%r14), %esi
movq %rbx, %rdi
callq 0x2330
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
jmp 0xbf84
movq 0x28074(%rip), %rbx     # 0x33fd0
leaq 0x1a449(%rip), %rsi     # 0x263ac
movl $0x5, %edx
movq %rbx, %rdi
callq 0x2230
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq -0x48(%rbp), %rax
testq %rax, %rax
je 0xc032
movq %r15, %r14
xorl %ecx, %ecx
cmpb $0x3f, 0x20(%rax)
setl %cl
cmovgeq %rax, %r14
movq 0x10(%rax,%rcx,8), %rax
testq %rax, %rax
jne 0xbfa7
cmpq %r15, %r14
je 0xc032
movq 0x28006(%rip), %rdi     # 0x33fd0
leaq 0x1a666(%rip), %rsi     # 0x26637
movl $0x2, %edx
callq 0x2230
movb 0x20(%r14), %al
leaq -0x22(%rbp), %rsi
movb %al, (%rsi)
movq 0x27fe4(%rip), %rdi     # 0x33fd0
movl $0x1, %edx
callq 0x2230
movq %rax, %rbx
leaq 0x1a63a(%rip), %rsi     # 0x2663a
movl $0x4, %edx
movq %rax, %rdi
callq 0x2230
movl 0x24(%r14), %esi
movq %rbx, %rdi
callq 0x2330
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
jmp 0xc061
movq 0x27f97(%rip), %rbx     # 0x33fd0
leaq 0x1a36c(%rip), %rsi     # 0x263ac
movl $0x5, %edx
movq %rbx, %rdi
callq 0x2230
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq -0x48(%rbp), %rax
testq %rax, %rax
je 0xc10f
movq %r15, %r14
xorl %ecx, %ecx
cmpb $0x2d, 0x20(%rax)
setl %cl
cmovgeq %rax, %r14
movq 0x10(%rax,%rcx,8), %rax
testq %rax, %rax
jne 0xc084
cmpq %r15, %r14
je 0xc10f
movq 0x27f29(%rip), %rdi     # 0x33fd0
leaq 0x1a589(%rip), %rsi     # 0x26637
movl $0x2, %edx
callq 0x2230
movb 0x20(%r14), %al
leaq -0x22(%rbp), %rsi
movb %al, (%rsi)
movq 0x27f07(%rip), %rdi     # 0x33fd0
movl $0x1, %edx
callq 0x2230
movq %rax, %rbx
leaq 0x1a55d(%rip), %rsi     # 0x2663a
movl $0x4, %edx
movq %rax, %rdi
callq 0x2230
movl 0x24(%r14), %esi
movq %rbx, %rdi
callq 0x2330
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
jmp 0xc13e
movq 0x27eba(%rip), %rbx     # 0x33fd0
leaq 0x1a28f(%rip), %rsi     # 0x263ac
movl $0x5, %edx
movq %rbx, %rdi
callq 0x2230
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq -0x58(%rbp), %rdi
callq 0xcfe2
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0xc169
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0xcfe2
movq %rbx, %rdi
callq 0x2340