// File: /workspace/github_c_makefile_star2_O3/fukunagatsu[P]RIblast/raccess.cpp
// Function: Raccess::CalcOutsideVariable()
void Raccess::CalcOutsideVariable(){
  //Beta_outer
  for(int i = _seq_length-1;i >= 0;i--){
    double temp = _Beta_outer[i+1];
    for(int p = i+1; p <= min(i+_maximal_span+1,_seq_length);p++){
      if(_Alpha_stem[i][p-i] != -INF){
	int type = BP_pair[_int_sequence[i+1]][_int_sequence[p]];
	double bo = _Alpha_stem[i][p-i] + CalcDangleEnergy(type,i,p);
	temp = logsumexp(temp,bo+_Beta_outer[p]);
      }
    }
    _Beta_outer[i] = temp;	
  }
  
  for (int q=_seq_length; q>=TURN+1; q--) {
    for (int p=max(0,q-_maximal_span-1); p<= q-TURN; p++) {
      int type = 0;
      int type2 = 0;

      double temp = 0; bool flag = 0;
      if(p != 0 && q != _seq_length){
	//Beta_stemend
	_Beta_stemend[p][q-p] = q-p >= _maximal_span ? -INF : _Beta_stem[p-1][q-p+2];
	
	//Beta_Multi
	flag = 0;
	if(q-p+1 <= _maximal_span+1){
	  if(_Beta_multi[p-1][q-p+1] != -INF){
	    temp = _Beta_multi[p-1][q-p+1] + MLbase;
	    flag = 1;
	  }
	}
	
	type = BP_pair[_int_sequence[p]][_int_sequence[q+1]];
	int tt = rtype[type];
	if(flag == 1){
	  if(_Beta_stemend[p][q-p] != -INF){
	    temp = logsumexp(temp,_Beta_stemend[p][q-p]+MLclosing+MLintern+ dangle3[tt][_int_sequence[p+1]]+dangle5[tt][_int_sequence[q]]);
	  }
	}else{
	  if(_Beta_stemend[p][q-p] != -INF){
	    temp = _Beta_stemend[p][q-p]+MLclosing+MLintern+dangle3[tt][_int_sequence[p+1]]+dangle5[tt][_int_sequence[q]];
	  }else{
	    temp = -INF;
	  }
	}
	_Beta_multi[p][q-p] = temp;
	
	//Beta_Multi1
	temp = 0; flag = 0;
	for(int k = q+1 ; k<= min(_seq_length,p+_maximal_span);k++){
	  if(_Beta_multibif[p][k-p] != -INF && _Alpha_multi2[q][k-q] != -INF){
	    temp = flag == 0 ? _Beta_multibif[p][k-p]+_Alpha_multi2[q][k-q] : logsumexp(temp,_Beta_multibif[p][k-p]+_Alpha_multi2[q][k-q]) ;
	    flag = 1;
	  }
	}
	_Beta_multi1[p][q-p] = flag == 1 ? temp: -INF;
	
	//Beta_Multi2
	temp = 0; flag = 0;
	if(_Beta_multi1[p][q-p] != -INF){
	  temp = _Beta_multi1[p][q-p];
	  flag = 1;
	}
	if(q-p <= _maximal_span){
	  if(_Beta_multi2[p][q-p+1] != -INF){
	    temp = flag == 1 ? logsumexp(temp,_Beta_multi2[p][q-p+1]+MLbase) : _Beta_multi2[p][q-p+1]+MLbase;
	    flag = 1;
	  }
	}
	
	for(int k = max(0,q-_maximal_span); k < p ;k++){
	  if(_Beta_multibif[k][q-k] != -INF && _Alpha_multi1[k][p-k] != -INF){
	    temp = flag == 0 ? _Beta_multibif[k][q-k]+_Alpha_multi1[k][p-k] : logsumexp(temp,_Beta_multibif[k][q-k]+_Alpha_multi1[k][p-k]);
	    flag = 1;
	  }
	}
	_Beta_multi2[p][q-p] = flag == 0 ? -INF : temp;
	
	//Beta_multibif
	if(_Beta_multi1[p][q-p] != -INF && _Beta_multi[p][q-p] != -INF){
	  _Beta_multibif[p][q-p] = logsumexp(_Beta_multi1[p][q-p],_Beta_multi[p][q-p]);
	}else if(_Beta_multi[p][q-p] == -INF){
	  _Beta_multibif[p][q-p] = _Beta_multi1[p][q-p];
	}else if(_Beta_multi1[p][q-p] == -INF){
	  _Beta_multibif[p][q-p] = _Beta_multi[p][q-p];
	}else{
	  _Beta_multibif[p][q-p] = -INF;
	}
	
      }
      
      //Beta_stem
      type2 = BP_pair[_int_sequence[p+1]][_int_sequence[q]];
      if(type2 != 0){
	temp = _Alpha_outer[p]+_Beta_outer[q]+CalcDangleEnergy(type2,p,q);
	
	type2 = rtype[type2];
	for (int i=max(1,p-MAXLOOP); i<=p; i++){
	  for (int j=q; j<=min(q+ MAXLOOP -p+i,_seq_length-1); j++) {
	    type = BP_pair[_int_sequence[i]][_int_sequence[j+1]];
	    if (type != 0 && !(i == p && j == q)) {
	      if(j-i <= _maximal_span+1 && _Beta_stemend[i][j-i] != -INF){
		temp = logsumexp(temp,_Beta_stemend[i][j-i]+LoopEnergy(type,type2,i,j+1,p+1,q));
	      }
	    }
	  }
	}
	
	if(p != 0 && q != _seq_length){
	  type = BP_pair[_int_sequence[p]][_int_sequence[q+1]];
	  if(type != 0){
	    if(q-p+2 <= _maximal_span+1 && _Beta_stem[p-1][q-p+2] != -INF){
	      temp = logsumexp(temp,_Beta_stem[p-1][q-p+2]+LoopEnergy(type,type2,p,q+1,p+1,q));
	    }
	  }
	}
	_Beta_stem[p][q-p] = temp;
	
	if(_Beta_multi2[p][q-p] != -INF){
	  type2 = rtype[type2];
	  temp = _Beta_multi2[p][q-p] + MLintern + CalcDangleEnergy(type2,p,q);
	  _Beta_stem[p][q-p] = logsumexp(temp,_Beta_stem[p][q-p]);
	}
      }else{
	_Beta_stem[p][q-p] = -INF;
      }
    }
  }
}

