// File: /workspace/github_cpp_makefile_star2_O3/DimitriDaSilva[P]42_ft_containers/tester/others/test_pair.cpp
// Function: test_pair_constructors()
void
test_pair_constructors()
{
	ft::pair<std::string, double> product1;
	ft::pair<std::string, double> product2("tomatoes", 2.30);
	ft::pair<std::string, double> product3(product2);

	product2.first = "shoes";
	product2.second = 39.90;

	std::cout << "The price of " << product1.first << " is $" << product1.second << std::endl;
	std::cout << "The price of " << product2.first << " is $" << product2.second << std::endl;
	std::cout << "The price of " << product3.first << " is $" << product3.second << std::endl;

	{
		ft::pair<std::string, double> cpy1 = product1;
		ft::pair<std::string, double> cpy2 = product2;
		ft::pair<std::string, double> cpy3 = product3;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
leaq -0x90(%rbp), %r14
movq %r14, -0x10(%r14)
xorl %eax, %eax
movq %rax, -0x8(%r14)
movb $0x0, (%r14)
movq %rax, 0x10(%r14)
leaq -0x40(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x3181(%rip), %rsi      # 0x272a2
leaq 0x3182(%rip), %rdx      # 0x272aa
leaq -0x50(%rbp), %rdi
callq 0x2f88
movabsq $0x4002666666666666, %rax # imm = 0x4002666666666666
movq %rax, -0x30(%rbp)
leaq -0x68(%rbp), %rax
movq %rax, -0x10(%rax)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
addq %rsi, %rdx
leaq -0x78(%rbp), %rdi
callq 0x4aa8
leaq -0x50(%rbp), %rdi
movsd 0x20(%rdi), %xmm0
movsd %xmm0, -0x58(%rbp)
movq 0x8(%rdi), %rdx
leaq 0x3137(%rip), %rcx      # 0x272ab
movl $0x5, %r8d
xorl %esi, %esi
callq 0x22c0
movabsq $0x4043f33333333333, %rax # imm = 0x4043F33333333333
movq %rax, -0x30(%rbp)
movq 0xfe3a(%rip), %rdi      # 0x33fd0
leaq 0x3114(%rip), %rsi      # 0x272b1
movl $0xd, %edx
callq 0x2230
movq -0xa0(%rbp), %rsi
movq -0x98(%rbp), %rdx
movq 0xfe14(%rip), %rdi      # 0x33fd0
callq 0x2230
movq %rax, %rbx
leaq 0x30f4(%rip), %rsi      # 0x272bf
movl $0x5, %edx
movq %rax, %rdi
callq 0x2230
movsd -0x80(%rbp), %xmm0
movq %rbx, %rdi
callq 0x22f0
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 0xfdba(%rip), %rdi      # 0x33fd0
leaq 0x3094(%rip), %rsi      # 0x272b1
movl $0xd, %edx
callq 0x2230
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq 0xfd9a(%rip), %rdi      # 0x33fd0
callq 0x2230
movq %rax, %rbx
leaq 0x307a(%rip), %rsi      # 0x272bf
movl $0x5, %edx
movq %rax, %rdi
callq 0x2230
movsd -0x30(%rbp), %xmm0
movq %rbx, %rdi
callq 0x22f0
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 0xfd40(%rip), %rdi      # 0x33fd0
leaq 0x301a(%rip), %rsi      # 0x272b1
movl $0xd, %edx
callq 0x2230
movq -0x78(%rbp), %rsi
movq -0x70(%rbp), %rdx
movq 0xfd20(%rip), %rdi      # 0x33fd0
callq 0x2230
movq %rax, %rbx
leaq 0x3000(%rip), %rsi      # 0x272bf
movl $0x5, %edx
movq %rax, %rdi
callq 0x2230
movsd -0x58(%rbp), %xmm0
movq %rbx, %rdi
callq 0x22f0
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 -0xe0(%rbp), %r13
movq %r13, -0x10(%r13)
movq -0xa0(%rbp), %rsi
movq -0x98(%rbp), %rdx
addq %rsi, %rdx
leaq -0xf0(%rbp), %rdi
callq 0x4aa8
movsd -0x80(%rbp), %xmm0
movsd %xmm0, -0xd0(%rbp)
leaq -0xb8(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
addq %rsi, %rdx
leaq -0xc8(%rbp), %rdi
callq 0x4aa8
movsd -0x30(%rbp), %xmm0
movsd %xmm0, -0xa8(%rbp)
leaq -0x108(%rbp), %r15
movq %r15, -0x10(%r15)
movq -0x78(%rbp), %rsi
movq -0x70(%rbp), %rdx
addq %rsi, %rdx
leaq -0x118(%rbp), %rdi
callq 0x4aa8
movsd -0x58(%rbp), %xmm0
movsd %xmm0, -0xf8(%rbp)
movq -0x118(%rbp), %rdi
cmpq %r15, %rdi
je 0x243a7
callq 0x21b0
movq -0xc8(%rbp), %rdi
cmpq %rbx, %rdi
je 0x243b8
callq 0x21b0
movq -0xf0(%rbp), %rdi
cmpq %r13, %rdi
je 0x243c9
callq 0x21b0
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x243db
callq 0x21b0
movq -0x50(%rbp), %rdi
cmpq %r12, %rdi
je 0x243e9
callq 0x21b0
movq -0xa0(%rbp), %rdi
cmpq %r14, %rdi
je 0x243fa
callq 0x21b0
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r15
movq -0xc8(%rbp), %rdi
cmpq %rbx, %rdi
je 0x24425
callq 0x21b0
jmp 0x24425
movq %rax, %r15
movq -0xf0(%rbp), %rdi
cmpq %r13, %rdi
je 0x24447
callq 0x21b0
jmp 0x24447
jmp 0x24444
movq %rax, %r15
jmp 0x24459
movq %rax, %r15
jmp 0x24467
movq %rax, %r15
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x24459
callq 0x21b0
movq -0x50(%rbp), %rdi
cmpq %r12, %rdi
je 0x24467
callq 0x21b0
movq -0xa0(%rbp), %rdi
cmpq %r14, %rdi
je 0x24478
callq 0x21b0
movq %r15, %rdi
callq 0x2340