	.file	"extr_vfs_bio.c_buf_reassign.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"buf_reassign: NULL"
	.text
	.p2align 4
	.type	buf_reassign, @function
buf_reassign:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	je	.L9
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR buf_mtxp[rip]
	call	lck_mtx_lock_spin@PLT
	mov	rax, QWORD PTR NOLIST[rip]
	cmp	QWORD PTR 8[rbp], rax
	jne	.L10
.L3:
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR B_DELWRI[rip]
	call	ISSET@PLT
	lea	rsi, 4[rbx]
	mov	rdi, rbp
	test	rax, rax
	cmove	rsi, rbx
	call	bufinsvn@PLT
	mov	edi, DWORD PTR buf_mtxp[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	lck_mtx_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	call	bufremvn@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	lea	rdi, .LC0[rip]
	jmp	printf@PLT
	.cfi_endproc
.LFE0:
	.size	buf_reassign, .-buf_reassign
	.comm	buf_mtxp,4,4
	.comm	NOLIST,8,8
	.comm	B_DELWRI,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_bio.c_buf_reassign.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"buf_reassign: NULL\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	buf_reassign, %function
buf_reassign:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r5, r1, #0
	beq	.L8
	mov	r4, r0
	ldr	r6, .L10
	ldr	r0, [r6]
	bl	lck_mtx_lock_spin
	ldr	r3, .L10+4
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L9
.L3:
	ldr	r3, .L10+8
	ldr	r0, [r4]
	ldr	r1, [r3]
	bl	ISSET
	cmp	r0, #0
	moveq	r1, r5
	mov	r0, r4
	addne	r1, r5, #4
	bl	bufinsvn
	ldr	r0, [r6]
	pop	{r4, r5, r6, lr}
	b	lck_mtx_unlock
.L9:
	mov	r0, r4
	bl	bufremvn
	b	.L3
.L8:
	ldr	r0, .L10+12
	pop	{r4, r5, r6, lr}
	b	printf
.L11:
	.align	2
.L10:
	.word	buf_mtxp
	.word	NOLIST
	.word	B_DELWRI
	.word	.LC0
	.size	buf_reassign, .-buf_reassign
	.comm	buf_mtxp,4,4
	.comm	NOLIST,4,4
	.comm	B_DELWRI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
