// File: /workspace/github_cpp_makefile_star2_O1/kebwi[P]Trifid/src/main.cpp
// Function: programBehaviorRGBImagePairStats()
void programBehaviorRGBImagePairStats()
{
	//Keep track of the first image, it is the baseline for stat calculations
	Image3ChnlReal rgbImg1;
	rgbImg1.readFile(sInputFilenames[0]);
	int width = rgbImg1.width(), height = rgbImg1.height();
	int totalPixels = width * height;
	
	//RGB to Lab the first image
	Image3ChnlReal labImg1(width, height);
	rgbImgToLabImg(1, rgbImg1, labImg1);
	
	//Normalize Lab, this is for Lab PSNR.
	//Instead of normalizing and getting Lab PSNR,
	//it would be better to get Lab MSE instead.
	Image3ChnlReal labImg1Norm = labImg1;
	Float_t minVal = (*labImg1Norm[0])[0];
	for (int c = 0; c < 3; c++)
		for (int i = 0; i < totalPixels; i++)
			if ((*labImg1Norm[c])[i] < minVal)
				minVal = (*labImg1Norm[c])[i];
	if (minVal < 0)
		for (int c = 0; c < 3; c++)
			for (int i = 0; i < totalPixels; i++)
				(*labImg1Norm[c])[i] -= minVal;
	labImg1Norm.normalize(1.0, true, false);
	
	//Calculate the stats for each image
	Image3ChnlReal labImg2Norm(width, height);
	vector<ImageStats> imageStats(sInputFilenames.size() - 1);
	Float_t mse;
	for (int imageIdx = 1; imageIdx < sInputFilenames.size(); imageIdx++)
	{
		imageStats[imageIdx - 1].rgbImg.readFile(sInputFilenames[imageIdx]);
		
		calcRGB_MSE_PSNR(rgbImg1, imageStats[imageIdx - 1].rgbImg, mse, imageStats[imageIdx - 1].rgbPsnr);
		cout << "Image Index " << imageIdx
			<< "    mse: " << mse
			<< "    psnr: " << imageStats[imageIdx - 1].rgbPsnr;
		
		calc1ChnlMSE_PSNR(*rgbImg1[0], *imageStats[imageIdx - 1].rgbImg[0], mse, imageStats[imageIdx - 1].rPsnr);
		
		calc1ChnlMSE_PSNR(*rgbImg1[1], *imageStats[imageIdx - 1].rgbImg[1], mse, imageStats[imageIdx - 1].gPsnr);
		
		calc1ChnlMSE_PSNR(*rgbImg1[2], *imageStats[imageIdx - 1].rgbImg[2], mse, imageStats[imageIdx - 1].bPsnr);
		
		rgbImgToLabImg(1, imageStats[imageIdx - 1].rgbImg, imageStats[imageIdx - 1].labImg);
		labImg2Norm = imageStats[imageIdx - 1].labImg;
		minVal = (*labImg2Norm[0])[0];
		for (int c = 0; c < 3; c++)
			for (int i = 0; i < totalPixels; i++)
				if ((*labImg2Norm[c])[i] < minVal)
					minVal = (*labImg2Norm[c])[i];
		if (minVal < 0)
			for (int c = 0; c < 3; c++)
				for (int i = 0; i < totalPixels; i++)
					(*labImg2Norm[c])[i] -= minVal;
		labImg2Norm.normalize(1.0, true, false);
		
		//LAB PSNR isn't a justified stat in the literature.  I just made it up for my own curiosity.
		//calcRGB_MSE_PSNR(labImg1Norm, labImg2Norm, mse, imageStats[imageIdx - 1].labPsnr);
		//cout << "    labPsnr: " << imageStats[imageIdx - 1].labPsnr;
		
		imageStats[imageIdx - 1].labDeltaE = calcImgLabDeltaE(labImg1, imageStats[imageIdx - 1].labImg);
		cout << "    labDeltaE: " << imageStats[imageIdx - 1].labDeltaE;
		cout << endl;
	}
	
	//Mark the min and max stats
	Float_t minV, maxV;
	int minIdx, maxIdx;
	
	minV = maxV = imageStats[0].rPsnr;
	for (int i = 0; i < imageStats.size(); i++)
	{
		if (imageStats[i].rPsnr < minV)
			minV = imageStats[i].rPsnr;
		if (imageStats[i].rPsnr > maxV)
			maxV = imageStats[i].rPsnr;
	}
	for (int i = 0; i < imageStats.size(); i++)
	{
		if (imageStats[i].rPsnr == minV)
			imageStats[i].minRPsnr = true;
		if (imageStats[i].rPsnr == maxV)
			imageStats[i].maxRPsnr = true;
	}
	
	minV = maxV = imageStats[0].gPsnr;
	for (int i = 0; i < imageStats.size(); i++)
	{
		if (imageStats[i].gPsnr < minV)
			minV = imageStats[i].gPsnr;
		if (imageStats[i].gPsnr > maxV)
			maxV = imageStats[i].gPsnr;
	}
	for (int i = 0; i < imageStats.size(); i++)
	{
		if (imageStats[i].gPsnr == minV)
			imageStats[i].minGPsnr = true;
		if (imageStats[i].gPsnr == maxV)
			imageStats[i].maxGPsnr = true;
	}
	
	minV = maxV = imageStats[0].bPsnr;
	for (int i = 0; i < imageStats.size(); i++)
	{
		if (imageStats[i].bPsnr < minV)
			minV = imageStats[i].bPsnr;
		if (imageStats[i].bPsnr > maxV)
			maxV = imageStats[i].bPsnr;
	}
	for (int i = 0; i < imageStats.size(); i++)
	{
		if (imageStats[i].bPsnr == minV)
			imageStats[i].minBPsnr = true;
		if (imageStats[i].bPsnr == maxV)
			imageStats[i].maxBPsnr = true;
	}
	
	minV = maxV = imageStats[0].rgbPsnr;
	for (int i = 0; i < imageStats.size(); i++)
	{
		if (imageStats[i].rgbPsnr < minV)
			minV = imageStats[i].rgbPsnr;
		if (imageStats[i].rgbPsnr > maxV)
			maxV = imageStats[i].rgbPsnr;
	}
	for (int i = 0; i < imageStats.size(); i++)
	{
		if (imageStats[i].rgbPsnr == minV)
			imageStats[i].minRGBPsnr = true;
		if (imageStats[i].rgbPsnr == maxV)
			imageStats[i].maxRGBPsnr = true;
	}
	
	minV = maxV = imageStats[0].labPsnr;
	for (int i = 0; i < imageStats.size(); i++)
	{
		if (imageStats[i].labPsnr < minV)
			minV = imageStats[i].labPsnr;
		if (imageStats[i].labPsnr > maxV)
			maxV = imageStats[i].labPsnr;
	}
	for (int i = 0; i < imageStats.size(); i++)
	{
		if (imageStats[i].labPsnr == minV)
			imageStats[i].minLabPsnr = true;
		if (imageStats[i].labPsnr == maxV)
			imageStats[i].maxLabPsnr = true;
	}
	
	minV = maxV = imageStats[0].labDeltaE;
	for (int i = 0; i < imageStats.size(); i++)
	{
		if (imageStats[i].labDeltaE < minV)
			minV = imageStats[i].labDeltaE;
		if (imageStats[i].labDeltaE > maxV)
			maxV = imageStats[i].labDeltaE;
	}
	for (int i = 0; i < imageStats.size(); i++)
	{
		if (imageStats[i].labDeltaE == minV)
			imageStats[i].minLabDeltaE = true;
		if (imageStats[i].labDeltaE == maxV)
			imageStats[i].maxLabDeltaE = true;
	}
	
	//Write the file names
	cout << endl << "Filename order:" << endl;
	for (int imageIdx = 1; imageIdx < sInputFilenames.size(); imageIdx++)
		cout << (char)('A' + (imageIdx - 1)) << ": " << sInputFilenames[imageIdx] << endl;
	
	//Write the results
	cout << endl << "Results:" << endl;
	cout << "                      ";
	for (int imageIdx = 1; imageIdx < sInputFilenames.size(); imageIdx++)
		cout << setw(12) << (char)('A' + (imageIdx - 1));
	cout << endl;
	
	for (int i = 0; i < 6; i++)
	{
		//LAB PSNR isn't a justified stat in the literature.  I just made it up for my own curiosity.
		if (i == 4)
			continue;
		
		switch (i)
		{
			case 0: cout << "Red PSNR (dB):        "; break;
			case 1: cout << "Green PSNR (dB):      "; break;
			case 2: cout << "Blue PSNR (dB):       "; break;
			case 3: cout << "RGB PSNR (dB):        "; break;
			case 4: cout << "Lab PSNR (dB):        "; break;
			case 5: cout << "Lab Delta E:          "; break;
		}
		
		//Write the stats
		for (int j = 0; j < imageStats.size(); j++)
		{
			switch (i)
			{
				case 0:
					cout << setw(12) << imageStats[j].rPsnr;
					break;
				case 1:
					cout << setw(12) << imageStats[j].gPsnr;
					break;
				case 2:
					cout << setw(12) << imageStats[j].bPsnr;
					break;
				case 3:
					cout << setw(12) << imageStats[j].rgbPsnr;
					break;
				case 4:
					cout << setw(12) << imageStats[j].labPsnr;
					break;
				case 5:
					cout << setw(12) << imageStats[j].labDeltaE;
					break;
			}
		}
		cout << endl;
		
		//Mark the best and worst
		cout << "                      ";
		for (int j = 0; j < imageStats.size(); j++)
		{
			bool markWorst = false, markBest = false;
			switch (i)
			{
				case 0:
					if (imageStats[j].minRPsnr)
						markWorst = true;
					if (imageStats[j].maxRPsnr)
						markBest = true;
					break;
				case 1:
					if (imageStats[j].minGPsnr)
						markWorst = true;
					if (imageStats[j].maxGPsnr)
						markBest = true;
					break;
				case 2:
					if (imageStats[j].minBPsnr)
						markWorst = true;
					if (imageStats[j].maxBPsnr)
						markBest = true;
					break;
				case 3:
					if (imageStats[j].minRGBPsnr)
						markWorst = true;
					if (imageStats[j].maxRGBPsnr)
						markBest = true;
					break;
				case 4:
					if (imageStats[j].minLabPsnr)
						markWorst = true;
					if (imageStats[j].maxLabPsnr)
						markBest = true;
					break;
				case 5:
					if (imageStats[j].maxLabDeltaE)
						markWorst = true;
					if (imageStats[j].minLabDeltaE)
						markBest = true;
					break;
			}
			if (markWorst && markBest)
				markWorst = false;
			
			if (markWorst)
				cout << setw(12) << "-- WORST --";
			else if (markBest)
				cout << setw(12) << "=== BEST ===";
			else cout << setw(12) << "";
		}
		cout << endl;
	}
	
	//Write the results sorted
	cout << endl << "Name sorted:" << endl;
	cout << setw(15) << "RGB PSNR" << setw(15) << "Lab Delta E" << endl;
	for (int i = 0; i < imageStats.size(); i++)
		cout << setw(15) << imageStats[i].rgbPsnr << setw(15) << imageStats[i].labDeltaE << "    " << imageStats[i].rgbImg.filename() << endl;
	
	cout << endl << "Name sorted, tab delimited (for easy copy/paste to spread sheet):" << endl;
	cout << "RGB PSNR" << '\t' << "Lab Delta E" << endl;
	for (int i = 0; i < imageStats.size(); i++)
		cout << imageStats[i].rgbPsnr << '\t' << imageStats[i].labDeltaE << endl;
	
	cout << endl << "RGB Psnr sorted:" << endl;
	cout << setw(15) << "RGB PSNR" << setw(15) << "Lab Delta E" << endl;
	sort(imageStats.begin(), imageStats.end(), ImageStats::RGBPsnrSorter());
	for (int i = 0; i < imageStats.size(); i++)
		cout << setw(15) << imageStats[i].rgbPsnr << setw(15) << imageStats[i].labDeltaE << "    " << imageStats[i].rgbImg.filename() << endl;
	
	cout << endl << "RGB Psnr sorted, tab delimited (for easy copy/paste to spread sheet):" << endl;
	cout << "RGB PSNR" << '\t' << "Lab Delta E" << endl;
	for (int i = 0; i < imageStats.size(); i++)
		cout << imageStats[i].rgbPsnr << '\t' << imageStats[i].labDeltaE << endl;
	
	cout << endl << "Lab Delta E sorted:" << endl;
	cout << setw(15) << "RGB PSNR" << setw(15) << "Lab Delta E" << endl;
	sort(imageStats.begin(), imageStats.end(), ImageStats::LabDeltaESorter());
	for (int i = 0; i < imageStats.size(); i++)
		cout << setw(15) << imageStats[i].rgbPsnr << setw(15) << imageStats[i].labDeltaE << "    " << imageStats[i].rgbImg.filename() << endl;
	
	cout << endl << "Lab Delta E sorted, tab delimited (for easy copy/paste to spread sheet):" << endl;
	cout << "RGB PSNR" << '\t' << "Lab Delta E" << endl;
	for (int i = 0; i < imageStats.size(); i++)
		cout << imageStats[i].rgbPsnr << '\t' << imageStats[i].labDeltaE << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1c8, %rsp            # imm = 0x1C8
leaq 0x88(%rsp), %rdi
callq 0xe034
movq 0x3019c(%rip), %rax     # 0x37538
leaq 0x78(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %rdi
callq 0xa97e
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0xe6b6
movq 0x68(%rsp), %rdi
cmpq %r14, %rdi
je 0x73e2
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x3310
movl 0xb0(%rsp), %ebx
movl 0xb4(%rsp), %ebp
leaq 0x128(%rsp), %rdi
movl %ebx, %esi
movl %ebp, %edx
callq 0xe27c
movsd 0x23c4f(%rip), %xmm0    # 0x2b058
leaq 0x88(%rsp), %rdi
leaq 0x128(%rsp), %rsi
callq 0x13572
leaq 0x178(%rsp), %rdi
leaq 0x128(%rsp), %rsi
callq 0xe118
movl %ebp, %r14d
imull %ebx, %r14d
movq 0x1b0(%rsp), %rax
movq (%rax), %rcx
movq 0x38(%rcx), %rcx
movsd (%rcx), %xmm0
movl %r14d, %r15d
xorl %ecx, %ecx
testl %r14d, %r14d
jle 0x747a
movq (%rax,%rcx,8), %rdx
movq 0x38(%rdx), %rdx
xorl %esi, %esi
movapd %xmm0, %xmm1
movsd (%rdx,%rsi,8), %xmm0
minsd %xmm1, %xmm0
incq %rsi
movapd %xmm0, %xmm1
cmpq %rsi, %r15
jne 0x7465
incq %rcx
cmpq $0x3, %rcx
jne 0x7452
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
jbe 0x74bd
xorl %ecx, %ecx
testl %r14d, %r14d
jle 0x74b4
movq (%rax,%rcx,8), %rdx
movq 0x38(%rdx), %rdx
xorl %esi, %esi
movsd (%rdx,%rsi,8), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%rdx,%rsi,8)
incq %rsi
cmpq %rsi, %r15
jne 0x749e
incq %rcx
cmpq $0x3, %rcx
jne 0x748f
leaq 0x178(%rsp), %rdi
movsd 0x23b8b(%rip), %xmm0    # 0x2b058
movl $0x1, %esi
xorl %edx, %edx
callq 0xe5e0
leaq 0xd8(%rsp), %rdi
movl %ebx, %esi
movl %ebp, %edx
callq 0xe27c
movq 0x3004f(%rip), %rsi     # 0x37540
subq 0x30040(%rip), %rsi     # 0x37538
sarq $0x5, %rsi
decq %rsi
leaq 0x8(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0xa612
movq 0x3002b(%rip), %rcx     # 0x37540
movq 0x3001c(%rip), %rax     # 0x37538
subq %rax, %rcx
cmpq $0x21, %rcx
jb 0x7826
movl $0x1, %ebx
movq 0x2fa9b(%rip), %r13     # 0x36fd0
movq 0x8(%rsp), %rbp
movq %rbx, %rcx
shlq $0x5, %rcx
leaq 0x58(%rsp), %rdx
movq %rdx, 0x48(%rsp)
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rdi
callq 0xa97e
leaq -0x1(%rbx), %rax
imulq $0xe0, %rax, %r12
addq %r12, %rbp
movq %rbp, %rdi
leaq 0x48(%rsp), %rsi
callq 0xe6b6
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x7598
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3310
movq 0x8(%rsp), %rsi
leaq (%rsi,%r12), %rcx
addq $0xb8, %rcx
addq %r12, %rsi
leaq 0x88(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x230a8
movl $0xc, %edx
movq %r13, %rdi
leaq 0x242e5(%rip), %rsi     # 0x2b8b1
callq 0x3360
movq %r13, %rdi
movl %ebx, %esi
callq 0x34e0
movq %rax, %rbp
movl $0x9, %edx
movq %rax, %rdi
leaq 0x242d1(%rip), %rsi     # 0x2b8be
callq 0x3360
movsd 0x40(%rsp), %xmm0
movq %rbp, %rdi
callq 0x3480
movq %rax, %rbp
movl $0xa, %edx
movq %rax, %rdi
leaq 0x242b6(%rip), %rsi     # 0x2b8c8
callq 0x3360
movq 0x8(%rsp), %rax
movsd 0xb8(%rax,%r12), %xmm0
movq %rbp, %rdi
callq 0x3480
movq 0xc0(%rsp), %rax
movq (%rax), %rdi
movq 0x8(%rsp), %rax
leaq (%rax,%r12), %rcx
addq $0xa0, %rcx
movq -0x68(%rcx), %rax
movq (%rax), %rsi
leaq 0x40(%rsp), %rdx
callq 0x22fdf
movq 0xc0(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x8(%rsp), %rax
leaq (%rax,%r12), %rcx
addq $0xa8, %rcx
movq -0x70(%rcx), %rax
movq 0x8(%rax), %rsi
leaq 0x40(%rsp), %rdx
callq 0x22fdf
movq 0xc0(%rsp), %rax
movq 0x10(%rax), %rdi
movq 0x8(%rsp), %rax
leaq (%rax,%r12), %rcx
addq $0xb0, %rcx
movq -0x78(%rcx), %rax
movq 0x10(%rax), %rsi
leaq 0x40(%rsp), %rdx
callq 0x22fdf
movq 0x8(%rsp), %rdi
leaq (%rdi,%r12), %rsi
addq $0x50, %rsi
addq %r12, %rdi
movsd 0x2398a(%rip), %xmm0    # 0x2b058
callq 0x13572
movq 0x8(%rsp), %rax
leaq (%rax,%r12), %rsi
addq $0x50, %rsi
leaq 0xd8(%rsp), %rdi
callq 0xe20c
movq 0x110(%rsp), %rax
movq (%rax), %rcx
movq 0x38(%rcx), %rcx
movsd (%rcx), %xmm0
xorl %ecx, %ecx
testl %r14d, %r14d
jle 0x772a
movq (%rax,%rcx,8), %rdx
movq 0x38(%rdx), %rdx
xorl %esi, %esi
movapd %xmm0, %xmm1
movsd (%rdx,%rsi,8), %xmm0
minsd %xmm1, %xmm0
incq %rsi
movapd %xmm0, %xmm1
cmpq %rsi, %r15
jne 0x7715
incq %rcx
cmpq $0x3, %rcx
jne 0x7702
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
jbe 0x776d
xorl %ecx, %ecx
testl %r14d, %r14d
jle 0x7764
movq (%rax,%rcx,8), %rdx
movq 0x38(%rdx), %rdx
xorl %esi, %esi
movsd (%rdx,%rsi,8), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%rdx,%rsi,8)
incq %rsi
cmpq %rsi, %r15
jne 0x774e
incq %rcx
cmpq $0x3, %rcx
jne 0x773f
leaq 0xd8(%rsp), %rdi
movsd 0x238db(%rip), %xmm0    # 0x2b058
movl $0x1, %esi
xorl %edx, %edx
callq 0xe5e0
movq 0x8(%rsp), %rax
leaq (%rax,%r12), %rsi
addq $0x50, %rsi
leaq 0x128(%rsp), %rdi
callq 0x229eb
movq 0x8(%rsp), %rax
movsd %xmm0, 0xc8(%rax,%r12)
movl $0xf, %edx
movq %r13, %rdi
leaq 0x24112(%rip), %rsi     # 0x2b8d3
callq 0x3360
movq 0x8(%rsp), %rax
movsd 0xc8(%rax,%r12), %xmm0
movq %r13, %rdi
callq 0x3480
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %r13, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
incq %rbx
movq 0x2fd31(%rip), %rcx     # 0x37540
movq 0x2fd22(%rip), %rax     # 0x37538
subq %rax, %rcx
sarq $0x5, %rcx
cmpq %rbx, %rcx
ja 0x7535
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rdx
movq %rdx, %rcx
subq %rax, %rcx
sarq $0x5, %rcx
movabsq $0x6db6db6db6db6db7, %rsi # imm = 0x6DB6DB6DB6DB6DB7
imulq %rsi, %rcx
movsd 0xa0(%rax), %xmm2
cmpq %rax, %rdx
je 0x7891
cmpq $0x1, %rcx
movq %rcx, %rsi
adcq $0x0, %rsi
leaq 0xa0(%rax), %rdi
movapd %xmm2, %xmm3
movsd (%rdi), %xmm0
movapd %xmm0, %xmm1
minsd %xmm2, %xmm1
maxsd %xmm3, %xmm0
addq $0xe0, %rdi
movapd %xmm1, %xmm2
movapd %xmm0, %xmm3
decq %rsi
jne 0x786b
jmp 0x7899
movapd %xmm2, %xmm0
movapd %xmm2, %xmm1
cmpq %rax, %rdx
je 0x78d8
cmpq $0x1, %rcx
movq %rcx, %rsi
adcq $0x0, %rsi
leaq 0xd6(%rax), %rdi
movsd -0x36(%rdi), %xmm2
ucomisd %xmm1, %xmm2
jne 0x78c1
jp 0x78c1
movb $0x1, -0x6(%rdi)
ucomisd %xmm0, %xmm2
jne 0x78cc
jp 0x78cc
movb $0x1, (%rdi)
addq $0xe0, %rdi
decq %rsi
jne 0x78b0
movsd 0xa8(%rax), %xmm2
cmpq %rax, %rdx
je 0x7921
cmpq $0x1, %rcx
movq %rcx, %rsi
adcq $0x0, %rsi
leaq 0xa8(%rax), %rdi
movapd %xmm2, %xmm3
movsd (%rdi), %xmm0
movapd %xmm0, %xmm1
minsd %xmm2, %xmm1
maxsd %xmm3, %xmm0
addq $0xe0, %rdi
movapd %xmm1, %xmm2
movapd %xmm0, %xmm3
decq %rsi
jne 0x78fb
jmp 0x7929
movapd %xmm2, %xmm0
movapd %xmm2, %xmm1
cmpq %rax, %rdx
je 0x7968
cmpq $0x1, %rcx
movq %rcx, %rsi
adcq $0x0, %rsi
leaq 0xd7(%rax), %rdi
movsd -0x2f(%rdi), %xmm2
ucomisd %xmm1, %xmm2
jne 0x7951
jp 0x7951
movb $0x1, -0x6(%rdi)
ucomisd %xmm0, %xmm2
jne 0x795c
jp 0x795c
movb $0x1, (%rdi)
addq $0xe0, %rdi
decq %rsi
jne 0x7940
movsd 0xb0(%rax), %xmm2
cmpq %rax, %rdx
je 0x79b1
cmpq $0x1, %rcx
movq %rcx, %rsi
adcq $0x0, %rsi
leaq 0xb0(%rax), %rdi
movapd %xmm2, %xmm3
movsd (%rdi), %xmm0
movapd %xmm0, %xmm1
minsd %xmm2, %xmm1
maxsd %xmm3, %xmm0
addq $0xe0, %rdi
movapd %xmm1, %xmm2
movapd %xmm0, %xmm3
decq %rsi
jne 0x798b
jmp 0x79b9
movapd %xmm2, %xmm0
movapd %xmm2, %xmm1
cmpq %rax, %rdx
je 0x79f8
cmpq $0x1, %rcx
movq %rcx, %rsi
adcq $0x0, %rsi
leaq 0xd8(%rax), %rdi
movsd -0x28(%rdi), %xmm2
ucomisd %xmm1, %xmm2
jne 0x79e1
jp 0x79e1
movb $0x1, -0x6(%rdi)
ucomisd %xmm0, %xmm2
jne 0x79ec
jp 0x79ec
movb $0x1, (%rdi)
addq $0xe0, %rdi
decq %rsi
jne 0x79d0
movsd 0xb8(%rax), %xmm2
cmpq %rax, %rdx
je 0x7a41
cmpq $0x1, %rcx
movq %rcx, %rsi
adcq $0x0, %rsi
leaq 0xb8(%rax), %rdi
movapd %xmm2, %xmm3
movsd (%rdi), %xmm0
movapd %xmm0, %xmm1
minsd %xmm2, %xmm1
maxsd %xmm3, %xmm0
addq $0xe0, %rdi
movapd %xmm1, %xmm2
movapd %xmm0, %xmm3
decq %rsi
jne 0x7a1b
jmp 0x7a49
movapd %xmm2, %xmm0
movapd %xmm2, %xmm1
cmpq %rax, %rdx
je 0x7a88
cmpq $0x1, %rcx
movq %rcx, %rsi
adcq $0x0, %rsi
leaq 0xd9(%rax), %rdi
movsd -0x21(%rdi), %xmm2
ucomisd %xmm1, %xmm2
jne 0x7a71
jp 0x7a71
movb $0x1, -0x6(%rdi)
ucomisd %xmm0, %xmm2
jne 0x7a7c
jp 0x7a7c
movb $0x1, (%rdi)
addq $0xe0, %rdi
decq %rsi
jne 0x7a60
movsd 0xc0(%rax), %xmm2
cmpq %rax, %rdx
je 0x7ad1
cmpq $0x1, %rcx
movq %rcx, %rsi
adcq $0x0, %rsi
leaq 0xc0(%rax), %rdi
movapd %xmm2, %xmm3
movsd (%rdi), %xmm0
movapd %xmm0, %xmm1
minsd %xmm2, %xmm1
maxsd %xmm3, %xmm0
addq $0xe0, %rdi
movapd %xmm1, %xmm2
movapd %xmm0, %xmm3
decq %rsi
jne 0x7aab
jmp 0x7ad9
movapd %xmm2, %xmm0
movapd %xmm2, %xmm1
cmpq %rax, %rdx
je 0x7b18
cmpq $0x1, %rcx
movq %rcx, %rsi
adcq $0x0, %rsi
leaq 0xda(%rax), %rdi
movsd -0x1a(%rdi), %xmm2
ucomisd %xmm1, %xmm2
jne 0x7b01
jp 0x7b01
movb $0x1, -0x6(%rdi)
ucomisd %xmm0, %xmm2
jne 0x7b0c
jp 0x7b0c
movb $0x1, (%rdi)
addq $0xe0, %rdi
decq %rsi
jne 0x7af0
movsd 0xc8(%rax), %xmm2
cmpq %rax, %rdx
je 0x7b61
cmpq $0x1, %rcx
movq %rcx, %rsi
adcq $0x0, %rsi
leaq 0xc8(%rax), %rdi
movapd %xmm2, %xmm3
movsd (%rdi), %xmm0
movapd %xmm0, %xmm1
minsd %xmm2, %xmm1
maxsd %xmm3, %xmm0
addq $0xe0, %rdi
movapd %xmm1, %xmm2
movapd %xmm0, %xmm3
decq %rsi
jne 0x7b3b
jmp 0x7b69
movapd %xmm2, %xmm0
movapd %xmm2, %xmm1
cmpq %rax, %rdx
je 0x7ba3
cmpq $0x1, %rcx
adcq $0x0, %rcx
addq $0xdb, %rax
movsd -0x13(%rax), %xmm2
ucomisd %xmm1, %xmm2
jne 0x7b8d
jp 0x7b8d
movb $0x1, -0x6(%rax)
ucomisd %xmm0, %xmm2
jne 0x7b98
jp 0x7b98
movb $0x1, (%rax)
addq $0xe0, %rax
decq %rcx
jne 0x7b7c
movq 0x2f426(%rip), %rdi     # 0x36fd0
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq 0x2f40b(%rip), %rdi     # 0x36fd0
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq %rax, %r14
leaq 0x23d07(%rip), %rsi     # 0x2b8e3
movl $0xf, %edx
movq %rax, %rdi
callq 0x3360
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq 0x2f929(%rip), %rax     # 0x37540
subq 0x2f91a(%rip), %rax     # 0x37538
cmpq $0x21, %rax
jb 0x7cd3
movl $0x1, %ebp
movl $0x28, %ebx
movq 0x2f397(%rip), %r14     # 0x36fd0
leaq 0x20(%rsp), %r15
leaq 0x24490(%rip), %r12     # 0x2c0d5
leal 0x40(%rbp), %eax
movb %al, 0x20(%rsp)
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x3360
movq %rax, %r13
movl $0x2, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x3360
movq 0x2f8c2(%rip), %rax     # 0x37538
movq -0x8(%rax,%rbx), %rsi
movq (%rax,%rbx), %rdx
movq %r13, %rdi
callq 0x3360
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %r13, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq 0x2f888(%rip), %rax     # 0x37540
subq 0x2f879(%rip), %rax     # 0x37538
incq %rbp
sarq $0x5, %rax
addq $0x20, %rbx
cmpq %rbp, %rax
ja 0x7c45
movq 0x2f2f6(%rip), %rdi     # 0x36fd0
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq 0x2f2db(%rip), %rdi     # 0x36fd0
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq %rax, %rbx
leaq 0x23be7(%rip), %rsi     # 0x2b8f3
movl $0x8, %edx
movq %rax, %rdi
callq 0x3360
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq 0x2f289(%rip), %rbx     # 0x36fd0
leaq 0x23bae(%rip), %rsi     # 0x2b8fc
movl $0x16, %edx
movq %rbx, %rdi
callq 0x3360
movq 0x2f7de(%rip), %rax     # 0x37540
subq 0x2f7cf(%rip), %rax     # 0x37538
cmpq $0x21, %rax
jb 0x7dbc
movl $0x1, %r15d
leaq 0x20(%rsp), %r14
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0xc, 0x10(%rbx,%rax)
leal 0x40(%r15), %eax
movb %al, 0x20(%rsp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3360
incq %r15
movq 0x2f794(%rip), %rax     # 0x37540
subq 0x2f785(%rip), %rax     # 0x37538
sarq $0x5, %rax
cmpq %r15, %rax
ja 0x7d7a
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq 0x2f1f6(%rip), %rbx     # 0x36fd0
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
xorl %r15d, %r15d
leaq 0x232f0(%rip), %rbp     # 0x2b0e4
movl %r15d, %r13d
cmpl $0x5, %r15d
ja 0x7e43
leaq 0x232c8(%rip), %rcx     # 0x2b0cc
movslq (%rcx,%r13,4), %rax
addq %rcx, %rax
leaq 0x23b18(%rip), %rsi     # 0x2b92a
jmpq *%rax
leaq 0x23af8(%rip), %rsi     # 0x2b913
jmp 0x7e36
leaq 0x23b34(%rip), %rsi     # 0x2b958
jmp 0x7e36
leaq 0x23b14(%rip), %rsi     # 0x2b941
jmp 0x7e36
leaq 0x23b39(%rip), %rsi     # 0x2b96f
movl $0x16, %edx
movq %rbx, %rdi
callq 0x3360
movq 0x8(%rsp), %rax
cmpq %rax, 0x10(%rsp)
je 0x7f71
movl $0xa0, %r14d
xorl %r12d, %r12d
cmpl $0x5, %r15d
ja 0x7f3f
movslq (%rbp,%r13,4), %rcx
addq %rbp, %rcx
jmpq *%rcx
movq (%rbx), %rcx
movq -0x18(%rcx), %rcx
movq $0xc, 0x10(%rbx,%rcx)
addq %r14, %rax
jmp 0x7f33
movq (%rbx), %rcx
movq -0x18(%rcx), %rcx
movq $0xc, 0x10(%rbx,%rcx)
imulq $0xe0, %r12, %rcx
addq %rcx, %rax
addq $0xc0, %rax
jmp 0x7f33
movq (%rbx), %rcx
movq -0x18(%rcx), %rcx
movq $0xc, 0x10(%rbx,%rcx)
imulq $0xe0, %r12, %rcx
addq %rcx, %rax
addq $0xb0, %rax
jmp 0x7f33
movq (%rbx), %rcx
movq -0x18(%rcx), %rcx
movq $0xc, 0x10(%rbx,%rcx)
imulq $0xe0, %r12, %rcx
addq %rcx, %rax
addq $0xb8, %rax
jmp 0x7f33
movq (%rbx), %rcx
movq -0x18(%rcx), %rcx
movq $0xc, 0x10(%rbx,%rcx)
imulq $0xe0, %r12, %rcx
addq %rcx, %rax
addq $0xa8, %rax
jmp 0x7f33
movq (%rbx), %rcx
movq -0x18(%rcx), %rcx
movq $0xc, 0x10(%rbx,%rcx)
imulq $0xe0, %r12, %rcx
addq %rcx, %rax
addq $0xc8, %rax
movsd (%rax), %xmm0
movq %rbx, %rdi
callq 0x3480
incq %r12
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
movabsq $0x6db6db6db6db6db7, %rdx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rdx, %rcx
addq $0xe0, %r14
cmpq %r12, %rcx
ja 0x7e5c
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movl $0x16, %edx
movq %rbx, %rdi
leaq 0x23955(%rip), %rsi     # 0x2b8fc
callq 0x3360
movq 0x8(%rsp), %rax
cmpq %rax, 0x10(%rsp)
je 0x80ae
movl $0xdb, %r12d
xorl %r14d, %r14d
cmpl $0x5, %r15d
ja 0x8022
leaq 0x2312a(%rip), %rdx     # 0x2b0fc
movslq (%rdx,%r13,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movb -0xb(%rax,%r12), %cl
movb -0x5(%rax,%r12), %dl
jmp 0x8026
movb -0x7(%rax,%r12), %cl
movb -0x1(%rax,%r12), %dl
jmp 0x8026
movb -0x9(%rax,%r12), %cl
movb -0x3(%rax,%r12), %dl
jmp 0x8026
movb -0x8(%rax,%r12), %cl
movb -0x2(%rax,%r12), %dl
jmp 0x8026
movb -0xa(%rax,%r12), %cl
movb -0x4(%rax,%r12), %dl
jmp 0x8026
movb -0x6(%rax,%r12), %dl
movb (%rax,%r12), %cl
jmp 0x8026
xorl %ecx, %ecx
xorl %edx, %edx
movl %ecx, %eax
andb %dl, %al
xorb $0x1, %al
movq (%rbx), %rsi
movq -0x18(%rsi), %rsi
movq $0xc, 0x10(%rbx,%rsi)
testb %dl, %dl
leaq 0x23835(%rip), %rsi     # 0x2b87a
leaq 0x23946(%rip), %rdx     # 0x2b992
cmovneq %rdx, %rsi
movl $0x0, %edx
movl $0xc, %edi
cmovneq %rdi, %rdx
testb %cl, %al
leaq 0x2391f(%rip), %rax     # 0x2b986
cmovneq %rax, %rsi
movl $0xb, %eax
cmovneq %rax, %rdx
movq %rbx, %rdi
callq 0x3360
incq %r14
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
movabsq $0x6db6db6db6db6db7, %rdx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rdx, %rcx
addq $0xe0, %r12
cmpq %r14, %rcx
ja 0x7fc5
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
incl %r15d
cmpl $0x6, %r15d
jne 0x7df4
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq 0x2eed0(%rip), %rbx     # 0x36fd0
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq %rax, %r14
leaq 0x23885(%rip), %rsi     # 0x2b99f
movl $0xc, %edx
movq %rax, %rdi
callq 0x3360
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0xf, 0x10(%rbx,%rax)
leaq 0x23847(%rip), %rsi     # 0x2b9ac
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3360
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0xf, 0x10(%rbx,%rax)
leaq 0x2382c(%rip), %rsi     # 0x2b9b5
movl $0xb, %edx
movq %rbx, %rdi
callq 0x3360
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq 0x2ee1c(%rip), %rbx     # 0x36fd0
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq 0x8(%rsp), %rax
cmpq %rax, 0x10(%rsp)
je 0x82e5
leaq 0x30(%rsp), %r13
xorl %ebp, %ebp
leaq 0x20(%rsp), %r15
xorl %r14d, %r14d
movq (%rbx), %rcx
movq -0x18(%rcx), %rcx
movq $0xf, 0x10(%rbx,%rcx)
movsd 0xb8(%rax,%rbp), %xmm0
movq %rbx, %rdi
callq 0x3480
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0xf, 0x10(%rax,%rcx)
movq 0x8(%rsp), %rcx
movsd 0xc8(%rcx,%rbp), %xmm0
movq %rax, %rdi
callq 0x3480
movq %rax, %r12
movl $0x4, %edx
movq %rax, %rdi
leaq 0x236d2(%rip), %rsi     # 0x2b90e
callq 0x3360
movq 0x8(%rsp), %rax
movq %r13, 0x20(%rsp)
movq 0x8(%rax,%rbp), %rsi
movq 0x10(%rax,%rbp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0xa97e
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq %r12, %rdi
callq 0x3360
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %r12, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x82b3
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3310
incq %r14
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
movabsq $0x6db6db6db6db6db7, %rdx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rdx, %rcx
addq $0xe0, %rbp
cmpq %r14, %rcx
ja 0x81e3
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq 0x2eccd(%rip), %rdi     # 0x36fd0
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq %rax, %rbx
leaq 0x236a7(%rip), %rsi     # 0x2b9c1
movl $0x41, %edx
movq %rax, %rdi
callq 0x3360
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq 0x2ec7b(%rip), %rdi     # 0x36fd0
leaq 0x23650(%rip), %rsi     # 0x2b9ac
movl $0x8, %edx
callq 0x3360
leaq 0x20(%rsp), %rsi
movb $0x9, (%rsi)
movq 0x2ec5b(%rip), %rbx     # 0x36fd0
movl $0x1, %edx
movq %rbx, %rdi
callq 0x3360
movq %rax, %r14
leaq 0x23629(%rip), %rsi     # 0x2b9b5
movl $0xb, %edx
movq %rax, %rdi
callq 0x3360
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq 0x8(%rsp), %rax
cmpq %rax, 0x10(%rsp)
je 0x847b
xorl %r13d, %r13d
movq 0x2ebf6(%rip), %r14     # 0x36fd0
leaq 0x20(%rsp), %r15
xorl %ebp, %ebp
movsd 0xb8(%rax,%r13), %xmm0
movq %r14, %rdi
callq 0x3480
movb $0x9, 0x20(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x3360
movq 0x8(%rsp), %rcx
movsd 0xc8(%rcx,%r13), %xmm0
movq %rax, %rdi
callq 0x3480
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %r12, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
incq %rbp
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
movabsq $0x6db6db6db6db6db7, %rdx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rdx, %rcx
addq $0xe0, %r13
cmpq %rbp, %rcx
ja 0x83e1
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq 0x2eb37(%rip), %rbx     # 0x36fd0
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq %rax, %r14
leaq 0x23550(%rip), %rsi     # 0x2ba03
movl $0x10, %edx
movq %rax, %rdi
callq 0x3360
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0xf, 0x10(%rbx,%rax)
leaq 0x234ae(%rip), %rsi     # 0x2b9ac
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3360
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0xf, 0x10(%rbx,%rax)
leaq 0x23493(%rip), %rsi     # 0x2b9b5
movl $0xb, %edx
movq %rbx, %rdi
callq 0x3360
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq 0x2ea83(%rip), %rbx     # 0x36fd0
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq 0x8(%rsp), %r14
movq 0x10(%rsp), %r15
cmpq %r15, %r14
je 0x85a7
movq %r15, %rax
subq %r14, %rax
sarq $0x5, %rax
movabsq $0x6db6db6db6db6db7, %rcx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rcx, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0xb186
movq %r14, %rdi
movq %r15, %rsi
callq 0xb2f2
movq 0x8(%rsp), %rax
cmpq %rax, 0x10(%rsp)
je 0x86c8
leaq 0x30(%rsp), %r13
xorl %ebp, %ebp
leaq 0x20(%rsp), %r15
xorl %r14d, %r14d
movq (%rbx), %rcx
movq -0x18(%rcx), %rcx
movq $0xf, 0x10(%rbx,%rcx)
movsd 0xb8(%rax,%rbp), %xmm0
movq %rbx, %rdi
callq 0x3480
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0xf, 0x10(%rax,%rcx)
movq 0x8(%rsp), %rcx
movsd 0xc8(%rcx,%rbp), %xmm0
movq %rax, %rdi
callq 0x3480
movq %rax, %r12
movl $0x4, %edx
movq %rax, %rdi
leaq 0x232ef(%rip), %rsi     # 0x2b90e
callq 0x3360
movq 0x8(%rsp), %rax
movq %r13, 0x20(%rsp)
movq 0x8(%rax,%rbp), %rsi
movq 0x10(%rax,%rbp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0xa97e
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq %r12, %rdi
callq 0x3360
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %r12, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x8696
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3310
incq %r14
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
movabsq $0x6db6db6db6db6db7, %rdx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rdx, %rcx
addq $0xe0, %rbp
cmpq %r14, %rcx
ja 0x85c6
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq 0x2e8ea(%rip), %rdi     # 0x36fd0
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq %rax, %rbx
leaq 0x23317(%rip), %rsi     # 0x2ba14
movl $0x45, %edx
movq %rax, %rdi
callq 0x3360
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq 0x2e898(%rip), %rdi     # 0x36fd0
leaq 0x2326d(%rip), %rsi     # 0x2b9ac
movl $0x8, %edx
callq 0x3360
leaq 0x20(%rsp), %rsi
movb $0x9, (%rsi)
movq 0x2e878(%rip), %rbx     # 0x36fd0
movl $0x1, %edx
movq %rbx, %rdi
callq 0x3360
movq %rax, %r14
leaq 0x23246(%rip), %rsi     # 0x2b9b5
movl $0xb, %edx
movq %rax, %rdi
callq 0x3360
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq 0x8(%rsp), %rax
cmpq %rax, 0x10(%rsp)
je 0x885e
xorl %r13d, %r13d
movq 0x2e813(%rip), %r14     # 0x36fd0
leaq 0x20(%rsp), %r15
xorl %ebp, %ebp
movsd 0xb8(%rax,%r13), %xmm0
movq %r14, %rdi
callq 0x3480
movb $0x9, 0x20(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x3360
movq 0x8(%rsp), %rcx
movsd 0xc8(%rcx,%r13), %xmm0
movq %rax, %rdi
callq 0x3480
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %r12, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
incq %rbp
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
movabsq $0x6db6db6db6db6db7, %rdx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rdx, %rcx
addq $0xe0, %r13
cmpq %rbp, %rcx
ja 0x87c4
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq 0x2e754(%rip), %rbx     # 0x36fd0
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq %rax, %r14
leaq 0x231c4(%rip), %rsi     # 0x2ba5a
movl $0x13, %edx
movq %rax, %rdi
callq 0x3360
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0xf, 0x10(%rbx,%rax)
leaq 0x230cb(%rip), %rsi     # 0x2b9ac
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3360
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0xf, 0x10(%rbx,%rax)
leaq 0x230b0(%rip), %rsi     # 0x2b9b5
movl $0xb, %edx
movq %rbx, %rdi
callq 0x3360
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq 0x2e6a0(%rip), %rbx     # 0x36fd0
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq 0x8(%rsp), %r14
movq 0x10(%rsp), %r15
cmpq %r15, %r14
je 0x898a
movq %r15, %rax
subq %r14, %rax
sarq $0x5, %rax
movabsq $0x6db6db6db6db6db7, %rcx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rcx, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0xbf79
movq %r14, %rdi
movq %r15, %rsi
callq 0xc0e6
movq 0x8(%rsp), %rax
cmpq %rax, 0x10(%rsp)
je 0x8aab
leaq 0x30(%rsp), %r13
xorl %ebp, %ebp
leaq 0x20(%rsp), %r15
xorl %r14d, %r14d
movq (%rbx), %rcx
movq -0x18(%rcx), %rcx
movq $0xf, 0x10(%rbx,%rcx)
movsd 0xb8(%rax,%rbp), %xmm0
movq %rbx, %rdi
callq 0x3480
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0xf, 0x10(%rax,%rcx)
movq 0x8(%rsp), %rcx
movsd 0xc8(%rcx,%rbp), %xmm0
movq %rax, %rdi
callq 0x3480
movq %rax, %r12
movl $0x4, %edx
movq %rax, %rdi
leaq 0x22f0c(%rip), %rsi     # 0x2b90e
callq 0x3360
movq 0x8(%rsp), %rax
movq %r13, 0x20(%rsp)
movq 0x8(%rax,%rbp), %rsi
movq 0x10(%rax,%rbp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0xa97e
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq %r12, %rdi
callq 0x3360
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %r12, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x8a79
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3310
incq %r14
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
movabsq $0x6db6db6db6db6db7, %rdx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rdx, %rcx
addq $0xe0, %rbp
cmpq %r14, %rcx
ja 0x89a9
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq 0x2e507(%rip), %rdi     # 0x36fd0
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq %rax, %rbx
leaq 0x22f8e(%rip), %rsi     # 0x2ba6e
movl $0x48, %edx
movq %rax, %rdi
callq 0x3360
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq 0x2e4b5(%rip), %rdi     # 0x36fd0
leaq 0x22e8a(%rip), %rsi     # 0x2b9ac
movl $0x8, %edx
callq 0x3360
leaq 0x20(%rsp), %rsi
movb $0x9, (%rsi)
movq 0x2e495(%rip), %rdi     # 0x36fd0
movl $0x1, %edx
callq 0x3360
movq %rax, %rbx
leaq 0x22e66(%rip), %rsi     # 0x2b9b5
movl $0xb, %edx
movq %rax, %rdi
callq 0x3360
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq 0x8(%rsp), %rax
cmpq %rax, 0x10(%rsp)
je 0x8c3f
xorl %r12d, %r12d
movq 0x2e433(%rip), %rbx     # 0x36fd0
leaq 0x20(%rsp), %r14
xorl %r13d, %r13d
movsd 0xb8(%rax,%r12), %xmm0
movq %rbx, %rdi
callq 0x3480
movb $0x9, 0x20(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x3360
movq 0x8(%rsp), %rcx
movsd 0xc8(%rcx,%r12), %xmm0
movq %rax, %rdi
callq 0x3480
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %r15, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
incq %r13
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
movabsq $0x6db6db6db6db6db7, %rdx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rdx, %rcx
addq $0xe0, %r12
cmpq %r13, %rcx
ja 0x8ba5
leaq 0x8(%rsp), %rdi
callq 0xa6a6
leaq 0xd8(%rsp), %rdi
callq 0xe372
leaq 0x178(%rsp), %rdi
callq 0xe372
leaq 0x128(%rsp), %rdi
callq 0xe372
leaq 0x88(%rsp), %rdi
callq 0xe372
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x8d3c
jmp 0x8c99
movq %rax, %rbx
jmp 0x8d49
jmp 0x8ca3
movq %rax, %rbx
jmp 0x8d56
jmp 0x8cd0
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r14, %rdi
je 0x8d63
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x3310
jmp 0x8d63
movq %rax, %rbx
jmp 0x8d63
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x8d32
movq 0x58(%rsp), %rsi
jmp 0x8d15
jmp 0x8d2f
jmp 0x8d2f
jmp 0x8d2f
jmp 0x8d2f
jmp 0x8d2f
jmp 0x8d2f
jmp 0x8d2f
jmp 0x8d03
jmp 0x8d03
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x8d32
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3310
jmp 0x8d32
jmp 0x8d2f
jmp 0x8d2f
jmp 0x8d2f
jmp 0x8d2f
jmp 0x8d2f
jmp 0x8d2f
jmp 0x8d2f
jmp 0x8d2f
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xa6a6
leaq 0xd8(%rsp), %rdi
callq 0xe372
leaq 0x178(%rsp), %rdi
callq 0xe372
leaq 0x128(%rsp), %rdi
callq 0xe372
leaq 0x88(%rsp), %rdi
callq 0xe372
movq %rbx, %rdi
callq 0x3500