// File: /workspace/github_c_makefile_star2_O3/jiqingxiaoxi[P]RPA/RPA.c
// Function: design_probe
struct ExoProbe *design_probe(struct Primer *F,struct Primer *R,struct ExoProbe *Probe,int *result,int flag[],int common_num,char *seq,double stackEntropies[],double stackEnthalpies[],double stackint2Entropies[],double stackint2Enthalpies[],double dangleEntropies3[],double dangleEnthalpies3[],double dangleEntropies5[],double dangleEnthalpies5[],double hairpinLoopEntropies[],double interiorLoopEntropies[],double bulgeLoopEntropies[],double hairpinLoopEnthalpies[],double interiorLoopEnthalpies[],double bulgeLoopEnthalpies[],double tstackEntropies[],double tstackEnthalpies[],double tstack2Entropies[],double tstack2Enthalpies[],char *triloopEntropies1,char *triloopEnthalpies1,char *tetraloopEntropies1,char *tetraloopEnthalpies1,double *triloopEntropies2,double *triloopEnthalpies2,double *tetraloopEntropies2,double *tetraloopEnthalpies2,int numTriloops,int numTetraloops,double atpS[],double atpH[])
{
	int success,best_overlap,overlap,best_Ts,Ts;
	float best_G;
	struct ExoProbe *p_Probe,*storeProbe;
	char primer_F[60],primer_R[60],probe_seq[60];
	
	best_overlap=9999;
	best_Ts=999;
	best_G=9999;

