	.file	"extr_zfcp_aux.c_zfcp_port_dequeue.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	zfcp_port_dequeue
	.type	zfcp_port_dequeue, @function
zfcp_port_dequeue:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	lea	rdi, zfcp_data[rip]
	call	write_lock_irq@PLT
	lea	rdi, 28[rbp]
	call	list_del@PLT
	lea	rdi, zfcp_data[rip]
	call	write_unlock_irq@PLT
	lea	rdi, 24[rbp]
	call	cancel_work_sync@PLT
	test	rax, rax
	jne	.L16
	lea	rdi, 20[rbp]
	call	cancel_work_sync@PLT
	test	rax, rax
	jne	.L17
.L3:
	lea	rdi, 16[rbp]
	call	cancel_work_sync@PLT
	test	rax, rax
	jne	.L18
.L4:
	lea	rdi, 8[rbp]
	call	atomic_read@PLT
	mov	edi, DWORD PTR 12[rbp]
	xor	esi, esi
	test	rax, rax
	sete	sil
	call	wait_event@PLT
	mov	edi, DWORD PTR 4[rbp]
	call	zfcp_adapter_put@PLT
	mov	rdi, rbp
	lea	rsi, zfcp_sysfs_port_attrs[rip]
	call	sysfs_remove_group@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	device_unregister@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rdi, rbp
	call	zfcp_port_put@PLT
	lea	rdi, 20[rbp]
	call	cancel_work_sync@PLT
	test	rax, rax
	je	.L3
.L17:
	mov	rdi, rbp
	call	zfcp_port_put@PLT
	lea	rdi, 16[rbp]
	call	cancel_work_sync@PLT
	test	rax, rax
	je	.L4
.L18:
	mov	rdi, rbp
	call	zfcp_port_put@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	zfcp_port_dequeue, .-zfcp_port_dequeue
	.comm	zfcp_sysfs_port_attrs,4,4
	.comm	zfcp_data,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_port_dequeue.c"
	.text
	.align	2
	.global	zfcp_port_dequeue
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfcp_port_dequeue, %function
zfcp_port_dequeue:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, .L19
	bl	write_lock_irq
	add	r0, r4, #28
	bl	list_del
	ldr	r0, .L19
	bl	write_unlock_irq
	add	r0, r4, #24
	bl	cancel_work_sync
	cmp	r0, #0
	bne	.L16
	add	r0, r4, #20
	bl	cancel_work_sync
	cmp	r0, #0
	bne	.L17
.L3:
	add	r0, r4, #16
	bl	cancel_work_sync
	cmp	r0, #0
	bne	.L18
.L4:
	add	r0, r4, #8
	ldr	r5, [r4, #12]
	bl	atomic_read
	clz	r1, r0
	mov	r0, r5
	lsr	r1, r1, #5
	bl	wait_event
	ldr	r0, [r4, #4]
	bl	zfcp_adapter_put
	mov	r0, r4
	ldr	r1, .L19+4
	bl	sysfs_remove_group
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	device_unregister
.L16:
	mov	r0, r4
	bl	zfcp_port_put
	add	r0, r4, #20
	bl	cancel_work_sync
	cmp	r0, #0
	beq	.L3
.L17:
	mov	r0, r4
	bl	zfcp_port_put
	add	r0, r4, #16
	bl	cancel_work_sync
	cmp	r0, #0
	beq	.L4
.L18:
	mov	r0, r4
	bl	zfcp_port_put
	b	.L4
.L20:
	.align	2
.L19:
	.word	zfcp_data
	.word	zfcp_sysfs_port_attrs
	.size	zfcp_port_dequeue, .-zfcp_port_dequeue
	.comm	zfcp_sysfs_port_attrs,4,4
	.comm	zfcp_data,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
