// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/encseq.c
// Function: binpreparenextrangeGtEncseqReader
static void binpreparenextrangeGtEncseqReader(GtEncseqReader *esr,
                                              KindofSWtable kindsw)
{
  GtEncseqAccessType sat = (kindsw == SWtable_ssptab) ? esr->encseq->satsep
                                                         : esr->encseq->sat;
  switch (sat) {
    case GT_ACCESS_TYPE_UCHARTABLES:
      binpreparenextrangeGtEncseqReader_uchar(esr, kindsw);
      break;
    case GT_ACCESS_TYPE_USHORTTABLES:
      binpreparenextrangeGtEncseqReader_uint16(esr, kindsw);
      break;
    case GT_ACCESS_TYPE_UINT32TABLES:
      binpreparenextrangeGtEncseqReader_uint32(esr, kindsw);
      break;
    default: fprintf(stderr, "binpreparenextrangeGtEncseqReader(sat = %s "
                            "is undefined)\n",
                     gt_encseq_access_type_str(sat));
             exit(GT_EXIT_PROGRAMMING_ERROR);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
xorl %eax, %eax
cmpl $0x1, %esi
sete %al
movq %rdi, 0x20(%rsp)
movq (%rdi), %rbx
movl (%rbx,%rax,4), %edi
cmpl $0x6, %edi
je 0xc07f9
cmpl $0x5, %edi
je 0xc0780
cmpl $0x4, %edi
jne 0xc0ec0
movq 0x20(%rsp), %rdx
movl 0x8(%rdx), %r13d
leaq 0x240(%rbx), %rax
addq $0x2b8, %rbx            # imm = 0x2B8
xorl %ecx, %ecx
testl %esi, %esi
cmovneq %rax, %rbx
setne %cl
movq 0x28(%rdx,%rcx,8), %r14
movl $0x0, 0x39(%r14)
movq 0x10(%rdx), %r12
movq %r12, %r15
shrq $0x8, %r15
movq 0x10(%rbx), %rax
cmpq $0x100, %r12            # imm = 0x100
jae 0xc0a49
movq $0x0, (%r14)
movq (%rax,%r15,8), %rbp
leaq 0x8(%r14), %rax
movq %rax, 0x10(%rsp)
movq %rbp, 0x8(%r14)
testq %r12, %r12
je 0xc0bc7
movq %r12, 0x8(%rsp)
xorl %r12d, %r12d
jmp 0xc0a67
movq 0x20(%rsp), %rdx
movl 0x8(%rdx), %r13d
leaq 0x240(%rbx), %rax
addq $0x2b8, %rbx            # imm = 0x2B8
xorl %ecx, %ecx
testl %esi, %esi
cmovneq %rax, %rbx
setne %cl
movq 0x28(%rdx,%rcx,8), %r14
movl $0x0, 0x39(%r14)
movq 0x10(%rdx), %r12
movq %r12, %r15
shrq $0x10, %r15
movq 0x10(%rbx), %rax
cmpq $0x10000, %r12          # imm = 0x10000
jae 0xc086b
movq $0x0, (%r14)
movq (%rax,%r15,8), %rbp
leaq 0x8(%r14), %rax
movq %rax, 0x10(%rsp)
movq %rbp, 0x8(%r14)
testq %r12, %r12
je 0xc0b4d
movq %r12, 0x8(%rsp)
xorl %r12d, %r12d
jmp 0xc0889
movq 0x20(%rsp), %rdx
movl 0x8(%rdx), %r13d
leaq 0x240(%rbx), %rax
addq $0x2b8, %rbx            # imm = 0x2B8
xorl %ecx, %ecx
testl %esi, %esi
setne %cl
cmovneq %rax, %rbx
movq 0x28(%rdx,%rcx,8), %r14
movl $0x0, 0x39(%r14)
movq 0x10(%rdx), %r12
movq %r12, %r15
shrq $0x20, %r15
movq 0x10(%rbx), %rax
jne 0xc095a
movq $0x0, (%r14)
movq (%rax,%r15,8), %rbp
leaq 0x8(%r14), %rax
movq %rax, 0x10(%rsp)
movq %rbp, 0x8(%r14)
testq %r12, %r12
je 0xc0b8a
movq %r12, 0x8(%rsp)
xorl %r12d, %r12d
jmp 0xc0978
movq %r12, 0x8(%rsp)
movq -0x8(%rax,%r15,8), %r12
movq %r12, (%r14)
movq (%rax,%r15,8), %rbp
leaq 0x8(%r14), %rax
movq %rax, 0x10(%rsp)
movq %rbp, 0x8(%r14)
cmpq %rbp, %r12
jae 0xc0b38
movq %r14, 0x18(%rsp)
movl $0x0, 0x4(%rsp)
movl %r13d, (%rsp)
movl %r13d, %r14d
orl $0x2, %r14d
movq %r12, %r13
notq %r13
addq %rbp, %r13
shrq %r13
addq %r12, %r13
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %r13, %rcx
callq 0xcf16c
cmpl $0x3, %r14d
jne 0xc08f6
movq 0x20(%rsp), %rax
movq 0x10(%rax), %rax
cmpq 0x28(%rsp), %rax
jae 0xc0919
leaq 0x1(%r13), %rax
movq 0x10(%rsp), %rcx
movq %rax, (%rcx)
movb $0x1, %al
movl %eax, 0x4(%rsp)
jmp 0xc0937
movq 0x20(%rsp), %rax
movq 0x10(%rax), %rax
cmpq 0x30(%rsp), %rax
jbe 0xc092c
movq 0x18(%rsp), %rax
movq %r13, (%rax)
incq %r13
movb $0x1, %al
movl %eax, 0x4(%rsp)
jmp 0xc0927
incq %r13
cmpq 0x30(%rsp), %rax
jb 0xc0c04
movq %r13, %r12
jmp 0xc093a
cmpq 0x28(%rsp), %rax
jae 0xc0c3d
movq %r13, %rbp
cmpq %rbp, %r12
jb 0xc08aa
movq 0x18(%rsp), %r14
movl (%rsp), %r13d
movq 0x8(%rsp), %r12
movl 0x4(%rsp), %edx
jmp 0xc0c50
movq %r12, 0x8(%rsp)
movq -0x8(%rax,%r15,8), %r12
movq %r12, (%r14)
movq (%rax,%r15,8), %rbp
leaq 0x8(%r14), %rax
movq %rax, 0x10(%rsp)
movq %rbp, 0x8(%r14)
cmpq %rbp, %r12
jae 0xc0b3f
movq %r14, 0x18(%rsp)
movl $0x0, 0x4(%rsp)
movl %r13d, (%rsp)
movl %r13d, %r14d
orl $0x2, %r14d
movq %r12, %r13
notq %r13
addq %rbp, %r13
shrq %r13
addq %r12, %r13
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %r13, %rcx
callq 0xcf1a6
cmpl $0x3, %r14d
jne 0xc09e5
movq 0x20(%rsp), %rax
movq 0x10(%rax), %rax
cmpq 0x28(%rsp), %rax
jae 0xc0a08
leaq 0x1(%r13), %rax
movq 0x10(%rsp), %rcx
movq %rax, (%rcx)
movb $0x1, %al
movl %eax, 0x4(%rsp)
jmp 0xc0a26
movq 0x20(%rsp), %rax
movq 0x10(%rax), %rax
cmpq 0x30(%rsp), %rax
jbe 0xc0a1b
movq 0x18(%rsp), %rax
movq %r13, (%rax)
incq %r13
movb $0x1, %al
movl %eax, 0x4(%rsp)
jmp 0xc0a16
incq %r13
cmpq 0x30(%rsp), %rax
jb 0xc0c15
movq %r13, %r12
jmp 0xc0a29
cmpq 0x28(%rsp), %rax
jae 0xc0ccd
movq %r13, %rbp
cmpq %rbp, %r12
jb 0xc0999
movq 0x18(%rsp), %r14
movl (%rsp), %r13d
movq 0x8(%rsp), %r12
movl 0x4(%rsp), %edx
jmp 0xc0ce0
movq %r12, 0x8(%rsp)
movq -0x8(%rax,%r15,8), %r12
movq %r12, (%r14)
movq (%rax,%r15,8), %rbp
leaq 0x8(%r14), %rax
movq %rax, 0x10(%rsp)
movq %rbp, 0x8(%r14)
cmpq %rbp, %r12
jae 0xc0b46
movq %r14, 0x18(%rsp)
movl $0x0, 0x4(%rsp)
movl %r13d, (%rsp)
movl %r13d, %r14d
orl $0x2, %r14d
movq %r12, %r13
notq %r13
addq %rbp, %r13
shrq %r13
addq %r12, %r13
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %r13, %rcx
callq 0xcf132
cmpl $0x3, %r14d
jne 0xc0ad4
movq 0x20(%rsp), %rax
movq 0x10(%rax), %rax
cmpq 0x28(%rsp), %rax
jae 0xc0af7
leaq 0x1(%r13), %rax
movq 0x10(%rsp), %rcx
movq %rax, (%rcx)
movb $0x1, %al
movl %eax, 0x4(%rsp)
jmp 0xc0b15
movq 0x20(%rsp), %rax
movq 0x10(%rax), %rax
cmpq 0x30(%rsp), %rax
jbe 0xc0b0a
movq 0x18(%rsp), %rax
movq %r13, (%rax)
incq %r13
movb $0x1, %al
movl %eax, 0x4(%rsp)
jmp 0xc0b05
incq %r13
cmpq 0x30(%rsp), %rax
jb 0xc0c29
movq %r13, %r12
jmp 0xc0b18
cmpq 0x28(%rsp), %rax
jae 0xc0d5a
movq %r13, %rbp
cmpq %rbp, %r12
jb 0xc0a88
movq 0x18(%rsp), %r14
movl (%rsp), %r13d
movq 0x8(%rsp), %r12
movl 0x4(%rsp), %edx
jmp 0xc0d6d
xorl %edx, %edx
jmp 0xc0c4b
xorl %edx, %edx
jmp 0xc0cdb
xorl %edx, %edx
jmp 0xc0d68
testq %rbp, %rbp
je 0xc0e77
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
movq %r15, %rdx
xorl %ecx, %ecx
callq 0xcf16c
movl %r13d, %eax
orl $0x2, %eax
cmpl $0x3, %eax
jne 0xc0e6f
movq 0x10(%rsp), %rax
movq $0x1, (%rax)
movb $0x1, %dl
jmp 0xc0c50
testq %rbp, %rbp
je 0xc0e86
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
movq %r15, %rdx
xorl %ecx, %ecx
callq 0xcf1a6
movl %r13d, %eax
orl $0x2, %eax
cmpl $0x3, %eax
jne 0xc0e7e
movq 0x10(%rsp), %rax
movq $0x1, (%rax)
movb $0x1, %dl
jmp 0xc0ce0
testq %rbp, %rbp
je 0xc0e95
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
movq %r15, %rdx
xorl %ecx, %ecx
callq 0xcf132
movl %r13d, %eax
orl $0x2, %eax
cmpl $0x3, %eax
jne 0xc0e8d
movq 0x10(%rsp), %rax
movq $0x1, (%rax)
movb $0x1, %dl
jmp 0xc0d6d
movq 0x10(%rsp), %rax
movq %r13, (%rax)
movb $0x1, %dl
movq 0x18(%rsp), %r14
jmp 0xc0c47
movq 0x10(%rsp), %rax
movq %r13, (%rax)
movb $0x1, %dl
movq 0x18(%rsp), %r14
jmp 0xc0cd7
movq 0x10(%rsp), %rax
movq %r13, (%rax)
movb $0x1, %dl
movq 0x18(%rsp), %r14
jmp 0xc0d64
movq 0x18(%rsp), %r14
movq %r13, (%r14)
movb $0x1, %dl
movl (%rsp), %r13d
movq 0x8(%rsp), %r12
orl $0x2, %r13d
cmpl $0x3, %r13d
jne 0xc0c7a
testb $0x1, %dl
je 0xc0d93
leaq 0x18(%r14), %r12
cmpl $0x3, %r13d
jne 0xc0c98
movq 0x10(%rsp), %rax
movq (%rax), %rcx
decq %rcx
jmp 0xc0c9b
cmpq $0x10000, %r12          # imm = 0x10000
setb %al
orb %dl, %al
testb $0x1, %al
jne 0xc0c5a
movq 0x10(%rbx), %rax
cmpq $0x1, %r15
jne 0xc0cae
xorl %ecx, %ecx
jmp 0xc0cb3
movq (%r14), %rcx
movq %r12, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0xcf16c
jmp 0xc0dde
movq -0x10(%rax,%r15,8), %rcx
movq -0x8(%rax,%r15,8), %rax
cmpq %rax, %rcx
jae 0xc0c5a
leaq -0x1(%rax), %rcx
movq %rcx, (%r14)
movq %rax, 0x8(%r14)
decq %r15
jmp 0xc0c63
movq 0x18(%rsp), %r14
movq %r13, (%r14)
movb $0x1, %dl
movl (%rsp), %r13d
movq 0x8(%rsp), %r12
orl $0x2, %r13d
cmpl $0x3, %r13d
jne 0xc0d0a
testb $0x1, %dl
je 0xc0d93
leaq 0x18(%r14), %r12
cmpl $0x3, %r13d
jne 0xc0d25
movq 0x10(%rsp), %rax
movq (%rax), %rcx
decq %rcx
jmp 0xc0d28
shrq $0x20, %r12
sete %al
orb %dl, %al
testb $0x1, %al
jne 0xc0cea
movq 0x10(%rbx), %rax
cmpl $0x1, %r15d
jne 0xc0d3b
xorl %ecx, %ecx
jmp 0xc0d40
movq (%r14), %rcx
movq %r12, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0xcf1a6
jmp 0xc0dde
movq -0x10(%rax,%r15,8), %rcx
movq -0x8(%rax,%r15,8), %rax
cmpq %rax, %rcx
jae 0xc0cea
leaq -0x1(%rax), %rcx
movq %rcx, (%r14)
movq %rax, 0x8(%r14)
decq %r15
jmp 0xc0cf3
movq 0x18(%rsp), %r14
movq %r13, (%r14)
movb $0x1, %dl
movl (%rsp), %r13d
movq 0x8(%rsp), %r12
orl $0x2, %r13d
cmpl $0x3, %r13d
jne 0xc0da8
testb $0x1, %dl
je 0xc0d93
leaq 0x18(%r14), %r12
cmpl $0x3, %r13d
jne 0xc0dcd
movq 0x10(%rsp), %rax
movq (%rax), %rcx
decq %rcx
jmp 0xc0dd0
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
cmpq 0x20(%rbx), %r15
setb 0x38(%r14)
jmp 0xc0e36
cmpq $0x100, %r12            # imm = 0x100
setb %al
orb %dl, %al
testb $0x1, %al
jne 0xc0d77
movq 0x10(%rbx), %rax
cmpq $0x1, %r15
jne 0xc0e49
xorl %ecx, %ecx
jmp 0xc0e4e
movq (%r14), %rcx
movq %r12, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0xcf132
movq 0x20(%rsp), %rax
movq 0x10(%rax), %rax
cmpq %rax, (%r12)
ja 0xc0df8
cmpq 0x20(%r14), %rax
jae 0xc0df8
movb $0x1, 0x3a(%r14)
cmpl $0x3, %r13d
jne 0xc0e0d
testq %r15, %r15
je 0xc0e22
movb $0x1, 0x38(%r14)
decq %r15
jmp 0xc0e36
leaq 0x1(%r15), %rax
cmpq 0x20(%rbx), %rax
jae 0xc0e31
movb $0x1, 0x38(%r14)
movq %rax, 0x10(%r14)
jmp 0xc0e3a
movb $0x0, 0x38(%r14)
movq $0x0, 0x10(%r14)
jmp 0xc0e3a
movb $0x0, 0x38(%r14)
movq %r15, 0x10(%r14)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq -0x10(%rax,%r15,8), %rcx
movq -0x8(%rax,%r15,8), %rax
cmpq %rax, %rcx
jae 0xc0d77
leaq -0x1(%rax), %rcx
movq %rcx, (%r14)
movq %rax, 0x8(%r14)
decq %r15
jmp 0xc0d7c
cmpq $0x0, 0x28(%rsp)
je 0xc0e9c
xorl %edx, %edx
jmp 0xc0c50
cmpq $0x0, 0x28(%rsp)
je 0xc0ea8
xorl %edx, %edx
jmp 0xc0ce0
cmpq $0x0, 0x28(%rsp)
je 0xc0eb4
xorl %edx, %edx
jmp 0xc0d6d
movq $0x0, (%r14)
jmp 0xc0b83
movq $0x0, (%r14)
jmp 0xc0bc0
movq $0x0, (%r14)
jmp 0xc0bfd
callq 0x2a550