	.file	"extr_spa_misc.c_spa_spare_add.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	spa_spare_add
	.type	spa_spare_add, @function
spa_spare_add:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	lea	rdi, spa_spare_lock[rip]
	call	mutex_enter@PLT
	xor	edi, edi
	cmp	QWORD PTR [rbx], 0
	sete	dil
	call	ASSERT@PLT
	mov	rdi, rbx
	lea	rsi, spa_spare_avl[rip]
	call	spa_aux_add@PLT
	mov	rax, QWORD PTR B_TRUE[rip]
	lea	rdi, spa_spare_lock[rip]
	mov	QWORD PTR [rbx], rax
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	mutex_exit@PLT
	.cfi_endproc
.LFE0:
	.size	spa_spare_add, .-spa_spare_add
	.comm	spa_spare_lock,4,4
	.comm	spa_spare_avl,4,4
	.comm	B_TRUE,8,8
	.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_spare_add.c"
	.text
	.align	2
	.global	spa_spare_add
	.syntax unified
	.arm
	.fpu softvfp
	.type	spa_spare_add, %function
spa_spare_add:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r5, .L4
	mov	r0, r5
	bl	mutex_enter
	ldr	r0, [r4]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ASSERT
	mov	r0, r4
	ldr	r1, .L4+4
	bl	spa_aux_add
	ldr	r3, .L4+8
	mov	r0, r5
	ldr	r3, [r3]
	str	r3, [r4]
	pop	{r4, r5, r6, lr}
	b	mutex_exit
.L5:
	.align	2
.L4:
	.word	spa_spare_lock
	.word	spa_spare_avl
	.word	B_TRUE
	.size	spa_spare_add, .-spa_spare_add
	.comm	spa_spare_lock,4,4
	.comm	spa_spare_avl,4,4
	.comm	B_TRUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
