// File: /workspace/github_c_makefile_star2_O3/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 $0x108, %rsp            # imm = 0x108
movq %r9, -0x78(%rbp)
movq %r8, -0x70(%rbp)
movq %rcx, -0xc8(%rbp)
movq %rdx, -0x118(%rbp)
movq %rsi, -0x60(%rbp)
movq %rdi, -0xd0(%rbp)
cmpl $0x0, 0x18(%rbp)
jle 0xa9b9
movq -0xd0(%rbp), %rbx
leaq 0x1e(%rbx), %rax
movq %rax, -0x128(%rbp)
leaq 0xf(%rbx), %rax
movq %rax, -0x120(%rbp)
xorl %edx, %edx
movq -0xd0(%rbp), %rax
addq %rdx, %rax
movq %rax, -0x68(%rbp)
movl $0x1e, %r15d
leaq -0xa3(%rbp), %r14
xorl %r12d, %r12d
movq %rdx, -0x30(%rbp)
leaq (%r15,%rdx), %rax
movl 0x18(%rbp), %ecx
cmpq %rcx, %rax
jbe 0x9a76
incq %r15
incq %r12
incq %r14
cmpq $0x6, %r12
jne 0x9a56
jmp 0xa185
leaq 0x1e(%r12), %r13
xorl %eax, %eax
cmpb $0x4e, (%rbx,%rax)
je 0xa185
incq %rax
cmpq %rax, %r15
jne 0x9a7d
leaq -0x1e(%r12), %rax
negq %rax
cmpq $0x1e, %r12
movl $0x0, %edx
cmovbq %rax, %rdx
leaq -0xc0(,%r13), %rdi
addq %rbp, %rdi
xorl %esi, %esi
callq 0x10f0
leaq -0xc0(%rbp), %rdi
movq -0x68(%rbp), %rsi
movq %r13, %rdx
callq 0x1160
movq -0x30(%rbp), %rdx
movb $0x0, -0xc0(%rbp,%r15)
movl $0x1, %eax
movb -0xc0(%rbp), %cl
movq %r12, %rsi
subq %rax, %rsi
addq $0x1e, %rsi
leaq (%rax,%rbp), %r8
addq $-0xc0, %r8
xorl %r9d, %r9d
movb (%r8,%r9), %dil
cmpb %cl, %dil
jne 0x9b0c
incq %r9
cmpq %r9, %rsi
jne 0x9af9
jmp 0x9b30
leal 0x1(%r9), %ecx
cmpl $0x5, %ecx
ja 0xa185
leaq (%rax,%r9), %rsi
addq $-0x1d, %rsi
addq %r9, %rax
incq %rax
movl %edi, %ecx
cmpq %r12, %rsi
jne 0x9ae1
jmp 0x9b3a
cmpl $0x4, %r9d
ja 0xa185
leaq -0xc0(%rbp), %rdi
movl %r15d, %esi
callq 0x95eb
movq -0x30(%rbp), %rdx
movss 0x25bb(%rip), %xmm1     # 0xc110
ucomiss %xmm0, %xmm1
ja 0x9a62
ucomiss 0x25af(%rip), %xmm0     # 0xc114
ja 0x9a62
leaq -0xc0(%rbp), %rdi
movq -0x78(%rbp), %rsi
movq 0x10(%rbp), %rdx
movl %r15d, %ecx
callq 0x9660
movq %r14, %rax
xorl %ecx, %ecx
movzbl (%rax), %edx
cmpl $0x41, %edx
je 0x9ba1
cmpl $0x43, %edx
je 0x9b9d
cmpl $0x54, %edx
jne 0x9ba5
movb $0x41, %dl
jmp 0x9ba7
movb $0x47, %dl
jmp 0x9ba7
movb $0x54, %dl
jmp 0x9ba7
movb $0x43, %dl
movb %dl, -0x110(%rbp,%rcx)
incq %rcx
decq %rax
cmpq %rcx, %r15
jne 0x9b87
movb $0x0, -0x110(%rbp,%r15)
movl $0x1, %r13d
movb $0x1, %cl
movq -0x60(%rbp), %rax
cmpl $0x0, 0x10(%rax)
je 0x9bdd
movq -0x30(%rbp), %rdx
jmp 0xa13d
subq $0x8, %rsp
leaq -0xc0(%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), %r13
pushq %r13
movq 0x100(%rbp), %r13
pushq %r13
movl 0xf8(%rbp), %r13d
pushq %r13
movl 0xf0(%rbp), %r13d
pushq %r13
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), %r13
pushq %r13
movq 0xc0(%rbp), %rax
pushq %rax
movq 0xb8(%rbp), %r13
pushq %r13
movq 0xb0(%rbp), %rax
pushq %rax
movq 0xa8(%rbp), %r13
pushq %r13
movq 0xa0(%rbp), %rax
pushq %rax
movq 0x98(%rbp), %r13
pushq %r13
movq 0x90(%rbp), %rax
pushq %rax
movq 0x88(%rbp), %r13
pushq %r13
movq 0x80(%rbp), %rax
pushq %rax
movq 0x78(%rbp), %r13
pushq %r13
movq 0x70(%rbp), %rax
pushq %rax
movq 0x68(%rbp), %r13
pushq %r13
movq 0x60(%rbp), %r13
pushq %r13
movq 0x58(%rbp), %r13
pushq %r13
movq 0x50(%rbp), %r13
pushq %r13
movq 0x48(%rbp), %r13
pushq %r13
movq 0x40(%rbp), %r13
pushq %r13
movss %xmm0, -0x38(%rbp)
callq 0x8881
movss -0x38(%rbp), %xmm2
addq $0xe0, %rsp
movaps %xmm2, %xmm1
addss 0x2432(%rip), %xmm1     # 0xc118
cvtss2sd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
ja 0x9e95
subq $0x8, %rsp
leaq -0xc0(%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 %r13
callq 0x8881
addq $0xe0, %rsp
movss -0x38(%rbp), %xmm1
addss 0x236a(%rip), %xmm1     # 0xc11c
cvtss2sd %xmm1, %xmm1
movsd %xmm1, -0x50(%rbp)
ucomisd %xmm1, %xmm0
ja 0x9ea9
subq $0x8, %rsp
leaq -0xc0(%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 %r13
callq 0x8881
addq $0xe0, %rsp
movsd -0x50(%rbp), %xmm1
ucomisd %xmm1, %xmm0
movl 0xf8(%rbp), %r10d
jbe 0xa17b
movl $0x0, -0x48(%rbp)
jmp 0x9eb9
movaps %xmm2, %xmm0
addss 0x227c(%rip), %xmm0     # 0xc11c
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x50(%rbp)
movl $0x0, -0x48(%rbp)
movl 0xf8(%rbp), %eax
movq %rax, %r10
leaq -0x110(%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), %r13
pushq %r13
movq 0x100(%rbp), %rax
pushq %rax
pushq %r10
movl 0xf0(%rbp), %eax
pushq %rax
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), %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 %r10, %r13
callq 0x8881
addq $0xe0, %rsp
movq 0x108(%rbp), %r10
movq %r13, %rax
xorl %r13d, %r13d
movsd -0x50(%rbp), %xmm1
ucomisd %xmm1, %xmm0
ja 0xa131
subq $0x8, %rsp
leaq -0x110(%rbp), %rdi
movq %rdi, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x2
pushq %r10
pushq 0x100(%rbp)
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 0x8881
movsd -0x50(%rbp), %xmm1
addq $0xe0, %rsp
ucomisd %xmm1, %xmm0
ja 0xa131
subq $0x8, %rsp
leaq -0x110(%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)
movsd %xmm1, -0x50(%rbp)
callq 0x8881
addq $0xe0, %rsp
ucomisd -0x50(%rbp), %xmm0
ja 0xa131
movl $0x1, %r13d
movq -0x30(%rbp), %rdx
movss -0x38(%rbp), %xmm0
movl -0x48(%rbp), %ecx
movzbl %cl, %r8d
movl %r13d, %eax
orl %r8d, %eax
je 0x9a62
cvtss2sd %xmm0, %xmm0
movq -0x118(%rbp), %rdi
leaq 0x20b2(%rip), %rsi      # 0xc211
movl %r15d, %ecx
movl %r13d, %r9d
movb $0x1, %al
callq 0x1140
movq -0x30(%rbp), %rdx
movq -0x70(%rbp), %rax
incl (%rax)
jmp 0x9a62
movb $0x1, %al
movl %eax, -0x48(%rbp)
jmp 0x9eb9
movq -0x60(%rbp), %rax
cmpl $0x1, 0xc(%rax)
jne 0xa1a6
incq %rdx
incq %rbx
movl 0x18(%rbp), %eax
cmpq %rax, %rdx
jne 0x9a34
jmp 0xa9b9
leaq 0x2c(%rdx), %r12
movq -0x128(%rbp), %rax
addq %rdx, %rax
movq %rax, -0x48(%rbp)
movq -0x120(%rbp), %rax
addq %rdx, %rax
movq %rax, -0x130(%rbp)
movl $0x1, %r15d
xorl %r14d, %r14d
leal (%r12,%r15), %eax
cmpl 0x18(%rbp), %eax
jg 0xa18f
leaq 0x2e(%r14), %r13
leaq 0x2d(%r15), %rcx
movq $-0x2e, %rax
cmpb $0x4e, 0x2e(%rbx,%rax)
je 0xa18f
incq %rax
cmpq %rax, %r14
jne 0xa1ea
leaq -0xe(%r14), %rax
negq %rax
cmpq $0xe, %r14
movl $0x0, %edx
cmovbq %rax, %rdx
leaq -0xc0(,%r13), %rdi
addq %rbp, %rdi
xorl %esi, %esi
movq %rcx, -0x38(%rbp)
callq 0x10f0
leaq -0xc0(%rbp), %rdi
movq -0x68(%rbp), %rsi
movq %r13, %rdx
callq 0x1160
movq -0x38(%rbp), %r10
movq -0x30(%rbp), %rdx
movb $0x0, -0xc0(%rbp,%r10)
movl $0x1, %eax
movb -0xc0(%rbp), %cl
movq %r14, %rsi
subq %rax, %rsi
addq $0x2e, %rsi
leaq (%rax,%rbp), %r8
addq $-0xc0, %r8
xorl %r9d, %r9d
movb (%r8,%r9), %dil
cmpb %cl, %dil
jne 0xa27d
incq %r9
cmpq %r9, %rsi
jne 0xa26a
jmp 0xa2a1
leal 0x1(%r9), %ecx
cmpl $0x5, %ecx
ja 0xa18f
leaq (%rax,%r9), %rsi
addq $-0x2d, %rsi
addq %r9, %rax
incq %rax
movl %edi, %ecx
cmpq %r14, %rsi
jne 0xa252
jmp 0xa2ab
cmpl $0x4, %r9d
ja 0xa18f
movq %r12, -0x50(%rbp)
movq -0x68(%rbp), %rax
cmpb $0x54, 0x1d(%rax)
movq 0x108(%rbp), %r12
movq 0x100(%rbp), %r13
jne 0xa60d
movq -0x48(%rbp), %rax
cmpb $0x54, (%rax,%r15)
jne 0xa60d
xorl %eax, %eax
movq $-0x2e, %rcx
xorl %edi, %edi
movzbl -0x92(%rbp,%rcx), %esi
cmpl $0x43, %esi
je 0xa2fb
cmpl $0x47, %esi
jne 0xa2fd
incl %edi
jmp 0xa2fd
incl %eax
incq %rcx
cmpq %rcx, %r14
jne 0xa2e5
cmpl %edi, %eax
jle 0xa60d
leaq -0xc0(%rbp), %rdi
movq -0x78(%rbp), %rsi
movq 0x10(%rbp), %rdx
movl %r10d, %ecx
callq 0x9660
movq -0x38(%rbp), %r10
movq -0x30(%rbp), %rdx
movaps %xmm0, %xmm2
movq -0x60(%rbp), %rax
cmpl $0x0, 0x10(%rax)
je 0xa3b3
xorl %eax, %eax
movq $-0x2e, %rcx
xorl %esi, %esi
cmpb $0x47, -0x92(%rbp,%rcx)
sete %sil
addl %esi, %eax
incq %rcx
cmpq %rcx, %r14
jne 0xa342
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %r10d, %xmm1
divsd %xmm1, %xmm0
mulsd 0x1d1b(%rip), %xmm0     # 0xc090
xorps %xmm1, %xmm1
cvtsd2ss %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtss2sd %xmm2, %xmm0
cvtss2sd %xmm1, %xmm1
movq -0xc8(%rbp), %rdi
leaq 0x1e9e(%rip), %rsi      # 0xc233
movl %r10d, %ecx
movb $0x2, %al
callq 0x1140
movq -0x38(%rbp), %r10
movq -0x30(%rbp), %rdx
movq -0x70(%rbp), %rax
incl 0x4(%rax)
jmp 0xa60d
subq $0x8, %rsp
leaq -0xc0(%rbp), %rdi
movq %rdi, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x1
pushq %r12
pushq %r13
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)
movss %xmm2, -0x3c(%rbp)
callq 0x8881
movq -0x38(%rbp), %r10
movq -0x30(%rbp), %rdx
addq $0xe0, %rsp
movss -0x3c(%rbp), %xmm1
addss 0x1ca5(%rip), %xmm1     # 0xc11c
cvtss2sd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
ja 0xa60d
subq $0x8, %rsp
leaq -0xc0(%rbp), %rdi
movq %rdi, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x2
pushq %r12
pushq %r13
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, -0x58(%rbp)
callq 0x8881
movsd -0x58(%rbp), %xmm1
movq -0x38(%rbp), %r10
movq -0x30(%rbp), %rdx
addq $0xe0, %rsp
ucomisd %xmm1, %xmm0
ja 0xa60d
subq $0x8, %rsp
leaq -0xc0(%rbp), %rdi
movq %rdi, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x4
pushq %r12
pushq %r13
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 0x8881
movss -0x3c(%rbp), %xmm2
movq -0x38(%rbp), %r10
movq -0x30(%rbp), %rdx
addq $0xe0, %rsp
ucomisd -0x58(%rbp), %xmm0
jbe 0xa339
movq -0x68(%rbp), %rax
cmpb $0x41, 0xe(%rax)
jne 0xa9a0
movq -0x130(%rbp), %rax
cmpb $0x41, (%rax,%r15)
jne 0xa9a0
movq $-0x2e, %rax
leaq -0x93(%rbp), %rcx
movzbl (%rcx,%r14), %esi
cmpl $0x41, %esi
je 0xa659
cmpl $0x43, %esi
je 0xa654
cmpl $0x54, %esi
jne 0xa65e
movb $0x41, %sil
jmp 0xa661
movb $0x47, %sil
jmp 0xa661
movb $0x54, %sil
jmp 0xa661
movb $0x43, %sil
movb %sil, -0xe2(%rbp,%rax)
incq %rax
decq %rcx
cmpq %rax, %r14
jne 0xa63b
movb $0x0, -0x110(%rbp,%r10)
xorl %eax, %eax
movq $-0x2e, %rcx
xorl %edi, %edi
movzbl -0xe2(%rbp,%rcx), %esi
cmpl $0x43, %esi
je 0xa69e
cmpl $0x47, %esi
jne 0xa6a0
incl %edi
jmp 0xa6a0
incl %eax
incq %rcx
cmpq %rcx, %r14
jne 0xa688
cmpl %edi, %eax
jle 0xa9a0
leaq -0x110(%rbp), %rdi
movq -0x78(%rbp), %rsi
movq 0x10(%rbp), %rdx
movl %r10d, %ecx
callq 0x9660
movq -0x38(%rbp), %rcx
movq -0x30(%rbp), %rdx
movaps %xmm0, %xmm2
movq -0x60(%rbp), %rax
cmpl $0x0, 0x10(%rax)
je 0xa74e
xorl %eax, %eax
movq $-0x2e, %rdi
xorl %esi, %esi
cmpb $0x47, -0xe2(%rbp,%rdi)
sete %sil
addl %esi, %eax
incq %rdi
cmpq %rdi, %r14
jne 0xa6e5
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %ecx, %xmm1
divsd %xmm1, %xmm0
mulsd 0x1979(%rip), %xmm0     # 0xc090
xorps %xmm1, %xmm1
cvtsd2ss %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtss2sd %xmm2, %xmm0
cvtss2sd %xmm1, %xmm1
movq -0xc8(%rbp), %rdi
leaq 0x1b22(%rip), %rsi      # 0xc259
movb $0x2, %al
callq 0x1140
movq -0x30(%rbp), %rdx
movq -0x70(%rbp), %rax
incl 0x4(%rax)
jmp 0xa9a0
subq $0x8, %rsp
leaq -0x110(%rbp), %rdi
movq %rdi, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x1
pushq %r12
pushq %r13
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)
movss %xmm2, -0x3c(%rbp)
callq 0x8881
movq -0x30(%rbp), %rdx
addq $0xe0, %rsp
movss -0x3c(%rbp), %xmm1
addss 0x190e(%rip), %xmm1     # 0xc11c
cvtss2sd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
ja 0xa9a0
subq $0x8, %rsp
leaq -0x110(%rbp), %rdi
movq %rdi, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x2
pushq %r12
pushq %r13
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, -0x58(%rbp)
callq 0x8881
movsd -0x58(%rbp), %xmm1
movq -0x30(%rbp), %rdx
addq $0xe0, %rsp
ucomisd %xmm1, %xmm0
ja 0xa9a0
subq $0x8, %rsp
leaq -0x110(%rbp), %rdi
movq %rdi, %rsi
movq 0x20(%rbp), %rdx
movq 0x28(%rbp), %rcx
movq 0x30(%rbp), %r8
movq 0x38(%rbp), %r9
pushq $0x4
pushq %r12
pushq %r13
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 0x8881
movss -0x3c(%rbp), %xmm2
movq -0x38(%rbp), %rcx
movq -0x30(%rbp), %rdx
addq $0xe0, %rsp
ucomisd -0x58(%rbp), %xmm0
jbe 0xa6dc
incq %r15
incq %r14
cmpq $0x5, %r14
movq -0x50(%rbp), %r12
jne 0xa1d2
jmp 0xa18f
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq