// File: kebwi[P]Trifid/src/ImageProcs.cpp
// Function: testRGBXYZLABRoutines()
void testRGBXYZLABRoutines()
{
	Float_t minorCutoff = .000001;
	Float_t majorCutoff = .001;
	
	cout.precision(8);
	
	cout << "RGB coordinates specified as input, then run through RGB->XYZ->LAB->XYZ->RGB." << endl
		<< "Final XYZ and RGB difs are presented and compared to originals with minor and major cutoffs: " << endl
		<< minorCutoff << " and " << majorCutoff << "." << endl << endl;
	
	cout << "Display legend:" << endl;
	cout	<< setw(12) << "R in"
			<< setw(12) << "G in"
			<< setw(12) << "B in" << "    "
			<< setw(12) << "X out"
			<< setw(12) << "Y out"
			<< setw(12) << "Z out" << "    " << endl
			<< setw(12) << "R2 out"
			<< setw(12) << "G2 out"
			<< setw(12) << "B2 out" << "    "
			<< setw(12) << "X2 out"
			<< setw(12) << "Y2 out"
			<< setw(12) << "Z2 out" << endl
			<< setw(12) << "|X2 - X|"
			<< setw(12) << "|Y2 - Y|"
			<< setw(12) << "|Z2 - Z|" << "    "
			<< setw(12) << "|R2 - R|"
			<< setw(12) << "|G2 - G|"
			<< setw(12) << "|B2 - B|" << endl << endl;
			
	for (Float_t r = 0; r <= 1.0; r += .25)
		for (Float_t g = 0; g <= 1.0; g += .25)
			for (Float_t b = 0; b <= 1.0; b += .25)
			{
				Float_t x, y, z;
				Float_t l, a, bb;
				Float_t x2, y2, z2;
				Float_t r2, g2, b2;
				
				rgb2xyz(r, g, b, x, y, z);
				xyz2cielab(x, y, z, l, a, bb);
				cielab2xyz(l, a, bb, x2, y2, z2);
				xyz2rgb(x2, y2, z2, r2, g2, b2);
				
				cout	<< setw(12) << r
						<< setw(12) << g
						<< setw(12) << b << "    "
						<< setw(12) << x
						<< setw(12) << y
						<< setw(12) << z << endl
						<< setw(12) << r2
						<< setw(12) << g2
						<< setw(12) << b2 << "    "
						<< setw(12) << x2
						<< setw(12) << y2
						<< setw(12) << z2 << endl
						<< setw(12) << fabs(x2 - x)
						<< setw(12) << fabs(y2 - y)
						<< setw(12) << fabs(z2 - z) << "    "
						<< setw(12) << fabs(r2 - r)
						<< setw(12) << fabs(g2 - g)
						<< setw(12) << fabs(b2 - b) << endl;
				
				if (fabs(r2 - r) > minorCutoff || fabs(g2 - g) > minorCutoff || fabs(b2 - b) > minorCutoff ||
					fabs(x2 - x) > minorCutoff || fabs(y2 - y) > minorCutoff || fabs(z2 - z) > minorCutoff)
					cout << "    -------- minor error in previous test --------" << endl;
				
				if (fabs(r2 - r) > majorCutoff || fabs(g2 - g) > majorCutoff || fabs(b2 - b) > majorCutoff ||
					fabs(x2 - x) > majorCutoff || fabs(y2 - y) > majorCutoff || fabs(z2 - z) > majorCutoff)
					cout << "    ******** MAJOR ERROR IN PREVIOUS TEST ********" << endl;
				
				cout << endl;
			}
	
	exit(0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x230, %rsp            # imm = 0x230
movsd 0x2c5f5(%rip), %xmm0    # 0x4ac98
movsd %xmm0, -0x8(%rbp)
movsd 0x2c5e0(%rip), %xmm0    # 0x4ac90
movsd %xmm0, -0x10(%rbp)
movq 0x3b914(%rip), %rax     # 0x59fd0
movq (%rax), %rax
movq 0x3b90a(%rip), %rdi     # 0x59fd0
addq -0x18(%rax), %rdi
movl $0x8, %esi
callq 0xf310
movq 0x3b8f5(%rip), %rdi     # 0x59fd0
leaq 0x2c6b8(%rip), %rsi     # 0x4ad9a
callq 0x4390
movq %rax, %rdi
movq 0x3b8c7(%rip), %rsi     # 0x59fb8
callq 0x43d0
movq %rax, %rdi
leaq 0x2c6e8(%rip), %rsi     # 0x4ade8
callq 0x4390
movq %rax, %rdi
movq 0x3b8a9(%rip), %rsi     # 0x59fb8
callq 0x43d0
movq %rax, %rdi
movsd -0x8(%rbp), %xmm0
callq 0x4670
movq %rax, %rdi
leaq 0x2c71b(%rip), %rsi     # 0x4ae46
callq 0x4390
movq %rax, %rdi
movsd -0x10(%rbp), %xmm0
callq 0x4670
movq %rax, %rdi
leaq 0x2bb96(%rip), %rsi     # 0x4a2dd
callq 0x4390
movq %rax, %rdi
movq 0x3b862(%rip), %rsi     # 0x59fb8
callq 0x43d0
movq %rax, %rdi
movq 0x3b853(%rip), %rsi     # 0x59fb8
callq 0x43d0
movq 0x3b85f(%rip), %rdi     # 0x59fd0
leaq 0x2c6d4(%rip), %rsi     # 0x4ae4c
callq 0x4390
movq %rax, %rdi
movq 0x3b831(%rip), %rsi     # 0x59fb8
callq 0x43d0
movl $0xc, %edi
callq 0xe410
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %esi
movq 0x3b82d(%rip), %rdi     # 0x59fd0
callq 0x4430
movq %rax, %rdi
leaq 0x2c6aa(%rip), %rsi     # 0x4ae5c
callq 0x4390
movq %rax, -0x1a0(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x1a0(%rbp), %rdi
movl %eax, -0x18(%rbp)
movl -0x18(%rbp), %esi
callq 0x4430
movq %rax, %rdi
leaq 0x2c67d(%rip), %rsi     # 0x4ae61
callq 0x4390
movq %rax, -0x198(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x198(%rbp), %rdi
movl %eax, -0x1c(%rbp)
movl -0x1c(%rbp), %esi
callq 0x4430
movq %rax, %rdi
leaq 0x2c650(%rip), %rsi     # 0x4ae66
callq 0x4390
movq %rax, %rdi
leaq 0x2b186(%rip), %rsi     # 0x499ab
callq 0x4390
movq %rax, -0x190(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x190(%rbp), %rdi
movl %eax, -0x20(%rbp)
movl -0x20(%rbp), %esi
callq 0x4430
movq %rax, %rdi
leaq 0x2c614(%rip), %rsi     # 0x4ae6b
callq 0x4390
movq %rax, -0x188(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x188(%rbp), %rdi
movl %eax, -0x24(%rbp)
movl -0x24(%rbp), %esi
callq 0x4430
movq %rax, %rdi
leaq 0x2c5e8(%rip), %rsi     # 0x4ae71
callq 0x4390
movq %rax, -0x180(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x180(%rbp), %rdi
movl %eax, -0x28(%rbp)
movl -0x28(%rbp), %esi
callq 0x4430
movq %rax, %rdi
leaq 0x2c5bc(%rip), %rsi     # 0x4ae77
callq 0x4390
movq %rax, %rdi
leaq 0x2b0e1(%rip), %rsi     # 0x499ab
callq 0x4390
movq %rax, %rdi
movq 0x3b6df(%rip), %rsi     # 0x59fb8
callq 0x43d0
movq %rax, -0x178(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x178(%rbp), %rdi
movl %eax, -0x2c(%rbp)
movl -0x2c(%rbp), %esi
callq 0x4430
movq %rax, %rdi
leaq 0x2c572(%rip), %rsi     # 0x4ae7d
callq 0x4390
movq %rax, -0x170(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x170(%rbp), %rdi
movl %eax, -0x30(%rbp)
movl -0x30(%rbp), %esi
callq 0x4430
movq %rax, %rdi
leaq 0x2c547(%rip), %rsi     # 0x4ae84
callq 0x4390
movq %rax, -0x168(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x168(%rbp), %rdi
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %esi
callq 0x4430
movq %rax, %rdi
leaq 0x2c51c(%rip), %rsi     # 0x4ae8b
callq 0x4390
movq %rax, %rdi
leaq 0x2b02d(%rip), %rsi     # 0x499ab
callq 0x4390
movq %rax, -0x160(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x160(%rbp), %rdi
movl %eax, -0x38(%rbp)
movl -0x38(%rbp), %esi
callq 0x4430
movq %rax, %rdi
leaq 0x2c4e2(%rip), %rsi     # 0x4ae92
callq 0x4390
movq %rax, -0x158(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x158(%rbp), %rdi
movl %eax, -0x3c(%rbp)
movl -0x3c(%rbp), %esi
callq 0x4430
movq %rax, %rdi
leaq 0x2c4b7(%rip), %rsi     # 0x4ae99
callq 0x4390
movq %rax, -0x150(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x150(%rbp), %rdi
movl %eax, -0x40(%rbp)
movl -0x40(%rbp), %esi
callq 0x4430
movq %rax, %rdi
leaq 0x2c48c(%rip), %rsi     # 0x4aea0
callq 0x4390
movq %rax, %rdi
movq 0x3b595(%rip), %rsi     # 0x59fb8
callq 0x43d0
movq %rax, -0x148(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x148(%rbp), %rdi
movl %eax, -0x44(%rbp)
movl -0x44(%rbp), %esi
callq 0x4430
movq %rax, %rdi
leaq 0x2c452(%rip), %rsi     # 0x4aea7
callq 0x4390
movq %rax, -0x140(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x140(%rbp), %rdi
movl %eax, -0x48(%rbp)
movl -0x48(%rbp), %esi
callq 0x4430
movq %rax, %rdi
leaq 0x2c429(%rip), %rsi     # 0x4aeb0
callq 0x4390
movq %rax, -0x138(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x138(%rbp), %rdi
movl %eax, -0x4c(%rbp)
movl -0x4c(%rbp), %esi
callq 0x4430
movq %rax, %rdi
leaq 0x2c400(%rip), %rsi     # 0x4aeb9
callq 0x4390
movq %rax, %rdi
leaq 0x2aee3(%rip), %rsi     # 0x499ab
callq 0x4390
movq %rax, -0x130(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x130(%rbp), %rdi
movl %eax, -0x50(%rbp)
movl -0x50(%rbp), %esi
callq 0x4430
movq %rax, %rdi
leaq 0x2c3c8(%rip), %rsi     # 0x4aec2
callq 0x4390
movq %rax, -0x128(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x128(%rbp), %rdi
movl %eax, -0x54(%rbp)
movl -0x54(%rbp), %esi
callq 0x4430
movq %rax, %rdi
leaq 0x2c39f(%rip), %rsi     # 0x4aecb
callq 0x4390
movq %rax, -0x120(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x120(%rbp), %rdi
movl %eax, -0x58(%rbp)
movl -0x58(%rbp), %esi
callq 0x4430
movq %rax, %rdi
leaq 0x2c376(%rip), %rsi     # 0x4aed4
callq 0x4390
movq %rax, %rdi
movq 0x3b44b(%rip), %rsi     # 0x59fb8
callq 0x43d0
movq %rax, %rdi
movq 0x3b43c(%rip), %rsi     # 0x59fb8
callq 0x43d0
xorps %xmm0, %xmm0
movsd %xmm0, -0x60(%rbp)
movsd 0x2a48f(%rip), %xmm0    # 0x49020
ucomisd -0x60(%rbp), %xmm0
jb 0x1f350
xorps %xmm0, %xmm0
movsd %xmm0, -0x68(%rbp)
movsd 0x2a474(%rip), %xmm0    # 0x49020
ucomisd -0x68(%rbp), %xmm0
jb 0x1f337
xorps %xmm0, %xmm0
movsd %xmm0, -0x70(%rbp)
movsd 0x2a459(%rip), %xmm0    # 0x49020
ucomisd -0x70(%rbp), %xmm0
jb 0x1f31e
movsd -0x60(%rbp), %xmm0
movsd -0x68(%rbp), %xmm1
movsd -0x70(%rbp), %xmm2
leaq -0x78(%rbp), %rdi
leaq -0x80(%rbp), %rsi
leaq -0x88(%rbp), %rdx
callq 0x1df20
movsd -0x78(%rbp), %xmm0
movsd -0x80(%rbp), %xmm1
movsd -0x88(%rbp), %xmm2
leaq -0x90(%rbp), %rdi
leaq -0x98(%rbp), %rsi
leaq -0xa0(%rbp), %rdx
callq 0x1e2b0
movsd -0x90(%rbp), %xmm0
movsd -0x98(%rbp), %xmm1
movsd -0xa0(%rbp), %xmm2
leaq -0xa8(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
leaq -0xb8(%rbp), %rdx
callq 0x1e490
movsd -0xa8(%rbp), %xmm0
movsd -0xb0(%rbp), %xmm1
movsd -0xb8(%rbp), %xmm2
leaq -0xc0(%rbp), %rdi
leaq -0xc8(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
callq 0x1e100
movl $0xc, %edi
callq 0xe410
movl %eax, -0xd4(%rbp)
movl -0xd4(%rbp), %esi
movq 0x3b32e(%rip), %rdi     # 0x59fd0
callq 0x4430
movq %rax, %rdi
movsd -0x60(%rbp), %xmm0
callq 0x4670
movq %rax, -0x228(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x228(%rbp), %rdi
movl %eax, -0xd8(%rbp)
movl -0xd8(%rbp), %esi
callq 0x4430
movq %rax, %rdi
movsd -0x68(%rbp), %xmm0
callq 0x4670
movq %rax, -0x220(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x220(%rbp), %rdi
movl %eax, -0xdc(%rbp)
movl -0xdc(%rbp), %esi
callq 0x4430
movq %rax, %rdi
movsd -0x70(%rbp), %xmm0
callq 0x4670
movq %rax, %rdi
leaq 0x2ac81(%rip), %rsi     # 0x499ab
callq 0x4390
movq %rax, -0x218(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x218(%rbp), %rdi
movl %eax, -0xe0(%rbp)
movl -0xe0(%rbp), %esi
callq 0x4430
movq %rax, %rdi
movsd -0x78(%rbp), %xmm0
callq 0x4670
movq %rax, -0x210(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x210(%rbp), %rdi
movl %eax, -0xe4(%rbp)
movl -0xe4(%rbp), %esi
callq 0x4430
movq %rax, %rdi
movsd -0x80(%rbp), %xmm0
callq 0x4670
movq %rax, -0x208(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x208(%rbp), %rdi
movl %eax, -0xe8(%rbp)
movl -0xe8(%rbp), %esi
callq 0x4430
movq %rax, %rdi
movsd -0x88(%rbp), %xmm0
callq 0x4670
movq %rax, %rdi
movq 0x3b1da(%rip), %rsi     # 0x59fb8
callq 0x43d0
movq %rax, -0x200(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x200(%rbp), %rdi
movl %eax, -0xec(%rbp)
movl -0xec(%rbp), %esi
callq 0x4430
movq %rax, %rdi
movsd -0xc0(%rbp), %xmm0
callq 0x4670
movq %rax, -0x1f8(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x1f8(%rbp), %rdi
movl %eax, -0xf0(%rbp)
movl -0xf0(%rbp), %esi
callq 0x4430
movq %rax, %rdi
movsd -0xc8(%rbp), %xmm0
callq 0x4670
movq %rax, -0x1f0(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x1f0(%rbp), %rdi
movl %eax, -0xf4(%rbp)
movl -0xf4(%rbp), %esi
callq 0x4430
movq %rax, %rdi
movsd -0xd0(%rbp), %xmm0
callq 0x4670
movq %rax, %rdi
leaq 0x2ab13(%rip), %rsi     # 0x499ab
callq 0x4390
movq %rax, -0x1e8(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x1e8(%rbp), %rdi
movl %eax, -0xf8(%rbp)
movl -0xf8(%rbp), %esi
callq 0x4430
movq %rax, %rdi
movsd -0xa8(%rbp), %xmm0
callq 0x4670
movq %rax, -0x1e0(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x1e0(%rbp), %rdi
movl %eax, -0xfc(%rbp)
movl -0xfc(%rbp), %esi
callq 0x4430
movq %rax, %rdi
movsd -0xb0(%rbp), %xmm0
callq 0x4670
movq %rax, -0x1d8(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x1d8(%rbp), %rdi
movl %eax, -0x100(%rbp)
movl -0x100(%rbp), %esi
callq 0x4430
movq %rax, %rdi
movsd -0xb8(%rbp), %xmm0
callq 0x4670
movq %rax, %rdi
movq 0x3b066(%rip), %rsi     # 0x59fb8
callq 0x43d0
movq %rax, -0x1d0(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x1d0(%rbp), %rdi
movl %eax, -0x104(%rbp)
movl -0x104(%rbp), %esi
callq 0x4430
movq %rax, %rdi
movsd -0xa8(%rbp), %xmm0
subsd -0x78(%rbp), %xmm0
movaps 0x2a0a9(%rip), %xmm1    # 0x49040
pand %xmm1, %xmm0
callq 0x4670
movq %rax, -0x1c8(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x1c8(%rbp), %rdi
movl %eax, -0x108(%rbp)
movl -0x108(%rbp), %esi
callq 0x4430
movq %rax, %rdi
movsd -0xb0(%rbp), %xmm0
subsd -0x80(%rbp), %xmm0
movaps 0x2a060(%rip), %xmm1    # 0x49040
pand %xmm1, %xmm0
callq 0x4670
movq %rax, -0x1c0(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x1c0(%rbp), %rdi
movl %eax, -0x10c(%rbp)
movl -0x10c(%rbp), %esi
callq 0x4430
movq %rax, %rdi
movsd -0xb8(%rbp), %xmm0
subsd -0x88(%rbp), %xmm0
movaps 0x2a014(%rip), %xmm1    # 0x49040
pand %xmm1, %xmm0
callq 0x4670
movq %rax, %rdi
leaq 0x2a96c(%rip), %rsi     # 0x499ab
callq 0x4390
movq %rax, -0x1b8(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x1b8(%rbp), %rdi
movl %eax, -0x110(%rbp)
movl -0x110(%rbp), %esi
callq 0x4430
movq %rax, %rdi
movsd -0xc0(%rbp), %xmm0
subsd -0x60(%rbp), %xmm0
movaps 0x29fbc(%rip), %xmm1    # 0x49040
pand %xmm1, %xmm0
callq 0x4670
movq %rax, -0x1b0(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x1b0(%rbp), %rdi
movl %eax, -0x114(%rbp)
movl -0x114(%rbp), %esi
callq 0x4430
movq %rax, %rdi
movsd -0xc8(%rbp), %xmm0
subsd -0x68(%rbp), %xmm0
movaps 0x29f73(%rip), %xmm1    # 0x49040
pand %xmm1, %xmm0
callq 0x4670
movq %rax, -0x1a8(%rbp)
movl $0xc, %edi
callq 0xe410
movq -0x1a8(%rbp), %rdi
movl %eax, -0x118(%rbp)
movl -0x118(%rbp), %esi
callq 0x4430
movq %rax, %rdi
movsd -0xd0(%rbp), %xmm0
subsd -0x70(%rbp), %xmm0
movaps 0x29f2a(%rip), %xmm1    # 0x49040
pand %xmm1, %xmm0
callq 0x4670
movq %rax, %rdi
movq 0x3ae8f(%rip), %rsi     # 0x59fb8
callq 0x43d0
movsd -0xc0(%rbp), %xmm0
subsd -0x60(%rbp), %xmm0
movaps 0x29efe(%rip), %xmm1    # 0x49040
pand %xmm1, %xmm0
ucomisd -0x8(%rbp), %xmm0
ja 0x1f1ef
movsd -0xc8(%rbp), %xmm0
subsd -0x68(%rbp), %xmm0
movaps 0x29edb(%rip), %xmm1    # 0x49040
pand %xmm1, %xmm0
ucomisd -0x8(%rbp), %xmm0
ja 0x1f1ef
movsd -0xd0(%rbp), %xmm0
subsd -0x70(%rbp), %xmm0
movaps 0x29ebc(%rip), %xmm1    # 0x49040
pand %xmm1, %xmm0
ucomisd -0x8(%rbp), %xmm0
ja 0x1f1ef
movsd -0xa8(%rbp), %xmm0
subsd -0x78(%rbp), %xmm0
movaps 0x29e9d(%rip), %xmm1    # 0x49040
pand %xmm1, %xmm0
ucomisd -0x8(%rbp), %xmm0
ja 0x1f1ef
movsd -0xb0(%rbp), %xmm0
subsd -0x80(%rbp), %xmm0
movaps 0x29e7e(%rip), %xmm1    # 0x49040
pand %xmm1, %xmm0
ucomisd -0x8(%rbp), %xmm0
ja 0x1f1ef
movsd -0xb8(%rbp), %xmm0
subsd -0x88(%rbp), %xmm0
movaps 0x29e5c(%rip), %xmm1    # 0x49040
pand %xmm1, %xmm0
ucomisd -0x8(%rbp), %xmm0
jbe 0x1f211
movq 0x3adda(%rip), %rdi     # 0x59fd0
leaq 0x2bce0(%rip), %rsi     # 0x4aedd
callq 0x4390
movq %rax, %rdi
movq 0x3adac(%rip), %rsi     # 0x59fb8
callq 0x43d0
movsd -0xc0(%rbp), %xmm0
subsd -0x60(%rbp), %xmm0
movaps 0x29e1b(%rip), %xmm1    # 0x49040
pand %xmm1, %xmm0
ucomisd -0x10(%rbp), %xmm0
ja 0x1f2d2
movsd -0xc8(%rbp), %xmm0
subsd -0x68(%rbp), %xmm0
movaps 0x29df8(%rip), %xmm1    # 0x49040
pand %xmm1, %xmm0
ucomisd -0x10(%rbp), %xmm0
ja 0x1f2d2
movsd -0xd0(%rbp), %xmm0
subsd -0x70(%rbp), %xmm0
movaps 0x29dd9(%rip), %xmm1    # 0x49040
pand %xmm1, %xmm0
ucomisd -0x10(%rbp), %xmm0
ja 0x1f2d2
movsd -0xa8(%rbp), %xmm0
subsd -0x78(%rbp), %xmm0
movaps 0x29dba(%rip), %xmm1    # 0x49040
pand %xmm1, %xmm0
ucomisd -0x10(%rbp), %xmm0
ja 0x1f2d2
movsd -0xb0(%rbp), %xmm0
subsd -0x80(%rbp), %xmm0
movaps 0x29d9b(%rip), %xmm1    # 0x49040
pand %xmm1, %xmm0
ucomisd -0x10(%rbp), %xmm0
ja 0x1f2d2
movsd -0xb8(%rbp), %xmm0
subsd -0x88(%rbp), %xmm0
movaps 0x29d79(%rip), %xmm1    # 0x49040
pand %xmm1, %xmm0
ucomisd -0x10(%rbp), %xmm0
jbe 0x1f2f4
movq 0x3acf7(%rip), %rdi     # 0x59fd0
leaq 0x2bc30(%rip), %rsi     # 0x4af10
callq 0x4390
movq %rax, %rdi
movq 0x3acc9(%rip), %rsi     # 0x59fb8
callq 0x43d0
movq 0x3acd5(%rip), %rdi     # 0x59fd0
movq 0x3acb6(%rip), %rsi     # 0x59fb8
callq 0x43d0
movsd 0x2b991(%rip), %xmm0    # 0x4aca0
addsd -0x70(%rbp), %xmm0
movsd %xmm0, -0x70(%rbp)
jmp 0x1ebbf
jmp 0x1f320
movsd 0x2b978(%rip), %xmm0    # 0x4aca0
addsd -0x68(%rbp), %xmm0
movsd %xmm0, -0x68(%rbp)
jmp 0x1eba4
jmp 0x1f339
movsd 0x2b95f(%rip), %xmm0    # 0x4aca0
addsd -0x60(%rbp), %xmm0
movsd %xmm0, -0x60(%rbp)
jmp 0x1eb89
xorl %edi, %edi
callq 0x4470
nopw (%rax,%rax)