// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/rdj-contfinder.c
// Function: gt_contfinder_mark_as_contained
static inline void gt_contfinder_mark_as_contained(
    GtContfinder contfinder, GtContfinderBucketInfo bucket,
    bool except_lowest_seqnum)
{
  size_t i, from = 0, to = bucket.nofseqs;
  gt_contfinder_seqnum_t container = 0;
  gt_assert(bucket.nofseqs > 0);
  if (except_lowest_seqnum)
  {
    gt_contfinder_seqnum_t first, last;
    if (bucket.nofseqs == (gt_contfinder_seqnum_t)1)
      return;
    first = GT_READJOINER_CONTFINDER_GET_SEQNUM(bucket.seqnums, 0 +
        bucket.seqnums_offset);
    last = GT_READJOINER_CONTFINDER_GET_SEQNUM(bucket.seqnums, bucket.nofseqs
        - 1 + bucket.seqnums_offset);
    from = (size_t)1;
    if (last >= contfinder.nofseqs)
      last = (contfinder.nofseqs << 1) - last - 1;
    if (first >= contfinder.nofseqs || last < first)
    {
      from--;
      to--;
      container = last;
    }
    else
    {
      container = first;
      if (first == last) /* palindromic */
        to--;
    }
  }
  for (i = from; i < to; i++)
  {
    gt_contfinder_seqnum_t corrected =
      GT_READJOINER_CONTFINDER_GET_SEQNUM(bucket.seqnums,
          i + bucket.seqnums_offset);
    if (corrected >= contfinder.nofseqs)
      corrected = (contfinder.nofseqs << 1) - corrected - 1;
    GT_CONTFINDER_CONTAINS(&contfinder, container, corrected);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl 0xa0(%rsp), %eax
testq %rax, %rax
je 0x1757ab
leaq 0x90(%rsp), %rcx
leaq 0x40(%rsp), %r8
testb %dil, %dil
je 0x175693
cmpl $0x1, %eax
jne 0x175724
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%rcx), %r9
movq 0x8(%rcx), %r10
movl 0xc(%r8), %edx
leal (%rdx,%rdx), %esi
xorl %edi, %edi
xorl %ecx, %ecx
movabsq $-0x8000000000000000, %r11 # imm = 0x8000000000000000
leaq (%r9,%r10,4), %r9
movq 0x10(%r8), %r10
movq 0x40(%r8), %r8
movl %ecx, %ebx
shrl $0x6, %ebx
movq %r11, %r14
shrq %cl, %r14
movl %ecx, %r15d
cmpq %rax, %rdi
jae 0x175684
movl (%r9,%rdi,4), %ebp
movl %ebp, %ecx
notl %ecx
addl %esi, %ecx
cmpl %edx, %ebp
cmovbl %ebp, %ecx
movq %r11, %r12
shrq %cl, %r12
movl %ecx, %r13d
shrl $0x6, %r13d
orq %r12, (%r10,%r13,8)
testq %r8, %r8
je 0x17571f
testq %r14, (%r10,%rbx,8)
jne 0x175773
movzbl (%r8,%r15), %ebp
movl %ecx, %ecx
movzbl (%r8,%rcx), %r12d
movl $0x100, %r13d           # imm = 0x100
subl %r12d, %r13d
cmpl %ebp, %r13d
jbe 0x17571a
addb %bpl, %r12b
movb %r12b, (%r8,%r15)
movb $0x0, (%r8,%rcx)
incq %rdi
jmp 0x1756c9
movq (%rcx), %r9
movq 0x8(%rcx), %r10
leaq (%r9,%r10,4), %rcx
movl (%rcx), %r11d
leal -0x1(%rax), %edx
movl (%rcx,%rdx,4), %edi
movl 0xc(%r8), %edx
leal (%rdx,%rdx), %esi
cmpl %edx, %edi
movl %edi, %ecx
notl %ecx
leal (%rcx,%rdx,2), %ecx
cmovbl %edi, %ecx
cmpl %edx, %r11d
jae 0x175769
cmpl %r11d, %ecx
jb 0x175769
sete %cl
movzbl %cl, %ecx
subq %rcx, %rax
pushq $0x1
popq %rdi
movl %r11d, %ecx
jmp 0x1756a5
decq %rax
xorl %edi, %edi
jmp 0x1756a5
movq 0x2c27ee(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x16f88f(%rip), %rsi    # 0x2e5013
leaq 0x1d7ca4(%rip), %rdx    # 0x34d42f
leaq 0x1d7c7d(%rip), %rcx    # 0x34d40f
leaq 0x1d7b3c(%rip), %r8     # 0x34d2d5
movl $0x1a6, %r9d            # imm = 0x1A6
xorl %eax, %eax
callq 0x17a50
callq 0x17390
movq 0x2c27b6(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x16f857(%rip), %rsi    # 0x2e5013
leaq 0x1d7c39(%rip), %rdx    # 0x34d3fc
leaq 0x1d7c45(%rip), %rcx    # 0x34d40f
leaq 0x1d7b04(%rip), %r8     # 0x34d2d5
movl $0x185, %r9d            # imm = 0x185
jmp 0x17579f