// File: /workspace/github_c_makefile_star2_O1/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, -0x44(%rbp)
movq %rcx, -0x68(%rbp)
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
movq 0x10(%rbp), %r15
movq %r8, -0x40(%rbp)
cmpl $0x0, 0x1c(%r8)
je 0xd0b4
movslq 0x4(%rbx), %r14
testq %r14, %r14
jle 0xd01e
movslq (%rbx), %rsi
addq %r15, %rsi
leaq -0x130(%rbp), %rdi
movq %r14, %rdx
callq 0x1170
jmp 0xd021
xorl %r14d, %r14d
movb $0x0, -0x130(%rbp,%r14)
movslq 0x4(%r13), %rax
testq %rax, %rax
jle 0xd0ac
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 0xd094
btq %r10, %rdi
jb 0xd08f
btq %r10, %r8
jb 0xd08a
btq %r10, %r9
jae 0xd094
movb $0x41, %r10b
jmp 0xd097
movb $0x47, %r10b
jmp 0xd097
movb $0x54, %r10b
jmp 0xd097
movb $0x43, %r10b
movb %r10b, -0xf0(%rbp,%rsi)
incq %rsi
decl %edx
movq %rcx, %r10
addq %rsi, %r10
jne 0xd061
movb $0x0, -0xf0(%rbp,%rax)
xorl %esi, %esi
testq %r12, %r12
je 0xda80
movq 0xf8(%rbp), %rdi
movl 0xe8(%rbp), %r8d
movq 0xd8(%rbp), %r9
movq 0xc8(%rbp), %r10
movq 0xc0(%rbp), %r11
movss 0x100a(%rip), %xmm1     # 0xe0f4
movl $0x270f, %edx           # imm = 0x270F
movl $0x3e7, -0x5c(%rbp)     # imm = 0x3E7
movq $0x0, -0x70(%rbp)
movq %r13, -0x38(%rbp)
movq %rbx, -0x50(%rbp)
movl (%r12), %eax
movl (%rbx), %r14d
cmpl %r14d, %eax
jl 0xd178
movl (%r13), %ecx
cmpl %ecx, %eax
jg 0xda88
cmpl $0x0, 0x8(%r12)
je 0xd14b
addl 0x4(%rbx), %r14d
cmpl %eax, %r14d
jg 0xd178
movl %edx, %r15d
addl 0x4(%r12), %eax
movl 0x4(%r13), %edx
addl %ecx, %edx
cmpl %edx, %eax
jg 0xd175
subl %ecx, %eax
cmovlel %esi, %eax
movl %eax, %r14d
jmp 0xd164
movl %edx, %r15d
movl 0x4(%r12), %edx
addl %eax, %edx
cmpl %ecx, %edx
jg 0xd175
addl 0x4(%rbx), %r14d
subl %eax, %r14d
cmovlel %esi, %r14d
cmpl $0x1c, %r14d
setge %al
cmpl %r15d, %r14d
setg %cl
orb %al, %cl
je 0xd187
movl %r15d, %edx
movq 0x18(%r12), %r12
testq %r12, %r12
jne 0xd106
jmp 0xda88
movl %r15d, -0x2c(%rbp)
cmpl %r15d, %r14d
jge 0xd44a
movq -0x40(%rbp), %rax
cmpl $0x0, 0x18(%rax)
movss %xmm1, -0x30(%rbp)
je 0xd1e5
movq %rbx, %rdi
movq -0x38(%rbp), %rsi
movq %r12, %rdx
movq %r8, %r13
movq %r9, %r15
movq %r11, %rbx
callq 0xce0f
movss -0x30(%rbp), %xmm1
movq %rbx, %r11
movq 0xc8(%rbp), %r10
movq -0x50(%rbp), %rbx
movq %r15, %r9
movq %r13, %r8
movq 0xf8(%rbp), %rdi
xorl %esi, %esi
testl %eax, %eax
je 0xda19
movq -0x40(%rbp), %rax
cmpl $0x0, 0x14(%rax)
je 0xd239
movq %rbx, %rdi
movq -0x38(%rbp), %rsi
movq %r12, %rdx
movq -0x68(%rbp), %rcx
movl -0x44(%rbp), %r8d
movq %r9, %r15
movq %r10, %rbx
movq %r11, %r13
callq 0xcaf4
movss -0x30(%rbp), %xmm1
movq %r13, %r11
movq %rbx, %r10
movq -0x50(%rbp), %rbx
movq %r15, %r9
movl 0xe8(%rbp), %r8d
movq 0xf8(%rbp), %rdi
xorl %esi, %esi
testl %eax, %eax
je 0xda19
movq -0x40(%rbp), %rax
cmpl $0x0, 0x1c(%rax)
je 0xda55
movl (%r12), %edx
movl 0x4(%r12), %ecx
movl 0x8(%r12), %r8d
movq 0x10(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
movq %r9, %r15
movq %r10, %r13
callq 0x98f1
movss 0x18(%rbx), %xmm0
movss 0x10(%r12), %xmm1
leaq -0x130(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
movss %xmm1, -0x58(%rbp)
movq 0x18(%rbp), %rdx
movq 0x20(%rbp), %rcx
movq 0x28(%rbp), %r8
movq 0x30(%rbp), %r9
movq 0x100(%rbp), %rax
pushq %rax
pushq 0xf8(%rbp)
movl 0xf0(%rbp), %eax
pushq %rax
movl 0xe8(%rbp), %eax
pushq %rax
pushq 0xe0(%rbp)
pushq %r15
movq 0xd0(%rbp), %r15
pushq %r15
pushq %r13
pushq 0xc0(%rbp)
pushq 0xb8(%rbp)
pushq 0xb0(%rbp)
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 0x99df
addq $0xd0, %rsp
testl %eax, %eax
movq -0x38(%rbp), %r13
je 0xda1f
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 %r15, %r10
movq 0xf8(%rbp), %r15
pushq %r15
movl 0xf0(%rbp), %eax
pushq %rax
movl 0xe8(%rbp), %eax
pushq %rax
pushq 0xe0(%rbp)
movq 0xd8(%rbp), %rax
pushq %rax
pushq %r10
movq 0xc8(%rbp), %r15
pushq %r15
movq 0xc0(%rbp), %rax
pushq %rax
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 0x99df
addq $0xd0, %rsp
testl %eax, %eax
movl $0x0, %esi
movq 0xf8(%rbp), %rdi
movl 0xe8(%rbp), %r8d
movq 0xd8(%rbp), %r9
movq %r15, %r10
movq 0xc0(%rbp), %r11
movss -0x30(%rbp), %xmm1
movl -0x2c(%rbp), %edx
jne 0xda59
jmp 0xd178
movss 0x14(%r12), %xmm0
ucomiss %xmm1, %xmm0
ja 0xda49
ucomiss %xmm0, %xmm1
movq 0x100(%rbp), %r14
jbe 0xd732
movq -0x40(%rbp), %rax
cmpl $0x0, 0x18(%rax)
movss %xmm1, -0x30(%rbp)
je 0xd4c1
movq %rbx, %rdi
movq -0x38(%rbp), %rsi
movq %r12, %rdx
movq %r8, %r13
movq %r9, %r14
movq %r10, %rbx
movq %r11, %r15
callq 0xce0f
movss -0x30(%rbp), %xmm1
movq %r15, %r11
movq %rbx, %r10
movq -0x50(%rbp), %rbx
movq %r14, %r9
movq 0x100(%rbp), %r14
movq %r13, %r8
movq 0xf8(%rbp), %rdi
xorl %esi, %esi
testl %eax, %eax
je 0xda19
movq -0x40(%rbp), %rax
cmpl $0x0, 0x14(%rax)
je 0xd51b
movq %rbx, %rdi
movq -0x38(%rbp), %rsi
movq %r12, %rdx
movq -0x68(%rbp), %rcx
movq %r8, %r13
movl -0x44(%rbp), %r8d
movq %r9, %r14
movq %r10, %rbx
movq %r11, %r15
callq 0xcaf4
movss -0x30(%rbp), %xmm1
movq %r15, %r11
movq %rbx, %r10
movq -0x50(%rbp), %rbx
movq %r14, %r9
movq 0x100(%rbp), %r14
movq %r13, %r8
movq 0xf8(%rbp), %rdi
xorl %esi, %esi
testl %eax, %eax
je 0xda19
movq -0x40(%rbp), %rax
cmpl $0x0, 0x1c(%rax)
je 0xda51
movl (%r12), %edx
movl 0x4(%r12), %ecx
movq %r8, %r15
movl 0x8(%r12), %r8d
movq %rdi, %r13
movq 0x10(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x98f1
movss 0x18(%rbx), %xmm0
movss 0x10(%r12), %xmm1
leaq -0x130(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
movss %xmm1, -0x58(%rbp)
movq 0x18(%rbp), %rdx
movq 0x20(%rbp), %rcx
movq 0x28(%rbp), %r8
movq 0x30(%rbp), %r9
pushq %r14
pushq %r13
movl 0xf0(%rbp), %eax
pushq %rax
pushq %r15
movq 0xe0(%rbp), %r15
pushq %r15
pushq 0xd8(%rbp)
movq 0xd0(%rbp), %r15
pushq %r15
pushq 0xc8(%rbp)
pushq 0xc0(%rbp)
pushq 0xb8(%rbp)
pushq 0xb0(%rbp)
movq 0xa8(%rbp), %r14
pushq %r14
movq 0xa0(%rbp), %rax
pushq %rax
movq 0x98(%rbp), %r14
pushq %r14
movq 0x90(%rbp), %r14
pushq %r14
movq 0x88(%rbp), %r14
pushq %r14
movq 0x80(%rbp), %r14
pushq %r14
movq 0x78(%rbp), %r14
pushq %r14
movq 0x70(%rbp), %r14
pushq %r14
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 0x99df
addq $0xd0, %rsp
testl %eax, %eax
movq -0x38(%rbp), %r13
je 0xda1f
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, %rax
movl 0xe8(%rbp), %r15d
pushq %r15
pushq 0xe0(%rbp)
movq 0xd8(%rbp), %r15
pushq %r15
pushq %rax
movq 0xc8(%rbp), %r15
pushq %r15
movq 0xc0(%rbp), %rax
pushq %rax
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 %r14
pushq 0x68(%rbp)
pushq 0x60(%rbp)
pushq 0x58(%rbp)
pushq 0x50(%rbp)
pushq 0x48(%rbp)
pushq 0x40(%rbp)
pushq 0x38(%rbp)
callq 0x99df
addq $0xd0, %rsp
movl -0x2c(%rbp), %edx
movl %edx, %r14d
testl %eax, %eax
movl $0x0, %esi
movq 0xf8(%rbp), %rdi
movl 0xe8(%rbp), %r8d
movq 0xd8(%rbp), %r9
movq %r15, %r10
movq 0xc0(%rbp), %r11
movss -0x30(%rbp), %xmm1
jne 0xda59
jmp 0xd178
movl -0x5c(%rbp), %eax
cmpl $0x30, %eax
jl 0xda49
cmpl 0x4(%r12), %eax
jle 0xda49
movq -0x40(%rbp), %rax
cmpl $0x0, 0x18(%rax)
movss %xmm1, -0x30(%rbp)
je 0xd7a0
movq %rbx, %rdi
movq -0x38(%rbp), %rsi
movq %r12, %rdx
movq %r8, %r13
movq %r9, %r14
movq %r10, %rbx
movq %r11, %r15
callq 0xce0f
movss -0x30(%rbp), %xmm1
movq %r15, %r11
movq %rbx, %r10
movq -0x50(%rbp), %rbx
movq %r14, %r9
movq 0x100(%rbp), %r14
movq %r13, %r8
movq 0xf8(%rbp), %rdi
xorl %esi, %esi
testl %eax, %eax
je 0xda19
movq -0x40(%rbp), %rax
cmpl $0x0, 0x14(%rax)
je 0xd7fa
movq %rbx, %rdi
movq -0x38(%rbp), %rsi
movq %r12, %rdx
movq -0x68(%rbp), %rcx
movq %r8, %r13
movl -0x44(%rbp), %r8d
movq %r9, %r14
movq %r10, %rbx
movq %r11, %r15
callq 0xcaf4
movss -0x30(%rbp), %xmm1
movq %r15, %r11
movq %rbx, %r10
movq -0x50(%rbp), %rbx
movq %r14, %r9
movq 0x100(%rbp), %r14
movq %r13, %r8
movq 0xf8(%rbp), %rdi
xorl %esi, %esi
testl %eax, %eax
je 0xda19
leaq 0x4(%r12), %r15
movq -0x40(%rbp), %rax
cmpl $0x0, 0x1c(%rax)
je 0xda77
movq %r15, -0x58(%rbp)
movl (%r12), %edx
movl 0x4(%r12), %ecx
movq %r8, %r15
movl 0x8(%r12), %r8d
movq %rdi, %r13
movq 0x10(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x98f1
movss 0x18(%rbx), %xmm0
movss 0x10(%r12), %xmm1
leaq -0x130(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
movss %xmm1, -0x74(%rbp)
movq 0x18(%rbp), %rdx
movq 0x20(%rbp), %rcx
movq 0x28(%rbp), %r8
movq 0x30(%rbp), %r9
pushq %r14
pushq %r13
movl 0xf0(%rbp), %eax
pushq %rax
pushq %r15
movq 0xe0(%rbp), %r15
pushq %r15
pushq 0xd8(%rbp)
movq 0xd0(%rbp), %r15
pushq %r15
pushq 0xc8(%rbp)
pushq 0xc0(%rbp)
pushq 0xb8(%rbp)
pushq 0xb0(%rbp)
movq 0xa8(%rbp), %r14
pushq %r14
movq 0xa0(%rbp), %rax
pushq %rax
movq 0x98(%rbp), %r14
pushq %r14
movq 0x90(%rbp), %r14
pushq %r14
movq 0x88(%rbp), %r14
pushq %r14
movq 0x80(%rbp), %r14
pushq %r14
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), %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 0x99df
addq $0xd0, %rsp
testl %eax, %eax
movq -0x38(%rbp), %r13
je 0xda1f
movss 0x18(%r13), %xmm1
leaq -0xb0(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
movss -0x74(%rbp), %xmm0
movq 0x18(%rbp), %rdx
movq 0x20(%rbp), %rcx
movq 0x28(%rbp), %r8
movq 0x30(%rbp), %r9
pushq 0x100(%rbp)
movq %r15, %r10
movq 0xf8(%rbp), %r15
pushq %r15
movl 0xf0(%rbp), %eax
pushq %rax
movq %r14, %rax
movl 0xe8(%rbp), %r14d
pushq %r14
pushq 0xe0(%rbp)
movq 0xd8(%rbp), %r15
pushq %r15
pushq %r10
movq 0xc8(%rbp), %r14
pushq %r14
movq 0xc0(%rbp), %r15
pushq %r15
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 %rax
pushq 0x60(%rbp)
pushq 0x58(%rbp)
pushq 0x50(%rbp)
pushq 0x48(%rbp)
pushq 0x40(%rbp)
pushq 0x38(%rbp)
callq 0x99df
addq $0xd0, %rsp
testl %eax, %eax
movl $0x0, %esi
movq 0xf8(%rbp), %rdi
movl 0xe8(%rbp), %r8d
movq 0xd8(%rbp), %r9
movq %r14, %r10
movq %r15, %r11
movss -0x30(%rbp), %xmm1
movl -0x2c(%rbp), %edx
movq -0x58(%rbp), %r15
jne 0xda68
jmp 0xd178
movq -0x38(%rbp), %r13
jmp 0xda49
xorl %esi, %esi
movq 0xf8(%rbp), %rdi
movl 0xe8(%rbp), %r8d
movq 0xd8(%rbp), %r9
movq 0xc8(%rbp), %r10
movq 0xc0(%rbp), %r11
movss -0x30(%rbp), %xmm1
movl -0x2c(%rbp), %edx
jmp 0xd178
movl -0x2c(%rbp), %r14d
movq -0x38(%rbp), %r13
movss 0x14(%r12), %xmm1
leaq 0x4(%r12), %r15
movl %r14d, %edx
movl (%r15), %eax
movl %eax, -0x5c(%rbp)
movq %r12, -0x70(%rbp)
jmp 0xd178
movq -0x38(%rbp), %r13
movl -0x2c(%rbp), %edx
jmp 0xda68
movq $0x0, -0x70(%rbp)
movq -0x70(%rbp), %rax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq