	.file	"extr_fsl_sata.c_fsl_sata_done.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fsl_sata_done, @function
fsl_sata_done:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	add	rdi, 12
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR MA_OWNED[rip]
	call	mtx_assert@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR XPT_FC_QUEUED[rip], eax
	je	.L2
	cmp	QWORD PTR [rbx], 0
	jne	.L3
.L2:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	xpt_done@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edx, DWORD PTR sim_links[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	lea	rdi, 8[rbx]
	mov	rsi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	STAILQ_INSERT_TAIL@PLT
	.cfi_endproc
.LFE0:
	.size	fsl_sata_done, .-fsl_sata_done
	.comm	sim_links,4,4
	.comm	XPT_FC_QUEUED,4,4
	.comm	MA_OWNED,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_fsl_sata.c_fsl_sata_done.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fsl_sata_done, %function
fsl_sata_done:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	ldr	r3, .L9
	mov	r4, r0
	ldr	r1, [r3]
	add	r0, r0, #8
	bl	mtx_assert
	ldr	r3, .L9+4
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L2
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L3
.L2:
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	xpt_done
.L3:
	ldr	r3, .L9+8
	mov	r1, r5
	add	r0, r4, #4
	ldr	r2, [r3]
	pop	{r4, r5, r6, lr}
	b	STAILQ_INSERT_TAIL
.L10:
	.align	2
.L9:
	.word	MA_OWNED
	.word	XPT_FC_QUEUED
	.word	sim_links
	.size	fsl_sata_done, .-fsl_sata_done
	.comm	sim_links,4,4
	.comm	XPT_FC_QUEUED,4,4
	.comm	MA_OWNED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
