	.file	"extr_lpfc_sli.c_lpfc_sli_process_sol_iocb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"0322 Ring %d handler: unexpected completion IoTag x%x Data: x%x x%x x%x x%x\n"
	.text
	.p2align 4
	.type	lpfc_sli_process_sol_iocb, @function
lpfc_sli_process_sol_iocb:
.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, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	lpfc_sli_iocbq_lookup@PLT
	test	rax, rax
	je	.L2
	mov	rbp, rax
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	je	.L3
	cmp	QWORD PTR 32[r12], 0
	mov	rcx, QWORD PTR [rbx]
	mov	rdx, QWORD PTR LPFC_ELS_RING[rip]
	je	.L4
	cmp	rcx, rdx
	je	.L19
.L5:
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r13
	call	rax
.L12:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, 1
	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
.L19:
	.cfi_restore_state
	mov	rax, QWORD PTR CMD_ELS_REQUEST64_CR[rip]
	cmp	QWORD PTR 8[rbp], rax
	jne	.L6
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r13
	call	lpfc_send_els_failure_event@PLT
	mov	rcx, QWORD PTR [rbx]
	mov	rdx, QWORD PTR LPFC_ELS_RING[rip]
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	rcx, rdx
	je	.L6
.L17:
	mov	rax, QWORD PTR 48[rbp]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	mov	r8, QWORD PTR [rbx]
	cmp	r8, QWORD PTR LPFC_ELS_RING[rip]
	je	.L12
	mov	eax, DWORD PTR 16[r12]
	mov	r9d, DWORD PTR 40[r12]
	mov	rdi, r13
	lea	rcx, .LC0[rip]
	mov	edx, DWORD PTR LOG_SLI[rip]
	mov	esi, DWORD PTR KERN_WARNING[rip]
	push	rax
	.cfi_def_cfa_offset 72
	mov	rax, QWORD PTR 24[r12]
	push	QWORD PTR 8[r12]
	.cfi_def_cfa_offset 80
	push	QWORD PTR 32[rax]
	.cfi_def_cfa_offset 88
	push	QWORD PTR 32[r12]
	.cfi_def_cfa_offset 96
	call	lpfc_printf_log@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 64
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdx, QWORD PTR 0[r13]
	mov	rax, QWORD PTR LPFC_SLI_REV4[rip]
	cmp	rdx, rax
	jge	.L7
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR LPFC_DRIVER_ABORTED[rip], eax
	je	.L17
	lea	r15, 8[r13]
	xor	r14d, r14d
	mov	rsi, r14
	mov	rdi, r15
	call	spin_lock_irqsave@PLT
	mov	eax, DWORD PTR LPFC_DRIVER_ABORTED[rip]
	mov	rsi, r14
	mov	rdi, r15
	not	eax
	and	DWORD PTR 0[rbp], eax
	call	spin_unlock_irqrestore@PLT
	mov	rax, QWORD PTR IOSTAT_LOCAL_REJECT[rip]
	mov	rsi, r14
	mov	rdi, r15
	mov	rdx, QWORD PTR IOERR_SLI_ABORTED[rip]
	mov	QWORD PTR 32[r12], rax
	mov	rax, QWORD PTR 24[r12]
	mov	QWORD PTR 32[rax], rdx
	call	spin_lock_irqsave@PLT
	mov	eax, DWORD PTR LPFC_DELAY_MEM_FREE[rip]
	or	DWORD PTR [r12], eax
	mov	rsi, r14
	mov	rdi, r15
	call	spin_unlock_irqrestore@PLT
	mov	rdx, QWORD PTR 0[r13]
	mov	rax, QWORD PTR LPFC_SLI_REV4[rip]
.L7:
	cmp	rdx, rax
	jne	.L17
	mov	eax, DWORD PTR [r12]
	test	DWORD PTR LPFC_EXCHANGE_BUSY[rip], eax
	jne	.L20
