// File: /workspace/github_cpp_makefile_star2_O1/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 0x30ed(%rip), %rsi      # 0x272a2
leaq 0x30ee(%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 0x4ac2
leaq -0x50(%rbp), %rdi
movsd 0x20(%rdi), %xmm0
movsd %xmm0, -0x58(%rbp)
movq 0x8(%rdi), %rdx
leaq 0x30a3(%rip), %rcx      # 0x272ab
movl $0x5, %r8d
xorl %esi, %esi
callq 0x22c0
movabsq $0x4043f33333333333, %rax # imm = 0x4043F33333333333
movq %rax, -0x30(%rbp)
movq 0xfda6(%rip), %rdi      # 0x33fd0
leaq 0x3080(%rip), %rsi      # 0x272b1
movl $0xd, %edx
callq 0x2230
movq -0xa0(%rbp), %rsi
movq -0x98(%rbp), %rdx
movq 0xfd80(%rip), %rdi      # 0x33fd0
callq 0x2230
movq %rax, %rbx
leaq 0x3060(%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 0xfd26(%rip), %rdi      # 0x33fd0
leaq 0x3000(%rip), %rsi      # 0x272b1
movl $0xd, %edx
callq 0x2230
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq 0xfd06(%rip), %rdi      # 0x33fd0
callq 0x2230
movq %rax, %rbx
leaq 0x2fe6(%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 0xfcac(%rip), %rdi      # 0x33fd0
leaq 0x2f86(%rip), %rsi      # 0x272b1
movl $0xd, %edx
callq 0x2230
movq -0x78(%rbp), %rsi
movq -0x70(%rbp), %rdx
movq 0xfc8c(%rip), %rdi      # 0x33fd0
callq 0x2230
movq %rax, %rbx
leaq 0x2f6c(%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 0x4ac2
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 0x4ac2
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 0x4ac2
movsd -0x58(%rbp), %xmm0
movsd %xmm0, -0xf8(%rbp)
movq -0x118(%rbp), %rdi
cmpq %r15, %rdi
je 0x2443b
callq 0x21b0
movq -0xc8(%rbp), %rdi
cmpq %rbx, %rdi
je 0x2444c
callq 0x21b0
movq -0xf0(%rbp), %rdi
cmpq %r13, %rdi
je 0x2445d
callq 0x21b0
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x2446f
callq 0x21b0
movq -0x50(%rbp), %rdi
cmpq %r12, %rdi
je 0x2447d
callq 0x21b0
movq -0xa0(%rbp), %rdi
cmpq %r14, %rdi
je 0x2448e
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 0x244b9
callq 0x21b0
jmp 0x244b9
movq %rax, %r15
movq -0xf0(%rbp), %rdi
cmpq %r13, %rdi
je 0x244db
callq 0x21b0
jmp 0x244db
jmp 0x244d8
movq %rax, %r15
jmp 0x244ed
movq %rax, %r15
jmp 0x244fb
movq %rax, %r15
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x244ed
callq 0x21b0
movq -0x50(%rbp), %rdi
cmpq %r12, %rdi
je 0x244fb
callq 0x21b0
movq -0xa0(%rbp), %rdi
cmpq %r14, %rdi
je 0x2450c
callq 0x21b0
movq %r15, %rdi
callq 0x2340