// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_sequence2bytecode
void gt_encseq_sequence2bytecode(GtUchar *dest,
                                 const GtEncseq *encseq,
                                 GtUword startindex,
                                 GtUword len)
{
  if (encseq->sat == GT_ACCESS_TYPE_DIRECTACCESS)
    gt_encseq_plainseq2bytecode(dest, encseq->plainseq + startindex, len);
  else
    encseq2bytecode(dest, encseq, startindex, len);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %r10
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r13
movl (%rsi), %eax
testl %eax, %eax
je 0xbeac9
testq %r13, %r13
je 0xbef10
cmpq $0x0, 0x280(%rbx)
je 0xbeb28
cmpq $0x3, %r10
jb 0xbeaec
leaq (%r14,%r10), %rdx
addq $-0x3, %rdx
cmpq %r14, %rdx
jbe 0xbeaec
leaq (%r14,%r14), %rsi
xorl %eax, %eax
movq 0x280(%rbx), %rdi
movq %r14, %rcx
shrq $0x5, %rcx
movq (%rdi,%rcx,8), %r9
movl %esi, %ecx
notb %cl
andb $0x3e, %cl
shrq %cl, %r9
shlb $0x6, %r9b
leaq 0x1(%r14), %rcx
shrq $0x5, %rcx
movq (%rdi,%rcx,8), %r8
leal 0x2(%rsi), %ecx
notb %cl
andb $0x3e, %cl
shrq %cl, %r8
shlb $0x4, %r8b
andb $0x30, %r8b
orb %r9b, %r8b
leaq 0x2(%r14), %rcx
shrq $0x5, %rcx
movq (%rdi,%rcx,8), %r9
leal 0x4(%rsi), %ecx
notb %cl
andb $0x3e, %cl
shrq %cl, %r9
shlb $0x2, %r9b
andb $0xc, %r9b
leaq 0x3(%r14), %rcx
shrq $0x5, %rcx
movq (%rdi,%rcx,8), %rdi
leal 0x6(%rsi), %ecx
notb %cl
andb $0x3e, %cl
shrq %cl, %rdi
orb %r8b, %r9b
andb $0x3, %dil
orb %r9b, %dil
movb %dil, (%r13,%rax)
addq $0x4, %r14
incq %rax
addq $0x8, %rsi
cmpq %rdx, %r14
jb 0xbea2c
jmp 0xbeaee
addq 0x290(%rbx), %r14
movq %r13, %rdi
movq %r14, %rsi
movq %r10, %rdx
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xbe950
xorl %eax, %eax
andl $0x3, %r10d
leaq 0x43ca7(%rip), %rcx     # 0x1027a0
movslq (%rcx,%r10,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
movq 0x280(%rbx), %rcx
movq %r14, %rdx
shrq $0x5, %rdx
movq (%rcx,%rdx,8), %rdx
notl %r14d
addl %r14d, %r14d
movl %r14d, %ecx
shrq %cl, %rdx
shlb $0x6, %dl
jmp 0xbed5b
cmpl $0x1, %eax
jne 0xbeeed
cmpq $0x3, %r10
jb 0xbed65
leaq (%r14,%r10), %rax
addq $-0x3, %rax
movq %rax, 0x20(%rsp)
cmpq %r14, %rax
jbe 0xbed65
movq %r10, 0x10(%rsp)
movq $0x0, 0x8(%rsp)
movq %r13, 0x18(%rsp)
movq 0x2a0(%rbx), %rax
testq %rax, %rax
je 0xbeefc
movq %r14, %r12
cmpq %r14, 0x8(%rax)
jbe 0xbeefc
movl 0x10(%rax), %edx
cmpq $0x21, %rdx
jae 0xbeefc
movq (%rax), %rdi
movq %rdx, %rsi
imulq %r12, %rsi
callq 0xdda90
movl %eax, %ebp
movq 0x2a0(%rbx), %rax
testq %rax, %rax
je 0xbef01
leaq 0x1(%r12), %r14
cmpq %r14, 0x8(%rax)
jbe 0xbef01
movl 0x10(%rax), %edx
cmpq $0x21, %rdx
jae 0xbef01
movq (%rax), %rdi
movq %rdx, %rsi
imulq %r14, %rsi
callq 0xdda90
movl %eax, %r13d
movq 0x2a0(%rbx), %rax
testq %rax, %rax
je 0xbef06
incq %r14
cmpq %r14, 0x8(%rax)
jbe 0xbef06
movl 0x10(%rax), %edx
cmpq $0x21, %rdx
jae 0xbef06
movq %rbx, %r15
leaq 0x2(%r12), %rsi
movq (%rax), %rdi
imulq %rdx, %rsi
callq 0xdda90
movl %eax, %ebx
movq 0x2a0(%r15), %rax
testq %rax, %rax
je 0xbef0b
incq %r14
cmpq %r14, 0x8(%rax)
jbe 0xbef0b
movl 0x10(%rax), %edx
cmpq $0x21, %rdx
jae 0xbef0b
shll $0x6, %ebp
shll $0x4, %r13d
orl %ebp, %r13d
shll $0x2, %ebx
orl %r13d, %ebx
leaq 0x3(%r12), %rsi
movq (%rax), %rdi
imulq %rdx, %rsi
callq 0xdda90
orl %ebx, %eax
movq 0x18(%rsp), %r13
movq 0x8(%rsp), %rcx
movb %al, (%r13,%rcx)
incq %rcx
movq %rcx, 0x8(%rsp)
incq %r14
cmpq 0x20(%rsp), %r14
movq %r15, %rbx
jb 0xbeb64
addq $0x4, %r12
movq %r12, %r14
movq 0x8(%rsp), %r12
movq 0x10(%rsp), %r10
jmp 0xbed68
movq 0x280(%rbx), %rsi
movq %r14, %rcx
shrq $0x5, %rcx
movq (%rsi,%rcx,8), %rdx
movl %r14d, %ecx
notl %ecx
addl %ecx, %ecx
shrq %cl, %rdx
shlb $0x6, %dl
incq %r14
movq %r14, %rcx
shrq $0x5, %rcx
movq (%rsi,%rcx,8), %rsi
notl %r14d
addl %r14d, %r14d
movl %r14d, %ecx
shrq %cl, %rsi
shlb $0x4, %sil
andb $0x30, %sil
orb %dl, %sil
movb %sil, (%r13,%rax)
jmp 0xbeeed
movq 0x280(%rbx), %rdx
movq %r14, %rcx
shrq $0x5, %rcx
movq (%rdx,%rcx,8), %rdi
movl %r14d, %ecx
notl %ecx
addl %ecx, %ecx
shrq %cl, %rdi
shlb $0x6, %dil
leaq 0x1(%r14), %rcx
movq %rcx, %rsi
shrq $0x5, %rsi
movq (%rdx,%rsi,8), %rsi
notl %ecx
addl %ecx, %ecx
shrq %cl, %rsi
shlb $0x4, %sil
andb $0x30, %sil
orb %dil, %sil
addq $0x2, %r14
movq %r14, %rcx
shrq $0x5, %rcx
movq (%rdx,%rcx,8), %rdx
notl %r14d
addl %r14d, %r14d
movl %r14d, %ecx
shrq %cl, %rdx
shlb $0x2, %dl
andb $0xc, %dl
orb %sil, %dl
movb %dl, (%r13,%rax)
jmp 0xbeeed
xorl %r12d, %r12d
andl $0x3, %r10d
leaq 0x43a3d(%rip), %rax     # 0x1027b0
movslq (%rax,%r10,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movq 0x2a0(%rbx), %rax
testq %rax, %rax
je 0xbef15
cmpq %r14, 0x8(%rax)
jbe 0xbef15
movl 0x10(%rax), %edx
cmpq $0x21, %rdx
jae 0xbef15
movq (%rax), %rdi
imulq %rdx, %r14
movq %r14, %rsi
callq 0xdda90
shlb $0x6, %al
jmp 0xbeee8
movq 0x2a0(%rbx), %rax
testq %rax, %rax
je 0xbef1a
cmpq %r14, 0x8(%rax)
jbe 0xbef1a
movl 0x10(%rax), %edx
cmpq $0x21, %rdx
jae 0xbef1a
movq %rbx, %r15
movq (%rax), %rdi
movq %rdx, %rsi
imulq %r14, %rsi
callq 0xdda90
movl %eax, %ebx
movq 0x2a0(%r15), %rax
testq %rax, %rax
je 0xbef24
incq %r14
cmpq %r14, 0x8(%rax)
jbe 0xbef24
movl 0x10(%rax), %edx
cmpq $0x21, %rdx
jae 0xbef24
shll $0x6, %ebx
movq (%rax), %rdi
imulq %rdx, %r14
movq %r14, %rsi
callq 0xdda90
shll $0x4, %eax
jmp 0xbeee6
movq 0x2a0(%rbx), %rax
testq %rax, %rax
je 0xbef1f
cmpq %r14, 0x8(%rax)
jbe 0xbef1f
movl 0x10(%rax), %edx
cmpq $0x21, %rdx
jae 0xbef1f
movq (%rax), %rdi
movq %rdx, %rsi
imulq %r14, %rsi
callq 0xdda90
movl %eax, %ebp
movq 0x2a0(%rbx), %rax
testq %rax, %rax
je 0xbef29
leaq 0x1(%r14), %rsi
cmpq %rsi, 0x8(%rax)
jbe 0xbef29
movl 0x10(%rax), %edx
cmpq $0x21, %rdx
jae 0xbef29
movq %rbx, %r15
movq (%rax), %rdi
imulq %rdx, %rsi
callq 0xdda90
movl %eax, %ebx
movq 0x2a0(%r15), %rax
testq %rax, %rax
je 0xbef2e
addq $0x2, %r14
cmpq %r14, 0x8(%rax)
jbe 0xbef2e
movl 0x10(%rax), %edx
cmpq $0x21, %rdx
jae 0xbef2e
shll $0x6, %ebp
shll $0x4, %ebx
orl %ebp, %ebx
movq (%rax), %rdi
imulq %rdx, %r14
movq %r14, %rsi
callq 0xdda90
shll $0x2, %eax
orl %ebx, %eax
movb %al, (%r13,%r12)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x29faf
callq 0x29f78
callq 0x29f41
callq 0x29f0a
callq 0x29fe6
callq 0x29ed3
callq 0x29e9c
callq 0x29e2e
callq 0x29e65
callq 0x29df7
callq 0x29dc0