// File: /workspace/github_c_makefile_star2_O2/jiqingxiaoxi[P]RPA/single.c
// Function: candidate_primer
void candidate_primer(char *seq,int flag[],FILE *Primer,FILE *Probe,int Num[],float deltah[],float deltas[],int length,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 i,circle,check,plus,minus;
	char primer[60],rev[60];
	double secondary;
	float GC_content,Tm,G_content;

//primers
	for(circle=0;circle<length;circle++)
	{
		for(i=30;i<=35;i++)  //read length is from 18 to 25
		{
			if(circle+i>length)
				continue;
			check=words(seq,circle,i);
			if(check==0)
                                break;
			memset(primer,'\0',60);
			generate(seq,primer,circle,i);
			check=check_long_ploy(primer,i);
                        if(check==0)
                                break;
			GC_content=gc(primer,i);
			if(GC_content<30||GC_content>70)
				continue;
			Tm=tm(primer,deltah,deltas,i);
			reverse(primer,rev,i);
			plus=1;
			minus=1;
		//	plus=dimer(primer,i); //hui wen
		//	minus=dimer(rev,i);
			if((flag[4]==0)&&plus)
			{
				secondary=thal(primer,primer,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,1);
				if(secondary>Tm-10)
					plus=0;
			}
			if((flag[4]==0)&&plus)
			{
				secondary=thal(primer,primer,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,2);
				if(secondary>Tm-20)
                                        plus=0;
			}
			if((flag[4]==0)&&plus)
			{
				secondary=thal(primer,primer,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,4);
				if(secondary>Tm-20)
                                        plus=0;
			}

			if((flag[4]==0)&&minus)
                        {
                                secondary=thal(rev,rev,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,1);
                                if(secondary>Tm-20)
                                        minus=0;
                        }
                        if((flag[4]==0)&&minus)
                        {
                                secondary=thal(rev,rev,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,2);
                                if(secondary>Tm-20)
                                        minus=0;
                        }
                        if((flag[4]==0)&&minus)
                        {
                                secondary=thal(rev,rev,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,4);
                                if(secondary>Tm-20)
                                        minus=0;
                        }
	
			if(plus+minus==0)
                                continue;
			fprintf(Primer,"pos:%d\tlength:%d\t+:%d\t-:%d\t%0.2f\n",circle,i,plus,minus,Tm);
			Num[0]++;
		}
		if(flag[3]==1)
			continue;

		for(i=1;i<=5;i++) //dis between two Ts
		{
			if(circle+44+i>length)
				break;
			check=words(seq,circle,(45+i));
			if(check==0)
				break;
			memset(primer,'\0',60);
		//probe length=45+i
			generate(seq,primer,circle,(45+i));
			check=check_long_ploy(primer,(45+i));
			if(check==0)
				break;
		//Probe-plus
	                if((seq[circle+30-1]=='T')&&(seq[circle+30+i]=='T'))
			{
				check=check_G_C_Count(primer,(45+i));
				if(check==1)
					Tm=tm(primer,deltah,deltas,(45+i));
				if((check==1)&&(flag[4]==0))
				{
					secondary=thal(primer,primer,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,1);
					if(secondary>Tm-20)
						check=0;
					else
					{
						secondary=thal(primer,primer,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,2);
						if(secondary>Tm-20)
							check=0;
						else
						{
							secondary=thal(primer,primer,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,4);
							if(secondary>Tm-20)
								check=0;
						}
					}
				}
				if(check==1)
				{
					G_content=GContent(primer,(45+i));
					fprintf(Probe,"pos:%d\tlength:%d\t+:1\t-:0\t%0.2f\t%0.2f\n",circle,(45+i),Tm,G_content);
					Num[1]++;
				}
			}
		//Probe-minus
			if((seq[circle+15-1]=='A')&&(seq[circle+15+i]=='A'))
			{
                        //probe length=45+i
				reverse(primer,rev,(45+i));
				check=check_G_C_Count(rev,(45+i));
				if(check==0)
					continue;
				Tm=tm(rev,deltah,deltas,(45+i));
	                        if(flag[4]==0)
				{
					secondary=thal(rev,rev,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,1);
					if(secondary>Tm-20)
						continue;
					secondary=thal(rev,rev,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,2);
					if(secondary>Tm-20)
						continue;
					secondary=thal(rev,rev,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,4);
					if(secondary>Tm-20)
						continue;
				}
				G_content=GContent(rev,(45+i));
				fprintf(Probe,"pos:%d\tlength:%d\t+:0\t-:1\t%0.2f\t%0.2f\n",circle,(45+i),Tm,G_content);
				Num[1]++;
			}
		}
	}
	return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %r9, -0x58(%rbp)
movq %r8, -0x50(%rbp)
movq %rcx, -0x68(%rbp)
movq %rdx, -0xc0(%rbp)
movq %rsi, -0x48(%rbp)
movl 0x18(%rbp), %r14d
xorl %r12d, %r12d
testl %r14d, %r14d
movl $0x0, %eax
cmovgl %r14d, %eax
movq %rax, -0xb8(%rbp)
leaq 0x10(%rdi), %rax
movq %rax, -0x60(%rbp)
pushq $0x2d
popq %rax
movq %rax, -0x70(%rbp)
leaq -0x100(%rbp), %r15
movq %rdi, -0x40(%rbp)
cmpq -0xb8(%rbp), %r12
je 0x9b0d
pushq $0x1e
popq %rax
movl %eax, %r13d
cmpl $0x24, %r13d
je 0x9498
leal (%r12,%r13), %eax
cmpl %r14d, %eax
jg 0x9486
movq -0x40(%rbp), %rdi
movl %r12d, %esi
movl %r13d, %edx
callq 0x8bab
testl %eax, %eax
je 0x9498
xorps %xmm0, %xmm0
movups %xmm0, -0x84(%rbp)
movaps %xmm0, -0x90(%rbp)
movaps %xmm0, -0xa0(%rbp)
movaps %xmm0, -0xb0(%rbp)
movq -0x40(%rbp), %rdi
leaq -0xb0(%rbp), %rbx
movq %rbx, %rsi
movl %r12d, %edx
movl %r13d, %ecx
callq 0x896c
movq %rbx, %rdi
movl %r13d, %esi
callq 0x8c26
testl %eax, %eax
je 0x9498
leaq -0xb0(%rbp), %rdi
movl %r13d, %esi
callq 0x8995
movss 0x2283(%rip), %xmm1     # 0xb134
ucomiss %xmm0, %xmm1
ja 0x9486
ucomiss 0x2277(%rip), %xmm0     # 0xb138
ja 0x9486
movq %rbx, %rdi
movq -0x58(%rbp), %rsi
movq 0x10(%rbp), %rdx
movl %r13d, %ecx
callq 0x8a0a
movss %xmm0, -0x2c(%rbp)
movq %rbx, %rdi
movq %r15, %rsi
movl %r13d, %edx
callq 0x8bd4
movb $0x1, %cl
movq -0x48(%rbp), %rax
cmpl $0x0, 0x10(%rax)
pushq $0x1
popq %rbx
jne 0x944e
subq $0x8, %rsp
leaq -0xb0(%rbp), %rdi
movq %rdi, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x1
movq 0x108(%rbp), %rbx
pushq %rbx
movq 0x100(%rbp), %r14
pushq %r14
movl 0xf8(%rbp), %ebx
pushq %rbx
movl 0xf0(%rbp), %ebx
pushq %rbx
movq 0xe8(%rbp), %rax
pushq %rax
movq 0xe0(%rbp), %rax
pushq %rax
movq 0xd8(%rbp), %rax
pushq %rax
movq 0xd0(%rbp), %rax
pushq %rax
movq 0xc8(%rbp), %r14
pushq %r14
movq 0xc0(%rbp), %rax
pushq %rax
movq 0xb8(%rbp), %r14
pushq %r14
movq 0xb0(%rbp), %r15
pushq %r15
movq 0xa8(%rbp), %r15
pushq %r15
movq 0xa0(%rbp), %rbx
pushq %rbx
movq 0x98(%rbp), %r14
pushq %r14
movq 0x90(%rbp), %r15
pushq %r15
movq 0x88(%rbp), %rbx
pushq %rbx
movq 0x80(%rbp), %r14
pushq %r14
movq 0x78(%rbp), %rbx
pushq %rbx
movq 0x70(%rbp), %r15
pushq %r15
movq 0x68(%rbp), %rbx
pushq %rbx
movq 0x60(%rbp), %r14
pushq %r14
movq 0x58(%rbp), %r15
pushq %r15
movq 0x50(%rbp), %rbx
pushq %rbx
movq 0x48(%rbp), %r14
pushq %r14
movq 0x40(%rbp), %r15
pushq %r15
callq 0x7cbb
addq $0xe0, %rsp
movss -0x2c(%rbp), %xmm2
movaps %xmm2, %xmm1
addss 0x213d(%rip), %xmm1     # 0xb13c
cvtss2sd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
ja 0x91a7
subq $0x8, %rsp
leaq -0xb0(%rbp), %rdi
movq %rdi, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x2
pushq 0x108(%rbp)
pushq 0x100(%rbp)
movl 0xf8(%rbp), %eax
pushq %rax
movl 0xf0(%rbp), %eax
pushq %rax
pushq 0xe8(%rbp)
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
pushq 0xd0(%rbp)
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 %rbx
pushq %r14
pushq %r15
callq 0x7cbb
addq $0xe0, %rsp
movss -0x2c(%rbp), %xmm1
addss 0x2078(%rip), %xmm1     # 0xb140
cvtss2sd %xmm1, %xmm1
movsd %xmm1, -0x38(%rbp)
ucomisd %xmm1, %xmm0
ja 0x91bb
subq $0x8, %rsp
leaq -0xb0(%rbp), %rdi
movq %rdi, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x4
pushq 0x108(%rbp)
pushq 0x100(%rbp)
movl 0xf8(%rbp), %eax
pushq %rax
movl 0xf0(%rbp), %eax
pushq %rax
pushq 0xe8(%rbp)
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
pushq 0xd0(%rbp)
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 %rbx
pushq %r14
pushq %r15
callq 0x7cbb
addq $0xe0, %rsp
movsd -0x38(%rbp), %xmm1
ucomisd %xmm1, %xmm0
movl 0xf0(%rbp), %ebx
jbe 0x948e
movl $0x0, -0x30(%rbp)
jmp 0x91c8
movaps %xmm2, %xmm0
addss 0x1f8e(%rip), %xmm0     # 0xb140
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x38(%rbp)
movl $0x0, -0x30(%rbp)
movl 0xf0(%rbp), %ebx
leaq -0x100(%rbp), %rdi
subq $0x8, %rsp
movq %rdi, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x1
movq 0x108(%rbp), %r14
pushq %r14
movq 0x100(%rbp), %rax
pushq %rax
movl 0xf8(%rbp), %eax
pushq %rax
pushq %rbx
movq 0xe8(%rbp), %rax
pushq %rax
movq 0xe0(%rbp), %rax
pushq %rax
movq 0xd8(%rbp), %rax
pushq %rax
movq 0xd0(%rbp), %rax
pushq %rax
movq 0xc8(%rbp), %rax
pushq %rax
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), %r15
pushq %r15
movq 0x88(%rbp), %r15
pushq %r15
movq 0x80(%rbp), %r15
pushq %r15
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), %r15
pushq %r15
movq 0x48(%rbp), %r15
pushq %r15
movq 0x40(%rbp), %r15
pushq %r15
callq 0x7cbb
addq $0xe0, %rsp
movq %rbx, %r10
xorl %ebx, %ebx
movsd -0x38(%rbp), %xmm1
ucomisd %xmm1, %xmm0
ja 0x943f
movq %r14, %rax
subq $0x8, %rsp
leaq -0x100(%rbp), %r14
movq %r14, %rdi
movq %r14, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x2
pushq %rax
pushq 0x100(%rbp)
movl 0xf8(%rbp), %eax
pushq %rax
pushq %r10
pushq 0xe8(%rbp)
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
pushq 0xd0(%rbp)
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 %r15
callq 0x7cbb
movsd -0x38(%rbp), %xmm1
addq $0xe0, %rsp
ucomisd %xmm1, %xmm0
ja 0x9448
subq $0x8, %rsp
movq %r14, %rdi
movq %r14, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x4
pushq 0x108(%rbp)
pushq 0x100(%rbp)
movl 0xf8(%rbp), %eax
pushq %rax
movl 0xf0(%rbp), %eax
pushq %rax
pushq 0xe8(%rbp)
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
pushq 0xd0(%rbp)
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 %r15
movsd %xmm1, -0x38(%rbp)
callq 0x7cbb
addq $0xe0, %rsp
ucomisd -0x38(%rbp), %xmm0
ja 0x943f
pushq $0x1
popq %rbx
leaq -0x100(%rbp), %r15
jmp 0x944b
movq %r14, %r15
movl -0x30(%rbp), %ecx
movzbl %cl, %r8d
movl %ebx, %eax
orl %r8d, %eax
movl 0x18(%rbp), %r14d
je 0x9486
cvtss2sd -0x2c(%rbp), %xmm0
movq -0xc0(%rbp), %rdi
leaq 0x1dc5(%rip), %rsi      # 0xb235
movl %r12d, %edx
movl %r13d, %ecx
movl %ebx, %r9d
movb $0x1, %al
callq 0x1140
movq -0x50(%rbp), %rax
incl (%rax)
incl %r13d
jmp 0x8e21
movb $0x1, %al
movl %eax, -0x30(%rbp)
jmp 0x91c8
movq -0x48(%rbp), %rax
cmpl $0x1, 0xc(%rax)
jne 0x94b6
incq %r12
incq -0x60(%rbp)
incq -0x70(%rbp)
movl 0x18(%rbp), %r14d
jmp 0x8e0e
xorl %r14d, %r14d
movq %r14, %rbx
incq %r14
cmpq $0x5, %r14
ja 0x94a2
movq -0x70(%rbp), %rax
addl %ebx, %eax
cmpl 0x18(%rbp), %eax
jg 0x94a2
leaq 0x2e(%rbx), %r13
movq -0x40(%rbp), %rdi
movl %r12d, %esi
movl %r13d, %edx
callq 0x8bab
testl %eax, %eax
je 0x94a2
xorps %xmm0, %xmm0
movups %xmm0, -0x84(%rbp)
movaps %xmm0, -0x90(%rbp)
movaps %xmm0, -0xa0(%rbp)
movaps %xmm0, -0xb0(%rbp)
movq -0x40(%rbp), %rdi
leaq -0xb0(%rbp), %r15
movq %r15, %rsi
movl %r12d, %edx
movl %r13d, %ecx
callq 0x896c
movq %r15, %rdi
leaq -0x100(%rbp), %r15
movl %r13d, %esi
callq 0x8c26
testl %eax, %eax
je 0x94a2
movq -0x40(%rbp), %rax
cmpb $0x54, 0x1d(%rax,%r12)
jne 0x9824
movq -0x60(%rbp), %rax
cmpb $0x54, 0xf(%rax,%rbx)
jne 0x9824
leaq -0xb0(%rbp), %rdi
movl %r13d, %esi
callq 0x8cb7
testl %eax, %eax
je 0x9824
leaq -0xb0(%rbp), %rdi
movq -0x58(%rbp), %rsi
movq 0x10(%rbp), %rdx
movl %r13d, %ecx
callq 0x8a0a
movss %xmm0, -0x2c(%rbp)
movq -0x48(%rbp), %rax
cmpl $0x0, 0x10(%rax)
je 0x95d4
leaq -0xb0(%rbp), %rdi
movl %r13d, %esi
callq 0x8c73
cvtss2sd -0x2c(%rbp), %xmm2
cvtss2sd %xmm0, %xmm1
movq -0x68(%rbp), %rdi
leaq 0x1c9f(%rip), %rsi      # 0xb257
movl %r12d, %edx
movl %r13d, %ecx
movaps %xmm2, %xmm0
movb $0x2, %al
callq 0x1140
movq -0x50(%rbp), %rax
incl 0x4(%rax)
jmp 0x9824
subq $0x8, %rsp
leaq -0xb0(%rbp), %rdi
movq %rdi, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x1
pushq 0x108(%rbp)
pushq 0x100(%rbp)
movl 0xf8(%rbp), %eax
pushq %rax
movl 0xf0(%rbp), %eax
pushq %rax
pushq 0xe8(%rbp)
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
pushq 0xd0(%rbp)
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)
callq 0x7cbb
addq $0xe0, %rsp
movss -0x2c(%rbp), %xmm1
addss 0x1aad(%rip), %xmm1     # 0xb140
cvtss2sd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
ja 0x9824
subq $0x8, %rsp
leaq -0xb0(%rbp), %rdi
movq %rdi, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x2
pushq 0x108(%rbp)
pushq 0x100(%rbp)
movl 0xf8(%rbp), %eax
pushq %rax
movl 0xf0(%rbp), %eax
pushq %rax
pushq 0xe8(%rbp)
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
pushq 0xd0(%rbp)
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)
movsd %xmm1, -0x38(%rbp)
callq 0x7cbb
movsd -0x38(%rbp), %xmm1
addq $0xe0, %rsp
ucomisd %xmm1, %xmm0
ja 0x9824
subq $0x8, %rsp
leaq -0xb0(%rbp), %rdi
movq %rdi, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x4
pushq 0x108(%rbp)
pushq 0x100(%rbp)
movl 0xf8(%rbp), %eax
pushq %rax
movl 0xf0(%rbp), %eax
pushq %rax
pushq 0xe8(%rbp)
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
pushq 0xd0(%rbp)
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)
callq 0x7cbb
addq $0xe0, %rsp
ucomisd -0x38(%rbp), %xmm0
jbe 0x9595
movq -0x40(%rbp), %rax
cmpb $0x41, 0xe(%rax,%r12)
jne 0x94b9
movq -0x60(%rbp), %rax
cmpb $0x41, (%rax,%rbx)
jne 0x94b9
leaq -0xb0(%rbp), %rdi
movq %r15, %rsi
movl %r13d, %edx
callq 0x8bd4
movq %r15, %rdi
movl %r13d, %esi
callq 0x8cb7
testl %eax, %eax
je 0x94b9
movq %r15, %rdi
movq -0x58(%rbp), %rsi
movq 0x10(%rbp), %rdx
movl %r13d, %ecx
callq 0x8a0a
movss %xmm0, -0x2c(%rbp)
movq -0x48(%rbp), %rax
cmpl $0x0, 0x10(%rax)
je 0x98c4
movq %r15, %rdi
movl %r13d, %esi
callq 0x8c73
cvtss2sd -0x2c(%rbp), %xmm2
cvtss2sd %xmm0, %xmm1
movq -0x68(%rbp), %rdi
leaq 0x19d5(%rip), %rsi      # 0xb27d
movl %r12d, %edx
movl %r13d, %ecx
movaps %xmm2, %xmm0
movb $0x2, %al
callq 0x1140
movq -0x50(%rbp), %rax
incl 0x4(%rax)
jmp 0x94b9
subq $0x8, %rsp
movq %r15, %rdi
movq %r15, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x1
pushq 0x108(%rbp)
pushq 0x100(%rbp)
movl 0xf8(%rbp), %eax
pushq %rax
movl 0xf0(%rbp), %eax
pushq %rax
pushq 0xe8(%rbp)
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
pushq 0xd0(%rbp)
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)
callq 0x7cbb
addq $0xe0, %rsp
movss -0x2c(%rbp), %xmm1
addss 0x17c1(%rip), %xmm1     # 0xb140
cvtss2sd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
ja 0x94b9
subq $0x8, %rsp
movq %r15, %rdi
movq %r15, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x2
pushq 0x108(%rbp)
pushq 0x100(%rbp)
movl 0xf8(%rbp), %eax
pushq %rax
movl 0xf0(%rbp), %eax
pushq %rax
pushq 0xe8(%rbp)
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
pushq 0xd0(%rbp)
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)
movsd %xmm1, -0x38(%rbp)
callq 0x7cbb
movsd -0x38(%rbp), %xmm1
addq $0xe0, %rsp
ucomisd %xmm1, %xmm0
ja 0x94b9
subq $0x8, %rsp
movq %r15, %rdi
movq %r15, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x4
pushq 0x108(%rbp)
pushq 0x100(%rbp)
movl 0xf8(%rbp), %eax
pushq %rax
movl 0xf0(%rbp), %eax
pushq %rax
pushq 0xe8(%rbp)
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
pushq 0xd0(%rbp)
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)
callq 0x7cbb
addq $0xe0, %rsp
ucomisd -0x38(%rbp), %xmm0
ja 0x94b9
jmp 0x9889
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq