	.file	"extr_lpfc_els.c_lpfc_els_rcv_rls.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lpfc_els_rcv_rls, @function
lpfc_els_rcv_rls:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rax, QWORD PTR [rdx]
	cmp	rax, QWORD PTR NLP_STE_UNMAPPED_NODE[rip]
	je	.L2
	cmp	rax, QWORD PTR NLP_STE_MAPPED_NODE[rip]
	je	.L2
.L3:
	xor	r8d, r8d
	mov	rcx, r12
	mov	rdx, r14
	xor	esi, esi
	mov	rdi, rbp
	call	lpfc_els_rsp_reject@PLT
.L5:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rbx, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	mov	edi, DWORD PTR [rbx]
	call	mempool_alloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L3
	mov	rsi, rax
	mov	rdi, rbx
	call	lpfc_read_lnk_stat@PLT
	mov	eax, DWORD PTR 4[r14]
	mov	rdi, r12
	sal	eax, 16
	or	eax, DWORD PTR [r14]
	cdqe
	mov	QWORD PTR 24[r13], rax
	call	lpfc_nlp_get@PLT
	mov	QWORD PTR 8[r13], rbp
	mov	rsi, r13
	mov	rdi, rbx
	mov	DWORD PTR 16[r13], eax
	mov	eax, DWORD PTR lpfc_els_rsp_rls_acc[rip]
	mov	edx, DWORD PTR MBX_NOWAIT[rip]
	mov	DWORD PTR 0[r13], eax
	call	lpfc_sli_issue_mbox@PLT
	cmp	rax, QWORD PTR MBX_NOT_FINISHED[rip]
	jne	.L5
	mov	rdi, r12
	call	lpfc_nlp_put@PLT
	mov	esi, DWORD PTR [rbx]
	mov	rdi, r13
	call	mempool_free@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	lpfc_els_rcv_rls, .-lpfc_els_rcv_rls
	.comm	lpfc_els_rsp_rls_acc,4,4
	.comm	NLP_STE_UNMAPPED_NODE,8,8
	.comm	NLP_STE_MAPPED_NODE,8,8
	.comm	MBX_NOWAIT,4,4
	.comm	MBX_NOT_FINISHED,8,8
	.comm	LSRJT_UNABLE_TPC,4,4
	.comm	LSEXP_CANT_GIVE_DATA,4,4
	.comm	GFP_ATOMIC,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_lpfc_els.c_lpfc_els_rcv_rls.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lpfc_els_rcv_rls, %function
lpfc_els_rcv_rls:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	ldr	r2, .L11
	ldr	r3, [r4]
	ldr	r2, [r2]
	mov	r5, r0
	cmp	r3, r2
	mov	r7, r1
	sub	sp, sp, #8
	beq	.L2
	ldr	r2, .L11+4
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L2
.L3:
	mov	r1, #0
	mov	r3, r4
	mov	r2, r7
	mov	r0, r5
	str	r1, [sp]
	bl	lpfc_els_rsp_reject
.L5:
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r8, [r5]
	ldr	r3, .L11+8
	ldr	r0, [r8]
	ldr	r1, [r3]
	bl	mempool_alloc
	subs	r6, r0, #0
	beq	.L3
	mov	r1, r6
	mov	r0, r8
	bl	lpfc_read_lnk_stat
	ldr	r2, [r7, #4]
	ldr	r3, [r7]
	mov	r0, r4
	orr	r3, r3, r2, lsl #16
	str	r3, [r6, #12]
	bl	lpfc_nlp_get
	ldr	r2, .L11+12
	ldr	r3, .L11+16
	ldr	r2, [r2]
	str	r0, [r6, #8]
	stm	r6, {r2, r5}
	mov	r1, r6
	ldr	r2, [r3]
	mov	r0, r8
	bl	lpfc_sli_issue_mbox
	ldr	r3, .L11+20
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L5
	mov	r0, r4
	bl	lpfc_nlp_put
	mov	r0, r6
	ldr	r1, [r8]
	bl	mempool_free
	b	.L3
.L12:
	.align	2
.L11:
	.word	NLP_STE_UNMAPPED_NODE
	.word	NLP_STE_MAPPED_NODE
	.word	GFP_ATOMIC
	.word	lpfc_els_rsp_rls_acc
	.word	MBX_NOWAIT
	.word	MBX_NOT_FINISHED
	.size	lpfc_els_rcv_rls, .-lpfc_els_rcv_rls
	.comm	lpfc_els_rsp_rls_acc,4,4
	.comm	NLP_STE_UNMAPPED_NODE,4,4
	.comm	NLP_STE_MAPPED_NODE,4,4
	.comm	MBX_NOWAIT,4,4
	.comm	MBX_NOT_FINISHED,4,4
	.comm	LSRJT_UNABLE_TPC,4,4
	.comm	LSEXP_CANT_GIVE_DATA,4,4
	.comm	GFP_ATOMIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
