// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x48, %rsp
movb %dil, %cl
leaq 0xa0(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x50(%rsp), %rdx
movq %rdx, 0x10(%rsp)
andb $0x1, %cl
movb %cl, 0x47(%rsp)
movq $0x0, 0x30(%rsp)
movl 0x10(%rax), %eax
movq %rax, 0x28(%rsp)
movl $0x0, 0x24(%rsp)
movq 0x8(%rsp), %rax
cmpl $0x0, 0x10(%rax)
ja 0x27baf1
movq 0x3c04e0(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x29a549(%rip), %rsi    # 0x516013
leaq 0x304098(%rip), %rdx    # 0x57fb69
leaq 0x3040a4(%rip), %rcx    # 0x57fb7c
leaq 0x303f63(%rip), %r8     # 0x57fa42
movl $0x185, %r9d            # imm = 0x185
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x27baf3
testb $0x1, 0x47(%rsp)
je 0x27bbc9
movq 0x8(%rsp), %rax
cmpl $0x1, 0x10(%rax)
jne 0x27bb0e
jmp 0x27bd40
movq 0x10(%rsp), %rcx
movq 0x8(%rsp), %rsi
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq $0x0, %rdx
movl (%rax,%rdx,4), %eax
movl %eax, 0x20(%rsp)
movq (%rsi), %rax
movl 0x10(%rsi), %edx
subl $0x1, %edx
movl %edx, %edx
addq 0x8(%rsi), %rdx
movl (%rax,%rdx,4), %eax
movl %eax, 0x1c(%rsp)
movq $0x1, 0x30(%rsp)
movl 0x1c(%rsp), %eax
cmpl 0xc(%rcx), %eax
jb 0x27bb67
movq 0x10(%rsp), %rax
movl 0xc(%rax), %eax
shll %eax
subl 0x1c(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x1c(%rsp)
movq 0x10(%rsp), %rcx
movl 0x20(%rsp), %eax
cmpl 0xc(%rcx), %eax
jae 0x27bb7f
movl 0x1c(%rsp), %eax
cmpl 0x20(%rsp), %eax
jae 0x27bba5
movq 0x30(%rsp), %rax
addq $-0x1, %rax
movq %rax, 0x30(%rsp)
movq 0x28(%rsp), %rax
addq $-0x1, %rax
movq %rax, 0x28(%rsp)
movl 0x1c(%rsp), %eax
movl %eax, 0x24(%rsp)
jmp 0x27bbc7
movl 0x20(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0x20(%rsp), %eax
cmpl 0x1c(%rsp), %eax
jne 0x27bbc5
movq 0x28(%rsp), %rax
addq $-0x1, %rax
movq %rax, 0x28(%rsp)
jmp 0x27bbc7
jmp 0x27bbc9
movq 0x30(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x38(%rsp), %rax
cmpq 0x28(%rsp), %rax
jae 0x27bd40
movq 0x10(%rsp), %rcx
movq 0x8(%rsp), %rsi
movq (%rsi), %rax
movq 0x38(%rsp), %rdx
addq 0x8(%rsi), %rdx
movl (%rax,%rdx,4), %eax
movl %eax, 0x18(%rsp)
movl 0x18(%rsp), %eax
cmpl 0xc(%rcx), %eax
jb 0x27bc1e
movq 0x10(%rsp), %rax
movl 0xc(%rax), %eax
shll %eax
subl 0x18(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x18(%rsp)
movq 0x10(%rsp), %rax
movl 0x18(%rsp), %ecx
andl $0x3f, %ecx
movl %ecx, %ecx
movabsq $-0x8000000000000000, %rsi # imm = 0x8000000000000000
shrq %cl, %rsi
movq 0x10(%rax), %rcx
movl 0x18(%rsp), %edx
shrl $0x6, %edx
movl %edx, %edx
orq (%rcx,%rdx,8), %rsi
movq %rsi, (%rcx,%rdx,8)
cmpq $0x0, 0x40(%rax)
je 0x27bd2b
jmp 0x27bc5b
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rax
movl 0x24(%rsp), %ecx
shrl $0x6, %ecx
movl %ecx, %ecx
movq (%rax,%rcx,8), %rax
movl 0x24(%rsp), %ecx
andl $0x3f, %ecx
movl %ecx, %ecx
movabsq $-0x8000000000000000, %rdx # imm = 0x8000000000000000
shrq %cl, %rdx
movq %rdx, %rcx
andq %rcx, %rax
cmpq $0x0, %rax
je 0x27bccb
movq 0x3c0306(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x29a36f(%rip), %rsi    # 0x516013
leaq 0x303ef1(%rip), %rdx    # 0x57fb9c
leaq 0x303eca(%rip), %rcx    # 0x57fb7c
leaq 0x303d89(%rip), %r8     # 0x57fa42
movl $0x1a6, %r9d            # imm = 0x1A6
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x27bccd
movq 0x10(%rsp), %rcx
movq 0x40(%rcx), %rax
movl 0x24(%rsp), %edx
movzbl (%rax,%rdx), %eax
movq 0x40(%rcx), %rcx
movl 0x18(%rsp), %edx
movzbl (%rcx,%rdx), %edx
movl $0xff, %ecx
subl %edx, %ecx
addl $0x1, %ecx
cmpl %ecx, %eax
jge 0x27bd1a
movq 0x10(%rsp), %rax
movq 0x40(%rax), %rcx
movl 0x18(%rsp), %edx
movzbl (%rcx,%rdx), %esi
movq 0x40(%rax), %rax
movl 0x24(%rsp), %ecx
movzbl (%rax,%rcx), %edx
addl %esi, %edx
movb %dl, (%rax,%rcx)
movq 0x10(%rsp), %rax
movq 0x40(%rax), %rax
movl 0x18(%rsp), %ecx
movb $0x0, (%rax,%rcx)
jmp 0x27bd2d
movq 0x38(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x38(%rsp)
jmp 0x27bbd3
addq $0x48, %rsp
retq
nopw %cs:(%rax,%rax)