	.file	"extr_vfs_subr.c_bnoreuselist.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"brlsfl"
	.text
	.p2align 4
	.globl	bnoreuselist
	.type	bnoreuselist, @function
bnoreuselist:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	r15, .LC0[rip]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	mov	rdi, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 8[rsp], rdx
	mov	QWORD PTR [rsp], rcx
	call	ASSERT_BO_LOCKED@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rsi, rbp
	mov	rdi, r13
	call	BUF_PCTRIE_LOOKUP_GE@PLT
	mov	r12, rax
	test	rax, rax
	je	.L9
	mov	rax, QWORD PTR [rax]
	cmp	rax, QWORD PTR [rsp]
	jge	.L9
	cmp	rax, QWORD PTR 8[rsp]
	jl	.L9
	mov	rdi, rbx
	call	BO_LOCKPTR@PLT
	xor	r9d, r9d
	xor	r8d, r8d
	mov	rcx, r15
	mov	esi, DWORD PTR LK_EXCLUSIVE[rip]
	mov	edx, eax
	mov	rdi, r12
	or	esi, DWORD PTR LK_SLEEPFAIL[rip]
	or	esi, DWORD PTR LK_INTERLOCK[rip]
	call	BUF_TIMELOCK@PLT
	mov	r14d, eax
	test	eax, eax
	je	.L4
	mov	rdi, rbx
	call	BO_RLOCK@PLT
	cmp	DWORD PTR ENOLCK[rip], r14d
	je	.L2
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	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
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	xor	edi, edi
	cmp	QWORD PTR 16[r12], rbx
	mov	rsi, rbx
	sete	dil
	call	KASSERT@PLT
	mov	rax, QWORD PTR [r12]
	lea	rbp, 1[rax]
	mov	eax, DWORD PTR 8[r12]
	test	DWORD PTR B_MANAGED[rip], eax
	je	.L15
.L6:
	or	eax, DWORD PTR B_RELBUF[rip]
	mov	DWORD PTR 8[r12], eax
	test	DWORD PTR B_VMIO[rip], eax
	je	.L7
	or	eax, DWORD PTR B_NOREUSE[rip]
	mov	DWORD PTR 8[r12], eax
.L7:
	mov	rdi, r12
	call	brelse@PLT
	mov	rdi, rbx
	call	BO_RLOCK@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, r12
	call	bremfree@PLT
	mov	eax, DWORD PTR 8[r12]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	xor	r14d, r14d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	bnoreuselist, .-bnoreuselist
	.comm	LK_SLEEPFAIL,4,4
	.comm	LK_INTERLOCK,4,4
	.comm	LK_EXCLUSIVE,4,4
	.comm	ENOLCK,4,4
	.comm	B_VMIO,4,4
	.comm	B_RELBUF,4,4
	.comm	B_NOREUSE,4,4
	.comm	B_MANAGED,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_vfs_subr.c_bnoreuselist.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"brlsfl\000"
	.text
	.align	2
	.global	bnoreuselist
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnoreuselist, %function
bnoreuselist:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r0
	sub	sp, sp, #28
	mov	r0, r1
	mov	r5, r1
	mov	r6, r2
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	bl	ASSERT_BO_LOCKED
	ldr	fp, .L16
	ldr	r10, .L16+4
	ldr	r9, .L16+8
.L2:
	mov	r1, r6
	mov	r0, r7
	bl	BUF_PCTRIE_LOOKUP_GE
	subs	r4, r0, #0
	beq	.L9
	ldr	r3, [r4]
	ldr	r2, [sp, #16]
	cmp	r3, r2
	movge	r8, #0
	movlt	r8, #1
	ldr	r2, [sp, #20]
	cmp	r3, r2
	orrge	r8, r8, #1
	cmp	r8, #0
	bne	.L9
	ldr	r2, [r10]
	ldr	r1, [fp]
	ldr	r3, [r9]
	orr	r1, r1, r2
	orr	r1, r1, r3
	mov	r0, r5
	str	r1, [sp, #12]
	bl	BO_LOCKPTR
	str	r8, [sp, #4]
	mov	r2, r0
	str	r8, [sp]
	mov	r0, r4
	ldr	r1, [sp, #12]
	ldr	r3, .L16+12
	bl	BUF_TIMELOCK
	subs	r8, r0, #0
	beq	.L4
	mov	r0, r5
	bl	BO_RLOCK
	ldr	r3, .L16+16
	ldr	r3, [r3]
	cmp	r3, r8
	beq	.L2
	mov	r3, r8
	mov	r0, r3
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	ldr	r0, [r4, #8]
	mov	r1, r5
	sub	r0, r0, r5
	clz	r0, r0
	lsr	r0, r0, #5
	bl	KASSERT
	ldr	r2, .L16+20
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	ldr	r6, [r4]
	tst	r3, r2
	add	r6, r6, #1
	beq	.L15
.L6:
	ldr	r1, .L16+24
	ldr	r2, .L16+28
	ldr	r1, [r1]
	ldr	r2, [r2]
	orr	r3, r3, r1
	tst	r3, r2
	ldrne	r2, .L16+32
	str	r3, [r4, #4]
	ldrne	r2, [r2]
	mov	r0, r4
	orrne	r3, r2, r3
	strne	r3, [r4, #4]
	bl	brelse
	mov	r0, r5
	bl	BO_RLOCK
	b	.L2
.L15:
	mov	r0, r4
	bl	bremfree
	ldr	r3, [r4, #4]
	b	.L6
.L9:
	mov	r3, #0
	mov	r0, r3
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	.align	2
.L16:
	.word	LK_EXCLUSIVE
	.word	LK_SLEEPFAIL
	.word	LK_INTERLOCK
	.word	.LC0
	.word	ENOLCK
	.word	B_MANAGED
	.word	B_RELBUF
	.word	B_VMIO
	.word	B_NOREUSE
	.size	bnoreuselist, .-bnoreuselist
	.comm	LK_SLEEPFAIL,4,4
	.comm	LK_INTERLOCK,4,4
	.comm	LK_EXCLUSIVE,4,4
	.comm	ENOLCK,4,4
	.comm	B_VMIO,4,4
	.comm	B_RELBUF,4,4
	.comm	B_NOREUSE,4,4
	.comm	B_MANAGED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
