	.file	"extr_lpfc_els.c_lpfc_els_rcv_lcb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"0192 ELS LCB Data x%x x%x x%x x%x sub x%x type x%x frequency %x duration x%x\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"0193 failed to send mail box"
	.text
	.p2align 4
	.type	lpfc_els_rcv_lcb, @function
lpfc_els_rcv_lcb:
.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
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	r15, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rsi]
	mov	rbx, QWORD PTR [rax]
	mov	edi, DWORD PTR 8[rbx]
	call	be16_to_cpu@PLT
	mov	r9d, DWORD PTR 4[rbx]
	mov	rdi, rbp
	mov	edx, DWORD PTR LOG_ELS[rip]
	push	rax
	.cfi_def_cfa_offset 104
	mov	eax, DWORD PTR 12[rbx]
	lea	rcx, .LC0[rip]
	mov	esi, DWORD PTR KERN_INFO[rip]
	push	rax
	.cfi_def_cfa_offset 112
	mov	eax, DWORD PTR 16[rbx]
	push	rax
	.cfi_def_cfa_offset 120
	mov	eax, DWORD PTR 20[rbx]
	push	QWORD PTR [rbx]
	.cfi_def_cfa_offset 128
	push	rax
	.cfi_def_cfa_offset 136
	mov	eax, DWORD PTR 8[rbx]
	push	rax
	.cfi_def_cfa_offset 144
	mov	r8d, DWORD PTR [rbx]
	xor	eax, eax
	call	lpfc_printf_vlog@PLT
	mov	rax, QWORD PTR [rbx]
	add	rsp, 48
	.cfi_def_cfa_offset 96
	cmp	rax, QWORD PTR LPFC_LCB_ON[rip]
	je	.L2
	cmp	rax, QWORD PTR LPFC_LCB_OFF[rip]
	je	.L2
.L5:
	mov	ebx, DWORD PTR LSRJT_CMD_UNSUPPORTED[rip]
.L3:
	lea	rdi, 16[rsp]
	mov	edx, 8
	xor	esi, esi
	mov	r14d, 1
	call	memset@PLT
	mov	esi, DWORD PTR 16[rsp]
	xor	r8d, r8d
	mov	rcx, r13
	mov	rdx, r12
	mov	rdi, rbp
	mov	DWORD PTR 20[rsp], ebx
	call	lpfc_els_rsp_reject@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	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	rax, QWORD PTR LPFC_SLI_REV4[rip]
	cmp	QWORD PTR [r15], rax
	jl	.L5
	mov	r14d, DWORD PTR 8[r15]
	and	r14d, DWORD PTR HBA_FCOE_MODE[rip]
	jne	.L5
	mov	edi, DWORD PTR lpfc_sli_intf_if_type[rip]
	lea	rsi, 12[r15]
	call	bf_get@PLT
	cmp	rax, QWORD PTR LPFC_SLI_INTF_IF_TYPE_2[rip]
	jl	.L5
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 40
	call	kmalloc@PLT
	mov	r15, rax
	test	rax, rax
	je	.L13
	mov	rax, QWORD PTR [rbx]
	xor	edx, edx
	cmp	QWORD PTR LPFC_LCB_ON[rip], rax
	mov	rdi, r13
	mov	QWORD PTR 32[r15], 0
	sete	dl
	mov	QWORD PTR [r15], rax
	mov	eax, DWORD PTR 16[rbx]
	mov	DWORD PTR 12[rsp], edx
	mov	DWORD PTR 28[r15], eax
	mov	eax, DWORD PTR 12[rbx]
	mov	DWORD PTR 24[r15], eax
	mov	eax, DWORD PTR 8[rbx]
	mov	DWORD PTR 20[r15], eax
	mov	eax, DWORD PTR 4[r12]
	mov	DWORD PTR 16[r15], eax
	mov	eax, DWORD PTR [r12]
	mov	DWORD PTR 12[r15], eax
	call	lpfc_nlp_get@PLT
	mov	edx, DWORD PTR 12[rsp]
	mov	rsi, r15
	mov	rdi, rbp
	mov	DWORD PTR 8[r15], eax
	call	lpfc_sli4_set_beacon@PLT
	test	rax, rax
	je	.L1
	movsx	rdi, DWORD PTR 0[r13]
	mov	edx, DWORD PTR LOG_ELS[rip]
	lea	rcx, .LC1[rip]
	xor	eax, eax
	mov	esi, DWORD PTR KERN_ERR[rip]
	call	lpfc_printf_vlog@PLT
	mov	rdi, r15
	call	kfree@PLT
	mov	rdi, r13
	call	lpfc_nlp_put@PLT
.L13:
	mov	ebx, DWORD PTR LSRJT_UNABLE_TPC[rip]
	jmp	.L3
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	lpfc_els_rcv_lcb, .-lpfc_els_rcv_lcb
	.comm	lpfc_sli_intf_if_type,4,4
	.comm	LSRJT_UNABLE_TPC,4,4
	.comm	LSRJT_CMD_UNSUPPORTED,4,4
	.comm	LPFC_SLI_REV4,8,8
	.comm	LPFC_SLI_INTF_IF_TYPE_2,8,8
	.comm	LPFC_LCB_ON,8,8
	.comm	LPFC_LCB_OFF,8,8
	.comm	LOG_ELS,4,4
	.comm	KERN_INFO,4,4
	.comm	KERN_ERR,4,4
	.comm	HBA_FCOE_MODE,4,4
	.comm	GFP_KERNEL,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_lcb.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"0192 ELS LCB Data x%x x%x x%x x%x sub x%x type x%x "
	.ascii	"frequency %x duration x%x\012\000"
	.align	2
