// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
cmpq $0x2, 0x20(%rsp)
jb 0x2c47e8
cmpq $0x0, 0x18(%rsp)
ja 0x2c4820
movq 0x3777b1(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x25181a(%rip), %rsi    # 0x516013
leaq 0x2c59bf(%rip), %rdx    # 0x58a1bf
leaq 0x2c59d2(%rip), %rcx    # 0x58a1d9
leaq 0x2c4fad(%rip), %r8     # 0x5897bb
movl $0x392, %r9d            # imm = 0x392
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2c4822
jmp 0x2c4824
movq 0x30(%rsp), %rax
testb $0x1, 0xf8(%rax)
je 0x2c488c
movq 0x30(%rsp), %rax
cmpq $0x0, 0xf0(%rax)
jbe 0x2c4854
movq 0x30(%rsp), %rax
movq 0xf0(%rax), %rax
cmpq 0x18(%rsp), %rax
jbe 0x2c488c
movq 0x377745(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2517ae(%rip), %rsi    # 0x516013
leaq 0x2c5985(%rip), %rdx    # 0x58a1f1
leaq 0x2c5966(%rip), %rcx    # 0x58a1d9
leaq 0x2c4f41(%rip), %r8     # 0x5897bb
movl $0x395, %r9d            # imm = 0x395
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2c488e
movq 0x30(%rsp), %rax
testb $0x1, 0xf8(%rax)
je 0x2c4907
movq 0x30(%rsp), %rax
movq 0xf0(%rax), %rax
cmpq 0x18(%rsp), %rax
jne 0x2c4907
movq 0x30(%rsp), %rax
movq 0xd8(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0xd8(%rax)
movq 0x20(%rsp), %rcx
movq 0x30(%rsp), %rax
addq 0xe0(%rax), %rcx
movq %rcx, 0xe0(%rax)
movq 0x30(%rsp), %rax
movq 0xe8(%rax), %rax
cmpq 0x20(%rsp), %rax
jae 0x2c4902
movq 0x20(%rsp), %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0xe8(%rax)
jmp 0x2c49f1
movq 0x30(%rsp), %rax
testb $0x1, 0xf8(%rax)
je 0x2c4961
movq 0x30(%rsp), %rax
movq 0xd8(%rax), %rdi
movq 0x30(%rsp), %rax
movq 0xe0(%rax), %rsi
movq 0x30(%rsp), %rax
movq 0x78(%rax), %rdx
movq 0x30(%rsp), %rax
movq 0xe8(%rax), %rcx
movq 0x30(%rsp), %rax
movq 0xf0(%rax), %r8
movq 0x30(%rsp), %rax
movq 0x140(%rax), %r9
callq 0x2c4b50
jmp 0x2c496d
movq 0x30(%rsp), %rax
movb $0x1, 0xf8(%rax)
movq 0x30(%rsp), %rax
movq 0x140(%rax), %rdi
movq 0x18(%rsp), %rdx
leaq 0x2c58de(%rip), %rsi    # 0x58a263
movb $0x0, %al
callq 0xe7cd0
movq 0x28(%rsp), %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0xc8(%rax)
movq 0x20(%rsp), %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0xd0(%rax)
movq 0x18(%rsp), %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0xf0(%rax)
movq 0x30(%rsp), %rax
movq $0x1, 0xd8(%rax)
movq 0x20(%rsp), %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0xe0(%rax)
movq 0x20(%rsp), %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0xe8(%rax)
movq 0x28(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x30(%rsp), %rax
movq 0x100(%rax), %rdi
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
xorl %ecx, %ecx
callq 0x2c4c10
movq 0x30(%rsp), %rax
movq 0xa8(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0xa8(%rax)
movq 0x30(%rsp), %rax
movq 0xb0(%rax), %rax
movq 0x30(%rsp), %rcx
cmpq 0xa8(%rcx), %rax
jae 0x2c4a6b
movq 0x30(%rsp), %rax
movq 0xa8(%rax), %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0xb0(%rax)
addq $0x38, %rsp
retq