// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-diffcov.c
// Function: dc_processunsortedrange
static void dc_processunsortedrange(GtDifferencecover *dcov,
                                    GtUword blisbl,
                                    GtUword width,
                                    GtUword depth)
{
  GtDcPairsuffixptr pairelem;

  gt_assert(width >= 2UL && depth > 0);
  gt_assert(!dcov->firstwithnewdepth.defined ||
            (dcov->firstwithnewdepth.depth > 0 &&
             dcov->firstwithnewdepth.depth <= depth));
  if (dcov->firstwithnewdepth.defined &&
      dcov->firstwithnewdepth.depth == depth)
  {
    dcov->firstwithnewdepth.count++;
    dcov->firstwithnewdepth.totalwidth += width;
    if (dcov->firstwithnewdepth.maxwidth < width)
    {
      dcov->firstwithnewdepth.maxwidth = width;
    }
  } else
  {
    if (dcov->firstwithnewdepth.defined)
    {
      dc_showintervalsizes(dcov->firstwithnewdepth.count,
                           dcov->firstwithnewdepth.totalwidth,
                           dcov->effectivesamplesize,
                           dcov->firstwithnewdepth.maxwidth,
                           dcov->firstwithnewdepth.depth,
                           dcov->logger);
    } else
    {
      dcov->firstwithnewdepth.defined = true;
    }
    gt_logger_log(dcov->logger,"enter new level "GT_WU"",depth);
    dcov->firstwithnewdepth.blisbl = blisbl;
    dcov->firstwithnewdepth.width = width;
    dcov->firstwithnewdepth.depth = depth;
    dcov->firstwithnewdepth.count = 1UL;
    dcov->firstwithnewdepth.totalwidth = width;
    dcov->firstwithnewdepth.maxwidth = width;
  }
  pairelem.blisbl = blisbl;
  pairelem.width = width;
  gt_inl_dc_queue_add(dcov->rangestobesorted,pairelem,false);
  dcov->currentqueuesize++;
  if (dcov->maxqueuesize < dcov->currentqueuesize)
  {
    dcov->maxqueuesize = dcov->currentqueuesize;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpq $0x2, %rdx
jb 0x1ebe6a
movq %rcx, %r12
testq %rcx, %rcx
je 0x1ebe6a
movq %rdx, %r14
movq %rsi, %r13
movq %rdi, %rbx
cmpb $0x1, 0xf8(%rdi)
jne 0x1ebc51
movq 0xf0(%rbx), %rdx
leaq -0x1(%rdx), %rax
cmpq %r12, %rax
jae 0x1ebe74
movq 0xd8(%rbx), %rcx
cmpq %r12, %rdx
jne 0x1ebc5d
incq %rcx
movq %rcx, 0xd8(%rbx)
addq %r14, 0xe0(%rbx)
cmpq %r14, 0xe8(%rbx)
jb 0x1ebd2e
jmp 0x1ebd38
movb $0x1, 0xf8(%rbx)
jmp 0x1ebcef
movq 0xe0(%rbx), %r8
movq 0xe8(%rbx), %r9
movq 0x140(%rbx), %rdi
movq %r8, %xmm0
movq 0x15bc61(%rip), %xmm2   # 0x3478e0
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
movapd 0x15bc65(%rip), %xmm3   # 0x3478f0
subpd %xmm3, %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movq %rcx, %xmm0
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
subpd %xmm3, %xmm0
movapd %xmm0, %xmm4
unpckhpd %xmm0, %xmm4            # xmm4 = xmm4[1],xmm0[1]
addsd %xmm0, %xmm4
movapd %xmm1, %xmm0
mulsd 0x15db20(%rip), %xmm1   # 0x3497e0
divsd %xmm4, %xmm0
movq 0x78(%rbx), %xmm4
punpckldq %xmm2, %xmm4    # xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
subpd %xmm3, %xmm4
movapd %xmm4, %xmm2
unpckhpd %xmm4, %xmm2            # xmm2 = xmm2[1],xmm4[1]
addsd %xmm4, %xmm2
divsd %xmm2, %xmm1
leaq 0x1cb6d2(%rip), %rsi    # 0x3b73ba
movb $0x2, %al
callq 0x103fe1
movq 0x140(%rbx), %rdi
leaq 0x1cb6a9(%rip), %rsi    # 0x3b73a6
movq %r12, %rdx
xorl %eax, %eax
callq 0x103fe1
movq %r13, 0xc8(%rbx)
movq %r14, 0xd0(%rbx)
movq %r12, 0xf0(%rbx)
movq $0x1, 0xd8(%rbx)
movq %r14, 0xe0(%rbx)
leaq 0xe8(%rbx), %rax
movq %r14, (%rax)
movq 0x100(%rbx), %r12
testq %r12, %r12
je 0x1ebe6f
movq (%r12), %rax
movq 0x20(%r12), %r15
cmpq 0x18(%r12), %r15
jne 0x1ebe06
movq %r13, (%rsp)
movl $0x400, %r13d           # imm = 0x400
cmpq %r13, %r15
cmovbq %r15, %r13
leaq (%r15,%r13), %rbp
movq %rbp, %rsi
shlq $0x4, %rsi
leaq 0x1cabb1(%rip), %rdx    # 0x3b6930
movq %rax, %rdi
movl $0xb5, %ecx
callq 0x104461
movq %rax, (%r12)
movq 0x8(%r12), %rcx
cmpq 0x10(%r12), %rcx
jne 0x1ebe79
testq %r15, %r15
je 0x1ebe7e
movq 0x18(%r12), %rdx
leaq -0x1(%rdx), %rsi
cmpq %rcx, %rsi
jbe 0x1ebdee
shlq $0x4, %rdx
movq %r13, %rax
shlq $0x4, %rax
movq (%r12), %rcx
leaq (%rdx,%rcx), %rdi
addq $-0x10, %rdi
movupd -0x10(%rdx,%rcx), %xmm0
movupd %xmm0, (%rax,%rdi)
decq %rsi
movq 0x8(%r12), %rcx
addq $-0x10, %rdx
cmpq %rcx, %rsi
ja 0x1ebdc2
movq (%r12), %rax
addq %r13, %rcx
movq %rcx, 0x8(%r12)
movq %rbp, 0x18(%r12)
movq 0x20(%r12), %r15
movq (%rsp), %r13
jmp 0x1ebe0b
movq 0x8(%r12), %rcx
incq %r15
movq %r15, 0x20(%r12)
shlq $0x4, %rcx
movq %r13, (%rax,%rcx)
movq %r14, 0x8(%rax,%rcx)
movq 0x8(%r12), %rax
testq %rax, %rax
jne 0x1ebe2f
movq 0x18(%r12), %rax
decq %rax
movq %rax, 0x8(%r12)
movq 0xa8(%rbx), %rax
movq 0xb0(%rbx), %rcx
incq %rax
movq %rax, 0xa8(%rbx)
cmpq %rax, %rcx
jae 0x1ebe5b
movq %rax, 0xb0(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x78501
callq 0x785e5
callq 0x7853a
callq 0x78573
callq 0x785ac