	.file	"extr_vfs_cluster.c_cluster_unlock_direct_read.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	cluster_unlock_direct_read
	.type	cluster_unlock_direct_read, @function
cluster_unlock_direct_read:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r12, 4[rdi]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	rdi, r12
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	lck_rw_done@PLT
	lea	rdi, cl_direct_read_spin_lock[rip]
	call	lck_spin_lock@PLT
	mov	eax, DWORD PTR 0[rbp]
	cmp	eax, 1
	je	.L5
	sub	eax, 1
	lea	rdi, cl_direct_read_spin_lock[rip]
	mov	DWORD PTR 0[rbp], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	lck_spin_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	esi, DWORD PTR chain[rip]
	mov	rdi, rbp
	call	LIST_REMOVE@PLT
	lea	rdi, cl_direct_read_spin_lock[rip]
	call	lck_spin_unlock@PLT
	mov	esi, DWORD PTR cl_mtx_grp[rip]
	mov	rdi, r12
	call	lck_rw_destroy@PLT
	mov	esi, DWORD PTR M_TEMP[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	FREE@PLT
	.cfi_endproc
.LFE0:
	.size	cluster_unlock_direct_read, .-cluster_unlock_direct_read
	.comm	cl_mtx_grp,4,4
	.comm	cl_direct_read_spin_lock,4,4
	.comm	chain,4,4
	.comm	M_TEMP,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_cluster.c_cluster_unlock_direct_read.c"
	.text
	.align	2
	.global	cluster_unlock_direct_read
	.syntax unified
	.arm
	.fpu softvfp
	.type	cluster_unlock_direct_read, %function
cluster_unlock_direct_read:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	add	r5, r0, #4
	mov	r0, r5
	bl	lck_rw_done
	ldr	r0, .L6
	bl	lck_spin_lock
	ldr	r3, [r4]
	cmp	r3, #1
	beq	.L5
	sub	r3, r3, #1
	str	r3, [r4]
	ldr	r0, .L6
	pop	{r4, r5, r6, lr}
	b	lck_spin_unlock
.L5:
	ldr	r3, .L6+4
	mov	r0, r4
	ldr	r1, [r3]
	bl	LIST_REMOVE
	ldr	r0, .L6
	bl	lck_spin_unlock
	ldr	r3, .L6+8
	mov	r0, r5
	ldr	r1, [r3]
	bl	lck_rw_destroy
	ldr	r3, .L6+12
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	FREE
.L7:
	.align	2
.L6:
	.word	cl_direct_read_spin_lock
	.word	chain
	.word	cl_mtx_grp
	.word	M_TEMP
	.size	cluster_unlock_direct_read, .-cluster_unlock_direct_read
	.comm	cl_mtx_grp,4,4
	.comm	cl_direct_read_spin_lock,4,4
	.comm	chain,4,4
	.comm	M_TEMP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
