	.file	"extr_aacraid.c_aacraid_release_command.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
	.text
	.p2align 4
	.globl	aacraid_release_command
	.type	aacraid_release_command, @function
aacraid_release_command:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rsi, QWORD PTR HBA_FLAGS_DBG_FUNCTION_ENTRY_B[rip]
	mov	r12, rdi
	lea	rdx, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbp, QWORD PTR 16[rdi]
	mov	rdi, rbp
	call	fwprintf@PLT
	mov	esi, DWORD PTR MA_OWNED[rip]
	lea	rdi, 8[rbp]
	call	mtx_assert@PLT
	mov	rax, QWORD PTR [r12]
	mov	edx, DWORD PTR AAC_FIBSTATE_EMPTY[rip]
	mov	rdi, r12
	mov	QWORD PTR 56[r12], 0
	mov	QWORD PTR 48[r12], 0
	mov	QWORD PTR 40[r12], 0
	mov	QWORD PTR 32[r12], 0
	mov	QWORD PTR 24[r12], 0
	mov	DWORD PTR 36[rax], edx
	mov	edx, DWORD PTR AAC_FIBTYPE_TFIB[rip]
	mov	QWORD PTR 24[rax], 0
	mov	DWORD PTR 32[rax], edx
	mov	rdx, QWORD PTR 16[r12]
	mov	edx, DWORD PTR 4[rdx]
	mov	DWORD PTR 16[rax], edx
	mov	rdx, QWORD PTR 8[r12]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], rdx
	call	aac_enqueue_free@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edx, DWORD PTR ev_links[rip]
	mov	rsi, rbx
	mov	rdi, rbp
	call	TAILQ_REMOVE@PLT
	mov	edx, DWORD PTR [rbx]
	mov	rsi, rbx
	mov	rdi, rbp
	call	[QWORD PTR 8[rbx]]
.L2:
	mov	rdi, rbp
	call	TAILQ_FIRST@PLT
	mov	rbx, rax
	test	rax, rax
	jne	.L3
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	aacraid_release_command, .-aacraid_release_command
	.comm	ev_links,4,4
	.comm	MA_OWNED,4,4
	.comm	HBA_FLAGS_DBG_FUNCTION_ENTRY_B,8,8
	.comm	AAC_FIBTYPE_TFIB,4,4
	.comm	AAC_FIBSTATE_EMPTY,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_aacraid.c_aacraid_release_command.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.text
	.align	2
	.global	aacraid_release_command
	.syntax unified
	.arm
	.fpu softvfp
	.type	aacraid_release_command, %function
aacraid_release_command:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L7
	ldr	r5, [r0, #8]
	mov	r4, r0
	ldr	r1, [r3]
	ldr	r2, .L7+4
	mov	r0, r5
	bl	fwprintf
	ldr	r3, .L7+8
	add	r0, r5, #8
	ldr	r1, [r3]
	bl	mtx_assert
	mov	r3, #0
	ldr	r2, [r4, #8]
	ldr	r1, .L7+12
	ldr	ip, [r2, #4]
	ldr	r1, [r1]
	ldr	r2, [r4]
	ldr	r0, .L7+16
	str	r3, [r4, #28]
	str	r3, [r4, #24]
	str	r3, [r4, #20]
	str	r3, [r4, #16]
	str	r3, [r4, #12]
	ldr	r0, [r0]
	str	r1, [r2, #20]
	ldr	r1, [r4, #4]
	str	ip, [r2, #8]
	str	r0, [r2, #16]
	str	r3, [r2, #12]
	mov	r0, r4
	str	r1, [r2, #4]
	str	r3, [r2]
	bl	aac_enqueue_free
	ldr	r6, .L7+20
.L2:
	mov	r0, r5
	bl	TAILQ_FIRST
	subs	r4, r0, #0
	popeq	{r4, r5, r6, pc}
	mov	r1, r4
	ldr	r2, [r6]
	mov	r0, r5
	bl	TAILQ_REMOVE
	ldm	r4, {r2, r3}
	mov	r1, r4
	mov	r0, r5
	blx	r3
	b	.L2
.L8:
	.align	2
.L7:
	.word	HBA_FLAGS_DBG_FUNCTION_ENTRY_B
	.word	.LC0
	.word	MA_OWNED
	.word	AAC_FIBSTATE_EMPTY
	.word	AAC_FIBTYPE_TFIB
	.word	ev_links
	.size	aacraid_release_command, .-aacraid_release_command
	.comm	ev_links,4,4
	.comm	MA_OWNED,4,4
	.comm	HBA_FLAGS_DBG_FUNCTION_ENTRY_B,4,4
	.comm	AAC_FIBTYPE_TFIB,4,4
	.comm	AAC_FIBSTATE_EMPTY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
