// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/rdj-strgraph.c
// Function: gt_strgraph_end_contigpath
static inline void gt_strgraph_end_contigpath(GtStrgraphContigpathsData *pdata)
{
  (void)gt_xfwrite(pdata->contig.spaceGtContigpathElem,
    sizeof (GtContigpathElem), (size_t)pdata->contig.nextfreeGtContigpathElem,
    pdata->p_file);
  pdata->total_depth += pdata->current_depth;

  if (pdata->show_contigs_info)
    gt_strgraph_show_contiginfo(pdata);
  (pdata->contignum)++;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movq 0x40(%rdi), %rcx
movq 0x60(%rdi), %rdi
movq 0x70(%rbx), %rdx
pushq $0x4
popq %rsi
callq 0xb302c
movq 0x8(%rbx), %rax
addq %rax, (%rbx)
cmpb $0x1, 0x80(%rbx)
jne 0x1884fd
movq 0x30(%rbx), %rax
movq 0x78(%rbx), %rcx
movq 0x70(%rcx), %rdi
leaq -0x1(%rax), %rcx
movq %rax, %rsi
orq $0x1, %rsi
testb $0x1, %al
cmovneq %rcx, %rsi
callq 0x17ffcd
movl $0xffff, %r13d          # imm = 0xFFFF
andq %r13, %rax
movq 0x30(%rbx), %rcx
leaq -0x1(%rcx), %rdx
movq %rcx, %rsi
orq $0x1, %rsi
testb $0x1, %cl
cmovneq %rdx, %rsi
shlq $0x10, %rsi
orq %rax, %rsi
leaq 0x18(%rsp), %r14
movq %rsi, (%r14)
movq 0x48(%rbx), %rcx
pushq $0x8
popq %r15
pushq $0x1
popq %r12
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0xb302c
movq 0x38(%rbx), %rsi
movq 0x78(%rbx), %rax
movq 0x70(%rax), %rdi
callq 0x17ffcd
andq %r13, %rax
movq 0x38(%rbx), %rcx
shlq $0x10, %rcx
orq %rax, %rcx
movq %rcx, (%r14)
movq 0x50(%rbx), %rcx
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0xb302c
movl 0x10(%rbx), %eax
movl %eax, 0x10(%rsp)
movq 0x30(%rbx), %rsi
movq 0x78(%rbx), %rax
movq 0x70(%rax), %rdi
callq 0x17ffcd
cmpq $0x2, %rax
jb 0x188381
movq 0x30(%rbx), %rax
movq 0x78(%rbx), %rcx
movq 0x70(%rcx), %rdi
leaq -0x1(%rax), %rcx
movq %rax, %rsi
orq $0x1, %rsi
testb $0x1, %al
cmovneq %rcx, %rsi
callq 0x17ffcd
testq %rax, %rax
jne 0x1883c0
movq 0x30(%rbx), %rsi
movq 0x78(%rbx), %rax
movq 0x70(%rax), %rdi
callq 0x17ffcd
cmpq $0x1, %rax
jne 0x188416
movq 0x30(%rbx), %rax
movq 0x78(%rbx), %rcx
movq 0x70(%rcx), %rdi
leaq -0x1(%rax), %rcx
movq %rax, %rsi
orq $0x1, %rsi
testb $0x1, %al
cmovneq %rcx, %rsi
callq 0x17ffcd
cmpq $0x2, %rax
jb 0x188416
movq 0x30(%rbx), %rsi
movq %rsi, 0x8(%rsp)
orb $-0x80, 0x17(%rsp)
movq 0x78(%rbx), %rdx
movq 0x8(%rdx), %rax
movl $0x80000000, %ecx       # imm = 0x80000000
testq %rax, %rax
jne 0x1883f4
movq (%rdx), %rdi
shrq %rsi
callq 0x75173
movl $0x80000000, %ecx       # imm = 0x80000000
andl 0x14(%rsp), %ecx
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
orl %ecx, %eax
leaq 0x8(%rsp), %rdi
movl %eax, 0xc(%rdi)
movq 0x58(%rbx), %rcx
pushq $0x10
popq %rsi
pushq $0x1
popq %rdx
callq 0xb302c
incq 0x20(%rbx)
movq 0x38(%rbx), %rsi
movq 0x78(%rbx), %rax
movq 0x70(%rax), %rdi
callq 0x17ffcd
cmpq $0x2, %rax
jb 0x188454
movq 0x38(%rbx), %rax
movq 0x78(%rbx), %rcx
movq 0x70(%rcx), %rdi
leaq -0x1(%rax), %rcx
movq %rax, %rsi
orq $0x1, %rsi
testb $0x1, %al
cmovneq %rcx, %rsi
callq 0x17ffcd
testq %rax, %rax
jne 0x188497
movq 0x38(%rbx), %rsi
movq 0x78(%rbx), %rax
movq 0x70(%rax), %rdi
callq 0x17ffcd
cmpq $0x1, %rax
jne 0x1884fd
movq 0x38(%rbx), %rax
movq 0x78(%rbx), %rcx
movq 0x70(%rcx), %rdi
leaq -0x1(%rax), %rcx
movq %rax, %rsi
orq $0x1, %rsi
testb $0x1, %al
cmovneq %rcx, %rsi
callq 0x17ffcd
cmpq $0x2, %rax
jb 0x1884fd
movq 0x38(%rbx), %rsi
leaq -0x1(%rsi), %rax
movq %rsi, %rcx
orq $0x1, %rcx
testb $0x1, %sil
cmovneq %rax, %rcx
movq %rcx, 0x8(%rsp)
andb $0x7f, 0x17(%rsp)
movq 0x78(%rbx), %rdx
movq 0x8(%rdx), %rax
xorl %ecx, %ecx
testq %rax, %rax
jne 0x1884db
movq (%rdx), %rdi
shrq %rsi
callq 0x75173
movl $0x80000000, %ecx       # imm = 0x80000000
andl 0x14(%rsp), %ecx
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
orl %ecx, %eax
leaq 0x8(%rsp), %rdi
movl %eax, 0xc(%rdi)
movq 0x58(%rbx), %rcx
pushq $0x10
popq %rsi
pushq $0x1
popq %rdx
callq 0xb302c
incq 0x20(%rbx)
incq 0x10(%rbx)
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop