// File: /workspace/github_cpp_makefile_star2_O3/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 0xa070
movl $0x0, (%rax)
cmpb $0x1, 0x24a(%rbx)
je 0x2eb53
movb $0x1, %bpl
cmpq $0x0, 0x258(%rbx)
je 0x2ea85
cmpb $0x0, 0x9d1d3(%rip)     # 0xcbadb
je 0x2ea6a
leaq 0x2e8(%rbx), %r14
leaq 0x73af2(%rip), %rsi     # 0xa240e
movq %r14, %rdi
callq 0xa150
testl %eax, %eax
jne 0x2e93c
movq 0x218(%rbx), %rax
cmpq 0x220(%rbx), %rax
je 0x2ea83
leaq 0x73ae4(%rip), %rsi     # 0xa2427
movq %r14, %rdi
callq 0xa150
testl %eax, %eax
sete %cl
movq 0x3d8(%rbx), %rax
testq %rax, %rax
sete %dl
testb %dl, %cl
jne 0x2ea83
testq %rax, %rax
je 0x2e9c8
movsd 0x200(%rbx), %xmm0
movsd 0x736f6(%rip), %xmm1    # 0xa2070
unpcklps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd 0x736fb(%rip), %xmm2    # 0xa2080
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 0x73682(%rip), %xmm0    # 0xa2040
ucomisd %xmm0, %xmm3
ja 0x2ea83
movq 0xc0(%rbx), %r15
subq 0xb8(%rbx), %r15
movq %r15, %xmm0
movq 0x7368d(%rip), %xmm2    # 0xa2070
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
movapd 0x73691(%rip), %xmm3    # 0xa2080
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 0x9cb71(%rip), %xmm0    # 0xcb598
addsd 0x73601(%rip), %xmm0    # 0xa2030
ucomisd %xmm1, %xmm0
jbe 0x2ea9f
cmpq $0x1, 0x278(%rbx)
ja 0x2ea83
movq 0x3b8(%rbx), %r14
movq 0x3c0(%rbx), %r12
cmpq %r12, %r14
je 0x2ea99
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2ff7e
testb %al, %al
jne 0x2ea9f
addq $0x90, %r14
jmp 0x2ea4d
cmpb $0x0, 0x249(%rbx)
jne 0x2ea83
movq %rbx, %rdi
callq 0x2fece
testb %al, %al
je 0x2e90e
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq $0x24, %r15
jb 0x2ea83
cmpq $0x0, 0x350(%rbx)
jne 0x2ea85
movq %rbx, %rdi
callq 0x2cb28
testb %al, %al
jne 0x2ea83
movq 0xc0(%rbx), %rax
subq 0xb8(%rbx), %rax
movq %rax, %xmm0
movq 0x735a0(%rip), %xmm2    # 0xa2070
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
movapd 0x735a4(%rip), %xmm3    # 0xa2080
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
movsd 0x9ca88(%rip), %xmm0    # 0xcb598
addsd 0x73518(%rip), %xmm0    # 0xa2030
divsd %xmm2, %xmm1
xorl %eax, %eax
ucomisd %xmm1, %xmm0
seta %al
shll $0x5, %eax
movsd 0x360(%rax,%rbx), %xmm0
movsd 0x370(%rax,%rbx), %xmm1
movq %rbx, %rdi
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2cfee
callq 0xa660
testl %eax, %eax
jne 0x2ebeb
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x73db4(%rip), %rsi     # 0xa2927
leaq 0x73dc4(%rip), %rdx     # 0xa293e
leaq 0x88(%rsp), %rdi
callq 0x3880a
leaq 0xa8(%rsp), %rdi
movl $0x3e4, %esi            # imm = 0x3E4
callq 0x38eb1
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0x38e09
leaq 0x73d82(%rip), %rsi     # 0xa293f
leaq 0xc8(%rsp), %rdi
callq 0xaa70
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2ebf5
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x2ec02
movl $0x1, %edi
callq 0xa670
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 0x75002(%rip), %rsi     # 0xa3c2d
leaq 0x75033(%rip), %rdx     # 0xa3c65
leaq 0x68(%rsp), %rdi
callq 0x3880a
leaq 0x741cd(%rip), %rsi     # 0xa2e10
leaq 0x68(%rsp), %rdi
callq 0xaa70
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2ec6f
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x2ec7c
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 0x38e09
leaq 0x74fb5(%rip), %rsi     # 0xa3c66
leaq 0xe8(%rsp), %rdi
callq 0xaa70
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2ecdf
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x2ecec
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 0x42fc6
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2ed2c
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa550
jmp 0x2ed2c
movq %rax, %rbx
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2ed52
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xa550
jmp 0x2ed52
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x2ed6e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa550
jmp 0x2ed6e
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x2ed8a
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xa550
jmp 0x2ed8a
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x2eda6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa550
jmp 0x2eda6
movq %rax, %rbx
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2edcc
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xa550
jmp 0x2edcc
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2edf2
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xa550
jmp 0x2edf2
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x2ee0f
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xa550
movq %rbx, %rdi
callq 0xa9c0
nop