// Assembly:
movslq 0x62110(%rdi), %r9
testq %r9, %r9
jle 0xac22
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rdi, %rbx
movq 0x621e8(%rdi), %rax
movl 0x62114(%rdi), %ecx
movq %rcx, 0x40(%rsp)
movq 0x62158(%rdi), %rcx
movq %rcx, 0x60(%rsp)
movsd (%rax,%r9,8), %xmm0
leaq (,%r9,4), %rsi
movq %rax, 0x48(%rsp)
leaq (%rax,%r9,8), %rax
movq %rax, 0x8(%rsp)
movsd 0x43916(%rip), %xmm3    # 0x4da10
leaq 0x43a9f(%rip), %rdi     # 0x4dba0
movq %r9, %r15
leaq -0x1(%r15), %rbp
movq 0x40(%rsp), %rax
addl %r15d, %eax
cmpl %eax, %r9d
cmovll %r9d, %eax
movslq %eax, %r14
cmpq %r14, %r15
movq %rsi, 0x30(%rsp)
jg 0xa1ee
leaq (,%rbp,2), %rax
addq %rbp, %rax
movq 0x60(%rsp), %rcx
movq (%rcx,%rax,8), %rax
movq %rax, 0x20(%rsp)
movq 0x620f8(%rbx), %rax
movq %rax, 0x18(%rsp)
addq %rsi, %rax
movq %rax, 0x38(%rsp)
xorl %r13d, %r13d
movq 0x20(%rsp), %rax
movsd 0x8(%rax,%r13,8), %xmm1
ucomisd %xmm3, %xmm1
jne 0xa16c
jnp 0xa1d8
movq 0x18(%rsp), %rax
movslq (%rax,%r15,4), %rax
movq 0x38(%rsp), %rcx
movslq (%rcx,%r13,4), %rcx
leaq (%rax,%rax,4), %rax
leaq (%rdi,%rax,4), %rax
movl (%rax,%rcx,4), %esi
leal (%r15,%r13), %ecx
movq %rbx, %rdi
movl %ebp, %edx
movq %r9, %r12
movsd %xmm0, 0x10(%rsp)
movsd %xmm1, 0x28(%rsp)
callq 0xbdec
movsd 0x28(%rsp), %xmm1
addsd %xmm0, %xmm1
movq 0x8(%rsp), %rax
addsd (%rax,%r13,8), %xmm1
movsd 0x10(%rsp), %xmm0
callq 0xbc7e
leaq 0x439d3(%rip), %rdi     # 0x4dba0
movsd 0x4383b(%rip), %xmm3    # 0x4da10
movq %r12, %r9
leaq (%r15,%r13), %rax
incq %rax
incq %r13
decq %rax
cmpq %r14, %rax
jl 0xa158
movq 0x48(%rsp), %rax
movsd %xmm0, (%rax,%rbp,8)
movq 0x30(%rsp), %rsi
addq $-0x4, %rsi
addq $-0x8, 0x8(%rsp)
cmpq $0x1, %r15
movq %rbp, %r15
jg 0xa104
cmpl $0x4, %r9d
jl 0xac11
leaq 0x61ec0(%rbx), %rax
movq %rax, 0x88(%rsp)
leaq 0x61d80(%rbx), %rax
movq %rax, 0x80(%rsp)
leal 0x1(%r9), %eax
movq %rax, 0x48(%rsp)
leaq (,%r9,8), %rax
movq %rax, 0x78(%rsp)
negq %rax
movq %rax, 0x60(%rsp)
leal -0x1(%r9), %eax
movl %eax, 0x54(%rsp)
leaq 0xf0(,%r9,8), %rax
movq %rax, 0x98(%rsp)
leaq 0x1e(%r9), %rax
movq %rax, 0x90(%rsp)
leaq 0x4(,%r9,4), %r8
leaq -0x1(%r9), %rax
movq %rax, 0x70(%rsp)
movl 0x62114(%rbx), %eax
movl %eax, %ecx
notl %ecx
addl %r9d, %ecx
testl %ecx, %ecx
movl $0x0, %edx
cmovlel %edx, %ecx
leaq -0x3(%r9), %rdx
movq %rdx, 0xd0(%rsp)
cmpq %rcx, %rdx
jae 0xa2f1
decq 0x48(%rsp)
addq $0x8, 0x60(%rsp)
decl 0x54(%rsp)
addq $-0x8, 0x78(%rsp)
addq $-0x8, 0x98(%rsp)
decq 0x90(%rsp)
addq $-0x4, %r8
cmpq $0x4, %r9
movq 0x70(%rsp), %r9
jg 0xa286
jmp 0xac11
movslq 0x48(%rsp), %rcx
decq %rcx
movq %rcx, 0xb0(%rsp)
leal 0x1(%r9), %ecx
movl %ecx, 0x6c(%rsp)
movq 0x70(%rsp), %rcx
subl %eax, %ecx
testl %ecx, %ecx
movl $0x0, %edx
cmovlel %edx, %ecx
movq %rcx, 0x38(%rsp)
movl 0x54(%rsp), %ecx
subl %eax, %ecx
testl %ecx, %ecx
cmovlel %edx, %ecx
leaq 0x1e(%r9), %rax
movq %rax, 0xb8(%rsp)
shlq $0x3, %rcx
movq %rcx, 0xa8(%rsp)
negq %rcx
movq %rcx, 0xa0(%rsp)
movq %r9, 0x8(%rsp)
movq %r8, 0x18(%rsp)
movq 0x38(%rsp), %r10
cmpl $0x20, %r10d
movl $0x1f, %r12d
cmovgel %r10d, %r12d
testq %r10, %r10
sete %al
movl 0x62110(%rbx), %r13d
movl %r13d, %ecx
cmpq %rcx, %r9
sete %cl
orb %al, %cl
cmpb $0x1, %cl
movq %r10, 0x20(%rsp)
jne 0xa398
movq 0x620f8(%rbx), %rcx
jmp 0xa812
movq %r9, %r15
subq %r10, %r15
movslq 0x62114(%rbx), %rax
leaq (%r10,%r10,2), %rbp
movapd %xmm3, %xmm1
movq %rax, 0x10(%rsp)
cmpq %rax, %r15
jge 0xa3ca
movq 0x62200(%rbx), %rax
movq -0x18(%rax,%rbp,8), %rax
movsd 0x10(%rax,%r15,8), %xmm1
movq 0x62218(%rbx), %rax
movq (%rax,%rbp,8), %rax
movsd %xmm1, (%rax,%r15,8)
xorpd %xmm0, %xmm0
cmpq 0x10(%rsp), %r15
jg 0xa411
movq 0x62230(%rbx), %rax
movq -0x18(%rax,%rbp,8), %rax
movsd 0x8(%rax,%r15,8), %xmm2
ucomisd %xmm3, %xmm2
jne 0xa401
jnp 0xa411
addsd 0x61d78(%rbx), %xmm2
movb $0x1, %cl
movapd %xmm2, %xmm0
jmp 0xa413
xorl %ecx, %ecx
movq 0x620f8(%rbx), %r14
movslq (%r14,%r10,4), %rax
movslq 0x4(%r14,%r9,4), %rdx
leaq (%rax,%rax,4), %rax
leaq (%rdi,%rax,4), %rax
movslq (%rax,%rdx,4), %rax
leaq 0x437da(%rip), %rdx     # 0x4dc10
movslq (%rdx,%rax,4), %rax
testb %cl, %cl
je 0xa4ad
ucomisd %xmm3, %xmm1
jne 0xa44a
jnp 0xa4fb
addsd 0x61d68(%rbx), %xmm1
addsd 0x61d70(%rbx), %xmm1
movslq 0x4(%r14,%r10,4), %rcx
shlq $0x3, %rax
leaq (%rax,%rax,4), %rax
movq 0x88(%rsp), %rdx
addq %rax, %rdx
addsd (%rdx,%rcx,8), %xmm1
movslq (%r14,%r9,4), %rcx
addq 0x80(%rsp), %rax
addsd (%rax,%rcx,8), %xmm1
callq 0xbc7e
movq 0x20(%rsp), %r10
movq 0x18(%rsp), %r8
leaq 0x43702(%rip), %rdi     # 0x4dba0
movsd 0x4356a(%rip), %xmm3    # 0x4da10
movq 0x8(%rsp), %r9
jmp 0xa4fb
ucomisd %xmm3, %xmm1
movapd %xmm3, %xmm0
jne 0xa4b9
jnp 0xa4fb
addsd 0x61d68(%rbx), %xmm1
addsd 0x61d70(%rbx), %xmm1
movslq 0x4(%r14,%r10,4), %rcx
shlq $0x3, %rax
leaq (%rax,%rax,4), %rax
movq 0x88(%rsp), %rdx
addq %rax, %rdx
addsd (%rdx,%rcx,8), %xmm1
movslq (%r14,%r9,4), %rcx
addq 0x80(%rsp), %rax
addsd (%rax,%rcx,8), %xmm1
movapd %xmm1, %xmm0
movq %r14, 0x58(%rsp)
movq 0x62230(%rbx), %rax
movq (%rax,%rbp,8), %rcx
movq 0x10(%rsp), %rax
addl %r10d, %eax
cmpl %r13d, %eax
cmovll %eax, %r13d
movq %rcx, 0xc8(%rsp)
movsd %xmm0, (%rcx,%r15,8)
movslq %r13d, %r14
movapd %xmm3, %xmm2
cmpq %r14, %r9
movq %r15, 0x30(%rsp)
movq %rbp, 0x40(%rsp)
jge 0xa5f7
movq 0x62248(%rbx), %rax
leaq (%r9,%r9,2), %rcx
shlq $0x3, %rcx
addq 0x621d0(%rbx), %rcx
movq (%rax,%rbp,8), %r13
addq 0xa0(%rsp), %r13
xorpd %xmm2, %xmm2
xorl %edx, %edx
movq 0xb0(%rsp), %r15
movsd 0x8(%r13,%r15,8), %xmm1
ucomisd %xmm3, %xmm1
jne 0xa581
jnp 0xa5dc
movq (%rcx), %rax
addq 0x60(%rsp), %rax
movsd 0x8(%rax,%r15,8), %xmm0
ucomisd %xmm3, %xmm0
jne 0xa598
jnp 0xa5dc
addsd %xmm0, %xmm1
testb $0x1, %dl
movb $0x1, %dl
jne 0xa5a9
movapd %xmm1, %xmm2
jmp 0xa5dc
movapd %xmm2, %xmm0
movq %rcx, %rbp
callq 0xbc7e
movb $0x1, %dl
movq %rbp, %rcx
movq 0x20(%rsp), %r10
movq 0x18(%rsp), %r8
leaq 0x435d5(%rip), %rdi     # 0x4dba0
movsd 0x4343d(%rip), %xmm3    # 0x4da10
movq 0x8(%rsp), %r9
movapd %xmm0, %xmm2
incq %r15
cmpq %r14, %r15
jl 0xa572
testb $0x1, %dl
jne 0xa5ed
movapd %xmm3, %xmm2
movq 0x30(%rsp), %r15
movq 0x40(%rsp), %rbp
ucomisd %xmm3, %xmm2
movapd %xmm2, %xmm0
jne 0xa60b
movapd %xmm2, %xmm0
jp 0xa60b
xorpd %xmm0, %xmm0
movapd %xmm2, %xmm1
cmpneqsd %xmm3, %xmm1
movq %xmm1, %rdx
andl $0x1, %edx
movq 0x62260(%rbx), %rax
movq (%rax,%rbp,8), %rax
movq %rax, 0xc0(%rsp)
movsd %xmm2, (%rax,%r15,8)
movq 0x10(%rsp), %r13
cmpq %r13, %r15
jle 0xa643
xorl %eax, %eax
jmp 0xa6a5
movq 0x62278(%rbx), %rax
movq (%rax,%rbp,8), %rax
movsd 0x8(%rax,%r15,8), %xmm1
ucomisd %xmm3, %xmm1
movl $0x0, %eax
jne 0xa662
jnp 0xa6a5
ucomisd %xmm3, %xmm2
addsd 0x61d78(%rbx), %xmm1
movb $0x1, %dl
jne 0xa674
jnp 0xa6a1
movapd %xmm2, %xmm0
callq 0xbc7e
movb $0x1, %dl
movq 0x20(%rsp), %r10
xorl %eax, %eax
movq 0x18(%rsp), %r8
leaq 0x4350e(%rip), %rdi     # 0x4dba0
movsd 0x43376(%rip), %xmm3    # 0x4da10
movq 0x8(%rsp), %r9
jmp 0xa6a5
movapd %xmm1, %xmm0
movl %r9d, %r14d
subl %r13d, %r14d
testl %r14d, %r14d
cmovlel %eax, %r14d
cmpq %r14, %r10
jbe 0xa773
movq 0x621b8(%rbx), %rsi
movq 0x62248(%rbx), %r11
xorl %ecx, %ecx
movl %r9d, %eax
subl %r13d, %eax
testl %eax, %eax
cmovlel %ecx, %eax
shlq $0x3, %rax
movq 0xa8(%rsp), %r15
subq %rax, %r15
movq 0x78(%rsp), %r13
subq %rax, %r13
leaq (%rax,%rax,2), %rbp
movq %rsi, 0x28(%rsp)
movq %r11, 0x38(%rsp)
movq (%r11,%rbp), %rax
movsd (%rax,%r13), %xmm1
ucomisd %xmm3, %xmm1
jne 0xa70d
jnp 0xa75f
movq (%rsi,%rbp), %rax
movsd (%rax,%r15), %xmm2
ucomisd %xmm3, %xmm2
jne 0xa71f
jnp 0xa75f
addsd %xmm2, %xmm1
testb $0x1, %dl
movb $0x1, %dl
jne 0xa730
movapd %xmm1, %xmm0
jmp 0xa75f
callq 0xbc7e
movq 0x38(%rsp), %r11
movq 0x28(%rsp), %rsi
movb $0x1, %dl
movq 0x20(%rsp), %r10
movq 0x18(%rsp), %r8
leaq 0x4344e(%rip), %rdi     # 0x4dba0
movsd 0x432b6(%rip), %xmm3    # 0x4da10
movq 0x8(%rsp), %r9
incq %r14
addq $-0x8, %r15
addq $-0x8, %r13
addq $0x18, %rbp
cmpq %r10, %r14
jb 0xa6fb
movapd %xmm3, %xmm1
testb $0x1, %dl
je 0xa780
movapd %xmm0, %xmm1
movq 0x62278(%rbx), %rax
movq 0x40(%rsp), %r15
movq (%rax,%r15,8), %rax
movq 0x30(%rsp), %r14
movsd %xmm1, (%rax,%r14,8)
movq 0xc0(%rsp), %rax
movsd (%rax,%r14,8), %xmm0
ucomisd %xmm3, %xmm0
movq 0xc8(%rsp), %rax
movsd (%rax,%r14,8), %xmm1
jne 0xa7bf
jnp 0xa7ec
ucomisd %xmm3, %xmm1
jne 0xa7c7
jnp 0xa7fc
callq 0xbc7e
movq 0x20(%rsp), %r10
movq 0x18(%rsp), %r8
leaq 0x433c3(%rip), %rdi     # 0x4dba0
movsd 0x4322b(%rip), %xmm3    # 0x4da10
movq 0x8(%rsp), %r9
jmp 0xa7fc
ucomisd %xmm3, %xmm1
jne 0xabe0
jp 0xabe0
movq 0x62248(%rbx), %rax
movq (%rax,%r15,8), %rax
movsd %xmm0, (%rax,%r14,8)
movq 0x58(%rsp), %rcx
leaq 0x1(%r10), %rax
movq %rax, 0x38(%rsp)
movslq 0x4(%rcx,%r10,4), %rax
movslq (%rcx,%r9,4), %rcx
leaq (%rax,%rax,4), %rax
leaq (%rdi,%rax,4), %rax
movslq (%rax,%rcx,4), %rbp
testq %rbp, %rbp
je 0xa8ae
movq 0x62140(%rbx), %rax
movq 0x621e8(%rbx), %rcx
movsd (%rax,%r10,8), %xmm0
addsd (%rcx,%r9,8), %xmm0
movsd %xmm0, 0x10(%rsp)
movq %rbx, %rdi
movl %ebp, %esi
movl %r10d, %edx
movl %r9d, %ecx
callq 0xbdec
movq 0x20(%rsp), %r10
addsd 0x10(%rsp), %xmm0
leaq 0x43399(%rip), %rax     # 0x4dc10
movslq (%rax,%rbp,4), %rax
movq %rax, 0x30(%rsp)
leal -0x1e(%r12), %ecx
movl 0x62110(%rbx), %eax
cmpq %rcx, %r10
jae 0xa8d6
movq 0x8(%rsp), %r9
movsd 0x43173(%rip), %xmm3    # 0x4da10
leaq 0x432fc(%rip), %rdi     # 0x4dba0
movq 0x18(%rsp), %r8
jmp 0xaa55
movq 0x62200(%rbx), %rax
leaq (%r10,%r10,2), %rcx
movq %r9, %rdx
subq %r10, %rdx
movq (%rax,%rcx,8), %rax
movabsq $-0x3ed17b8000000000, %rcx # imm = 0xC12E848000000000
movq %rcx, (%rax,%rdx,8)
jmp 0xabbb
leaq (,%r12,8), %rcx
movq 0x98(%rsp), %rbp
subq %rcx, %rbp
movq 0x90(%rsp), %r13
subq %r12, %r13
addq $-0x1e, %r12
movq 0xb8(%rsp), %rcx
subq %r10, %rcx
movq %rcx, 0x40(%rsp)
movq 0x8(%rsp), %r9
movsd 0x430fb(%rip), %xmm3    # 0x4da10
leaq 0x43284(%rip), %rdi     # 0x4dba0
movq 0x18(%rsp), %r8
movq 0x40(%rsp), %rcx
leal (%rcx,%r12), %r14d
leal -0x1(%rax), %ecx
cmpl %r14d, %ecx
cmovgel %r14d, %ecx
movslq %ecx, %rcx
cmpq %rcx, %r9
jg 0xaa3d
xorl %r15d, %r15d
movq %r12, %rcx
xorq %r10, %rcx
movq 0x620f8(%rbx), %rdx
movslq (%rdx,%r12,4), %rsi
addq %r8, %rdx
movslq (%rdx,%r15,4), %rdx
leaq (%rsi,%rsi,4), %rsi
leaq (%rdi,%rsi,4), %rsi
movl (%rsi,%rdx,4), %esi
orq %r15, %rcx
sete %cl
testl %esi, %esi
je 0xaa1a
testb %cl, %cl
jne 0xaa1a
leaq (%r15,%r13), %rcx
movslq 0x62114(%rbx), %rdx
incq %rdx
cmpq %rdx, %rcx
jg 0xaa1a
movq 0x62218(%rbx), %rcx
leaq (%r12,%r12,2), %rdx
movq (%rcx,%rdx,8), %rcx
addq %rbp, %rcx
movsd (%rcx,%r15,8), %xmm1
ucomisd %xmm3, %xmm1
jne 0xa9b3
jnp 0xaa1a
movq 0x48(%rsp), %rax
leal (%rax,%r15), %r8d
movl %r9d, (%rsp)
movq %rbx, %rdi
movq 0x30(%rsp), %rdx
movl %r12d, %ecx
movq 0x38(%rsp), %r9
movsd %xmm0, 0x10(%rsp)
movsd %xmm1, 0x28(%rsp)
callq 0xb970
movsd 0x28(%rsp), %xmm1
addsd %xmm0, %xmm1
movsd 0x10(%rsp), %xmm0
callq 0xbc7e
movq 0x20(%rsp), %r10
movq 0x18(%rsp), %r8
leaq 0x43199(%rip), %rdi     # 0x4dba0
movsd 0x43001(%rip), %xmm3    # 0x4da10
movq 0x8(%rsp), %r9
movl 0x62110(%rbx), %eax
leal -0x1(%rax), %ecx
cmpl %r14d, %ecx
cmovgel %r14d, %ecx
movslq %ecx, %rcx
leaq (%r9,%r15), %rdx
incq %rdx
incq %r15
decq %rdx
cmpq %rcx, %rdx
jl 0xa943
leaq 0x1(%r12), %rcx
addq $-0x8, %rbp
decq %r13
cmpq %r10, %r12
movq %rcx, %r12
jb 0xa921
testq %r10, %r10
je 0xab19
movl %eax, %eax
cmpq %rax, %r9
je 0xab19
movq 0x620f8(%rbx), %rax
movslq (%rax,%r10,4), %rcx
movslq 0x4(%rax,%r9,4), %rax
leaq (%rcx,%rcx,4), %rcx
leaq (%rdi,%rcx,4), %rcx
movl (%rcx,%rax,4), %esi
testl %esi, %esi
je 0xab19
movq %r9, %rax
subq %r10, %rax
movslq 0x62114(%rbx), %rcx
cmpq %rcx, %rax
jge 0xab19
movq 0x62200(%rbx), %rcx
leaq (%r10,%r10,2), %rdx
movq -0x18(%rcx,%rdx,8), %rcx
movsd 0x10(%rcx,%rax,8), %xmm1
ucomisd %xmm3, %xmm1
jne 0xaabc
jnp 0xab19
movl %r9d, (%rsp)
movq %rbx, %rdi
movq 0x30(%rsp), %rdx
movl %r10d, %ecx
movl 0x6c(%rsp), %r8d
movq 0x38(%rsp), %r9
movsd %xmm0, 0x10(%rsp)
movsd %xmm1, 0x28(%rsp)
callq 0xb970
movsd 0x28(%rsp), %xmm1
addsd %xmm0, %xmm1
movsd 0x10(%rsp), %xmm0
callq 0xbc7e
movq 0x20(%rsp), %r10
movq 0x18(%rsp), %r8
leaq 0x43094(%rip), %rdi     # 0x4dba0
movsd 0x42efc(%rip), %xmm3    # 0x4da10
movq 0x8(%rsp), %r9
movq 0x62200(%rbx), %rax
leaq (,%r10,8), %rcx
leaq (%rcx,%rcx,2), %rcx
movq %r9, %r14
subq %r10, %r14
movq (%rax,%rcx), %r15
movsd %xmm0, (%r15,%r14,8)
movq 0x62278(%rbx), %rax
movq (%rax,%rcx), %rax
movsd (%rax,%r14,8), %xmm1
ucomisd %xmm3, %xmm1
jne 0xab55
jnp 0xabbb
leaq 0x430b4(%rip), %rax     # 0x4dc10
movq 0x30(%rsp), %rcx
movl (%rax,%rcx,4), %esi
addsd 0x61d70(%rbx), %xmm1
movsd %xmm1, 0x28(%rsp)
movq %rbx, %rdi
movl %r10d, %edx
movl %r9d, %ecx
movsd %xmm0, 0x10(%rsp)
callq 0xbdec
addsd 0x28(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
callq 0xbc7e
movq 0x20(%rsp), %r10
movq 0x18(%rsp), %r8
leaq 0x42ff8(%rip), %rdi     # 0x4dba0
movsd 0x42e60(%rip), %xmm3    # 0x4da10
movq 0x8(%rsp), %r9
movsd %xmm0, (%r15,%r14,8)
addq $-0x8, 0xa0(%rsp)
addq $0x8, 0xa8(%rsp)
cmpq 0xd0(%rsp), %r10
jl 0xa357
jmp 0xa2b7
ucomisd %xmm3, %xmm0
movq 0x62248(%rbx), %rax
movq (%rax,%r15,8), %rax
jne 0xabfe
jp 0xabfe
movsd %xmm1, (%rax,%r14,8)
jmp 0xa80d
movabsq $-0x3ed17b8000000000, %rcx # imm = 0xC12E848000000000
movq %rcx, (%rax,%r14,8)
jmp 0xa80d
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop