// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/diagonalbandalign_affinegapcost.c
// Function: gt_diagonalbandalign_affinegapcost_compute_generic
void gt_diagonalbandalign_affinegapcost_compute_generic(GtLinspaceManagement
                                                        *spacemanager,
                                                        const GtScoreHandler
                                                        *scorehandler,
                                                        GtAlignment *align,
                                                        const GtUchar *useq,
                                                        GtUword ustart,
                                                        GtUword ulen,
                                                        const GtUchar *vseq,
                                                        GtUword vstart,
                                                        GtUword vlen,
                                                        GtWord left_dist,
                                                        GtWord right_dist)
{
  gt_assert(useq  && vseq && spacemanager && scorehandler && align);

  /* set new bounds, if left_dist or right_dist is out of sequence */
  left_dist = GT_MAX(-(GtWord) ulen,left_dist);
  right_dist = GT_MIN((GtWord) vlen,right_dist);
  gt_alignment_set_seqs(align, useq+ustart, ulen, vseq+vstart, vlen);
  gt_calc_diagonalbandaffinealign(spacemanager, scorehandler, align,
                                             useq, ustart, ulen,
                                             vseq, vstart, vlen,
                                             left_dist, right_dist);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x68, %rsp
movq 0xa0(%rsp), %rax
movq 0x98(%rsp), %rax
movq 0x90(%rsp), %rax
movq 0x88(%rsp), %rax
movq 0x80(%rsp), %rax
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movq %rcx, 0x48(%rsp)
movq %r8, 0x40(%rsp)
movq %r9, 0x38(%rsp)
cmpq $0x0, 0x48(%rsp)
je 0x153178
cmpq $0x0, 0x80(%rsp)
je 0x153178
cmpq $0x0, 0x60(%rsp)
je 0x153178
cmpq $0x0, 0x58(%rsp)
je 0x153178
cmpq $0x0, 0x50(%rsp)
jne 0x1531b0
movq 0x4e8e21(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3c2e8a(%rip), %rsi    # 0x516013
leaq 0x3fa2d2(%rip), %rdx    # 0x54d462
leaq 0x3fa301(%rip), %rcx    # 0x54d498
leaq 0x3fa1fe(%rip), %r8     # 0x54d39c
movl $0x5b2, %r9d            # imm = 0x5B2
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x1531b2
xorl %eax, %eax
subq 0x38(%rsp), %rax
cmpq 0x98(%rsp), %rax
jle 0x1531d1
xorl %eax, %eax
subq 0x38(%rsp), %rax
movq %rax, 0x30(%rsp)
jmp 0x1531de
movq 0x98(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x98(%rsp)
movq 0x90(%rsp), %rax
cmpq 0xa0(%rsp), %rax
jge 0x15320c
movq 0x90(%rsp), %rax
movq %rax, 0x28(%rsp)
jmp 0x153219
movq 0xa0(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0xa0(%rsp)
movq 0x50(%rsp), %rdi
movq 0x48(%rsp), %rsi
addq 0x40(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq 0x80(%rsp), %rcx
addq 0x88(%rsp), %rcx
movq 0x90(%rsp), %r8
callq 0x129f60
movq 0x60(%rsp), %rdi
movq 0x58(%rsp), %rsi
movq 0x50(%rsp), %rdx
movq 0x48(%rsp), %rcx
movq 0x40(%rsp), %r8
movq 0x38(%rsp), %r9
movq 0x80(%rsp), %r14
movq 0x88(%rsp), %rbx
movq 0x90(%rsp), %r11
movq 0x98(%rsp), %r10
movq 0xa0(%rsp), %rax
movq %r14, (%rsp)
movq %rbx, 0x8(%rsp)
movq %r11, 0x10(%rsp)
movq %r10, 0x18(%rsp)
movq %rax, 0x20(%rsp)
callq 0x1532d0
addq $0x68, %rsp
popq %rbx
popq %r14
retq
nopw %cs:(%rax,%rax)