	.file	"extr_fc.c___nvme_fc_send_ls_req.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__nvme_fc_send_ls_req, @function
__nvme_fc_send_ls_req:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR FC_OBJSTATE_ONLINE[rip]
	cmp	QWORD PTR 8[rdi], rax
	je	.L2
	mov	r12d, DWORD PTR ECONNREFUSED[rip]
	neg	r12d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rbp, rdi
	mov	rbx, rsi
	mov	r12, rdx
	call	nvme_fc_rport_get@PLT
	test	eax, eax
	jne	.L4
	mov	r12d, DWORD PTR ESHUTDOWN[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	QWORD PTR 24[rbx], r12
	lea	r13, 8[rbx]
	mov	QWORD PTR 16[rbx], rbp
	mov	rdi, r13
	mov	DWORD PTR [rbx], 0
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 12[rbx]
	call	init_completion@PLT
	mov	esi, DWORD PTR 64[rbx]
	mov	edi, DWORD PTR 0[rbp]
	mov	ecx, DWORD PTR DMA_BIDIRECTIONAL[rip]
	mov	rdx, QWORD PTR 32[rbx]
	add	rdx, QWORD PTR 40[rbx]
	call	fc_dma_map_single@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	QWORD PTR 48[rbx], rax
	mov	rsi, rax
	call	fc_dma_mapping_error@PLT
	test	rax, rax
	je	.L5
	mov	r12d, DWORD PTR EFAULT[rip]
	neg	r12d
.L6:
	mov	rdi, rbp
	call	nvme_fc_rport_put@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR 40[rbx]
	add	rax, QWORD PTR 48[rbx]
	lea	r15, 4[rbp]
	xor	r14d, r14d
	mov	QWORD PTR 56[rbx], rax
	mov	rsi, r14
	mov	rdi, r15
	call	spin_lock_irqsave@PLT
	lea	rsi, 24[rbp]
	mov	rdi, r13
	call	list_add_tail@PLT
	mov	DWORD PTR [rbx], 1
	mov	rsi, r14
	mov	rdi, r15
	call	spin_unlock_irqrestore@PLT
	mov	rdi, QWORD PTR 16[rbp]
	lea	rdx, 24[rbx]
	lea	rsi, 8[rbp]
	mov	rax, QWORD PTR 8[rdi]
	call	[QWORD PTR [rax]]
	mov	r12d, eax
	test	eax, eax
	je	.L1
	mov	DWORD PTR 4[rbx], eax
	mov	rsi, r14
	mov	rdi, r15
	call	spin_lock_irqsave@PLT
	mov	DWORD PTR [rbx], 0
	mov	rdi, r13
	call	list_del@PLT
	mov	rsi, r14
	mov	rdi, r15
	call	spin_unlock_irqrestore@PLT
	mov	rsi, QWORD PTR 48[rbx]
	mov	ecx, DWORD PTR DMA_BIDIRECTIONAL[rip]
	mov	edi, DWORD PTR 0[rbp]
	mov	rdx, QWORD PTR 32[rbx]
	add	rdx, QWORD PTR 40[rbx]
	call	fc_dma_unmap_single@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	__nvme_fc_send_ls_req, .-__nvme_fc_send_ls_req
	.comm	FC_OBJSTATE_ONLINE,8,8
	.comm	ESHUTDOWN,4,4
	.comm	EFAULT,4,4
	.comm	ECONNREFUSED,4,4
	.comm	DMA_BIDIRECTIONAL,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_send_ls_req.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__nvme_fc_send_ls_req, %function
__nvme_fc_send_ls_req:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L12
	ldr	ip, [r0, #8]
	ldr	r3, [r3]
	cmp	ip, r3
	beq	.L2
	ldr	r3, .L12+4
	ldr	r6, [r3]
	rsb	r6, r6, #0
.L1:
	mov	r0, r6
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r4, r0
	mov	r5, r1
	mov	r6, r2
	bl	nvme_fc_rport_get
	cmp	r0, #0
	bne	.L4
	ldr	r3, .L12+8
	ldr	r6, [r3]
	rsb	r6, r6, #0
	mov	r0, r6
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	mov	r3, #0
	mov	r7, r5
	str	r6, [r5, #20]
	str	r4, [r5, #16]
	str	r3, [r7], #8
	mov	r0, r7
	bl	INIT_LIST_HEAD
	add	r0, r5, #12
	bl	init_completion
	ldr	r8, .L12+12
	ldr	r1, [r5, #28]
	ldr	r2, [r5, #24]
	ldr	r3, [r8]
	add	r2, r1, r2
	ldr	r0, [r4]
	ldr	r1, [r5, #40]
	bl	fc_dma_map_single
	mov	r1, r0
	ldr	r0, [r4]
	str	r1, [r5, #32]
	bl	fc_dma_mapping_error
	subs	r9, r0, #0
	beq	.L5
	ldr	r3, .L12+16
	ldr	r6, [r3]
	rsb	r6, r6, #0
.L6:
	mov	r0, r4
	bl	nvme_fc_rport_put
	b	.L1
.L5:
	mov	fp, #0
	ldr	r2, [r5, #28]
	ldr	r3, [r5, #32]
	add	r10, r4, #4
	add	r3, r3, r2
	str	r3, [r5, #36]
	mov	r1, fp
	mov	r0, r10
	bl	spin_lock_irqsave
	add	r1, r4, #16
	mov	r0, r7
	bl	list_add_tail
	mov	r6, r5
	mov	r3, #1
	mov	r1, fp
	str	r3, [r6], #20
	mov	r0, r10
	bl	spin_unlock_irqrestore
	ldr	r0, [r4, #12]
	mov	r2, r6
	ldr	r3, [r0, #4]
	add	r1, r4, #8
	ldr	r3, [r3]
	blx	r3
	subs	r6, r0, #0
	beq	.L1
	mov	r1, fp
	mov	r0, r10
	str	r6, [r5, #4]
	bl	spin_lock_irqsave
	mov	r0, r7
	str	r9, [r5]
	bl	list_del
	mov	r1, fp
	mov	r0, r10
	bl	spin_unlock_irqrestore
	ldr	r1, [r5, #28]
	ldr	r2, [r5, #24]
	ldr	r3, [r8]
	add	r2, r1, r2
	ldr	r0, [r4]
	ldr	r1, [r5, #32]
	bl	fc_dma_unmap_single
	b	.L6
.L13:
	.align	2
.L12:
	.word	FC_OBJSTATE_ONLINE
	.word	ECONNREFUSED
	.word	ESHUTDOWN
	.word	DMA_BIDIRECTIONAL
	.word	EFAULT
	.size	__nvme_fc_send_ls_req, .-__nvme_fc_send_ls_req
	.comm	FC_OBJSTATE_ONLINE,4,4
	.comm	ESHUTDOWN,4,4
	.comm	EFAULT,4,4
	.comm	ECONNREFUSED,4,4
	.comm	DMA_BIDIRECTIONAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