	if(flag[7])
	{
		generate_primer(seq,primer_F,F->pos,F->len,0);
		generate_primer(seq,primer_R,R->pos,R->len,1);
	}
//no overlap
	storeProbe=NULL;
	p_Probe=Probe;
	while(p_Probe)
	{
		if(p_Probe->pos<F->pos)
		{
			p_Probe=p_Probe->next;
			continue;
		}
		if(p_Probe->pos>R->pos)
			break;
	//Overlap
		if(p_Probe->strand==0) //plus
		{
			if(p_Probe->pos+p_Probe->len>R->pos)
			{
				p_Probe=p_Probe->next;
				continue;
			}
			if(F->pos+F->len<=p_Probe->pos)
				overlap=0;
			else
				overlap=F->pos+F->len-p_Probe->pos;
		}
		else
		{
			if(F->pos+F->len>p_Probe->pos)
			{
				p_Probe=p_Probe->next;
				continue;
			}
			if(p_Probe->pos+p_Probe->len>R->pos+R->len)
			{
				p_Probe=p_Probe->next;
				continue;
			}
			if(p_Probe->pos+p_Probe->len<=R->pos)
				overlap=0;
			else
				overlap=p_Probe->pos+p_Probe->len-R->pos;
		}
		if((overlap>27)||(overlap>best_overlap))
		{
			p_Probe=p_Probe->next;
			continue;
		}
		if(overlap<best_overlap)
		{
		//design
		//check_specific
			if(flag[6])
			{
				success=check_uniqProbe(F,R,p_Probe);
				if(success==0)
				{
					p_Probe=p_Probe->next;
					continue;
				}
			}
		//check_common
			if(flag[5])
			{
				success=check_common_probe(F,R,p_Probe,result,common_num);
				if(success==0)
				{
					p_Probe=p_Probe->next;
					continue;
				}
			}
		//check_structure
			if(flag[7])
			{
				generate_primer(seq,probe_seq,p_Probe->pos,p_Probe->len,p_Probe->strand);
				success=check_structure(primer_F,probe_seq,F->Tm,p_Probe->Tm,stackEntropies,stackEnthalpies,stackint2Entropies,stackint2Enthalpies,dangleEntropies3,dangleEnthalpies3,dangleEntropies5,dangleEnthalpies5,hairpinLoopEntropies,interiorLoopEntropies,bulgeLoopEntropies,hairpinLoopEnthalpies,interiorLoopEnthalpies,bulgeLoopEnthalpies,tstackEntropies,tstackEnthalpies,tstack2Entropies,tstack2Enthalpies,triloopEntropies1,triloopEnthalpies1,tetraloopEntropies1,tetraloopEnthalpies1,triloopEntropies2,triloopEnthalpies2,tetraloopEntropies2,tetraloopEnthalpies2,numTriloops,numTetraloops,atpS,atpH);
                                if(success==0)
                                {
                                        p_Probe=p_Probe->next;
                                        continue;
                                }
				success=check_structure(probe_seq,primer_R,p_Probe->Tm,R->Tm,stackEntropies,stackEnthalpies,stackint2Entropies,stackint2Enthalpies,dangleEntropies3,dangleEnthalpies3,dangleEntropies5,dangleEnthalpies5,hairpinLoopEntropies,interiorLoopEntropies,bulgeLoopEntropies,hairpinLoopEnthalpies,interiorLoopEnthalpies,bulgeLoopEnthalpies,tstackEntropies,tstackEnthalpies,tstack2Entropies,tstack2Enthalpies,triloopEntropies1,triloopEnthalpies1,tetraloopEntropies1,tetraloopEnthalpies1,triloopEntropies2,triloopEnthalpies2,tetraloopEntropies2,tetraloopEnthalpies2,numTriloops,numTetraloops,atpS,atpH);
				if(success==0)
				{
					p_Probe=p_Probe->next;
					continue;
				}
                        }
			storeProbe=p_Probe;
			best_overlap=overlap;
			best_G=p_Probe->G_content;
			best_Ts=p_Probe->len;
			p_Probe=p_Probe->next;
			continue;
		}
		//overlap==best_overlap
		if(p_Probe->G_content>best_G)
		{
			p_Probe=p_Probe->next;
			continue;
		}
		if(p_Probe->G_content<best_G)
		{
		//design
			//check_specific
                        if(flag[6])
                        {
                                success=check_uniqProbe(F,R,p_Probe);                                            
                                if(success==0)
                                {
                                        p_Probe=p_Probe->next;
                                        continue;
                                }
                        }
		//check_common
                        if(flag[5])
                        {
                                success=check_common_probe(F,R,p_Probe,result,common_num);
                                if(success==0)
                                {
                                        p_Probe=p_Probe->next;
                                        continue;
                                }
                        }
                //check_structure
                        if(flag[7])
                        {
                                generate_primer(seq,probe_seq,p_Probe->pos,p_Probe->len,p_Probe->strand);
				success=check_structure(primer_F,probe_seq,F->Tm,p_Probe->Tm,stackEntropies,stackEnthalpies,stackint2Entropies,stackint2Enthalpies,dangleEntropies3,dangleEnthalpies3,dangleEntropies5,dangleEnthalpies5,hairpinLoopEntropies,interiorLoopEntropies,bulgeLoopEntropies,hairpinLoopEnthalpies,interiorLoopEnthalpies,bulgeLoopEnthalpies,tstackEntropies,tstackEnthalpies,tstack2Entropies,tstack2Enthalpies,triloopEntropies1,triloopEnthalpies1,tetraloopEntropies1,tetraloopEnthalpies1,triloopEntropies2,triloopEnthalpies2,tetraloopEntropies2,tetraloopEnthalpies2,numTriloops,numTetraloops,atpS,atpH);
                                if(success==0)
                                {
                                        p_Probe=p_Probe->next;
                                        continue;
                                }
				success=check_structure(probe_seq,primer_R,p_Probe->Tm,R->Tm,stackEntropies,stackEnthalpies,stackint2Entropies,stackint2Enthalpies,dangleEntropies3,dangleEnthalpies3,dangleEntropies5,dangleEnthalpies5,hairpinLoopEntropies,interiorLoopEntropies,bulgeLoopEntropies,hairpinLoopEnthalpies,interiorLoopEnthalpies,bulgeLoopEnthalpies,tstackEntropies,tstackEnthalpies,tstack2Entropies,tstack2Enthalpies,triloopEntropies1,triloopEnthalpies1,tetraloopEntropies1,tetraloopEnthalpies1,triloopEntropies2,triloopEnthalpies2,tetraloopEntropies2,tetraloopEnthalpies2,numTriloops,numTetraloops,atpS,atpH);
                                if(success==0)
                                {
                                        p_Probe=p_Probe->next;
                                        continue;
                                }
                        }
                        storeProbe=p_Probe;
                        best_G=p_Probe->G_content;
                        best_Ts=p_Probe->len;
                        p_Probe=p_Probe->next;
                        continue;
		}

	//equal G-content
		if((best_Ts<=47)||(best_Ts<=p_Probe->len))
		{
			p_Probe=p_Probe->next;
			continue;
		}
	//check_specific
		if(flag[6])
		{
			success=check_uniqProbe(F,R,p_Probe);                                            
			if(success==0)
			{
				p_Probe=p_Probe->next;
				continue;
			}
		}
	//check_common
		if(flag[5])
		{
			success=check_common_probe(F,R,p_Probe,result,common_num);
			if(success==0)
			{
				p_Probe=p_Probe->next;
				continue;
			}
		}
		//check_structure
		if(flag[7])
		{
			generate_primer(seq,probe_seq,p_Probe->pos,p_Probe->len,p_Probe->strand);
			success=check_structure(primer_F,probe_seq,F->Tm,p_Probe->Tm,stackEntropies,stackEnthalpies,stackint2Entropies,stackint2Enthalpies,dangleEntropies3,dangleEnthalpies3,dangleEntropies5,dangleEnthalpies5,hairpinLoopEntropies,interiorLoopEntropies,bulgeLoopEntropies,hairpinLoopEnthalpies,interiorLoopEnthalpies,bulgeLoopEnthalpies,tstackEntropies,tstackEnthalpies,tstack2Entropies,tstack2Enthalpies,triloopEntropies1,triloopEnthalpies1,tetraloopEntropies1,tetraloopEnthalpies1,triloopEntropies2,triloopEnthalpies2,tetraloopEntropies2,tetraloopEnthalpies2,numTriloops,numTetraloops,atpS,atpH);
			if(success==0)
                        {
				p_Probe=p_Probe->next;
                       	        continue;
                       	}
			success=check_structure(probe_seq,primer_R,p_Probe->Tm,R->Tm,stackEntropies,stackEnthalpies,stackint2Entropies,stackint2Enthalpies,dangleEntropies3,dangleEnthalpies3,dangleEntropies5,dangleEnthalpies5,hairpinLoopEntropies,interiorLoopEntropies,bulgeLoopEntropies,hairpinLoopEnthalpies,interiorLoopEnthalpies,bulgeLoopEnthalpies,tstackEntropies,tstackEnthalpies,tstack2Entropies,tstack2Enthalpies,triloopEntropies1,triloopEnthalpies1,tetraloopEntropies1,tetraloopEnthalpies1,triloopEntropies2,triloopEnthalpies2,tetraloopEntropies2,tetraloopEnthalpies2,numTriloops,numTetraloops,atpS,atpH);
			if(success==0)
			{
				p_Probe=p_Probe->next;
				continue;
			}
		}
		storeProbe=p_Probe;
		best_Ts=p_Probe->len;
		p_Probe=p_Probe->next;
	}
	return storeProbe;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movl %r9d, -0x48(%rbp)
movq %rcx, -0x60(%rbp)
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
movq 0x10(%rbp), %r15
movq %r8, -0x40(%rbp)
cmpl $0x0, 0x1c(%r8)
je 0xcf40
movslq 0x4(%rbx), %r14
testq %r14, %r14
jle 0xceaa
movslq (%rbx), %rsi
addq %r15, %rsi
leaq -0x120(%rbp), %rdi
movq %r14, %rdx
callq 0x1180
jmp 0xcead
xorl %r14d, %r14d
movb $0x0, -0x120(%rbp,%r14)
movslq 0x4(%r13), %rax
testq %rax, %rax
jle 0xcf38
movl (%r13), %edx
movq %rax, %rcx
negq %rcx
addl %eax, %edx
decl %edx
xorl %esi, %esi
movabsq $0x100000001, %rdi      # imm = 0x100000001
movabsq $0x400000004, %r8       # imm = 0x400000004
movabsq $0x8000000080000, %r9   # imm = 0x8000000080000
movslq %edx, %r10
movzbl (%r15,%r10), %r10d
addl $-0x41, %r10d
cmpl $0x33, %r10d
ja 0xcf20
btq %r10, %rdi
jb 0xcf1b
btq %r10, %r8
jb 0xcf16
btq %r10, %r9
jae 0xcf20
movb $0x41, %r10b
jmp 0xcf23
movb $0x47, %r10b
jmp 0xcf23
movb $0x54, %r10b
jmp 0xcf23
movb $0x43, %r10b
movb %r10b, -0xe0(%rbp,%rsi)
incq %rsi
decl %edx
movq %rcx, %r10
addq %rsi, %r10
jne 0xceed
movb $0x0, -0xe0(%rbp,%rax)
xorl %esi, %esi
testq %r12, %r12
je 0xd858
movl 0xe8(%rbp), %r8d
movq 0xd8(%rbp), %r10
movq 0xd0(%rbp), %r11
movss 0x119c(%rip), %xmm1     # 0xe104
movl $0x270f, %r9d           # imm = 0x270F
movl $0x3e7, -0x44(%rbp)     # imm = 0x3E7
movq $0x0, -0x58(%rbp)
movq %r13, -0x50(%rbp)
movl (%r12), %eax
movl (%rbx), %r15d
cmpl %r15d, %eax
jl 0xcfef
movl (%r13), %ecx
cmpl %ecx, %eax
jg 0xd860
cmpl $0x0, 0x8(%r12)
je 0xcfc6
addl 0x4(%rbx), %r15d
cmpl %eax, %r15d
jg 0xcfef
movl 0x4(%r12), %r14d
addl %r14d, %eax
movl 0x4(%r13), %edx
addl %ecx, %edx
cmpl %edx, %eax
jg 0xcfef
subl %ecx, %eax
cmovlel %esi, %eax
movl %eax, %r15d
jmp 0xcfde
movl 0x4(%r12), %r14d
leal (%r14,%rax), %edx
cmpl %ecx, %edx
jg 0xcfef
addl 0x4(%rbx), %r15d
subl %eax, %r15d
cmovlel %esi, %r15d
cmpl $0x1c, %r15d
setge %al
cmpl %r9d, %r15d
setg %cl
orb %al, %cl
je 0xcffe
movq 0x18(%r12), %r12
testq %r12, %r12
jne 0xcf81
jmp 0xd860
cmpl %r9d, %r15d
jge 0xd2b3
movq -0x40(%rbp), %rax
cmpl $0x0, 0x18(%rax)
movss %xmm1, -0x30(%rbp)
movl %r9d, -0x2c(%rbp)
je 0xd056
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %r8, %r13
movq %rbx, -0x38(%rbp)
movq %r10, %r14
callq 0xccac
movl -0x2c(%rbp), %r9d
movss -0x30(%rbp), %xmm1
movq 0xd0(%rbp), %r11
movq %r14, %r10
movq -0x38(%rbp), %rbx
movq %r13, %r8
movq -0x50(%rbp), %r13
xorl %esi, %esi
testl %eax, %eax
je 0xcfef
movq -0x40(%rbp), %rax
cmpl $0x0, 0x14(%rax)
je 0xd0a1
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq -0x60(%rbp), %rcx
movl -0x48(%rbp), %r8d
movq %r10, %r13
callq 0xc955
movl -0x2c(%rbp), %r9d
movss -0x30(%rbp), %xmm1
movq 0xd0(%rbp), %r11
movq %r13, %r10
movl 0xe8(%rbp), %r8d
movq -0x50(%rbp), %r13
xorl %esi, %esi
testl %eax, %eax
je 0xcfef
movq -0x40(%rbp), %rax
cmpl $0x0, 0x1c(%rax)
je 0xd7fd
movl (%r12), %edx
movl 0x4(%r12), %ecx
movl 0x8(%r12), %r8d
movq 0x10(%rbp), %rdi
leaq -0xa0(%rbp), %r14
movq %r14, %rsi
callq 0x966d
movss 0x18(%rbx), %xmm0
movss 0x10(%r12), %xmm1
leaq -0x120(%rbp), %rdi
movq %r14, %rsi
movss %xmm1, -0x38(%rbp)
movq 0x18(%rbp), %rdx
movq 0x20(%rbp), %rcx
movq 0x28(%rbp), %r8
movq 0x30(%rbp), %r9
movq 0x100(%rbp), %r14
pushq %r14
movq 0xf8(%rbp), %rax
pushq %rax
movl 0xf0(%rbp), %eax
pushq %rax
movl 0xe8(%rbp), %eax
pushq %rax
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
pushq 0xd0(%rbp)
movq 0xc8(%rbp), %r14
pushq %r14
movq 0xc0(%rbp), %rax
pushq %rax
movq 0xb8(%rbp), %r14
pushq %r14
movq 0xb0(%rbp), %rax
pushq %rax
movq 0xa8(%rbp), %r14
pushq %r14
movq 0xa0(%rbp), %rax
pushq %rax
movq 0x98(%rbp), %r14
pushq %r14
movq 0x90(%rbp), %rax
pushq %rax
movq 0x88(%rbp), %r14
pushq %r14
movq 0x80(%rbp), %rax
pushq %rax
movq 0x78(%rbp), %r14
pushq %r14
movq 0x70(%rbp), %r14
pushq %r14
movq 0x68(%rbp), %r14
pushq %r14
movq 0x60(%rbp), %r14
pushq %r14
movq 0x58(%rbp), %r14
pushq %r14
movq 0x50(%rbp), %rax
pushq %rax
movq 0x48(%rbp), %rax
pushq %rax
movq 0x40(%rbp), %rax
pushq %rax
movq 0x38(%rbp), %rax
pushq %rax
callq 0x975a
addq $0xd0, %rsp
testl %eax, %eax
je 0xd822
movss 0x18(%r13), %xmm1
leaq -0xa0(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
movss -0x38(%rbp), %xmm0
movq 0x18(%rbp), %rdx
movq 0x20(%rbp), %rcx
movq 0x28(%rbp), %r8
movq 0x30(%rbp), %r9
pushq 0x100(%rbp)
pushq 0xf8(%rbp)
movl 0xf0(%rbp), %eax
pushq %rax
movq %r14, %r10
movl 0xe8(%rbp), %r14d
pushq %r14
pushq 0xe0(%rbp)
movq 0xd8(%rbp), %rax
pushq %rax
movq 0xd0(%rbp), %rax
pushq %rax
pushq 0xc8(%rbp)
pushq 0xc0(%rbp)
pushq 0xb8(%rbp)
pushq 0xb0(%rbp)
pushq 0xa8(%rbp)
pushq 0xa0(%rbp)
pushq 0x98(%rbp)
pushq 0x90(%rbp)
pushq 0x88(%rbp)
pushq 0x80(%rbp)
pushq 0x78(%rbp)
pushq 0x70(%rbp)
pushq 0x68(%rbp)
pushq 0x60(%rbp)
pushq %r10
pushq 0x50(%rbp)
pushq 0x48(%rbp)
pushq 0x40(%rbp)
pushq 0x38(%rbp)
callq 0x975a
addq $0xd0, %rsp
testl %eax, %eax
movl $0x0, %esi
movq %r14, %r8
movq 0xd8(%rbp), %r10
movq 0xd0(%rbp), %r11
movss -0x30(%rbp), %xmm1
movl -0x2c(%rbp), %r9d
jne 0xd7fd
jmp 0xcfef
movss 0x14(%r12), %xmm0
ucomiss %xmm1, %xmm0
ja 0xcfef
ucomiss %xmm0, %xmm1
jbe 0xd582
movq -0x40(%rbp), %rax
cmpl $0x0, 0x18(%rax)
movss %xmm1, -0x30(%rbp)
movl %r9d, -0x2c(%rbp)
je 0xd31e
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %r8, %r13
movq %rbx, -0x38(%rbp)
movq %r10, %r14
movq %r11, %r15
callq 0xccac
movl -0x2c(%rbp), %r9d
movss -0x30(%rbp), %xmm1
movq %r15, %r11
movq %r14, %r10
movq -0x38(%rbp), %rbx
movq %r13, %r8
movq -0x50(%rbp), %r13
xorl %esi, %esi
testl %eax, %eax
je 0xcfef
movq -0x40(%rbp), %rax
cmpl $0x0, 0x14(%rax)
je 0xd368
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq -0x60(%rbp), %rcx
movl -0x48(%rbp), %r8d
movq %r10, %r15
movq %r11, %r13
callq 0xc955
movl -0x2c(%rbp), %r9d
movss -0x30(%rbp), %xmm1
movq %r13, %r11
movq %r15, %r10
movl 0xe8(%rbp), %r8d
movq -0x50(%rbp), %r13
xorl %esi, %esi
testl %eax, %eax
je 0xcfef
movq -0x40(%rbp), %rax
cmpl $0x0, 0x1c(%rax)
je 0xd7fa
movl (%r12), %edx
movl 0x4(%r12), %ecx
movl 0x8(%r12), %r8d
movq 0x10(%rbp), %rdi
leaq -0xa0(%rbp), %r15
movq %r15, %rsi
callq 0x966d
movss 0x18(%rbx), %xmm0
movss 0x10(%r12), %xmm1
leaq -0x120(%rbp), %rdi
movq %r15, %rsi
movss %xmm1, -0x38(%rbp)
movq 0x18(%rbp), %rdx
movq 0x20(%rbp), %rcx
movq 0x28(%rbp), %r8
movq 0x30(%rbp), %r9
movq 0x100(%rbp), %r14
pushq %r14
movq 0xf8(%rbp), %r15
pushq %r15
movl 0xf0(%rbp), %eax
pushq %rax
movl 0xe8(%rbp), %eax
pushq %rax
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
pushq 0xd0(%rbp)
movq 0xc8(%rbp), %r14
pushq %r14
movq 0xc0(%rbp), %r15
pushq %r15
movq 0xb8(%rbp), %r14
pushq %r14
movq 0xb0(%rbp), %r15
pushq %r15
movq 0xa8(%rbp), %r14
pushq %r14
movq 0xa0(%rbp), %r15
pushq %r15
movq 0x98(%rbp), %r14
pushq %r14
movq 0x90(%rbp), %r15
pushq %r15
movq 0x88(%rbp), %r14
pushq %r14
movq 0x80(%rbp), %r15
pushq %r15
movq 0x78(%rbp), %r14
pushq %r14
movq 0x70(%rbp), %r15
pushq %r15
movq 0x68(%rbp), %r14
pushq %r14
movq 0x60(%rbp), %r15
pushq %r15
movq 0x58(%rbp), %r15
pushq %r15
movq 0x50(%rbp), %rax
pushq %rax
movq 0x48(%rbp), %rax
pushq %rax
movq 0x40(%rbp), %rax
pushq %rax
movq 0x38(%rbp), %rax
pushq %rax
callq 0x975a
addq $0xd0, %rsp
testl %eax, %eax
je 0xd822
movss 0x18(%r13), %xmm1
leaq -0xa0(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
movss -0x38(%rbp), %xmm0
movq 0x18(%rbp), %rdx
movq 0x20(%rbp), %rcx
movq 0x28(%rbp), %r8
movq 0x30(%rbp), %r9
pushq 0x100(%rbp)
pushq 0xf8(%rbp)
movl 0xf0(%rbp), %eax
pushq %rax
movq %r14, %r10
movl 0xe8(%rbp), %r14d
pushq %r14
pushq 0xe0(%rbp)
movq 0xd8(%rbp), %rax
pushq %rax
movq 0xd0(%rbp), %rax
pushq %rax
pushq 0xc8(%rbp)
pushq 0xc0(%rbp)
pushq 0xb8(%rbp)
pushq 0xb0(%rbp)
pushq 0xa8(%rbp)
pushq 0xa0(%rbp)
pushq 0x98(%rbp)
pushq 0x90(%rbp)
pushq 0x88(%rbp)
pushq 0x80(%rbp)
pushq 0x78(%rbp)
pushq 0x70(%rbp)
pushq %r10
pushq 0x60(%rbp)
pushq %r15
pushq 0x50(%rbp)
pushq 0x48(%rbp)
pushq 0x40(%rbp)
pushq 0x38(%rbp)
callq 0x975a
addq $0xd0, %rsp
movl -0x2c(%rbp), %r9d
movl %r9d, %r15d
testl %eax, %eax
movl $0x0, %esi
movq %r14, %r8
movq 0xd8(%rbp), %r10
movq 0xd0(%rbp), %r11
movss -0x30(%rbp), %xmm1
jne 0xd7fd
jmp 0xcfef
movl -0x44(%rbp), %eax
cmpl $0x30, %eax
jl 0xcfef
cmpl %r14d, %eax
jle 0xcfef
movl %r9d, -0x2c(%rbp)
movss %xmm1, -0x30(%rbp)
movq -0x40(%rbp), %rax
cmpl $0x0, 0x18(%rax)
je 0xd5c0
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0xccac
testl %eax, %eax
je 0xd822
leaq 0x4(%r12), %rcx
movq -0x40(%rbp), %rax
cmpl $0x0, 0x14(%rax)
je 0xd5f6
movq %rcx, %r14
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq -0x60(%rbp), %rcx
movl -0x48(%rbp), %r8d
callq 0xc955
testl %eax, %eax
je 0xd822
movq %r14, %rcx
movl (%r14), %r14d
movq -0x40(%rbp), %rax
cmpl $0x0, 0x1c(%rax)
je 0xd81a
movq %rcx, -0x38(%rbp)
movl (%r12), %edx
movl 0x8(%r12), %r8d
movq 0x10(%rbp), %rdi
leaq -0xa0(%rbp), %r15
movq %r15, %rsi
movl %r14d, %ecx
callq 0x966d
movss 0x18(%rbx), %xmm0
movss 0x10(%r12), %xmm1
leaq -0x120(%rbp), %rdi
movq %r15, %rsi
movss %xmm1, -0x64(%rbp)
movq 0x18(%rbp), %rdx
movq 0x20(%rbp), %rcx
movq 0x28(%rbp), %r8
movq 0x30(%rbp), %r9
movq 0x100(%rbp), %r14
pushq %r14
movq 0xf8(%rbp), %r15
pushq %r15
movl 0xf0(%rbp), %r14d
pushq %r14
movl 0xe8(%rbp), %r15d
pushq %r15
movq 0xe0(%rbp), %r14
pushq %r14
movq 0xd8(%rbp), %r15
pushq %r15
movq 0xd0(%rbp), %r14
pushq %r14
movq 0xc8(%rbp), %rax
pushq %rax
movq 0xc0(%rbp), %rax
pushq %rax
movq 0xb8(%rbp), %rax
pushq %rax
movq 0xb0(%rbp), %rax
pushq %rax
movq 0xa8(%rbp), %rax
pushq %rax
movq 0xa0(%rbp), %rax
pushq %rax
movq 0x98(%rbp), %rax
pushq %rax
movq 0x90(%rbp), %rax
pushq %rax
movq 0x88(%rbp), %rax
pushq %rax
movq 0x80(%rbp), %rax
pushq %rax
movq 0x78(%rbp), %rax
pushq %rax
movq 0x70(%rbp), %rax
pushq %rax
movq 0x68(%rbp), %rax
pushq %rax
movq 0x60(%rbp), %rax
pushq %rax
movq 0x58(%rbp), %rax
pushq %rax
movq 0x50(%rbp), %rax
pushq %rax
movq 0x48(%rbp), %rax
pushq %rax
movq 0x40(%rbp), %rax
pushq %rax
movq 0x38(%rbp), %rax
pushq %rax
callq 0x975a
addq $0xd0, %rsp
testl %eax, %eax
je 0xd847
movss 0x18(%r13), %xmm1
leaq -0xa0(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
movss -0x64(%rbp), %xmm0
movq 0x18(%rbp), %rdx
movq 0x20(%rbp), %rcx
movq 0x28(%rbp), %r8
movq 0x30(%rbp), %r9
pushq 0x100(%rbp)
pushq 0xf8(%rbp)
movl 0xf0(%rbp), %eax
pushq %rax
movl 0xe8(%rbp), %eax
pushq %rax
pushq 0xe0(%rbp)
pushq %r15
pushq %r14
pushq 0xc8(%rbp)
pushq 0xc0(%rbp)
pushq 0xb8(%rbp)
pushq 0xb0(%rbp)
pushq 0xa8(%rbp)
pushq 0xa0(%rbp)
pushq 0x98(%rbp)
pushq 0x90(%rbp)
pushq 0x88(%rbp)
pushq 0x80(%rbp)
pushq 0x78(%rbp)
pushq 0x70(%rbp)
pushq 0x68(%rbp)
pushq 0x60(%rbp)
pushq 0x58(%rbp)
pushq 0x50(%rbp)
pushq 0x48(%rbp)
pushq 0x40(%rbp)
pushq 0x38(%rbp)
callq 0x975a
addq $0xd0, %rsp
testl %eax, %eax
movl $0x0, %esi
movl 0xe8(%rbp), %r8d
movq %r15, %r10
movq %r14, %r11
movss -0x30(%rbp), %xmm1
movl -0x2c(%rbp), %r9d
movq -0x38(%rbp), %rax
jne 0xd80c
jmp 0xcfef
movl %r9d, %r15d
movss 0x14(%r12), %xmm1
leaq 0x4(%r12), %rax
movl %r15d, %r9d
movl (%rax), %eax
movl %eax, -0x44(%rbp)
movq %r12, -0x58(%rbp)
jmp 0xcfef
movl %r14d, -0x44(%rbp)
movq %r12, -0x58(%rbp)
xorl %esi, %esi
movl 0xe8(%rbp), %r8d
movq 0xd8(%rbp), %r10
movq 0xd0(%rbp), %r11
movss -0x30(%rbp), %xmm1
movl -0x2c(%rbp), %r9d
jmp 0xcfef
xorl %esi, %esi
movl 0xe8(%rbp), %r8d
movq %r15, %r10
movq %r14, %r11
jmp 0xd839
movq $0x0, -0x58(%rbp)
movq -0x58(%rbp), %rax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq