	.file	"extr_pblk-core.c_pblk_lookup_l2p_rand.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"pblk: corrupted L2P map request\n"
	.text
	.p2align 4
	.globl	pblk_lookup_l2p_rand
	.type	pblk_lookup_l2p_rand, @function
pblk_lookup_l2p_rand:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	lea	r12, 8[rdi]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rdi, r12
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	spin_lock@PLT
	test	r13d, r13d
	jle	.L2
	lea	eax, -1[r13]
	lea	r14, .LC0[rip]
	lea	r13, 8[rbx+rax*8]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, r15
	call	pblk_trans_map_get@PLT
	mov	DWORD PTR 0[rbp], eax
.L3:
	add	rbx, 8
	add	rbp, 4
	cmp	rbx, r13
	je	.L2
.L5:
	mov	rsi, QWORD PTR [rbx]
	cmp	QWORD PTR ADDR_EMPTY[rip], rsi
	je	.L3
	cmp	QWORD PTR [r15], rsi
	jg	.L4
	mov	rsi, r14
	mov	edi, 1
	add	rbx, 8
	add	rbp, 4
	call	WARN@PLT
	cmp	rbx, r13
	jne	.L5
.L2:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rdi, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	spin_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	pblk_lookup_l2p_rand, .-pblk_lookup_l2p_rand
	.comm	ADDR_EMPTY,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_pblk-core.c_pblk_lookup_l2p_rand.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"pblk: corrupted L2P map request\012\000"
	.text
	.align	2
	.global	pblk_lookup_l2p_rand
	.syntax unified
	.arm
	.fpu softvfp
	.type	pblk_lookup_l2p_rand, %function
pblk_lookup_l2p_rand:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r3
	add	r8, r0, #4
	mov	r7, r0
	mov	r0, r8
	mov	r5, r1
	mov	r4, r2
	bl	spin_lock
	cmp	r6, #0
	ble	.L2
	sub	r4, r4, #4
	ldr	r10, .L9
	ldr	r9, .L9+4
	add	r6, r4, r6, lsl #2
	b	.L5
.L4:
	mov	r0, r7
	bl	pblk_trans_map_get
	str	r0, [r5]
.L3:
	cmp	r4, r6
	add	r5, r5, #4
	beq	.L2
.L5:
	ldr	r1, [r4, #4]!
	ldr	r3, [r10]
	cmp	r3, r1
	beq	.L3
	ldr	r3, [r7]
	cmp	r3, r1
	bgt	.L4
	mov	r1, r9
	mov	r0, #1
	bl	WARN
	cmp	r4, r6
	add	r5, r5, #4
	bne	.L5
.L2:
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	spin_unlock
.L10:
	.align	2
.L9:
	.word	ADDR_EMPTY
	.word	.LC0
	.size	pblk_lookup_l2p_rand, .-pblk_lookup_l2p_rand
	.comm	ADDR_EMPTY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
