// File: /workspace/github_cpp_makefile_star2_O1/ncbi[P]amr/seq.cpp
// Function: Seq_sp::Cds::getOverlap_(Seq_sp::Cds const&) const
size_t Cds::getOverlap_ (const Cds &other) const
{ 
  ASSERT (left () <= other. left ());
	ASSERT (other. left () <= right ());
	if (other. right () <= right ())
		return other. size ();
	return right () - other. left ();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rsi, %rbx
movq %rdi, %r14
callq 0xb070
movq %rax, %rcx
movl $0x0, (%rax)
movq 0x8(%r14), %r8
movq 0x10(%r14), %rdx
cmpq %r8, %rdx
movq %r8, %r9
cmovbq %rdx, %r9
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rax
cmpq %rdi, %rax
movq %rdi, %rsi
cmovbq %rax, %rsi
cmpq %rsi, %r9
ja 0x7d2d9
movl $0x0, (%rcx)
cmpq %rdx, %r8
cmovaq %r8, %rdx
cmpq %rdx, %rsi
ja 0x7d378
cmpq %rax, %rdi
cmovaq %rdi, %rax
cmpq %rdx, %rax
cmovaeq %rdx, %rax
subq %rsi, %rax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0xb6b0
testl %eax, %eax
jne 0x7d417
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x1ad69(%rip), %rsi     # 0x98062
leaq 0x1ad72(%rip), %rdx     # 0x98072
leaq 0x88(%rsp), %rdi
callq 0xdc76
leaq 0xa8(%rsp), %rdi
movl $0xf51, %esi            # imm = 0xF51
callq 0xe1a8
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0xe100
leaq 0x15e8e(%rip), %rsi     # 0x931d1
leaq 0xc8(%rsp), %rdi
callq 0xbb10
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7d421
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x7d42e
callq 0xb6b0
testl %eax, %eax
jne 0x7d417
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x1acca(%rip), %rsi     # 0x98062
leaq 0x1acd3(%rip), %rdx     # 0x98072
leaq 0x88(%rsp), %rdi
callq 0xdc76
leaq 0xa8(%rsp), %rdi
movl $0xf52, %esi            # imm = 0xF52
callq 0xe1a8
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0xe100
leaq 0x15def(%rip), %rsi     # 0x931d1
leaq 0xc8(%rsp), %rdi
callq 0xbb10
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7d4a2
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x7d4af
movl $0x1, %edi
callq 0xb6d0
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 0x1ba5d(%rip), %rsi     # 0x98eb4
leaq 0x1ba88(%rip), %rdx     # 0x98ee6
leaq 0x68(%rsp), %rdi
callq 0xdc76
leaq 0x16442(%rip), %rsi     # 0x938b1
leaq 0x68(%rsp), %rdi
callq 0xbb10
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7d51c
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x7d529
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 0x1b9dc(%rip), %rsi     # 0x98eb4
leaq 0x1ba07(%rip), %rdx     # 0x98ee6
leaq 0x68(%rsp), %rdi
callq 0xdc76
leaq 0x163c1(%rip), %rsi     # 0x938b1
leaq 0x68(%rsp), %rdi
callq 0xbb10
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7d58c
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x7d599
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 0xe100
leaq 0x1b989(%rip), %rsi     # 0x98ee7
leaq 0xe8(%rsp), %rdi
callq 0xbb10
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7d5fc
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x7d609
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 0xe100
leaq 0x1b933(%rip), %rsi     # 0x98f01
leaq 0xe8(%rsp), %rdi
callq 0xbb10
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7d62a
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x7d637
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 0x1151b
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 0x1151b
jmp 0x7d65c
jmp 0x7d678
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x7d67b
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x7d67b
movq %rax, %rbx
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7d6a3
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x7d6a3
jmp 0x7d6a0
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x7d6c1
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x7d6c1
jmp 0x7d6be
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x7d6df
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x7d6df
jmp 0x7d6dc
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x7d6fd
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x7d6fd
jmp 0x7d6fa
movq %rax, %rbx
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7d725
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x7d725
jmp 0x7d722
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7d74d
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x7d74d
jmp 0x7d74a
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x7d771
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x7d771
jmp 0x7d76e
movq %rax, %rbx
movq %rbx, %rdi
callq 0xba60
nop