.LC1:
	.ascii	"0193 failed to send mail box\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lpfc_els_rcv_lcb, %function
lpfc_els_rcv_lcb:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r0
	ldr	r3, [r1, #8]
	mov	r6, r1
	ldr	r1, .L14
	ldr	r4, [r3]
	ldr	r1, [r1]
	sub	sp, sp, #60
	ldr	r3, [r4, #4]
	str	r1, [sp, #48]
	mov	r7, r2
	ldr	r1, .L14+4
	ldr	r2, [r4, #12]
	mov	r0, r3
	str	r3, [sp, #52]
	str	r2, [sp, #40]
	ldr	r3, [r4, #16]
	ldr	r2, [r1]
	ldr	r8, [r4]
	ldr	r9, [r4, #8]
	str	r3, [sp, #36]
	str	r2, [sp, #44]
	ldr	r10, [r5]
	bl	be16_to_cpu
	ldr	r3, [sp, #52]
	ldr	r2, [sp, #40]
	str	r3, [sp, #4]
	ldr	r3, [sp, #36]
	ldr	fp, .L14+8
	str	r2, [sp, #20]
	str	r3, [sp, #12]
	ldr	r2, [sp, #44]
	ldr	r3, .L14+12
	str	r0, [sp, #28]
	ldr	r1, [sp, #48]
	mov	r0, r5
	str	r9, [sp, #24]
	str	r8, [sp, #16]
	str	r9, [sp, #8]
	str	r8, [sp]
	bl	lpfc_printf_vlog
	ldr	r3, [r4]
	ldr	r2, [fp]
	cmp	r3, r2
	beq	.L2
	ldr	r2, .L14+16
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L2
.L3:
	mov	r1, #0
	mov	r3, r7
	mov	r2, r6
	mov	r0, r5
	str	r1, [sp]
	bl	lpfc_els_rsp_reject
	mov	r0, #1
.L1:
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r3, .L14+20
	ldr	r2, [r10]
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L3
	ldr	r3, .L14+24
	ldr	r8, [r10, #4]
	ldr	r3, [r3]
	ands	r8, r8, r3
	bne	.L3
	ldr	r3, .L14+28
	add	r1, r10, #8
	ldr	r0, [r3]
	bl	bf_get
	ldr	r3, .L14+32
	ldr	r3, [r3]
	cmp	r0, r3
	blt	.L3
	ldr	r3, .L14+36
	mov	r0, #32
	ldr	r1, [r3]
	bl	kmalloc
	subs	r9, r0, #0
	beq	.L3
	ldr	r0, [r4, #12]
	ldr	r1, [r4, #8]
	ldr	r3, [r4]
	ldr	r2, [fp]
	ldr	ip, [r4, #4]
	str	r0, [r9, #24]
	ldr	r0, [r6, #4]
	str	r1, [r9, #20]
	ldr	r1, [r6]
	sub	r4, r2, r3
	str	r3, [r9]
	str	ip, [r9, #16]
	str	r0, [r9, #12]
	str	r1, [r9, #8]
	mov	r0, r7
	clz	r4, r4
	str	r8, [r9, #28]
	bl	lpfc_nlp_get
	lsr	r4, r4, #5
	str	r0, [r9, #4]
	mov	r2, r4
	mov	r1, r9
	mov	r0, r5
	bl	lpfc_sli4_set_beacon
	cmp	r0, #0
	beq	.L1
	ldr	r3, .L14+40
	ldr	r2, .L14+4
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r3, .L14+44
	ldr	r0, [r7]
	bl	lpfc_printf_vlog
	mov	r0, r9
	bl	kfree
	mov	r0, r7
	bl	lpfc_nlp_put
	b	.L3
.L15:
	.align	2
.L14:
	.word	KERN_INFO
	.word	LOG_ELS
	.word	LPFC_LCB_ON
	.word	.LC0
	.word	LPFC_LCB_OFF
	.word	LPFC_SLI_REV4
	.word	HBA_FCOE_MODE
	.word	lpfc_sli_intf_if_type
	.word	LPFC_SLI_INTF_IF_TYPE_2
	.word	GFP_KERNEL
	.word	KERN_ERR
	.word	.LC1
	.size	lpfc_els_rcv_lcb, .-lpfc_els_rcv_lcb
	.comm	lpfc_sli_intf_if_type,4,4
	.comm	LSRJT_UNABLE_TPC,4,4
	.comm	LSRJT_CMD_UNSUPPORTED,4,4
	.comm	LPFC_SLI_REV4,4,4
	.comm	LPFC_SLI_INTF_IF_TYPE_2,4,4
	.comm	LPFC_LCB_ON,4,4
	.comm	LPFC_LCB_OFF,4,4
	.comm	LOG_ELS,4,4
	.comm	KERN_INFO,4,4
	.comm	KERN_ERR,4,4
	.comm	HBA_FCOE_MODE,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
