// File: /workspace/github_cpp_makefile_star2_O3/Proudc[P]CTSS/src/ContinuousQuery/Base.cpp
// Function: replacePath(std::vector<Edge, std::allocator<Edge>>&, std::vector<Edge, std::allocator<Edge>>&, int, int)
void replacePath(std::vector<Edge>& lastPath, std::vector<Edge>& localPath, const int startPos, const int stopPos)
{

	std::vector<Edge> temPath;
	for (unsigned int i = 0; i < startPos; i++)
	{
		temPath.push_back(lastPath[i]);
	}
	for (unsigned int i = 0; i < localPath.size(); i++)
	{
		temPath.push_back(localPath[i]);
	}
	for (unsigned int i = stopPos; i < lastPath.size(); i++)
	{
		temPath.push_back(lastPath[i]);
	}
	lastPath.clear();
	for (unsigned int i = 0; i < temPath.size(); i++)
	{
		lastPath.push_back(temPath[i]);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, -0x40(%rbp)
movq $0x0, -0x30(%rbp)
testl %edx, %edx
je 0x6900
movl %edx, %r13d
shlq $0x5, %r13
xorl %r12d, %r12d
movq (%rbx), %rdx
addq %r12, %rdx
movq -0x38(%rbp), %rsi
cmpq -0x30(%rbp), %rsi
je 0x68ee
movups (%rdx), %xmm0
movups 0x10(%rdx), %xmm1
movups %xmm1, 0x10(%rsi)
movups %xmm0, (%rsi)
addq $0x20, %rsi
movq %rsi, -0x38(%rbp)
jmp 0x68f7
leaq -0x40(%rbp), %rdi
callq 0x4d16
addq $0x20, %r12
cmpq %r12, %r13
jne 0x68c6
movq (%r15), %rax
cmpq %rax, 0x8(%r15)
je 0x695f
movl $0x1, %r13d
xorl %edx, %edx
leaq -0x40(%rbp), %r12
shlq $0x5, %rdx
addq %rax, %rdx
movq -0x38(%rbp), %rsi
cmpq -0x30(%rbp), %rsi
je 0x693e
movups (%rdx), %xmm0
movups 0x10(%rdx), %xmm1
movups %xmm1, 0x10(%rsi)
movups %xmm0, (%rsi)
addq $0x20, %rsi
movq %rsi, -0x38(%rbp)
jmp 0x6946
movq %r12, %rdi
callq 0x4d16
movl %r13d, %edx
movq (%r15), %rax
movq 0x8(%r15), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
incl %r13d
cmpq %rdx, %rcx
ja 0x6915
movl %r14d, %edx
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
movq %rcx, %rsi
subq %rax, %rsi
sarq $0x5, %rsi
cmpq %rdx, %rsi
jbe 0x69cc
incl %r14d
leaq -0x40(%rbp), %r15
shlq $0x5, %rdx
addq %rax, %rdx
movq -0x38(%rbp), %rsi
cmpq -0x30(%rbp), %rsi
je 0x69a8
movups (%rdx), %xmm0
movups 0x10(%rdx), %xmm1
movups %xmm1, 0x10(%rsi)
movups %xmm0, (%rsi)
addq $0x20, %rsi
movq %rsi, -0x38(%rbp)
jmp 0x69b0
movq %r15, %rdi
callq 0x4d16
movl %r14d, %edx
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
movq %rcx, %rsi
subq %rax, %rsi
sarq $0x5, %rsi
incl %r14d
cmpq %rdx, %rsi
ja 0x697f
cmpq %rax, %rcx
je 0x69d5
movq %rax, 0x8(%rbx)
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %rax
cmpq %rdi, %rax
je 0x6a35
movl $0x1, %r14d
xorl %edx, %edx
shlq $0x5, %rdx
addq %rdi, %rdx
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x6a10
movups (%rdx), %xmm0
movups 0x10(%rdx), %xmm1
movups %xmm1, 0x10(%rsi)
movups %xmm0, (%rsi)
addq $0x20, 0x8(%rbx)
jmp 0x6a20
movq %rbx, %rdi
callq 0x4d16
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %rax
movl %r14d, %edx
movq %rax, %rcx
subq %rdi, %rcx
sarq $0x5, %rcx
incl %r14d
cmpq %rdx, %rcx
ja 0x69ea
testq %rdi, %rdi
je 0x6a3f
callq 0x2120
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x6a54
jmp 0x6a54
jmp 0x6a54
movq %rax, %rbx
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x6a65
callq 0x2120
movq %rbx, %rdi
callq 0x2210