	.file	"extr_ahci.c_ahci_detached.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ahci_detached
	.type	ahci_detached, @function
ahci_detached:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	lea	r12, 8[rbx]
	call	device_get_softc@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	mtx_lock@PLT
	mov	rdi, r12
	call	mtx_lock@PLT
	mov	rdx, QWORD PTR [rbx]
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, r12
	mov	QWORD PTR [rax+rdx*8], 0
	call	mtx_unlock@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	mtx_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	ahci_detached, .-ahci_detached
	.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_ahci.c_ahci_detached.c"
	.text
	.align	2
	.global	ahci_detached
	.syntax unified
	.arm
	.fpu softvfp
	.type	ahci_detached, %function
ahci_detached:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	bl	device_get_softc
	add	r6, r5, #4
	mov	r4, r0
	bl	mtx_lock
	mov	r0, r6
	bl	mtx_lock
	mov	r1, #0
	ldr	r2, [r5]
	ldr	r3, [r4, #4]
	mov	r0, r6
	str	r1, [r3, r2, lsl #2]
	bl	mtx_unlock
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	mtx_unlock
	.size	ahci_detached, .-ahci_detached
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
