// File: /workspace/github_c_makefile_star2_O2/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 0x19c023
movq %rcx, %r12
testq %rcx, %rcx
je 0x19c023
movq %rdx, %r14
movq %rsi, %r13
movq %rdi, %rbx
cmpb $0x1, 0xf8(%rdi)
jne 0x19be8a
movq 0xf0(%rbx), %r8
leaq -0x1(%r8), %rax
cmpq %r12, %rax
jae 0x19c085
movq 0xd8(%rbx), %rdi
cmpq %r12, %r8
jne 0x19be93
incq %rdi
movq %rdi, 0xd8(%rbx)
addq %r14, 0xe0(%rbx)
cmpq %r14, 0xe8(%rbx)
jb 0x19bef0
jmp 0x19befa
movb $0x1, 0xf8(%rbx)
jmp 0x19beb1
movq 0x78(%rbx), %rdx
movq 0xe0(%rbx), %rsi
movq 0xe8(%rbx), %rcx
movq 0x140(%rbx), %r9
callq 0x19c19c
movq 0x140(%rbx), %rdi
leaq 0x1bb947(%rip), %rsi    # 0x357806
movq %r12, %rdx
xorl %eax, %eax
callq 0x92e71
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 0x19c054
movq (%r12), %rdi
movq 0x20(%r12), %r15
cmpq 0x18(%r12), %r15
jne 0x19bfa3
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 0x1bae4f(%rip), %rdx    # 0x356d90
movl $0xb5, %ecx
callq 0x93472
movq %rax, (%r12)
movq 0x8(%r12), %rax
cmpq 0x10(%r12), %rax
jne 0x19c0b3
testq %r15, %r15
je 0x19c0e1
movq 0x18(%r12), %rcx
movq %rcx, %rdx
shlq $0x4, %rdx
movq %r13, %rsi
shlq $0x4, %rsi
decq %rcx
cmpq %rax, %rcx
jbe 0x19bfaa
movq (%r12), %rax
leaq (%rdx,%rax), %rdi
addq $-0x10, %rdi
movups -0x10(%rdx,%rax), %xmm0
movups %xmm0, (%rsi,%rdi)
movq 0x8(%r12), %rax
addq $-0x10, %rdx
jmp 0x19bf7b
movq 0x8(%r12), %rax
jmp 0x19bfc4
addq %r13, %rax
movq %rax, 0x8(%r12)
movq %rbp, 0x18(%r12)
movq (%r12), %rdi
movq 0x20(%r12), %r15
movq (%rsp), %r13
incq %r15
movq %r15, 0x20(%r12)
shlq $0x4, %rax
movq %r13, (%rdi,%rax)
movq %r14, 0x8(%rdi,%rax)
movq 0x8(%r12), %rax
testq %rax, %rax
jne 0x19bfe8
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 0x19c014
movq %rax, 0xb0(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x29bf3e(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x148fdf(%rip), %rsi    # 0x2e5013
leaq 0x1bb727(%rip), %rdx    # 0x357762
leaq 0x1bb73a(%rip), %rcx    # 0x35777c
leaq 0x1bad47(%rip), %r8     # 0x356d90
movl $0x392, %r9d            # imm = 0x392
jmp 0x19c10d
movq 0x29bf0d(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x148fae(%rip), %rsi    # 0x2e5013
leaq 0x1c07d8(%rip), %rdx    # 0x35c844
leaq 0x1bb7f0(%rip), %rcx    # 0x357863
leaq 0x1bad16(%rip), %r8     # 0x356d90
movl $0xce, %r9d
jmp 0x19c10d
movq 0x29bedc(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x148f7d(%rip), %rsi    # 0x2e5013
leaq 0x1bb6f7(%rip), %rdx    # 0x357794
leaq 0x1bb6d8(%rip), %rcx    # 0x35777c
leaq 0x1bace5(%rip), %r8     # 0x356d90
movl $0x395, %r9d            # imm = 0x395
jmp 0x19c10d
movq 0x29beae(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x148f4f(%rip), %rsi    # 0x2e5013
leaq 0x174f49(%rip), %rdx    # 0x311014
leaq 0x1bb7a5(%rip), %rcx    # 0x357877
leaq 0x1bacb7(%rip), %r8     # 0x356d90
movl $0xb6, %r9d
jmp 0x19c10d
movq 0x29be80(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x148f21(%rip), %rsi    # 0x2e5013
leaq 0x174f3e(%rip), %rdx    # 0x311037
leaq 0x1bb777(%rip), %rcx    # 0x357877
leaq 0x1bac89(%rip), %r8     # 0x356d90
movl $0xb7, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390