// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/rdj-strgraph.c
// Function: gt_strgraph_add_edge
static inline void gt_strgraph_add_edge(GtStrgraph *strgraph,
    GtStrgraphVnum from, GtStrgraphVnum to, GtStrgraphLength spmlen)
{
  GtStrgraphLength edgelen;
  GtStrgraphVEdgenum next_free_edge;

  gt_assert(strgraph != NULL);

  edgelen = GT_STRGRAPH_SEQLEN(strgraph, GT_STRGRAPH_V_READNUM(to)) - spmlen;

  GT_STRGRAPH_CHECK_LEN(from, to, edgelen);
  next_free_edge = GT_STRGRAPH_V_OUTDEG(strgraph, from);
  GT_STRGRAPH_EDGE_INIT(strgraph, from, next_free_edge);
  GT_STRGRAPH_EDGE_SET_DEST(strgraph, from, next_free_edge, to);
  GT_STRGRAPH_EDGE_SET_LEN(strgraph, from, next_free_edge, edgelen);
  GT_STRGRAPH_V_INC_OUTDEG(strgraph, from);
}

// Assembly:
subq $0xb8, %rsp
movq %rdi, 0xb0(%rsp)
movq %rsi, 0xa8(%rsp)
movq %rdx, 0xa0(%rsp)
movq %rcx, 0x98(%rsp)
cmpq $0x0, 0xb0(%rsp)
jne 0x2927da
movq 0x3a97f7(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x283860(%rip), %rsi    # 0x516013
leaq 0x2ef94a(%rip), %rdx    # 0x582104
leaq 0x2f0900(%rip), %rcx    # 0x5830c1
leaq 0x2ef878(%rip), %r8     # 0x582040
movl $0x308, %r9d            # imm = 0x308
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2927dc
movq 0xb0(%rsp), %rax
cmpq $0x0, 0x8(%rax)
jbe 0x292801
movq 0xb0(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x80(%rsp)
jmp 0x292824
movq 0xb0(%rsp), %rax
movq (%rax), %rdi
movq 0xa0(%rsp), %rsi
shrq %rsi
callq 0xb09f0
movq %rax, 0x80(%rsp)
movq 0x80(%rsp), %rax
subq 0x98(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0xb0(%rsp), %rax
movq 0x70(%rax), %rdi
movq 0xa8(%rsp), %rsi
callq 0x290730
movq %rax, 0x88(%rsp)
movq 0xb0(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0xb0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xa8(%rsp), %rsi
callq 0x290730
addq 0x88(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0xb0(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, (%rsp)
movq 0xb0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xa8(%rsp), %rsi
callq 0x290730
movq (%rsp), %rdi
movq %rax, %rsi
addq 0x88(%rsp), %rsi
callq 0x290730
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %rax, %rdx
andq $-0x2, %rdx
addq $0x0, %rdx
callq 0x2907d0
movq 0xb0(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x38(%rsp)
movq 0xb0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xa8(%rsp), %rsi
callq 0x290730
addq 0x88(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0xb0(%rsp), %rax
movq 0x80(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movl $0x1, %eax
shll %cl, %eax
subl $0x1, %eax
movl %eax, 0x1c(%rsp)
movq 0xb0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movl 0x1c(%rsp), %eax
addl $0x1, %ecx
shll %cl, %eax
cltq
xorq $-0x1, %rax
movq %rax, 0x28(%rsp)
movq 0xb0(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0xb0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xa8(%rsp), %rsi
callq 0x290730
movq 0x20(%rsp), %rdi
movq %rax, %rsi
addq 0x88(%rsp), %rsi
callq 0x290730
movq %rax, %rcx
movq 0x28(%rsp), %rax
andq %rcx, %rax
movq %rax, 0x30(%rsp)
movq 0xa0(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0xb0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movq 0x30(%rsp), %rdx
movq 0x38(%rsp), %rdi
movq 0x40(%rsp), %rsi
movl %eax, %ecx
movq 0x48(%rsp), %rax
addl $0x1, %ecx
movl %ecx, %ecx
shlq %cl, %rax
addq %rax, %rdx
callq 0x2907d0
movq 0xb0(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x60(%rsp)
movq 0xb0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xa8(%rsp), %rsi
callq 0x290730
addq 0x88(%rsp), %rax
movq %rax, 0x68(%rsp)
movq 0xb0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movl $0x1, %eax
shll %cl, %eax
subl $0x1, %eax
shll %eax
cltq
xorq $-0x1, %rax
movq %rax, 0x58(%rsp)
movq 0xb0(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x50(%rsp)
movq 0xb0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xa8(%rsp), %rsi
callq 0x290730
movq 0x50(%rsp), %rdi
movq %rax, %rsi
addq 0x88(%rsp), %rsi
callq 0x290730
movq 0x58(%rsp), %rdx
movq 0x60(%rsp), %rdi
movq 0x68(%rsp), %rsi
andq %rax, %rdx
movq 0x90(%rsp), %rax
shlq %rax
addq %rax, %rdx
callq 0x2907d0
movq 0xb0(%rsp), %rax
movq 0x70(%rax), %rax
movq %rax, 0x70(%rsp)
movq 0xa8(%rsp), %rax
movq %rax, 0x78(%rsp)
movq 0xb0(%rsp), %rax
movq 0x70(%rax), %rdi
movq 0xa8(%rsp), %rsi
callq 0x290730
movq 0x70(%rsp), %rdi
movq 0x78(%rsp), %rsi
movq %rax, %rdx
addq $0x1, %rdx
callq 0x2907d0
addq $0xb8, %rsp
retq
nopw %cs:(%rax,%rax)