// File: DimitriDaSilva[P]42_ft_containers/tester/containers/set/test_set_capacity.cpp
// Function: test_set_capacity()
void
test_set_capacity()
{
	ft::set<int> set;

	std::cout << "Empty: " << set.empty() << std::endl;
	std::cout << "Size: " << set.size() << std::endl;
	std::cout << "Max size: " << set.max_size() << std::endl;

	for (int i = 0; i < 42; i++)
		set.insert(i);

	std::cout << "Empty: " << set.empty() << std::endl;
	std::cout << "Size: " << set.size() << std::endl;
	std::cout << "Max size: " << set.max_size() << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
leaq -0x30(%rbp), %rdi
callq 0x4830
movq 0x6ab6d(%rip), %rdi     # 0x7afb8
leaq 0x46f19(%rip), %rsi     # 0x5736b
callq 0x31e0
movq %rax, -0x58(%rbp)
jmp 0x1045d
leaq -0x30(%rbp), %rdi
callq 0x9e70
movq -0x58(%rbp), %rdi
movzbl %al, %esi
callq 0x3380
movq %rax, -0x60(%rbp)
jmp 0x10478
movq -0x60(%rbp), %rdi
movq 0x6ab15(%rip), %rsi     # 0x7af98
callq 0x3220
jmp 0x1048a
movq 0x6ab27(%rip), %rdi     # 0x7afb8
leaq 0x46be9(%rip), %rsi     # 0x57081
callq 0x31e0
movq %rax, -0x68(%rbp)
jmp 0x104a3
leaq -0x30(%rbp), %rdi
callq 0x9e50
movq -0x68(%rbp), %rdi
movq %rax, %rsi
callq 0x3080
movq %rax, -0x70(%rbp)
jmp 0x104be
movq -0x70(%rbp), %rdi
movq 0x6aacf(%rip), %rsi     # 0x7af98
callq 0x3220
jmp 0x104d0
movq 0x6aae1(%rip), %rdi     # 0x7afb8
leaq 0x46e95(%rip), %rsi     # 0x57373
callq 0x31e0
movq %rax, -0x78(%rbp)
jmp 0x104e9
leaq -0x30(%rbp), %rdi
callq 0x10690
movq -0x78(%rbp), %rdi
movq %rax, %rsi
callq 0x3080
movq %rax, -0x80(%rbp)
jmp 0x10504
movq -0x80(%rbp), %rdi
movq 0x6aa89(%rip), %rsi     # 0x7af98
callq 0x3220
jmp 0x10516
movl $0x0, -0x40(%rbp)
cmpl $0x2a, -0x40(%rbp)
jge 0x10578
leaq -0x30(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0xe040
movb %dl, -0x89(%rbp)
movq %rax, -0x88(%rbp)
jmp 0x1053f
movb -0x89(%rbp), %al
movq -0x88(%rbp), %rcx
movq %rcx, -0x50(%rbp)
movb %al, -0x48(%rbp)
movl -0x40(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
jmp 0x1051d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x4960
jmp 0x10680
movq 0x6aa39(%rip), %rdi     # 0x7afb8
leaq 0x46de5(%rip), %rsi     # 0x5736b
callq 0x31e0
movq %rax, -0x98(%rbp)
jmp 0x10594
leaq -0x30(%rbp), %rdi
callq 0x9e70
movq -0x98(%rbp), %rdi
movzbl %al, %esi
callq 0x3380
movq %rax, -0xa0(%rbp)
jmp 0x105b5
movq -0xa0(%rbp), %rdi
movq 0x6a9d5(%rip), %rsi     # 0x7af98
callq 0x3220
jmp 0x105ca
movq 0x6a9e7(%rip), %rdi     # 0x7afb8
leaq 0x46aa9(%rip), %rsi     # 0x57081
callq 0x31e0
movq %rax, -0xa8(%rbp)
jmp 0x105e6
leaq -0x30(%rbp), %rdi
callq 0x9e50
movq -0xa8(%rbp), %rdi
movq %rax, %rsi
callq 0x3080
movq %rax, -0xb0(%rbp)
jmp 0x10607
movq -0xb0(%rbp), %rdi
movq 0x6a983(%rip), %rsi     # 0x7af98
callq 0x3220
jmp 0x1061c
movq 0x6a995(%rip), %rdi     # 0x7afb8
leaq 0x46d49(%rip), %rsi     # 0x57373
callq 0x31e0
movq %rax, -0xb8(%rbp)
jmp 0x10638
leaq -0x30(%rbp), %rdi
callq 0x10690
movq -0xb8(%rbp), %rdi
movq %rax, %rsi
callq 0x3080
movq %rax, -0xc0(%rbp)
jmp 0x10659
movq -0xc0(%rbp), %rdi
movq 0x6a931(%rip), %rsi     # 0x7af98
callq 0x3220
jmp 0x1066e
leaq -0x30(%rbp), %rdi
callq 0x4960
addq $0xc0, %rsp
popq %rbp
retq
movq -0x38(%rbp), %rdi
callq 0x3360
nopl (%rax)