// File: /workspace/github_cpp_makefile_star2_O3/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 0x2e04(%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 0xfaee(%rip), %rdi      # 0x33fd0
leaq 0x2de2(%rip), %rsi      # 0x272cb
movl $0x8, %edx
callq 0x2230
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq 0xface(%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 0xfa98(%rip), %rdi      # 0x33fd0
leaq 0x2d95(%rip), %rsi      # 0x272d4
movl $0xd, %edx
callq 0x2230
movl -0x28(%rbp), %esi
movq 0xfa7d(%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 0xfa34(%rip), %rdi      # 0x33fd0
leaq 0x2d3f(%rip), %rsi      # 0x272e2
movl $0xd, %edx
callq 0x2230
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
movq 0xfa14(%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 0xf9de(%rip), %rdi      # 0x33fd0
leaq 0x2cf7(%rip), %rsi      # 0x272f0
movl $0x12, %edx
callq 0x2230
movl -0x50(%rbp), %esi
movq 0xf9c3(%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 0x4aa8
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 0x4aa8
movl -0x50(%rbp), %eax
movl %eax, -0xa0(%rbp)
movq -0xc0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x246a1
callq 0x21b0
movq -0x98(%rbp), %rdi
cmpq %r12, %rdi
je 0x246b2
callq 0x21b0
movq -0x70(%rbp), %rdi
cmpq %r15, %rdi
je 0x246c0
callq 0x21b0
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x246ce
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 0x246f9
callq 0x21b0
jmp 0x246f9
jmp 0x246f6
movq %rax, %rbx
movq -0x70(%rbp), %rdi
cmpq %r15, %rdi
je 0x24707
callq 0x21b0
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x24715
callq 0x21b0
movq %rbx, %rdi
callq 0x2340