// 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_string()
void
test_map_modifiers_insert_single_element_string()
{
	ft::map<int, std::string> map;
	ft::pair<ft::map<int, std::string>::iterator, bool> ret;

	print_map_info(map);

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

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

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

	ret = map.insert(ft::make_pair(-42, "test"));
	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 $0x48, %rsp
leaq -0x50(%rbp), %rax
andl $0x0, (%rax)
andq $0x0, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
andq $0x0, 0x20(%rax)
leaq -0x58(%rbp), %rdi
callq 0x10ca7
leaq -0x28(%rbp), %rsi
movl $0x2a, (%rsi)
leaq 0x122c3(%rip), %r15     # 0x217ba
movq %r15, 0x8(%rsi)
leaq -0x58(%rbp), %rdi
callq 0x10e98
movq %rax, %r14
movl %edx, %ebx
movq 0x22aa8(%rip), %rdi     # 0x31fb8
leaq 0x11bc5(%rip), %rsi     # 0x210dc
callq 0x31d0
leaq 0x120e7(%rip), %rsi     # 0x2160a
movq %rax, %rdi
callq 0x31d0
movl 0x20(%r14), %esi
movq %rax, %rdi
callq 0x3320
leaq 0x120ce(%rip), %rsi     # 0x2160c
movq %rax, %rdi
callq 0x31d0
addq $0x28, %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x3190
leaq 0x12d8e(%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 -0x28(%rbp), %rsi
movl $0x2a, (%rsi)
movq %r15, 0x8(%rsi)
leaq -0x58(%rbp), %rdi
callq 0x10e98
movq %rax, %r14
movl %edx, %ebx
movq 0x22a1b(%rip), %rdi     # 0x31fb8
leaq 0x11b38(%rip), %rsi     # 0x210dc
callq 0x31d0
leaq 0x1205a(%rip), %rsi     # 0x2160a
movq %rax, %rdi
callq 0x31d0
movl 0x20(%r14), %esi
movq %rax, %rdi
callq 0x3320
leaq 0x12041(%rip), %rsi     # 0x2160c
movq %rax, %rdi
callq 0x31d0
addq $0x28, %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x3190
leaq 0x12d01(%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 -0x28(%rbp), %rsi
movl $0x3c, (%rsi)
movq %r15, 0x8(%rsi)
leaq -0x58(%rbp), %rdi
callq 0x10e98
movq %rax, %r14
movl %edx, %ebx
movq 0x2298e(%rip), %rdi     # 0x31fb8
leaq 0x11aab(%rip), %rsi     # 0x210dc
callq 0x31d0
leaq 0x11fcd(%rip), %rsi     # 0x2160a
movq %rax, %rdi
callq 0x31d0
movl 0x20(%r14), %esi
movq %rax, %rdi
callq 0x3320
leaq 0x11fb4(%rip), %rsi     # 0x2160c
movq %rax, %rdi
callq 0x31d0
addq $0x28, %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x3190
leaq 0x12c74(%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 -0x28(%rbp), %rsi
movl $0xffffffd6, (%rsi)     # imm = 0xFFFFFFD6
leaq 0x11a6a(%rip), %rax     # 0x2110f
movq %rax, 0x8(%rsi)
leaq -0x58(%rbp), %rdi
callq 0x10e98
movq %rax, %r14
movl %edx, %ebx
movq 0x228fa(%rip), %rdi     # 0x31fb8
leaq 0x11a17(%rip), %rsi     # 0x210dc
callq 0x31d0
leaq 0x11f39(%rip), %rsi     # 0x2160a
movq %rax, %rdi
callq 0x31d0
movl 0x20(%r14), %esi
movq %rax, %rdi
callq 0x3320
leaq 0x11f20(%rip), %rsi     # 0x2160c
movq %rax, %rdi
callq 0x31d0
addq $0x28, %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x3190
leaq 0x12be0(%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 -0x58(%rbp), %rdi
callq 0x10ca7
leaq -0x58(%rbp), %rdi
callq 0x10e20
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0xf74d
jmp 0xf74d
jmp 0xf74d
jmp 0xf74d
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0x10e20
movq %rbx, %rdi
callq 0x3330