// File: /workspace/github_cpp_makefile_star2_O3/BenLangmead[P]bowtie/./ebwt.h
// Function: Ebwt::printRangeFw(unsigned int, unsigned int) const
void Ebwt::printRangeFw(uint32_t begin, uint32_t end) const {
	assert(isInMemory());
	uint32_t occ[] = {0, 0, 0, 0};
	assert_gt(end, begin);
	for(uint32_t i = begin; i < end; i++) {
		uint8_t by = this->_ebwt[i];
		for(int j = 0; j < 4; j++) {
			// Unpack from lowest to highest bit pair
			int twoBit = unpack_2b_from_8b(by, j);
			occ[twoBit]++;
			cout << "ACGT"[twoBit];
		}
		assert_eq(0, (occ[0] + occ[1] + occ[2] + occ[3]) & 3);
	}
	cout << ":{" << occ[0] << "," << occ[1] << "," << occ[2] << "," << occ[3] << "}" << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %edx, %ebp
movl %esi, %ebx
movq %rdi, 0x40(%rsp)
callq 0xf948
testb %al, %al
je 0x5323
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
cmpl %ebx, %ebp
jbe 0x5342
movl %ebx, %r13d
movl %ebp, %eax
movq %rax, 0x30(%rsp)
leaq 0x27124(%rip), %r14     # 0x2c1c1
movq 0x31f14(%rip), %r15     # 0x36fb8
leaq 0xf(%rsp), %r12
movq 0x40(%rsp), %rax
movq 0xc8(%rax), %rax
xorl %ebx, %ebx
movzbl (%rax,%r13), %ebp
movl %ebp, %edi
movl %ebx, %esi
callq 0x53e3
movl %eax, %eax
incl 0x10(%rsp,%rax,4)
movb (%rax,%r14), %al
movb %al, 0xf(%rsp)
movl $0x1, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x43b0
incl %ebx
cmpl $0x4, %ebx
jne 0x50bc
movl 0x10(%rsp), %ebx
movl 0x14(%rsp), %eax
movq %rax, 0x20(%rsp)
addl %ebx, %eax
movl 0x18(%rsp), %edx
movl 0x1c(%rsp), %ecx
movq %rcx, 0x38(%rsp)
movq %rdx, 0x28(%rsp)
leal (%rcx,%rdx), %ebp
addl %eax, %ebp
andl $0x3, %ebp
jne 0x51fd
incq %r13
cmpq 0x30(%rsp), %r13
jne 0x50a9
movq 0x31e8e(%rip), %r15     # 0x36fb8
leaq 0x270b8(%rip), %rsi     # 0x2c1e9
movl $0x2, %edx
movq %r15, %rdi
callq 0x43b0
movq %r15, %rdi
movq %rbx, %rsi
callq 0x41d0
movq %rax, %r15
leaq 0x277c6(%rip), %r14     # 0x2c919
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x43b0
movq %r15, %rdi
movq 0x20(%rsp), %rsi
callq 0x41d0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x43b0
movq %rbx, %rdi
movq 0x28(%rsp), %rsi
callq 0x41d0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x43b0
movq %rbx, %rdi
movq 0x38(%rsp), %rsi
callq 0x41d0
movq %rax, %rbx
leaq 0x27032(%rip), %rsi     # 0x2c1ec
movl $0x1, %edx
movq %rax, %rdi
callq 0x43b0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4300
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x41e0
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x31db4(%rip), %rbx     # 0x36fb8
leaq 0x26fbb(%rip), %rsi     # 0x2c1c6
movq %rbx, %rdi
callq 0x4310
movq %rax, %rdi
xorl %esi, %esi
callq 0x4610
leaq 0x26fb8(%rip), %r14     # 0x2c1dc
movq %rax, %rdi
movq %r14, %rsi
callq 0x4310
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rax,%rcx)
movq %rax, %rdi
xorl %esi, %esi
callq 0x4610
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x26f77(%rip), %rsi     # 0x2c1e1
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl %ebp, %esi
callq 0x4440
movq %rax, %rdi
movq %r14, %rsi
callq 0x4310
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rax,%rcx)
movq %rax, %rdi
movl %ebp, %esi
callq 0x4440
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x290e3(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0x26e91(%rip), %r14     # 0x2c16a
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4310
leaq 0x284bd(%rip), %rsi     # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x60e, %esi            # imm = 0x60E
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0x28379(%rip), %rdi     # 0x2d688
leaq 0x26e5d(%rip), %rcx     # 0x2c173
movq %r14, %rsi
movl $0x60e, %edx            # imm = 0x60E
callq 0x41c0
leaq 0x26e33(%rip), %rdi     # 0x2c15d
leaq 0x26e39(%rip), %rsi     # 0x2c16a
leaq 0x26e3b(%rip), %rcx     # 0x2c173
movl $0x603, %edx            # imm = 0x603
callq 0x41c0
movq 0x31c6f(%rip), %r14     # 0x36fb8
leaq 0x26e55(%rip), %rsi     # 0x2c1a5
movq %r14, %rdi
callq 0x4310
movq %rax, %rdi
movl %ebp, %esi
callq 0x4440
leaq 0x26e52(%rip), %rsi     # 0x2c1bb
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl %ebx, %esi
callq 0x4440
leaq 0x29023(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0x26dd1(%rip), %rbx     # 0x2c16a
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4310
leaq 0x283fd(%rip), %rsi     # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x605, %esi            # imm = 0x605
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0x282b9(%rip), %rdi     # 0x2d688
leaq 0x26d9d(%rip), %rcx     # 0x2c173
movq %rbx, %rsi
movl $0x605, %edx            # imm = 0x605
callq 0x41c0