// File: /workspace/github_cpp_makefile_star2_O1/ncbi[P]amr/seq.cpp
// Function: Seq_sp::Align::getMinEditDistance() const
AlignScore Align::getMinEditDistance () const
{	
  ASSERT (self_score1 >= 0.0);
  ASSERT (self_score2 >= 0.0);
  
  const AlignScore dist = self_score1 + self_score2 - 2 * score;
  ASSERT (dist >= 0.0);
	return dist;
}

// 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)
movsd 0x70(%rbx), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x8214e
movl $0x0, (%rax)
movsd 0x78(%rbx), %xmm2
ucomisd %xmm1, %xmm2
jb 0x821ef
addsd %xmm2, %xmm0
movsd 0x8(%rbx), %xmm1
addsd %xmm1, %xmm1
subsd %xmm1, %xmm0
movl $0x0, (%rax)
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x82290
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0xb6b0
testl %eax, %eax
jne 0x82331
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x15ef4(%rip), %rsi     # 0x98062
leaq 0x15efd(%rip), %rdx     # 0x98072
leaq 0x88(%rsp), %rdi
callq 0xdc76
leaq 0xa8(%rsp), %rdi
movl $0x1148, %esi           # imm = 0x1148
callq 0xe1a8
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0xe100
leaq 0x11019(%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 0x8233b
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
jmp 0x82348
callq 0xb6b0
testl %eax, %eax
jne 0x82331
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x15e53(%rip), %rsi     # 0x98062
leaq 0x15e5c(%rip), %rdx     # 0x98072
leaq 0x88(%rsp), %rdi
callq 0xdc76
leaq 0xa8(%rsp), %rdi
movl $0x1149, %esi           # imm = 0x1149
callq 0xe1a8
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0xe100
leaq 0x10f78(%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 0x823be
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
jmp 0x823cb
callq 0xb6b0
testl %eax, %eax
jne 0x82331
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x15db2(%rip), %rsi     # 0x98062
leaq 0x15dbb(%rip), %rdx     # 0x98072
leaq 0x88(%rsp), %rdi
callq 0xdc76
leaq 0xa8(%rsp), %rdi
movl $0x114c, %esi           # imm = 0x114C
callq 0xe1a8
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0xe100
leaq 0x10ed7(%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 0x82441
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
jmp 0x8244e
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 0x16e69(%rip), %rsi     # 0x991da
leaq 0x16e96(%rip), %rdx     # 0x9920e
leaq 0x68(%rsp), %rdi
callq 0xdc76
leaq 0x11528(%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 0x824c4
movupd (%rcx), %xmm0
movupd %xmm0, (%r13)
jmp 0x824d1
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 0x16de6(%rip), %rsi     # 0x991da
leaq 0x16e13(%rip), %rdx     # 0x9920e
leaq 0x68(%rsp), %rdi
callq 0xdc76
leaq 0x114a5(%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 0x8253d
movupd (%rcx), %xmm0
movupd %xmm0, (%r13)
jmp 0x8254a
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 0x16d63(%rip), %rsi     # 0x991da
leaq 0x16d90(%rip), %rdx     # 0x9920e
leaq 0x68(%rsp), %rdi
callq 0xdc76
leaq 0x11422(%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 0x825b6
movupd (%rcx), %xmm0
movupd %xmm0, (%r13)
jmp 0x825c3
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 0x16c84(%rip), %rsi     # 0x9918a
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 0x82628
movupd (%rcx), %xmm0
movupd %xmm0, (%rbp)
jmp 0x82635
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 0x16c1e(%rip), %rsi     # 0x9919d
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 0x82656
movupd (%rcx), %xmm0
movupd %xmm0, (%rbp)
jmp 0x82663
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 0x16c17(%rip), %rsi     # 0x9920f
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 0x82684
movupd (%rcx), %xmm0
movupd %xmm0, (%rbp)
jmp 0x82691
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
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 0x826ba
jmp 0x826d6
jmp 0x826ba
jmp 0x826d6
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x826d9
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x826d9
movq %rax, %rbx
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x82703
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x82703
jmp 0x82700
jmp 0x82700
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x82723
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x82723
jmp 0x82720
jmp 0x82720
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x82743
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x82743
jmp 0x82740
jmp 0x82740
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x82763
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x82763
jmp 0x82760
jmp 0x82760
movq %rax, %rbx
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8278d
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x8278d
jmp 0x8278a
jmp 0x8278a
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x827b7
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x827b7
jmp 0x827b4
jmp 0x827b4
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x827dd
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x827dd
jmp 0x827da
jmp 0x827da
movq %rax, %rbx
movq %rbx, %rdi
callq 0xba60
nop