// File: /workspace/github_cpp_makefile_star2_O2/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 $0x28, %rsp
movl %edx, %r14d
movl %esi, %ebp
movq %rdi, 0x18(%rsp)
callq 0xd5d2
testb %al, %al
je 0x4fd4
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
cmpl %ebp, %r14d
jbe 0x4ff3
movl %ebp, %r12d
movl %r14d, %eax
movq %rax, 0x20(%rsp)
xorl %ecx, %ecx
leaq 0x233ab(%rip), %rbx     # 0x28154
movq 0x2f208(%rip), %r14     # 0x33fb8
xorl %edx, %edx
xorl %r15d, %r15d
xorl %r13d, %r13d
cmpq 0x20(%rsp), %r12
jae 0x4f42
movq 0x18(%rsp), %rax
movq 0xc8(%rax), %rax
xorl %ebp, %ebp
movzbl (%rax,%r12), %r15d
cmpl $0x4, %ebp
je 0x4dfa
movl %r15d, %edi
movl %ebp, %esi
callq 0x5095
movl %eax, %eax
incl (%rsp,%rax,4)
movsbl (%rax,%rbx), %esi
movq %r14, %rdi
callq 0x4380
incl %ebp
jmp 0x4dd6
movl (%rsp), %r13d
movl 0x4(%rsp), %r15d
movl 0x8(%rsp), %edx
movl 0xc(%rsp), %ecx
leal (%rdx,%rcx), %ebp
addl %r15d, %ebp
addl %r13d, %ebp
incq %r12
andl $0x3, %ebp
je 0x4db8
movq 0x2f195(%rip), %rbx     # 0x33fb8
leaq 0x2332f(%rip), %rsi     # 0x28159
movq %rbx, %rdi
callq 0x42d0
movq %rax, %rdi
xorl %esi, %esi
callq 0x45d0
leaq 0x2332c(%rip), %r14     # 0x2816f
movq %rax, %rdi
movq %r14, %rsi
callq 0x42d0
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 0x45d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x232eb(%rip), %rsi     # 0x28174
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
movl %ebp, %esi
callq 0x4400
movq %rax, %rdi
movq %r14, %rsi
callq 0x42d0
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 0x4400
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x25537(%rip), %rsi     # 0x2a418
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
callq 0x4130
leaq 0x23205(%rip), %r14     # 0x280fd
movq %rbx, %rdi
movq %r14, %rsi
callq 0x42d0
leaq 0x24831(%rip), %rsi     # 0x2973b
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
movl $0x60e, %esi            # imm = 0x60E
callq 0x45d0
movq %rax, %rdi
callq 0x4130
leaq 0x246ed(%rip), %rdi     # 0x2961b
leaq 0x231d1(%rip), %rcx     # 0x28106
movq %r14, %rsi
movl $0x60e, %edx            # imm = 0x60E
callq 0x4190
movq 0x2f06f(%rip), %rdi     # 0x33fb8
leaq 0x2322c(%rip), %rsi     # 0x2817c
movq %rcx, %r14
movq %rdx, %r12
callq 0x42d0
movl %r13d, %esi
movq %rax, %rdi
callq 0x41a0
leaq 0x2393f(%rip), %rbx     # 0x288ac
movq %rax, %rdi
movq %rbx, %rsi
callq 0x42d0
movl %r15d, %esi
movq %rax, %rdi
callq 0x41a0
movq %rax, %rdi
movq %rbx, %rsi
callq 0x42d0
movl %r12d, %esi
movq %rax, %rdi
callq 0x41a0
movq %rax, %rdi
movq %rbx, %rsi
callq 0x42d0
movl %r14d, %esi
movq %rax, %rdi
callq 0x41a0
leaq 0x231c9(%rip), %rsi     # 0x2817f
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4130
leaq 0x23115(%rip), %rdi     # 0x280f0
leaq 0x2311b(%rip), %rsi     # 0x280fd
leaq 0x2311d(%rip), %rcx     # 0x28106
movl $0x603, %edx            # imm = 0x603
callq 0x4190
movq 0x2efbe(%rip), %rbx     # 0x33fb8
leaq 0x23137(%rip), %rsi     # 0x28138
movq %rbx, %rdi
callq 0x42d0
movq %rax, %rdi
movl %r14d, %esi
callq 0x4400
leaq 0x23133(%rip), %rsi     # 0x2814e
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
movl %ebp, %esi
callq 0x4400
leaq 0x253e4(%rip), %rsi     # 0x2a418
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
callq 0x4130
leaq 0x230b2(%rip), %r14     # 0x280fd
movq %rbx, %rdi
movq %r14, %rsi
callq 0x42d0
leaq 0x246de(%rip), %rsi     # 0x2973b
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
movl $0x605, %esi            # imm = 0x605
callq 0x45d0
movq %rax, %rdi
callq 0x4130
leaq 0x2459a(%rip), %rdi     # 0x2961b
leaq 0x2307e(%rip), %rcx     # 0x28106
movq %r14, %rsi
movl $0x605, %edx            # imm = 0x605
callq 0x4190