// File: /workspace/github_cpp_makefile_star2_O1/ncbi[P]amr/amr_report.cpp
// Function: (anonymous namespace)::BlastAlignment::good() const
bool good () const
    { ASSERT (! fromHmm);
      if (refAccession. empty ())
        return true;
    //if (! refMutation. empty ())   // PD-4981: drop
      //return true;
      if (! reportPseudo && pseudo ())
        return false;
      if (isMutationProt () && seqChanges. empty ())  // PD-4981
        return false;
      if (isSusceptibleProt () && ! susceptible)  // Alien organism
        return false;
		  if (susceptible && pIdentity () > susceptible->cutoff + frac_delta)
		    return false;
  	  // PD-1032
	    if (   partial ()
	        && (   parts > 1 
    	        || (! truncatedCds () && refEnd - refStart <= 35)  // PAR  // PD-3287
    	       )
    	   )
  	    return false;
  	  if (brFam)
  	    return true;  	  
  	  if (inFam ())
  	    return false;
	    if (partial ())
        return passBlastRule (partialBR);
      return passBlastRule (completeBR);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdi, %rbx
callq 0xb070
movl $0x0, (%rax)
cmpb $0x1, 0x24a(%rbx)
je 0x2f83d
movb $0x1, %bpl
cmpq $0x0, 0x258(%rbx)
je 0x2f829
cmpb $0x0, 0x9d51d(%rip)     # 0xccadb
je 0x2f80e
leaq 0x2e8(%rbx), %r14
leaq 0x73e3c(%rip), %rsi     # 0xa340e
movq %r14, %rdi
callq 0xb150
testl %eax, %eax
jne 0x2f5f2
movq 0x218(%rbx), %rax
cmpq 0x220(%rbx), %rax
je 0x2f827
leaq 0x73e2e(%rip), %rsi     # 0xa3427
movq %r14, %rdi
callq 0xb150
testl %eax, %eax
sete %cl
movq 0x3d8(%rbx), %rax
testq %rax, %rax
sete %dl
testb %dl, %cl
jne 0x2f827
testq %rax, %rax
je 0x2f67e
movsd 0x200(%rbx), %xmm0
movsd 0x73a40(%rip), %xmm1    # 0xa3070
unpcklps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd 0x73a45(%rip), %xmm2    # 0xa3080
subpd %xmm2, %xmm0
movapd %xmm0, %xmm3
unpckhpd %xmm0, %xmm3            # xmm3 = xmm3[1],xmm0[1]
addsd %xmm0, %xmm3
movsd 0x38(%rbx), %xmm0
unpcklps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
subpd %xmm2, %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
divsd %xmm1, %xmm3
movsd 0x28(%rax), %xmm0
addsd 0x739cc(%rip), %xmm0    # 0xa3040
ucomisd %xmm0, %xmm3
ja 0x2f827
movq 0xc0(%rbx), %r15
subq 0xb8(%rbx), %r15
movq %r15, %xmm0
movq 0x739d7(%rip), %xmm2    # 0xa3070
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
movapd 0x739db(%rip), %xmm3    # 0xa3080
subpd %xmm3, %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movq 0xc8(%rbx), %xmm0
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
subpd %xmm3, %xmm0
movapd %xmm0, %xmm2
unpckhpd %xmm0, %xmm2            # xmm2 = xmm2[1],xmm0[1]
addsd %xmm0, %xmm2
divsd %xmm2, %xmm1
movsd 0x9cebb(%rip), %xmm0    # 0xcc598
addsd 0x7394b(%rip), %xmm0    # 0xa3030
ucomisd %xmm1, %xmm0
jbe 0x2f759
cmpq $0x1, 0x278(%rbx)
ja 0x2f827
movq 0x3b8(%rbx), %r14
movq 0x3c0(%rbx), %r13
cmpq %r13, %r14
setne %r12b
je 0x2f745
movq %rbx, %rdi
movq %r14, %rsi
callq 0x30c60
testb %al, %al
jne 0x2f745
addq $0x90, %r14
cmpq %r13, %r14
setne %r12b
je 0x2f745
movq %rbx, %rdi
movq %r14, %rsi
callq 0x30c60
addq $0x90, %r14
testb %al, %al
je 0x2f726
cmpq $0x24, %r15
setb %al
xorb $0x1, %r12b
testb %r12b, %al
jne 0x2f827
cmpq $0x0, 0x350(%rbx)
jne 0x2f829
movq %rbx, %rdi
callq 0x2d810
testb %al, %al
jne 0x2f827
movq 0xc0(%rbx), %rax
subq 0xb8(%rbx), %rax
movq %rax, %xmm0
movq 0x738de(%rip), %xmm2    # 0xa3070
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
movapd 0x738e2(%rip), %xmm3    # 0xa3080
subpd %xmm3, %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movq 0xc8(%rbx), %xmm0
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
subpd %xmm3, %xmm0
movapd %xmm0, %xmm2
unpckhpd %xmm0, %xmm2            # xmm2 = xmm2[1],xmm0[1]
addsd %xmm0, %xmm2
divsd %xmm2, %xmm1
movsd 0x9cdc2(%rip), %xmm0    # 0xcc598
addsd 0x73852(%rip), %xmm0    # 0xa3030
xorl %eax, %eax
ucomisd %xmm1, %xmm0
seta %al
shll $0x5, %eax
leaq (%rbx,%rax), %rsi
addq $0x358, %rsi            # imm = 0x358
movq %rbx, %rdi
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2dcc4
cmpb $0x0, 0x249(%rbx)
jne 0x2f827
movq %rbx, %rdi
callq 0x30b7e
testb %al, %al
je 0x2f5c4
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0xb660
testl %eax, %eax
jne 0x2f8d5
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x740ca(%rip), %rsi     # 0xa3927
leaq 0x740da(%rip), %rdx     # 0xa393e
leaq 0x88(%rsp), %rdi
callq 0x39720
leaq 0xa8(%rsp), %rdi
movl $0x3e4, %esi            # imm = 0x3E4
callq 0x39da6
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0x39cfe
leaq 0x74098(%rip), %rsi     # 0xa393f
leaq 0xc8(%rsp), %rdi
callq 0xba70
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2f8df
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x2f8ec
movl $0x1, %edi
callq 0xb670
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x75318(%rip), %rsi     # 0xa4c2d
leaq 0x75349(%rip), %rdx     # 0xa4c65
leaq 0x68(%rsp), %rdi
callq 0x39720
leaq 0x744e3(%rip), %rsi     # 0xa3e10
leaq 0x68(%rsp), %rdi
callq 0xba70
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2f959
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x2f966
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rsi
leaq 0x28(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x39cfe
leaq 0x752cb(%rip), %rsi     # 0xa4c66
leaq 0xe8(%rsp), %rdi
callq 0xba70
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2f9c9
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x2f9d6
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x43ebb
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2fa16
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb550
jmp 0x2fa16
movq %rax, %rbx
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2fa3c
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xb550
jmp 0x2fa3c
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x2fa58
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb550
jmp 0x2fa58
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x2fa74
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb550
jmp 0x2fa74
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x2fa90
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb550
jmp 0x2fa90
movq %rax, %rbx
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2fab6
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xb550
jmp 0x2fab6
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2fadc
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb550
jmp 0x2fadc
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x2faf9
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb550
movq %rbx, %rdi
callq 0xb9c0
nop