// File: Proudc[P]CTSS/src/ContinuousQuery/Base.cpp
// Function: setQueryEnv(Graph*, ReferencePath*, CompletePath*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void setQueryEnv(Graph* myGraph, ReferencePath* referencePath, CompletePath* completePath, string inputFolder, string strCount)
{
	printf("Initializing a new round of query environment...\n");
	string referFilePath = inputFolder + "/" + strCount + "referencepath.txt";
	string comFilePath   = inputFolder + "/" + strCount + "currentpath.txt";
	resetVertexFlag(myGraph);
	initializeReferencePath(myGraph, referencePath, referFilePath);
	initializeCompletePath(myGraph, completePath, comFilePath);
	printf("A new round of query environment initialization is complete!!!\n");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x170, %rsp            # imm = 0x170
movq %rcx, -0x150(%rbp)
movq %r8, -0x140(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
leaq 0x12a9a(%rip), %rdi     # 0x1917e
xorl %eax, %eax
callq 0x2040
movq -0x150(%rbp), %rsi
leaq 0x12997(%rip), %rdx     # 0x19090
leaq -0x88(%rbp), %rdi
movq %rdi, -0x148(%rbp)
callq 0x52a0
movq -0x148(%rbp), %rsi
movq -0x140(%rbp), %rdx
leaq -0x68(%rbp), %rdi
callq 0x5560
jmp 0x6725
leaq 0x12a84(%rip), %rdx     # 0x191b0
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x5510
jmp 0x673b
leaq -0x68(%rbp), %rdi
callq 0x20d0
leaq -0x88(%rbp), %rdi
callq 0x20d0
movq -0x150(%rbp), %rsi
leaq 0x12932(%rip), %rdx     # 0x19090
leaq -0xf8(%rbp), %rdi
callq 0x52a0
jmp 0x676c
movq -0x140(%rbp), %rdx
leaq -0xd8(%rbp), %rdi
leaq -0xf8(%rbp), %rsi
callq 0x5560
jmp 0x6788
leaq 0x12a33(%rip), %rdx     # 0x191c2
leaq -0xb8(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0x5510
jmp 0x67a4
leaq -0xd8(%rbp), %rdi
callq 0x20d0
leaq -0xf8(%rbp), %rdi
callq 0x20d0
movq -0x8(%rbp), %rdi
callq 0x69b0
jmp 0x67c7
movq -0x8(%rbp), %rax
movq %rax, -0x160(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x158(%rbp)
leaq -0x118(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x2090
jmp 0x67ef
movq -0x158(%rbp), %rsi
movq -0x160(%rbp), %rdi
leaq -0x118(%rbp), %rdx
callq 0x6a60
jmp 0x680b
leaq -0x118(%rbp), %rdi
callq 0x20d0
movq -0x8(%rbp), %rax
movq %rax, -0x170(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x168(%rbp)
leaq -0x138(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0x2090
jmp 0x6842
movq -0x168(%rbp), %rsi
movq -0x170(%rbp), %rdi
leaq -0x138(%rbp), %rdx
callq 0x6b80
jmp 0x685e
leaq -0x138(%rbp), %rdi
callq 0x20d0
leaq 0x12961(%rip), %rdi     # 0x191d2
xorl %eax, %eax
callq 0x2040
jmp 0x687a
leaq -0xb8(%rbp), %rdi
callq 0x20d0
leaq -0x48(%rbp), %rdi
callq 0x20d0
addq $0x170, %rsp            # imm = 0x170
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x68c7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x20d0
leaq -0x88(%rbp), %rdi
callq 0x20d0
jmp 0x6996
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x698d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x6921
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x20d0
leaq -0xf8(%rbp), %rdi
callq 0x20d0
jmp 0x698d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x6981
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0x118(%rbp), %rdi
callq 0x20d0
jmp 0x6981
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0x138(%rbp), %rdi
callq 0x20d0
leaq -0xb8(%rbp), %rdi
callq 0x20d0
leaq -0x48(%rbp), %rdi
callq 0x20d0
movq -0x90(%rbp), %rdi
callq 0x2240
nopw %cs:(%rax,%rax)