	.file	"extr_lpfc_els.c_lpfc_cmpl_fabric_iocb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lpfc_cmpl_fabric_iocb, @function
lpfc_cmpl_fabric_iocb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR LPFC_IO_FABRIC[rip]
	mov	edx, DWORD PTR [rsi]
	and	edx, eax
	cmp	eax, edx
	je	.L2
	xor	eax, eax
	call	BUG@PLT
.L2:
	mov	eax, DWORD PTR 24[r13]
	add	eax, -128
	cmp	eax, 4
	ja	.L3
	lea	rdx, .L5[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L6-.L5
	.long	.L4-.L5
	.long	.L7-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, QWORD PTR 32[r13]
	mov	edi, DWORD PTR 16[rax]
	call	be32_to_cpu@PLT
	mov	edx, DWORD PTR LSRJT_UNABLE_TPC[rip]
	test	edx, edx
	je	.L4
	mov	eax, DWORD PTR LSRJT_LOGICAL_BSY[rip]
	test	eax, eax
	jne	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, r12
	call	lpfc_block_fabric_iocbs@PLT
.L3:
	lea	r14, 4[r12]
	mov	rdi, r14
	call	atomic_read@PLT
	test	rax, rax
	je	.L14
.L10:
	mov	rcx, QWORD PTR 16[rbp]
	mov	eax, DWORD PTR LPFC_IO_FABRIC[rip]
	mov	rsi, rbp
	mov	rdx, r13
	mov	rdi, r12
	mov	QWORD PTR 16[rbp], 0
	mov	QWORD PTR 8[rbp], rcx
	not	eax
	and	DWORD PTR 0[rbp], eax
	call	rcx
	mov	rdi, r14
	call	atomic_dec@PLT
	mov	edi, DWORD PTR FABRIC_COMANDS_BLOCKED[rip]
	mov	rsi, r12
	call	test_bit@PLT
	test	eax, eax
	je	.L15
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L6:
	.cfi_restore_state
	mov	rax, QWORD PTR 32[r13]
	mov	eax, DWORD PTR 16[rax]
	test	DWORD PTR RJT_UNAVAIL_TEMP[rip], eax
	je	.L3
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L15:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	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
	jmp	lpfc_resume_fabric_iocbs@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	call	BUG@PLT
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	lpfc_cmpl_fabric_iocb, .-lpfc_cmpl_fabric_iocb
	.comm	RJT_UNAVAIL_TEMP,4,4
	.comm	LSRJT_UNABLE_TPC,4,4
	.comm	LSRJT_LOGICAL_BSY,4,4
	.comm	LPFC_IO_FABRIC,4,4
	.comm	FABRIC_COMANDS_BLOCKED,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_cmpl_fabric_iocb.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lpfc_cmpl_fabric_iocb, %function
lpfc_cmpl_fabric_iocb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, .L15
	mov	r4, r1
	ldr	r3, [r8]
	ldr	r1, [r1]
	mov	r5, r0
	bics	r3, r3, r1
	mov	r6, r2
	beq	.L2
	bl	BUG
.L2:
	ldr	r3, [r6, #12]
	sub	r3, r3, #128
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L6
	.word	.L4
	.word	.L7
	.word	.L6
	.word	.L4
.L7:
	ldr	r3, [r6, #16]
	ldr	r0, [r3, #16]
	bl	be32_to_cpu
	ldr	r3, .L15+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L15+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
.L4:
	mov	r0, r5
	bl	lpfc_block_fabric_iocbs
.L3:
	add	r7, r5, #4
	mov	r0, r7
	bl	atomic_read
	cmp	r0, #0
	beq	.L14
.L10:
	mov	r1, #0
	ldr	r0, [r8]
	ldr	r3, [r4]
	mov	r2, r6
	ldr	r6, [r4, #8]
	bic	r3, r3, r0
	str	r3, [r4]
	str	r1, [r4, #8]
	mov	r0, r5
	mov	r1, r4
	str	r6, [r4, #4]
	blx	r6
	mov	r0, r7
	bl	atomic_dec
	ldr	r3, .L15+12
	mov	r1, r5
	ldr	r0, [r3]
	bl	test_bit
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	lpfc_resume_fabric_iocbs
.L6:
	ldr	r2, [r6, #16]
	ldr	r3, .L15+16
	ldr	r2, [r2, #16]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L3
	b	.L4
.L14:
	bl	BUG
	b	.L10
.L16:
	.align	2
.L15:
	.word	LPFC_IO_FABRIC
	.word	LSRJT_UNABLE_TPC
	.word	LSRJT_LOGICAL_BSY
	.word	FABRIC_COMANDS_BLOCKED
	.word	RJT_UNAVAIL_TEMP
	.size	lpfc_cmpl_fabric_iocb, .-lpfc_cmpl_fabric_iocb
	.comm	RJT_UNAVAIL_TEMP,4,4
	.comm	LSRJT_UNABLE_TPC,4,4
	.comm	LSRJT_LOGICAL_BSY,4,4
	.comm	LPFC_IO_FABRIC,4,4
	.comm	FABRIC_COMANDS_BLOCKED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
