// File: /workspace/github_c_makefile_star2_O2/jiqingxiaoxi[P]RPA/RPA.c
// Function: tracebacku
void tracebacku(int bp[],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[],double Initdouble[],int Initint[],double enthalpyDPT[],double entropyDPT[],double send5[],double hend5[],char numSeq1[],char numSeq2[])
{
	int i,j,store[50],total,now,ii,jj,k,d,done;
	double SH1[2],SH2[2],EntropyEnthalpy[2];

        total=newpush(store,Initint[0],0,1,0,0);
        now=0;
        while(now<total)
        {
                i=store[3*now]; // top->i;
                j=store[3*now+1]; // top->j;
                if(store[now*3+2]==1)
                {
                        while(equal(send5[i],send5[i-1])&&equal(hend5[i],hend5[i-1])) // if previous structure is the same as this one
                                --i;
                        if(i==0)
                                continue;
                        if(equal(send5[i],END5_1(i,2,atpS,atpH,Initdouble,Initint,enthalpyDPT,entropyDPT,send5,hend5,numSeq1))&&equal(hend5[i],END5_1(i,1,atpS,atpH,Initdouble,Initint,enthalpyDPT,entropyDPT,send5,hend5,numSeq1)))
                        {
                                for(k=0;k<=i-5;++k)
                                        if(equal(send5[i],atpS[numSeq1[k+1]*5+numSeq1[i]]+entropyDPT[k*Initint[2]+i-1])&&equal(hend5[i],atpH[numSeq1[k+1]*5+numSeq1[i]]+enthalpyDPT[k*Initint[2]+i-1]))
                                        {
                                                total=newpush(store,k+1,i,0,total,now+1);                    
                                                break;
                                        }
                                        else if(equal(send5[i],send5[k]+atpS[numSeq1[k+1]*5+numSeq1[i]]+entropyDPT[k*Initint[2]+i-1])&&equal(hend5[i],hend5[k]+atpH[numSeq1[k+1]*5+numSeq1[i]]+enthalpyDPT[k*Initint[2]+i-1]))
                                        {
                                                total=newpush(store,k+1,i,0,total,now+1);
                                                total=newpush(store,k,0,1,total,now+1);
                                                break;
                                        }
                        }
                        else if(equal(send5[i],END5_2(i,2,dangleEntropies5,dangleEnthalpies5,atpS,atpH,Initdouble,Initint,enthalpyDPT,entropyDPT,send5,hend5,numSeq1))&&equal(hend5[i],END5_2(i,1,dangleEntropies5,dangleEnthalpies5,atpS,atpH,Initdouble,Initint,enthalpyDPT,entropyDPT,send5,hend5,numSeq1)))
                        {
                                for (k=0;k<=i-6;++k)
                                        if(equal(send5[i],atpS[numSeq1[k+2]*5+numSeq1[i]]+Sd5(i,k+2,dangleEntropies5,numSeq1)+entropyDPT[(k+1)*Initint[2]+i-1])&&equal(hend5[i],atpH[numSeq1[k+2]*5+numSeq1[i]]+Hd5(i,k+2,dangleEnthalpies5,numSeq1)+enthalpyDPT[(k+1)*Initint[2]+i-1]))
                                        {
                                                total=newpush(store,k+2,i,0,total,now+1);
                                                break;
                                        }
                                        else if(equal(send5[i],send5[k]+atpS[numSeq1[k+2]*5+numSeq1[i]]+Sd5(i,k+2,dangleEntropies5,numSeq1)+entropyDPT[(k+1)*Initint[2]+i-1])&&equal(hend5[i],hend5[k]+atpH[numSeq1[k+2]*5+numSeq1[i]]+Hd5(i,k+2,dangleEnthalpies5,numSeq1)+enthalpyDPT[(k+1)*Initint[2]+i-1]))
                                        {
                                                total=newpush(store,k+2,i,0,total,now+1);
                                                total=newpush(store,k,0,1,total,now+1);
                                                break;
                                        }
                        }
                        else if(equal(send5[i],END5_3(i,2,dangleEntropies3,dangleEnthalpies3,atpS,atpH,Initdouble,Initint,enthalpyDPT,entropyDPT,send5,hend5,numSeq1))&&equal(hend5[i],END5_3(i,1,dangleEntropies3,dangleEnthalpies3,atpS,atpH,Initdouble,Initint,enthalpyDPT,entropyDPT,send5,hend5,numSeq1)))
                        {
                                for (k=0;k<=i-6;++k)
                                        if(equal(send5[i],atpS[numSeq1[k+1]*5+numSeq1[i-1]]+Sd3(i-1,k+1,dangleEntropies3,numSeq1)+entropyDPT[k*Initint[2]+i-2])&&equal(hend5[i],atpH[numSeq1[k+1]*5+numSeq1[i-1]]+Hd3(i-1,k+1,dangleEnthalpies3,numSeq1)+enthalpyDPT[k*Initint[2]+i-2]))
                                        {
                                                total=newpush(store,k+1,i-1,0,total,now+1);
                                                break;
                                        }
                                        else if(equal(send5[i],send5[k]+atpS[numSeq1[k+1]*5+numSeq1[i-1]]+Sd3(i-1,k+1,dangleEntropies3,numSeq1)+entropyDPT[k*Initint[2]+i-2])&&equal(hend5[i],hend5[k]+atpH[numSeq1[k+1]*5+numSeq1[i-1]]+Hd3(i-1,k+1,dangleEnthalpies3,numSeq1)+enthalpyDPT[k*Initint[2]+i-2]))
                                        {
                                                total=newpush(store,k+1,i-1,0,total,now+1);
                                                total=newpush(store,k,0,1,total,now+1);
                                                break;
                                        }
                        }
                        else if(equal(send5[i],END5_4(i,2,tstack2Entropies,tstack2Enthalpies,atpS,atpH,Initdouble,Initint,enthalpyDPT,entropyDPT,send5,hend5,numSeq1))&&equal(hend5[i],END5_4(i,1,tstack2Entropies,tstack2Enthalpies,atpS,atpH,Initdouble,Initint,enthalpyDPT,entropyDPT,send5,hend5,numSeq1)))
                        {
                                for (k=0;k<=i-7;++k)
                                        if(equal(send5[i],atpS[numSeq1[k+2]*5+numSeq1[i-1]]+Ststack(i-1,k+2,tstack2Entropies,numSeq1)+entropyDPT[(k+1)*Initint[2]+i-2])&&equal(hend5[i],atpH[numSeq1[k+2]*5+numSeq1[i-1]]+Htstack(i-1,k+2,tstack2Enthalpies,numSeq1)+enthalpyDPT[(k+1)*Initint[2]+i-2]))
                                        {
                                                total=newpush(store,k+2,i-1,0,total,now+1);
                                                break;
                                        }
                                        else if(equal(send5[i],send5[k]+atpS[numSeq1[k+2]*5+numSeq1[i-1]]+Ststack(i-1,k+2,tstack2Entropies,numSeq1)+entropyDPT[(k+1)*Initint[2]+i-2])&&equal(hend5[i],hend5[k]+atpH[numSeq1[k+2]*5+numSeq1[i-1]]+Htstack(i-1,k+2,tstack2Enthalpies,numSeq1)+enthalpyDPT[(k+1)*Initint[2]+i-2]))
                                        {
                                                total=newpush(store,k+2,i-1,0,total,now+1);
                                                total=newpush(store,k,0,1,total,now+1);
                                                break;
                                        }
                        }
                }
                else if(store[3*now+2]==0)
                {
                        bp[i-1]=j;
                        bp[j-1]=i;
                        SH1[0]=-1.0;
                        SH1[1]=1.0*INFINITY;
                        calc_hairpin(i,j,SH1,1,hairpinLoopEntropies,hairpinLoopEnthalpies,tstack2Entropies,tstack2Enthalpies,triloopEntropies1,triloopEnthalpies1,tetraloopEntropies1,tetraloopEnthalpies1,triloopEntropies2,triloopEnthalpies2,tetraloopEntropies2,tetraloopEnthalpies2,numTriloops,numTetraloops,atpS,atpH,Initdouble,Initint,enthalpyDPT,entropyDPT,numSeq1);

                        SH2[0]=-1.0;
                        SH2[1]=1.0*INFINITY;
                        CBI(i,j,SH2,2,stackEntropies,stackEnthalpies,stackint2Entropies,stackint2Enthalpies,interiorLoopEntropies,bulgeLoopEntropies,interiorLoopEnthalpies,bulgeLoopEnthalpies,tstackEntropies,tstackEnthalpies,atpS,atpH,Initdouble,Initint,enthalpyDPT,entropyDPT,numSeq1,numSeq2);

                        if (equal(entropyDPT[(i-1)*Initint[2]+j-1],Ss(i,j,2,stackEntropies,Initint,numSeq1,numSeq2)+entropyDPT[i*Initint[2]+j-2])&&equal(enthalpyDPT[(i-1)*Initint[2]+j-1],Hs(i,j,2,stackEnthalpies,Initint,numSeq1,numSeq2)+enthalpyDPT[i*Initint[2]+j-2]))
                                total=newpush(store,i+1,j-1,0,total,now+1);
                        else if(equal(entropyDPT[(i-1)*Initint[2]+j-1],SH1[0])&&equal(enthalpyDPT[(i-1)*Initint[2]+j-1],SH1[1]));
                        else if(equal(entropyDPT[(i-1)*Initint[2]+j-1],SH2[0])&&equal(enthalpyDPT[(i-1)*Initint[2]+j-1],SH2[1]))
                        {
                                for (done=0,d=j-i-3;d>=4&&d>=j-i-32&&!done;--d)
                                        for (ii=i+1;ii<j-d;++ii)
                                        {
                                                jj=d+ii;
                                                EntropyEnthalpy[0]=-1.0;
                                                EntropyEnthalpy[1]=1.0*INFINITY;
                                                calc_bulge_internal2(i,j,ii,jj,EntropyEnthalpy,1,stackEntropies,stackEnthalpies,stackint2Entropies,stackint2Enthalpies,interiorLoopEntropies,bulgeLoopEntropies,interiorLoopEnthalpies,bulgeLoopEnthalpies,tstackEntropies,tstackEnthalpies,atpS,atpH,Initdouble,Initint,enthalpyDPT,entropyDPT,numSeq1,numSeq2);

                                                if (equal(entropyDPT[(i-1)*Initint[2]+j-1],EntropyEnthalpy[0]+entropyDPT[(ii-1)*Initint[2]+jj-1])&&equal(enthalpyDPT[(i-1)*Initint[2]+j-1],EntropyEnthalpy[1]+enthalpyDPT[(ii-1)*Initint[2]+jj-1]))
                                                {
                                                        total=newpush(store,ii,jj,0,total,now+1);
                                                        ++done;
                                                        break;
                                                }
                                        }
                        }
                }
                now++;
        }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %r9, -0xb0(%rbp)
movq %r8, -0xc0(%rbp)
movq %rcx, -0xb8(%rbp)
movq %rdx, -0xa0(%rbp)
movq %rsi, -0xa8(%rbp)
movq %rdi, -0xf8(%rbp)
movq 0xf0(%rbp), %rbx
movq 0xe0(%rbp), %rax
movq 0xd0(%rbp), %r12
movl (%rax), %esi
leaq -0x1c0(%rbp), %rdi
pushq $0x1
popq %rcx
xorl %edx, %edx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x52b3
xorl %edx, %edx
movslq %eax, %rcx
cmpq %rcx, %rdx
jge 0x64e0
leaq (%rdx,%rdx,2), %rdi
movl -0x1c0(%rbp,%rdi,4), %r10d
movl -0x1b8(%rbp,%rdi,4), %ecx
movslq %r10d, %r8
movq %r8, -0x58(%rbp)
testl %ecx, %ecx
je 0x564a
cmpl $0x1, %ecx
jne 0x642f
movl %eax, -0x2c(%rbp)
movq %rdx, -0x38(%rbp)
movq 0xf8(%rbp), %r15
movq -0x58(%rbp), %rcx
movsd (%r15,%rcx,8), %xmm0
movsd %xmm0, -0x48(%rbp)
movsd %xmm0, -0x40(%rbp)
movq 0x100(%rbp), %r13
movq %rcx, %rbx
movsd -0x40(%rbp), %xmm0
leaq -0x1(%rcx), %r14
movsd -0x8(%r15,%rcx,8), %xmm1
movsd %xmm0, -0x50(%rbp)
movsd %xmm1, -0x40(%rbp)
callq 0x52ff
testl %eax, %eax
je 0x545a
movsd -0x8(%r13,%rbx,8), %xmm1
movsd (%r13,%rbx,8), %xmm0
callq 0x52ff
movq %r14, %rcx
testl %eax, %eax
jne 0x541a
movsd -0x48(%rbp), %xmm0
movsd %xmm0, -0x40(%rbp)
movq -0x58(%rbp), %rcx
testq %rbx, %rbx
je 0x541a
subq $0x8, %rsp
movl %ebx, %edi
pushq $0x2
popq %rsi
movq 0xc8(%rbp), %rdx
movq %r12, %rcx
movq 0xd8(%rbp), %r8
movq 0xe0(%rbp), %r9
movq %r13, %rax
movq %r12, %r13
movq 0x108(%rbp), %r12
pushq %r12
pushq %rax
pushq %r15
movq 0xf0(%rbp), %rax
pushq %rax
movq 0xe8(%rbp), %rax
pushq %rax
callq 0x44bb
addq $0x30, %rsp
movapd %xmm0, %xmm1
movsd -0x50(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x58f3
movq 0x100(%rbp), %rax
movsd (%rax,%rbx,8), %xmm0
movsd %xmm0, -0x48(%rbp)
subq $0x8, %rsp
movl %ebx, %edi
pushq $0x1
popq %rsi
movq 0xc8(%rbp), %rdx
movq %r13, %rcx
movq 0xd8(%rbp), %r8
movq 0xe0(%rbp), %r9
pushq %r12
pushq %rax
pushq 0xf8(%rbp)
pushq 0xf0(%rbp)
pushq 0xe8(%rbp)
callq 0x44bb
addq $0x30, %rsp
movapd %xmm0, %xmm1
movsd -0x48(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x58f3
leal -0x5(%rbx), %eax
cltq
movq %rax, -0x60(%rbp)
xorl %r14d, %r14d
cmpq -0x60(%rbp), %r14
jg 0x6335
movsbq 0x1(%r12,%r14), %rax
movsbq (%r12,%rbx), %r12
imulq $0x28, %rax, %r13
movq 0xc8(%rbp), %rax
addq %r13, %rax
movsd (%rax,%r12,8), %xmm1
movq 0xe0(%rbp), %rax
movl 0x8(%rax), %eax
imull %r14d, %eax
addl %ebx, %eax
movslq %eax, %r15
movq 0xf0(%rbp), %rax
movsd -0x8(%rax,%r15,8), %xmm0
movsd %xmm1, -0x40(%rbp)
movsd %xmm0, -0x58(%rbp)
addsd %xmm0, %xmm1
movsd -0x50(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x55d7
movq 0xd0(%rbp), %rax
addq %r13, %rax
movsd (%rax,%r12,8), %xmm1
movq 0xe8(%rbp), %rax
addsd -0x8(%rax,%r15,8), %xmm1
movsd -0x48(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
jne 0x635e
movq 0xf8(%rbp), %rax
movsd -0x40(%rbp), %xmm0
addsd (%rax,%r14,8), %xmm0
movsd -0x58(%rbp), %xmm1
addsd %xmm0, %xmm1
movsd -0x50(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x563b
movq 0x100(%rbp), %rax
movsd (%rax,%r14,8), %xmm1
addq 0xd0(%rbp), %r13
addsd (%r13,%r12,8), %xmm1
movq 0xe8(%rbp), %rax
addsd -0x8(%rax,%r15,8), %xmm1
movsd -0x48(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
jne 0x6375
incq %r14
movq 0x108(%rbp), %r12
jmp 0x5541
movl %eax, -0x2c(%rbp)
movq %rdx, -0x38(%rbp)
movl -0x1bc(%rbp,%rdi,4), %eax
movq %rax, -0x60(%rbp)
movq %r12, %r11
movslq %eax, %r12
movq -0x58(%rbp), %r13
leaq -0x1(%r13), %rax
movq %rax, -0x40(%rbp)
movq -0xf8(%rbp), %rax
movl %r12d, -0x4(%rax,%r13,4)
movl %r13d, -0x4(%rax,%r12,4)
movabsq $-0x4010000000000000, %r15 # imm = 0xBFF0000000000000
movq %r15, -0xf0(%rbp)
movabsq $0x7ff0000000000000, %r14 # imm = 0x7FF0000000000000
movq %r14, -0xe8(%rbp)
subq $0x8, %rsp
movl %r13d, %edi
movl %r12d, %esi
leaq -0xf0(%rbp), %rdx
pushq $0x1
popq %rcx
movq 0x28(%rbp), %r8
movq 0x40(%rbp), %r9
movq 0x108(%rbp), %rax
pushq %rax
pushq %rbx
movq %r10, -0x50(%rbp)
movq %rbx, %r14
movq 0xe8(%rbp), %rbx
pushq %rbx
movq 0xe0(%rbp), %rbx
pushq %rbx
movq 0xd8(%rbp), %rbx
pushq %rbx
movq %r11, %rbx
pushq %r11
movq 0xc8(%rbp), %rax
pushq %rax
movl 0xc0(%rbp), %eax
pushq %rax
movl 0xb8(%rbp), %eax
pushq %rax
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)
callq 0x3d33
addq $0xa0, %rsp
movq %r15, -0xe0(%rbp)
movabsq $0x7ff0000000000000, %rax # imm = 0x7FF0000000000000
movq %rax, -0xd8(%rbp)
movl %r13d, %edi
movl %r12d, %esi
leaq -0xe0(%rbp), %rdx
pushq $0x2
popq %rcx
movq -0xa8(%rbp), %r8
movq -0xa0(%rbp), %r9
movq %r14, %r15
movq 0x110(%rbp), %r14
pushq %r14
pushq 0x108(%rbp)
pushq %r15
pushq 0xe8(%rbp)
movq 0xe0(%rbp), %r10
pushq %r10
movq %r10, %r14
pushq 0xd8(%rbp)
pushq %rbx
pushq 0xc8(%rbp)
pushq 0x60(%rbp)
pushq 0x58(%rbp)
pushq 0x50(%rbp)
pushq 0x48(%rbp)
pushq 0x38(%rbp)
pushq 0x30(%rbp)
pushq -0xc0(%rbp)
pushq -0xb8(%rbp)
callq 0x3b01
addq $0x80, %rsp
movslq 0x8(%r14), %rbx
movq %r14, %r8
movq -0x40(%rbp), %rcx
imull %ebx, %ecx
movq -0x60(%rbp), %rax
addl %eax, %ecx
movslq %ecx, %r14
movsd -0x8(%r15,%r14,8), %xmm0
movsd %xmm0, -0x48(%rbp)
subq $0x8, %rsp
movl %r13d, %edi
pushq $0x2
popq %r13
movq %r12, -0x68(%rbp)
movl %r12d, %esi
movq %rax, %r12
movl %r13d, %edx
movq -0xa8(%rbp), %rcx
movq 0x108(%rbp), %r9
pushq 0x110(%rbp)
callq 0x309d
popq %rax
popq %rcx
movapd %xmm0, %xmm1
movq %rbx, -0x78(%rbp)
movl %ebx, %eax
imull -0x50(%rbp), %eax
addl %r12d, %eax
movslq %eax, %r15
movq 0xf0(%rbp), %rax
addsd -0x10(%rax,%r15,8), %xmm1
movq -0x50(%rbp), %rbx
movsd -0x48(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x5b66
movq 0xe8(%rbp), %rax
movsd -0x8(%rax,%r14,8), %xmm0
movsd %xmm0, -0x40(%rbp)
subq $0x8, %rsp
movl %ebx, %edi
movl %r12d, %esi
movl %r13d, %edx
movq -0xa0(%rbp), %rcx
movq 0xe0(%rbp), %r8
movq 0x108(%rbp), %r9
pushq 0x110(%rbp)
callq 0x3139
popq %rax
popq %rcx
movapd %xmm0, %xmm1
movq 0xe8(%rbp), %rax
addsd -0x10(%rax,%r15,8), %xmm1
movsd -0x40(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x5b66
movq -0x68(%rbp), %rdx
decq %rdx
incl %ebx
movq %rbx, %rsi
movq -0x38(%rbp), %rbx
leal 0x1(%rbx), %r9d
leaq -0x1c0(%rbp), %rdi
xorl %ecx, %ecx
movl -0x2c(%rbp), %r8d
callq 0x52b3
movq %rbx, %rdx
jmp 0x6421
subq $0x8, %rsp
movl %ebx, %edi
pushq $0x2
popq %rsi
movq 0x18(%rbp), %rdx
movq 0x20(%rbp), %r15
movq %r15, %rcx
movq 0xc8(%rbp), %r8
movq %r13, %r9
pushq %r12
pushq 0x100(%rbp)
pushq 0xf8(%rbp)
pushq 0xf0(%rbp)
pushq 0xe8(%rbp)
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
callq 0x46b6
addq $0x40, %rsp
movapd %xmm0, %xmm1
movsd -0x50(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x5bb9
movq 0x100(%rbp), %rax
movsd (%rax,%rbx,8), %xmm0
movsd %xmm0, -0x70(%rbp)
subq $0x8, %rsp
movl %ebx, %edi
pushq $0x1
popq %rsi
movq 0x18(%rbp), %rdx
movq %r15, %rcx
movq 0xc8(%rbp), %r8
movq %r13, %r9
pushq %r12
pushq %rax
pushq 0xf8(%rbp)
pushq 0xf0(%rbp)
pushq 0xe8(%rbp)
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
callq 0x46b6
addq $0x40, %rsp
movapd %xmm0, %xmm1
movsd -0x70(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x5bb9
movq %rbx, %rcx
shlq $0x20, %rcx
movabsq $-0x600000000, %rax     # imm = 0xFFFFFFFA00000000
addq %rax, %rcx
sarq $0x20, %rcx
movq %rcx, -0x68(%rbp)
xorl %esi, %esi
cmpq -0x68(%rbp), %rsi
movq 0x18(%rbp), %rdx
jg 0x6335
movsbq 0x2(%r12,%rsi), %rax
movsbq (%r12,%rbx), %r15
imulq $0x28, %rax, %r13
movq 0xc8(%rbp), %rax
addq %r13, %rax
movsd (%rax,%r15,8), %xmm1
movsbq 0x1(%r12,%rsi), %rcx
imulq $0xc8, %r15, %r12
leaq (%rdx,%r12), %rax
addq %r13, %rax
movq %rcx, -0x40(%rbp)
movsd (%rax,%rcx,8), %xmm0
movsd %xmm1, -0x48(%rbp)
movsd %xmm0, -0x60(%rbp)
addsd %xmm0, %xmm1
movq %rsi, -0x58(%rbp)
leal 0x1(%rsi), %eax
movq 0xe0(%rbp), %rcx
imull 0x8(%rcx), %eax
addl %ebx, %eax
movslq %eax, %r14
movq 0xf0(%rbp), %rax
movsd -0x8(%rax,%r14,8), %xmm0
movsd %xmm0, -0x78(%rbp)
addsd %xmm0, %xmm1
movsd -0x50(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x5ab6
movq 0xd0(%rbp), %rax
addq %r13, %rax
movsd (%rax,%r15,8), %xmm1
movq 0x20(%rbp), %rax
addq %r12, %rax
addq %r13, %rax
movq -0x40(%rbp), %rcx
addsd (%rax,%rcx,8), %xmm1
movq 0xe8(%rbp), %rax
addsd -0x8(%rax,%r14,8), %xmm1
movsd -0x70(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
jne 0x63ba
movq %r15, -0x88(%rbp)
movq %r14, -0x90(%rbp)
movq -0x40(%rbp), %r14
movq 0xf8(%rbp), %rax
movq -0x58(%rbp), %r15
movsd -0x48(%rbp), %xmm0
addsd (%rax,%r15,8), %xmm0
movsd -0x60(%rbp), %xmm2
addsd %xmm0, %xmm2
movsd -0x78(%rbp), %xmm1
addsd %xmm2, %xmm1
movsd -0x50(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x5b54
movq 0x100(%rbp), %rax
movsd (%rax,%r15,8), %xmm1
movq 0xd0(%rbp), %rax
addq %r13, %rax
movq -0x88(%rbp), %rcx
addsd (%rax,%rcx,8), %xmm1
addq 0x20(%rbp), %r12
addq %r13, %r12
addsd (%r12,%r14,8), %xmm1
movq 0xe8(%rbp), %rax
movq -0x90(%rbp), %rcx
addsd -0x8(%rax,%rcx,8), %xmm1
movsd -0x70(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
jne 0x63e2
incq %r15
movq 0x108(%rbp), %r12
movq %r15, %rsi
jmp 0x59df
movsd -0xf0(%rbp), %xmm1
movsd -0x48(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
movq 0xd0(%rbp), %r12
movq %r14, %r15
je 0x5e45
movq 0xe8(%rbp), %rax
movsd -0x8(%rax,%r15,8), %xmm0
movsd -0xe8(%rbp), %xmm1
callq 0x52ff
testl %eax, %eax
je 0x5e45
movq 0xf0(%rbp), %rbx
jmp 0x6343
subq $0x8, %rsp
movl %ebx, %edi
pushq $0x2
popq %rsi
movq -0xb0(%rbp), %r15
movq %r15, %rdx
movq 0x10(%rbp), %rcx
movq 0xc8(%rbp), %r8
movq %r13, %r9
pushq %r12
pushq 0x100(%rbp)
pushq 0xf8(%rbp)
pushq 0xf0(%rbp)
pushq 0xe8(%rbp)
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
callq 0x491e
addq $0x40, %rsp
movapd %xmm0, %xmm1
movsd -0x50(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x60ae
movq 0x100(%rbp), %rax
movsd (%rax,%rbx,8), %xmm0
movsd %xmm0, -0x68(%rbp)
subq $0x8, %rsp
movl %ebx, %edi
pushq $0x1
popq %rsi
movq %r15, %rdx
movq 0x10(%rbp), %rcx
movq 0xc8(%rbp), %r8
movq %r13, %r9
pushq %r12
pushq %rax
pushq 0xf8(%rbp)
pushq 0xf0(%rbp)
pushq 0xe8(%rbp)
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
callq 0x491e
addq $0x40, %rsp
movapd %xmm0, %xmm1
movsd -0x68(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x60ae
movq %rbx, %rcx
shlq $0x20, %rcx
movabsq $-0x600000000, %rax     # imm = 0xFFFFFFFA00000000
addq %rax, %rcx
sarq $0x20, %rcx
movq %rcx, -0x80(%rbp)
xorl %edx, %edx
movq 0xc8(%rbp), %rax
cmpq -0x80(%rbp), %rdx
jg 0x6335
movsbq 0x1(%r12,%rdx), %r15
movsbq -0x1(%r12,%rbx), %r13
imulq $0x28, %r15, %rcx
movq %rcx, -0x48(%rbp)
addq %rcx, %rax
movsd (%rax,%r13,8), %xmm1
movsbq (%r12,%rbx), %rax
imulq $0xc8, %r13, %rsi
movq -0xb0(%rbp), %rcx
movq %rsi, -0x58(%rbp)
addq %rsi, %rcx
imulq $0x28, %rax, %rax
movq %rax, -0x40(%rbp)
addq %rax, %rcx
movsd (%rcx,%r15,8), %xmm0
movsd %xmm1, -0x78(%rbp)
movsd %xmm0, -0x90(%rbp)
addsd %xmm0, %xmm1
movq 0xe0(%rbp), %rax
movl 0x8(%rax), %eax
movq %rdx, -0x60(%rbp)
imull %edx, %eax
addl %ebx, %eax
movslq %eax, %r12
movq 0xf0(%rbp), %rax
movsd -0x10(%rax,%r12,8), %xmm0
movsd %xmm0, -0x88(%rbp)
addsd %xmm0, %xmm1
movsd -0x50(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x5d99
movq 0xd0(%rbp), %rax
movq -0x48(%rbp), %rcx
addq %rcx, %rax
movsd (%rax,%r13,8), %xmm1
movq 0x10(%rbp), %rax
movq -0x58(%rbp), %rcx
addq %rcx, %rax
addq -0x40(%rbp), %rax
addsd (%rax,%r15,8), %xmm1
movq 0xe8(%rbp), %rax
addsd -0x10(%rax,%r12,8), %xmm1
movsd -0x68(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
jne 0x6437
movq %r13, -0x70(%rbp)
movq 0xf8(%rbp), %rax
movq -0x60(%rbp), %r13
movsd -0x78(%rbp), %xmm0
addsd (%rax,%r13,8), %xmm0
movsd -0x90(%rbp), %xmm2
addsd %xmm0, %xmm2
movsd -0x88(%rbp), %xmm1
addsd %xmm2, %xmm1
movsd -0x50(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x5e2c
movq 0x100(%rbp), %rax
movsd (%rax,%r13,8), %xmm1
movq -0x48(%rbp), %rcx
addq 0xd0(%rbp), %rcx
movq -0x70(%rbp), %rax
addsd (%rcx,%rax,8), %xmm1
movq -0x58(%rbp), %rax
addq 0x10(%rbp), %rax
addq -0x40(%rbp), %rax
addsd (%rax,%r15,8), %xmm1
movq 0xe8(%rbp), %rax
addsd -0x10(%rax,%r12,8), %xmm1
movsd -0x68(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
jne 0x643f
incq %r13
movq 0x108(%rbp), %r12
movq 0xc8(%rbp), %rax
movq %r13, %rdx
jmp 0x5caf
movsd -0xe0(%rbp), %xmm1
movsd -0x48(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
movq 0xf0(%rbp), %r14
je 0x634f
movq 0xe8(%rbp), %rax
movsd -0x8(%rax,%r15,8), %xmm0
movsd -0xd8(%rbp), %xmm1
movsd %xmm0, -0x90(%rbp)
callq 0x52ff
testl %eax, %eax
je 0x634f
movq -0x60(%rbp), %rsi
movl %esi, %eax
subl %ebx, %eax
leal -0x3(%rax), %ecx
addl $-0x20, %eax
movslq %ecx, %rdi
cltq
movq %rax, -0x80(%rbp)
movq -0x38(%rbp), %rax
incl %eax
movl %eax, -0x98(%rbp)
movq -0x78(%rbp), %r8
leaq 0x1(%r8), %rax
movq -0x58(%rbp), %rdx
imulq %rdx, %rax
leaq (,%rdi,8), %rcx
leaq (%rcx,%rax,8), %r13
leaq 0x8(,%r8,8), %rax
movq %rax, -0x78(%rbp)
leal -0x2(%rsi), %ecx
incq %rdx
movq %rdx, -0x58(%rbp)
xorl %eax, %eax
movq 0xe8(%rbp), %r10
movq 0xe0(%rbp), %r11
movq 0xd8(%rbp), %r14
cmpq $0x4, %rdi
jl 0x5bad
cmpq -0x80(%rbp), %rdi
jl 0x5bad
testl %eax, %eax
jne 0x5bad
movq -0x68(%rbp), %rax
movq %rdi, -0x88(%rbp)
subq %rdi, %rax
movq %rax, -0x40(%rbp)
xorl %r12d, %r12d
movq %r13, -0x70(%rbp)
movq -0x58(%rbp), %rax
addq %r12, %rax
cmpq -0x40(%rbp), %rax
jge 0x6042
leaq (%rbx,%r12), %rdx
incq %rdx
movq %rcx, %r15
leal (%rcx,%r12), %ecx
movabsq $-0x4010000000000000, %rax # imm = 0xBFF0000000000000
movq %rax, -0xd0(%rbp)
movabsq $0x7ff0000000000000, %rax # imm = 0x7FF0000000000000
movq %rax, -0xc8(%rbp)
movl %ebx, %edi
leaq -0xd0(%rbp), %r8
pushq $0x1
popq %r9
pushq 0x110(%rbp)
pushq 0x108(%rbp)
movq 0xf0(%rbp), %rbx
pushq %rbx
pushq %r10
pushq %r11
pushq %r14
pushq 0xd0(%rbp)
pushq 0xc8(%rbp)
pushq 0x60(%rbp)
pushq 0x58(%rbp)
pushq 0x50(%rbp)
pushq 0x48(%rbp)
pushq 0x38(%rbp)
pushq 0x30(%rbp)
pushq -0xc0(%rbp)
pushq -0xb8(%rbp)
pushq -0xa0(%rbp)
pushq -0xa8(%rbp)
movq %r10, %r14
callq 0x33f0
addq $0x90, %rsp
movsd -0xd0(%rbp), %xmm1
addsd (%rbx,%r13), %xmm1
movsd -0x48(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x601a
movsd -0xc8(%rbp), %xmm1
addsd (%r14,%r13), %xmm1
movsd -0x90(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
jne 0x6046
addq -0x78(%rbp), %r13
incq %r12
movq %r14, %r10
movq 0xe0(%rbp), %r11
movq 0xd8(%rbp), %r14
movq -0x50(%rbp), %rbx
movq -0x60(%rbp), %rsi
movq %r15, %rcx
jmp 0x5f32
xorl %eax, %eax
jmp 0x608d
movq -0x50(%rbp), %rbx
leal (%rbx,%r12), %esi
incl %esi
addl %r15d, %r12d
leaq -0x1c0(%rbp), %rdi
movl %r12d, %edx
xorl %ecx, %ecx
movl -0x2c(%rbp), %r8d
movl -0x98(%rbp), %r9d
callq 0x52b3
movq %r15, %rcx
movl %eax, -0x2c(%rbp)
pushq $0x1
popq %rax
movq %r14, %r10
movq 0xe0(%rbp), %r11
movq 0xd8(%rbp), %r14
movq -0x60(%rbp), %rsi
movq -0x88(%rbp), %rdi
decq %rdi
movq -0x70(%rbp), %r13
addq $-0x8, %r13
decq %rcx
movq 0xd0(%rbp), %r12
jmp 0x5efd
subq $0x8, %rsp
movl %ebx, %edi
pushq $0x2
popq %rsi
movq 0x68(%rbp), %rdx
movq 0x70(%rbp), %r15
movq %r15, %rcx
movq 0xc8(%rbp), %r8
movq %r13, %r9
pushq %r12
pushq 0x100(%rbp)
pushq 0xf8(%rbp)
pushq 0xf0(%rbp)
pushq 0xe8(%rbp)
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
callq 0x4b84
addq $0x40, %rsp
movapd %xmm0, %xmm1
movsd -0x50(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x63ae
movq 0x100(%rbp), %rax
movsd (%rax,%rbx,8), %xmm0
movsd %xmm0, -0x80(%rbp)
subq $0x8, %rsp
movl %ebx, %edi
pushq $0x1
popq %rsi
movq 0x68(%rbp), %rdx
movq %r15, %rcx
movq 0xc8(%rbp), %r8
movq %r13, %r9
pushq %r12
pushq %rax
pushq 0xf8(%rbp)
pushq 0xf0(%rbp)
pushq 0xe8(%rbp)
pushq 0xe0(%rbp)
pushq 0xd8(%rbp)
callq 0x4b84
addq $0x40, %rsp
movapd %xmm0, %xmm1
movsd -0x80(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x6335
leal -0x7(%rbx), %eax
cltq
movq %rax, -0x98(%rbp)
xorl %esi, %esi
cmpq -0x98(%rbp), %rsi
movq 0x68(%rbp), %rdx
jg 0x6335
movsbq 0x2(%r12,%rsi), %rax
movsbq -0x1(%r12,%rbx), %rdi
imulq $0x28, %rax, %r15
movq 0xc8(%rbp), %rax
addq %r15, %rax
movsd (%rax,%rdi,8), %xmm1
movsbq (%r12,%rbx), %rax
movsbq 0x1(%r12,%rsi), %r8
movq %rdi, -0x40(%rbp)
imulq $0x3e8, %rdi, %rcx      # imm = 0x3E8
movq %rcx, -0x48(%rbp)
addq %rdx, %rcx
imulq $0xc8, %rax, %r13
addq %r15, %r13
addq %r13, %rcx
movq %r8, -0x58(%rbp)
movsd (%rcx,%r8,8), %xmm0
movsd %xmm1, -0x78(%rbp)
movsd %xmm0, -0x90(%rbp)
addsd %xmm0, %xmm1
movq %rsi, -0x60(%rbp)
leal 0x1(%rsi), %eax
movq 0xe0(%rbp), %rcx
imull 0x8(%rcx), %eax
addl %ebx, %eax
movslq %eax, %r12
movq 0xf0(%rbp), %rax
movsd -0x10(%rax,%r12,8), %xmm0
movsd %xmm0, -0x88(%rbp)
addsd %xmm0, %xmm1
movsd -0x50(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x6288
movq 0xd0(%rbp), %rax
addq %r15, %rax
movq -0x40(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x70(%rbp), %rax
movq -0x48(%rbp), %rcx
addq %rcx, %rax
addq %r13, %rax
movq -0x58(%rbp), %rcx
addsd (%rax,%rcx,8), %xmm1
movq 0xe8(%rbp), %rax
addsd -0x10(%rax,%r12,8), %xmm1
movsd -0x80(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
jne 0x647c
movq %r13, -0x68(%rbp)
movq %r15, -0x70(%rbp)
movq -0x40(%rbp), %r15
movq 0xf8(%rbp), %rax
movq -0x60(%rbp), %r13
movsd -0x78(%rbp), %xmm0
addsd (%rax,%r13,8), %xmm0
movsd -0x90(%rbp), %xmm2
addsd %xmm0, %xmm2
movsd -0x88(%rbp), %xmm1
addsd %xmm2, %xmm1
movsd -0x50(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
je 0x6323
movq 0x100(%rbp), %rax
movsd (%rax,%r13,8), %xmm1
movq -0x70(%rbp), %rax
addq 0xd0(%rbp), %rax
addsd (%rax,%r15,8), %xmm1
movq -0x48(%rbp), %rcx
addq 0x70(%rbp), %rcx
addq -0x68(%rbp), %rcx
movq -0x58(%rbp), %rax
addsd (%rcx,%rax,8), %xmm1
movq 0xe8(%rbp), %rax
addsd -0x10(%rax,%r12,8), %xmm1
movsd -0x80(%rbp), %xmm0
callq 0x52ff
testl %eax, %eax
jne 0x649a
incq %r13
movq 0x108(%rbp), %r12
movq %r13, %rsi
jmp 0x618a
movq 0xf0(%rbp), %rbx
movq 0xd0(%rbp), %r12
movq -0x38(%rbp), %rdx
movl -0x2c(%rbp), %eax
jmp 0x642f
movq -0x38(%rbp), %rdx
movl -0x2c(%rbp), %eax
movq %r14, %rbx
jmp 0x642f
incl %r14d
movq -0x38(%rbp), %r15
leal 0x1(%r15), %r9d
leaq -0x1c0(%rbp), %rdi
movl %r14d, %esi
jmp 0x63d0
leal 0x1(%r14), %esi
movq -0x38(%rbp), %r13
leal 0x1(%r13), %r15d
leaq -0x1c0(%rbp), %r12
movq %r12, %rdi
movl %ebx, %edx
xorl %ecx, %ecx
movl -0x2c(%rbp), %r8d
movl %r15d, %r9d
callq 0x52b3
movq %r12, %rdi
movl %r14d, %esi
xorl %edx, %edx
pushq $0x1
popq %rcx
movl %eax, %r8d
movl %r15d, %r9d
jmp 0x6419
movq 0xf0(%rbp), %rbx
movq %r13, %r12
jmp 0x6343
movq -0x58(%rbp), %rsi
addl $0x2, %esi
movq -0x38(%rbp), %r15
leal 0x1(%r15), %r9d
leaq -0x1c0(%rbp), %rdi
movl %ebx, %edx
xorl %ecx, %ecx
movl -0x2c(%rbp), %r8d
callq 0x52b3
movq %r15, %rdx
jmp 0x6421
leal 0x2(%r15), %esi
movq -0x38(%rbp), %r13
leal 0x1(%r13), %r14d
leaq -0x1c0(%rbp), %r12
movq %r12, %rdi
movl %ebx, %edx
xorl %ecx, %ecx
movl -0x2c(%rbp), %r8d
movl %r14d, %r9d
callq 0x52b3
movq %r12, %rdi
movl %r15d, %esi
xorl %edx, %edx
pushq $0x1
popq %rcx
movl %eax, %r8d
movl %r14d, %r9d
callq 0x52b3
movq %r13, %rdx
movq 0xf0(%rbp), %rbx
movq 0xd0(%rbp), %r12
incq %rdx
jmp 0x53ba
movq -0x60(%rbp), %rsi
incl %esi
jmp 0x6483
leal 0x1(%r13), %esi
movq -0x38(%rbp), %r15
leal 0x1(%r15), %ebx
leaq -0x1c0(%rbp), %r12
movq %r12, %rdi
movl %r14d, %edx
xorl %ecx, %ecx
movl -0x2c(%rbp), %r8d
movl %ebx, %r9d
callq 0x52b3
movq %r12, %rdi
movl %r13d, %esi
xorl %edx, %edx
pushq $0x1
popq %rcx
movl %eax, %r8d
movl %ebx, %r9d
jmp 0x63d8
movq -0x60(%rbp), %rsi
addl $0x2, %esi
movq -0x38(%rbp), %rbx
leal 0x1(%rbx), %r9d
leaq -0x1c0(%rbp), %rdi
movl %r14d, %edx
jmp 0x58e0
leal 0x2(%r13), %esi
movq -0x38(%rbp), %r12
leal 0x1(%r12), %ebx
leaq -0x1c0(%rbp), %r15
movq %r15, %rdi
movl %r14d, %edx
xorl %ecx, %ecx
movl -0x2c(%rbp), %r8d
movl %ebx, %r9d
callq 0x52b3
movq %r15, %rdi
movl %r13d, %esi
xorl %edx, %edx
pushq $0x1
popq %rcx
movl %eax, %r8d
movl %ebx, %r9d
callq 0x52b3
movq %r12, %rdx
jmp 0x6421
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq