	.file	"extr_lpfc_nportdisc.c_lpfc_disc_illegal.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"0271 Illegal State Transition: node x%x event x%x, state x%x Data: x%x x%x\n"
	.text
	.p2align 4
	.type	lpfc_disc_illegal, @function
lpfc_disc_illegal:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	r9, rcx
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR [rdi]
	mov	rax, QWORD PTR [rdi]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR FC_UNLOADING[rip], eax
	jne	.L2
	cmp	QWORD PTR NLP_EVT_CMPL_REG_LOGIN[rip], rcx
	je	.L5
.L2:
	mov	eax, DWORD PTR 8[rbx]
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	r8d, DWORD PTR 16[rbx]
	mov	rdi, rbp
	mov	edx, DWORD PTR LOG_DISCOVERY[rip]
	mov	esi, DWORD PTR KERN_ERR[rip]
	lea	rcx, .LC0[rip]
	push	rax
	.cfi_def_cfa_offset 64
	mov	eax, DWORD PTR 12[rbx]
	push	rax
	.cfi_def_cfa_offset 72
	push	QWORD PTR [rbx]
	.cfi_def_cfa_offset 80
	call	lpfc_printf_vlog@PLT
	mov	rax, QWORD PTR [rbx]
	add	rsp, 56
	.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
.L5:
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR 8[rdx]
	test	eax, eax
	jne	.L2
	mov	rax, QWORD PTR [rdx]
	mov	QWORD PTR 8[rsp], rcx
	mov	rdx, rsi
	mov	rsi, rbp
	mov	ecx, DWORD PTR [rax]
	call	lpfc_release_rpi@PLT
	mov	r9, QWORD PTR 8[rsp]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	lpfc_disc_illegal, .-lpfc_disc_illegal
	.comm	NLP_EVT_CMPL_REG_LOGIN,8,8
	.comm	LOG_DISCOVERY,4,4
	.comm	KERN_ERR,4,4
	.comm	FC_UNLOADING,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_nportdisc.c_lpfc_disc_illegal.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"0271 Illegal State Transition: node x%x event x%x, "
	.ascii	"state x%x Data: x%x x%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lpfc_disc_illegal, %function
lpfc_disc_illegal:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r0, [r0]
	ldr	ip, .L6
	ldr	lr, [r0]
	ldr	ip, [ip]
	ldr	lr, [lr]
	mov	r4, r1
	tst	lr, ip
	mov	r6, r3
	sub	sp, sp, #24
	bne	.L2
	ldr	r3, .L6+4
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L5
.L2:
	ldr	ip, [r4, #4]
	ldr	r2, .L6+8
	str	r6, [sp, #4]
	ldr	r1, .L6+12
	ldr	r3, [r4, #8]
	ldr	r2, [r2]
	ldr	r1, [r1]
	str	ip, [sp, #16]
	ldr	ip, [r4]
	str	r3, [sp, #12]
	ldr	r3, [r4, #12]
	mov	r0, r5
	str	r3, [sp]
	str	ip, [sp, #8]
	ldr	r3, .L6+16
	bl	lpfc_printf_vlog
	ldr	r0, [r4]
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r3, [r2, #4]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [r2]
	mov	r2, r1
	ldr	r3, [r3]
	mov	r1, r5
	bl	lpfc_release_rpi
	b	.L2
.L7:
	.align	2
.L6:
	.word	FC_UNLOADING
	.word	NLP_EVT_CMPL_REG_LOGIN
	.word	LOG_DISCOVERY
	.word	KERN_ERR
	.word	.LC0
	.size	lpfc_disc_illegal, .-lpfc_disc_illegal
	.comm	NLP_EVT_CMPL_REG_LOGIN,4,4
	.comm	LOG_DISCOVERY,4,4
	.comm	KERN_ERR,4,4
	.comm	FC_UNLOADING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
