// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/eis-voiditf.c
// Function: gt_Bwtseqcontextiterator_next
GtUchar gt_Bwtseqcontextiterator_next(GtUword *bound,
                                      Bwtseqcontextiterator *bsci)
{
  GtUchar cc;

  if (bsci->bound != BWTSeqTerminatorPos(bsci->bwtseq))
  {
    cc = BWTSeqGetSym(bsci->bwtseq, bsci->bound);
  } else
  {
    cc = GT_SEPARATOR;
  }
  *bound = bsci->bound = BWTSeqLFMap(bsci->bwtseq, bsci->bound, &bsci->extBits);
  return cc;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %r13
movq 0x38(%rsi), %r12
movq 0x40(%rsi), %r15
movb $-0x1, %bpl
cmpq 0x30(%r12), %r15
je 0x19fc95
movq (%r12), %rdi
testq %rdi, %rdi
je 0x19fe93
movq 0x18(%r12), %rdx
testq %rdx, %rdx
je 0x19fe93
movq (%rdi), %rax
movq 0x8(%rdi), %rbx
movq %r15, %rsi
callq *0x30(%rax)
cmpl $0x1, (%rbx)
jne 0x19fe98
movzbl %al, %eax
movb 0x118(%rbx,%rax), %bpl
movq 0x38(%r14), %r12
movq 0x40(%r14), %r15
movq (%r12), %rdi
testq %rdi, %rdi
je 0x19fe89
movq 0x18(%r12), %rdx
testq %rdx, %rdx
je 0x19fe89
movq (%rdi), %rax
movq %r15, %rsi
callq *0x30(%rax)
movl %eax, %ebx
cmpq %r15, 0x30(%r12)
jne 0x19fce1
cmpb 0x24(%r12), %bl
jne 0x19fe9d
movq 0x10(%r12), %rax
movq 0x38(%r12), %rcx
movq -0x8(%rcx,%rax,8), %rax
jmp 0x19fe4a
movb %bpl, 0x7(%rsp)
movq %r13, 0x8(%rsp)
movq 0x8(%r12), %rbp
testq %rbp, %rbp
je 0x19fe8e
movq %rbp, %rdi
callq 0x19e077
movzbl %bl, %r13d
cmpw %r13w, %ax
jbe 0x19fe8e
movq 0x8(%rbp), %rax
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
incl %edx
cmpw %r13w, (%rax,%rdx,2)
jbe 0x19fd18
movq 0x48(%r12), %rcx
movl (%rcx,%rdx,4), %ecx
cmpl $0x2, %ecx
je 0x19fd84
testl %ecx, %ecx
jne 0x19fea2
movq 0x38(%r12), %rax
movq (%rax,%r13,8), %rbp
movb 0x24(%r12), %al
cmpb %bl, %al
jbe 0x19fda9
movq (%r12), %rbx
testq %rbx, %rbx
je 0x19feac
movq 0x18(%r12), %r12
movq 0x8(%rbx), %rdi
callq 0x19e077
cmpw %r13w, %ax
jbe 0x19feb1
movq (%rbx), %rax
movq %rbx, %rdi
movl %r13d, %esi
movq %r15, %rdx
movq %r12, %rcx
callq *0x8(%rax)
jmp 0x19fe3d
cmpl %edx, 0x4(%rbp)
jbe 0x19fea7
movq 0x38(%r12), %rcx
testl %edx, %edx
movq 0x8(%rsp), %r13
movb 0x7(%rsp), %bpl
je 0x19fe09
leal -0x1(%rdx), %esi
movzbl (%rax,%rsi,2), %eax
jmp 0x19fe0b
jae 0x19fdbc
movq 0x10(%r12), %rcx
decq %rcx
cmpq %r13, %rcx
jne 0x19fe63
cmpb %bl, %al
jne 0x19fe22
movq (%r12), %rbx
testq %rbx, %rbx
je 0x19feb6
movq 0x18(%r12), %rax
movq %rax, 0x10(%rsp)
movq 0x8(%rbx), %rdi
callq 0x19e077
cmpw %r13w, %ax
jbe 0x19fec0
movq (%rbx), %rax
movq %rbx, %rdi
movl %r13d, %esi
movq %r15, %rdx
movq 0x10(%rsp), %rcx
callq *0x8(%rax)
cmpq %r15, 0x30(%r12)
sbbq $0x0, %rax
jmp 0x19fe3d
xorl %eax, %eax
movq (%rcx,%rax,8), %rbx
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rcx
callq 0x19b26e
addq %rbx, %rax
jmp 0x19fe4a
movq 0x10(%r12), %rax
decq %rax
cmpq %r13, %rax
jne 0x19febb
xorl %eax, %eax
cmpq %r15, 0x30(%r12)
setb %al
movq 0x8(%rsp), %r13
addq %rbp, %rax
movb 0x7(%rsp), %bpl
movq %rax, 0x40(%r14)
movq %rax, (%r13)
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%r12), %rbx
testq %rbx, %rbx
je 0x19fec5
movq 0x18(%r12), %r12
movq 0x8(%rbx), %rdi
callq 0x19e077
cmpw %r13w, %ax
ja 0x19fd6d
callq 0x60ce5
callq 0x60c77
callq 0x60e82
callq 0x60c40
callq 0x173b0
callq 0x60eb9
callq 0x60e66
callq 0x60cae
callq 0x60e2f
callq 0x60df8
callq 0x60dc1
callq 0x60d53
callq 0x60d8a
callq 0x60d1c