// File: /workspace/github_cpp_makefile_star2_O3/qmmlib[P]QmmLibrary/linear.cpp
// Function: train
model* train(const problem *prob, const parameter *param)
{
	int i,j;
	int l = prob->l;
	int n = prob->n;
	int w_size = prob->n;
	model *model_ = Malloc(model,1);

	if(prob->bias>=0)
		model_->nr_feature=n-1;
	else
		model_->nr_feature=n;
	model_->param = *param;
	model_->bias = prob->bias;

	if(param->solver_type == L2R_L2LOSS_SVR ||
	   param->solver_type == L2R_L1LOSS_SVR_DUAL ||
	   param->solver_type == L2R_L2LOSS_SVR_DUAL)
	{
		model_->w = Malloc(double, w_size);
		model_->nr_class = 2;
		model_->label = NULL;
		train_one(prob, param, &model_->w[0], 0, 0, model_);
	}
	else
	{
		int nr_class;
		int *label = NULL;
		int *start = NULL;
		int *count = NULL;
		int *perm = Malloc(int,l);

		// group training data of the same class
		group_classes(prob,&nr_class,&label,&start,&count,perm);

		model_->nr_class=nr_class;
		model_->label = Malloc(int,nr_class);
		for(i=0;i<nr_class;i++)
			model_->label[i] = label[i];

		// calculate weighted C
		double *weighted_C = Malloc(double, nr_class);
		for(i=0;i<nr_class;i++)
			weighted_C[i] = param->C;
		for(i=0;i<param->nr_weight;i++)
		{
			for(j=0;j<nr_class;j++)
				if(param->weight_label[i] == label[j])
					break;
			if(j == nr_class)
				fprintf(stderr,"WARNING: class label %d specified in weight is not found\n", param->weight_label[i]);
			else
				weighted_C[j] *= param->weight[i];
		}

		// constructing the subproblem
		feature_node **x = Malloc(feature_node *,l);
		for(i=0;i<l;i++)
			x[i] = prob->x[perm[i]];

		int k;
		problem sub_prob;
		sub_prob.l = l;
		sub_prob.n = n;
		sub_prob.x = Malloc(feature_node *,sub_prob.l);
		sub_prob.y = Malloc(double,sub_prob.l);

		for(k=0; k<sub_prob.l; k++)
			sub_prob.x[k] = x[k];

		// multi-class svm by Crammer and Singer
		if(param->solver_type == MCSVM_CS)
		{
			model_->w=Malloc(double, n*nr_class);
			for(i=0;i<nr_class;i++)
				for(j=start[i];j<start[i]+count[i];j++)
					sub_prob.y[j] = i;
			Solver_MCSVM_CS Solver(&sub_prob, nr_class, weighted_C, param->eps);
			Solver.Solve(model_->w);
		}
		else if(param->solver_type == MMCD_SM)
		{
			model_->w=Malloc(double, n*nr_class);
			for(i=0;i<nr_class;i++)
				for(j=start[i];j<start[i]+count[i];j++)
					sub_prob.y[j] = i;

			problem prob_col;
			feature_node *x_space = NULL;
			transpose(&sub_prob, &x_space ,&prob_col);
		
			solve_mmcd_sm(&prob_col, param,model_->w, weighted_C[0],start,count,nr_class);
			
			//delete [] prob_col.y;
			//delete [] prob_col.x;
			//delete [] x_space;
		}
		else
		{
			if(nr_class == 2)
			{
				model_->w=Malloc(double, w_size);

				int e0 = start[0]+count[0];
				k=0;
				for(; k<e0; k++)
					sub_prob.y[k] = +1;
				for(; k<sub_prob.l; k++)
					sub_prob.y[k] = -1;

				train_one(&sub_prob, param, &model_->w[0], weighted_C[0], weighted_C[1],model_);
			}
			else
			{
				model_->w=Malloc(double, w_size*nr_class);
				double *w=Malloc(double, w_size);
				for(i=0;i<nr_class;i++)
				{
					int si = start[i];
					int ei = si+count[i];

					k=0;
					for(; k<si; k++)
						sub_prob.y[k] = -1;
					for(; k<ei; k++)
						sub_prob.y[k] = +1;
					for(; k<sub_prob.l; k++)
						sub_prob.y[k] = -1;

					train_one(&sub_prob, param, w, weighted_C[i], param->C,model_);

					for(int j=0;j<w_size;j++)
						model_->w[j*nr_class+i] = w[j];
				}
				free(w);
			}

		}

		free(x);
		free(label);
		free(start);
		free(count);
		free(perm);
		free(sub_prob.x);
		free(sub_prob.y);
		free(weighted_C);
	}
	return model_;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x298, %rsp            # imm = 0x298
movq %rsi, %rbx
movq %rdi, %rbp
movl (%rdi), %r12d
movl 0x4(%rdi), %r15d
movslq %r15d, %r13
movl $0xd0, %edi
callq 0x32f0
movq %rax, %r14
movsd 0x18(%rbp), %xmm1
movsd %xmm1, 0x10(%rsp)
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
movl %r13d, %eax
adcl $-0x1, %eax
movl %eax, 0xb4(%r14)
movl $0xb0, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x31b0
movsd 0x10(%rsp), %xmm0
movsd %xmm0, 0xc8(%r14)
movl (%rbx), %eax
addl $-0xb, %eax
cmpl $0x2, %eax
ja 0x7cba
shlq $0x3, %r13
movq %r13, %rdi
callq 0x32f0
movq %rax, 0xb8(%r14)
movl $0x2, 0xb0(%r14)
movq $0x0, 0xc0(%r14)
xorpd %xmm0, %xmm0
xorpd %xmm1, %xmm1
movq %rbp, %rdi
movq %rbx, %rsi
movq %rax, %rdx
movq %r14, %rcx
callq 0xa892
jmp 0xa55f
movq %rbp, 0x50(%rsp)
movq %r13, 0x88(%rsp)
movq %r15, 0x110(%rsp)
movq %r14, 0xa8(%rsp)
movq %r12, 0x10(%rsp)
movslq %r12d, %r14
leaq (,%r14,4), %r12
movq %r12, %rdi
callq 0x32f0
movq %rax, 0x190(%rsp)
movl $0x40, %edi
callq 0x32f0
movq %rax, %r13
movl $0x40, %edi
callq 0x32f0
movq %rax, 0x38(%rsp)
movq %r12, %rdi
callq 0x32f0
movq %rax, %r12
movq %r14, 0x90(%rsp)
testl %r14d, %r14d
movq %rbx, 0x60(%rsp)
jle 0x7e08
xorl %r15d, %r15d
movl $0x10, %r14d
movq $0x0, 0x8(%rsp)
movq %r13, %rdi
movq 0x10(%rsp), %rsi
movq 0x50(%rsp), %r8
movq 0x8(%r8), %rax
cvttsd2si (%rax,%r15,8), %ebp
movl $0x0, %eax
movq 0x8(%rsp), %rcx
testl %ecx, %ecx
jle 0x7d94
movl %ecx, %ecx
xorl %eax, %eax
cmpl %ebp, (%rdi,%rax,4)
je 0x7d87
incq %rax
cmpq %rax, %rcx
jne 0x7d6f
movl %ecx, (%r12,%r15,4)
movq 0x8(%rsp), %rcx
jmp 0x7d9c
movq 0x38(%rsp), %rcx
incl (%rcx,%rax,4)
movq 0x8(%rsp), %rcx
movl %eax, (%r12,%r15,4)
cmpl %ecx, %eax
jne 0x7dfa
cmpl %r14d, %ecx
jne 0x7dd7
addl %r14d, %r14d
movslq %r14d, %r13
shlq $0x2, %r13
movq %r13, %rsi
callq 0x33d0
movq %rax, %rbx
movq 0x38(%rsp), %rdi
movq %r13, %rsi
callq 0x33d0
movq 0x50(%rsp), %r8
movq 0x10(%rsp), %rsi
movq %rbx, %rdi
movq 0x60(%rsp), %rbx
jmp 0x7ddc
movq 0x38(%rsp), %rax
movq 0x8(%rsp), %rdx
movslq %edx, %rcx
movl %ebp, (%rdi,%rcx,4)
movq %rax, 0x38(%rsp)
movl $0x1, (%rax,%rcx,4)
incl %edx
movq %rdx, 0x8(%rsp)
incq %r15
cmpq %rsi, %r15
jne 0x7d53
jmp 0x7e14
movq $0x0, 0x8(%rsp)
movq %r13, %rdi
movq %rdi, 0xf0(%rsp)
movslq 0x8(%rsp), %r14
leaq (,%r14,4), %r13
movq %r13, %rdi
callq 0x32f0
movl $0x0, (%rax)
movq %r14, 0xc0(%rsp)
cmpl $0x2, %r14d
movq 0x38(%rsp), %rsi
jl 0x7e64
movl 0x8(%rsp), %edi
decq %rdi
xorl %ecx, %ecx
xorl %edx, %edx
addl (%rsi,%rcx,4), %edx
movl %edx, 0x4(%rax,%rcx,4)
incq %rcx
cmpq %rcx, %rdi
jne 0x7e55
movq 0x10(%rsp), %r8
testl %r8d, %r8d
movq 0x190(%rsp), %rsi
jle 0x7e90
xorl %edi, %edi
movslq (%r12,%rdi,4), %rcx
movslq (%rax,%rcx,4), %rdx
movl %edi, (%rsi,%rdx,4)
incl %edx
movl %edx, (%rax,%rcx,4)
incq %rdi
cmpq %rdi, %r8
jne 0x7e78
movl $0x0, (%rax)
cmpl $0x2, 0x8(%rsp)
movq 0x38(%rsp), %rsi
jl 0x7ebc
movl 0x8(%rsp), %edi
decq %rdi
xorl %ecx, %ecx
xorl %edx, %edx
addl (%rsi,%rcx,4), %edx
movl %edx, 0x4(%rax,%rcx,4)
incq %rcx
cmpq %rcx, %rdi
jne 0x7ead
movq %rax, 0xb0(%rsp)
movq %r12, %rdi
callq 0x3290
movq 0xa8(%rsp), %r14
movq 0x8(%rsp), %r15
movl %r15d, 0xb0(%r14)
movq %r13, %rdi
callq 0x32f0
movq %rax, 0xc0(%r14)
testl %r15d, %r15d
movq 0x110(%rsp), %rbp
jle 0x7fe2
movl %r15d, %r14d
xorl %ecx, %ecx
movq 0xf0(%rsp), %rsi
movl (%rsi,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
incq %rcx
cmpq %rcx, %r14
jne 0x7f0d
movq 0xc0(%rsp), %rdi
shlq $0x3, %rdi
movq %rdi, 0xc0(%rsp)
callq 0x32f0
testl %r15d, %r15d
jle 0x7ffb
movsd 0x88(%rbx), %xmm0
leal 0x1(%r14), %edi
decq %r14
movq %r14, %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
shrl %edi
shlq $0x4, %rdi
movdqa 0x1138c(%rip), %xmm2    # 0x192f0
xorl %ecx, %ecx
movdqa 0x11392(%rip), %xmm3    # 0x19300
pxor %xmm3, %xmm1
pcmpeqd %xmm4, %xmm4
movdqa 0x11392(%rip), %xmm5    # 0x19310
movq 0xf0(%rsp), %rsi
movdqa %xmm2, %xmm6
pxor %xmm3, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm1, %xmm7
pcmpeqd %xmm1, %xmm6
pshufd $0xf5, %xmm6, %xmm8     # xmm8 = xmm6[1,1,3,3]
pand %xmm7, %xmm8
pshufd $0xf5, %xmm7, %xmm6     # xmm6 = xmm7[1,1,3,3]
por %xmm8, %xmm6
movd %xmm6, %edx
notl %edx
testb $0x1, %dl
je 0x7fbf
movsd %xmm0, (%rax,%rcx)
pxor %xmm4, %xmm6
pextrw $0x4, %xmm6, %edx
testb $0x1, %dl
je 0x7fd3
movsd %xmm0, 0x8(%rax,%rcx)
paddq %xmm5, %xmm2
addq $0x10, %rcx
cmpq %rcx, %rdi
jne 0x7f86
jmp 0x8003
movq 0xc0(%rsp), %rdi
shlq $0x3, %rdi
movq %rdi, 0xc0(%rsp)
callq 0x32f0
movq 0xf0(%rsp), %rsi
movl 0x90(%rbx), %edi
testl %edi, %edi
movq %rax, 0xa0(%rsp)
jle 0x80b3
movl 0x8(%rsp), %r14d
movq 0x15fab(%rip), %r15     # 0x1dfd0
leaq 0x11586(%rip), %r12     # 0x195b2
xorl %r13d, %r13d
movl $0x0, %ecx
cmpl $0x0, 0x8(%rsp)
jle 0x8057
movq 0x98(%rbx), %rcx
movl (%rcx,%r13,4), %edx
xorl %ecx, %ecx
cmpl (%rsi,%rcx,4), %edx
je 0x8057
incq %rcx
cmpq %rcx, %r14
jne 0x8048
jmp 0x8083
cmpl 0x8(%rsp), %ecx
je 0x8083
movq 0xa0(%rbx), %rdx
movsd (%rdx,%r13,8), %xmm0
movl %ecx, %ecx
mulsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
incq %r13
movslq %edi, %rcx
cmpq %rcx, %r13
jl 0x802f
jmp 0x80b3
movq (%r15), %rdi
movq 0x98(%rbx), %rax
movl (%rax,%r13,4), %edx
movq %r12, %rsi
xorl %eax, %eax
callq 0x3330
movq 0xa0(%rsp), %rax
movq 0xf0(%rsp), %rsi
movl 0x90(%rbx), %edi
jmp 0x8076
movq 0x90(%rsp), %r14
shlq $0x3, %r14
movq %r14, %rdi
callq 0x32f0
movq 0x10(%rsp), %r8
testl %r8d, %r8d
movq 0x190(%rsp), %rsi
jle 0x80f8
movq 0x50(%rsp), %rcx
movq 0x10(%rcx), %rdi
xorl %ecx, %ecx
movslq (%rsi,%rcx,4), %rdx
movq (%rdi,%rdx,8), %rdx
movq %rdx, (%rax,%rcx,8)
incq %rcx
cmpq %rcx, %r8
jne 0x80e4
movl %r8d, 0x168(%rsp)
movl %ebp, 0x16c(%rsp)
movq %rax, 0x1b0(%rsp)
movq %r14, %rdi
callq 0x32f0
movq %rax, 0x178(%rsp)
movq %r14, %rdi
callq 0x32f0
movq 0x10(%rsp), %rdi
movq 0x1b0(%rsp), %rsi
movq %rax, 0x170(%rsp)
testl %edi, %edi
movq 0xa8(%rsp), %r14
movq 0x38(%rsp), %r15
movq 0xb0(%rsp), %r12
jle 0x816f
xorl %eax, %eax
movq (%rsi,%rax,8), %rcx
movq 0x178(%rsp), %rdx
movq %rcx, (%rdx,%rax,8)
incq %rax
cmpq %rax, %rdi
jne 0x8157
movl (%rbx), %eax
cmpl $0x33, %eax
je 0x82a7
cmpl $0x4, %eax
jne 0x894a
movq 0x8(%rsp), %r15
movl %r15d, %eax
imull %ebp, %eax
movslq %eax, %rdi
shlq $0x3, %rdi
callq 0x32f0
movq %rax, %r12
movq %rax, 0xb8(%r14)
testl %r15d, %r15d
jle 0x8d43
movq 0x170(%rsp), %rcx
movl %r15d, %eax
addq $0x8, %rcx
xorl %edx, %edx
movdqa 0x1112a(%rip), %xmm0    # 0x192f0
movdqa 0x11132(%rip), %xmm1    # 0x19300
pcmpeqd %xmm2, %xmm2
movq 0x10(%rsp), %r10
movq 0x38(%rsp), %rsi
movl (%rsi,%rdx,4), %esi
testl %esi, %esi
jle 0x8291
xorps %xmm3, %xmm3
cvtsi2sd %edx, %xmm3
movq 0xb0(%rsp), %rdi
movslq (%rdi,%rdx,4), %rdi
addl %edi, %esi
movslq %esi, %rsi
leaq 0x1(%rdi), %r8
cmpq %r8, %rsi
cmovgq %rsi, %r8
subq %rdi, %r8
leaq 0x1(%r8), %rsi
andq $-0x2, %rsi
decq %r8
movq %r8, %xmm4
pshufd $0x44, %xmm4, %xmm4     # xmm4 = xmm4[0,1,0,1]
leaq (%rcx,%rdi,8), %rdi
pxor %xmm1, %xmm4
xorl %r8d, %r8d
movq %r8, %xmm5
pshufd $0x44, %xmm5, %xmm5     # xmm5 = xmm5[0,1,0,1]
por %xmm0, %xmm5
pxor %xmm1, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm4, %xmm6
pcmpeqd %xmm4, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
movd %xmm5, %r9d
notl %r9d
testb $0x1, %r9b
je 0x8272
movsd %xmm3, -0x8(%rdi,%r8,8)
pxor %xmm2, %xmm5
pextrw $0x4, %xmm5, %r9d
testb $0x1, %r9b
je 0x8288
movsd %xmm3, (%rdi,%r8,8)
addq $0x2, %r8
cmpq %r8, %rsi
jne 0x822d
incq %rdx
cmpq %rax, %rdx
jne 0x81d7
movq 0x8(%rsp), %r15
jmp 0x8d4b
movq 0x8(%rsp), %r13
imull %r13d, %ebp
movslq %ebp, %rdi
shlq $0x3, %rdi
callq 0x32f0
movq %rax, 0xb8(%r14)
testl %r13d, %r13d
jle 0x83ac
movq 0x170(%rsp), %rax
movl 0x8(%rsp), %ecx
addq $0x8, %rax
xorl %edx, %edx
movdqa 0x1100a(%rip), %xmm0    # 0x192f0
movdqa 0x11012(%rip), %xmm1    # 0x19300
pcmpeqd %xmm2, %xmm2
movl (%r15,%rdx,4), %esi
testl %esi, %esi
jle 0x83a0
xorps %xmm3, %xmm3
cvtsi2sd %edx, %xmm3
movslq (%r12,%rdx,4), %rdi
addl %edi, %esi
movslq %esi, %rsi
leaq 0x1(%rdi), %r8
cmpq %r8, %rsi
cmovgq %rsi, %r8
subq %rdi, %r8
leaq 0x1(%r8), %rsi
andq $-0x2, %rsi
decq %r8
movq %r8, %xmm4
pshufd $0x44, %xmm4, %xmm4     # xmm4 = xmm4[0,1,0,1]
leaq (%rax,%rdi,8), %rdi
pxor %xmm1, %xmm4
xorl %r8d, %r8d
movq %r8, %xmm5
pshufd $0x44, %xmm5, %xmm5     # xmm5 = xmm5[0,1,0,1]
por %xmm0, %xmm5
pxor %xmm1, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm4, %xmm6
pcmpeqd %xmm4, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
movd %xmm5, %r9d
notl %r9d
testb $0x1, %r9b
je 0x8381
movsd %xmm3, -0x8(%rdi,%r8,8)
pxor %xmm2, %xmm5
pextrw $0x4, %xmm5, %r9d
testb $0x1, %r9b
je 0x8397
movsd %xmm3, (%rdi,%r8,8)
addq $0x2, %r8
cmpq %r8, %rsi
jne 0x833c
incq %rdx
cmpq %rcx, %rdx
jne 0x82f2
leaq 0x258(%rsp), %rsi
movq $0x0, (%rsi)
leaq 0x168(%rsp), %rdi
leaq 0x260(%rsp), %r14
movq %r14, %rdx
callq 0x13f46
movq 0xa8(%rsp), %rax
movq 0xb8(%rax), %rax
movq %rax, 0x68(%rsp)
movq 0xa0(%rsp), %rax
movsd (%rax), %xmm0
movsd %xmm0, 0x150(%rsp)
movslq (%r14), %rdx
movslq 0x4(%r14), %rcx
movl %ecx, %eax
movq %rax, 0xf8(%rsp)
movq %rcx, 0x188(%rsp)
movl %ecx, %r13d
imull 0x8(%rsp), %r13d
leaq (,%rdx,8), %r14
testq %rdx, %rdx
movq %rdx, 0x100(%rsp)
movl %edx, %r15d
movsd 0x80(%rbx), %xmm0
movsd %xmm0, 0x208(%rsp)
movq $-0x1, %rbx
cmovnsq %r14, %rbx
movq %rbx, %rdi
callq 0x3030
movq %rax, %rbp
movq %rbx, %rdi
callq 0x3030
movq %rax, 0x108(%rsp)
movq %rbx, %rdi
movq 0x60(%rsp), %rbx
callq 0x3030
movq %rax, 0x40(%rsp)
movq %r14, %rdi
callq 0x32f0
movq %rax, 0x70(%rsp)
movq %r14, %rdi
callq 0x32f0
movq %rax, 0x20(%rsp)
movq %r14, %rdi
callq 0x32f0
movq %rax, %r12
movl 0x4(%rbx), %eax
movl %eax, 0x138(%rsp)
movl 0x10(%rbx), %eax
movl %eax, 0xd8(%rsp)
movsd 0x8(%rbx), %xmm0
movaps %xmm0, 0x140(%rsp)
movq 0x20(%rbx), %xmm0
movq %xmm0, 0x1c8(%rsp)
leaq 0x260(%rsp), %rax
movq 0x8(%rax), %r14
callq 0x3130
movq 0x28(%rbx), %rdi
movl %r13d, 0x9c(%rsp)
movl %r13d, %eax
movq %rax, 0x198(%rsp)
testq %rdi, %rdi
movq %r12, 0x78(%rsp)
movq %rbp, 0xe0(%rsp)
movq %r15, 0x80(%rsp)
movq %r14, 0x200(%rsp)
je 0x8de8
callq 0x14c15
testq %rax, %rax
je 0xa850
movq 0x188(%rsp), %rcx
cmpl %ecx, 0xb4(%rax)
movq 0x20(%rsp), %rdi
movq 0x70(%rsp), %r9
movq 0x68(%rsp), %rdx
movq 0x100(%rsp), %rsi
movq 0x80(%rsp), %r13
movq 0x198(%rsp), %r8
jne 0xa85c
cmpl $0x0, 0x9c(%rsp)
jle 0x858d
movq 0xb8(%rax), %rax
xorl %ecx, %ecx
movq (%rax,%rcx,8), %xmm0
movq %xmm0, (%rdx,%rcx,8)
incq %rcx
cmpq %rcx, %r8
jne 0x857b
testl %esi, %esi
jle 0x8693
leaq (,%r13,8), %rdx
xorl %ebx, %ebx
xorl %esi, %esi
movq %r9, %rbp
callq 0x3110
movq 0x188(%rsp), %rax
leaq (,%rax,8), %r12
movq 0xf8(%rsp), %rax
leal 0x1(%rax), %r14d
decq %rax
movq %rax, %xmm0
pshufd $0x44, %xmm0, %xmm4     # xmm4 = xmm0[0,1,0,1]
shrl %r14d
shlq $0x4, %r14
movdqa 0x10d1f(%rip), %xmm0    # 0x19300
pxor %xmm0, %xmm4
movabsq $0x3ff0000000000000, %r15 # imm = 0x3FF0000000000000
movdqa %xmm4, 0x10(%rsp)
movq %r12, %rdi
callq 0x32f0
movdqa 0x10d0b(%rip), %xmm7    # 0x19310
pcmpeqd %xmm6, %xmm6
movdqa 0x10cef(%rip), %xmm5    # 0x19300
movdqa 0x10(%rsp), %xmm4
movq %rbp, %r9
cmpl $0x0, 0xf8(%rsp)
jle 0x8683
xorl %ecx, %ecx
movdqa 0x10cc2(%rip), %xmm0    # 0x192f0
movdqa %xmm0, %xmm1
pxor %xmm5, %xmm1
movdqa %xmm1, %xmm2
pcmpgtd %xmm4, %xmm2
pcmpeqd %xmm4, %xmm1
pshufd $0xf5, %xmm1, %xmm3     # xmm3 = xmm1[1,1,3,3]
pand %xmm2, %xmm3
pshufd $0xf5, %xmm2, %xmm1     # xmm1 = xmm2[1,1,3,3]
por %xmm3, %xmm1
movd %xmm1, %edx
notl %edx
testb $0x1, %dl
je 0x8663
movq %r15, (%rax,%rcx)
pxor %xmm6, %xmm1
pextrw $0x4, %xmm1, %edx
testb $0x1, %dl
je 0x8676
movq %r15, 0x8(%rax,%rcx)
paddq %xmm7, %xmm0
addq $0x10, %rcx
cmpq %rcx, %r14
jne 0x862e
movq %rax, (%r9,%rbx,8)
incq %rbx
cmpq %r13, %rbx
jne 0x85f5
cmpl $0x0, 0x8(%rsp)
movq 0x68(%rsp), %rsi
jle 0x8898
movl 0x8(%rsp), %eax
movq %rax, 0xb8(%rsp)
movq 0x270(%rsp), %rax
movq %rax, 0xe8(%rsp)
xorl %ebp, %ebp
cmpl $0x0, 0xf8(%rsp)
jle 0x8887
movq 0xb0(%rsp), %rax
movl (%rax,%rbp,4), %ecx
movq 0x38(%rsp), %rax
movl (%rax,%rbp,4), %eax
addl %ecx, %eax
movq %rbp, %rdx
imulq 0xb8(%rsp), %rdx
movq %rdx, 0x88(%rsp)
movl %eax, 0x90(%rsp)
movl %eax, %r12d
xorl %edi, %edi
movq %rcx, 0x10(%rsp)
movq %r12, 0x110(%rsp)
movq %rbp, 0x50(%rsp)
movq 0x88(%rsp), %rax
leaq (%rdi,%rax), %rbx
movq 0xe8(%rsp), %rax
movq %rdi, 0xc0(%rsp)
movq (%rax,%rdi,8), %r14
testl %ecx, %ecx
jle 0x878d
xorl %r15d, %r15d
movsd 0x8(%r14), %xmm0
mulsd (%rsi,%rbx,8), %xmm0
movq %r9, %r13
movq %rsi, %r12
callq 0x3400
movq %r12, %rsi
movq 0x10(%rsp), %rcx
movq %r13, %r9
movq (%r13,%r15,8), %rax
mulsd (%rax,%rbp,8), %xmm0
movsd %xmm0, (%rax,%rbp,8)
addq $0x10, %r14
incq %r15
cmpq %r15, %rcx
jne 0x873d
movl %ecx, %eax
movq 0x80(%rsp), %r13
movq 0x110(%rsp), %r12
jmp 0x878f
xorl %eax, %eax
cmpl 0x90(%rsp), %eax
jge 0x87ff
movl %eax, %r15d
movq 0x20(%rsp), %r13
movsd 0x8(%r14), %xmm0
movq 0x68(%rsp), %rax
mulsd (%rax,%rbx,8), %xmm0
movsd (%r13,%r15,8), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%r13,%r15,8)
callq 0x3400
movq 0x70(%rsp), %rax
movq (%rax,%r15,8), %rax
mulsd (%rax,%rbp,8), %xmm0
movsd %xmm0, (%rax,%rbp,8)
addq $0x10, %r14
incq %r15
cmpq %r15, %r12
jne 0x87a0
movl 0x90(%rsp), %eax
movq 0x70(%rsp), %r9
movq 0x68(%rsp), %rsi
movq 0x80(%rsp), %r13
cmpl %r13d, %eax
movq 0x100(%rsp), %rcx
jge 0x8859
movl %eax, %r15d
addq $0x8, %r14
movsd (%r14), %xmm0
mulsd (%rsi,%rbx,8), %xmm0
movq %r9, %r12
movq %rsi, %r13
movq %rbx, %rbp
movq %rcx, %rbx
callq 0x3400
movq %rbx, %rcx
movq %rbp, %rbx
movq 0x50(%rsp), %rbp
movq %r13, %rsi
movq %r12, %r9
movq (%r12,%r15,8), %rax
mulsd (%rax,%rbp,8), %xmm0
movsd %xmm0, (%rax,%rbp,8)
incq %r15
addq $0x10, %r14
cmpq %r15, %rcx
jne 0x8813
movq 0xc0(%rsp), %rdi
incq %rdi
cmpq 0xf8(%rsp), %rdi
movq 0x80(%rsp), %r13
movq 0x10(%rsp), %rcx
movq 0x110(%rsp), %r12
jne 0x8716
incq %rbp
cmpq 0xb8(%rsp), %rbp
jne 0x86c1
testl %r13d, %r13d
movq 0x8(%rsp), %r12
movq 0xe0(%rsp), %rbp
jle 0x8f62
movl %r12d, %ebx
xorl %r14d, %r14d
testl %r12d, %r12d
jle 0x88e7
movq 0x70(%rsp), %rax
movq (%rax,%r14,8), %rax
pxor %xmm0, %xmm0
xorl %ecx, %ecx
movq 0x20(%rsp), %rdx
movq 0x78(%rsp), %rsi
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rsi,%r14,8)
incq %rcx
cmpq %rcx, %rbx
jne 0x88d2
jmp 0x88f5
pxor %xmm0, %xmm0
movq 0x20(%rsp), %rdx
movq 0x78(%rsp), %rsi
movsd %xmm0, 0x50(%rsp)
movsd (%rdx,%r14,8), %xmm0
movsd %xmm0, 0x10(%rsp)
movq %rsi, %r15
callq 0x3400
movsd 0x50(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%r15,%r14,8)
movapd %xmm1, %xmm0
callq 0x31a0
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%rbp,%r14,8)
incq %r14
cmpq %r13, %r14
jne 0x88b4
jmp 0x8f62
movq 0x8(%rsp), %r13
cmpl $0x2, %r13d
jne 0x8a36
movq 0x88(%rsp), %rdi
shlq $0x3, %rdi
callq 0x32f0
movq %rax, 0xb8(%r14)
movslq (%r15), %rcx
testq %rcx, %rcx
jle 0xa41a
movq 0x170(%rsp), %rdx
leal 0x1(%rcx), %esi
movq %rcx, %rdi
decq %rdi
movq %rdi, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
shrl %esi
shlq $0x4, %rsi
movdqa 0x1094a(%rip), %xmm1    # 0x192f0
xorl %edi, %edi
movdqa 0x10950(%rip), %xmm2    # 0x19300
pxor %xmm2, %xmm0
movabsq $0x3ff0000000000000, %r8 # imm = 0x3FF0000000000000
pcmpeqd %xmm3, %xmm3
movdqa 0x10946(%rip), %xmm4    # 0x19310
movq 0xa0(%rsp), %r10
movq 0x10(%rsp), %r11
movdqa %xmm1, %xmm5
pxor %xmm2, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm0, %xmm6
pcmpeqd %xmm0, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
movd %xmm5, %r9d
notl %r9d
testb $0x1, %r9b
je 0x8a0f
movq %r8, (%rdx,%rdi)
pxor %xmm3, %xmm5
pextrw $0x4, %xmm5, %r9d
testb $0x1, %r9b
je 0x8a24
movq %r8, 0x8(%rdx,%rdi)
paddq %xmm4, %xmm1
addq $0x10, %rdi
cmpq %rdi, %rsi
jne 0x89d7
jmp 0xa429
movl %r13d, %eax
imull %ebp, %eax
movslq %eax, %rdi
shlq $0x3, %rdi
callq 0x32f0
movq %rax, 0xb8(%r14)
movq 0x88(%rsp), %rdi
shlq $0x3, %rdi
callq 0x32f0
movq %rax, %rbx
testl %r13d, %r13d
movq 0xa0(%rsp), %r9
jle 0x8d36
movl %r13d, %eax
movq %rax, 0x50(%rsp)
leaq (,%rax,8), %r12
xorl %edx, %edx
movdqa 0x10862(%rip), %xmm5    # 0x192f0
movdqa 0x1086a(%rip), %xmm6    # 0x19300
movabsq $-0x4010000000000000, %r14 # imm = 0xBFF0000000000000
pcmpeqd %xmm7, %xmm7
movdqa 0x10863(%rip), %xmm8    # 0x19310
movabsq $0x3ff0000000000000, %r15 # imm = 0x3FF0000000000000
xorl %r13d, %r13d
movq %rdx, 0x10(%rsp)
movq 0xb0(%rsp), %rax
movslq (%rax,%r13,4), %rcx
movq 0x38(%rsp), %rax
movl (%rax,%r13,4), %eax
addl %ecx, %eax
movl $0x0, %edx
testq %rcx, %rcx
jle 0x8b6c
movq 0x170(%rsp), %rdx
leal 0x1(%rcx), %esi
movq %rcx, %rdi
decq %rdi
movq %rdi, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
shrl %esi
shlq $0x4, %rsi
pxor %xmm6, %xmm0
xorl %edi, %edi
movdqa %xmm5, %xmm1
movdqa %xmm1, %xmm2
pxor %xmm6, %xmm2
movdqa %xmm2, %xmm3
pcmpgtd %xmm0, %xmm3
pcmpeqd %xmm0, %xmm2
pshufd $0xf5, %xmm2, %xmm4     # xmm4 = xmm2[1,1,3,3]
pand %xmm3, %xmm4
pshufd $0xf5, %xmm3, %xmm2     # xmm2 = xmm3[1,1,3,3]
por %xmm4, %xmm2
movd %xmm2, %r8d
notl %r8d
testb $0x1, %r8b
je 0x8b47
movq %r14, (%rdx,%rdi)
pxor %xmm7, %xmm2
pextrw $0x4, %xmm2, %r8d
testb $0x1, %r8b
je 0x8b5c
movq %r14, 0x8(%rdx,%rdi)
paddq %xmm8, %xmm1
addq $0x10, %rdi
cmpq %rdi, %rsi
jne 0x8b0f
movl %ecx, %edx
cmpl %eax, %edx
jge 0x8c05
movq 0x170(%rsp), %rsi
movl %edx, %edx
movl %eax, %edi
subq %rdx, %rdi
leaq 0x1(%rdi), %rcx
andq $-0x2, %rcx
decq %rdi
movq %rdi, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
leaq (%rsi,%rdx,8), %rdx
addq $0x8, %rdx
pxor %xmm6, %xmm0
xorl %esi, %esi
movq %rsi, %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
por %xmm5, %xmm1
pxor %xmm6, %xmm1
movdqa %xmm1, %xmm2
pcmpgtd %xmm0, %xmm2
pcmpeqd %xmm0, %xmm1
pshufd $0xf5, %xmm1, %xmm3     # xmm3 = xmm1[1,1,3,3]
pand %xmm2, %xmm3
pshufd $0xf5, %xmm2, %xmm1     # xmm1 = xmm2[1,1,3,3]
por %xmm3, %xmm1
movd %xmm1, %edi
notl %edi
testb $0x1, %dil
je 0x8be7
movq %r15, -0x8(%rdx,%rsi,8)
pxor %xmm7, %xmm1
pextrw $0x4, %xmm1, %edi
testb $0x1, %dil
je 0x8bfa
movq %r15, (%rdx,%rsi,8)
addq $0x2, %rsi
cmpq %rsi, %rcx
jne 0x8ba6
movl %eax, %edx
movl 0x168(%rsp), %ecx
cmpl %ecx, %edx
jge 0x8ca3
movq 0x170(%rsp), %rsi
movl %edx, %edi
notl %edx
addl %edx, %ecx
leaq 0x2(%rcx), %rax
andq $-0x2, %rax
movq %rcx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
leaq (%rsi,%rdi,8), %rcx
addq $0x8, %rcx
xorl %edx, %edx
movq %rdx, %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
por %xmm5, %xmm1
movdqa %xmm0, %xmm2
pxor %xmm6, %xmm2
pxor %xmm6, %xmm1
movdqa %xmm1, %xmm3
pcmpgtd %xmm2, %xmm3
pcmpeqd %xmm2, %xmm1
pshufd $0xf5, %xmm1, %xmm2     # xmm2 = xmm1[1,1,3,3]
pand %xmm3, %xmm2
pshufd $0xf5, %xmm3, %xmm1     # xmm1 = xmm3[1,1,3,3]
por %xmm2, %xmm1
movd %xmm1, %esi
notl %esi
testb $0x1, %sil
je 0x8c87
movq %r14, -0x8(%rcx,%rdx,8)
pxor %xmm7, %xmm1
pextrw $0x4, %xmm1, %esi
testb $0x1, %sil
je 0x8c9a
movq %r14, (%rcx,%rdx,8)
addq $0x2, %rdx
cmpq %rdx, %rax
jne 0x8c3e
movsd (%r9,%r13,8), %xmm0
movq 0x60(%rsp), %rsi
movsd 0x88(%rsi), %xmm1
leaq 0x168(%rsp), %rdi
movq %rbx, %rdx
movq 0xa8(%rsp), %rcx
callq 0xa892
testl %ebp, %ebp
movq 0x10(%rsp), %rdx
jle 0x8cff
movq 0xa8(%rsp), %rax
movq 0xb8(%rax), %rax
addq %rdx, %rax
xorl %ecx, %ecx
movsd (%rbx,%rcx,8), %xmm0
movsd %xmm0, (%rax)
incq %rcx
addq %r12, %rax
cmpq %rcx, %rbp
jne 0x8ceb
incq %r13
addq $0x8, %rdx
cmpq 0x50(%rsp), %r13
movq 0xa0(%rsp), %r9
movdqa 0x105d5(%rip), %xmm5    # 0x192f0
movdqa 0x105dd(%rip), %xmm6    # 0x19300
pcmpeqd %xmm7, %xmm7
movdqa 0x105e0(%rip), %xmm8    # 0x19310
jne 0x8aba
movq %rbx, %rdi
callq 0x3290
jmp 0x8dce
movl %r15d, %eax
movq 0x10(%rsp), %r10
movsd 0x80(%rbx), %xmm0
leaq 0x260(%rsp), %r14
movl %ebp, 0x18(%r14)
movl %r10d, 0x1c(%r14)
movl %r15d, 0x20(%r14)
movsd %xmm0, 0x28(%r14)
movl $0x186a0, 0x24(%r14)    # imm = 0x186A0
leaq 0x168(%rsp), %rcx
movq %rcx, 0x30(%r14)
shlq $0x3, %rax
testl %r15d, %r15d
movq $-0x1, %r15
cmovnsq %rax, %r15
movq %r15, %rdi
callq 0x3030
movq %rax, (%r14)
movq %r15, %rdi
callq 0x3030
movq %rax, 0x10(%r14)
movq 0xa0(%rsp), %rax
movq %rax, 0x8(%r14)
movq %r14, %rdi
movq %r12, %rsi
callq 0x6622
leaq 0x260(%rsp), %rdi
callq 0x6440
movq 0xa8(%rsp), %r14
movq 0x38(%rsp), %r15
movq 0xb0(%rsp), %r12
jmp 0xa501
movq 0x8(%rsp), %rbx
leal -0x1(%rbx), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0x50(%rsp)
callq 0x31a0
movq 0x78(%rsp), %rdx
movapd %xmm0, 0x10(%rsp)
testl %r15d, %r15d
movq %rbx, %r12
movq 0x20(%rsp), %rcx
movq %r15, %r13
jle 0x8f3c
movaps 0x10(%rsp), %xmm0
xorps 0x10303(%rip), %xmm0    # 0x19130
movaps %xmm0, 0x10(%rsp)
movl %r12d, %eax
leal 0x1(%r12), %ebx
decq %rax
movq %rax, %xmm0
pshufd $0x44, %xmm0, %xmm4     # xmm4 = xmm0[0,1,0,1]
shrl %ebx
shlq $0x4, %rbx
xorl %r14d, %r14d
movdqa 0x104a8(%rip), %xmm0    # 0x19300
pxor %xmm0, %xmm4
movabsq $0x3ff0000000000000, %r15 # imm = 0x3FF0000000000000
movdqa %xmm4, 0x110(%rsp)
movaps 0x10(%rsp), %xmm0
movsd %xmm0, (%rbp,%r14,8)
movq $0x0, (%rcx,%r14,8)
movq 0x50(%rsp), %xmm0
movq %xmm0, (%rdx,%r14,8)
movq 0xc0(%rsp), %rdi
callq 0x32f0
movdqa 0x1046c(%rip), %xmm7    # 0x19310
pcmpeqd %xmm6, %xmm6
movdqa 0x10450(%rip), %xmm5    # 0x19300
movdqa 0x110(%rsp), %xmm4
testl %r12d, %r12d
jle 0x8f1d
xorl %ecx, %ecx
movdqa 0x10428(%rip), %xmm0    # 0x192f0
movdqa %xmm0, %xmm1
pxor %xmm5, %xmm1
movdqa %xmm1, %xmm2
pcmpgtd %xmm4, %xmm2
pcmpeqd %xmm4, %xmm1
pshufd $0xf5, %xmm1, %xmm3     # xmm3 = xmm1[1,1,3,3]
pand %xmm2, %xmm3
pshufd $0xf5, %xmm2, %xmm1     # xmm1 = xmm2[1,1,3,3]
por %xmm3, %xmm1
movd %xmm1, %edx
notl %edx
testb $0x1, %dl
je 0x8efd
movq %r15, (%rax,%rcx)
pxor %xmm6, %xmm1
pextrw $0x4, %xmm1, %edx
testb $0x1, %dl
je 0x8f10
movq %r15, 0x8(%rax,%rcx)
paddq %xmm7, %xmm0
addq $0x10, %rcx
cmpq %rcx, %rbx
jne 0x8ec8
movq 0x70(%rsp), %rcx
movq %rax, (%rcx,%r14,8)
incq %r14
cmpq %r13, %r14
movq 0x20(%rsp), %rcx
movq 0x78(%rsp), %rdx
jne 0x8e6f
cmpl $0x0, 0x9c(%rsp)
jle 0x8f62
movq 0x198(%rsp), %rax
leaq (,%rax,8), %rdx
movq 0x68(%rsp), %rdi
xorl %esi, %esi
callq 0x3110
movq 0x60(%rsp), %rax
cmpl $0x3, 0x40(%rax)
jl 0x8fc4
leaq 0x160(%rsp), %rbx
leaq 0x13c(%rsp), %r9
movl %r13d, %edi
movq 0xf8(%rsp), %rsi
movq 0x60(%rsp), %rdx
movq 0x68(%rsp), %rcx
movq %rbp, %r8
movsd 0x150(%rsp), %xmm0
pushq %rbx
pushq %r12
callq 0x16166
addq $0x10, %rsp
movsd (%rbx), %xmm1
movapd %xmm0, %xmm2
addsd %xmm1, %xmm2
leaq 0x1099c(%rip), %rdi     # 0x19959
movb $0x3, %al
callq 0x3050
movl 0x138(%rsp), %r10d
movl %r10d, %eax
movq %rax, 0x1b8(%rsp)
movl 0xd8(%rsp), %r9d
testl %r9d, %r9d
sete %al
movq 0x40(%rsp), %r8
je 0x916f
cmpl $0x5, %r10d
jne 0x90aa
movb $0x1, 0x7(%rsp)
testl %r13d, %r13d
jle 0x90a3
leal 0x1(%r13), %eax
leaq -0x1(%r13), %rcx
movq %rcx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
shrl %eax
shlq $0x4, %rax
movdqa 0x102c8(%rip), %xmm1    # 0x192f0
xorl %ecx, %ecx
movdqa 0x102ce(%rip), %xmm2    # 0x19300
pxor %xmm2, %xmm0
movabsq $0x4000000000000000, %rdx # imm = 0x4000000000000000
pcmpeqd %xmm3, %xmm3
movdqa 0x102c4(%rip), %xmm4    # 0x19310
movdqa %xmm1, %xmm5
pxor %xmm2, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm0, %xmm6
pcmpeqd %xmm0, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
movd %xmm5, %esi
notl %esi
testb $0x1, %sil
je 0x9082
movq %rdx, (%r8,%rcx)
pxor %xmm3, %xmm5
pextrw $0x4, %xmm5, %esi
testb $0x1, %sil
je 0x9096
movq %rdx, 0x8(%r8,%rcx)
paddq %xmm4, %xmm1
addq $0x10, %rcx
cmpq %rcx, %rax
jne 0x904c
xorl %ecx, %ecx
jmp 0x9254
movl %r10d, %edx
xorl $0x1, %edx
movl %r9d, %esi
xorl $0x1, %esi
movb $0x1, %cl
orl %edx, %esi
movb %al, 0x7(%rsp)
jne 0x9254
movb $0x1, %cl
testl %r13d, %r13d
jle 0x924f
leal 0x1(%r13), %eax
leaq -0x1(%r13), %rdx
movq %rdx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
shrl %eax
shlq $0x4, %rax
movdqa 0x10201(%rip), %xmm1    # 0x192f0
xorl %edx, %edx
movdqa 0x10207(%rip), %xmm2    # 0x19300
pxor %xmm2, %xmm0
movabsq $0x4000000000000000, %rsi # imm = 0x4000000000000000
pcmpeqd %xmm3, %xmm3
movdqa 0x101fd(%rip), %xmm4    # 0x19310
movdqa %xmm1, %xmm5
pxor %xmm2, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm0, %xmm6
pcmpeqd %xmm0, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
movd %xmm5, %edi
notl %edi
testb $0x1, %dil
je 0x9149
movq %rsi, (%r8,%rdx)
pxor %xmm3, %xmm5
pextrw $0x4, %xmm5, %edi
testb $0x1, %dil
je 0x915d
movq %rsi, 0x8(%r8,%rdx)
paddq %xmm4, %xmm1
addq $0x10, %rdx
cmpq %rdx, %rax
jne 0x9113
jmp 0x924f
movb $0x1, %cl
cmpl $0x5, %r10d
ja 0x924f
leaq 0x101ce(%rip), %rdx     # 0x19350
movq 0x1b8(%rsp), %rsi
movslq (%rdx,%rsi,4), %rsi
addq %rdx, %rsi
jmpq *%rsi
movb $0x1, 0x7(%rsp)
testl %r13d, %r13d
jle 0x9254
movsd 0x100ef(%rip), %xmm0    # 0x19298
divsd 0x140(%rsp), %xmm0
leal 0x1(%r13), %ecx
leaq -0x1(%r13), %rdx
movq %rdx, %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
shrl %ecx
shlq $0x4, %rcx
movdqa 0x1011e(%rip), %xmm2    # 0x192f0
xorl %edx, %edx
movdqa 0x10124(%rip), %xmm3    # 0x19300
pxor %xmm3, %xmm1
pcmpeqd %xmm4, %xmm4
movdqa 0x10124(%rip), %xmm5    # 0x19310
movdqa %xmm2, %xmm6
pxor %xmm3, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm1, %xmm7
pcmpeqd %xmm1, %xmm6
pshufd $0xf5, %xmm6, %xmm8     # xmm8 = xmm6[1,1,3,3]
pand %xmm7, %xmm8
pshufd $0xf5, %xmm7, %xmm6     # xmm6 = xmm7[1,1,3,3]
por %xmm8, %xmm6
movd %xmm6, %esi
notl %esi
testb $0x1, %sil
je 0x9227
movsd %xmm0, (%r8,%rdx)
pxor %xmm4, %xmm6
pextrw $0x4, %xmm6, %esi
testb $0x1, %sil
je 0x923d
movsd %xmm0, 0x8(%r8,%rdx)
paddq %xmm5, %xmm2
addq $0x10, %rdx
cmpq %rdx, %rcx
jne 0x91ec
jmp 0x8ff0
movb $0x1, 0x7(%rsp)
cmpl $0x1, %r10d
sete %dl
movsd 0x10035(%rip), %xmm2    # 0x19298
movapd %xmm2, %xmm0
movapd 0x140(%rsp), %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, 0x1c0(%rsp)
movapd %xmm2, %xmm0
divsd %xmm1, %xmm0
movapd %xmm0, 0x230(%rsp)
movapd %xmm1, %xmm0
addsd %xmm2, %xmm0
movapd %xmm0, 0x240(%rsp)
movapd %xmm1, %xmm0
addsd %xmm1, %xmm0
movapd %xmm2, %xmm3
divsd %xmm0, %xmm3
movapd %xmm3, 0x1f0(%rsp)
testl %r13d, %r13d
setle %sil
cmpl $0x2, %r9d
sete %al
andb %al, %dl
movb %dl, 0x37(%rsp)
testl %r10d, %r10d
sete %dl
cmpl $0x1, %r9d
sete %dil
movl %edx, %r8d
andb %dil, %r8b
movb %r8b, 0x36(%rsp)
andb %al, %dl
movb %dl, 0x35(%rsp)
cmpl $0x3, %r10d
sete %dl
movl %edx, %r8d
andb %dil, %r8b
movb %r8b, 0x33(%rsp)
andb %al, %dl
movb %dl, 0x32(%rsp)
cmpl $0x4, %r10d
sete %dl
movl %edx, %r8d
andb %dil, %r8b
movb %r8b, 0x31(%rsp)
andb %al, %dl
movb %dl, 0x30(%rsp)
cmpl $0x2, %r10d
sete %dl
andb %dl, %dil
movb %dil, 0x2f(%rsp)
andb %al, %dl
movb %dl, 0x2e(%rsp)
movsd 0xfdc8(%rip), %xmm0     # 0x19100
mulsd %xmm1, %xmm0
movapd %xmm2, %xmm1
movsd %xmm0, 0x1a8(%rsp)
subsd %xmm0, %xmm1
movsd %xmm1, 0x1a0(%rsp)
subsd 0x1c8(%rsp), %xmm2
movsd %xmm2, 0x210(%rsp)
orb %cl, %sil
movb %sil, 0x34(%rsp)
movq 0x270(%rsp), %rax
movq %rax, 0x1d8(%rsp)
movq 0x20(%rsp), %rsi
movq 0x78(%rsp), %r8
movl 0x138(%rsp), %eax
cmpl $0x1, %eax
movq %r8, %r14
jne 0x9449
testl %r13d, %r13d
movsd 0xfef0(%rip), %xmm4     # 0x19298
movsd 0xff18(%rip), %xmm2     # 0x192c8
movq 0x108(%rsp), %rcx
jle 0x93e4
xorl %eax, %eax
movsd (%rbp,%rax,8), %xmm0
movapd %xmm4, %xmm1
subsd %xmm0, %xmm1
mulsd %xmm2, %xmm1
cmpltsd %xmm4, %xmm0
andpd %xmm1, %xmm0
movlpd %xmm0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r13
jne 0x93bc
cmpb $0x0, 0x7(%rsp)
jne 0x99bc
cmpb $0x0, 0x37(%rsp)
je 0x94b7
testl %r13d, %r13d
movq 0x40(%rsp), %rcx
jle 0x99bc
movq 0x60(%rsp), %rax
movsd 0x18(%rax), %xmm0
xorl %eax, %eax
movsd (%rbp,%rax,8), %xmm1
cmpltsd %xmm4, %xmm1
movapd %xmm1, %xmm2
movsd 0xfea5(%rip), %xmm3     # 0x192d0
andpd %xmm3, %xmm2
andnpd %xmm0, %xmm1
orpd %xmm2, %xmm1
movlpd %xmm1, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r13
jne 0x9414
jmp 0x99bc
cmpl $0x4, %eax
movsd 0xfe44(%rip), %xmm4     # 0x19298
movsd 0xfe6c(%rip), %xmm1     # 0x192c8
movq 0x108(%rsp), %r15
ja 0x96ab
movq 0x1b8(%rsp), %rax
leaq 0xfeef(%rip), %rcx      # 0x19368
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
testl %r13d, %r13d
jle 0x93e4
xorl %eax, %eax
movsd (%rbp,%rax,8), %xmm0
cmpltsd %xmm4, %xmm0
movsd 0xfe00(%rip), %xmm1     # 0x192a0
andpd %xmm1, %xmm0
movlpd %xmm0, (%r15,%rax,8)
incq %rax
cmpq %rax, %r13
jne 0x948d
jmp 0x93e4
cmpb $0x0, 0x36(%rsp)
je 0x9530
testl %r13d, %r13d
movq 0x40(%rsp), %rcx
jle 0x99bc
xorl %eax, %eax
movsd (%rbp,%rax,8), %xmm0
movapd %xmm4, %xmm1
subsd %xmm0, %xmm1
addsd 0xfdbc(%rip), %xmm0     # 0x192a0
movapd 0xfc34(%rip), %xmm2     # 0x19120
andpd %xmm2, %xmm0
andpd %xmm2, %xmm1
movapd 0x140(%rsp), %xmm3
cmpltsd %xmm3, %xmm0
movapd %xmm0, %xmm2
andnpd %xmm1, %xmm2
andpd %xmm3, %xmm0
orpd %xmm2, %xmm0
addsd %xmm0, %xmm0
movapd %xmm4, %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r13
jne 0x94ce
jmp 0x99bc
cmpb $0x0, 0x35(%rsp)
je 0x96d9
testl %r13d, %r13d
movq 0x40(%rsp), %rcx
jle 0x99bc
movq 0x60(%rsp), %rax
movsd 0x18(%rax), %xmm0
xorl %eax, %eax
movsd (%rbp,%rax,8), %xmm1
addsd 0xfd3d(%rip), %xmm1     # 0x192a0
andpd 0xfbb5(%rip), %xmm1     # 0x19120
cmpltsd 0x140(%rsp), %xmm1
movapd %xmm1, %xmm2
andpd 0x1f0(%rsp), %xmm2
andnpd %xmm0, %xmm1
orpd %xmm2, %xmm1
movlpd %xmm1, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r13
jne 0x9555
jmp 0x99bc
testl %r13d, %r13d
jle 0x93e4
xorl %eax, %eax
movsd (%rbp,%rax,8), %xmm0
movsd 0x1c0(%rsp), %xmm1
ucomisd %xmm0, %xmm1
movsd 0xfcde(%rip), %xmm1     # 0x192a0
ja 0x95f5
xorpd %xmm1, %xmm1
movapd 0x240(%rsp), %xmm2
ucomisd %xmm0, %xmm2
jbe 0x95f5
addsd 0xfcc1(%rip), %xmm0     # 0x192a0
subsd 0x140(%rsp), %xmm0
mulsd 0x1f0(%rsp), %xmm0
movapd %xmm0, %xmm1
movsd %xmm1, (%r15,%rax,8)
incq %rax
cmpq %rax, %r13
jne 0x95a7
jmp 0x93e4
testl %r13d, %r13d
jle 0x93e4
xorl %ebx, %ebx
movsd (%rbp,%rbx,8), %xmm0
callq 0x3400
movsd 0xfc72(%rip), %xmm4     # 0x19298
movq %r14, %r8
movq 0x20(%rsp), %rsi
addsd %xmm4, %xmm0
movsd 0xfc66(%rip), %xmm1     # 0x192a0
divsd %xmm0, %xmm1
movsd %xmm1, (%r15,%rbx,8)
incq %rbx
cmpq %rbx, %r13
jne 0x9613
jmp 0x93e4
testl %r13d, %r13d
jle 0x93e4
xorl %eax, %eax
movsd (%rbp,%rax,8), %xmm0
movsd 0x1c0(%rsp), %xmm1
ucomisd %xmm0, %xmm1
movsd 0xfc29(%rip), %xmm1     # 0x192a0
ja 0x9698
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm4
jbe 0x9698
addsd 0xfc15(%rip), %xmm0     # 0x192a0
mulsd 0x230(%rsp), %xmm0
movapd %xmm0, %xmm1
movsd %xmm1, (%r15,%rax,8)
incq %rax
cmpq %rax, %r13
jne 0x965c
jmp 0x93e4
cmpb $0x0, 0x34(%rsp)
jne 0x93e4
xorl %eax, %eax
movapd %xmm4, %xmm0
subsd (%rbp,%rax,8), %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, (%r15,%rax,8)
incq %rax
cmpq %rax, %r13
jne 0x96b8
jmp 0x93e4
cmpb $0x0, 0x33(%rsp)
je 0x9752
testl %r13d, %r13d
movq 0x40(%rsp), %rcx
jle 0x99bc
xorl %eax, %eax
movsd (%rbp,%rax,8), %xmm0
movapd %xmm4, %xmm1
subsd %xmm0, %xmm1
addsd 0xfb9a(%rip), %xmm0     # 0x192a0
movapd 0xfa12(%rip), %xmm2     # 0x19120
andpd %xmm2, %xmm0
andpd %xmm2, %xmm1
movapd 0x140(%rsp), %xmm3
cmpltsd %xmm3, %xmm0
movapd %xmm0, %xmm2
andnpd %xmm1, %xmm2
andpd %xmm3, %xmm0
orpd %xmm2, %xmm0
addsd %xmm0, %xmm0
movapd %xmm4, %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r13
jne 0x96f0
jmp 0x99bc
cmpb $0x0, 0x32(%rsp)
je 0x97ba
testl %r13d, %r13d
movq 0x40(%rsp), %rcx
jle 0x99bc
movq 0x60(%rsp), %rax
movsd 0x18(%rax), %xmm0
xorl %eax, %eax
movsd (%rbp,%rax,8), %xmm1
addsd 0xfb1f(%rip), %xmm1     # 0x192a0
andpd 0xf997(%rip), %xmm1     # 0x19120
cmpltsd 0x140(%rsp), %xmm1
movapd %xmm1, %xmm2
andpd 0x1f0(%rsp), %xmm2
andnpd %xmm0, %xmm1
orpd %xmm2, %xmm1
movlpd %xmm1, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r13
jne 0x9773
jmp 0x99bc
cmpb $0x0, 0x31(%rsp)
je 0x9829
testl %r13d, %r13d
movq 0x40(%rsp), %rcx
jle 0x99bc
xorl %eax, %eax
movsd 0x1a0(%rsp), %xmm0
subsd (%rbp,%rax,8), %xmm0
andpd 0xf938(%rip), %xmm0     # 0x19120
movapd %xmm0, %xmm1
addsd %xmm0, %xmm1
cmpltsd 0x1a8(%rsp), %xmm0
movapd %xmm0, %xmm2
andnpd %xmm1, %xmm2
andpd 0x140(%rsp), %xmm0
orpd %xmm2, %xmm0
movapd %xmm4, %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r13
jne 0x97d1
jmp 0x99bc
cmpb $0x0, 0x30(%rsp)
je 0x9897
cmpl $0x0, 0x100(%rsp)
movq 0x40(%rsp), %rcx
jle 0x99bc
movq 0x60(%rsp), %rax
movsd 0x18(%rax), %xmm0
xorl %eax, %eax
movsd 0x1a0(%rsp), %xmm1
subsd (%rbp,%rax,8), %xmm1
andpd 0xf8ba(%rip), %xmm1     # 0x19120
cmpltsd 0x1a8(%rsp), %xmm1
movapd %xmm1, %xmm2
andpd 0x230(%rsp), %xmm2
andnpd %xmm0, %xmm1
orpd %xmm2, %xmm1
movlpd %xmm1, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r13
jne 0x984f
jmp 0x99bc
cmpb $0x0, 0x2f(%rsp)
je 0x994c
testl %r13d, %r13d
jle 0x99bc
xorl %ebx, %ebx
movsd (%rbp,%rbx,8), %xmm0
movaps %xmm0, 0x10(%rsp)
callq 0x3400
movsd %xmm0, 0x50(%rsp)
movapd 0x10(%rsp), %xmm0
xorpd 0xf85f(%rip), %xmm0     # 0x19130
callq 0x3400
movsd 0x50(%rsp), %xmm4
movapd %xmm4, %xmm1
subsd %xmm0, %xmm1
movapd %xmm1, %xmm2
andpd 0xf830(%rip), %xmm2     # 0x19120
movsd 0xf9c8(%rip), %xmm3     # 0x192c0
ucomisd %xmm2, %xmm3
movsd 0xf7e4(%rip), %xmm2     # 0x190e8
ja 0x992c
divsd 0x10(%rsp), %xmm1
andpd 0xf80c(%rip), %xmm1     # 0x19120
addsd 0xf9b4(%rip), %xmm4     # 0x192d0
addsd %xmm0, %xmm4
addsd %xmm4, %xmm4
divsd %xmm4, %xmm1
movapd %xmm1, %xmm2
movq 0x40(%rsp), %rax
movsd %xmm2, (%rax,%rbx,8)
incq %rbx
cmpq %rbx, %r13
movq 0x20(%rsp), %rsi
movq %r14, %r8
jne 0x98ad
jmp 0x99bc
cmpb $0x0, 0x2e(%rsp)
je 0xa871
testl %r13d, %r13d
movq 0x40(%rsp), %r15
jle 0x99bc
xorl %ebx, %ebx
movsd (%rbp,%rbx,8), %xmm0
movaps %xmm0, 0x50(%rsp)
callq 0x3400
movsd %xmm0, 0x10(%rsp)
movapd 0x50(%rsp), %xmm0
xorpd 0xf7a9(%rip), %xmm0     # 0x19130
callq 0x3400
movq %r14, %r8
movq 0x20(%rsp), %rsi
addsd 0x10(%rsp), %xmm0
addsd 0xf92e(%rip), %xmm0     # 0x192d0
movsd 0xf8ee(%rip), %xmm1     # 0x19298
divsd %xmm0, %xmm1
movsd %xmm1, (%r15,%rbx,8)
incq %rbx
cmpq %rbx, %r13
jne 0x9963
cmpl $0x0, 0x9c(%rsp)
jle 0xa1e9
xorpd %xmm0, %xmm0
movapd %xmm0, 0x1e0(%rsp)
xorl %ecx, %ecx
movq %rcx, 0x128(%rsp)
movl %ecx, %eax
cltd
idivl %r12d
movl %edx, %r12d
movq 0xb0(%rsp), %rcx
movslq (%rcx,%r12,4), %rdi
movq 0x38(%rsp), %rcx
movl (%rcx,%r12,4), %edx
addl %edi, %edx
movslq %eax, %rcx
movq 0x1d8(%rsp), %rax
movq %rcx, 0x1d0(%rsp)
movq (%rax,%rcx,8), %r9
testq %rdi, %rdi
movl %edx, 0x4c(%rsp)
movq %rdi, 0x158(%rsp)
jle 0x9bb8
movq %rdi, %rax
shlq $0x4, %rax
movq %rax, 0x130(%rsp)
leaq (,%rdi,8), %rax
movq %rax, 0xd8(%rsp)
pxor %xmm5, %xmm5
xorl %r15d, %r15d
xorpd %xmm4, %xmm4
movq 0x40(%rsp), %rbp
movdqa %xmm5, 0x50(%rsp)
movapd %xmm4, 0x10(%rsp)
movsd 0x8(%r9,%r15,2), %xmm1
movsd %xmm1, 0x110(%rsp)
movq 0x70(%rsp), %rax
movq (%rax,%r15), %r13
movsd (%r8,%r15), %xmm0
movsd %xmm0, 0xe8(%rsp)
movq 0x108(%rsp), %rax
movsd (%rax,%r15), %xmm2
movsd %xmm2, 0xc0(%rsp)
movsd (%rbp,%r15), %xmm2
movsd %xmm2, 0x90(%rsp)
movq 0x20(%rsp), %rax
movsd (%rax,%r15), %xmm2
movsd %xmm2, 0xb8(%rsp)
movsd (%r13,%r12,8), %xmm2
mulsd %xmm1, %xmm2
movsd %xmm2, 0x88(%rsp)
movq %r8, %r14
movq %r9, %rbx
callq 0x31a0
movq %rbx, %r9
movapd 0x50(%rsp), %xmm5
movapd 0x10(%rsp), %xmm4
movq %r14, %r8
movsd 0xb8(%rsp), %xmm6
subsd %xmm0, %xmm6
movq 0xe0(%rsp), %rax
subsd (%rax,%r15), %xmm6
movsd 0x90(%rsp), %xmm1
mulsd %xmm1, %xmm6
movsd 0x88(%rsp), %xmm2
movsd 0xe8(%rsp), %xmm3
divsd %xmm3, %xmm2
addsd 0xc0(%rsp), %xmm6
movsd 0x110(%rsp), %xmm0
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movsd (%r13,%r12,8), %xmm0
mulsd %xmm6, %xmm2
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movapd %xmm3, %xmm0
mulsd %xmm3, %xmm0
subsd %xmm2, %xmm4
divsd %xmm0, %xmm1
addsd %xmm1, %xmm5
addq $0x8, %r15
cmpq %r15, 0xd8(%rsp)
jne 0x9a5c
addq 0x130(%rsp), %r9
movq 0x158(%rsp), %rax
movq 0x20(%rsp), %rsi
movq 0xe0(%rsp), %rbp
movq 0x80(%rsp), %r13
movl 0x4c(%rsp), %edx
jmp 0x9bc2
xorl %eax, %eax
xorpd %xmm4, %xmm4
pxor %xmm5, %xmm5
cmpl %edx, %eax
movq 0x108(%rsp), %rcx
jge 0x9d25
movl %eax, %eax
movl %edx, %ebx
subq %rax, %rbx
leaq (,%rax,8), %rdx
addq %rbp, %rdx
movq %rdx, 0xe8(%rsp)
leaq (%r8,%rax,8), %rdx
movq %rdx, 0xb8(%rsp)
leaq (%rsi,%rax,8), %rdx
movq %rdx, 0xd8(%rsp)
movq 0x40(%rsp), %rdx
leaq (%rdx,%rax,8), %rdx
movq %rdx, 0x130(%rsp)
leaq (%rcx,%rax,8), %r14
xorl %r15d, %r15d
movq %r9, %r13
movapd %xmm5, 0x50(%rsp)
movapd %xmm4, 0x10(%rsp)
movsd 0x8(%r9,%r15,2), %xmm0
movsd %xmm0, 0xc0(%rsp)
movsd (%r14,%r15), %xmm0
movsd %xmm0, 0x110(%rsp)
movq 0x130(%rsp), %rax
movsd (%rax,%r15), %xmm0
movsd %xmm0, 0x90(%rsp)
movq 0xd8(%rsp), %rax
movsd (%rax,%r15), %xmm0
movsd %xmm0, 0x88(%rsp)
movq 0xb8(%rsp), %rax
movsd (%rax,%r15), %xmm0
movq %r9, %rbp
callq 0x31a0
movq %rbp, %r9
movapd 0x50(%rsp), %xmm5
movapd 0x10(%rsp), %xmm4
movsd 0x88(%rsp), %xmm2
subsd %xmm0, %xmm2
movq 0xe8(%rsp), %rax
subsd (%rax,%r15), %xmm2
movsd 0x90(%rsp), %xmm1
mulsd %xmm1, %xmm2
addsd 0x110(%rsp), %xmm2
movsd 0xc0(%rsp), %xmm0
mulsd %xmm0, %xmm2
addsd %xmm2, %xmm4
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
addsd %xmm1, %xmm5
addq $0x10, %r13
addq $0x8, %r15
decq %rbx
jne 0x9c1f
movq %r13, %r9
movl 0x4c(%rsp), %eax
movq 0x78(%rsp), %r8
movq 0x20(%rsp), %rsi
movq 0xe0(%rsp), %rbp
movq 0x108(%rsp), %rcx
movq 0x80(%rsp), %r13
cmpl %r13d, %eax
jge 0x9ec3
movl %eax, %eax
movq 0x100(%rsp), %rbx
subq %rax, %rbx
leaq (,%rax,8), %rdx
addq %rbp, %rdx
movq %rdx, 0xd8(%rsp)
leaq (%rsi,%rax,8), %rdx
movq %rdx, 0x130(%rsp)
movq 0x40(%rsp), %rdx
leaq (%rdx,%rax,8), %rdx
movq %rdx, 0x228(%rsp)
leaq (%rcx,%rax,8), %rcx
movq %rcx, 0x220(%rsp)
leaq (%r8,%rax,8), %rcx
movq %rcx, 0x218(%rsp)
movq 0x70(%rsp), %rcx
leaq (%rcx,%rax,8), %r13
xorl %r14d, %r14d
movapd %xmm5, 0x50(%rsp)
movapd %xmm4, 0x10(%rsp)
movsd 0x8(%r9,%r14,2), %xmm1
movsd %xmm1, 0x110(%rsp)
movq (%r13,%r14), %rbp
movq 0x218(%rsp), %rax
movsd (%rax,%r14), %xmm0
movsd %xmm0, 0xe8(%rsp)
movq 0x220(%rsp), %rax
movsd (%rax,%r14), %xmm2
movsd %xmm2, 0xc0(%rsp)
movq 0x228(%rsp), %rax
movsd (%rax,%r14), %xmm2
movsd %xmm2, 0x90(%rsp)
movq 0x130(%rsp), %rax
movsd (%rax,%r14), %xmm2
movsd %xmm2, 0xb8(%rsp)
movsd (%rbp,%r12,8), %xmm2
mulsd %xmm1, %xmm2
movsd %xmm2, 0x88(%rsp)
movq %r9, %r15
callq 0x31a0
movq %r15, %r9
movapd 0x50(%rsp), %xmm5
movapd 0x10(%rsp), %xmm4
movsd 0xb8(%rsp), %xmm6
subsd %xmm0, %xmm6
movq 0xd8(%rsp), %rax
subsd (%rax,%r14), %xmm6
movsd 0x90(%rsp), %xmm1
mulsd %xmm1, %xmm6
movsd 0x88(%rsp), %xmm2
movsd 0xe8(%rsp), %xmm3
divsd %xmm3, %xmm2
addsd 0xc0(%rsp), %xmm6
movsd 0x110(%rsp), %xmm0
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movsd (%rbp,%r12,8), %xmm0
mulsd %xmm6, %xmm2
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movapd %xmm3, %xmm0
mulsd %xmm3, %xmm0
subsd %xmm2, %xmm4
divsd %xmm0, %xmm1
addsd %xmm1, %xmm5
addq $0x8, %r14
decq %rbx
jne 0x9d8f
movsd 0x1c8(%rsp), %xmm1
ucomisd 0xe16c(%rip), %xmm1     # 0x18040
movsd 0x150(%rsp), %xmm0
mulsd %xmm0, %xmm4
mulsd %xmm0, %xmm5
jbe 0x9f1c
movq 0x68(%rsp), %rax
movq 0x128(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
mulsd %xmm1, %xmm0
addsd %xmm0, %xmm4
addsd %xmm1, %xmm5
movq 0x20(%rsp), %rsi
movq 0x80(%rsp), %r13
movsd 0xf37e(%rip), %xmm2     # 0x19298
jmp 0x9f39
movq 0x20(%rsp), %rsi
movq 0x80(%rsp), %r13
movsd 0xf367(%rip), %xmm2     # 0x19298
movq 0x128(%rsp), %rcx
movq 0x158(%rsp), %rdi
xorpd 0xf1e7(%rip), %xmm4     # 0x19130
divsd %xmm5, %xmm4
movapd %xmm4, %xmm0
andpd 0xf1c7(%rip), %xmm0     # 0x19120
movsd 0xf1af(%rip), %xmm3     # 0x19110
ucomisd %xmm0, %xmm3
ja 0xa1a9
ucomisd %xmm1, %xmm2
movq 0x68(%rsp), %rax
movsd (%rax,%rcx,8), %xmm0
addsd %xmm0, %xmm4
jbe 0x9fcc
movsd 0x210(%rsp), %xmm1
divsd %xmm5, %xmm1
ucomisd %xmm4, %xmm1
movl 0x4c(%rsp), %edx
movq 0x1d0(%rsp), %r8
jbe 0x9fb4
movapd %xmm1, %xmm2
xorpd 0xf186(%rip), %xmm2     # 0x19130
xorpd %xmm3, %xmm3
ucomisd %xmm2, %xmm4
ja 0x9fdc
xorpd %xmm2, %xmm2
ucomisd %xmm4, %xmm2
jbe 0xa1ce
addsd %xmm4, %xmm1
movapd %xmm1, %xmm3
jmp 0x9fdc
movapd %xmm4, %xmm3
movl 0x4c(%rsp), %edx
movq 0x1d0(%rsp), %r8
movapd %xmm3, %xmm2
subsd %xmm0, %xmm2
movq 0x68(%rsp), %rax
movsd %xmm3, (%rax,%rcx,8)
movq 0x1d8(%rsp), %rax
movq (%rax,%r8,8), %rbp
testl %edi, %edi
movapd %xmm2, 0x10(%rsp)
movapd %xmm3, 0xc0(%rsp)
jle 0xa08c
xorl %ebx, %ebx
movq 0x78(%rsp), %r15
movq 0x70(%rsp), %r13
movq (%r13,%rbx,8), %r14
movsd (%r15,%rbx,8), %xmm0
subsd (%r14,%r12,8), %xmm0
movsd %xmm0, 0x50(%rsp)
movsd 0x8(%rbp), %xmm0
mulsd %xmm2, %xmm0
callq 0x3400
movapd 0x10(%rsp), %xmm2
movq 0x158(%rsp), %rax
mulsd (%r14,%r12,8), %xmm0
movsd %xmm0, (%r14,%r12,8)
addsd 0x50(%rsp), %xmm0
movsd %xmm0, (%r15,%rbx,8)
addq $0x10, %rbp
incq %rbx
cmpq %rbx, %rax
jne 0xa019
movq 0x20(%rsp), %rsi
movq 0x128(%rsp), %rcx
movl 0x4c(%rsp), %edx
movapd 0xc0(%rsp), %xmm3
jmp 0xa08e
xorl %eax, %eax
cmpl %edx, %eax
movq 0x80(%rsp), %r13
jge 0xa0f2
movl %eax, %ebx
movl %edx, %r14d
movq 0x70(%rsp), %r15
movsd 0x8(%rbp), %xmm0
mulsd %xmm2, %xmm0
addsd (%rsi,%rbx,8), %xmm0
movsd %xmm0, (%rsi,%rbx,8)
callq 0x3400
movapd 0x10(%rsp), %xmm2
movq 0x20(%rsp), %rsi
movq (%r15,%rbx,8), %rax
movsd %xmm0, (%rax,%r12,8)
addq $0x10, %rbp
incq %rbx
cmpq %rbx, %r14
jne 0xa0a4
movl 0x4c(%rsp), %eax
movq 0x128(%rsp), %rcx
movapd 0xc0(%rsp), %xmm3
movapd %xmm2, %xmm0
unpcklpd %xmm3, %xmm0            # xmm0 = xmm0[0],xmm3[0]
andpd 0xf01e(%rip), %xmm0     # 0x19120
movapd 0x1e0(%rsp), %xmm1
maxpd %xmm0, %xmm1
movapd %xmm1, 0x1e0(%rsp)
cmpl %r13d, %eax
jge 0xa1a9
movl %eax, %ebx
addq $0x8, %rbp
movq 0x78(%rsp), %r15
movq 0x100(%rsp), %r13
movq 0x70(%rsp), %rax
movq (%rax,%rbx,8), %r14
movsd (%r15,%rbx,8), %xmm0
subsd (%r14,%r12,8), %xmm0
movsd %xmm0, 0x50(%rsp)
movsd (%rbp), %xmm0
mulsd %xmm2, %xmm0
callq 0x3400
movapd 0x10(%rsp), %xmm2
mulsd (%r14,%r12,8), %xmm0
movsd %xmm0, (%r14,%r12,8)
addsd 0x50(%rsp), %xmm0
movsd %xmm0, (%r15,%rbx,8)
incq %rbx
addq $0x10, %rbp
cmpq %rbx, %r13
jne 0xa134
movq %r15, %r8
movq 0xe0(%rsp), %rbp
movq 0x80(%rsp), %r13
movq 0x20(%rsp), %rsi
movq 0x128(%rsp), %rcx
jmp 0xa1b6
movq 0x78(%rsp), %r8
movq 0xe0(%rsp), %rbp
incq %rcx
cmpq 0x198(%rsp), %rcx
movq 0x8(%rsp), %r12
jne 0x99d9
jmp 0xa1f6
xorpd %xmm3, %xmm3
ucomisd %xmm3, %xmm4
jbe 0x9fdc
subsd %xmm1, %xmm4
movapd %xmm4, %xmm3
jmp 0x9fdc
xorpd %xmm0, %xmm0
movapd %xmm0, 0x1e0(%rsp)
testl %r13d, %r13d
jle 0xa237
xorl %ebx, %ebx
movsd (%rsi,%rbx,8), %xmm0
movsd %xmm0, 0x10(%rsp)
movsd (%r8,%rbx,8), %xmm0
movq %rsi, %r14
movq %r8, %r15
callq 0x31a0
movq %r15, %r8
movq %r14, %rsi
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%rbp,%rbx,8)
incq %rbx
cmpq %rbx, %r13
jne 0xa1fd
movapd 0x1e0(%rsp), %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
mulsd 0x208(%rsp), %xmm0
ucomisd %xmm1, %xmm0
jae 0xa30c
movq 0x60(%rsp), %rbx
movl 0x40(%rbx), %eax
testl %eax, %eax
jne 0xa284
leaq 0xf750(%rip), %rdi      # 0x199be
xorl %eax, %eax
movq %rsi, %r14
movq %r8, %r15
callq 0x735c
movq %r15, %r8
movq %r14, %rsi
movl 0x40(%rbx), %eax
testl %eax, %eax
jle 0x938a
movq %r8, %r15
movq %rsi, %r14
callq 0x3130
cmpl $0x3, 0x40(%rbx)
jl 0xa2f7
movl %r13d, %edi
movq 0xf8(%rsp), %rsi
movq %rbx, %rdx
movq 0x68(%rsp), %rcx
movq %rbp, %r8
movsd 0x150(%rsp), %xmm0
leaq 0x13c(%rsp), %r9
leaq 0x160(%rsp), %rax
pushq %rax
pushq %r12
callq 0x16166
addq $0x10, %rsp
movsd 0x160(%rsp), %xmm1
movapd %xmm0, %xmm2
addsd %xmm1, %xmm2
leaq 0xf669(%rip), %rdi      # 0x19959
movb $0x3, %al
callq 0x3050
movl $0xa, %edi
callq 0x3300
movq %r14, %rsi
movq %r15, %r8
jmp 0x938a
movq %r8, %r13
movq %rsi, %rbx
leaq 0xf1d1(%rip), %rdi      # 0x194ea
xorl %esi, %esi
xorl %eax, %eax
callq 0x735c
movq %r12, %rax
leaq 0x13c(%rsp), %r12
movq 0x100(%rsp), %rdi
movq 0x188(%rsp), %rsi
movq 0x60(%rsp), %rdx
movq 0x68(%rsp), %rcx
movq %rbp, %r8
movsd 0x150(%rsp), %xmm0
movq %r12, %r9
leaq 0x160(%rsp), %r10
pushq %r10
pushq %rax
callq 0x16166
addq $0x10, %rsp
movsd 0x160(%rsp), %xmm1
movapd %xmm0, %xmm2
addsd %xmm1, %xmm2
leaq 0xf5d7(%rip), %rdi      # 0x19959
movb $0x3, %al
callq 0x735c
movl (%r12), %esi
leaq 0xf3af(%rip), %rdi      # 0x19743
movl 0x9c(%rsp), %edx
xorl %eax, %eax
callq 0x735c
movq 0x200(%rsp), %rdi
testq %rdi, %rdi
je 0xa3b4
callq 0x32d0
movq %rbp, %rdi
callq 0x32d0
movq 0x108(%rsp), %rdi
callq 0x32d0
movq 0x40(%rsp), %rdi
callq 0x32d0
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
movq 0xa8(%rsp), %r14
movq 0x38(%rsp), %r15
movq 0xb0(%rsp), %r12
je 0xa3f7
callq 0x32d0
testq %rbx, %rbx
je 0xa404
movq %rbx, %rdi
callq 0x32d0
testq %r13, %r13
je 0xa501
movq %r13, %rdi
callq 0x32d0
jmp 0xa501
xorl %ecx, %ecx
movq 0xa0(%rsp), %r10
movq 0x10(%rsp), %r11
cmpl %r11d, %ecx
jge 0xa4e0
movq 0x170(%rsp), %rdx
movl %ecx, %esi
subq %rsi, %r11
leaq 0x1(%r11), %rcx
andq $-0x2, %rcx
decq %r11
movq %r11, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
leaq (%rdx,%rsi,8), %rdx
addq $0x8, %rdx
xorl %esi, %esi
movdqa 0xee8a(%rip), %xmm1     # 0x192f0
movdqa 0xee92(%rip), %xmm2     # 0x19300
pxor %xmm2, %xmm0
movabsq $-0x4010000000000000, %rdi # imm = 0xBFF0000000000000
pcmpeqd %xmm3, %xmm3
movq %rsi, %xmm4
pshufd $0x44, %xmm4, %xmm4     # xmm4 = xmm4[0,1,0,1]
por %xmm1, %xmm4
pxor %xmm2, %xmm4
movdqa %xmm4, %xmm5
pcmpgtd %xmm0, %xmm5
pcmpeqd %xmm0, %xmm4
pshufd $0xf5, %xmm4, %xmm6     # xmm6 = xmm4[1,1,3,3]
pand %xmm5, %xmm6
pshufd $0xf5, %xmm5, %xmm4     # xmm4 = xmm5[1,1,3,3]
por %xmm6, %xmm4
movd %xmm4, %r8d
notl %r8d
testb $0x1, %r8b
je 0xa4c3
movq %rdi, -0x8(%rdx,%rsi,8)
pxor %xmm3, %xmm4
pextrw $0x4, %xmm4, %r8d
testb $0x1, %r8b
je 0xa4d7
movq %rdi, (%rdx,%rsi,8)
addq $0x2, %rsi
cmpq %rsi, %rcx
jne 0xa480
movsd (%r10), %xmm0
movsd 0x8(%r10), %xmm1
leaq 0x168(%rsp), %rdi
movq %rbx, %rsi
movq %rax, %rdx
movq %r14, %rcx
callq 0xa892
movq 0x1b0(%rsp), %rdi
callq 0x3290
movq 0xf0(%rsp), %rdi
callq 0x3290
movq %r12, %rdi
callq 0x3290
movq %r15, %rdi
callq 0x3290
movq 0x190(%rsp), %rdi
callq 0x3290
movq 0x178(%rsp), %rdi
callq 0x3290
movq 0x170(%rsp), %rdi
callq 0x3290
movq 0xa0(%rsp), %rdi
callq 0x3290
movq %r14, %rax
addq $0x298, %rsp            # imm = 0x298
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, 0x7(%rsp)
testl %r13d, %r13d
jle 0x9254
movapd 0x140(%rsp), %xmm1
addsd %xmm1, %xmm1
movsd 0xed01(%rip), %xmm0     # 0x19298
divsd %xmm1, %xmm0
leal 0x1(%r13), %ecx
leaq -0x1(%r13), %rdx
movq %rdx, %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
shrl %ecx
shlq $0x4, %rcx
movdqa 0xed35(%rip), %xmm2     # 0x192f0
xorl %edx, %edx
movdqa 0xed3b(%rip), %xmm3     # 0x19300
pxor %xmm3, %xmm1
pcmpeqd %xmm4, %xmm4
movdqa 0xed3b(%rip), %xmm5     # 0x19310
movdqa %xmm2, %xmm6
pxor %xmm3, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm1, %xmm7
pcmpeqd %xmm1, %xmm6
pshufd $0xf5, %xmm6, %xmm8     # xmm8 = xmm6[1,1,3,3]
pand %xmm7, %xmm8
pshufd $0xf5, %xmm7, %xmm6     # xmm6 = xmm7[1,1,3,3]
por %xmm8, %xmm6
movd %xmm6, %esi
notl %esi
testb $0x1, %sil
je 0xa610
movsd %xmm0, (%r8,%rdx)
pxor %xmm4, %xmm6
pextrw $0x4, %xmm6, %esi
testb $0x1, %sil
je 0xa626
movsd %xmm0, 0x8(%r8,%rdx)
paddq %xmm5, %xmm2
addq $0x10, %rdx
cmpq %rdx, %rcx
jne 0xa5d5
jmp 0x8ff0
movb $0x1, 0x7(%rsp)
testl %r13d, %r13d
jle 0x9254
leal 0x1(%r13), %ecx
leaq -0x1(%r13), %rdx
movq %rdx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
shrl %ecx
shlq $0x4, %rcx
movdqa 0xec8a(%rip), %xmm1     # 0x192f0
xorl %edx, %edx
movdqa 0xec90(%rip), %xmm2     # 0x19300
pxor %xmm2, %xmm0
movabsq $0x4000000000000000, %rsi # imm = 0x4000000000000000
pcmpeqd %xmm3, %xmm3
movdqa 0xec86(%rip), %xmm4     # 0x19310
movdqa %xmm1, %xmm5
pxor %xmm2, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm0, %xmm6
pcmpeqd %xmm0, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
movd %xmm5, %edi
notl %edi
testb $0x1, %dil
je 0xa6c0
movq %rsi, (%r8,%rdx)
pxor %xmm3, %xmm5
pextrw $0x4, %xmm5, %edi
testb $0x1, %dil
je 0xa6d4
movq %rsi, 0x8(%r8,%rdx)
paddq %xmm4, %xmm1
addq $0x10, %rdx
cmpq %rdx, %rcx
jne 0xa68a
jmp 0x8ff0
movb $0x1, 0x7(%rsp)
testl %r13d, %r13d
jle 0x9254
leal 0x1(%r13), %ecx
leaq -0x1(%r13), %rdx
movq %rdx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
shrl %ecx
shlq $0x4, %rcx
movdqa 0xebdc(%rip), %xmm1     # 0x192f0
xorl %edx, %edx
movdqa 0xebe2(%rip), %xmm2     # 0x19300
pxor %xmm2, %xmm0
movabsq $0x3fd0000000000000, %rsi # imm = 0x3FD0000000000000
pcmpeqd %xmm3, %xmm3
movdqa 0xebd8(%rip), %xmm4     # 0x19310
movdqa %xmm1, %xmm5
pxor %xmm2, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm0, %xmm6
pcmpeqd %xmm0, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
movd %xmm5, %edi
notl %edi
testb $0x1, %dil
je 0xa76e
movq %rsi, (%r8,%rdx)
pxor %xmm3, %xmm5
pextrw $0x4, %xmm5, %edi
testb $0x1, %dil
je 0xa782
movq %rsi, 0x8(%r8,%rdx)
paddq %xmm4, %xmm1
addq $0x10, %rdx
cmpq %rdx, %rcx
jne 0xa738
jmp 0x8ff0
movb $0x1, 0x7(%rsp)
testl %r13d, %r13d
jle 0x9254
movsd 0xeaee(%rip), %xmm0     # 0x19298
divsd 0x140(%rsp), %xmm0
leal 0x1(%r13), %ecx
leaq -0x1(%r13), %rdx
movq %rdx, %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
shrl %ecx
shlq $0x4, %rcx
movdqa 0xeb1d(%rip), %xmm2     # 0x192f0
xorl %edx, %edx
movdqa 0xeb23(%rip), %xmm3     # 0x19300
pxor %xmm3, %xmm1
pcmpeqd %xmm4, %xmm4
movdqa 0xeb23(%rip), %xmm5     # 0x19310
movdqa %xmm2, %xmm6
pxor %xmm3, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm1, %xmm7
pcmpeqd %xmm1, %xmm6
pshufd $0xf5, %xmm6, %xmm8     # xmm8 = xmm6[1,1,3,3]
pand %xmm7, %xmm8
pshufd $0xf5, %xmm7, %xmm6     # xmm6 = xmm7[1,1,3,3]
por %xmm8, %xmm6
movd %xmm6, %esi
notl %esi
testb $0x1, %sil
je 0xa828
movsd %xmm0, (%r8,%rdx)
pxor %xmm4, %xmm6
pextrw $0x4, %xmm6, %esi
testb $0x1, %sil
je 0xa83e
movsd %xmm0, 0x8(%r8,%rdx)
paddq %xmm5, %xmm2
addq $0x10, %rdx
cmpq %rdx, %rcx
jne 0xa7ed
jmp 0x8ff0
addq $0x28, %rbx
movq %rbx, %rdi
callq 0x3641
leaq 0xefc5(%rip), %rdi      # 0x19828
xorl %eax, %eax
callq 0x735c
xorl %edi, %edi
callq 0x32a0
leaq 0xefed(%rip), %rdi      # 0x19865
jmp 0xa863
movq %rax, %rbx
leaq 0x260(%rsp), %rdi
callq 0x6440
movq %rbx, %rdi
callq 0x33f0