// File: DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_insert_fill_begin_wo_realloc()
void
test_vector_modifiers_insert_fill_begin_wo_realloc()
{
	ft::vector<std::string> vec(100, "test");

	vec.reserve(105);

	print_vec_info(vec);
	vec.insert(vec.begin(), 5, "42");
	print_vec_info(vec);

	ft::vector<std::string> empty;

	empty.reserve(5);

	print_vec_info(empty);
	empty.insert(empty.begin(), 5, "42");
	print_vec_info(empty);

	{
		ft::vector<std::string> cpy1 = vec;
		ft::vector<std::string> cpy2 = empty;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
leaq -0x39(%rbp), %rdi
movq %rdi, -0x120(%rbp)
callq 0x3370
movq -0x120(%rbp), %rdx
leaq 0x10f96(%rip), %rsi     # 0x5710f
leaq -0x38(%rbp), %rdi
callq 0x3290
jmp 0x46184
leaq -0x4d(%rbp), %rdi
movq %rdi, -0x128(%rbp)
callq 0x15360
movq -0x128(%rbp), %rcx
leaq -0x18(%rbp), %rdi
movl $0x64, %esi
leaq -0x38(%rbp), %rdx
callq 0x3c220
jmp 0x461af
leaq -0x4d(%rbp), %rdi
callq 0x16ae0
leaq -0x38(%rbp), %rdi
callq 0x3160
leaq -0x39(%rbp), %rdi
callq 0x3230
leaq -0x18(%rbp), %rdi
movl $0x69, %esi
callq 0x4b750
jmp 0x461da
leaq -0x18(%rbp), %rdi
callq 0x3c2a0
jmp 0x461e5
leaq -0x18(%rbp), %rdi
callq 0x3f050
movq %rax, -0x60(%rbp)
leaq -0x58(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x4b6d0
leaq -0x81(%rbp), %rdi
movq %rdi, -0x130(%rbp)
callq 0x3370
movq -0x130(%rbp), %rdx
leaq 0x11877(%rip), %rsi     # 0x57a97
leaq -0x80(%rbp), %rdi
callq 0x3290
jmp 0x4622b
movq -0x58(%rbp), %rsi
leaq -0x18(%rbp), %rdi
movl $0x5, %edx
leaq -0x80(%rbp), %rcx
callq 0x4b890
movq %rax, -0x138(%rbp)
jmp 0x4624a
movq -0x138(%rbp), %rax
movq %rax, -0x90(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x3160
leaq -0x81(%rbp), %rdi
callq 0x3230
leaq -0x18(%rbp), %rdi
callq 0x3c2a0
jmp 0x46278
leaq -0xa8(%rbp), %rdi
movq %rdi, -0x140(%rbp)
callq 0x14ce0
movq -0x140(%rbp), %rdi
movl $0x5, %esi
callq 0x4b750
jmp 0x4629e
leaq -0xa8(%rbp), %rdi
callq 0x3c2a0
jmp 0x462ac
leaq -0xa8(%rbp), %rdi
callq 0x3f050
movq %rax, -0xb8(%rbp)
leaq -0xb0(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0x4b6d0
leaq -0xd9(%rbp), %rdi
movq %rdi, -0x148(%rbp)
callq 0x3370
movq -0x148(%rbp), %rdx
leaq 0x117a4(%rip), %rsi     # 0x57a97
leaq -0xd8(%rbp), %rdi
callq 0x3290
jmp 0x46301
movq -0xb0(%rbp), %rsi
leaq -0xa8(%rbp), %rdi
movl $0x5, %edx
leaq -0xd8(%rbp), %rcx
callq 0x4b890
movq %rax, -0x150(%rbp)
jmp 0x46329
movq -0x150(%rbp), %rax
movq %rax, -0xe8(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x3160
leaq -0xd9(%rbp), %rdi
callq 0x3230
leaq -0xa8(%rbp), %rdi
callq 0x3c2a0
jmp 0x4635d
leaq -0x100(%rbp), %rdi
leaq -0x18(%rbp), %rsi
callq 0x3e0c0
jmp 0x4636f
leaq -0x118(%rbp), %rdi
leaq -0xa8(%rbp), %rsi
callq 0x3e0c0
jmp 0x46384
leaq -0x118(%rbp), %rdi
callq 0x152b0
leaq -0x100(%rbp), %rdi
callq 0x152b0
leaq -0xa8(%rbp), %rdi
callq 0x152b0
leaq -0x18(%rbp), %rdi
callq 0x152b0
addq $0x150, %rsp            # imm = 0x150
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x463e6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x4d(%rbp), %rdi
callq 0x16ae0
leaq -0x38(%rbp), %rdi
callq 0x3160
leaq -0x39(%rbp), %rdi
callq 0x3230
jmp 0x464a5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x4649c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x46428
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x3160
leaq -0x81(%rbp), %rdi
callq 0x3230
jmp 0x4649c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x46490
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x4646a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x3160
leaq -0xd9(%rbp), %rdi
callq 0x3230
jmp 0x46490
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x100(%rbp), %rdi
callq 0x152b0
leaq -0xa8(%rbp), %rdi
callq 0x152b0
leaq -0x18(%rbp), %rdi
callq 0x152b0
movq -0x48(%rbp), %rdi
callq 0x3360
nop