// File: /workspace/github_cpp_makefile_star2_O3/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, -0x40(%rbp)
movl %r8d, -0x11c(%rbp)
cmpl %r8d, %ecx
jg 0x4a0b
movl %ecx, %ebx
leaq -0x188(%rbp), %r15
leaq -0x80(%rbp), %r14
leaq -0xe0(%rbp), %r12
leaq 0x80a8(%rip), %rdi      # 0xc072
movl %ebx, %esi
xorl %eax, %eax
callq 0x2040
leaq -0x150(%rbp), %rdi
movl %ebx, %esi
callq 0x4f8b
movl $0x38, %edi
callq 0x2140
xorpd %xmm0, %xmm0
movupd %xmm0, 0x20(%rax)
movq %rax, -0x48(%rbp)
movq $0x0, 0x30(%rax)
movl $0x28, %edi
callq 0x2140
movq %rax, %r13
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rax)
movq $0x0, 0x20(%rax)
movq %r15, -0x198(%rbp)
movq -0x160(%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq -0x198(%rbp), %rdi
callq 0x4c5a
movq %r13, -0x68(%rbp)
leaq -0x1c8(%rbp), %rax
movq %rax, -0x1d8(%rbp)
movq -0x150(%rbp), %rsi
movq -0x148(%rbp), %rdx
addq %rsi, %rdx
leaq -0x1d8(%rbp), %r13
movq %r13, %rdi
callq 0x4c5a
movq -0x40(%rbp), %rdi
movq -0x48(%rbp), %rsi
movq -0x68(%rbp), %rdx
leaq -0x198(%rbp), %rcx
movq %r13, %r8
callq 0x5035
movq -0x1d8(%rbp), %rdi
leaq -0x1c8(%rbp), %rax
cmpq %rax, %rdi
je 0x40a7
callq 0x2120
movq -0x198(%rbp), %rdi
cmpq %r15, %rdi
je 0x40b8
callq 0x2120
movq %rsp, -0x178(%rbp)
movq -0x68(%rbp), %r13
movl (%r13), %eax
movl %eax, -0x30(%rbp)
movq 0x18(%r13), %rax
subq 0x10(%r13), %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, -0x70(%rbp)
movq %rax, -0x100(%rbp)
xorpd %xmm0, %xmm0
movapd %xmm0, -0x110(%rbp)
movq %rax, -0xa0(%rbp)
movapd %xmm0, -0xb0(%rbp)
movq -0x48(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x6b08
callq 0x20d0
movq %rax, -0x168(%rbp)
movq 0x10(%r13), %rax
movq 0x18(%r13), %rcx
subq %rax, %rcx
cmpq $0x20, %rcx
movq %rbx, -0x170(%rbp)
jbe 0x4799
movl $0x1, %r14d
xorpd %xmm0, %xmm0
movsd %xmm0, -0x118(%rbp)
movq $0x0, -0x130(%rbp)
movq $0x0, -0x50(%rbp)
movl $0x0, -0x2c(%rbp)
leal -0x1(%r14), %r15d
movq %r15, %rbx
shlq $0x5, %rbx
movsd -0x118(%rbp), %xmm0
addsd 0x18(%rax,%rbx), %xmm0
movsd %xmm0, -0x118(%rbp)
leaq (%rax,%rbx), %rcx
xorl %edx, %edx
movl -0x30(%rbp), %esi
cmpl %esi, 0x4(%rax,%rbx)
sete %dl
movl 0x4(%rcx,%rdx,4), %eax
movl %eax, -0x30(%rbp)
xorpd %xmm0, %xmm0
movapd %xmm0, -0xf0(%rbp)
movq $0x0, -0xe0(%rbp)
movq -0x40(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
movq -0x68(%rbp), %r12
movq %r12, %rdx
movl %r14d, %ecx
callq 0x5667
movl $0x50, %edi
callq 0x2140
movq %rax, %r13
movq -0x50(%rbp), %rcx
movl %ecx, %ecx
movl %r14d, %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
movq 0x18(%r12), %rax
subq 0x10(%r12), %rax
sarq $0x5, %rax
movq %rax, %xmm1
punpckldq 0x7e09(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x7e11(%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 -0x48(%rbp), %rax
movsd 0x18(%rax), %xmm0
movsd %xmm0, 0x48(%r13)
movsd 0x8(%r12), %xmm0
movsd -0x118(%rbp), %xmm2
movapd %xmm2, %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x40(%r13)
movsd %xmm2, 0x28(%r13)
movsd %xmm0, 0x30(%r13)
movq %rcx, -0x50(%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 -0xb0(%rbp), %rax
movl (%rax,%rbx), %eax
movq -0xf0(%rbp), %rdi
movl $0x6, %r12d
cmpl (%rdi,%rbx), %eax
je 0x4742
addq %rbx, %rdi
movl 0x4(%rdi), %r12d
leaq 0x8(%rdi), %rax
cmpl -0x30(%rbp), %r12d
jne 0x42da
addq $0x4, %rdi
movl (%rax), %r12d
movq %rdi, %rax
movl (%rax), %r8d
xorpd %xmm0, %xmm0
movapd %xmm0, -0xd0(%rbp)
movq $0x0, -0xc0(%rbp)
movq -0x40(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
leaq -0xb0(%rbp), %rdx
movl %r12d, %ecx
leaq -0x120(%rbp), %r9
callq 0x9992
movq -0xc8(%rbp), %rax
cmpq -0xd0(%rbp), %rax
je 0x4400
leaq 0x7e0c(%rip), %rdi      # 0xc13c
callq 0x21b0
xorpd %xmm0, %xmm0
movapd %xmm0, -0x90(%rbp)
movq $0x0, -0x80(%rbp)
movslq %r15d, %rdx
movq -0xb0(%rbp), %rax
movq -0xa8(%rbp), %rcx
movq %rcx, %rsi
subq %rax, %rsi
sarq $0x5, %rsi
movl %r15d, %ebx
cmpq %rdx, %rsi
jbe 0x44e1
movl %r12d, -0x5c(%rbp)
movq -0x130(%rbp), %r12
movq -0x50(%rbp), %rbx
leaq (%rax,%r12), %rdx
movl -0x120(%rbp), %esi
cmpl %esi, 0x4(%rax,%r12)
je 0x44af
cmpl %esi, 0x8(%rax,%r12)
je 0x44af
movq -0x88(%rbp), %rsi
cmpq -0x80(%rbp), %rsi
je 0x43cb
movupd (%rdx), %xmm0
movupd 0x10(%rdx), %xmm1
movupd %xmm1, 0x10(%rsi)
movupd %xmm0, (%rsi)
addq $0x20, %rsi
movq %rsi, -0x88(%rbp)
jmp 0x43e5
leaq -0x90(%rbp), %rdi
callq 0x4d16
movq -0xb0(%rbp), %rax
movq -0xa8(%rbp), %rcx
incq %rbx
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x5, %rdx
addq $0x20, %r12
cmpq %rbx, %rdx
ja 0x437f
jmp 0x44dd
leaq 0x7d4f(%rip), %rdi      # 0xc156
callq 0x21b0
movl $0x0, -0x90(%rbp)
leaq -0x220(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
callq 0x4bd6
movq -0x40(%rbp), %rdi
movq -0x48(%rbp), %rsi
leaq -0x220(%rbp), %rdx
leaq -0x110(%rbp), %rcx
movq %r13, %r8
movl -0x30(%rbp), %r9d
leaq -0x58(%rbp), %rax
pushq %rax
leaq -0x90(%rbp), %rax
pushq %rax
callq 0x8fd3
addq $0x10, %rsp
movl %eax, %ebx
movq -0x220(%rbp), %rdi
testq %rdi, %rdi
je 0x446f
callq 0x2120
testb %bl, %bl
je 0x4496
leaq -0xb0(%rbp), %rdi
leaq -0x110(%rbp), %rsi
leaq -0x70(%rbp), %rdx
leaq -0x58(%rbp), %rcx
callq 0x6a6d
xorl %r12d, %r12d
jmp 0x4725
cmpl $0x1, -0x90(%rbp)
jne 0x45e8
movl $0x1, -0x2c(%rbp)
jmp 0x471f
movq -0x88(%rbp), %rsi
cmpq -0x80(%rbp), %rsi
je 0x46f8
movupd (%rdx), %xmm0
movupd 0x10(%rdx), %xmm1
movupd %xmm1, 0x10(%rsi)
movupd %xmm0, (%rsi)
addq $0x20, %rsi
movq %rsi, -0x88(%rbp)
movl -0x5c(%rbp), %r12d
movq -0x40(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
leaq -0x90(%rbp), %rdx
movl %r12d, %ecx
callq 0x7f17
addsd -0x70(%rbp), %xmm0
movsd %xmm0, -0x70(%rbp)
movq -0x40(%rbp), %rax
movsd 0x18(%rax), %xmm1
ucomisd %xmm0, %xmm1
jae 0x4598
movl $0x0, -0x34(%rbp)
leaq -0x238(%rbp), %rbx
movq %rbx, %rdi
leaq -0xf0(%rbp), %rsi
callq 0x4bd6
movq -0x40(%rbp), %rdi
movq -0x48(%rbp), %rsi
movq %rbx, %rdx
leaq -0x110(%rbp), %rcx
movq %r13, %r8
movl -0x30(%rbp), %r9d
leaq -0x58(%rbp), %rax
pushq %rax
leaq -0x34(%rbp), %rax
pushq %rax
callq 0x8fd3
addq $0x10, %rsp
movl %eax, %ebx
movq -0x238(%rbp), %rdi
testq %rdi, %rdi
je 0x4574
callq 0x2120
testb %bl, %bl
je 0x45cf
leaq -0xb0(%rbp), %rdi
leaq -0x110(%rbp), %rsi
leaq -0x70(%rbp), %rdx
leaq -0x58(%rbp), %rcx
callq 0x6a6d
xorl %r12d, %r12d
jmp 0x45b5
incl %ebx
xorl %r12d, %r12d
leaq -0xb0(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
movl %r15d, %edx
movl %ebx, %ecx
callq 0x688f
movq -0x90(%rbp), %rdi
testq %rdi, %rdi
je 0x4725
callq 0x2120
jmp 0x4725
movl $0x4, %r12d
cmpl $0x1, -0x34(%rbp)
jne 0x4673
movl $0x1, -0x2c(%rbp)
jmp 0x45b5
movl $0x0, -0x90(%rbp)
leaq -0x208(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
callq 0x4bd6
movq -0x40(%rbp), %rdi
movq -0x48(%rbp), %rsi
leaq -0x208(%rbp), %rdx
leaq -0x110(%rbp), %rcx
movq %r13, %r8
movl -0x30(%rbp), %r9d
leaq -0x58(%rbp), %rax
pushq %rax
leaq -0x90(%rbp), %rax
pushq %rax
callq 0x9851
addq $0x10, %rsp
movl %eax, %ebx
movq -0x208(%rbp), %rdi
testq %rdi, %rdi
je 0x464b
callq 0x2120
testb %bl, %bl
je 0x470d
leaq -0xb0(%rbp), %rdi
leaq -0x110(%rbp), %rsi
leaq -0x70(%rbp), %rdx
leaq -0x58(%rbp), %rcx
callq 0x6a6d
jmp 0x448e
movl $0x0, -0x34(%rbp)
leaq -0x1f0(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
callq 0x4bd6
movq -0x40(%rbp), %rdi
movq -0x48(%rbp), %rsi
leaq -0x1f0(%rbp), %rdx
leaq -0x110(%rbp), %rcx
movq %r13, %r8
movl -0x30(%rbp), %r9d
leaq -0x58(%rbp), %rax
pushq %rax
leaq -0x34(%rbp), %rax
pushq %rax
callq 0x9851
addq $0x10, %rsp
movl %eax, %ebx
movq -0x1f0(%rbp), %rdi
testq %rdi, %rdi
je 0x46d0
callq 0x2120
testb %bl, %bl
je 0x4785
leaq -0xb0(%rbp), %rdi
leaq -0x110(%rbp), %rsi
leaq -0x70(%rbp), %rdx
leaq -0x58(%rbp), %rcx
callq 0x6a6d
jmp 0x4593
leaq -0x90(%rbp), %rdi
callq 0x4d16
movl -0x5c(%rbp), %r12d
jmp 0x44e1
movl -0x90(%rbp), %eax
cmpl $0x1, %eax
movl -0x2c(%rbp), %ecx
cmovel %eax, %ecx
movl %ecx, -0x2c(%rbp)
movl $0x4, %r12d
movq -0xd0(%rbp), %rdi
testq %rdi, %rdi
je 0x4736
callq 0x2120
movq -0xf0(%rbp), %rdi
testq %rdi, %rdi
je 0x4747
callq 0x2120
movq -0x50(%rbp), %rax
incl %eax
movq %rax, -0x50(%rbp)
cmpl $0x6, %r12d
je 0x475c
testl %r12d, %r12d
jne 0x47a8
incl %r14d
movq -0x68(%rbp), %rcx
movq 0x10(%rcx), %rax
movq 0x18(%rcx), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq $0x20, -0x130(%rbp)
cmpq %r14, %rcx
ja 0x4175
jmp 0x47a8
movl -0x34(%rbp), %eax
cmpl $0x1, %eax
movl -0x2c(%rbp), %ecx
cmovel %eax, %ecx
movl %ecx, -0x2c(%rbp)
jmp 0x45b5
movq $0x0, -0x50(%rbp)
callq 0x20d0
jmp 0x47c9
callq 0x20d0
cmpl $0x1, -0x2c(%rbp)
leaq -0x80(%rbp), %r14
leaq -0x188(%rbp), %r15
leaq -0xe0(%rbp), %r12
je 0x49b2
movq %rax, %rbx
leaq -0x90(%rbp), %rdi
movq %r14, -0x90(%rbp)
movq -0x158(%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %rdi, %r13
callq 0x4c5a
movq %r13, %rdi
leaq 0x788a(%rip), %rsi      # 0xc087
callq 0x2240
movq -0x150(%rbp), %rsi
movq -0x148(%rbp), %rdx
movq %r13, %rdi
callq 0x2060
leaq -0xc0(%rbp), %rsi
movq %rsi, -0xd0(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4848
movq %rdx, -0xd0(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xc0(%rbp)
jmp 0x4850
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0xc8(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0xd0(%rbp), %rdi
leaq 0x7838(%rip), %rsi      # 0xc0b0
callq 0x2240
movq %r12, -0xf0(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x48a6
movq %rdx, -0xf0(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xe0(%rbp)
jmp 0x48b0
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
leaq -0xc0(%rbp), %rsi
movq 0x8(%rax), %rdx
movq %rdx, -0xe8(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0xd0(%rbp), %rdi
cmpq %rsi, %rdi
je 0x48e2
callq 0x2120
movq -0x90(%rbp), %rdi
cmpq %r14, %rdi
je 0x48f3
callq 0x2120
leaq -0x1a8(%rbp), %rax
movq %rax, -0x1b8(%rbp)
movq -0xf0(%rbp), %rsi
movq -0xe8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x1b8(%rbp), %r13
movq %r13, %rdi
callq 0x4c5a
subq -0x168(%rbp), %rbx
xorps %xmm0, %xmm0
cvtsi2sd %rbx, %xmm0
divsd 0x7718(%rip), %xmm0     # 0xc050
movq -0x128(%rbp), %rdi
movq -0x50(%rbp), %rsi
movq %r13, %rdx
callq 0x62fb
movq -0x1b8(%rbp), %rdi
leaq -0x1a8(%rbp), %rax
cmpq %rax, %rdi
movq -0x48(%rbp), %r13
je 0x4967
callq 0x2120
movq %r13, %rax
addq $0x20, %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x497b
callq 0x2120
movq -0x68(%rbp), %rbx
addq $0x10, %rbx
movq %r13, %rdi
callq 0x2120
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x4998
callq 0x2120
movq -0x68(%rbp), %rdi
callq 0x2120
movq -0xf0(%rbp), %rdi
cmpq %r12, %rdi
je 0x49b2
callq 0x2120
movq -0xb0(%rbp), %rdi
testq %rdi, %rdi
je 0x49c3
callq 0x2120
movq -0x110(%rbp), %rdi
testq %rdi, %rdi
movq -0x170(%rbp), %rbx
je 0x49db
callq 0x2120
movq -0x178(%rbp), %rsp
movq -0x150(%rbp), %rdi
leaq -0x140(%rbp), %rax
cmpq %rax, %rdi
je 0x49fa
callq 0x2120
leal 0x1(%rbx), %eax
cmpl -0x11c(%rbp), %ebx
movl %eax, %ebx
jne 0x3fc3
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4b57
movq %rax, %rbx
movq -0x1f0(%rbp), %rdi
testq %rdi, %rdi
je 0x4b5a
jmp 0x4b2f
movq %rax, %rbx
movq -0x208(%rbp), %rdi
testq %rdi, %rdi
je 0x4b6b
jmp 0x4b66
jmp 0x4b57
movq %rax, %rbx
movq -0x90(%rbp), %rdi
cmpq %r14, %rdi
je 0x4b94
jmp 0x4b8f
jmp 0x4b1b
movq %rax, %rbx
movq -0x1b8(%rbp), %rdi
leaq -0x1a8(%rbp), %rax
cmpq %rax, %rdi
je 0x4a91
callq 0x2120
jmp 0x4a91
movq %rax, %rbx
movq -0xf0(%rbp), %rdi
cmpq %r12, %rdi
je 0x4b94
jmp 0x4b8f
movq %rax, %rbx
movq -0xd0(%rbp), %rdi
leaq -0xc0(%rbp), %rax
cmpq %rax, %rdi
je 0x4ac6
callq 0x2120
jmp 0x4ac6
movq %rax, %rbx
movq -0x90(%rbp), %rdi
cmpq %r14, %rdi
je 0x4b94
jmp 0x4b8f
jmp 0x4b52
jmp 0x4b36
movq %rax, %rbx
jmp 0x4aff
movq %rax, %rbx
movq -0x1d8(%rbp), %rdi
leaq -0x1c8(%rbp), %rax
cmpq %rax, %rdi
je 0x4aff
callq 0x2120
movq -0x198(%rbp), %rdi
leaq -0x188(%rbp), %rax
cmpq %rax, %rdi
je 0x4bb6
jmp 0x4bb1
movq %rax, %rbx
jmp 0x4b94
movq %rax, %rbx
movq -0x238(%rbp), %rdi
testq %rdi, %rdi
je 0x4b5a
callq 0x2120
jmp 0x4b5a
movq %rax, %rbx
jmp 0x4bb6
movq %rax, %rbx
movq -0x220(%rbp), %rdi
testq %rdi, %rdi
je 0x4b6b
jmp 0x4b66
jmp 0x4b57
jmp 0x4b52
jmp 0x4b57
movq %rax, %rbx
jmp 0x4b6b
movq %rax, %rbx
movq -0x90(%rbp), %rdi
testq %rdi, %rdi
je 0x4b6b
callq 0x2120
movq -0xd0(%rbp), %rdi
testq %rdi, %rdi
je 0x4b83
callq 0x2120
jmp 0x4b83
jmp 0x4b80
movq %rax, %rbx
movq -0xf0(%rbp), %rdi
testq %rdi, %rdi
je 0x4b94
callq 0x2120
movq -0xb0(%rbp), %rdi
testq %rdi, %rdi
je 0x4ba5
callq 0x2120
movq -0x110(%rbp), %rdi
testq %rdi, %rdi
je 0x4bb6
callq 0x2120
movq -0x150(%rbp), %rdi
leaq -0x140(%rbp), %rax
cmpq %rax, %rdi
je 0x4bce
callq 0x2120
movq %rbx, %rdi
callq 0x2210