// File: /workspace/github_cpp_makefile_star2_O2/ncbi[P]amr/amr_report.cpp
// Function: (anonymous namespace)::BlastAlignment::insideEq((anonymous namespace)::BlastAlignment const&) const
bool insideEq (const BlastAlignment &other) const
    { ASSERT (targetProt == other. targetProt);
      ASSERT (targetName == other. targetName);
    #if 1
    	if (targetStrand != other. targetStrand)
    	  return false;
    	if (   targetStart + mismatchTailTarget () >= other. targetStart 
          && targetEnd                           <= other. targetEnd + mismatchTailTarget ()
         )
        return true;
      if (   ! partialPseudo ()
          || isMutationProt ()
          || other. isMutationProt ()
          || fusion2geneSymbols () != other. fusion2geneSymbols ()
        #if 0
          || refAccession. empty ()
          || other. refAccession. empty ()
          || refAccession != other. refAccession
        #endif
         )
        return false;
      // PD-4698
      // Most probably a repeat protein
      const size_t pseudoOverlap = mismatchTailTarget () * 2;  // PAR
      return    (targetStart < other. targetStart && targetEnd                   >= other. targetStart + pseudoOverlap)
             || (targetEnd   > other. targetEnd   && targetStart + pseudoOverlap <= other. targetEnd);
    #else
    	return    targetStrand                        == other. targetStrand
             && targetStart + mismatchTailTarget () >= other. targetStart 
             && targetEnd                           <= other. targetEnd + mismatchTailTarget ();
    #endif
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x110, %rsp            # imm = 0x110
movq %rsi, %rbx
movq %rdi, %r14
callq 0xb060
andl $0x0, (%rax)
movb 0x8(%r14), %al
cmpb 0x8(%rbx), %al
jne 0x22c3a
leaq 0x10(%r14), %rdi
leaq 0x10(%rbx), %rsi
callq 0x27a6c
testb %al, %al
je 0x22d0e
movb 0x68(%r14), %al
cmpb 0x68(%rbx), %al
jne 0x22bea
cmpb $0x0, 0x8(%r14)
pushq $0xa
popq %rax
pushq $0x1e
popq %rcx
cmovneq %rax, %rcx
movq 0x50(%r14), %rax
addq %rcx, %rax
cmpq 0x50(%rbx), %rax
jb 0x22b80
addq 0x58(%rbx), %rcx
movb $0x1, %al
cmpq %rcx, 0x58(%r14)
jbe 0x22bec
movq %r14, %rdi
callq 0x224f6
testb %al, %al
je 0x22bea
movq %r14, %rdi
callq 0x202a8
testb %al, %al
jne 0x22bea
movq %rbx, %rdi
callq 0x202a8
testb %al, %al
jne 0x22bea
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x22e96
leaq 0x30(%rsp), %rdi
movq %rbx, %rsi
callq 0x22e96
leaq 0x10(%rsp), %r15
leaq 0x30(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x2b196
movl %eax, %ebp
movq %r12, %rdi
callq 0xbb38
movq %r15, %rdi
callq 0xbb38
testb %bpl, %bpl
je 0x22bfc
xorl %eax, %eax
addq $0x110, %rsp            # imm = 0x110
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
cmpb $0x0, 0x8(%r14)
pushq $0x14
popq %rax
pushq $0x3c
popq %rcx
cmovneq %rax, %rcx
movq 0x50(%r14), %rdx
movq 0x58(%r14), %rsi
movq 0x50(%rbx), %rdi
cmpq %rdi, %rdx
jae 0x22c26
addq %rcx, %rdi
movb $0x1, %al
cmpq %rdi, %rsi
jae 0x22bec
movq 0x58(%rbx), %rax
cmpq %rax, %rsi
jbe 0x22bea
addq %rdx, %rcx
cmpq %rax, %rcx
setbe %al
jmp 0x22bec
callq 0xb680
testl %eax, %eax
jne 0x22de2
leaq 0x46cd9(%rip), %rsi     # 0x69927
leaq 0xb0(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x27230
leaq 0x90(%rsp), %rdi
movl $0x404, %esi            # imm = 0x404
callq 0x279bd
leaq 0xd0(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
leaq 0x90(%rsp), %rdx
callq 0x27956
leaq 0x46ca9(%rip), %rdx     # 0x6993f
leaq 0xf0(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x273ec
leaq 0x48015(%rip), %rsi     # 0x6acc7
leaq 0x50(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x27230
leaq 0x47148(%rip), %rdx     # 0x69e10
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x273ec
leaq 0x30(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
leaq 0x70(%rsp), %rdx
callq 0x27956
leaq 0x48025(%rip), %rdx     # 0x6ad1a
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x273ec
leaq 0x10(%rsp), %rdi
callq 0x2f08c
callq 0xb680
testl %eax, %eax
jne 0x22de2
leaq 0x46c05(%rip), %rsi     # 0x69927
leaq 0xb0(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x27230
leaq 0x90(%rsp), %rdi
movl $0x405, %esi            # imm = 0x405
callq 0x279bd
leaq 0xd0(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
leaq 0x90(%rsp), %rdx
callq 0x27956
leaq 0x46bd5(%rip), %rdx     # 0x6993f
leaq 0xf0(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x273ec
leaq 0x47f41(%rip), %rsi     # 0x6acc7
leaq 0x50(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x27230
leaq 0x47074(%rip), %rdx     # 0x69e10
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x273ec
leaq 0x30(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
leaq 0x70(%rsp), %rdx
callq 0x27956
leaq 0x47f71(%rip), %rdx     # 0x6ad3a
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x273ec
leaq 0x10(%rsp), %rdi
callq 0x2f08c
pushq $0x1
popq %rdi
callq 0xb690
jmp 0x22dee
jmp 0x22dfd
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xbb38
jmp 0x22e00
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0xbb38
jmp 0x22e11
jmp 0x22e0e
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0xbb38
jmp 0x22e22
jmp 0x22e1f
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0xbb38
jmp 0x22e33
jmp 0x22e30
movq %rax, %rbx
leaq 0xf0(%rsp), %rdi
callq 0xbb38
jmp 0x22e47
jmp 0x22e44
movq %rax, %rbx
leaq 0xd0(%rsp), %rdi
callq 0xbb38
jmp 0x22e65
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
jmp 0x22e81
jmp 0x22e62
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0xbb38
jmp 0x22e79
jmp 0x22e76
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0xbb38
jmp 0x22e8d
jmp 0x22e8a
movq %rax, %rbx
movq %rbx, %rdi
callq 0xb9f0
nop