.L10:
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR LPFC_DRIVER_ABORTED[rip], eax
	je	.L17
	lea	r15, 8[r13]
	xor	r14d, r14d
	mov	rsi, r14
	mov	rdi, r15
	call	spin_lock_irqsave@PLT
	mov	eax, DWORD PTR LPFC_DRIVER_ABORTED[rip]
	mov	rsi, r14
	mov	rdi, r15
	not	eax
	and	DWORD PTR 0[rbp], eax
	call	spin_unlock_irqrestore@PLT
	mov	rdx, QWORD PTR 24[rbp]
	mov	rsi, r14
	mov	rdi, r15
	mov	rax, QWORD PTR IOSTAT_LOCAL_REJECT[rip]
	mov	rcx, QWORD PTR IOERR_ABORT_REQUESTED[rip]
	mov	QWORD PTR 32[rbp], rax
	mov	QWORD PTR 32[rdx], rcx
	mov	rdx, QWORD PTR IOERR_SLI_ABORTED[rip]
	mov	QWORD PTR 32[r12], rax
	mov	rax, QWORD PTR 24[r12]
	mov	QWORD PTR 32[rax], rdx
	call	spin_lock_irqsave@PLT
	mov	eax, DWORD PTR LPFC_DELAY_MEM_FREE[rip]
	or	DWORD PTR [r12], eax
	mov	rsi, r14
	mov	rdi, r15
	call	spin_unlock_irqrestore@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rsi, rbp
	mov	rdi, r13
	call	lpfc_sli_release_iocbq@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L20:
	lea	r15, 8[r13]
	xor	r14d, r14d
	mov	rsi, r14
	mov	rdi, r15
	call	spin_lock_irqsave@PLT
	mov	eax, DWORD PTR LPFC_EXCHANGE_BUSY[rip]
	or	DWORD PTR 0[rbp], eax
	mov	rsi, r14
	mov	rdi, r15
	call	spin_unlock_irqrestore@PLT
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	lpfc_sli_process_sol_iocb, .-lpfc_sli_process_sol_iocb
	.comm	LPFC_SLI_REV4,8,8
	.comm	LPFC_EXCHANGE_BUSY,4,4
	.comm	LPFC_ELS_RING,8,8
	.comm	LPFC_DRIVER_ABORTED,4,4
	.comm	LPFC_DELAY_MEM_FREE,4,4
	.comm	LOG_SLI,4,4
	.comm	KERN_WARNING,4,4
	.comm	IOSTAT_LOCAL_REJECT,8,8
	.comm	IOERR_SLI_ABORTED,8,8
	.comm	IOERR_ABORT_REQUESTED,8,8
	.comm	CMD_ELS_REQUEST64_CR,8,8
	.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_sli.c_lpfc_sli_process_sol_iocb.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"0322 Ring %d handler: unexpected completion IoTag x"
	.ascii	"%x Data: x%x x%x x%x x%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lpfc_sli_process_sol_iocb, %function
