// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/others/test_pair.cpp
// Function: test_pair_assignement_overload()
void
test_pair_assignement_overload()
{
	ft::pair<std::string, int> planet, homeplanet;

	planet.first = "Earth";
	planet.second = 6371;

	std::cout << "Planet: " << planet.first << std::endl;
	std::cout << "Planet size: " << planet.second << std::endl;

	homeplanet = planet;

	std::cout << "Home planet: " << homeplanet.first << std::endl;
	std::cout << "Home planet size: " << homeplanet.second << std::endl;

	{
		ft::pair<std::string, int> cpy1 = planet;
		ft::pair<std::string, int> cpy2 = homeplanet;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xa0, %rsp
leaq -0x38(%rbp), %r14
movq %r14, -0x10(%r14)
xorl %eax, %eax
movq %rax, -0x8(%r14)
movb %al, (%r14)
movl %eax, 0x10(%r14)
leaq -0x60(%rbp), %r15
movq %r15, -0x10(%r15)
movq %rax, -0x8(%r15)
movb %al, (%r15)
movl %eax, 0x10(%r15)
leaq 0x2d70(%rip), %rcx      # 0x272c5
leaq -0x48(%rbp), %rdi
movl $0x5, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x22c0
movl $0x18e3, -0x28(%rbp)    # imm = 0x18E3
movq 0xfa5a(%rip), %rdi      # 0x33fd0
leaq 0x2d4e(%rip), %rsi      # 0x272cb
movl $0x8, %edx
callq 0x2230
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq 0xfa3a(%rip), %rdi      # 0x33fd0
callq 0x2230
movq %rax, %rbx
movq (%rax), %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 0xfa04(%rip), %rdi      # 0x33fd0
leaq 0x2d01(%rip), %rsi      # 0x272d4
movl $0xd, %edx
callq 0x2230
movl -0x28(%rbp), %esi
movq 0xf9e9(%rip), %rdi      # 0x33fd0
callq 0x2330
movq %rax, %rbx
movq (%rax), %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 -0x70(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x2100
movl -0x28(%rbp), %eax
movl %eax, -0x50(%rbp)
movq 0xf9a0(%rip), %rdi      # 0x33fd0
leaq 0x2cab(%rip), %rsi      # 0x272e2
movl $0xd, %edx
callq 0x2230
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
movq 0xf980(%rip), %rdi      # 0x33fd0
callq 0x2230
movq %rax, %rbx
movq (%rax), %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 0xf94a(%rip), %rdi      # 0x33fd0
leaq 0x2c63(%rip), %rsi      # 0x272f0
movl $0x12, %edx
callq 0x2230
movl -0x50(%rbp), %esi
movq 0xf92f(%rip), %rdi      # 0x33fd0
callq 0x2330
movq %rax, %rbx
movq (%rax), %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 -0x88(%rbp), %r12
movq %r12, -0x10(%r12)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
addq %rsi, %rdx
leaq -0x98(%rbp), %rdi
callq 0x4ac2
movl -0x28(%rbp), %eax
movl %eax, -0x78(%rbp)
leaq -0xb0(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
addq %rsi, %rdx
leaq -0xc0(%rbp), %rdi
callq 0x4ac2
movl -0x50(%rbp), %eax
movl %eax, -0xa0(%rbp)
movq -0xc0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x24735
callq 0x21b0
movq -0x98(%rbp), %rdi
cmpq %r12, %rdi
je 0x24746
callq 0x21b0
movq -0x70(%rbp), %rdi
cmpq %r15, %rdi
je 0x24754
callq 0x21b0
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x24762
callq 0x21b0
addq $0xa0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x98(%rbp), %rdi
cmpq %r12, %rdi
je 0x2478d
callq 0x21b0
jmp 0x2478d
jmp 0x2478a
movq %rax, %rbx
movq -0x70(%rbp), %rdi
cmpq %r15, %rdi
je 0x2479b
callq 0x21b0
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x247a9
callq 0x21b0
movq %rbx, %rdi
callq 0x2340