// File: /workspace/github_cpp_makefile_star2_O1/Proudc[P]CTSS/src/Test.cpp
// Function: roadContinuousQuery(Graph*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, int)
void roadContinuousQuery(Graph* myGraph, string inputFolder, string outputFolder, const int startCount, const int stopCount)
{
	int count = startCount;
	while (count <= stopCount)
	{
		printf("Start %dth query...\n", count);
		string strCount = changeIntToStr(count);
		ReferencePath* referencePath = new ReferencePath;
		CompletePath*  completePath  = new CompletePath;
		setQueryEnv(myGraph, referencePath, completePath, inputFolder, strCount);
		
		int    currentVertex = completePath->initialVertex;
		int    recordPos = 0;
		int    timeFlag  = 0;
		int    ifCalFlag = 0;
		Record record[completePath->edges.size()];
		double currPathLength = 0.0;
		double boundDistance  = 0.0;
		double pathDistance;
		vector<Edge> temPath;
		vector<Edge> lastPath;
		initializeLastPath(referencePath, lastPath);
		
		clock_t startTime = clock();
		for (unsigned int i = 1; i < completePath->edges.size(); i++)
		{
			ifCalFlag = 0;
			currPathLength += completePath->edges[i - 1].realLength;
			if (completePath->edges[i - 1].firstVertexID == currentVertex)
			{
				currentVertex = completePath->edges[i - 1].secVertexID;
			}
			else
			{
				currentVertex = completePath->edges[i - 1].firstVertexID;
			}

			vector<Edge> currentPath;
			setCurrPath(myGraph, &currentPath, completePath, i);
			
			Record* temRecord = new Record;
			temRecord->ratioNumEdge = ((double)(i)) / completePath->edges.size();
			temRecord->runTime = 0;
			temRecord->comPathSize = completePath->edges.size();
			temRecord->numOfOutPriQueue = 0;
			temRecord->referPathLength = referencePath->referenceLength;
			temRecord->ratioPathLength = currPathLength / (completePath->completeLength);
			temRecord->currPathLength = currPathLength;
			temRecord->comPathLength = completePath->completeLength;
			record[recordPos++] = (*temRecord);

			if (lastPath[i - 1].edgeID == currentPath[i - 1].edgeID)
			{
				continue;
			}
			else
			{
				int firstVertexID;
				int secVertexID;
				int endVertexID;
				if (currentPath[i - 1].firstVertexID == currentVertex)
				{
					firstVertexID = currentPath[i - 1].secVertexID;
					secVertexID   = currentPath[i - 1].firstVertexID;
				}
				else
				{
					firstVertexID = currentPath[i - 1].firstVertexID;
					secVertexID   = currentPath[i - 1].secVertexID;
				}													
				vector<Edge> localPath;
				maxmalOverlapPath(myGraph, localPath, lastPath, firstVertexID, secVertexID, &endVertexID);
				if (localPath.size() == 0)
				{
					printf("localPath's size is 0\n");
					int  timeOutFlag = 0;
					bool queryResultFlag = roadSimpleQueryPath(myGraph, referencePath, currentPath, temPath, temRecord, currentVertex, &timeOutFlag, &pathDistance);
					if (queryResultFlag == false)
					{
						if (timeOutFlag == 1)
						{
							timeFlag = 1;
							break;
						}
						else
						{
							timeOutFlag = 0;
							bool queryResultFlagWithLoop = roadSimleQueryPathWithLoop(myGraph, referencePath, currentPath, temPath, temRecord, currentVertex, &timeOutFlag, &pathDistance);
							if (queryResultFlagWithLoop == false)
							{
								if (timeOutFlag == 1)
								{
									timeFlag = 1;
								}
								break;
							}
							else
							{
								updateLastPath(lastPath, temPath, &boundDistance, &pathDistance);
							}
						}
					}
					else
					{
						updateLastPath(lastPath, temPath, &boundDistance, &pathDistance);
					}
				}
				else
				{
					printf("localPath's size is not 0\n");
					vector<Edge> localLastPath;
					int edgePos;
					for (edgePos = i - 1; edgePos < lastPath.size(); edgePos++)
					{
						int temFirstVertexID = lastPath[edgePos].firstVertexID;
						int temSecVertexID   = lastPath[edgePos].secVertexID;
						if (temFirstVertexID == endVertexID || temSecVertexID == endVertexID)
						{
							localLastPath.push_back(lastPath[edgePos]);
							break;
						}
						localLastPath.push_back(lastPath[edgePos]);
					}
					double temDistance = dfdBetweenTwoLocalPaths(myGraph, localPath, localLastPath, firstVertexID);
					boundDistance += temDistance;
					if (boundDistance <= myGraph->delta)
					{
						replacePath(lastPath, localPath, i - 1, edgePos + 1);
					}
					else
					{
						int  timeOutFlag = 0;
						bool queryResultFlag = roadSimpleQueryPath(myGraph, referencePath, currentPath, temPath, temRecord, currentVertex, &timeOutFlag, &pathDistance);
						if (queryResultFlag == false)
						{
							if (timeOutFlag == 1)
							{
								timeFlag = 1;
								break;
							}
							else
							{
								timeOutFlag = 0;
								bool queryResultFlagWithLoop = roadSimleQueryPathWithLoop(myGraph, referencePath, currentPath, temPath, temRecord, currentVertex, &timeOutFlag, &pathDistance);
								if (queryResultFlagWithLoop == false)
								{
									if (timeOutFlag == 1)
									{
										timeFlag = 1;
									}
									break;
								}
								else
								{
									updateLastPath(lastPath, temPath, &boundDistance, &pathDistance);
								}
							}
						}
						else
						{
							updateLastPath(lastPath, temPath, &boundDistance, &pathDistance);
						}
					}
				}
			}
		}
		clock_t stopTime = clock();
		if (timeFlag == 1)
		{
			count++;
			continue;
		}
		string writeFilePath = outputFolder + "/" + strCount + "roadContinuousQuery.txt";
		writeContinuousRecordToFile(record, recordPos, writeFilePath, (double)(stopTime - startTime) / CLOCKS_PER_SEC);
		
		delete referencePath;
		delete completePath;
		count++;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movq %rdx, -0x158(%rbp)
movq %rsi, -0x160(%rbp)
movq %rdi, -0x108(%rbp)
movl %r8d, -0x114(%rbp)
cmpl %r8d, %ecx
jg 0x4a00
movl %ecx, %ebx
leaq -0x188(%rbp), %r12
leaq -0x1c8(%rbp), %r14
leaq -0x70(%rbp), %r15
leaq 0x8088(%rip), %rdi      # 0xc072
movl %ebx, %esi
xorl %eax, %eax
callq 0x2040
leaq -0x150(%rbp), %rdi
movl %ebx, %esi
callq 0x4f6b
movl $0x38, %edi
callq 0x2150
xorpd %xmm0, %xmm0
movupd %xmm0, 0x20(%rax)
movq %rax, -0x40(%rbp)
movq $0x0, 0x30(%rax)
movl $0x28, %edi
callq 0x2150
movq %rax, %r13
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rax)
movq $0x0, 0x20(%rax)
movq %r12, -0x198(%rbp)
movq -0x160(%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq -0x198(%rbp), %rdi
callq 0x4c3e
movq %r13, -0x58(%rbp)
movq %r14, -0x1d8(%rbp)
movq -0x150(%rbp), %rsi
movq -0x148(%rbp), %rdx
addq %rsi, %rdx
leaq -0x1d8(%rbp), %r13
movq %r13, %rdi
callq 0x4c3e
movq -0x108(%rbp), %rdi
movq -0x40(%rbp), %rsi
movq -0x58(%rbp), %rdx
leaq -0x198(%rbp), %rcx
movq %r13, %r8
callq 0x5015
movq -0x1d8(%rbp), %rdi
cmpq %r14, %rdi
je 0x40bc
callq 0x2130
movq -0x198(%rbp), %rdi
cmpq %r12, %rdi
movq -0x40(%rbp), %r14
je 0x40d1
callq 0x2130
movq %rbx, -0x178(%rbp)
movq %rsp, -0x170(%rbp)
movq -0x58(%rbp), %rbx
movl (%rbx), %eax
movl %eax, -0x30(%rbp)
movq 0x18(%rbx), %rax
subq 0x10(%rbx), %rax
sarq %rax
leaq (%rax,%rax,4), %rax
movq %rsp, %rcx
subq %rax, %rcx
movq %rcx, -0x128(%rbp)
movq %rcx, %rsp
xorl %eax, %eax
movq %rax, -0x60(%rbp)
movq %rax, -0xf0(%rbp)
xorpd %xmm0, %xmm0
movapd %xmm0, -0x100(%rbp)
movq %rax, -0x90(%rbp)
movapd %xmm0, -0xa0(%rbp)
movq %r14, %rdi
leaq -0xa0(%rbp), %rsi
callq 0x6c2a
callq 0x20d0
movq %rax, -0x168(%rbp)
movq 0x10(%rbx), %rax
movq 0x18(%rbx), %rcx
subq %rax, %rcx
xorl %r14d, %r14d
movl $0x0, %edx
movq %rdx, -0x48(%rbp)
cmpq $0x21, %rcx
jb 0x47ae
movl $0x1, %ecx
movq %rcx, -0x88(%rbp)
xorpd %xmm0, %xmm0
movsd %xmm0, -0x110(%rbp)
movq $0x0, -0x130(%rbp)
movq $0x0, -0x48(%rbp)
movl $0x0, -0x2c(%rbp)
movq -0x108(%rbp), %r15
movq -0x88(%rbp), %rcx
leal -0x1(%rcx), %r14d
movq %r14, %rbx
shlq $0x5, %rbx
movsd -0x110(%rbp), %xmm0
addsd 0x18(%rax,%rbx), %xmm0
movsd %xmm0, -0x110(%rbp)
leaq (%rax,%rbx), %rdi
xorl %edx, %edx
movl -0x30(%rbp), %esi
cmpl %esi, 0x4(%rax,%rbx)
sete %dl
movl 0x4(%rdi,%rdx,4), %eax
movl %eax, -0x30(%rbp)
xorpd %xmm0, %xmm0
movapd %xmm0, -0xe0(%rbp)
movq $0x0, -0xd0(%rbp)
movq %r15, %rdi
leaq -0xe0(%rbp), %rsi
movq -0x58(%rbp), %r12
movq %r12, %rdx
callq 0x5647
movl $0x50, %edi
callq 0x2150
movq %rax, %r13
movq -0x48(%rbp), %rcx
movl %ecx, %ecx
movl -0x88(%rbp), %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
movq 0x18(%r12), %rax
subq 0x10(%r12), %rax
sarq $0x5, %rax
movq %rax, %xmm1
punpckldq 0x7dd4(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x7ddc(%rip), %xmm1     # 0xc030
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
movsd %xmm0, 0x38(%r13)
movq $0x0, 0x20(%r13)
movl %eax, 0x14(%r13)
movl $0x0, 0x10(%r13)
movq -0x40(%rbp), %rax
movsd 0x18(%rax), %xmm0
movsd %xmm0, 0x48(%r13)
movsd 0x8(%r12), %xmm0
movsd -0x110(%rbp), %xmm2
movapd %xmm2, %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x40(%r13)
movsd %xmm2, 0x28(%r13)
movsd %xmm0, 0x30(%r13)
movq %rcx, -0x48(%rbp)
leaq (%rcx,%rcx,4), %rdi
shlq $0x4, %rdi
addq -0x128(%rbp), %rdi
movl $0xa, %ecx
movq %r13, %rsi
rep  movsq (%rsi), %es:(%rdi)
movq -0xa0(%rbp), %rax
movl (%rax,%rbx), %ecx
movq -0xe0(%rbp), %rax
movl $0x6, %r12d
cmpl (%rax,%rbx), %ecx
je 0x45d0
addq %rbx, %rax
movl 0x4(%rax), %r12d
leaq 0x8(%rax), %rcx
cmpl -0x30(%rbp), %r12d
jne 0x430f
addq $0x4, %rax
movl (%rcx), %r12d
movq %rax, %rcx
leaq -0x220(%rbp), %rbx
movl (%rcx), %r8d
xorpd %xmm0, %xmm0
movapd %xmm0, -0xc0(%rbp)
movq $0x0, -0xb0(%rbp)
movq %r15, %rdi
leaq -0xc0(%rbp), %rsi
leaq -0xa0(%rbp), %rdx
movl %r12d, %ecx
leaq -0x11c(%rbp), %r9
callq 0x9afd
movq -0xb8(%rbp), %rax
cmpq -0xc0(%rbp), %rax
je 0x44fe
leaq 0x7dd1(%rip), %rdi      # 0xc13c
callq 0x21c0
xorpd %xmm0, %xmm0
movapd %xmm0, -0x80(%rbp)
movq $0x0, -0x70(%rbp)
movslq %r14d, %rcx
movq -0xa0(%rbp), %rax
movq -0x98(%rbp), %rdx
subq %rax, %rdx
sarq $0x5, %rdx
movq -0x88(%rbp), %rbx
cmpq %rcx, %rdx
leaq -0x80(%rbp), %r8
jbe 0x4446
movl %r12d, -0x118(%rbp)
movq -0x130(%rbp), %r12
movq -0x48(%rbp), %rbx
leaq (%rax,%r12), %rdx
movl -0x11c(%rbp), %ecx
cmpl %ecx, 0x4(%rax,%r12)
setne %sil
cmpl %ecx, 0x8(%rax,%r12)
setne %r15b
andb %sil, %r15b
movq -0x78(%rbp), %rsi
cmpq -0x70(%rbp), %rsi
je 0x4404
movupd (%rdx), %xmm0
movupd 0x10(%rdx), %xmm1
movupd %xmm1, 0x10(%rsi)
movupd %xmm0, (%rsi)
addq $0x20, %rsi
movq %rsi, -0x78(%rbp)
jmp 0x4410
movq %r8, %rdi
callq 0x4cf6
leaq -0x80(%rbp), %r8
testb %r15b, %r15b
je 0x4436
incq %rbx
movq -0xa0(%rbp), %rax
movq -0x98(%rbp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq $0x20, %r12
cmpq %rbx, %rcx
ja 0x43bf
incl %ebx
movq -0x108(%rbp), %r15
movl -0x118(%rbp), %r12d
movq %r15, %rdi
leaq -0xc0(%rbp), %rsi
movq %r8, %rdx
movl %r12d, %ecx
callq 0x80e3
addsd -0x60(%rbp), %xmm0
movsd %xmm0, -0x60(%rbp)
movsd 0x18(%r15), %xmm1
ucomisd %xmm0, %xmm1
jae 0x458e
movl $0x0, -0x34(%rbp)
leaq -0x238(%rbp), %rbx
movq %rbx, %rdi
leaq -0xe0(%rbp), %rsi
callq 0x4bba
movq -0x40(%rbp), %r14
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
leaq -0x100(%rbp), %rcx
movq %r13, %r8
movl -0x30(%rbp), %r9d
leaq -0x50(%rbp), %rax
pushq %rax
leaq -0x34(%rbp), %rax
pushq %rax
callq 0x915d
addq $0x10, %rsp
movl %eax, %ebx
movq -0x238(%rbp), %rdi
testq %rdi, %rdi
je 0x44d3
callq 0x2130
testb %bl, %bl
je 0x464b
leaq -0xa0(%rbp), %rdi
leaq -0x100(%rbp), %rsi
leaq -0x60(%rbp), %rdx
leaq -0x50(%rbp), %rcx
callq 0x6b8f
xorl %r12d, %r12d
jmp 0x45a9
leaq 0x7c51(%rip), %rdi      # 0xc156
callq 0x21c0
movl $0x0, -0x80(%rbp)
movq %rbx, %rdi
leaq -0xe0(%rbp), %rsi
callq 0x4bba
movq -0x40(%rbp), %r14
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
leaq -0x100(%rbp), %rcx
movq %r13, %r8
movl -0x30(%rbp), %r9d
leaq -0x50(%rbp), %rax
pushq %rax
leaq -0x80(%rbp), %rax
pushq %rax
callq 0x915d
addq $0x10, %rsp
movl %eax, %ebx
movq -0x220(%rbp), %rdi
testq %rdi, %rdi
je 0x4561
callq 0x2130
testb %bl, %bl
je 0x4633
leaq -0xa0(%rbp), %rdi
leaq -0x100(%rbp), %rsi
leaq -0x60(%rbp), %rdx
leaq -0x50(%rbp), %rcx
callq 0x6b8f
xorl %r12d, %r12d
movb $0x1, %al
jmp 0x477a
xorl %r12d, %r12d
leaq -0xa0(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
movl %r14d, %edx
movl %ebx, %ecx
callq 0x69b7
movq -0x80(%rbp), %rdi
testq %rdi, %rdi
je 0x45b7
callq 0x2130
testl %r12d, %r12d
jne 0x45bf
xorl %r12d, %r12d
movq -0xc0(%rbp), %rdi
testq %rdi, %rdi
je 0x45d0
callq 0x2130
movq -0xe0(%rbp), %rdi
testq %rdi, %rdi
je 0x45e1
callq 0x2130
movq -0x48(%rbp), %rax
incl %eax
movq %rax, -0x48(%rbp)
cmpl $0x6, %r12d
je 0x45fa
testl %r12d, %r12d
jne 0x479b
movq -0x88(%rbp), %rdx
incl %edx
movq -0x58(%rbp), %rcx
movq 0x10(%rcx), %rax
movq 0x18(%rcx), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq $0x20, -0x130(%rbp)
movq %rdx, -0x88(%rbp)
cmpq %rdx, %rcx
ja 0x41a4
jmp 0x479b
movl $0x4, %r12d
cmpl $0x1, -0x80(%rbp)
jne 0x4667
movl $0x1, -0x2c(%rbp)
jmp 0x4778
movl $0x4, %r12d
cmpl $0x1, -0x34(%rbp)
jne 0x46ea
movl $0x1, -0x2c(%rbp)
jmp 0x45a9
movl $0x0, -0x80(%rbp)
leaq -0x208(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x4bba
movq %r15, %rdi
movq %r14, %rsi
leaq -0x208(%rbp), %rdx
leaq -0x100(%rbp), %rcx
movq %r13, %r8
movl -0x30(%rbp), %r9d
leaq -0x50(%rbp), %rax
pushq %rax
leaq -0x80(%rbp), %rax
pushq %rax
callq 0x99d4
addq $0x10, %rsp
movl %eax, %ebx
movq -0x208(%rbp), %rdi
testq %rdi, %rdi
je 0x46c2
callq 0x2130
testb %bl, %bl
je 0x4769
leaq -0xa0(%rbp), %rdi
leaq -0x100(%rbp), %rsi
leaq -0x60(%rbp), %rdx
leaq -0x50(%rbp), %rcx
callq 0x6b8f
jmp 0x4584
movl $0x0, -0x34(%rbp)
leaq -0x1f0(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x4bba
movq %r15, %rdi
movq %r14, %rsi
leaq -0x1f0(%rbp), %rdx
leaq -0x100(%rbp), %rcx
movq %r13, %r8
movl -0x30(%rbp), %r9d
leaq -0x50(%rbp), %rax
pushq %rax
leaq -0x34(%rbp), %rax
pushq %rax
callq 0x99d4
addq $0x10, %rsp
movl %eax, %ebx
movq -0x1f0(%rbp), %rdi
testq %rdi, %rdi
je 0x4745
callq 0x2130
testb %bl, %bl
je 0x4787
leaq -0xa0(%rbp), %rdi
leaq -0x100(%rbp), %rsi
leaq -0x60(%rbp), %rdx
leaq -0x50(%rbp), %rcx
callq 0x6b8f
jmp 0x44f6
movl -0x80(%rbp), %eax
cmpl $0x1, %eax
movl -0x2c(%rbp), %ecx
cmovel %eax, %ecx
movl %ecx, -0x2c(%rbp)
xorl %eax, %eax
testb %al, %al
jne 0x45bc
jmp 0x45bf
movl -0x34(%rbp), %eax
cmpl $0x1, %eax
movl -0x2c(%rbp), %ecx
cmovel %eax, %ecx
movl %ecx, -0x2c(%rbp)
jmp 0x45a9
cmpl $0x1, -0x2c(%rbp)
sete %r14b
leaq -0x70(%rbp), %r15
leaq -0x188(%rbp), %r12
callq 0x20d0
testb %r14b, %r14b
leaq -0xd0(%rbp), %r14
jne 0x49a0
movq %rax, %rbx
movq %r15, -0x80(%rbp)
movq -0x158(%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq -0x80(%rbp), %r13
movq %r13, %rdi
callq 0x4c3e
movq %r13, %rdi
leaq 0x7896(%rip), %rsi      # 0xc087
callq 0x2250
movq -0x150(%rbp), %rsi
movq -0x148(%rbp), %rdx
movq %r13, %rdi
callq 0x2060
leaq -0xb0(%rbp), %rsi
movq %rsi, -0xc0(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x483c
movq %rdx, -0xc0(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xb0(%rbp)
jmp 0x4844
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0xb8(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0xc0(%rbp), %rdi
leaq 0x7844(%rip), %rsi      # 0xc0b0
callq 0x2250
movq %r14, -0xe0(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x489a
movq %rdx, -0xe0(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xd0(%rbp)
jmp 0x48a3
movupd (%rcx), %xmm0
movupd %xmm0, (%r14)
leaq -0xb0(%rbp), %rsi
movq 0x8(%rax), %rdx
movq %rdx, -0xd8(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0xc0(%rbp), %rdi
cmpq %rsi, %rdi
je 0x48d5
callq 0x2130
movq -0x80(%rbp), %rdi
cmpq %r15, %rdi
je 0x48e3
callq 0x2130
leaq -0x1a8(%rbp), %rax
movq %rax, -0x1b8(%rbp)
movq -0xe0(%rbp), %rsi
movq -0xd8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x1b8(%rbp), %r13
movq %r13, %rdi
callq 0x4c3e
subq -0x168(%rbp), %rbx
xorps %xmm0, %xmm0
cvtsi2sd %rbx, %xmm0
divsd 0x7728(%rip), %xmm0     # 0xc050
movq -0x128(%rbp), %rdi
movq -0x48(%rbp), %rsi
movq %r13, %rdx
callq 0x640c
movq -0x1b8(%rbp), %rdi
leaq -0x1a8(%rbp), %rax
cmpq %rax, %rdi
je 0x4953
callq 0x2130
movq -0x40(%rbp), %rax
addq $0x20, %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x4968
callq 0x2130
movq -0x58(%rbp), %rbx
addq $0x10, %rbx
movq -0x40(%rbp), %rdi
callq 0x2130
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x4986
callq 0x2130
movq -0x58(%rbp), %rdi
callq 0x2130
movq -0xe0(%rbp), %rdi
cmpq %r14, %rdi
je 0x49a0
callq 0x2130
movq -0xa0(%rbp), %rdi
testq %rdi, %rdi
je 0x49b1
callq 0x2130
movq -0x100(%rbp), %rdi
testq %rdi, %rdi
movq -0x178(%rbp), %rbx
leaq -0x1c8(%rbp), %r14
je 0x49d0
callq 0x2130
movq -0x170(%rbp), %rsp
movq -0x150(%rbp), %rdi
leaq -0x140(%rbp), %rax
cmpq %rax, %rdi
je 0x49ef
callq 0x2130
leal 0x1(%rbx), %eax
cmpl -0x114(%rbp), %ebx
movl %eax, %ebx
jne 0x3fe3
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x1f0(%rbp), %rdi
testq %rdi, %rdi
je 0x4b41
jmp 0x4b16
movq %rax, %rbx
movq -0x80(%rbp), %rdi
cmpq %r15, %rdi
je 0x4b78
jmp 0x4b73
movq %rax, %rbx
movq -0xc0(%rbp), %rdi
leaq -0xb0(%rbp), %rax
cmpq %rax, %rdi
je 0x4a7e
callq 0x2130
jmp 0x4a7e
movq %rax, %rbx
movq -0x1b8(%rbp), %rdi
leaq -0x1a8(%rbp), %rax
cmpq %rax, %rdi
je 0x4a93
callq 0x2130
jmp 0x4a93
jmp 0x4b02
movq %rax, %rbx
movq -0x80(%rbp), %rdi
cmpq %r15, %rdi
je 0x4b78
jmp 0x4b73
movq %rax, %rbx
movq -0xe0(%rbp), %rdi
leaq -0xd0(%rbp), %rax
cmpq %rax, %rdi
je 0x4b78
jmp 0x4b73
movq %rax, %rbx
movq -0x208(%rbp), %rdi
testq %rdi, %rdi
je 0x4b4f
jmp 0x4b4a
jmp 0x4b3e
jmp 0x4b39
jmp 0x4b1d
movq %rax, %rbx
jmp 0x4ae6
movq %rax, %rbx
movq -0x1d8(%rbp), %rdi
cmpq %r14, %rdi
je 0x4ae6
callq 0x2130
movq -0x198(%rbp), %rdi
leaq -0x188(%rbp), %rax
cmpq %rax, %rdi
je 0x4b9a
jmp 0x4b95
movq %rax, %rbx
jmp 0x4b78
movq %rax, %rbx
movq -0x238(%rbp), %rdi
testq %rdi, %rdi
je 0x4b41
callq 0x2130
jmp 0x4b41
movq %rax, %rbx
jmp 0x4b9a
movq %rax, %rbx
movq -0x220(%rbp), %rdi
testq %rdi, %rdi
je 0x4b4f
jmp 0x4b4a
jmp 0x4b3e
jmp 0x4b39
jmp 0x4b3e
movq %rax, %rbx
jmp 0x4b4f
movq %rax, %rbx
movq -0x80(%rbp), %rdi
testq %rdi, %rdi
je 0x4b4f
callq 0x2130
movq -0xc0(%rbp), %rdi
testq %rdi, %rdi
je 0x4b67
callq 0x2130
jmp 0x4b67
jmp 0x4b64
movq %rax, %rbx
movq -0xe0(%rbp), %rdi
testq %rdi, %rdi
je 0x4b78
callq 0x2130
movq -0xa0(%rbp), %rdi
testq %rdi, %rdi
je 0x4b89
callq 0x2130
movq -0x100(%rbp), %rdi
testq %rdi, %rdi
je 0x4b9a
callq 0x2130
movq -0x150(%rbp), %rdi
leaq -0x140(%rbp), %rax
cmpq %rax, %rdi
je 0x4bb2
callq 0x2130
movq %rbx, %rdi
callq 0x2220