lpfc_sli_process_sol_iocb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	sub	sp, sp, #24
	mov	r6, r0
	mov	r7, r1
	mov	r5, r2
	bl	lpfc_sli_iocbq_lookup
	subs	r4, r0, #0
	beq	.L2
	ldr	r3, [r4, #24]
	cmp	r3, #0
	beq	.L3
	ldr	r2, [r5, #16]
	ldr	r8, .L24
	cmp	r2, #0
	ldr	r1, [r7]
	ldr	r2, [r8]
	beq	.L4
	cmp	r1, r2
	beq	.L22
.L5:
	mov	r2, r5
	mov	r1, r4
	mov	r0, r6
	blx	r3
.L12:
	mov	r0, #1
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L22:
	ldr	r3, .L24+4
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L6
	mov	r2, r5
	mov	r1, r4
	mov	r0, r6
	bl	lpfc_send_els_failure_event
	ldr	r1, [r7]
	ldr	r2, [r8]
.L4:
	cmp	r1, r2
	beq	.L6
.L20:
	ldr	r3, [r4, #24]
	b	.L5
.L2:
	ldr	r2, .L24
	ldr	r3, [r7]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L12
	ldr	r0, [r5, #8]
	ldr	r1, [r5, #4]
	ldr	r2, [r5, #12]
	str	r0, [sp, #20]
	str	r1, [sp, #16]
	ldr	ip, [r2, #16]
	ldr	r1, .L24+8
	str	ip, [sp, #12]
	ldr	lr, [r5, #16]
	ldr	ip, [r5, #20]
	ldr	r2, .L24+12
	str	r3, [sp]
	ldr	r2, [r2]
	ldr	r1, [r1]
	mov	r0, r6
	stmib	sp, {ip, lr}
	ldr	r3, .L24+16
	bl	lpfc_printf_log
	mov	r0, #1
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	ldr	r7, .L24+20
	ldr	r2, [r6]
	ldr	r3, [r7]
	cmp	r2, r3
	bge	.L7
	ldr	r9, .L24+24
	ldr	r2, [r4]
	ldr	r3, [r9]
	tst	r2, r3
	beq	.L20
	mov	r8, #0
	add	r10, r6, #4
	mov	r1, r8
	mov	r0, r10
	bl	spin_lock_irqsave
	ldr	r2, [r9]
	ldr	r3, [r4]
	mov	r1, r8
	bic	r3, r3, r2
	str	r3, [r4]
	mov	r0, r10
	bl	spin_unlock_irqrestore
	ldr	r2, .L24+28
	ldr	r3, .L24+32
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, [r5, #12]
	str	r1, [r5, #16]
	mov	r0, r10
	str	r2, [r3, #16]
	mov	r1, r8
	bl	spin_lock_irqsave
	ldr	r2, .L24+36
	ldr	r3, [r5]
	ldr	r2, [r2]
	mov	r1, r8
	orr	r3, r3, r2
	str	r3, [r5]
	mov	r0, r10
	bl	spin_unlock_irqrestore
	ldr	r3, [r7]
	ldr	r2, [r6]
.L7:
	cmp	r2, r3
	bne	.L20
	ldr	r7, .L24+40
	ldr	r2, [r5]
	ldr	r3, [r7]
	tst	r2, r3
	bne	.L23
.L10:
	ldr	r9, .L24+24
	ldr	r2, [r4]
	ldr	r3, [r9]
	tst	r2, r3
	beq	.L20
	mov	r8, #0
	add	r7, r6, #4
	mov	r1, r8
	mov	r0, r7
	bl	spin_lock_irqsave
	ldr	r2, [r9]
	ldr	r3, [r4]
	mov	r1, r8
	bic	r3, r3, r2
	str	r3, [r4]
	mov	r0, r7
	bl	spin_unlock_irqrestore
	ldr	r2, .L24+44
	ldr	r3, .L24+28
	ldr	r0, [r2]
	ldr	r3, [r3]
	ldr	r2, [r4, #12]
	ldr	r1, .L24+32
	str	r3, [r4, #16]
	str	r0, [r2, #16]
	ldr	r2, [r5, #12]
	ldr	r0, [r1]
	str	r3, [r5, #16]
	mov	r1, r8
	str	r0, [r2, #16]
	mov	r0, r7
	bl	spin_lock_irqsave
	ldr	r2, .L24+36
	ldr	r3, [r5]
	ldr	r2, [r2]
	mov	r1, r8
	orr	r3, r3, r2
	mov	r0, r7
	str	r3, [r5]
	bl	spin_unlock_irqrestore
	b	.L20
.L3:
	mov	r1, r4
	mov	r0, r6
	bl	lpfc_sli_release_iocbq
	mov	r0, #1
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L23:
	mov	r8, #0
	add	r9, r6, #4
	mov	r1, r8
	mov	r0, r9
	bl	spin_lock_irqsave
	ldr	r2, [r7]
	ldr	r3, [r4]
	mov	r1, r8
	orr	r3, r3, r2
	mov	r0, r9
	str	r3, [r4]
	bl	spin_unlock_irqrestore
	b	.L10
.L25:
	.align	2
.L24:
	.word	LPFC_ELS_RING
	.word	CMD_ELS_REQUEST64_CR
	.word	KERN_WARNING
	.word	LOG_SLI
	.word	.LC0
	.word	LPFC_SLI_REV4
	.word	LPFC_DRIVER_ABORTED
	.word	IOSTAT_LOCAL_REJECT
	.word	IOERR_SLI_ABORTED
	.word	LPFC_DELAY_MEM_FREE
	.word	LPFC_EXCHANGE_BUSY
	.word	IOERR_ABORT_REQUESTED
	.size	lpfc_sli_process_sol_iocb, .-lpfc_sli_process_sol_iocb
	.comm	LPFC_SLI_REV4,4,4
	.comm	LPFC_EXCHANGE_BUSY,4,4
	.comm	LPFC_ELS_RING,4,4
	.comm	LPFC_DRIVER_ABORTED,4,4
	.comm	LPFC_DELAY_MEM_FREE,4,4
	.comm	LOG_SLI,4,4
	.comm	KERN_WARNING,4,4
	.comm	IOSTAT_LOCAL_REJECT,4,4
	.comm	IOERR_SLI_ABORTED,4,4
	.comm	IOERR_ABORT_REQUESTED,4,4
	.comm	CMD_ELS_REQUEST64_CR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
