	.file	"extr_pblk-rl.c_pblk_rl_user_may_insert.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pblk_rl_user_may_insert
	.type	pblk_rl_user_may_insert, @function
pblk_rl_user_may_insert:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	add	rdi, 8
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	atomic_read@PLT
	lea	rdi, 4[rbx]
	mov	r12d, eax
	call	atomic_read@PLT
	mov	edi, eax
	mov	ebp, eax
	not	edi
	shr	edi, 31
	call	unlikely@PLT
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR NVM_IO_ERR[rip]
	cmp	ebp, r13d
	js	.L1
.L2:
	mov	eax, DWORD PTR NVM_IO_OK[rip]
	cmp	DWORD PTR [rbx], r12d
	jg	.L1
	mov	eax, DWORD PTR NVM_IO_REQUEUE[rip]
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	pblk_rl_user_may_insert, .-pblk_rl_user_may_insert
	.comm	NVM_IO_REQUEUE,4,4
	.comm	NVM_IO_OK,4,4
	.comm	NVM_IO_ERR,4,4
	.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-rl.c_pblk_rl_user_may_insert.c"
	.text
	.align	2
	.global	pblk_rl_user_may_insert
	.syntax unified
	.arm
	.fpu softvfp
	.type	pblk_rl_user_may_insert, %function
pblk_rl_user_may_insert:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	add	r0, r0, #8
	mov	r7, r1
	bl	atomic_read
	mov	r6, r0
	add	r0, r4, #4
	bl	atomic_read
	mov	r5, r0
	mvn	r0, r0
	lsr	r0, r0, #31
	bl	unlikely
	cmp	r0, #0
	beq	.L2
	sub	r1, r5, r7
	cmp	r1, #0
	blt	.L10
.L2:
	ldr	r3, [r4]
	cmp	r3, r6
	ldrle	r3, .L11
	ldrgt	r3, .L11+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r3, .L11+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	NVM_IO_REQUEUE
	.word	NVM_IO_OK
	.word	NVM_IO_ERR
	.size	pblk_rl_user_may_insert, .-pblk_rl_user_may_insert
	.comm	NVM_IO_REQUEUE,4,4
	.comm	NVM_IO_OK,4,4
	.comm	NVM_IO_ERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
