// File: DimitriDaSilva[P]42_ft_containers/tester/containers/map/test_map_operations.cpp
// Function: test_map_operations_equal_range_no_match()
void
test_map_operations_equal_range_no_match()
{
	ft::map<char, int> mymap;

	mymap['a'] = 10;
	mymap['b'] = 20;
	mymap['d'] = 30;

	ft::pair<ft::map<char, int>::iterator, ft::map<char, int>::iterator> ret;
	ret = mymap.equal_range('c');
	std::cout << "lower bound points to: ";
	std::cout << " [" << ret.first->first << "] = " << ret.first->second << std::endl;
	std::cout << "upper bound points to: ";
	std::cout << " [" << ret.second->first << "] = " << ret.second->second << std::endl;

	ret = mymap.equal_range('@');
	std::cout << "lower bound points to: ";
	std::cout << " [" << ret.first->first << "] = " << ret.first->second << std::endl;
	std::cout << "upper bound points to: ";
	std::cout << " [" << ret.second->first << "] = " << ret.second->second << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
leaq -0x30(%rbp), %rdi
movq %rdi, -0x98(%rbp)
callq 0x1bf70
movq -0x98(%rbp), %rdi
movb $0x61, -0x31(%rbp)
leaq -0x31(%rbp), %rsi
callq 0x1c3f0
movq %rax, -0x90(%rbp)
jmp 0x1b7c8
movq -0x90(%rbp), %rax
movl $0xa, (%rax)
movb $0x62, -0x45(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0x45(%rbp), %rsi
callq 0x1c3f0
movq %rax, -0xa0(%rbp)
jmp 0x1b7ef
movq -0xa0(%rbp), %rax
movl $0x14, (%rax)
movb $0x64, -0x46(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0x46(%rbp), %rsi
callq 0x1c3f0
movq %rax, -0xa8(%rbp)
jmp 0x1b816
movq -0xa8(%rbp), %rax
movl $0x1e, (%rax)
leaq -0x58(%rbp), %rdi
callq 0x1c520
jmp 0x1b82e
movb $0x63, -0x69(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0x69(%rbp), %rsi
callq 0x1c550
movq %rdx, -0xb8(%rbp)
movq %rax, -0xb0(%rbp)
jmp 0x1b84f
movq -0xb8(%rbp), %rax
movq -0xb0(%rbp), %rcx
movq %rcx, -0x68(%rbp)
movq %rax, -0x60(%rbp)
leaq -0x58(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x1c590
movq 0x5f73f(%rip), %rdi     # 0x7afb8
leaq 0x3bb16(%rip), %rsi     # 0x57396
callq 0x31e0
jmp 0x1b887
movq 0x5f72a(%rip), %rdi     # 0x7afb8
leaq 0x3bd82(%rip), %rsi     # 0x57617
callq 0x31e0
movq %rax, -0xc0(%rbp)
jmp 0x1b8a3
leaq -0x58(%rbp), %rdi
callq 0x1c330
movq -0xc0(%rbp), %rdi
movsbl (%rax), %esi
callq 0x3250
movq %rax, -0xc8(%rbp)
jmp 0x1b8c4
movq -0xc8(%rbp), %rdi
leaq 0x3bd48(%rip), %rsi     # 0x5761a
callq 0x31e0
movq %rax, -0xd0(%rbp)
jmp 0x1b8e0
leaq -0x58(%rbp), %rdi
callq 0x1c330
movq -0xd0(%rbp), %rdi
movl 0x4(%rax), %esi
callq 0x3350
movq %rax, -0xd8(%rbp)
jmp 0x1b901
movq -0xd8(%rbp), %rdi
movq 0x5f689(%rip), %rsi     # 0x7af98
callq 0x3220
jmp 0x1b916
movq 0x5f69b(%rip), %rdi     # 0x7afb8
leaq 0x3ba8e(%rip), %rsi     # 0x573b2
callq 0x31e0
jmp 0x1b92b
movq 0x5f686(%rip), %rdi     # 0x7afb8
leaq 0x3bcde(%rip), %rsi     # 0x57617
callq 0x31e0
movq %rax, -0xe0(%rbp)
jmp 0x1b947
leaq -0x50(%rbp), %rdi
callq 0x1c330
movq -0xe0(%rbp), %rdi
movsbl (%rax), %esi
callq 0x3250
movq %rax, -0xe8(%rbp)
jmp 0x1b968
movq -0xe8(%rbp), %rdi
leaq 0x3bca4(%rip), %rsi     # 0x5761a
callq 0x31e0
movq %rax, -0xf0(%rbp)
jmp 0x1b984
leaq -0x50(%rbp), %rdi
callq 0x1c330
movq -0xf0(%rbp), %rdi
movl 0x4(%rax), %esi
callq 0x3350
movq %rax, -0xf8(%rbp)
jmp 0x1b9a5
movq -0xf8(%rbp), %rdi
movq 0x5f5e5(%rip), %rsi     # 0x7af98
callq 0x3220
jmp 0x1b9ba
movb $0x40, -0x81(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0x81(%rbp), %rsi
callq 0x1c550
movq %rdx, -0x108(%rbp)
movq %rax, -0x100(%rbp)
jmp 0x1b9e1
movq -0x108(%rbp), %rax
movq -0x100(%rbp), %rcx
movq %rcx, -0x80(%rbp)
movq %rax, -0x78(%rbp)
leaq -0x58(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x1c590
movq 0x5f5ad(%rip), %rdi     # 0x7afb8
leaq 0x3b984(%rip), %rsi     # 0x57396
callq 0x31e0
jmp 0x1ba19
movq 0x5f598(%rip), %rdi     # 0x7afb8
leaq 0x3bbf0(%rip), %rsi     # 0x57617
callq 0x31e0
movq %rax, -0x110(%rbp)
jmp 0x1ba35
leaq -0x58(%rbp), %rdi
callq 0x1c330
movq -0x110(%rbp), %rdi
movsbl (%rax), %esi
callq 0x3250
movq %rax, -0x118(%rbp)
jmp 0x1ba56
movq -0x118(%rbp), %rdi
leaq 0x3bbb6(%rip), %rsi     # 0x5761a
callq 0x31e0
movq %rax, -0x120(%rbp)
jmp 0x1ba72
leaq -0x58(%rbp), %rdi
callq 0x1c330
movq -0x120(%rbp), %rdi
movl 0x4(%rax), %esi
callq 0x3350
movq %rax, -0x128(%rbp)
jmp 0x1ba93
movq -0x128(%rbp), %rdi
movq 0x5f4f7(%rip), %rsi     # 0x7af98
callq 0x3220
jmp 0x1baa8
movq 0x5f509(%rip), %rdi     # 0x7afb8
leaq 0x3b8fc(%rip), %rsi     # 0x573b2
callq 0x31e0
jmp 0x1babd
movq 0x5f4f4(%rip), %rdi     # 0x7afb8
leaq 0x3bb4c(%rip), %rsi     # 0x57617
callq 0x31e0
movq %rax, -0x130(%rbp)
jmp 0x1bad9
leaq -0x50(%rbp), %rdi
callq 0x1c330
movq -0x130(%rbp), %rdi
movsbl (%rax), %esi
callq 0x3250
movq %rax, -0x138(%rbp)
jmp 0x1bafa
movq -0x138(%rbp), %rdi
leaq 0x3bb12(%rip), %rsi     # 0x5761a
callq 0x31e0
movq %rax, -0x140(%rbp)
jmp 0x1bb16
leaq -0x50(%rbp), %rdi
callq 0x1c330
movq -0x140(%rbp), %rdi
movl 0x4(%rax), %esi
callq 0x3350
movq %rax, -0x148(%rbp)
jmp 0x1bb37
movq -0x148(%rbp), %rdi
movq 0x5f453(%rip), %rsi     # 0x7af98
callq 0x3220
jmp 0x1bb4c
leaq -0x30(%rbp), %rdi
callq 0x1c230
addq $0x150, %rsp            # imm = 0x150
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x1c230
movq -0x40(%rbp), %rdi
callq 0x3360
nopl (%rax)