// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/condenseq.c
// Function: gt_condenseq_add_link_to_db
void gt_condenseq_add_link_to_db(GtCondenseq *condenseq, GtCondenseqLink link)
{
  condenseq_lds_resize(condenseq);
  gt_assert(condenseq->links != NULL);
  gt_assert(condenseq->lds_nelems == 0 ||
            condenseq->links[condenseq->lds_nelems - 1].orig_startpos +
            condenseq->links[condenseq->lds_nelems - 1].len <=
            link.orig_startpos);
  gt_assert(condenseq->uds_nelems == 0 ||
            condenseq->uniques[condenseq->uds_nelems - 1].orig_startpos +
            condenseq->uniques[condenseq->uds_nelems - 1].len <=
            link.orig_startpos);
  condenseq->links[condenseq->lds_nelems] = link;
  condenseq->lds_nelems++;
}

// Assembly:
subq $0x18, %rsp
leaq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rdi
callq 0x13f5d0
movq 0x10(%rsp), %rax
cmpq $0x0, 0x8(%rax)
jne 0x13f431
movq 0x4fcba0(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3d6c09(%rip), %rsi    # 0x516013
leaq 0x40bce1(%rip), %rdx    # 0x54b0f2
leaq 0x40bcf3(%rip), %rcx    # 0x54b10b
leaq 0x40bb25(%rip), %r8     # 0x54af44
movl $0x16d, %r9d            # imm = 0x16D
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x13f433
jmp 0x13f435
movq 0x10(%rsp), %rax
cmpq $0x0, 0x70(%rax)
je 0x13f4cc
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rsp), %rdx
movq 0x70(%rdx), %rdx
subq $0x1, %rdx
shlq $0x5, %rdx
addq %rdx, %rax
movq 0x8(%rax), %rax
movq 0x10(%rsp), %rdx
movq 0x8(%rdx), %rdx
movq 0x10(%rsp), %rsi
movq 0x70(%rsi), %rsi
subq $0x1, %rsi
shlq $0x5, %rsi
addq %rsi, %rdx
movl 0x10(%rdx), %edx
addq %rdx, %rax
cmpq 0x8(%rcx), %rax
jbe 0x13f4cc
movq 0x4fcb05(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3d6b6e(%rip), %rsi    # 0x516013
leaq 0x40bc7b(%rip), %rdx    # 0x54b127
leaq 0x40bc58(%rip), %rcx    # 0x54b10b
leaq 0x40ba8a(%rip), %r8     # 0x54af44
movl $0x171, %r9d            # imm = 0x171
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x13f4ce
jmp 0x13f4d0
movq 0x10(%rsp), %rax
cmpq $0x0, 0x98(%rax)
je 0x13f570
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rsp), %rdx
movq 0x98(%rdx), %rdx
subq $0x1, %rdx
imulq $0x28, %rdx, %rdx
addq %rdx, %rax
movq 0x18(%rax), %rax
movq 0x10(%rsp), %rdx
movq 0x10(%rdx), %rdx
movq 0x10(%rsp), %rsi
movq 0x98(%rsi), %rsi
subq $0x1, %rsi
imulq $0x28, %rsi, %rsi
addq %rsi, %rdx
movl 0x20(%rdx), %edx
addq %rdx, %rax
cmpq 0x8(%rcx), %rax
jbe 0x13f570
movq 0x4fca61(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3d6aca(%rip), %rsi    # 0x516013
leaq 0x40bc77(%rip), %rdx    # 0x54b1c7
leaq 0x40bbb4(%rip), %rcx    # 0x54b10b
leaq 0x40b9e6(%rip), %r8     # 0x54af44
movl $0x175, %r9d            # imm = 0x175
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x13f572
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rsp), %rdx
movq 0x70(%rdx), %rdx
shlq $0x5, %rdx
addq %rdx, %rax
movq (%rcx), %rdx
movq %rdx, (%rax)
movq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rax)
movq 0x10(%rcx), %rdx
movq %rdx, 0x10(%rax)
movq 0x18(%rcx), %rcx
movq %rcx, 0x18(%rax)
movq 0x10(%rsp), %rax
movq 0x70(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x70(%rax)
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)