// File: /workspace/github_cpp_makefile_star2_O2/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 0x1a06e
testl %ebp, %ebp
js 0x1a110
movl %ecx, %r12d
movq %rsi, %r15
movq %rdi, %r14
cmpb $0x1, 0x12(%rsi)
jne 0x19fff
cmpb $0x0, 0x1c1(%r14)
je 0x1a00e
movq %r14, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x1569e
jmp 0x1a01b
movq %r14, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x15daa
jmp 0x1a01b
movq %r14, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x14c98
movq %rax, %rbx
cmpq 0x110(%r14), %rax
jae 0x1a1b1
movb 0xe(%r14), %al
xorb $0x1, %al
orb %r12b, %al
jne 0x1a05e
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
pushq $0x1
popq %rcx
movq %r14, %rdi
movq %r15, %rsi
callq 0x167d8
movl %ebp, %r12d
cmpq %rbx, (%rsp,%r12,8)
jne 0x1a258
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x19f43(%rip), %rbx     # 0x33fb8
leaq 0xe20b(%rip), %rsi      # 0x28287
movq %rbx, %rdi
callq 0x42d0
movq %rax, %rdi
movl %ebp, %esi
callq 0x45d0
leaq 0xe208(%rip), %rsi      # 0x2829d
movq %rax, %rdi
callq 0x42d0
pushq $0x4
popq %rsi
movq %rax, %rdi
callq 0x45d0
leaq 0x10369(%rip), %rsi     # 0x2a418
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
callq 0x4130
leaq 0xe037(%rip), %r14      # 0x280fd
movq %rbx, %rdi
movq %r14, %rsi
callq 0x42d0
leaq 0xf663(%rip), %rsi      # 0x2973b
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
movl $0x9a2, %esi            # imm = 0x9A2
callq 0x45d0
movq %rax, %rdi
callq 0x4130
leaq 0xf51f(%rip), %rdi      # 0x2961b
leaq 0xf219(%rip), %rcx      # 0x2931c
movq %r14, %rsi
movl $0x9a2, %edx            # imm = 0x9A2
callq 0x4190
movq 0x19ea1(%rip), %rbx     # 0x33fb8
leaq 0xe127(%rip), %rsi      # 0x28245
movq %rbx, %rdi
callq 0x42d0
movq %rax, %rdi
movl %ebp, %esi
callq 0x45d0
leaq 0xe125(%rip), %rsi      # 0x2825c
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
xorl %esi, %esi
callq 0x45d0
leaq 0x102c8(%rip), %rsi     # 0x2a418
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
callq 0x4130
leaq 0xdf96(%rip), %r14      # 0x280fd
movq %rbx, %rdi
movq %r14, %rsi
callq 0x42d0
leaq 0xf5c2(%rip), %rsi      # 0x2973b
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
movl $0x9a3, %esi            # imm = 0x9A3
callq 0x45d0
movq %rax, %rdi
callq 0x4130
leaq 0xf47e(%rip), %rdi      # 0x2961b
leaq 0xf178(%rip), %rcx      # 0x2931c
movq %r14, %rsi
movl $0x9a3, %edx            # imm = 0x9A3
callq 0x4190
movq 0x19e00(%rip), %r15     # 0x33fb8
leaq 0xe0c8(%rip), %rsi      # 0x28287
movq %r15, %rdi
callq 0x42d0
movq %rax, %rdi
movq %rbx, %rsi
callq 0x40b0
leaq 0xe0c4(%rip), %rsi      # 0x2829d
movq %rax, %rdi
callq 0x42d0
movq 0x110(%r14), %rsi
movq %rax, %rdi
callq 0x40b0
leaq 0x10221(%rip), %rsi     # 0x2a418
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
callq 0x4130
leaq 0xdeef(%rip), %rbx      # 0x280fd
movq %r15, %rdi
movq %rbx, %rsi
callq 0x42d0
leaq 0xf51b(%rip), %rsi      # 0x2973b
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
movl $0x9ac, %esi            # imm = 0x9AC
callq 0x45d0
movq %rax, %rdi
callq 0x4130
leaq 0xf3d7(%rip), %rdi      # 0x2961b
leaq 0xf0d1(%rip), %rcx      # 0x2931c
movq %rbx, %rsi
movl $0x9ac, %edx            # imm = 0x9AC
callq 0x4190
movq 0x19d59(%rip), %r14     # 0x33fb8
leaq 0xdef3(%rip), %rsi      # 0x28159
movq %r14, %rdi
callq 0x42d0
movq (%rsp,%r12,8), %rsi
movq %rax, %rdi
callq 0x40b0
leaq 0xdeee(%rip), %r15      # 0x2816f
movq %rax, %rdi
movq %r15, %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 (%rsp,%r12,8), %rsi
movq %rax, %rdi
callq 0x40b0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0xdeab(%rip), %rsi      # 0x28174
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
movq %rbx, %rsi
callq 0x40b0
movq %rax, %rdi
movq %r15, %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
movq %rbx, %rsi
callq 0x40b0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x100f5(%rip), %rsi     # 0x2a418
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
callq 0x4130
leaq 0xddc3(%rip), %rbx      # 0x280fd
movq %r14, %rdi
movq %rbx, %rsi
callq 0x42d0
leaq 0xf3ef(%rip), %rsi      # 0x2973b
movq %rax, %rdi
callq 0x42d0
movq %rax, %rdi
movl $0x9b4, %esi            # imm = 0x9B4
callq 0x45d0
movq %rax, %rdi
callq 0x4130
leaq 0xf2ab(%rip), %rdi      # 0x2961b
leaq 0xefa5(%rip), %rcx      # 0x2931c
movq %rbx, %rsi
movl $0x9b4, %edx            # imm = 0x9B4
callq 0x4190