// File: /workspace/github_c_makefile_star2_O2/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 $0x108, %rsp            # imm = 0x108
movl %r9d, -0x48(%rbp)
movq %rcx, -0x60(%rbp)
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
movq 0x10(%rbp), %r14
movq %r8, -0x40(%rbp)
cmpl $0x0, 0x1c(%r8)
je 0xbbbe
movl (%rbx), %edx
movl 0x4(%rbx), %ecx
leaq -0x130(%rbp), %rsi
movq %r14, %rdi
xorl %r8d, %r8d
callq 0x8b5b
movl (%r13), %edx
movl 0x4(%r13), %ecx
leaq -0xf0(%rbp), %rsi
pushq $0x1
popq %r8
movq %r14, %rdi
callq 0x8b5b
movq 0xf8(%rbp), %rsi
movl 0xe8(%rbp), %r8d
movq 0xe0(%rbp), %r9
movq 0xd8(%rbp), %r10
movq 0xd0(%rbp), %r11
movss 0x153b(%rip), %xmm1     # 0xd124
movl $0x3e7, -0x4c(%rbp)     # imm = 0x3E7
movl $0x270f, -0x44(%rbp)    # imm = 0x270F
movq $0x0, -0x68(%rbp)
movq %r13, -0x38(%rbp)
testq %r12, %r12
je 0xc501
movl (%r12), %eax
movl (%rbx), %r14d
cmpl %r14d, %eax
jl 0xc4da
movl (%r13), %ecx
cmpl %ecx, %eax
jg 0xc501
cmpl $0x0, 0x8(%r12)
je 0xbc62
addl 0x4(%rbx), %r14d
cmpl %eax, %r14d
jg 0xc4da
movl 0x4(%r12), %r15d
addl %r15d, %eax
movl 0x4(%r13), %edx
addl %ecx, %edx
cmpl %edx, %eax
jg 0xc4da
subl %ecx, %eax
movl $0x0, %ecx
cmovlel %ecx, %eax
movl %eax, %r14d
jmp 0xbc83
movl 0x4(%r12), %r15d
leal (%r15,%rax), %edx
cmpl %ecx, %edx
jg 0xc4da
addl 0x4(%rbx), %r14d
subl %eax, %r14d
movl $0x0, %eax
cmovlel %eax, %r14d
cmpl $0x1c, %r14d
setge %al
movl -0x44(%rbp), %edx
cmpl %edx, %r14d
setg %cl
orb %al, %cl
jne 0xc4da
cmpl %edx, %r14d
jge 0xbf5b
movq -0x40(%rbp), %rax
cmpl $0x0, 0x18(%rax)
movss %xmm1, -0x2c(%rbp)
je 0xbcf0
movq %rbx, %rdi
movq -0x38(%rbp), %rsi
movq %r12, %rdx
movq %r8, %r13
movq %r9, %r15
callq 0xb9be
movss -0x2c(%rbp), %xmm1
movq 0xd0(%rbp), %r11
movq 0xd8(%rbp), %r10
movq %r15, %r9
movq %r13, %r8
movq 0xf8(%rbp), %rsi
testl %eax, %eax
je 0xc1f8
movq -0x40(%rbp), %rax
cmpl $0x0, 0x14(%rax)
je 0xbd3f
movq %rbx, %rdi
movq -0x38(%rbp), %rsi
movq %r12, %rdx
movq -0x60(%rbp), %rcx
movl -0x48(%rbp), %r8d
movq %r9, %r15
movq %r10, %r13
callq 0xb6cc
movss -0x2c(%rbp), %xmm1
movq 0xd0(%rbp), %r11
movq %r13, %r10
movq %r15, %r9
movl 0xe8(%rbp), %r8d
movq 0xf8(%rbp), %rsi
testl %eax, %eax
je 0xc1f8
movq -0x40(%rbp), %rax
cmpl $0x0, 0x1c(%rax)
je 0xc47f
movl (%r12), %edx
movl 0x4(%r12), %ecx
movl 0x8(%r12), %r8d
movq 0x10(%rbp), %rdi
leaq -0xb0(%rbp), %r15
movq %r15, %rsi
movq %r9, %r13
callq 0x8b5b
movss 0x18(%rbx), %xmm0
movss 0x10(%r12), %xmm1
leaq -0x130(%rbp), %rdi
movq %r15, %rsi
movss %xmm1, -0x58(%rbp)
movq 0x18(%rbp), %rdx
movq 0x20(%rbp), %rcx
movq 0x28(%rbp), %r8
movq 0x30(%rbp), %r9
movq 0x100(%rbp), %r15
pushq %r15
pushq 0xf8(%rbp)
movl 0xf0(%rbp), %eax
pushq %rax
movl 0xe8(%rbp), %eax
pushq %rax
pushq %r13
pushq 0xd8(%rbp)
pushq 0xd0(%rbp)
movq 0xc8(%rbp), %r15
pushq %r15
movq 0xc0(%rbp), %rax
pushq %rax
movq 0xb8(%rbp), %r15
pushq %r15
movq 0xb0(%rbp), %rax
pushq %rax
movq 0xa8(%rbp), %r15
pushq %r15
movq 0xa0(%rbp), %rax
pushq %rax
movq 0x98(%rbp), %r15
pushq %r15
movq 0x90(%rbp), %rax
pushq %rax
movq 0x88(%rbp), %r15
pushq %r15
movq 0x80(%rbp), %rax
pushq %rax
movq 0x78(%rbp), %r15
pushq %r15
movq 0x70(%rbp), %r15
pushq %r15
movq 0x68(%rbp), %r15
pushq %r15
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 0x8c44
addq $0xd0, %rsp
testl %eax, %eax
movq -0x38(%rbp), %r13
je 0xc4b2
movss 0x18(%r13), %xmm1
leaq -0xb0(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
movss -0x58(%rbp), %xmm0
movq 0x18(%rbp), %rdx
movq 0x20(%rbp), %rcx
movq 0x28(%rbp), %r8
movq 0x30(%rbp), %r9
pushq 0x100(%rbp)
movq 0xf8(%rbp), %rax
pushq %rax
movl 0xf0(%rbp), %eax
pushq %rax
movq %r15, %r10
movl 0xe8(%rbp), %r15d
pushq %r15
movq 0xe0(%rbp), %rax
pushq %rax
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 0x8c44
addq $0xd0, %rsp
testl %eax, %eax
movq 0xf8(%rbp), %rsi
movq %r15, %r8
movq 0xe0(%rbp), %r9
movq 0xd8(%rbp), %r10
movq 0xd0(%rbp), %r11
movss -0x2c(%rbp), %xmm1
jne 0xc483
jmp 0xc4da
movss 0x14(%r12), %xmm0
ucomiss %xmm1, %xmm0
ja 0xc4da
ucomiss %xmm0, %xmm1
jbe 0xc201
movq -0x40(%rbp), %rax
cmpl $0x0, 0x18(%rax)
movss %xmm1, -0x2c(%rbp)
je 0xbfbf
movq %rbx, %rdi
movq -0x38(%rbp), %rsi
movq %r12, %rdx
movq %r9, %r13
movq %r10, %r15
movq %r11, %r14
callq 0xb9be
movss -0x2c(%rbp), %xmm1
movq %r14, %r11
movq %r15, %r10
movq %r13, %r9
movl 0xe8(%rbp), %r8d
movq 0xf8(%rbp), %rsi
testl %eax, %eax
je 0xc1f8
movq -0x40(%rbp), %rax
cmpl $0x0, 0x14(%rax)
je 0xc00d
movq %rbx, %rdi
movq -0x38(%rbp), %rsi
movq %r12, %rdx
movq -0x60(%rbp), %rcx
movl -0x48(%rbp), %r8d
movq %r9, %r13
movq %r10, %r15
movq %r11, %r14
callq 0xb6cc
movss -0x2c(%rbp), %xmm1
movq %r14, %r11
movq %r15, %r10
movq %r13, %r9
movl 0xe8(%rbp), %r8d
movq 0xf8(%rbp), %rsi
testl %eax, %eax
je 0xc1f8
movq -0x40(%rbp), %rax
cmpl $0x0, 0x1c(%rax)
je 0xc47b
movl (%r12), %edx
movl 0x4(%r12), %ecx
movl 0x8(%r12), %r8d
movq 0x10(%rbp), %rdi
movq %rsi, %r15
leaq -0xb0(%rbp), %r14
movq %r14, %rsi
movq %r11, %r13
callq 0x8b5b
movss 0x18(%rbx), %xmm0
movss 0x10(%r12), %xmm1
leaq -0x130(%rbp), %rdi
movq %r14, %rsi
movss %xmm1, -0x58(%rbp)
movq 0x18(%rbp), %rdx
movq 0x20(%rbp), %rcx
movq 0x28(%rbp), %r8
movq 0x30(%rbp), %r9
movq 0x100(%rbp), %r14
pushq %r14
pushq %r15
movl 0xf0(%rbp), %eax
pushq %rax
movl 0xe8(%rbp), %eax
movq %rax, %r15
pushq %rax
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
pushq %r13
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), %rax
pushq %rax
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 0x8c44
addq $0xd0, %rsp
testl %eax, %eax
movq -0x38(%rbp), %r13
je 0xc49e
movss 0x18(%r13), %xmm1
leaq -0xb0(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
movss -0x58(%rbp), %xmm0
movq 0x18(%rbp), %rdx
movq 0x20(%rbp), %rcx
movq 0x28(%rbp), %r8
movq 0x30(%rbp), %r9
pushq 0x100(%rbp)
movq 0xf8(%rbp), %rax
pushq %rax
movl 0xf0(%rbp), %eax
pushq %rax
pushq %r15
movq 0xe0(%rbp), %rax
pushq %rax
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 %r14
pushq 0x50(%rbp)
pushq 0x48(%rbp)
pushq 0x40(%rbp)
pushq 0x38(%rbp)
callq 0x8c44
addq $0xd0, %rsp
movl -0x44(%rbp), %r14d
jmp 0xbf2a
movq -0x38(%rbp), %r13
jmp 0xc4da
movl -0x4c(%rbp), %eax
cmpl $0x30, %eax
jl 0xc4da
cmpl %r15d, %eax
jle 0xc4da
movss %xmm1, -0x2c(%rbp)
movq -0x40(%rbp), %rax
cmpl $0x0, 0x18(%rax)
je 0xc23b
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0xb9be
testl %eax, %eax
je 0xc4b2
leaq 0x4(%r12), %rcx
movq -0x40(%rbp), %rax
cmpl $0x0, 0x14(%rax)
je 0xc271
movq %rcx, %r15
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq -0x60(%rbp), %rcx
movl -0x48(%rbp), %r8d
callq 0xb6cc
testl %eax, %eax
je 0xc4b2
movq %r15, %rcx
movl (%r15), %r15d
movq -0x40(%rbp), %rax
cmpl $0x0, 0x1c(%rax)
je 0xc4aa
movq %rcx, -0x58(%rbp)
movl (%r12), %edx
movl 0x8(%r12), %r8d
movq 0x10(%rbp), %rdi
leaq -0xb0(%rbp), %r14
movq %r14, %rsi
movl %r15d, %ecx
callq 0x8b5b
movss 0x18(%rbx), %xmm0
movss 0x10(%r12), %xmm1
leaq -0x130(%rbp), %rdi
movq %r14, %rsi
movss %xmm1, -0x6c(%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 0x8c44
addq $0xd0, %rsp
testl %eax, %eax
je 0xc4e4
movss 0x18(%r13), %xmm1
leaq -0xb0(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
movss -0x6c(%rbp), %xmm0
movq 0x18(%rbp), %rdx
movq 0x20(%rbp), %rcx
movq 0x28(%rbp), %r8
movq 0x30(%rbp), %r9
pushq 0x100(%rbp)
movq 0xf8(%rbp), %rax
pushq %rax
movl 0xf0(%rbp), %eax
pushq %rax
movl 0xe8(%rbp), %eax
pushq %rax
movq 0xe0(%rbp), %rax
pushq %rax
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 0x8c44
addq $0xd0, %rsp
testl %eax, %eax
movq 0xf8(%rbp), %rsi
movl 0xe8(%rbp), %r8d
movq 0xe0(%rbp), %r9
movq %r15, %r10
movq %r14, %r11
movss -0x2c(%rbp), %xmm1
movq -0x58(%rbp), %rax
jne 0xc493
jmp 0xc4da
movl -0x44(%rbp), %r14d
movq -0x38(%rbp), %r13
movss 0x14(%r12), %xmm1
leaq 0x4(%r12), %rax
movl %r14d, -0x44(%rbp)
movl (%rax), %eax
movl %eax, -0x4c(%rbp)
movq %r12, -0x68(%rbp)
jmp 0xc4da
movq 0xf8(%rbp), %rsi
movq %r15, %r8
jmp 0xc4c0
movl %r15d, -0x4c(%rbp)
movq %r12, -0x68(%rbp)
movq 0xf8(%rbp), %rsi
movl 0xe8(%rbp), %r8d
movq 0xe0(%rbp), %r9
movq 0xd8(%rbp), %r10
movq 0xd0(%rbp), %r11
movss -0x2c(%rbp), %xmm1
movq 0x18(%r12), %r12
jmp 0xbc03
movq 0xf8(%rbp), %rsi
movl 0xe8(%rbp), %r8d
movq 0xe0(%rbp), %r9
movq %r15, %r10
movq %r14, %r11
jmp 0xc4d5
movq -0x68(%rbp), %rax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq