// File: /workspace/github_cpp_makefile_star2_O1/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 $0x38, %rsp
movl %edx, %r14d
movl %esi, %ebp
movq %rdi, 0x30(%rsp)
callq 0xfb60
testb %al, %al
je 0x52f2
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
cmpl %ebp, %r14d
jbe 0x5311
movl %ebp, %r13d
movl %r14d, %eax
movq %rax, 0x28(%rsp)
leaq 0x280ad(%rip), %rbx     # 0x2d131
movq 0x31f2d(%rip), %r14     # 0x36fb8
leaq 0xf(%rsp), %r15
movq 0x30(%rsp), %rax
movq 0xc8(%rax), %rax
xorl %ebp, %ebp
movzbl (%rax,%r13), %r12d
movl %r12d, %edi
movl %ebp, %esi
callq 0x53b3
movl %eax, %eax
incl 0x10(%rsp,%rax,4)
movb (%rax,%rbx), %al
movb %al, 0xf(%rsp)
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x43b0
incl %ebp
cmpl $0x4, %ebp
jne 0x50a3
movl 0x14(%rsp), %ebp
addl 0x10(%rsp), %ebp
addl 0x18(%rsp), %ebp
addl 0x1c(%rsp), %ebp
andl $0x3, %ebp
jne 0x51cc
incq %r13
cmpq 0x28(%rsp), %r13
jne 0x5090
movq 0x31ebd(%rip), %rbx     # 0x36fb8
leaq 0x28057(%rip), %rsi     # 0x2d159
movl $0x2, %edx
movq %rbx, %rdi
callq 0x43b0
movl 0x10(%rsp), %esi
movq %rbx, %rdi
callq 0x41d0
movq %rax, %r14
leaq 0x28764(%rip), %rbx     # 0x2d889
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x43b0
movl 0x14(%rsp), %esi
movq %r14, %rdi
callq 0x41d0
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x43b0
movl 0x18(%rsp), %esi
movq %r14, %rdi
callq 0x41d0
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x43b0
movl 0x1c(%rsp), %esi
movq %r14, %rdi
callq 0x41d0
movq %rax, %rbx
leaq 0x27fd3(%rip), %rsi     # 0x2d15c
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 $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x31de5(%rip), %rbx     # 0x36fb8
leaq 0x27f5c(%rip), %rsi     # 0x2d136
movq %rbx, %rdi
callq 0x4310
movq %rax, %rdi
xorl %esi, %esi
callq 0x4610
leaq 0x27f59(%rip), %r14     # 0x2d14c
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 0x27f18(%rip), %rsi     # 0x2d151
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 0x2a084(%rip), %rsi     # 0x2f315
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0x27e32(%rip), %r14     # 0x2d0da
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4310
leaq 0x2945e(%rip), %rsi     # 0x2e718
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x60e, %esi            # imm = 0x60E
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0x2931a(%rip), %rdi     # 0x2e5f8
leaq 0x27dfe(%rip), %rcx     # 0x2d0e3
movq %r14, %rsi
movl $0x60e, %edx            # imm = 0x60E
callq 0x41c0
leaq 0x27dd4(%rip), %rdi     # 0x2d0cd
leaq 0x27dda(%rip), %rsi     # 0x2d0da
leaq 0x27ddc(%rip), %rcx     # 0x2d0e3
movl $0x603, %edx            # imm = 0x603
callq 0x41c0
movq 0x31ca0(%rip), %rbx     # 0x36fb8
leaq 0x27df6(%rip), %rsi     # 0x2d115
movq %rbx, %rdi
callq 0x4310
movq %rax, %rdi
movl %r14d, %esi
callq 0x4440
leaq 0x27df2(%rip), %rsi     # 0x2d12b
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl %ebp, %esi
callq 0x4440
leaq 0x29fc3(%rip), %rsi     # 0x2f315
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0x27d71(%rip), %r14     # 0x2d0da
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4310
leaq 0x2939d(%rip), %rsi     # 0x2e718
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x605, %esi            # imm = 0x605
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0x29259(%rip), %rdi     # 0x2e5f8
leaq 0x27d3d(%rip), %rcx     # 0x2d0e3
movq %r14, %rsi
movl $0x605, %edx            # imm = 0x605
callq 0x41c0