	.file	"extr_runlist.c_ntfs_rl_vcn_to_lcn.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ntfs_rl_vcn_to_lcn
	.type	ntfs_rl_vcn_to_lcn, @function
ntfs_rl_vcn_to_lcn:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	rdi, rsi
	shr	rdi, 63
	call	BUG_ON@PLT
	xor	edi, edi
	test	rbx, rbx
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR LCN_RL_NOT_MAPPED[rip]
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	edi, edi
	cmp	QWORD PTR [rbx], rbp
	setg	dil
	call	unlikely@PLT
	mov	r8, rax
	mov	rax, QWORD PTR LCN_ENOENT[rip]
	test	r8, r8
	je	.L5
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	xor	edi, edi
	cmp	QWORD PTR 24[rbx], rbp
	setg	dil
	add	rbx, 24
	call	unlikely@PLT
	test	rax, rax
	jne	.L14
.L5:
	mov	edi, DWORD PTR 8[rbx]
	mov	r12, rbx
	call	likely@PLT
	test	rax, rax
	jne	.L7
	mov	rdi, QWORD PTR 16[rbx]
	shr	rdi, 63
	call	likely@PLT
	mov	r8, rax
	mov	rax, QWORD PTR LCN_ENOENT[rip]
	test	r8, r8
	je	.L1
	mov	rax, QWORD PTR 16[rbx]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, QWORD PTR 16[r12]
	not	rdi
	shr	rdi, 63
	call	likely@PLT
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR 16[r12]
	sub	rbp, QWORD PTR [r12]
	add	rax, rbp
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 16[r12]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ntfs_rl_vcn_to_lcn, .-ntfs_rl_vcn_to_lcn
	.comm	LCN_RL_NOT_MAPPED,8,8
	.comm	LCN_ENOENT,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_runlist.c_ntfs_rl_vcn_to_lcn.c"
	.text
	.align	2
	.global	ntfs_rl_vcn_to_lcn
	.syntax unified
	.arm
	.fpu softvfp
	.type	ntfs_rl_vcn_to_lcn, %function
ntfs_rl_vcn_to_lcn:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	lsr	r0, r1, #31
	mov	r5, r1
	bl	BUG_ON
	clz	r0, r4
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L14
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r0, [r4]
	cmp	r0, r5
	movle	r0, #0
	movgt	r0, #1
	bl	unlikely
	cmp	r0, #0
	beq	.L5
	b	.L8
.L7:
	ldr	r0, [r4, #12]!
	cmp	r0, r5
	movle	r0, #0
	movgt	r0, #1
	bl	unlikely
	cmp	r0, #0
	bne	.L13
.L5:
	ldr	r0, [r4, #4]
	bl	likely
	cmp	r0, #0
	mov	r6, r4
	bne	.L7
	ldr	r0, [r4, #8]
	lsr	r0, r0, #31
	bl	likely
	cmp	r0, #0
	beq	.L8
	ldr	r0, [r4, #8]
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, .L14+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L13:
	ldr	r0, [r6, #8]
	mvn	r0, r0
	lsr	r0, r0, #31
	bl	likely
	cmp	r0, #0
	ldrne	r3, [r6]
	ldrne	r0, [r6, #8]
	subne	r5, r5, r3
	addne	r0, r5, r0
	ldreq	r0, [r6, #8]
	pop	{r4, r5, r6, pc}
.L15:
	.align	2
.L14:
	.word	LCN_RL_NOT_MAPPED
	.word	LCN_ENOENT
	.size	ntfs_rl_vcn_to_lcn, .-ntfs_rl_vcn_to_lcn
	.comm	LCN_RL_NOT_MAPPED,4,4
	.comm	LCN_ENOENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
