// File: /workspace/github_cpp_makefile_star2_O3/BenLangmead[P]bowtie/./ebwt.h
// Function: Ebwt::mapLF(SideLocus const&, int, bool) const
inline TIndexOffU Ebwt::mapLF(const SideLocus& l, int c
                                  ASSERT_ONLY(, bool overrideSanity)
                                  ) const
{
#ifdef EBWT_STATS
	const_cast<Ebwt*>(this)->mapLFcs_++;
#endif
	TIndexOffU ret;
	assert_lt(c, 4);
	assert_geq(c, 0);
	if(l._fw) {
		// Forward side
		ret = !_eh._isBt2Index ? countFwSide(l, c)
		                       : countBt2Side(l, c);
	}
	else {
		ret = countBwSide(l, c); // Backward side
	}
	assert_lt(ret, this->_eh._bwtLen);
#ifndef NDEBUG
	if(_sanity && !overrideSanity) {
		// Make sure results match up with results from mapLFEx;
		// be sure to override sanity-checking in the callee, or we'll
		// have infinite recursion
		TIndexOffU arrs[] = { 0, 0, 0, 0 };
		mapLFEx(l, arrs, true);
		assert_eq(arrs[c], ret);
	}
#endif
	return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %edx, %ebp
cmpl $0x4, %edx
jge 0x1db86
testl %ebp, %ebp
js 0x1dc2a
movl %ecx, %r12d
movq %rsi, %r15
movq %rdi, %r14
cmpb $0x1, 0x12(%rsi)
jne 0x1db15
cmpb $0x0, 0x1c1(%r14)
je 0x1db24
movq %r14, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x19046
jmp 0x1db31
movq %r14, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x198a0
jmp 0x1db31
movq %r14, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x184f4
movq %rax, %rbx
cmpq 0x110(%r14), %rax
jae 0x1dccb
movb 0xe(%r14), %al
xorb $0x1, %al
orb %r12b, %al
jne 0x1db76
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
movq %r14, %rdi
movq %r15, %rsi
movl $0x1, %ecx
callq 0x1a420
movl %ebp, %r12d
cmpq %rbx, (%rsp,%r12,8)
jne 0x1dd72
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x1942b(%rip), %rbx     # 0x36fb8
leaq 0xe760(%rip), %rsi      # 0x2c2f4
movq %rbx, %rdi
callq 0x4310
movq %rax, %rdi
movl %ebp, %esi
callq 0x4610
leaq 0xe75d(%rip), %rsi      # 0x2c30a
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x4, %esi
callq 0x4610
leaq 0x107dc(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0xe58a(%rip), %r14      # 0x2c16a
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4310
leaq 0xfbb6(%rip), %rsi      # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x9a2, %esi            # imm = 0x9A2
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0xfa72(%rip), %rdi      # 0x2d688
leaq 0xf76c(%rip), %rcx      # 0x2d389
movq %r14, %rsi
movl $0x9a2, %edx            # imm = 0x9A2
callq 0x41c0
movq 0x19387(%rip), %rbx     # 0x36fb8
leaq 0xe67a(%rip), %rsi      # 0x2c2b2
movq %rbx, %rdi
callq 0x4310
movq %rax, %rdi
movl %ebp, %esi
callq 0x4610
leaq 0xe678(%rip), %rsi      # 0x2c2c9
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
xorl %esi, %esi
callq 0x4610
leaq 0x1073b(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0xe4e9(%rip), %r14      # 0x2c16a
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4310
leaq 0xfb15(%rip), %rsi      # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x9a3, %esi            # imm = 0x9A3
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0xf9d1(%rip), %rdi      # 0x2d688
leaq 0xf6cb(%rip), %rcx      # 0x2d389
movq %r14, %rsi
movl $0x9a3, %edx            # imm = 0x9A3
callq 0x41c0
movq 0x192e6(%rip), %r15     # 0x36fb8
leaq 0xe61b(%rip), %rsi      # 0x2c2f4
movq %r15, %rdi
callq 0x4310
movq %rax, %rdi
movq %rbx, %rsi
callq 0x40c0
leaq 0xe617(%rip), %rsi      # 0x2c30a
movq %rax, %rdi
callq 0x4310
movq 0x110(%r14), %rsi
movq %rax, %rdi
callq 0x40c0
leaq 0x10694(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0xe442(%rip), %rbx      # 0x2c16a
movq %r15, %rdi
movq %rbx, %rsi
callq 0x4310
leaq 0xfa6e(%rip), %rsi      # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x9ac, %esi            # imm = 0x9AC
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0xf92a(%rip), %rdi      # 0x2d688
leaq 0xf624(%rip), %rcx      # 0x2d389
movq %rbx, %rsi
movl $0x9ac, %edx            # imm = 0x9AC
callq 0x41c0
movq 0x1923f(%rip), %r14     # 0x36fb8
leaq 0xe446(%rip), %rsi      # 0x2c1c6
movq %r14, %rdi
callq 0x4310
movq (%rsp,%r12,8), %rsi
movq %rax, %rdi
callq 0x40c0
leaq 0xe441(%rip), %r15      # 0x2c1dc
movq %rax, %rdi
movq %r15, %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 (%rsp,%r12,8), %rsi
movq %rax, %rdi
callq 0x40c0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0xe3fe(%rip), %rsi      # 0x2c1e1
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movq %rbx, %rsi
callq 0x40c0
movq %rax, %rdi
movq %r15, %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
movq %rbx, %rsi
callq 0x40c0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x10568(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0xe316(%rip), %rbx      # 0x2c16a
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4310
leaq 0xf942(%rip), %rsi      # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x9b4, %esi            # imm = 0x9B4
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0xf7fe(%rip), %rdi      # 0x2d688
leaq 0xf4f8(%rip), %rcx      # 0x2d389
movq %rbx, %rsi
movl $0x9b4, %edx            # imm = 0x9B4
callq 0x41c0