	.file	"extr_swim3.c_release_drive.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"-> release drive\n"
.LC1:
	.string	"%s"
	.text
	.p2align 4
	.type	release_drive, @function
release_drive:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rax, QWORD PTR disks[rip]
	xor	r12d, r12d
	lea	rsi, .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	rdx, QWORD PTR [rdi]
	mov	rbx, rdi
	lea	rdi, .LC1[rip]
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rbp, QWORD PTR [rax]
	call	swim3_dbg@PLT
	mov	rsi, r12
	lea	rdi, swim3_lock[rip]
	call	spin_lock_irqsave@PLT
	mov	eax, DWORD PTR idle[rip]
	mov	rsi, r12
	lea	rdi, swim3_lock[rip]
	mov	DWORD PTR 8[rbx], eax
	call	spin_unlock_irqrestore@PLT
	mov	rdi, rbp
	call	blk_mq_freeze_queue@PLT
	mov	rdi, rbp
	call	blk_mq_quiesce_queue@PLT
	mov	rdi, rbp
	call	blk_mq_unquiesce_queue@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	blk_mq_unfreeze_queue@PLT
	.cfi_endproc
.LFE0:
	.size	release_drive, .-release_drive
	.comm	swim3_lock,4,4
	.comm	idle,4,4
	.comm	disks,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_swim3.c_release_drive.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"-> release drive\012\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	release_drive, %function
release_drive:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, #0
	mov	r5, r0
	ldr	r3, .L4
	ldr	r2, [r0]
	ldr	r3, [r3]
	ldr	r6, .L4+4
	ldr	r3, [r3, r2, lsl #2]
	ldr	r1, .L4+8
	ldr	r0, .L4+12
	ldr	r4, [r3]
	bl	swim3_dbg
	mov	r1, r7
	mov	r0, r6
	bl	spin_lock_irqsave
	ldr	r3, .L4+16
	mov	r1, r7
	ldr	r3, [r3]
	mov	r0, r6
	str	r3, [r5, #4]
	bl	spin_unlock_irqrestore
	mov	r0, r4
	bl	blk_mq_freeze_queue
	mov	r0, r4
	bl	blk_mq_quiesce_queue
	mov	r0, r4
	bl	blk_mq_unquiesce_queue
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	blk_mq_unfreeze_queue
.L5:
	.align	2
.L4:
	.word	disks
	.word	swim3_lock
	.word	.LC0
	.word	.LC1
	.word	idle
	.size	release_drive, .-release_drive
	.comm	swim3_lock,4,4
	.comm	idle,4,4
	.comm	disks,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
