	.file	"extr_zfcp_aux.c_zfcp_adapter_dequeue.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	zfcp_adapter_dequeue
	.type	zfcp_adapter_dequeue, @function
zfcp_adapter_dequeue:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	rsi, zfcp_sysfs_adapter_attrs[rip]
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	lea	r12, 32[rbp]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR 40[rdi]
	call	sysfs_remove_group@PLT
	mov	rsi, r13
	mov	rdi, r12
	call	spin_lock_irqsave@PLT
	mov	rdi, rbp
	call	zfcp_reqlist_isempty@PLT
	mov	rsi, r13
	mov	rdi, r12
	mov	ebx, eax
	call	spin_unlock_irqrestore@PLT
	test	ebx, ebx
	jne	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, rbp
	call	zfcp_erp_thread_kill@PLT
	mov	edi, DWORD PTR 28[rbp]
	call	zfcp_dbf_adapter_unregister@PLT
	mov	rdi, rbp
	call	zfcp_free_low_mem_buffers@PLT
	mov	edi, DWORD PTR 24[rbp]
	call	zfcp_qdio_destroy@PLT
	mov	rdi, QWORD PTR 16[rbp]
	call	kfree@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	kfree@PLT
	mov	rdi, QWORD PTR 0[rbp]
	call	kfree@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	kfree@PLT
	.cfi_endproc
.LFE0:
	.size	zfcp_adapter_dequeue, .-zfcp_adapter_dequeue
	.comm	zfcp_sysfs_adapter_attrs,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_zfcp_aux.c_zfcp_adapter_dequeue.c"
	.text
	.align	2
	.global	zfcp_adapter_dequeue
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfcp_adapter_dequeue, %function
zfcp_adapter_dequeue:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r6, #0
	ldr	r1, .L5
	add	r7, r4, #20
	ldr	r0, [r0, #24]
	bl	sysfs_remove_group
	mov	r1, r6
	mov	r0, r7
	bl	spin_lock_irqsave
	mov	r0, r4
	bl	zfcp_reqlist_isempty
	mov	r5, r0
	mov	r1, r6
	mov	r0, r7
	bl	spin_unlock_irqrestore
	cmp	r5, r6
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r0, r4
	bl	zfcp_erp_thread_kill
	ldr	r0, [r4, #16]
	bl	zfcp_dbf_adapter_unregister
	mov	r0, r4
	bl	zfcp_free_low_mem_buffers
	ldr	r0, [r4, #12]
	bl	zfcp_qdio_destroy
	ldr	r0, [r4, #8]
	bl	kfree
	ldr	r0, [r4, #4]
	bl	kfree
	ldr	r0, [r4]
	bl	kfree
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	kfree
.L6:
	.align	2
.L5:
	.word	zfcp_sysfs_adapter_attrs
	.size	zfcp_adapter_dequeue, .-zfcp_adapter_dequeue
	.comm	zfcp_sysfs_adapter_attrs,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
