	.file	"extr_fc.c_nvme_fc_submit_async_event.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"failed async event work\n"
	.text
	.p2align 4
	.type	nvme_fc_submit_async_event, @function
nvme_fc_submit_async_event:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	to_fc_ctrl@PLT
	xor	esi, esi
	lea	rbp, 16[rax]
	mov	rbx, rax
	mov	rdi, rbp
	call	spin_lock_irqsave@PLT
	mov	eax, DWORD PTR [rbx]
	xor	esi, esi
	mov	rdi, rbp
	test	DWORD PTR FCCTRL_TERMIO[rip], eax
	jne	.L2
	call	spin_unlock_irqrestore@PLT
	mov	rax, QWORD PTR 8[rbx]
	xor	ecx, ecx
	mov	rdi, rbx
	mov	r8d, DWORD PTR NVMEFC_FCP_NODATA[rip]
	mov	esi, DWORD PTR [rax]
	mov	rdx, rax
	call	nvme_fc_start_fcp_op@PLT
	test	rax, rax
	jne	.L8
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[rbx]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	lea	rsi, .LC0[rip]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	dev_err@PLT
	.cfi_endproc
.LFE0:
	.size	nvme_fc_submit_async_event, .-nvme_fc_submit_async_event
	.comm	NVMEFC_FCP_NODATA,4,4
	.comm	FCCTRL_TERMIO,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_fc.c_nvme_fc_submit_async_event.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed async event work\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nvme_fc_submit_async_event, %function
nvme_fc_submit_async_event:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	sub	sp, sp, #8
	bl	to_fc_ctrl
	mov	r4, r0
	add	r6, r0, #12
	mov	r1, #0
	mov	r0, r6
	bl	spin_lock_irqsave
	ldr	r2, .L9
	ldr	r3, [r4]
	ldr	r5, [r2]
	mov	r0, r6
	ands	r5, r3, r5
	mov	r1, #0
	bne	.L2
	bl	spin_unlock_irqrestore
	ldr	r3, .L9+4
	ldr	r2, [r4, #8]
	ldr	r0, [r3]
	ldr	r1, [r2]
	mov	r3, r5
	str	r0, [sp]
	mov	r0, r4
	bl	nvme_fc_start_fcp_op
	cmp	r0, #0
	bne	.L8
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	spin_unlock_irqrestore
.L8:
	ldr	r0, [r4, #4]
	ldr	r1, .L9+8
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	dev_err
.L10:
	.align	2
.L9:
	.word	FCCTRL_TERMIO
	.word	NVMEFC_FCP_NODATA
	.word	.LC0
	.size	nvme_fc_submit_async_event, .-nvme_fc_submit_async_event
	.comm	NVMEFC_FCP_NODATA,4,4
	.comm	FCCTRL_TERMIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
