// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/rdj-strgraph.c
// Function: gt_strgraph_sort_edges_by_len
void gt_strgraph_sort_edges_by_len(GtStrgraph *strgraph, bool show_progressbar)
{
  GtStrgraphVnum i;
  GtUint64 progress = 0;

  gt_assert(strgraph != NULL);

  if (show_progressbar)
    gt_progressbar_start(&progress,
        (GtUint64)GT_STRGRAPH_NOFVERTICES(strgraph));

  for (i = 0; i < GT_STRGRAPH_NOFVERTICES(strgraph); i++)
  {
    GT_STRGRAPH_SORT_V_EDGES(strgraph, i);
    if (show_progressbar)
      progress++;
  }

  strgraph->state = GT_STRGRAPH_SORTED_BY_L;

  if (show_progressbar)
    gt_progressbar_stop();
}

// Assembly:
subq $0x108, %rsp            # imm = 0x108
movb %sil, %al
movq %rdi, 0x100(%rsp)
andb $0x1, %al
movb %al, 0xff(%rsp)
movq $0x0, 0xe8(%rsp)
cmpq $0x0, 0x100(%rsp)
jne 0x292baa
movq 0x3a9427(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x283490(%rip), %rsi    # 0x516013
leaq 0x2ef57a(%rip), %rdx    # 0x582104
leaq 0x2ef9b6(%rip), %rcx    # 0x582547
leaq 0x2ef4a8(%rip), %r8     # 0x582040
movl $0x340, %r9d            # imm = 0x340
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x292bac
testb $0x1, 0xff(%rsp)
je 0x292bd2
movq 0x100(%rsp), %rax
movq 0x80(%rax), %rsi
leaq 0xe8(%rsp), %rdi
callq 0xf9830
movq $0x0, 0xf0(%rsp)
movq 0xf0(%rsp), %rax
movq 0x100(%rsp), %rcx
cmpq 0x80(%rcx), %rax
jae 0x2932df
jmp 0x292bfd
movq 0x100(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xf0(%rsp), %rsi
addq $0x1, %rsi
callq 0x290730
movq %rax, 0xc8(%rsp)
movq 0x100(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xf0(%rsp), %rsi
callq 0x290730
movq %rax, %rcx
movq 0xc8(%rsp), %rax
subq %rcx, %rax
movq %rax, 0xe0(%rsp)
cmpq $0x1, 0xe0(%rsp)
jbe 0x2932a4
imulq $0x18, 0xe0(%rsp), %rdi
leaq 0x2ef3d0(%rip), %rsi    # 0x582040
movl $0x348, %edx            # imm = 0x348
callq 0xe80f0
movq %rax, 0xd0(%rsp)
movq $0x0, 0xd8(%rsp)
movq 0xd8(%rsp), %rax
cmpq 0xe0(%rsp), %rax
jae 0x292ec9
movq 0x100(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x90(%rsp)
movq 0x100(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xf0(%rsp), %rsi
callq 0x290730
movq 0x90(%rsp), %rdi
movq %rax, %rsi
addq 0xd8(%rsp), %rsi
callq 0x290730
movq %rax, 0xa0(%rsp)
movq 0x100(%rsp), %rax
movq 0x80(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movl $0x1, %eax
shll %cl, %eax
subl $0x1, %eax
movl %eax, 0x9c(%rsp)
movq 0x100(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl 0x9c(%rsp), %edx
movl %eax, %ecx
movq 0xa0(%rsp), %rax
addl $0x1, %ecx
shll %cl, %edx
movl %edx, %ecx
movslq %ecx, %rcx
andq %rcx, %rax
movq %rax, 0xa8(%rsp)
movq 0x100(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movq 0xa8(%rsp), %rax
addl $0x1, %ecx
movl %ecx, %ecx
shrq %cl, %rax
movq %rax, %rcx
movq 0xd0(%rsp), %rax
imulq $0x18, 0xd8(%rsp), %rdx
addq %rdx, %rax
movq %rcx, (%rax)
movq 0x100(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0xb0(%rsp)
movq 0x100(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xf0(%rsp), %rsi
callq 0x290730
movq 0xb0(%rsp), %rdi
movq %rax, %rsi
addq 0xd8(%rsp), %rsi
callq 0x290730
movq %rax, 0xb8(%rsp)
movq 0x100(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movl $0x1, %eax
shll %cl, %eax
movq 0xb8(%rsp), %rcx
subl $0x1, %eax
shll %eax
cltq
andq %rax, %rcx
shrq %rcx
movq 0xd0(%rsp), %rax
imulq $0x18, 0xd8(%rsp), %rdx
addq %rdx, %rax
movq %rcx, 0x8(%rax)
movq 0x100(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0xc0(%rsp)
movq 0x100(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xf0(%rsp), %rsi
callq 0x290730
movq 0xc0(%rsp), %rdi
movq %rax, %rsi
addq 0xd8(%rsp), %rsi
callq 0x290730
movq %rax, %rdx
andq $0x1, %rdx
shrq $0x0, %rdx
xorl %eax, %eax
movl $0x1, %ecx
cmpq $0x0, %rdx
cmovnel %ecx, %eax
cmpl $0x0, %eax
setne %cl
movq 0xd0(%rsp), %rax
imulq $0x18, 0xd8(%rsp), %rdx
addq %rdx, %rax
andb $0x1, %cl
movb %cl, 0x10(%rax)
movq 0xd8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0xd8(%rsp)
jmp 0x292c8e
movq 0xd0(%rsp), %rdi
movq 0xe0(%rsp), %rsi
movl $0x18, %edx
leaq -0x3915(%rip), %rcx     # 0x28f5d0
callq 0x19e70
movq $0x0, 0xd8(%rsp)
movq 0xd8(%rsp), %rax
cmpq 0xe0(%rsp), %rax
jae 0x29328b
movq 0x100(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x40(%rsp)
movq 0x100(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xf0(%rsp), %rsi
callq 0x290730
addq 0xd8(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0x100(%rsp), %rax
movq 0x80(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movl $0x1, %eax
shll %cl, %eax
subl $0x1, %eax
movl %eax, 0x24(%rsp)
movq 0x100(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movl 0x24(%rsp), %eax
addl $0x1, %ecx
shll %cl, %eax
cltq
xorq $-0x1, %rax
movq %rax, 0x30(%rsp)
movq 0x100(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x28(%rsp)
movq 0x100(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xf0(%rsp), %rsi
callq 0x290730
movq 0x28(%rsp), %rdi
movq %rax, %rsi
addq 0xd8(%rsp), %rsi
callq 0x290730
movq %rax, %rcx
movq 0x30(%rsp), %rax
andq %rcx, %rax
movq %rax, 0x38(%rsp)
movq 0xd0(%rsp), %rax
imulq $0x18, 0xd8(%rsp), %rcx
addq %rcx, %rax
movq (%rax), %rax
movq %rax, 0x50(%rsp)
movq 0x100(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movq 0x38(%rsp), %rdx
movq 0x40(%rsp), %rdi
movq 0x48(%rsp), %rsi
movl %eax, %ecx
movq 0x50(%rsp), %rax
addl $0x1, %ecx
movl %ecx, %ecx
shlq %cl, %rax
addq %rax, %rdx
callq 0x2907d0
movq 0x100(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x68(%rsp)
movq 0x100(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xf0(%rsp), %rsi
callq 0x290730
addq 0xd8(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0x100(%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, 0x60(%rsp)
movq 0x100(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x58(%rsp)
movq 0x100(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xf0(%rsp), %rsi
callq 0x290730
movq 0x58(%rsp), %rdi
movq %rax, %rsi
addq 0xd8(%rsp), %rsi
callq 0x290730
movq 0x60(%rsp), %rdx
movq 0x68(%rsp), %rdi
movq 0x70(%rsp), %rsi
andq %rax, %rdx
movq 0xd0(%rsp), %rax
imulq $0x18, 0xd8(%rsp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
shlq %rax
addq %rax, %rdx
callq 0x2907d0
movq 0x100(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x80(%rsp)
movq 0x100(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xf0(%rsp), %rsi
callq 0x290730
addq 0xd8(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0x100(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x78(%rsp)
movq 0x100(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xf0(%rsp), %rsi
callq 0x290730
movq 0x78(%rsp), %rdi
movq %rax, %rsi
addq 0xd8(%rsp), %rsi
callq 0x290730
movq 0x80(%rsp), %rdi
movq 0x88(%rsp), %rsi
movq %rax, %rdx
andq $-0x2, %rdx
addq $0x0, %rdx
callq 0x2907d0
movq 0xd0(%rsp), %rax
imulq $0x18, 0xd8(%rsp), %rcx
addq %rcx, %rax
testb $0x1, 0x10(%rax)
je 0x293270
movq 0x100(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x100(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xf0(%rsp), %rsi
callq 0x290730
addq 0xd8(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x100(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x100(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xf0(%rsp), %rsi
callq 0x290730
movq 0x8(%rsp), %rdi
movq %rax, %rsi
addq 0xd8(%rsp), %rsi
callq 0x290730
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq %rax, %rdx
andq $-0x2, %rdx
addq $0x1, %rdx
callq 0x2907d0
jmp 0x293272
movq 0xd8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0xd8(%rsp)
jmp 0x292ef6
movq 0xd0(%rsp), %rdi
leaq 0x2eeda6(%rip), %rsi    # 0x582040
movl $0x348, %edx            # imm = 0x348
callq 0xe88c0
jmp 0x2932a6
testb $0x1, 0xff(%rsp)
je 0x2932c4
movq 0xe8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0xe8(%rsp)
jmp 0x2932c6
movq 0xf0(%rsp), %rax
addq $0x1, %rax
movq %rax, 0xf0(%rsp)
jmp 0x292bde
movq 0x100(%rsp), %rax
movl $0x2, 0x10(%rax)
testb $0x1, 0xff(%rsp)
je 0x2932fd
callq 0xfa220
addq $0x108, %rsp            # imm = 0x108
retq
nopw %cs:(%rax,%rax)