// File: /workspace/github_cpp_makefile_star2_O2/DimitriDaSilva[P]42_ft_containers/tester/containers/map/test_map_modifiers.cpp
// Function: test_map_modifiers_insert_single_element_int()
void
test_map_modifiers_insert_single_element_int()
{
	ft::map<int, int> map;
	ft::pair<ft::map<int, int>::iterator, bool> ret;

	print_map_info(map);

	ret = map.insert(ft::make_pair(42, 42));
	std::cout << "Return: "
		<< "[" << ret.first->first << "] = " << ret.first->second
		<< " " << ret.second << std::endl;

	ret = map.insert(ft::make_pair(42, 42));
	std::cout << "Return: "
		<< "[" << ret.first->first << "] = " << ret.first->second
		<< " " << ret.second << std::endl;

	ret = map.insert(ft::make_pair(60, 42));
	std::cout << "Return: "
		<< "[" << ret.first->first << "] = " << ret.first->second
		<< " " << ret.second << std::endl;

	ret = map.insert(ft::make_pair(-42, 0));
	std::cout << "Return: "
		<< "[" << ret.first->first << "] = " << ret.first->second
		<< " " << ret.second << std::endl;

	print_map_info(map);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x38, %rsp
leaq -0x48(%rbp), %rax
andl $0x0, (%rax)
andq $0x0, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
andq $0x0, 0x20(%rax)
leaq -0x50(%rbp), %rdi
callq 0x10bd2
movabsq $0x2a0000002a, %r15     # imm = 0x2A0000002A
leaq -0x20(%rbp), %rsi
movq %r15, (%rsi)
leaq -0x50(%rbp), %rdi
callq 0xad0a
movq %rax, %r14
movl %edx, %ebx
movq 0x22d33(%rip), %rdi     # 0x31fb8
leaq 0x11e50(%rip), %rsi     # 0x210dc
callq 0x31d0
leaq 0x12372(%rip), %rsi     # 0x2160a
movq %rax, %rdi
callq 0x31d0
movl 0x20(%r14), %esi
movq %rax, %rdi
callq 0x3320
leaq 0x12359(%rip), %rsi     # 0x2160c
movq %rax, %rdi
callq 0x31d0
movl 0x24(%r14), %esi
movq %rax, %rdi
callq 0x3320
leaq 0x1301c(%rip), %rsi     # 0x222ea
movq %rax, %rdi
callq 0x31d0
movzbl %bl, %esi
andl $0x1, %esi
movq %rax, %rdi
callq 0x3310
movq %rax, %rdi
callq 0x30e0
leaq -0x20(%rbp), %rsi
movq %r15, (%rsi)
leaq -0x50(%rbp), %rdi
callq 0xad0a
movq %rax, %r14
movl %edx, %ebx
movq 0x22cb0(%rip), %rdi     # 0x31fb8
leaq 0x11dcd(%rip), %rsi     # 0x210dc
callq 0x31d0
leaq 0x122ef(%rip), %rsi     # 0x2160a
movq %rax, %rdi
callq 0x31d0
movl 0x20(%r14), %esi
movq %rax, %rdi
callq 0x3320
leaq 0x122d6(%rip), %rsi     # 0x2160c
movq %rax, %rdi
callq 0x31d0
movl 0x24(%r14), %esi
movq %rax, %rdi
callq 0x3320
leaq 0x12f99(%rip), %rsi     # 0x222ea
movq %rax, %rdi
callq 0x31d0
movzbl %bl, %esi
andl $0x1, %esi
movq %rax, %rdi
callq 0x3310
movq %rax, %rdi
callq 0x30e0
addq $0x12, %r15
leaq -0x20(%rbp), %rsi
movq %r15, (%rsi)
leaq -0x50(%rbp), %rdi
callq 0xad0a
movq %rax, %r14
movl %edx, %ebx
movq 0x22c29(%rip), %rdi     # 0x31fb8
leaq 0x11d46(%rip), %rsi     # 0x210dc
callq 0x31d0
leaq 0x12268(%rip), %rsi     # 0x2160a
movq %rax, %rdi
callq 0x31d0
movl 0x20(%r14), %esi
movq %rax, %rdi
callq 0x3320
leaq 0x1224f(%rip), %rsi     # 0x2160c
movq %rax, %rdi
callq 0x31d0
movl 0x24(%r14), %esi
movq %rax, %rdi
callq 0x3320
leaq 0x12f12(%rip), %rsi     # 0x222ea
movq %rax, %rdi
callq 0x31d0
movzbl %bl, %esi
andl $0x1, %esi
movq %rax, %rdi
callq 0x3310
movq %rax, %rdi
callq 0x30e0
movl $0xffffffd6, %eax       # imm = 0xFFFFFFD6
leaq -0x20(%rbp), %rsi
movq %rax, (%rsi)
leaq -0x50(%rbp), %rdi
callq 0xad0a
movq %rax, %r14
movl %edx, %ebx
movq 0x22ba1(%rip), %rdi     # 0x31fb8
leaq 0x11cbe(%rip), %rsi     # 0x210dc
callq 0x31d0
leaq 0x121e0(%rip), %rsi     # 0x2160a
movq %rax, %rdi
callq 0x31d0
movl 0x20(%r14), %esi
movq %rax, %rdi
callq 0x3320
leaq 0x121c7(%rip), %rsi     # 0x2160c
movq %rax, %rdi
callq 0x31d0
movl 0x24(%r14), %esi
movq %rax, %rdi
callq 0x3320
leaq 0x12e8a(%rip), %rsi     # 0x222ea
movq %rax, %rdi
callq 0x31d0
movzbl %bl, %esi
andl $0x1, %esi
movq %rax, %rdi
callq 0x3310
movq %rax, %rdi
callq 0x30e0
leaq -0x50(%rbp), %rdi
callq 0x10bd2
leaq -0x50(%rbp), %rdi
callq 0xa648
addq $0x38, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0xf4a3
jmp 0xf4a3
jmp 0xf4a3
jmp 0xf4a3
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0xa648
movq %rbx, %rdi
callq 0x3330