	.file	"extr_spa_misc.c_spa_config_lock_destroy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	spa_config_lock_destroy, @function
spa_config_lock_destroy:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR SCL_LOCKS[rip]
	test	eax, eax
	jle	.L6
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rbx, rbp
	sal	rbx, 5
	add	rbx, QWORD PTR [r12]
	lea	rdi, 24[rbx]
	call	mutex_destroy@PLT
	lea	rdi, 20[rbx]
	call	cv_destroy@PLT
	lea	rdi, 16[rbx]
	call	zfs_refcount_destroy@PLT
	xor	edi, edi
	cmp	QWORD PTR 8[rbx], 0
	sete	dil
	call	ASSERT@PLT
	xor	edi, edi
	cmp	QWORD PTR [rbx], 0
	sete	dil
	add	rbp, 1
	call	ASSERT@PLT
	cmp	DWORD PTR SCL_LOCKS[rip], ebp
	jg	.L3
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	ret
	.cfi_endproc
.LFE0:
	.size	spa_config_lock_destroy, .-spa_config_lock_destroy
	.comm	SCL_LOCKS,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_spa_misc.c_spa_config_lock_destroy.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	spa_config_lock_destroy, %function
spa_config_lock_destroy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r9, .L7
	ldr	r3, [r9]
	cmp	r3, #0
	pople	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r5, #0
	mov	r8, r0
	mov	r6, r5
.L3:
	ldr	r7, [r8]
	add	r6, r6, #1
	add	r4, r7, r5
	add	r0, r4, #16
	bl	mutex_destroy
	add	r0, r4, #12
	bl	cv_destroy
	add	r0, r4, #8
	bl	zfs_refcount_destroy
	ldr	r0, [r4, #4]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ASSERT
	ldr	r0, [r7, r5]
	add	r5, r5, #20
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ASSERT
	ldr	r3, [r9]
	cmp	r3, r6
	bgt	.L3
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	.align	2
.L7:
	.word	SCL_LOCKS
	.size	spa_config_lock_destroy, .-spa_config_lock_destroy
	.comm	SCL_LOCKS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
