// File: /workspace/github_cpp_makefile_star2_O3/cjlin1[P]liblinear/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(check_regression_model(model_))
	{
		model_->w = Malloc(double, w_size);

		if(param->init_sol != NULL)
			for(i=0;i<w_size;i++)
				model_->w[i] = param->init_sol[i];
		else
			for(i=0;i<w_size;i++)
				model_->w[i] = 0;

		model_->nr_class = 2;
		model_->label = NULL;
		train_one(prob, param, model_->w, 0, 0);
	}
	else if(check_oneclass_model(model_))
	{
		model_->w = Malloc(double, w_size);
		model_->nr_class = 2;
		model_->label = NULL;
		solve_oneclass_svm(prob, param, model_->w, &(model_->rho));
	}
	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(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;

				if(param->init_sol != NULL)
					for(i=0;i<w_size;i++)
						model_->w[i] = param->init_sol[i];
				else
					for(i=0;i<w_size;i++)
						model_->w[i] = 0;

				train_one(&sub_prob, param, model_->w, weighted_C[0], weighted_C[1]);
			}
			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;

					if(param->init_sol != NULL)
						for(j=0;j<w_size;j++)
							w[j] = param->init_sol[j*nr_class+i];
					else
						for(j=0;j<w_size;j++)
							w[j] = 0;

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

					for(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 $0xc8, %rsp
movq %rsi, %r12
movq %rdi, %rbx
movl (%rdi), %r14d
movl 0x4(%rdi), %eax
movq %rax, 0x20(%rsp)
movslq %eax, %r13
movl $0x78, %edi
callq 0x21f0
movq %rax, %r15
movq %rbx, 0x28(%rsp)
movsd 0x18(%rbx), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
movl %r13d, %eax
adcl $-0x1, %eax
movl %eax, 0x54(%r15)
movl $0xa, %ecx
movq %r15, %rdi
movq %r12, %rsi
rep  movsq (%rsi), %es:(%rdi)
movsd %xmm0, 0x68(%r15)
movl (%r15), %eax
leal -0xb(%rax), %ecx
cmpl $0x3, %ecx
movq %r12, (%rsp)
jae 0x5ebe
shlq $0x3, %r13
movq %r13, %rdi
callq 0x21f0
movq %rax, %rbx
movq %rax, 0x58(%r15)
movq 0x40(%r12), %rax
testq %rax, %rax
je 0x605b
movq 0x20(%rsp), %rdx
testl %edx, %edx
jle 0x607a
xorl %ecx, %ecx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rbx,%rcx,8)
incq %rcx
cmpq %rcx, %rdx
jne 0x5ea7
jmp 0x607a
movq %r13, 0x50(%rsp)
movslq %r14d, %r12
cmpl $0x15, %eax
movq %r15, 0x30(%rsp)
movq %r14, 0x8(%rsp)
movq %r12, 0x58(%rsp)
jne 0x60a7
movq %r12, %r14
shlq $0x4, %r14
testl %r12d, %r12d
movq $-0x1, %rax
cmovsq %rax, %r14
leaq (,%r12,4), %r13
testl %r12d, %r12d
cmovsq %rax, %r13
movq %r12, %rbp
shlq $0x3, %rbp
testl %r12d, %r12d
cmovsq %rax, %rbp
movq 0x50(%rsp), %rdi
shlq $0x3, %rdi
callq 0x21f0
movq %rax, %rbx
movq %rax, 0x58(%r15)
movl $0x2, 0x50(%r15)
movq $0x0, 0x60(%r15)
movq (%rsp), %rax
movsd 0x8(%rax), %xmm0
movsd %xmm0, 0x18(%rsp)
movsd 0x38(%rax), %xmm0
movsd %xmm0, (%rsp)
movq %rbp, %rdi
callq 0x2030
movq %rax, %r15
movq %rbp, %rdi
callq 0x2030
movq %rax, %r12
movq %r13, %rdi
callq 0x2030
movq %rax, %r13
movq %rbp, %rdi
callq 0x2030
movq %rax, %rbp
movq %r14, %rdi
callq 0x2030
movq %rax, 0x10(%rsp)
movq %r14, %rdi
callq 0x2030
movq %rax, 0x38(%rsp)
xorps %xmm0, %xmm0
cvtsi2sdl 0x58(%rsp), %xmm0
mulsd (%rsp), %xmm0
cvttsd2si %xmm0, %eax
testl %eax, %eax
jle 0x6211
movl %eax, %ecx
leal 0x1(%rax), %edx
leaq -0x1(%rcx), %rsi
movq %rsi, %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
shrl %edx
shlq $0x4, %rdx
movdqa 0x8e91(%rip), %xmm2     # 0xee60
xorl %esi, %esi
movdqa 0x8e97(%rip), %xmm3     # 0xee70
pxor %xmm3, %xmm1
movabsq $0x3ff0000000000000, %rdi # imm = 0x3FF0000000000000
pcmpeqd %xmm4, %xmm4
movdqa 0x8e8d(%rip), %xmm5     # 0xee80
movq 0x8(%rsp), %r9
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, %r8d
notl %r8d
testb $0x1, %r8b
je 0x6034
movq %rdi, (%rbp,%rsi)
pxor %xmm4, %xmm6
pextrw $0x4, %xmm6, %r8d
testb $0x1, %r8b
je 0x6049
movq %rdi, 0x8(%rbp,%rsi)
paddq %xmm5, %xmm2
addq $0x10, %rsi
cmpq %rsi, %rdx
jne 0x5ff8
jmp 0x6218
movq 0x20(%rsp), %rax
testl %eax, %eax
jle 0x607a
leaq (,%rax,8), %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x20c0
movq (%rsp), %r12
movl $0x2, 0x50(%r15)
movq $0x0, 0x60(%r15)
xorpd %xmm0, %xmm0
xorpd %xmm1, %xmm1
movq 0x28(%rsp), %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x7668
jmp 0x7621
leaq (,%r12,4), %rbx
movq %rbx, %rdi
callq 0x21f0
movq %rax, %r13
movl $0x40, %edi
callq 0x21f0
movq %rax, %rbp
movl $0x40, %edi
callq 0x21f0
movq %rax, 0x10(%rsp)
movq %rbx, %rdi
callq 0x21f0
testl %r14d, %r14d
movq %r13, 0x48(%rsp)
movq %rax, 0x38(%rsp)
jle 0x6b67
movq %rax, %rsi
movq %r14, %rdx
xorl %r12d, %r12d
movl $0x10, %edi
xorl %r9d, %r9d
movq 0x10(%rsp), %r15
movq 0x28(%rsp), %rax
movq 0x8(%rax), %rax
cvttsd2si (%rax,%r12,8), %r14d
movl $0x0, %eax
testl %r9d, %r9d
jle 0x613e
movl %r9d, %ecx
xorl %eax, %eax
cmpl %r14d, (%rbp,%rax,4)
je 0x613a
incq %rax
cmpq %rax, %rcx
jne 0x6125
movl %ecx, (%rsi,%r12,4)
jmp 0x6147
incl (%r15,%rax,4)
movl %eax, (%rsi,%r12,4)
cmpl %r9d, %eax
jne 0x619c
cmpl %edi, %r9d
jne 0x6189
addl %edi, %edi
movl %edi, 0x18(%rsp)
movslq %edi, %rbx
shlq $0x2, %rbx
movq %rbp, %rdi
movq %rbx, %rsi
movl %r9d, %r13d
callq 0x2270
movq %rax, %rbp
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2270
movl 0x18(%rsp), %edi
movq 0x38(%rsp), %rsi
movl %r13d, %r9d
movq 0x8(%rsp), %rdx
movq %rax, %r15
movslq %r9d, %rax
movl %r14d, (%rbp,%rax,4)
movl $0x1, (%r15,%rax,4)
incl %r9d
incq %r12
cmpq %rdx, %r12
jne 0x6107
cmpl $0x2, %r9d
movq %r15, 0x10(%rsp)
jne 0x6b6c
movl $0x2, %r9d
cmpl $-0x1, (%rbp)
movq 0x48(%rsp), %r13
jne 0x6b71
cmpl $0x1, 0x4(%rbp)
jne 0x6b71
movabsq $-0xffffffff, %rax      # imm = 0xFFFFFFFF00000001
movq %rax, (%rbp)
movq 0x10(%rsp), %rax
movq (%rax), %xmm0
pshufd $0xe1, %xmm0, %xmm0     # xmm0 = xmm0[1,0,2,3]
movq %xmm0, (%rax)
xorl %eax, %eax
xorl %ecx, %ecx
cmpl $0x0, (%rsi,%rax,4)
sete %cl
movl %ecx, (%rsi,%rax,4)
incq %rax
cmpq %rax, %rdx
jne 0x61f8
jmp 0x6b71
xorl %ecx, %ecx
movq 0x8(%rsp), %r9
movl %r9d, %edx
subl %eax, %edx
jle 0x6230
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, (%rbp,%rcx,8)
incl %eax
cmpl %r9d, %eax
jge 0x625b
cltq
leaq (,%rax,8), %rdi
addq %rbp, %rdi
addl $-0x2, %edx
leaq 0x8(,%rdx,8), %rdx
xorl %esi, %esi
callq 0x20c0
movq 0x8(%rsp), %r9
movq 0x20(%rsp), %rax
testl %eax, %eax
jle 0x627b
leaq (,%rax,8), %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x20c0
movq 0x8(%rsp), %r9
testl %r9d, %r9d
jle 0x62fd
movq 0x28(%rsp), %rax
movq 0x10(%rax), %rax
xorl %ecx, %ecx
movq (%rax,%rcx,8), %rdx
movl (%rdx), %esi
cmpl $-0x1, %esi
je 0x62e8
addq $0x10, %rdx
xorpd %xmm0, %xmm0
movq %rdx, %rdi
movsd -0x8(%rdi), %xmm1
mulsd %xmm1, %xmm1
addsd %xmm1, %xmm0
cmpl $-0x1, (%rdi)
leaq 0x10(%rdi), %rdi
jne 0x62a1
movsd %xmm0, (%r15,%rcx,8)
movsd (%rbp,%rcx,8), %xmm0
movslq %esi, %rsi
movsd -0x8(%rdx), %xmm1
mulsd %xmm0, %xmm1
addsd -0x8(%rbx,%rsi,8), %xmm1
movsd %xmm1, -0x8(%rbx,%rsi,8)
movl (%rdx), %esi
addq $0x10, %rdx
cmpl $-0x1, %esi
jne 0x62c3
jmp 0x62f0
movq $0x0, (%r15,%rcx,8)
movl %ecx, (%r13,%rcx,4)
incq %rcx
cmpq %r9, %rcx
jne 0x628b
movq %r15, 0x58(%rsp)
movb $0x1, (%rsp)
pxor %xmm8, %xmm8
xorl %ecx, %ecx
movl %r9d, %r15d
movl %ecx, %eax
movq %rax, 0x40(%rsp)
testl %r15d, %r15d
jle 0x63d9
movq 0x28(%rsp), %rax
movq 0x10(%rax), %rax
movl %r15d, %ecx
xorl %edx, %edx
movsd 0x8aa2(%rip), %xmm0     # 0xedd8
movsd 0x7cf2(%rip), %xmm1     # 0xe030
movsd 0x88fa(%rip), %xmm5     # 0xec40
movapd 0x8932(%rip), %xmm6     # 0xec80
movslq (%r13,%rdx,4), %rsi
movq (%rax,%rsi,8), %rdi
movl (%rdi), %r8d
cmpl $-0x1, %r8d
je 0x638a
addq $0x10, %rdi
pxor %xmm2, %xmm2
movslq %r8d, %r8
movsd -0x8(%rbx,%r8,8), %xmm3
mulsd -0x8(%rdi), %xmm3
addsd %xmm3, %xmm2
movl (%rdi), %r8d
addq $0x10, %rdi
cmpl $-0x1, %r8d
jne 0x6368
jmp 0x638e
pxor %xmm2, %xmm2
movsd %xmm2, (%r12,%rsi,8)
movsd (%rbp,%rsi,8), %xmm3
ucomisd %xmm3, %xmm5
jbe 0x63ac
movapd %xmm2, %xmm4
xorpd %xmm6, %xmm4
maxsd %xmm4, %xmm0
ucomisd %xmm8, %xmm3
jbe 0x63bb
xorpd %xmm6, %xmm2
minsd %xmm2, %xmm1
incq %rdx
cmpq %rcx, %rdx
jne 0x634e
movapd %xmm0, %xmm2
subsd %xmm1, %xmm2
movsd 0x18(%rsp), %xmm3
ucomisd %xmm2, %xmm3
ja 0x63ed
jmp 0x6421
movsd 0x18(%rsp), %xmm0
ucomisd 0x89f1(%rip), %xmm0     # 0xedd8
je 0x651c
cmpl %r9d, %r15d
je 0x696b
movq %r9, %r14
leaq 0x8b9a(%rip), %rdi      # 0xef9a
xorl %eax, %eax
callq 0x5d62
xorpd %xmm8, %xmm8
movl %r14d, %r15d
testb $0x1, (%rsp)
movq %r14, %r9
jne 0x6317
jmp 0x6985
xorl %eax, %eax
movslq %eax, %rcx
movl (%r13,%rcx,4), %edx
movslq %edx, %rsi
movsd (%rbp,%rsi,8), %xmm2
ucomisd %xmm5, %xmm2
jne 0x644c
jp 0x644c
movsd (%r12,%rsi,8), %xmm3
xorpd %xmm6, %xmm3
ucomisd %xmm0, %xmm3
ja 0x6465
ucomisd %xmm8, %xmm2
jne 0x647e
jp 0x647e
movsd (%r12,%rsi,8), %xmm2
xorpd %xmm6, %xmm2
ucomisd %xmm2, %xmm1
jbe 0x647e
movslq %r15d, %rax
decl %r15d
movl -0x4(%r13,%rax,4), %esi
movl %esi, (%r13,%rcx,4)
movl %edx, -0x4(%r13,%rax,4)
decl %ecx
movl %ecx, %eax
incl %eax
cmpl %r15d, %eax
jl 0x6423
movslq %r15d, %rax
imulq $0x66666667, %rax, %r9  # imm = 0x66666667
movq %r9, %rax
shrq $0x3f, %rax
sarq $0x22, %r9
addl %eax, %r9d
cmpl $0x2, %r9d
movl $0x1, %eax
cmovll %eax, %r9d
testl %r15d, %r15d
jle 0x6527
movl %r15d, %eax
xorl %ecx, %ecx
xorl %r14d, %r14d
xorl %r8d, %r8d
movslq (%r13,%rcx,4), %rdx
movsd (%r12,%rdx,8), %xmm0
xorpd %xmm6, %xmm0
movsd (%rbp,%rdx,8), %xmm1
ucomisd %xmm1, %xmm5
jbe 0x64f0
movslq %r8d, %r8
movq %r8, %rsi
shlq $0x4, %rsi
movq 0x10(%rsp), %rdi
movl %edx, (%rdi,%rsi)
movsd %xmm0, 0x8(%rdi,%rsi)
incl %r8d
ucomisd %xmm8, %xmm1
jbe 0x6512
movslq %r14d, %r14
movq %r14, %rsi
shlq $0x4, %rsi
movq 0x38(%rsp), %rdi
movl %edx, (%rdi,%rsi)
movsd %xmm0, 0x8(%rdi,%rsi)
incl %r14d
incq %rcx
cmpq %rcx, %rax
jne 0x64ba
jmp 0x652d
xorl %r8d, %r8d
movl $0x1, %r9d
jmp 0x652a
xorl %r8d, %r8d
xorl %r14d, %r14d
movq %r8, 0x50(%rsp)
cmpl %r14d, %r8d
movl %r14d, %eax
cmovll %r8d, %eax
movl %eax, 0x60(%rsp)
cmpl %eax, %r9d
cmovgel %eax, %r9d
movq %r9, (%rsp)
leal -0x1(%r8), %edx
movl %r8d, %ecx
subl %r9d, %ecx
movl %ecx, 0x48(%rsp)
movq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0xcd18
movslq 0x48(%rsp), %rdi
shlq $0x4, %rdi
addq 0x10(%rsp), %rdi
movslq (%rsp), %rsi
movq %rsi, 0x48(%rsp)
movl $0x10, %edx
leaq 0x68e2(%rip), %rcx      # 0xce6a
callq 0x22e0
decl %r14d
movq 0x38(%rsp), %rdi
xorl %esi, %esi
movl %r14d, %edx
movq 0x48(%rsp), %r14
movl %r14d, %ecx
callq 0xcd18
movl $0x10, %edx
movq 0x38(%rsp), %rdi
movq %r14, %rsi
leaq 0x68af(%rip), %rcx      # 0xce6a
callq 0x22e0
cmpl $0x0, 0x60(%rsp)
movsd 0x8673(%rip), %xmm6     # 0xec40
movapd 0x86ab(%rip), %xmm7     # 0xec80
xorpd %xmm8, %xmm8
movq 0x50(%rsp), %r14
jle 0x690d
movl (%rsp), %r8d
xorl %ecx, %ecx
movq %r8, (%rsp)
movl %ecx, %eax
notl %eax
addl %r14d, %eax
cltq
shlq $0x4, %rax
movq 0x10(%rsp), %rdx
movslq (%rdx,%rax), %rsi
movq %rcx, %rax
shlq $0x4, %rax
movq 0x38(%rsp), %rdx
movslq (%rdx,%rax), %r9
movsd (%rbp,%rsi,8), %xmm0
ucomisd %xmm8, %xmm0
jne 0x6638
jp 0x6638
movsd (%rbp,%r9,8), %xmm1
ucomisd %xmm8, %xmm1
jne 0x6638
jnp 0x6901
ucomisd %xmm6, %xmm0
jne 0x6653
jp 0x6653
movsd (%rbp,%r9,8), %xmm1
ucomisd %xmm6, %xmm1
jne 0x6653
jnp 0x6901
movq 0x28(%rsp), %rax
movq 0x10(%rax), %rdi
movq %rsi, 0x60(%rsp)
movq (%rdi,%rsi,8), %rdx
movl (%rdx), %eax
xorpd %xmm2, %xmm2
xorpd %xmm1, %xmm1
cmpl $-0x1, %eax
je 0x669b
leaq 0x10(%rdx), %r10
movl %eax, %r8d
movslq %r8d, %rsi
movsd -0x8(%rbx,%rsi,8), %xmm3
mulsd -0x8(%r10), %xmm3
addsd %xmm3, %xmm1
movl (%r10), %r8d
addq $0x10, %r10
cmpl $-0x1, %r8d
jne 0x667b
movq (%rdi,%r9,8), %rdi
movl (%rdi), %r10d
cmpl $-0x1, %r10d
je 0x66d3
leaq 0x10(%rdi), %r11
xorpd %xmm2, %xmm2
movl %r10d, %r8d
movslq %r8d, %rsi
movsd -0x8(%rbx,%rsi,8), %xmm3
mulsd -0x8(%r11), %xmm3
addsd %xmm3, %xmm2
movl (%r11), %r8d
addq $0x10, %r11
cmpl $-0x1, %r8d
jne 0x66b3
ucomisd %xmm0, %xmm6
movq (%rsp), %r8
jbe 0x6705
movsd (%rbp,%r9,8), %xmm3
ucomisd %xmm8, %xmm3
jbe 0x6705
movsd 0x855d(%rip), %xmm4     # 0xec50
subsd %xmm2, %xmm4
movapd %xmm1, %xmm5
xorpd %xmm7, %xmm5
ucomisd %xmm4, %xmm5
ja 0x673f
ucomisd %xmm8, %xmm0
jbe 0x6901
movsd (%rbp,%r9,8), %xmm3
ucomisd %xmm3, %xmm6
jbe 0x6901
movsd 0x8527(%rip), %xmm4     # 0xec50
subsd %xmm1, %xmm4
movapd %xmm2, %xmm5
xorpd %xmm7, %xmm5
ucomisd %xmm4, %xmm5
jbe 0x6901
xorpd %xmm4, %xmm4
cmpl $-0x1, %eax
je 0x6789
movl %eax, %r8d
movq %rdi, %r11
movq %rdx, %r14
movl (%r11), %esi
cmpl $-0x1, %esi
je 0x6789
cmpl %esi, %r8d
jne 0x6774
movsd 0x8(%r14), %xmm5
mulsd 0x8(%r11), %xmm5
addsd %xmm5, %xmm4
addq $0x10, %r14
jmp 0x6776
jle 0x677c
addq $0x10, %r11
jmp 0x6780
addq $0x10, %r14
movl (%r14), %r8d
cmpl $-0x1, %r8d
jne 0x6751
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %r11
movsd (%rsi,%r11,8), %xmm5
addsd (%rsi,%r9,8), %xmm5
addsd %xmm4, %xmm4
subsd %xmm4, %xmm5
movapd %xmm5, %xmm4
cmpnlesd %xmm8, %xmm4
andpd %xmm4, %xmm5
movsd 0x8492(%rip), %xmm9     # 0xec50
andnpd %xmm9, %xmm4
orpd %xmm5, %xmm4
subsd %xmm2, %xmm1
divsd %xmm4, %xmm1
movapd %xmm0, %xmm2
subsd %xmm1, %xmm2
movsd %xmm2, (%rbp,%r11,8)
addsd (%rbp,%r9,8), %xmm1
addsd %xmm0, %xmm3
movsd %xmm1, (%rbp,%r9,8)
ucomisd %xmm6, %xmm3
jbe 0x6854
movsd (%rbp,%r11,8), %xmm2
ucomisd %xmm6, %xmm2
movq 0x50(%rsp), %r14
movq (%rsp), %r8
jbe 0x682e
movabsq $0x3ff0000000000000, %rsi # imm = 0x3FF0000000000000
movq %rsi, (%rbp,%r11,8)
movapd %xmm3, %xmm1
addsd 0x7819(%rip), %xmm1     # 0xe040
movsd %xmm1, (%rbp,%r9,8)
ucomisd %xmm6, %xmm1
jbe 0x6898
movabsq $0x3ff0000000000000, %rsi # imm = 0x3FF0000000000000
movq %rsi, (%rbp,%r9,8)
addsd 0x77f5(%rip), %xmm3     # 0xe040
movsd %xmm3, (%rbp,%r11,8)
jmp 0x6898
ucomisd %xmm1, %xmm8
movq 0x50(%rsp), %r14
movq (%rsp), %r8
jbe 0x687a
movq $0x0, (%rbp,%r9,8)
movsd %xmm3, (%rbp,%r11,8)
movapd %xmm3, %xmm1
jmp 0x6881
movsd (%rbp,%r11,8), %xmm1
ucomisd %xmm1, %xmm8
jbe 0x6898
movq $0x0, (%rbp,%r11,8)
movsd %xmm3, (%rbp,%r9,8)
movsd (%rbp,%r11,8), %xmm1
subsd %xmm0, %xmm1
cmpl $-0x1, %eax
je 0x68ce
addq $0x10, %rdx
cltq
movsd -0x8(%rdx), %xmm0
mulsd %xmm1, %xmm0
addsd -0x8(%rbx,%rax,8), %xmm0
movsd %xmm0, -0x8(%rbx,%rax,8)
movl (%rdx), %eax
addq $0x10, %rdx
cmpl $-0x1, %eax
jne 0x68ac
cmpl $-0x1, %r10d
je 0x6901
xorpd %xmm7, %xmm1
addq $0x10, %rdi
movslq %r10d, %rax
movsd -0x8(%rdi), %xmm0
mulsd %xmm1, %xmm0
addsd -0x8(%rbx,%rax,8), %xmm0
movsd %xmm0, -0x8(%rbx,%rax,8)
movl (%rdi), %r10d
addq $0x10, %rdi
cmpl $-0x1, %r10d
jne 0x68dc
incq %rcx
cmpq %r8, %rcx
jne 0x65ef
movq 0x40(%rsp), %r14
leal 0x1(%r14), %ecx
imull $0xcccccccd, %ecx, %eax # imm = 0xCCCCCCCD
rorl %eax
cmpl $0x19999999, %eax       # imm = 0x19999999
movq 0x8(%rsp), %r9
ja 0x6948
leaq 0x8667(%rip), %rdi      # 0xef98
xorl %eax, %eax
movl %ecx, (%rsp)
callq 0x5d62
movl (%rsp), %ecx
xorpd %xmm8, %xmm8
movq 0x8(%rsp), %r9
cmpl $0x3e7, %r14d           # imm = 0x3E7
setb (%rsp)
cmpl $0x3e8, %ecx            # imm = 0x3E8
jne 0x6310
movl $0x3e8, %esi            # imm = 0x3E8
movq 0x30(%rsp), %r15
jmp 0x698f
leaq 0x862a(%rip), %rdi      # 0xef9c
movq 0x40(%rsp), %rsi
xorl %eax, %eax
callq 0x5d62
movq 0x30(%rsp), %r15
jmp 0x69ab
movq 0x30(%rsp), %r15
movq 0x40(%rsp), %rsi
leaq 0x8606(%rip), %rdi      # 0xef9c
xorl %eax, %eax
callq 0x5d62
leaq 0x8c50(%rip), %rdi      # 0xf5f4
xorl %eax, %eax
callq 0x5d62
movq 0x20(%rsp), %rcx
testl %ecx, %ecx
movq 0x8(%rsp), %rdx
xorpd %xmm0, %xmm0
jle 0x69dc
xorl %eax, %eax
movsd (%rbx,%rax,8), %xmm1
mulsd %xmm1, %xmm1
addsd %xmm1, %xmm0
incq %rax
cmpq %rax, %rcx
jne 0x69bf
mulsd 0x8254(%rip), %xmm0     # 0xec30
testl %edx, %edx
jle 0x6ad1
xorl %eax, %eax
xorpd %xmm1, %xmm1
xorl %r14d, %r14d
movsd (%rbp,%rax,8), %xmm2
xorl %ecx, %ecx
ucomisd %xmm1, %xmm2
seta %cl
addl %ecx, %r14d
incq %rax
cmpq %rax, %rdx
jne 0x69ed
leaq 0x85df(%rip), %rdi      # 0xefed
movb $0x1, %al
callq 0x5d62
leaq 0x85e8(%rip), %rdi      # 0xf004
xorl %r15d, %r15d
movl %r14d, %esi
xorl %eax, %eax
callq 0x5d62
movq 0x8(%rsp), %rsi
movq 0x28(%rsp), %rax
movq 0x10(%rax), %rax
movsd 0x75f1(%rip), %xmm1     # 0xe030
movsd 0x8391(%rip), %xmm0     # 0xedd8
pxor %xmm4, %xmm4
pxor %xmm2, %xmm2
pxor %xmm3, %xmm3
movsd 0x81e5(%rip), %xmm7     # 0xec40
movq (%rax,%r15,8), %rcx
movl (%rcx), %edx
pxor %xmm5, %xmm5
cmpl $-0x1, %edx
je 0x6a8b
addq $0x10, %rcx
movslq %edx, %rdx
movsd -0x8(%rbx,%rdx,8), %xmm6
mulsd -0x8(%rcx), %xmm6
addsd %xmm6, %xmm5
movl (%rcx), %edx
addq $0x10, %rcx
cmpl $-0x1, %edx
jne 0x6a6e
movsd (%rbp,%r15,8), %xmm6
ucomisd %xmm7, %xmm6
jne 0x6aa0
jp 0x6aa0
maxsd %xmm5, %xmm0
jmp 0x6ab6
ucomisd %xmm4, %xmm6
jne 0x6aae
jp 0x6aae
minsd %xmm5, %xmm1
jmp 0x6ab6
addsd %xmm7, %xmm3
addsd %xmm5, %xmm2
incq %r15
cmpq %rsi, %r15
jne 0x6a5b
addsd %xmm0, %xmm1
mulsd 0x8166(%rip), %xmm1     # 0xec30
movq 0x30(%rsp), %r15
jmp 0x6aff
leaq 0x8515(%rip), %rdi      # 0xefed
movb $0x1, %al
callq 0x5d62
leaq 0x851e(%rip), %rdi      # 0xf004
xorl %esi, %esi
xorl %eax, %eax
callq 0x5d62
movsd 0x82e9(%rip), %xmm1     # 0xede0
pxor %xmm3, %xmm3
pxor %xmm2, %xmm2
divsd %xmm3, %xmm2
xorpd %xmm0, %xmm0
cmpltsd %xmm3, %xmm0
andpd %xmm0, %xmm2
andnpd %xmm1, %xmm0
orpd %xmm2, %xmm0
movlpd %xmm0, 0x70(%r15)
leaq 0x8afd(%rip), %rdi      # 0xf622
movb $0x1, %al
callq 0x5d62
movq 0x58(%rsp), %rdi
callq 0x21e0
movq %r12, %rdi
callq 0x21e0
movq %r13, %rdi
callq 0x21e0
movq %rbp, %rdi
callq 0x21e0
movq 0x10(%rsp), %rdi
callq 0x21e0
movq 0x38(%rsp), %rdi
callq 0x21e0
jmp 0x7621
xorl %r9d, %r9d
jmp 0x6b71
movq 0x48(%rsp), %r13
movslq %r9d, %rbx
leaq (,%rbx,4), %r12
movq %r12, %rdi
movl %r9d, %r14d
callq 0x21f0
movl %r14d, %r9d
movq %rbx, %r8
movq %rax, %r15
movl $0x0, (%rax)
cmpl $0x2, %r8d
movq 0x10(%rsp), %r10
jl 0x6bbc
movl %r9d, %eax
decq %rax
xorl %ecx, %ecx
xorl %edx, %edx
addl (%r10,%rcx,4), %edx
movl %edx, 0x4(%r15,%rcx,4)
incq %rcx
cmpq %rcx, %rax
jne 0x6bab
movq 0x8(%rsp), %rsi
testl %esi, %esi
movq 0x38(%rsp), %rdi
jle 0x6be7
xorl %eax, %eax
movslq (%rdi,%rax,4), %rcx
movslq (%r15,%rcx,4), %rdx
movl %eax, (%r13,%rdx,4)
incl %edx
movl %edx, (%r15,%rcx,4)
incq %rax
cmpq %rax, %rsi
jne 0x6bcc
movq %r8, 0x40(%rsp)
movl $0x0, (%r15)
cmpl $0x2, %r9d
jl 0x6c14
movl %r9d, %eax
decq %rax
xorl %ecx, %ecx
xorl %edx, %edx
addl (%r10,%rcx,4), %edx
movl %edx, 0x4(%r15,%rcx,4)
incq %rcx
cmpq %rcx, %rax
jne 0x6c03
callq 0x21a0
movq 0x30(%rsp), %rbx
movl %r14d, 0x50(%rbx)
movq %r12, %rdi
callq 0x21f0
movq %rax, 0x60(%rbx)
testl %r14d, %r14d
jle 0x6d06
movl %r14d, %ebx
xorl %ecx, %ecx
movq 0x40(%rsp), %rsi
movl (%rbp,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
incq %rcx
cmpq %rcx, %rbx
jne 0x6c41
leaq (,%rsi,8), %rdi
callq 0x21f0
movl %r14d, %r8d
testl %r14d, %r14d
jle 0x6d1b
movq (%rsp), %rsi
movsd 0x10(%rsi), %xmm0
leal 0x1(%rbx), %edi
decq %rbx
movq %rbx, %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
shrl %edi
shlq $0x4, %rdi
movdqa 0x81d0(%rip), %xmm2     # 0xee60
xorl %ecx, %ecx
movdqa 0x81d6(%rip), %xmm3     # 0xee70
pxor %xmm3, %xmm1
pcmpeqd %xmm4, %xmm4
movdqa 0x81d6(%rip), %xmm5     # 0xee80
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 0x6ce3
movsd %xmm0, (%rax,%rcx)
pxor %xmm4, %xmm6
pextrw $0x4, %xmm6, %edx
testb $0x1, %dl
je 0x6cf7
movsd %xmm0, 0x8(%rax,%rcx)
paddq %xmm5, %xmm2
addq $0x10, %rcx
cmpq %rcx, %rdi
jne 0x6caa
jmp 0x6d1f
movq 0x40(%rsp), %rax
leaq (,%rax,8), %rdi
callq 0x21f0
movl %r14d, %r8d
movq (%rsp), %rsi
movl 0x18(%rsi), %edi
testl %edi, %edi
movq %rax, 0x18(%rsp)
jle 0x6db5
movl %r8d, %ebx
leaq 0x82d5(%rip), %r12      # 0xf00e
xorl %r13d, %r13d
movl $0x0, %ecx
testl %r8d, %r8d
jle 0x6d60
movq 0x20(%rsi), %rcx
movl (%rcx,%r13,4), %edx
xorl %ecx, %ecx
cmpl (%rbp,%rcx,4), %edx
je 0x6d60
incq %rcx
cmpq %rcx, %rbx
jne 0x6d50
jmp 0x6d88
cmpl %r8d, %ecx
je 0x6d88
movq 0x28(%rsi), %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 0x6d3c
jmp 0x6db5
movq 0xc251(%rip), %rax      # 0x12fe0
movq (%rax), %rdi
movq 0x20(%rsi), %rax
movl (%rax,%r13,4), %edx
movq %r12, %rsi
xorl %eax, %eax
callq 0x2220
movl %r14d, %r8d
movq 0x18(%rsp), %rax
movq (%rsp), %rsi
movl 0x18(%rsi), %edi
jmp 0x6d7b
movq 0x58(%rsp), %r12
shlq $0x3, %r12
movq %r12, %rdi
callq 0x21f0
movq %rax, %r13
movq 0x8(%rsp), %rsi
testl %esi, %esi
movq 0x48(%rsp), %rbx
jle 0x6df7
movq 0x28(%rsp), %rax
movq 0x10(%rax), %rax
xorl %ecx, %ecx
movslq (%rbx,%rcx,4), %rdx
movq (%rax,%rdx,8), %rdx
movq %rdx, (%r13,%rcx,8)
incq %rcx
cmpq %rcx, %rsi
jne 0x6de2
movl %esi, 0x68(%rsp)
movq 0x20(%rsp), %rax
movl %eax, 0x6c(%rsp)
movq %r12, %rdi
callq 0x21f0
movq %rax, 0x78(%rsp)
movq %r12, %rdi
callq 0x21f0
movq 0x8(%rsp), %rsi
movq %rax, 0x70(%rsp)
testl %esi, %esi
jle 0x6e3f
xorl %eax, %eax
movq (%r13,%rax,8), %rcx
movq 0x78(%rsp), %rdx
movq %rcx, (%rdx,%rax,8)
incq %rax
cmpq %rax, %rsi
jne 0x6e29
movq (%rsp), %rax
cmpl $0x4, (%rax)
movl %r14d, %eax
movq %r15, 0x60(%rsp)
jne 0x6f65
imull 0x20(%rsp), %eax
movslq %eax, %rdi
shlq $0x3, %rdi
callq 0x21f0
movq %rax, %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0x28(%rsp)
movq %rcx, 0x58(%rax)
testl %r14d, %r14d
jle 0x740e
movq 0x70(%rsp), %rcx
movl %r14d, %eax
addq $0x8, %rcx
xorl %edx, %edx
movdqa 0x7fcb(%rip), %xmm0     # 0xee60
movdqa 0x7fd3(%rip), %xmm1     # 0xee70
pcmpeqd %xmm2, %xmm2
movq 0x10(%rsp), %r10
movl (%r10,%rdx,4), %esi
testl %esi, %esi
jle 0x6f54
xorps %xmm3, %xmm3
cvtsi2sd %edx, %xmm3
movslq (%r15,%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 0x6f35
movsd %xmm3, -0x8(%rdi,%r8,8)
pxor %xmm2, %xmm5
pextrw $0x4, %xmm5, %r9d
testb $0x1, %r9b
je 0x6f4b
movsd %xmm3, (%rdi,%r8,8)
addq $0x2, %r8
cmpq %r8, %rsi
jne 0x6ef0
incq %rdx
cmpq %rax, %rdx
jne 0x6ea6
jmp 0x7411
cmpl $0x2, %eax
jne 0x7047
movq 0x50(%rsp), %rdi
shlq $0x3, %rdi
callq 0x21f0
movq %rax, %r14
movq 0x30(%rsp), %r15
movq %rax, 0x58(%r15)
movq 0x10(%rsp), %rax
movslq (%rax), %rax
testq %rax, %rax
jle 0x74ae
movq 0x70(%rsp), %rcx
leal 0x1(%rax), %edx
movq %rax, %rsi
decq %rsi
movq %rsi, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
shrl %edx
shlq $0x4, %rdx
movdqa 0x7ea1(%rip), %xmm1     # 0xee60
xorl %esi, %esi
movdqa 0x7ea7(%rip), %xmm2     # 0xee70
pxor %xmm2, %xmm0
movabsq $0x3ff0000000000000, %rdi # imm = 0x3FF0000000000000
pcmpeqd %xmm3, %xmm3
movdqa 0x7e9d(%rip), %xmm4     # 0xee80
movq 0x8(%rsp), %r9
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, %r8d
notl %r8d
testb $0x1, %r8b
je 0x7020
movq %rdi, (%rcx,%rsi)
pxor %xmm3, %xmm5
pextrw $0x4, %xmm5, %r8d
testb $0x1, %r8b
je 0x7035
movq %rdi, 0x8(%rcx,%rsi)
paddq %xmm4, %xmm1
addq $0x10, %rsi
cmpq %rsi, %rdx
jne 0x6fe8
jmp 0x74b5
movq %r13, 0x88(%rsp)
movq 0x20(%rsp), %rbx
imull %ebx, %eax
movslq %eax, %rdi
shlq $0x3, %rdi
callq 0x21f0
movq %rax, %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0x28(%rsp)
movq %rcx, 0x58(%rax)
movq 0x50(%rsp), %rdi
shlq $0x3, %rdi
callq 0x21f0
movl %r14d, %edx
movq %rax, %r14
testl %edx, %edx
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %r9
movq 0x40(%rsp), %r10
jle 0x73ef
leaq (,%rbx,8), %rcx
movq %rcx, 0x58(%rsp)
movl %edx, %ecx
shlq $0x3, %r10
movq %rcx, 0x38(%rsp)
leaq (,%rcx,8), %r15
xorl %r11d, %r11d
movdqa 0x7d96(%rip), %xmm5     # 0xee60
movdqa 0x7d9e(%rip), %xmm6     # 0xee70
movabsq $-0x4010000000000000, %r12 # imm = 0xBFF0000000000000
pcmpeqd %xmm7, %xmm7
movdqa 0x7d97(%rip), %xmm8     # 0xee80
movabsq $0x3ff0000000000000, %r13 # imm = 0x3FF0000000000000
xorl %ebx, %ebx
movq %r10, 0x40(%rsp)
movq 0x60(%rsp), %rcx
movslq (%rcx,%rbx,4), %rcx
movl (%rax,%rbx,4), %eax
addl %ecx, %eax
movl $0x0, %edx
testq %rcx, %rcx
jle 0x719b
movq 0x70(%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 0x7176
movq %r12, (%rdx,%rdi)
pxor %xmm7, %xmm2
pextrw $0x4, %xmm2, %r8d
testb $0x1, %r8b
je 0x718b
movq %r12, 0x8(%rdx,%rdi)
paddq %xmm8, %xmm1
addq $0x10, %rdi
cmpq %rdi, %rsi
jne 0x713e
movl %ecx, %edx
cmpl %eax, %edx
jge 0x7231
movq 0x70(%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 0x7213
movq %r13, -0x8(%rdx,%rsi,8)
pxor %xmm7, %xmm1
pextrw $0x4, %xmm1, %edi
testb $0x1, %dil
je 0x7226
movq %r13, (%rdx,%rsi,8)
addq $0x2, %rsi
cmpq %rsi, %rcx
jne 0x71d2
movl %eax, %edx
movl 0x68(%rsp), %ecx
cmpl %ecx, %edx
jge 0x72c9
movq 0x70(%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 0x72ad
movq %r12, -0x8(%rcx,%rdx,8)
pxor %xmm7, %xmm1
pextrw $0x4, %xmm1, %esi
testb $0x1, %sil
je 0x72c0
movq %r12, (%rcx,%rdx,8)
addq $0x2, %rdx
cmpq %rdx, %rax
jne 0x7264
movq (%rsp), %rsi
movq 0x40(%rsi), %rax
testq %rax, %rax
movq %r11, 0x8(%rsp)
je 0x732f
movq 0x20(%rsp), %rdx
testl %edx, %edx
jle 0x738b
addq %r11, %rax
xorl %ecx, %ecx
movq 0x40(%rsp), %rdi
movsd (%rax), %xmm0
movsd %xmm0, (%r14,%rcx,8)
incq %rcx
addq %rdi, %rax
cmpq %rcx, %rdx
jne 0x72f2
movsd (%r9,%rbx,8), %xmm0
movsd 0x10(%rsi), %xmm1
leaq 0x68(%rsp), %rdi
movq %r14, %rdx
callq 0x7668
movq 0x20(%rsp), %rdx
testl %edx, %edx
movq 0x28(%rsp), %rsi
jg 0x736f
jmp 0x73a8
cmpl $0x0, 0x20(%rsp)
jle 0x738b
movq %r14, %rdi
xorl %esi, %esi
movq 0x58(%rsp), %rdx
callq 0x20c0
movq 0x18(%rsp), %rax
movsd (%rax,%rbx,8), %xmm0
movq (%rsp), %rsi
movsd 0x10(%rsi), %xmm1
leaq 0x68(%rsp), %rdi
movq %r14, %rdx
callq 0x7668
movq 0x20(%rsp), %rdx
movq 0x28(%rsp), %rsi
movq %rsi, %rax
xorl %ecx, %ecx
movsd (%r14,%rcx,8), %xmm0
movsd %xmm0, (%rax)
incq %rcx
addq %r15, %rax
cmpq %rcx, %rdx
jne 0x7374
jmp 0x73a8
movsd (%r9,%rbx,8), %xmm0
movsd 0x10(%rsi), %xmm1
leaq 0x68(%rsp), %rdi
movq %r14, %rdx
callq 0x7668
movq 0x28(%rsp), %rsi
incq %rbx
movq 0x8(%rsp), %r11
addq $0x8, %r11
addq $0x8, %rsi
movq %rsi, 0x28(%rsp)
cmpq 0x38(%rsp), %rbx
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %r9
movdqa 0x7a8c(%rip), %xmm5     # 0xee60
movdqa 0x7a94(%rip), %xmm6     # 0xee70
pcmpeqd %xmm7, %xmm7
movdqa 0x7a97(%rip), %xmm8     # 0xee80
jne 0x70fa
movq %r14, %rdi
callq 0x21a0
movq 0x30(%rsp), %r15
movq 0x48(%rsp), %rbx
movq 0x88(%rsp), %r13
jmp 0x75d7
movl %r14d, %eax
movq (%rsp), %rcx
movsd 0x8(%rcx), %xmm0
leaq 0x90(%rsp), %r12
movq 0x20(%rsp), %rcx
movl %ecx, 0x18(%r12)
movq 0x8(%rsp), %rcx
movl %ecx, 0x1c(%r12)
movl %r14d, 0x20(%r12)
movsd %xmm0, 0x28(%r12)
movl $0x186a0, 0x24(%r12)    # imm = 0x186A0
leaq 0x68(%rsp), %rcx
movq %rcx, 0x30(%r12)
shlq $0x3, %rax
testl %r14d, %r14d
movq $-0x1, %r14
cmovnsq %rax, %r14
movq %r14, %rdi
callq 0x2030
movq %rax, (%r12)
movq %r14, %rdi
callq 0x2030
movq %rax, 0x10(%r12)
movq 0x18(%rsp), %rax
movq %rax, 0x8(%r12)
movq %r12, %rdi
movq 0x28(%rsp), %rsi
callq 0x5028
leaq 0x90(%rsp), %rdi
callq 0x4e46
movq 0x30(%rsp), %r15
jmp 0x75d7
xorl %eax, %eax
movq 0x8(%rsp), %r9
cmpl %r9d, %eax
jge 0x7566
movq 0x70(%rsp), %rcx
movl %eax, %edx
subq %rdx, %r9
leaq 0x1(%r9), %rax
andq $-0x2, %rax
decq %r9
movq %r9, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
leaq (%rcx,%rdx,8), %rcx
addq $0x8, %rcx
xorl %edx, %edx
movdqa 0x7971(%rip), %xmm1     # 0xee60
movdqa 0x7979(%rip), %xmm2     # 0xee70
pxor %xmm2, %xmm0
movabsq $-0x4010000000000000, %rsi # imm = 0xBFF0000000000000
pcmpeqd %xmm3, %xmm3
movq %rdx, %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, %edi
notl %edi
testb $0x1, %dil
je 0x754a
movq %rsi, -0x8(%rcx,%rdx,8)
pxor %xmm3, %xmm4
pextrw $0x4, %xmm4, %edi
testb $0x1, %dil
je 0x755d
movq %rsi, (%rcx,%rdx,8)
addq $0x2, %rdx
cmpq %rdx, %rax
jne 0x7509
movq (%rsp), %rsi
movq 0x40(%rsi), %rax
testq %rax, %rax
je 0x7598
movq 0x20(%rsp), %rdx
testl %edx, %edx
movq 0x18(%rsp), %rdi
jle 0x75c1
xorl %ecx, %ecx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%r14,%rcx,8)
incq %rcx
cmpq %rcx, %rdx
jne 0x7583
jmp 0x75c1
movq 0x20(%rsp), %rax
testl %eax, %eax
movq 0x18(%rsp), %rdi
jle 0x75c1
leaq (,%rax,8), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x20c0
movq 0x18(%rsp), %rdi
movq (%rsp), %rsi
movsd (%rdi), %xmm0
movsd 0x8(%rdi), %xmm1
leaq 0x68(%rsp), %rdi
movq %r14, %rdx
callq 0x7668
movq %r13, %rdi
callq 0x21a0
movq %rbp, %rdi
callq 0x21a0
movq 0x60(%rsp), %rdi
callq 0x21a0
movq 0x10(%rsp), %rdi
callq 0x21a0
movq %rbx, %rdi
callq 0x21a0
movq 0x78(%rsp), %rdi
callq 0x21a0
movq 0x70(%rsp), %rdi
callq 0x21a0
movq 0x18(%rsp), %rdi
callq 0x21a0
movq %r15, %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0x4e46
movq %rbx, %rdi
callq 0x2290