LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_insert_fill_middle_w_realloc_rand()
void
test_vector_modifiers_insert_fill_middle_w_realloc_rand()
{
	ft::vector<int> vec;
	for (int i = 1; i <= 50; i++)
		vec.push_back(i);

	print_vec_info(vec);
	vec.insert(vec.begin() + 25, 5, 42);
	print_vec_info(vec);

	{
		ft::vector<int> cpy1 = vec;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
xorps %xmm0, %xmm0
leaq -0x30(%rbp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq -0x48(%rbp), %r14
movl $0x1, (%r14)
movl $0x1, %eax
movq -0x28(%rbp), %rsi
cmpq -0x20(%rbp), %rsi
je 0x1e1bd
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x28(%rbp)
jmp 0x1e1c8
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1760a
movl -0x48(%rbp), %ecx
leal 0x1(%rcx), %eax
movl %eax, -0x48(%rbp)
cmpl $0x32, %ecx
jl 0x1e1a7
leaq -0x30(%rbp), %rdi
callq 0x1928b
leaq -0x30(%rbp), %rdi
movq (%rdi), %rsi
addq $0x64, %rsi
leaq -0x48(%rbp), %rcx
movl $0x2a, (%rcx)
movl $0x5, %edx
callq 0x1ab76
leaq -0x30(%rbp), %rdi
callq 0x1928b
leaq -0x48(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x174e8
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x1e222
callq 0x21b0
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1e230
callq 0x21b0
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x1e23f
jmp 0x1e23f
jmp 0x1e23f
movq %rax, %rbx
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1e250
callq 0x21b0
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_insert_fill_middle_wo_realloc_rand()
void
test_vector_modifiers_insert_fill_middle_wo_realloc_rand()
{
	ft::vector<int> vec;
	for (int i = 1; i <= 50; i++)
		vec.push_back(i);

	vec.reserve(55);

	print_vec_info(vec);
	vec.insert(vec.begin() + 25, 5, 42);
	print_vec_info(vec);

	{
		ft::vector<int> cpy1 = vec;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
xorps %xmm0, %xmm0
leaq -0x30(%rbp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq -0x48(%rbp), %r14
movl $0x1, (%r14)
movl $0x1, %eax
movq -0x28(%rbp), %rsi
cmpq -0x20(%rbp), %rsi
je 0x1e29b
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x28(%rbp)
jmp 0x1e2a6
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1760a
movl -0x48(%rbp), %ecx
leal 0x1(%rcx), %eax
movl %eax, -0x48(%rbp)
cmpl $0x32, %ecx
jl 0x1e285
leaq -0x30(%rbp), %rdi
movl $0x37, %esi
callq 0x1a4e6
leaq -0x30(%rbp), %rdi
callq 0x1928b
leaq -0x30(%rbp), %rdi
movq (%rdi), %rsi
addq $0x64, %rsi
leaq -0x48(%rbp), %rcx
movl $0x2a, (%rcx)
movl $0x5, %edx
callq 0x1ab76
leaq -0x30(%rbp), %rdi
callq 0x1928b
leaq -0x48(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x174e8
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x1e30e
callq 0x21b0
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1e31c
callq 0x21b0
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x1e32b
jmp 0x1e32b
jmp 0x1e32b
movq %rax, %rbx
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1e33c
callq 0x21b0
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_insert_range_begin_w_realloc()
void
test_vector_modifiers_insert_range_begin_w_realloc()
{
	ft::vector<int> vec_random;

	srand(g_seed);

	for (int i = 0; i < 50; i++)
		vec_random.push_back(rand() % 100 - 100 / 2);

	ft::vector<int> vec(50, 42);

	print_vec_info(vec);
	vec.insert(vec.begin(), vec_random.begin(), vec_random.end());
	print_vec_info(vec);

	ft::vector<int> empty;

	print_vec_info(empty);
	empty.insert(empty.begin(), vec_random.begin(), vec_random.end());
	print_vec_info(empty);

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

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x88, %rsp
xorps %xmm0, %xmm0
leaq -0x50(%rbp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq 0x15e73(%rip), %rax     # 0x341e0
movl (%rax), %edi
callq 0x21d0
movl $0x32, %r15d
leaq -0x30(%rbp), %r14
callq 0x2070
cltq
imulq $0x51eb851f, %rax, %rcx # imm = 0x51EB851F
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x25, %rcx
addl %edx, %ecx
imull $0x64, %ecx, %ecx
negl %ecx
addl %ecx, %eax
addl $-0x32, %eax
movl %eax, -0x30(%rbp)
movq -0x48(%rbp), %rsi
cmpq -0x40(%rbp), %rsi
je 0x1e3bc
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x48(%rbp)
jmp 0x1e3c7
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1896a
decl %r15d
jne 0x1e37e
xorps %xmm0, %xmm0
movaps %xmm0, -0x30(%rbp)
movq $0x0, -0x20(%rbp)
movl $0xc8, %edi
callq 0x2200
movq %rax, -0x30(%rbp)
movq %rax, -0x28(%rbp)
movq %rax, %rcx
addq $0xc8, %rcx
movq %rcx, -0x20(%rbp)
xorl %edx, %edx
movl $0x2a, (%rax,%rdx)
addq $0x4, %rdx
cmpq $0xc8, %rdx
jne 0x1e3fd
leaq -0x30(%rbp), %rdi
movq %rcx, 0x8(%rdi)
callq 0x1928b
leaq -0x30(%rbp), %rdi
movq (%rdi), %rsi
movq -0x50(%rbp), %rdx
movq -0x48(%rbp), %rcx
callq 0x21cb8
leaq -0x30(%rbp), %rdi
callq 0x1928b
xorps %xmm0, %xmm0
leaq -0x70(%rbp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
callq 0x1928b
leaq -0x70(%rbp), %rdi
movq (%rdi), %rsi
movq -0x50(%rbp), %rdx
movq -0x48(%rbp), %rcx
callq 0x21cb8
leaq -0x70(%rbp), %rdi
callq 0x1928b
leaq -0x88(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x174e8
leaq -0xa0(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x174e8
movq -0xa0(%rbp), %rdi
testq %rdi, %rdi
je 0x1e4a0
callq 0x21b0
movq -0x88(%rbp), %rdi
testq %rdi, %rdi
je 0x1e4b1
callq 0x21b0
movq -0x70(%rbp), %rdi
testq %rdi, %rdi
je 0x1e4bf
callq 0x21b0
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1e4cd
callq 0x21b0
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x1e4db
callq 0x21b0
addq $0x88, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x88(%rbp), %rdi
testq %rdi, %rdi
je 0x1e50a
callq 0x21b0
jmp 0x1e50a
jmp 0x1e507
jmp 0x1e507
jmp 0x1e51a
jmp 0x1e52d
movq %rax, %rbx
movq -0x70(%rbp), %rdi
testq %rdi, %rdi
je 0x1e51d
callq 0x21b0
jmp 0x1e51d
movq %rax, %rbx
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1e530
callq 0x21b0
jmp 0x1e530
movq %rax, %rbx
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x1e53e
callq 0x21b0
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_insert_range_middle_w_realloc()
void
test_vector_modifiers_insert_range_middle_w_realloc()
{
	ft::vector<int> vec_random;

	srand(g_seed);

	for (int i = 0; i < 50; i++)
		vec_random.push_back(rand() % 100 - 100 / 2);

	ft::vector<int> vec;
	for (int i = 1; i <= 50; i++)
		vec.push_back(i);

	print_vec_info(vec);
	vec.insert(vec.begin() + 25, vec_random.begin(), vec_random.end());
	print_vec_info(vec);

	{
		ft::vector<int> cpy1 = vec;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
xorps %xmm0, %xmm0
leaq -0x50(%rbp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq 0x15a55(%rip), %rax     # 0x341e0
movl (%rax), %edi
callq 0x21d0
movl $0x32, %r15d
leaq -0x30(%rbp), %r14
callq 0x2070
cltq
imulq $0x51eb851f, %rax, %rcx # imm = 0x51EB851F
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x25, %rcx
addl %edx, %ecx
imull $0x64, %ecx, %ecx
negl %ecx
addl %ecx, %eax
addl $-0x32, %eax
movl %eax, -0x30(%rbp)
movq -0x48(%rbp), %rsi
cmpq -0x40(%rbp), %rsi
je 0x1e7da
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x48(%rbp)
jmp 0x1e7e5
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1896a
decl %r15d
jne 0x1e79c
xorps %xmm0, %xmm0
leaq -0x30(%rbp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq -0x68(%rbp), %r14
movl $0x1, (%r14)
movl $0x1, %eax
movq -0x28(%rbp), %rsi
cmpq -0x20(%rbp), %rsi
je 0x1e822
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x28(%rbp)
jmp 0x1e82d
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1760a
movl -0x68(%rbp), %ecx
leal 0x1(%rcx), %eax
movl %eax, -0x68(%rbp)
cmpl $0x32, %ecx
jl 0x1e80c
leaq -0x30(%rbp), %rdi
callq 0x1928b
leaq -0x30(%rbp), %rdi
movq (%rdi), %rsi
addq $0x64, %rsi
movq -0x50(%rbp), %rdx
movq -0x48(%rbp), %rcx
callq 0x21cb8
leaq -0x30(%rbp), %rdi
callq 0x1928b
leaq -0x68(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x174e8
movq -0x68(%rbp), %rdi
testq %rdi, %rdi
je 0x1e880
callq 0x21b0
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1e88e
callq 0x21b0
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x1e89c
callq 0x21b0
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1e8ad
jmp 0x1e8ad
jmp 0x1e8ad
movq %rax, %rbx
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1e8c3
callq 0x21b0
jmp 0x1e8c3
movq %rax, %rbx
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x1e8d1
callq 0x21b0
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_insert_range_middle_wo_realloc()
void
test_vector_modifiers_insert_range_middle_wo_realloc()
{
	ft::vector<int> vec_random;

	srand(g_seed);

	for (int i = 0; i < 50; i++)
		vec_random.push_back(rand() % 100 - 100 / 2);

	ft::vector<int> vec;
	for (int i = 1; i <= 50; i++)
		vec.push_back(i);

	vec.reserve(100);

	print_vec_info(vec);
	vec.insert(vec.begin() + 25, vec_random.begin(), vec_random.end());
	print_vec_info(vec);

	{
		ft::vector<int> cpy1 = vec;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
xorps %xmm0, %xmm0
leaq -0x50(%rbp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq 0x158e1(%rip), %rax     # 0x341e0
movl (%rax), %edi
callq 0x21d0
movl $0x32, %r15d
leaq -0x30(%rbp), %r14
callq 0x2070
cltq
imulq $0x51eb851f, %rax, %rcx # imm = 0x51EB851F
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x25, %rcx
addl %edx, %ecx
imull $0x64, %ecx, %ecx
negl %ecx
addl %ecx, %eax
addl $-0x32, %eax
movl %eax, -0x30(%rbp)
movq -0x48(%rbp), %rsi
cmpq -0x40(%rbp), %rsi
je 0x1e94e
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x48(%rbp)
jmp 0x1e959
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1896a
decl %r15d
jne 0x1e910
xorps %xmm0, %xmm0
leaq -0x30(%rbp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq -0x68(%rbp), %r14
movl $0x1, (%r14)
movl $0x1, %eax
movq -0x28(%rbp), %rsi
cmpq -0x20(%rbp), %rsi
je 0x1e996
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x28(%rbp)
jmp 0x1e9a1
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1760a
movl -0x68(%rbp), %ecx
leal 0x1(%rcx), %eax
movl %eax, -0x68(%rbp)
cmpl $0x32, %ecx
jl 0x1e980
leaq -0x30(%rbp), %rdi
movl $0x64, %esi
callq 0x1a4e6
leaq -0x30(%rbp), %rdi
callq 0x1928b
leaq -0x30(%rbp), %rdi
movq (%rdi), %rsi
addq $0x64, %rsi
movq -0x50(%rbp), %rdx
movq -0x48(%rbp), %rcx
callq 0x21cb8
leaq -0x30(%rbp), %rdi
callq 0x1928b
leaq -0x68(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x174e8
movq -0x68(%rbp), %rdi
testq %rdi, %rdi
je 0x1ea02
callq 0x21b0
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1ea10
callq 0x21b0
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x1ea1e
callq 0x21b0
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1ea2f
jmp 0x1ea2f
jmp 0x1ea2f
movq %rax, %rbx
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1ea45
callq 0x21b0
jmp 0x1ea45
movq %rax, %rbx
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x1ea53
callq 0x21b0
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_insert_range_end_w_realloc()
void
test_vector_modifiers_insert_range_end_w_realloc()
{
	ft::vector<int> vec_random;

	srand(g_seed);

	for (int i = 0; i < 50; i++)
		vec_random.push_back(rand() % 100 - 100 / 2);

	ft::vector<int> vec;
	for (int i = 1; i <= 50; i++)
		vec.push_back(i);

	print_vec_info(vec);
	vec.insert(vec.end(), vec_random.begin(), vec_random.end());
	print_vec_info(vec);

	{
		ft::vector<int> cpy1 = vec;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
xorps %xmm0, %xmm0
leaq -0x50(%rbp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq 0x1575f(%rip), %rax     # 0x341e0
movl (%rax), %edi
callq 0x21d0
movl $0x32, %r15d
leaq -0x30(%rbp), %r14
callq 0x2070
cltq
imulq $0x51eb851f, %rax, %rcx # imm = 0x51EB851F
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x25, %rcx
addl %edx, %ecx
imull $0x64, %ecx, %ecx
negl %ecx
addl %ecx, %eax
addl $-0x32, %eax
movl %eax, -0x30(%rbp)
movq -0x48(%rbp), %rsi
cmpq -0x40(%rbp), %rsi
je 0x1ead0
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x48(%rbp)
jmp 0x1eadb
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1896a
decl %r15d
jne 0x1ea92
xorps %xmm0, %xmm0
leaq -0x30(%rbp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq -0x68(%rbp), %r14
movl $0x1, (%r14)
movl $0x1, %eax
movq -0x28(%rbp), %rsi
cmpq -0x20(%rbp), %rsi
je 0x1eb18
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x28(%rbp)
jmp 0x1eb23
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1760a
movl -0x68(%rbp), %ecx
leal 0x1(%rcx), %eax
movl %eax, -0x68(%rbp)
cmpl $0x32, %ecx
jl 0x1eb02
leaq -0x30(%rbp), %rdi
callq 0x1928b
leaq -0x30(%rbp), %rdi
movq 0x8(%rdi), %rsi
movq -0x50(%rbp), %rdx
movq -0x48(%rbp), %rcx
callq 0x21cb8
leaq -0x30(%rbp), %rdi
callq 0x1928b
leaq -0x68(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x174e8
movq -0x68(%rbp), %rdi
testq %rdi, %rdi
je 0x1eb73
callq 0x21b0
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1eb81
callq 0x21b0
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x1eb8f
callq 0x21b0
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1eba0
jmp 0x1eba0
jmp 0x1eba0
movq %rax, %rbx
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1ebb6
callq 0x21b0
jmp 0x1ebb6
movq %rax, %rbx
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x1ebc4
callq 0x21b0
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_insert_range_end_wo_realloc()
void
test_vector_modifiers_insert_range_end_wo_realloc()
{
	ft::vector<int> vec_random;

	srand(g_seed);

	for (int i = 0; i < 50; i++)
		vec_random.push_back(rand() % 100 - 100 / 2);

	ft::vector<int> vec(50, 42);

	vec.reserve(100);

	print_vec_info(vec);
	vec.insert(vec.end(), vec_random.begin(), vec_random.end());
	print_vec_info(vec);

	{
		ft::vector<int> cpy1 = vec;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
xorps %xmm0, %xmm0
leaq -0x50(%rbp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq 0x155ee(%rip), %rax     # 0x341e0
movl (%rax), %edi
callq 0x21d0
movl $0x32, %r15d
leaq -0x30(%rbp), %r14
callq 0x2070
cltq
imulq $0x51eb851f, %rax, %rcx # imm = 0x51EB851F
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x25, %rcx
addl %edx, %ecx
imull $0x64, %ecx, %ecx
negl %ecx
addl %ecx, %eax
addl $-0x32, %eax
movl %eax, -0x30(%rbp)
movq -0x48(%rbp), %rsi
cmpq -0x40(%rbp), %rsi
je 0x1ec41
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x48(%rbp)
jmp 0x1ec4c
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1896a
decl %r15d
jne 0x1ec03
xorps %xmm0, %xmm0
movaps %xmm0, -0x30(%rbp)
movq $0x0, -0x20(%rbp)
movl $0xc8, %edi
callq 0x2200
movq %rax, -0x30(%rbp)
movq %rax, -0x28(%rbp)
movq %rax, %rcx
addq $0xc8, %rcx
movq %rcx, -0x20(%rbp)
xorl %edx, %edx
movl $0x2a, (%rax,%rdx)
addq $0x4, %rdx
cmpq $0xc8, %rdx
jne 0x1ec82
leaq -0x30(%rbp), %rdi
movq %rcx, 0x8(%rdi)
movl $0x64, %esi
callq 0x1a4e6
leaq -0x30(%rbp), %rdi
callq 0x1928b
leaq -0x30(%rbp), %rdi
movq 0x8(%rdi), %rsi
movq -0x50(%rbp), %rdx
movq -0x48(%rbp), %rcx
callq 0x21cb8
leaq -0x30(%rbp), %rdi
callq 0x1928b
leaq -0x68(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x174e8
movq -0x68(%rbp), %rdi
testq %rdi, %rdi
je 0x1ecea
callq 0x21b0
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1ecf8
callq 0x21b0
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x1ed06
callq 0x21b0
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1ed17
jmp 0x1ed17
jmp 0x1ed2a
movq %rax, %rbx
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1ed2d
callq 0x21b0
jmp 0x1ed2d
movq %rax, %rbx
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x1ed3b
callq 0x21b0
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_insert_cplusplus()
void
test_vector_modifiers_insert_cplusplus()
{
	ft::vector<int> myvector(3, 100);
	ft::vector<int>::iterator it;

	it = myvector.begin();
	it = myvector.insert(it, 200);

	myvector.insert(it, 2, 300);

	// "it" no longer valid, get a new one:
	it = myvector.begin();

	ft::vector<int> anothervector(2, 400);
	myvector.insert(it + 2, anothervector.begin(), anothervector.end());

	int myarray[] = {501, 502, 503};
	myvector.insert(myvector.begin(), myarray, myarray + 3);

	std::cout << "myvector contains:";
	for (it = myvector.begin(); it < myvector.end(); it++)
		std::cout << ' ' << *it;
	std::cout << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
xorps %xmm0, %xmm0
movaps %xmm0, -0x50(%rbp)
movq $0x0, -0x40(%rbp)
movl $0xc, %edi
callq 0x2200
movq %rax, -0x50(%rbp)
movq %rax, -0x48(%rbp)
movq %rax, %rcx
addq $0xc, %rcx
movq %rcx, -0x40(%rbp)
xorl %edx, %edx
movl $0x64, (%rax,%rdx)
addq $0x4, %rdx
cmpq $0xc, %rdx
jne 0x1ed82
leaq -0x50(%rbp), %rdi
movq %rcx, 0x8(%rdi)
leaq -0x60(%rbp), %rdx
movl $0xc8, (%rdx)
movq %rax, %rsi
callq 0x21ea0
leaq -0x60(%rbp), %rcx
movl $0x12c, (%rcx)          # imm = 0x12C
leaq -0x50(%rbp), %rdi
movl $0x2, %edx
movq %rax, %rsi
callq 0x1ab76
movq -0x50(%rbp), %r14
movl $0x8, %edi
callq 0x2200
movq %rax, %rbx
xorl %eax, %eax
movl $0x190, (%rbx,%rax)     # imm = 0x190
addq $0x4, %rax
cmpq $0x8, %rax
jne 0x1eddb
movq %rbx, %rcx
addq $0x8, %rcx
addq $0x8, %r14
leaq -0x50(%rbp), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x21cb8
leaq -0x50(%rbp), %rdi
movq (%rdi), %rsi
movabsq $0x1f6000001f5, %rax    # imm = 0x1F6000001F5
leaq -0x54(%rbp), %rcx
movq %rax, -0xc(%rcx)
movl $0x1f7, -0x4(%rcx)      # imm = 0x1F7
leaq -0x60(%rbp), %rdx
callq 0x21f26
movq 0x1519a(%rip), %r14     # 0x33fd0
leaq 0x7e6f(%rip), %rsi      # 0x26cac
movl $0x12, %edx
movq %r14, %rdi
callq 0x2230
movq -0x50(%rbp), %r13
cmpq -0x48(%rbp), %r13
jae 0x1ee89
movq 0x15175(%rip), %r15     # 0x33fd0
leaq -0x29(%rbp), %r12
movb $0x20, -0x29(%rbp)
movl $0x1, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x2230
movl (%r13), %esi
movq %rax, %rdi
callq 0x2330
addq $0x4, %r13
cmpq -0x48(%rbp), %r13
jb 0x1ee5f
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq 0x15129(%rip), %rdi     # 0x33fd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq %rbx, %rdi
callq 0x21b0
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x1eeca
callq 0x21b0
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1eee8
jmp 0x1eee8
jmp 0x1eee1
jmp 0x1eee1
movq %rax, %r14
jmp 0x1eef3
jmp 0x1eee8
movq %rax, %r14
movq %rbx, %rdi
callq 0x21b0
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x1ef01
callq 0x21b0
movq %r14, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_erase_single_begin()
void
test_vector_modifiers_erase_single_begin()
{
	srand(g_seed);

	ft::vector<int> vec;
	ft::vector<int>::iterator it;

	for (int i = 0; i < 100; i++)
		vec.push_back(rand() % 100 - 100 / 2);

	print_vec_info(vec);
	it = vec.erase(vec.begin());
	print_vec_info(vec);

	if (it == vec.begin())
		std::cout << "valid" << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
leaq 0x152c3(%rip), %rax     # 0x341e0
movl (%rax), %edi
callq 0x21d0
xorps %xmm0, %xmm0
leaq -0x40(%rbp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
movl $0x64, %r15d
leaq -0x1c(%rbp), %r14
callq 0x2070
cltq
imulq $0x51eb851f, %rax, %rcx # imm = 0x51EB851F
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x25, %rcx
addl %edx, %ecx
imull $0x64, %ecx, %ecx
negl %ecx
addl %ecx, %eax
addl $-0x32, %eax
movl %eax, -0x1c(%rbp)
movq -0x38(%rbp), %rsi
cmpq -0x30(%rbp), %rsi
je 0x1ef7e
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x38(%rbp)
jmp 0x1ef89
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1896a
decl %r15d
jne 0x1ef40
leaq -0x40(%rbp), %rdi
callq 0x1928b
movq -0x40(%rbp), %rbx
movq -0x38(%rbp), %rdx
leaq 0x4(%rbx), %rsi
cmpq %rdx, %rsi
je 0x1efb3
subq %rsi, %rdx
movq %rbx, %rdi
callq 0x2300
leaq -0x40(%rbp), %rdi
addq $-0x4, 0x8(%rdi)
callq 0x1928b
cmpq -0x40(%rbp), %rbx
jne 0x1f00d
movq 0x15002(%rip), %rbx     # 0x33fd0
leaq 0x84c1(%rip), %rsi      # 0x27496
movl $0x5, %edx
movq %rbx, %rdi
callq 0x2230
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq 0x14fd0(%rip), %rdi     # 0x33fd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x1f01b
callq 0x21b0
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1f028
movq %rax, %rbx
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x1f039
callq 0x21b0
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_erase_single_end()
void
test_vector_modifiers_erase_single_end()
{
	srand(g_seed);

	ft::vector<int> vec;
	ft::vector<int>::iterator it;

	for (int i = 0; i < 100; i++)
		vec.push_back(rand() % 100 - 100 / 2);

	print_vec_info(vec);
	it = vec.erase(vec.end() - 1);
	print_vec_info(vec);

	if (it == vec.end())
		std::cout << "valid" << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
leaq 0x15046(%rip), %rax     # 0x341e0
movl (%rax), %edi
callq 0x21d0
xorps %xmm0, %xmm0
leaq -0x40(%rbp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
movl $0x64, %r15d
leaq -0x1c(%rbp), %r14
callq 0x2070
cltq
imulq $0x51eb851f, %rax, %rcx # imm = 0x51EB851F
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x25, %rcx
addl %edx, %ecx
imull $0x64, %ecx, %ecx
negl %ecx
addl %ecx, %eax
addl $-0x32, %eax
movl %eax, -0x1c(%rbp)
movq -0x38(%rbp), %rsi
cmpq -0x30(%rbp), %rsi
je 0x1f1fb
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x38(%rbp)
jmp 0x1f206
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1896a
decl %r15d
jne 0x1f1bd
leaq -0x40(%rbp), %rdi
callq 0x1928b
movq -0x38(%rbp), %rsi
leaq -0x4(%rsi), %rbx
movb $0x1, %al
testb %al, %al
jne 0x1f230
movq %rsi, %rdx
subq %rsi, %rdx
movq %rbx, %rdi
callq 0x2300
leaq -0x40(%rbp), %rdi
addq $-0x4, 0x8(%rdi)
callq 0x1928b
cmpq -0x38(%rbp), %rbx
jne 0x1f28a
movq 0x14d85(%rip), %rbx     # 0x33fd0
leaq 0x8244(%rip), %rsi      # 0x27496
movl $0x5, %edx
movq %rbx, %rdi
callq 0x2230
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq 0x14d53(%rip), %rdi     # 0x33fd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x1f298
callq 0x21b0
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1f2a5
movq %rax, %rbx
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x1f2b6
callq 0x21b0
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_erase_single_string()
void
test_vector_modifiers_erase_single_string()
{
	ft::vector<std::string> vec(100, "42");
	ft::vector<std::string>::iterator it;


	print_vec_info(vec);
	it = vec.erase(vec.begin() + 50);
	print_vec_info(vec);

	if (it == vec.begin() + 50)
		std::cout << "valid" << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
leaq -0x40(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x77ae(%rip), %rsi      # 0x26a86
leaq 0x77a9(%rip), %rdx      # 0x26a88
leaq -0x50(%rbp), %rdi
callq 0x2f88
leaq -0x30(%rbp), %rdi
leaq -0x50(%rbp), %rdx
leaq -0x11(%rbp), %rcx
movl $0x64, %esi
callq 0x193f2
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0x1f30c
callq 0x21b0
leaq -0x30(%rbp), %rdi
callq 0x19488
movl $0x640, %esi            # imm = 0x640
leaq -0x30(%rbp), %rdi
addq (%rdi), %rsi
callq 0x220fa
movq %rax, %rbx
leaq -0x30(%rbp), %rdi
callq 0x19488
movl $0x640, %eax            # imm = 0x640
addq -0x30(%rbp), %rax
cmpq %rax, %rbx
jne 0x1f386
movq 0x14c89(%rip), %rbx     # 0x33fd0
leaq 0x8148(%rip), %rsi      # 0x27496
movl $0x5, %edx
movq %rbx, %rdi
callq 0x2230
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq 0x14c57(%rip), %rdi     # 0x33fd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq -0x30(%rbp), %rdi
callq 0xac7c
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x1f3b2
movq %rax, %rbx
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0x1f3be
callq 0x21b0
jmp 0x1f3be
movq %rax, %rbx
jmp 0x1f3be
movq %rax, %rbx
leaq -0x30(%rbp), %rdi
callq 0xac7c
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_erase_range_end()
void
test_vector_modifiers_erase_range_end()
{
	srand(g_seed);

	ft::vector<int> vec;
	ft::vector<int>::iterator it;

	for (int i = 0; i < 100; i++)
		vec.push_back(rand() % 100 - 100 / 2);

	print_vec_info(vec);
	it = vec.erase(vec.begin() + 50, vec.end());
	print_vec_info(vec);

	if (it == vec.end())
		std::cout << "valid" << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
leaq 0x14b6d(%rip), %rax     # 0x341e0
movl (%rax), %edi
callq 0x21d0
xorps %xmm0, %xmm0
leaq -0x30(%rbp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
movl $0x64, %r15d
leaq -0x34(%rbp), %r14
callq 0x2070
cltq
imulq $0x51eb851f, %rax, %rcx # imm = 0x51EB851F
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x25, %rcx
addl %edx, %ecx
imull $0x64, %ecx, %ecx
negl %ecx
addl %ecx, %eax
addl $-0x32, %eax
movl %eax, -0x34(%rbp)
movq -0x28(%rbp), %rsi
cmpq -0x20(%rbp), %rsi
je 0x1f6d4
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x28(%rbp)
jmp 0x1f6df
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1896a
decl %r15d
jne 0x1f696
leaq -0x30(%rbp), %rdi
callq 0x1928b
movl $0xc8, %ebx
addq -0x30(%rbp), %rbx
cmpq -0x28(%rbp), %rbx
je 0x1f700
movq %rbx, -0x28(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x1928b
cmpq -0x28(%rbp), %rbx
jne 0x1f755
movq 0x148ba(%rip), %rbx     # 0x33fd0
leaq 0x7d79(%rip), %rsi      # 0x27496
movl $0x5, %edx
movq %rbx, %rdi
callq 0x2230
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq 0x14888(%rip), %rdi     # 0x33fd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1f763
callq 0x21b0
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1f770
movq %rax, %rbx
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1f781
callq 0x21b0
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_erase_range_string()
void
test_vector_modifiers_erase_range_string()
{
	ft::vector<std::string> vec(100, "42");
	ft::vector<std::string>::iterator it;

	print_vec_info(vec);
	it = vec.erase(vec.begin() + 25, vec.begin() + 75);
	print_vec_info(vec);

	if (it == vec.begin() + 25)
		std::cout << "valid" << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
leaq -0x40(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x72e3(%rip), %rsi      # 0x26a86
leaq 0x72de(%rip), %rdx      # 0x26a88
leaq -0x50(%rbp), %rdi
callq 0x2f88
leaq -0x30(%rbp), %rdi
leaq -0x50(%rbp), %rdx
leaq -0x11(%rbp), %rcx
movl $0x64, %esi
callq 0x193f2
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0x1f7d7
callq 0x21b0
leaq -0x30(%rbp), %rdi
callq 0x19488
leaq -0x30(%rbp), %rdi
movq (%rdi), %rdx
leaq 0x320(%rdx), %rsi
addq $0x960, %rdx            # imm = 0x960
callq 0x2216c
movq %rax, %rbx
leaq -0x30(%rbp), %rdi
callq 0x19488
movl $0x320, %eax            # imm = 0x320
addq -0x30(%rbp), %rax
cmpq %rax, %rbx
jne 0x1f85a
movq 0x147b5(%rip), %rbx     # 0x33fd0
leaq 0x7c74(%rip), %rsi      # 0x27496
movl $0x5, %edx
movq %rbx, %rdi
callq 0x2230
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq 0x14783(%rip), %rdi     # 0x33fd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq -0x30(%rbp), %rdi
callq 0xac7c
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x1f886
movq %rax, %rbx
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0x1f892
callq 0x21b0
jmp 0x1f892
movq %rax, %rbx
jmp 0x1f892
movq %rax, %rbx
leaq -0x30(%rbp), %rdi
callq 0xac7c
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_erase_cplusplus()
void
test_vector_modifiers_erase_cplusplus()
{
	ft::vector<int> myvector;

	// set some values (from 1 to 10)
	for (int i = 1; i <= 10; i++)
		myvector.push_back(i);

	// erase the 6th element
	myvector.erase(myvector.begin() + 5);

	// erase the first 3 elements:
	myvector.erase(myvector.begin(), myvector.begin() + 3);

	std::cout << "myvector contains:";
	for (unsigned i = 0; i < myvector.size(); ++i)
		std::cout << ' ' << myvector[i];
	std::cout << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
xorps %xmm0, %xmm0
leaq -0x50(%rbp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq -0x2c(%rbp), %r14
movl $0x1, (%r14)
movl $0x1, %eax
movq -0x48(%rbp), %rsi
cmpq -0x40(%rbp), %rsi
je 0x1f8e3
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x48(%rbp)
jmp 0x1f8ee
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1760a
movl -0x2c(%rbp), %ecx
leal 0x1(%rcx), %eax
movl %eax, -0x2c(%rbp)
cmpl $0xa, %ecx
jl 0x1f8cd
movq -0x50(%rbp), %rbx
movq -0x48(%rbp), %r14
leaq 0x18(%rbx), %rsi
cmpq %r14, %rsi
je 0x1f91c
leaq 0x14(%rbx), %rdi
movq %r14, %rdx
subq %rsi, %rdx
callq 0x2300
addq $-0x4, %r14
movq %r14, -0x48(%rbp)
leaq 0xc(%rbx), %r15
subq %r15, %r14
je 0x1f93b
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x2300
movq -0x48(%rbp), %rax
movq %rax, %rcx
subq %r15, %rcx
addq %rcx, %rbx
cmpq %rbx, %rax
je 0x1f951
movq %rbx, -0x48(%rbp)
movq 0x14678(%rip), %rbx     # 0x33fd0
leaq 0x734d(%rip), %rsi      # 0x26cac
movl $0x12, %edx
movq %rbx, %rdi
callq 0x2230
movq -0x48(%rbp), %rax
cmpq -0x50(%rbp), %rax
je 0x1f9c5
movl $0x1, %r12d
xorl %r13d, %r13d
movq 0x1464a(%rip), %r14     # 0x33fd0
leaq -0x2c(%rbp), %r15
movb $0x20, -0x2c(%rbp)
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2230
movq -0x50(%rbp), %rcx
movl (%rcx,%r13,4), %esi
movq %rax, %rdi
callq 0x2330
movq -0x48(%rbp), %rax
subq -0x50(%rbp), %rax
movl %r12d, %r13d
sarq $0x2, %rax
incl %r12d
cmpq %r13, %rax
ja 0x1f98a
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq 0x145ed(%rip), %rdi     # 0x33fd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x1f9fe
callq 0x21b0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1fa11
jmp 0x1fa11
movq %rax, %rbx
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x1fa22
callq 0x21b0
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_swap_ints()
void
test_vector_modifiers_swap_ints()
{
	ft::vector<int> v1(5, 42), v2(100, -42);

	print_vec_info(v1);
	print_vec_info(v2);

	v1.swap(v2);

	print_vec_info(v1);
	print_vec_info(v2);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x38, %rsp
xorps %xmm0, %xmm0
movaps %xmm0, -0x40(%rbp)
movq $0x0, -0x30(%rbp)
movl $0x14, %edi
callq 0x2200
movq %rax, -0x40(%rbp)
movq %rax, -0x38(%rbp)
movq %rax, %rcx
addq $0x14, %rcx
movq %rcx, -0x30(%rbp)
xorl %edx, %edx
movl $0x2a, (%rax,%rdx)
addq $0x4, %rdx
cmpq $0x14, %rdx
jne 0x1fa61
movq %rcx, -0x38(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x20(%rbp)
movq $0x0, -0x10(%rbp)
movl $0x190, %edi            # imm = 0x190
callq 0x2200
movq %rax, -0x20(%rbp)
movq %rax, -0x18(%rbp)
movq %rax, %rcx
addq $0x190, %rcx            # imm = 0x190
movq %rcx, -0x10(%rbp)
xorl %edx, %edx
movl $0xffffffd6, (%rax,%rdx) # imm = 0xFFFFFFD6
addq $0x4, %rdx
cmpq $0x190, %rdx            # imm = 0x190
jne 0x1faa7
movq %rcx, -0x18(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x1928b
leaq -0x20(%rbp), %rdi
callq 0x1928b
leaq -0x40(%rbp), %rdi
movaps (%rdi), %xmm0
movq 0x10(%rdi), %rax
movq -0x20(%rbp), %rcx
movq %rcx, (%rdi)
movups -0x18(%rbp), %xmm1
movups %xmm1, 0x8(%rdi)
movaps %xmm0, -0x20(%rbp)
movq %rax, -0x10(%rbp)
callq 0x1928b
leaq -0x20(%rbp), %rdi
callq 0x1928b
movq -0x20(%rbp), %rdi
testq %rdi, %rdi
je 0x1fb0f
callq 0x21b0
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x1fb1d
callq 0x21b0
addq $0x38, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
jmp 0x1fb3a
movq %rax, %rbx
movq -0x20(%rbp), %rdi
testq %rdi, %rdi
je 0x1fb3a
callq 0x21b0
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x1fb48
callq 0x21b0
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_swap_strings()
void
test_vector_modifiers_swap_strings()
{
	ft::vector<std::string> v1(5, "42"), v2(100, "-42");

	print_vec_info(v1);
	print_vec_info(v2);

	v1.swap(v2);

	print_vec_info(v1);
	print_vec_info(v2);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x60, %rsp
leaq -0x40(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x6f1c(%rip), %rsi      # 0x26a86
leaq 0x6f17(%rip), %rdx      # 0x26a88
leaq -0x50(%rbp), %rdi
callq 0x2f88
leaq -0x68(%rbp), %rdi
leaq -0x50(%rbp), %rdx
leaq -0x30(%rbp), %rcx
movl $0x5, %esi
callq 0x193f2
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0x1fb9e
callq 0x21b0
leaq -0x50(%rbp), %rdi
movq %r14, (%rdi)
leaq 0x6ed9(%rip), %rsi      # 0x26a85
leaq 0x6ed5(%rip), %rdx      # 0x26a88
callq 0x2f88
leaq -0x30(%rbp), %rdi
leaq -0x50(%rbp), %rdx
leaq -0x11(%rbp), %rcx
movl $0x64, %esi
callq 0x193f2
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0x1fbdc
callq 0x21b0
leaq -0x68(%rbp), %rdi
callq 0x19488
leaq -0x30(%rbp), %rdi
callq 0x19488
leaq -0x68(%rbp), %rdi
movups (%rdi), %xmm0
movq 0x10(%rdi), %rax
movq -0x30(%rbp), %rcx
movq %rcx, (%rdi)
movups -0x28(%rbp), %xmm1
movups %xmm1, 0x8(%rdi)
movups %xmm0, -0x30(%rbp)
movq %rax, -0x20(%rbp)
callq 0x19488
leaq -0x30(%rbp), %rdi
callq 0x19488
leaq -0x30(%rbp), %rdi
callq 0xac7c
leaq -0x68(%rbp), %rdi
callq 0xac7c
addq $0x60, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0x1fc75
callq 0x21b0
jmp 0x1fc75
movq %rax, %rbx
jmp 0x1fc75
movq %rax, %rbx
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0x1fc7e
callq 0x21b0
jmp 0x1fc7e
movq %rax, %rbx
jmp 0x1fc7e
movq %rax, %rbx
leaq -0x30(%rbp), %rdi
callq 0xac7c
leaq -0x68(%rbp), %rdi
callq 0xac7c
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_swap_iterator_validity()
void
test_vector_modifiers_swap_iterator_validity()
{
	ft::vector<int> v1(5, 42), v2(100, -42);

	ft::vector<int>::iterator it_v1, it_v2;

	print_vec_info(v1);
	print_vec_info(v2);

	it_v1 = v1.begin();
	it_v2 = v2.begin();

	std::cout << *it_v1 << std::endl;
	std::cout << *it_v2 << std::endl;

	v1.swap(v2);

	print_vec_info(v1);
	print_vec_info(v2);

	std::cout << *it_v1 << std::endl;
	std::cout << *it_v2 << std::endl;

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x38, %rsp
xorps %xmm0, %xmm0
movaps %xmm0, -0x50(%rbp)
movq $0x0, -0x40(%rbp)
movl $0x14, %edi
callq 0x2200
movq %rax, -0x50(%rbp)
movq %rax, -0x48(%rbp)
movq %rax, %rcx
addq $0x14, %rcx
movq %rcx, -0x40(%rbp)
xorl %edx, %edx
movl $0x2a, (%rax,%rdx)
addq $0x4, %rdx
cmpq $0x14, %rdx
jne 0x1fcc1
movq %rcx, -0x48(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x30(%rbp)
movq $0x0, -0x20(%rbp)
movl $0x190, %edi            # imm = 0x190
callq 0x2200
movq %rax, -0x30(%rbp)
movq %rax, -0x28(%rbp)
movq %rax, %rcx
addq $0x190, %rcx            # imm = 0x190
movq %rcx, -0x20(%rbp)
xorl %edx, %edx
movl $0xffffffd6, (%rax,%rdx) # imm = 0xFFFFFFD6
addq $0x4, %rdx
cmpq $0x190, %rdx            # imm = 0x190
jne 0x1fd07
movq %rcx, -0x28(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x1928b
leaq -0x30(%rbp), %rdi
callq 0x1928b
movq -0x50(%rbp), %r15
movq -0x30(%rbp), %r14
movl (%r15), %esi
movq 0x1428d(%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
movl (%r14), %esi
movq 0x14254(%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 -0x50(%rbp), %rdi
movaps (%rdi), %xmm0
movq 0x10(%rdi), %rax
movq -0x30(%rbp), %rcx
movq %rcx, (%rdi)
movups -0x28(%rbp), %xmm1
movups %xmm1, 0x8(%rdi)
movaps %xmm0, -0x30(%rbp)
movq %rax, -0x20(%rbp)
callq 0x1928b
leaq -0x30(%rbp), %rdi
callq 0x1928b
movl (%r15), %esi
movq 0x141eb(%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
movl (%r14), %esi
movq 0x141b2(%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
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1fe5b
callq 0x21b0
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x1fe69
callq 0x21b0
addq $0x38, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x1fe8a
movq %rax, %rbx
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1fe8a
callq 0x21b0
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x1fe98
callq 0x21b0
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_clear_ints()
void
test_vector_modifiers_clear_ints()
{
	ft::vector<int> vec(100, 42);

	print_vec_info(vec);

	vec.clear();

	vec.push_back(1101);
	vec.push_back(2202);

	print_vec_info(vec);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x28, %rsp
xorps %xmm0, %xmm0
movaps %xmm0, -0x30(%rbp)
movq $0x0, -0x20(%rbp)
movl $0x190, %edi            # imm = 0x190
callq 0x2200
movq %rax, -0x30(%rbp)
movq %rax, -0x28(%rbp)
movq %rax, %rcx
addq $0x190, %rcx            # imm = 0x190
movq %rcx, -0x20(%rbp)
xorl %edx, %edx
movl $0x2a, (%rax,%rdx)
addq $0x4, %rdx
cmpq $0x190, %rdx            # imm = 0x190
jne 0x1feda
leaq -0x30(%rbp), %rdi
movq %rcx, 0x8(%rdi)
callq 0x1928b
movq -0x30(%rbp), %rax
cmpq %rax, -0x28(%rbp)
je 0x1ff09
movq %rax, -0x28(%rbp)
movl $0x44d, -0xc(%rbp)      # imm = 0x44D
movq -0x28(%rbp), %rsi
cmpq -0x20(%rbp), %rsi
je 0x1ff2a
movl $0x44d, (%rsi)          # imm = 0x44D
addq $0x4, %rsi
movq %rsi, -0x28(%rbp)
jmp 0x1ff37
leaq -0x30(%rbp), %rdi
leaq -0xc(%rbp), %rdx
callq 0x1896a
movl $0x89a, -0xc(%rbp)      # imm = 0x89A
movq -0x28(%rbp), %rsi
cmpq -0x20(%rbp), %rsi
je 0x1ff58
movl $0x89a, (%rsi)          # imm = 0x89A
addq $0x4, %rsi
movq %rsi, -0x28(%rbp)
jmp 0x1ff65
leaq -0x30(%rbp), %rdi
leaq -0xc(%rbp), %rdx
callq 0x1896a
leaq -0x30(%rbp), %rdi
callq 0x1928b
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1ff7c
callq 0x21b0
addq $0x28, %rsp
popq %rbx
popq %rbp
retq
jmp 0x1ff87
jmp 0x1ff87
movq %rax, %rbx
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x1ff98
callq 0x21b0
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_modifiers.cpp
// Function: test_vector_modifiers_clear_strings()
void
test_vector_modifiers_clear_strings()
{
	ft::vector<std::string> vec(100, "42");

	print_vec_info(vec);

	vec.clear();

	vec.push_back("test");
	vec.push_back("test");

	print_vec_info(vec);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
leaq -0x50(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x6ac8(%rip), %rsi      # 0x26a86
leaq 0x6ac3(%rip), %rdx      # 0x26a88
leaq -0x60(%rbp), %rdi
callq 0x2f88
leaq -0x40(%rbp), %rdi
leaq -0x60(%rbp), %rdx
leaq -0x21(%rbp), %rcx
movl $0x64, %esi
callq 0x193f2
movq -0x60(%rbp), %rdi
cmpq %r14, %rdi
je 0x1fff2
callq 0x21b0
leaq -0x40(%rbp), %rdi
callq 0x19488
movq -0x40(%rbp), %rbx
movq -0x38(%rbp), %r15
cmpq %rbx, %r15
je 0x2002a
movq %rbx, %r12
movq (%r12), %rdi
addq $0x10, %r12
cmpq %r12, %rdi
je 0x2001d
callq 0x21b0
addq $0x10, %r12
cmpq %r15, %r12
jne 0x2000b
movq %rbx, -0x38(%rbp)
leaq -0x60(%rbp), %rdi
movq %r14, (%rdi)
leaq 0x6119(%rip), %rsi      # 0x26151
leaq 0x6116(%rip), %rdx      # 0x26155
callq 0x2f88
leaq -0x40(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x2220a
movq -0x60(%rbp), %rdi
cmpq %r14, %rdi
je 0x2005f
callq 0x21b0
leaq -0x60(%rbp), %rdi
movq %r14, (%rdi)
leaq 0x60e4(%rip), %rsi      # 0x26151
leaq 0x60e1(%rip), %rdx      # 0x26155
callq 0x2f88
leaq -0x40(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x2220a
movq -0x60(%rbp), %rdi
cmpq %r14, %rdi
je 0x20094
callq 0x21b0
leaq -0x40(%rbp), %rdi
callq 0x19488
leaq -0x40(%rbp), %rdi
callq 0xac7c
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x200b7
jmp 0x200e4
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r14, %rdi
je 0x200e7
callq 0x21b0
jmp 0x200e7
jmp 0x200e4
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r14, %rdi
je 0x200f0
callq 0x21b0
jmp 0x200f0
movq %rax, %rbx
jmp 0x200f0
movq %rax, %rbx
leaq -0x40(%rbp), %rdi
callq 0xac7c
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_iterators.cpp
// Function: test_vector_iterators_constructors_base()
void
test_vector_iterators_constructors_base()
{
	ft::vector<int> myvector;

	for (int i = 0; i < 10; i++)
		myvector.push_back(i);

	typedef ft::vector<int>::iterator iter_type;

	iter_type from(myvector.begin());
	iter_type cpy(from);

	if (from == cpy)
		std::cout << "valid" << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
xorps %xmm0, %xmm0
leaq -0x30(%rbp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq -0x14(%rbp), %r14
movl $0x0, (%r14)
xorl %eax, %eax
movq -0x28(%rbp), %rsi
cmpq -0x20(%rbp), %rsi
je 0x222a4
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x28(%rbp)
jmp 0x222af
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1760a
movl -0x14(%rbp), %ecx
leal 0x1(%rcx), %eax
movl %eax, -0x14(%rbp)
cmpl $0x9, %ecx
jl 0x2228e
movq 0x11d0c(%rip), %rbx     # 0x33fd0
leaq 0x51cb(%rip), %rsi      # 0x27496
movl $0x5, %edx
movq %rbx, %rdi
callq 0x2230
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq 0x11cda(%rip), %rdi     # 0x33fd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x22311
callq 0x21b0
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x2231c
movq %rax, %rbx
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x2232d
callq 0x21b0
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_iterators.cpp
// Function: test_vector_iterators_operator_star()
void
test_vector_iterators_operator_star()
{
	ft::vector<int> myvector;

	for (int i = 0; i < 10; i++)
		myvector.push_back(i);

	typedef ft::vector<int>::iterator iter_type;

	iter_type from(myvector.begin());

	std::cout << *from << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
xorps %xmm0, %xmm0
leaq -0x30(%rbp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq -0x14(%rbp), %r14
movl $0x0, (%r14)
xorl %eax, %eax
movq -0x28(%rbp), %rsi
cmpq -0x20(%rbp), %rsi
je 0x22375
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x28(%rbp)
jmp 0x22380
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1760a
movl -0x14(%rbp), %ecx
leal 0x1(%rcx), %eax
movl %eax, -0x14(%rbp)
cmpl $0x9, %ecx
jl 0x2235f
movq -0x30(%rbp), %rax
movl (%rax), %esi
movq 0x11c35(%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
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x223d8
callq 0x21b0
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x223e3
movq %rax, %rbx
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x223f4
callq 0x21b0
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_iterators.cpp
// Function: test_vector_iterators_operator_brackets()
void
test_vector_iterators_operator_brackets()
{
	ft::vector<int> myvector;
	for (int i = 0; i < 10; i++)
		myvector.push_back(i);

	typedef ft::vector<int>::iterator iter_type;

	iter_type it = myvector.begin();

	std::cout << "The fourth element from the begin is: " << it[3] << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
xorps %xmm0, %xmm0
leaq -0x30(%rbp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq -0x14(%rbp), %r14
movl $0x0, (%r14)
xorl %eax, %eax
movq -0x28(%rbp), %rsi
cmpq -0x20(%rbp), %rsi
je 0x2243c
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x28(%rbp)
jmp 0x22447
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1760a
movl -0x14(%rbp), %ecx
leal 0x1(%rcx), %eax
movl %eax, -0x14(%rbp)
cmpl $0x9, %ecx
jl 0x22426
movq -0x30(%rbp), %rbx
movq 0x11b70(%rip), %rdi     # 0x33fd0
leaq 0x4d29(%rip), %rsi      # 0x27190
movl $0x26, %edx
callq 0x2230
movl 0xc(%rbx), %esi
movq 0x11b55(%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
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x224b8
callq 0x21b0
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x224c3
movq %rax, %rbx
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x224d4
callq 0x21b0
movq %rbx, %rdi
callq 0x2340
// File: /workspace/github_cpp_makefile_star2_O1/DimitriDaSilva[P]42_ft_containers/tester/containers/vector/test_vector_iterators.cpp
// Function: test_vector_iterators_operator_plus()
void
test_vector_iterators_operator_plus()
{
	ft::vector<int> myvector;
	for (int i = 0; i < 10; i++)
		myvector.push_back(i);

	typedef ft::vector<int>::iterator iter_type;

	iter_type it = 3 + myvector.begin();

	std::cout << "The fourth element from the begin is: " << *it << std::endl;

	it = myvector.begin() + 3;

	std::cout << "The fourth element from the begin is: " << *it << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
xorps %xmm0, %xmm0
leaq -0x30(%rbp), %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq -0x14(%rbp), %r14
movl $0x0, (%r14)
xorl %eax, %eax
movq -0x28(%rbp), %rsi
cmpq -0x20(%rbp), %rsi
je 0x2251c
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x28(%rbp)
jmp 0x22527
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1760a
movl -0x14(%rbp), %ecx
leal 0x1(%rcx), %eax
movl %eax, -0x14(%rbp)
cmpl $0x9, %ecx
jl 0x22506
movq -0x30(%rbp), %rbx
movq 0x11a90(%rip), %rdi     # 0x33fd0
leaq 0x4c49(%rip), %rsi      # 0x27190
movl $0x26, %edx
callq 0x2230
movl 0xc(%rbx), %esi
movq 0x11a75(%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
movq -0x30(%rbp), %rbx
movq 0x11a3b(%rip), %rdi     # 0x33fd0
leaq 0x4bf4(%rip), %rsi      # 0x27190
movl $0x26, %edx
callq 0x2230
movl 0xc(%rbx), %esi
movq 0x11a20(%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
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x225ed
callq 0x21b0
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x225f8
movq %rax, %rbx
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x22609
callq 0x21b0
movq %rbx, %rdi
callq 0x2340