// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/diagonalbandalign.c
// Function: dtab_in_square_space
GT_UNUSED  static void dtab_in_square_space(GtLinspaceManagement *spacemanager,
                                            GtDiagAlignentry *Dtab,
                                            const GtUchar *useq,
                                            GtUword ustart,
                                            GtUword ulen,
                                            const GtUchar *vseq,
                                            GtUword vstart,
                                            GtUword vlen,
                                            GtWord left_dist,
                                            GtWord right_dist,
                                            GtUword rowoffset,
                                            LinearAlignEdge edge,
                                            const GtScoreHandler *scorehandler)
{
  GtUword **EDtabcolumn;
  gt_assert(Dtab && scorehandler && spacemanager);

  if ((left_dist > GT_MIN(0, (GtWord)vlen-(GtWord)ulen))||
      (right_dist < GT_MAX(0, (GtWord)vlen-(GtWord)ulen)))
  {
    gt_assert(false);
  }

  EDtabcolumn = gt_linspace_management_change_to_square(spacemanager,ulen,vlen);
  diagonalband_fillDPtab_in_square_space(EDtabcolumn, useq, ustart, ulen,
                                         vseq, vstart, vlen, left_dist,
                                         right_dist, scorehandler);

  evaluate_DBcrosspoints_from_2dimtab(EDtabcolumn, Dtab, useq, ustart, ulen,
                                      vseq, vstart, vlen, rowoffset,
                                      scorehandler);
  Dtab[0].last_type = edge;
}

// Assembly:
pushq %rbx
subq $0x80, %rsp
movq 0xc0(%rsp), %rax
movl 0xb8(%rsp), %eax
movq 0xb0(%rsp), %rax
movq 0xa8(%rsp), %rax
movq 0xa0(%rsp), %rax
movq 0x98(%rsp), %rax
movq 0x90(%rsp), %rax
movq %rdi, 0x78(%rsp)
movq %rsi, 0x70(%rsp)
movq %rdx, 0x68(%rsp)
movq %rcx, 0x60(%rsp)
movq %r8, 0x58(%rsp)
movq %r9, 0x50(%rsp)
cmpq $0x0, 0x70(%rsp)
je 0x14fe88
cmpq $0x0, 0xc0(%rsp)
je 0x14fe88
cmpq $0x0, 0x78(%rsp)
jne 0x14fec0
movq 0x4ec111(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3c617a(%rip), %rsi    # 0x516013
leaq 0x3fd413(%rip), %rdx    # 0x54d2b3
leaq 0x3fd431(%rip), %rcx    # 0x54d2d8
leaq 0x3fd1ee(%rip), %r8     # 0x54d09c
movl $0x12e, %r9d            # imm = 0x12E
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x14fec2
movq 0xa0(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x98(%rsp), %rcx
subq 0x58(%rsp), %rcx
xorl %eax, %eax
cmpq %rcx, %rax
jge 0x14feec
xorl %eax, %eax
movq %rax, 0x38(%rsp)
jmp 0x14fefe
movq 0x98(%rsp), %rax
subq 0x58(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x40(%rsp), %rax
movq 0x38(%rsp), %rcx
cmpq %rcx, %rax
jg 0x14ff58
movq 0xa8(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x98(%rsp), %rcx
subq 0x58(%rsp), %rcx
xorl %eax, %eax
cmpq %rcx, %rax
jle 0x14ff37
xorl %eax, %eax
movq %rax, 0x28(%rsp)
jmp 0x14ff49
movq 0x98(%rsp), %rax
subq 0x58(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x30(%rsp), %rax
movq 0x28(%rsp), %rcx
cmpq %rcx, %rax
jge 0x14ff92
jmp 0x14ff5a
movq 0x4ec03f(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3c60a8(%rip), %rsi    # 0x516013
leaq 0x408df1(%rip), %rdx    # 0x558d63
leaq 0x3fd35f(%rip), %rcx    # 0x54d2d8
leaq 0x3fd11c(%rip), %r8     # 0x54d09c
movl $0x133, %r9d            # imm = 0x133
movb $0x0, %al
callq 0x199f0
callq 0x19370
movq 0x78(%rsp), %rdi
movq 0x58(%rsp), %rsi
movq 0x98(%rsp), %rdx
callq 0x1a3830
movq %rax, 0x48(%rsp)
movq 0x48(%rsp), %rdi
movq 0x68(%rsp), %rsi
movq 0x60(%rsp), %rdx
movq 0x58(%rsp), %rcx
movq 0x50(%rsp), %r8
movq 0x90(%rsp), %r9
movq 0x98(%rsp), %rbx
movq 0xa0(%rsp), %r11
movq 0xa8(%rsp), %r10
movq 0xc0(%rsp), %rax
movq %rbx, (%rsp)
movq %r11, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movq %rax, 0x18(%rsp)
callq 0x14d060
movq 0x48(%rsp), %rdi
movq 0x70(%rsp), %rsi
movq 0x68(%rsp), %rdx
movq 0x60(%rsp), %rcx
movq 0x58(%rsp), %r8
movq 0x50(%rsp), %r9
movq 0x90(%rsp), %rbx
movq 0x98(%rsp), %r11
movq 0xb0(%rsp), %r10
movq 0xc0(%rsp), %rax
movq %rbx, (%rsp)
movq %r11, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movq %rax, 0x18(%rsp)
callq 0x150ac0
movl 0xb8(%rsp), %ecx
movq 0x70(%rsp), %rax
movl %ecx, 0x10(%rax)
addq $0x80, %rsp
popq %rbx
retq
nopw %cs:(%rax,%rax)