	.file	"extr_lpfc_sli.c_lpfc_sli4_write_eq_db.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	lpfc_sli4_write_eq_db
	.type	lpfc_sli4_write_eq_db, @function
lpfc_sli4_write_eq_db:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, ecx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rsi, rsi
	je	.L10
	mov	eax, edx
	or	eax, ecx
	je	.L3
	xor	edi, edi
.L2:
	call	unlikely@PLT
	test	rax, rax
	jne	.L1
	mov	QWORD PTR [rsp], 0
	mov	r13, rsp
	test	ebp, ebp
	je	.L5
	mov	edi, DWORD PTR lpfc_eqcq_doorbell_arm[rip]
	mov	edx, 1
	mov	rsi, r13
	call	bf_set@PLT
	mov	edi, DWORD PTR lpfc_eqcq_doorbell_eqci[rip]
	mov	edx, 1
	mov	rsi, r13
	call	bf_set@PLT
.L5:
	mov	edi, DWORD PTR lpfc_eqcq_doorbell_num_released[rip]
	mov	edx, r12d
	mov	rsi, r13
	call	bf_set@PLT
	mov	edx, DWORD PTR LPFC_QUEUE_TYPE_EVENT[rip]
	mov	edi, DWORD PTR lpfc_eqcq_doorbell_qt[rip]
	mov	rsi, r13
	call	bf_set@PLT
	mov	ecx, DWORD PTR LPFC_EQID_HI_FIELD_SHIFT[rip]
	mov	edx, DWORD PTR [rbx]
	mov	rsi, r13
	mov	edi, DWORD PTR lpfc_eqcq_doorbell_eqid_hi[rip]
	sar	edx, cl
	call	bf_set@PLT
	mov	edx, DWORD PTR [rbx]
	mov	edi, DWORD PTR lpfc_eqcq_doorbell_eqid_lo[rip]
	mov	rsi, r13
	call	bf_set@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	rdi, QWORD PTR [rsp]
	mov	esi, DWORD PTR 8[rax]
	call	writel@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	rcx, QWORD PTR INTx[rip]
	cmp	QWORD PTR [rax], rcx
	je	.L17
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, 1
	call	unlikely@PLT
	test	rax, rax
	jne	.L1
	mov	QWORD PTR [rsp], 0
	mov	r13, rsp
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, 1
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L17:
	cmp	DWORD PTR LPFC_QUEUE_REARM[rip], ebp
	jne	.L1
	mov	edi, DWORD PTR 8[rax]
	call	readl@PLT
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	lpfc_sli4_write_eq_db, .-lpfc_sli4_write_eq_db
	.comm	lpfc_eqcq_doorbell_qt,4,4
	.comm	lpfc_eqcq_doorbell_num_released,4,4
	.comm	lpfc_eqcq_doorbell_eqid_lo,4,4
	.comm	lpfc_eqcq_doorbell_eqid_hi,4,4
	.comm	lpfc_eqcq_doorbell_eqci,4,4
	.comm	lpfc_eqcq_doorbell_arm,4,4
	.comm	LPFC_QUEUE_TYPE_EVENT,4,4
	.comm	LPFC_QUEUE_REARM,4,4
	.comm	LPFC_EQID_HI_FIELD_SHIFT,4,4
	.comm	INTx,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_sli4_write_eq_db.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	lpfc_sli4_write_eq_db
	.syntax unified
	.arm
	.fpu softvfp
	.type	lpfc_sli4_write_eq_db, %function
lpfc_sli4_write_eq_db:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r6, r3
	ldr	r3, .L20
	sub	sp, sp, #12
	subs	r4, r1, #0
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	beq	.L10
	orrs	r3, r2, r6
	movne	r0, #0
	bne	.L2
	mov	r0, #1
	bl	unlikely
	cmp	r0, #0
	streq	r0, [sp]
	bne	.L1
.L16:
	mov	r7, sp
	b	.L5
.L10:
	mov	r0, #1
.L2:
	bl	unlikely
	cmp	r0, #0
	bne	.L1
	cmp	r6, #0
	str	r0, [sp]
	beq	.L16
	mov	r7, sp
	ldr	r3, .L20+4
	mov	r1, r7
	mov	r2, #1
	ldr	r0, [r3]
	bl	bf_set
	ldr	r3, .L20+8
	mov	r1, r7
	mov	r2, #1
	ldr	r0, [r3]
	bl	bf_set
.L5:
	ldr	r3, .L20+12
	mov	r2, r5
	mov	r1, r7
	ldr	r0, [r3]
	bl	bf_set
	ldr	r3, .L20+16
	ldr	r2, .L20+20
	mov	r1, r7
	ldr	r2, [r2]
	ldr	r0, [r3]
	bl	bf_set
	ldr	r3, .L20+24
	ldr	r1, [r4]
	ldr	r2, [r3]
	ldr	r3, .L20+28
	asr	r2, r1, r2
	ldr	r0, [r3]
	mov	r1, r7
	bl	bf_set
	ldr	r3, .L20+32
	ldr	r2, [r4]
	mov	r1, r7
	ldr	r0, [r3]
	bl	bf_set
	ldr	r3, [r4, #4]
	ldr	r0, [sp]
	ldr	r1, [r3, #4]
	bl	writel
	ldr	r3, [r4, #4]
	ldr	r2, .L20+36
	ldr	r1, [r3]
	ldr	r2, [r2]
	cmp	r1, r2
	bne	.L1
	ldr	r2, .L20+40
	ldr	r2, [r2]
	cmp	r2, r6
	beq	.L18
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L18:
	ldr	r0, [r3, #4]
	bl	readl
	b	.L1
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	lpfc_eqcq_doorbell_arm
	.word	lpfc_eqcq_doorbell_eqci
	.word	lpfc_eqcq_doorbell_num_released
	.word	lpfc_eqcq_doorbell_qt
	.word	LPFC_QUEUE_TYPE_EVENT
	.word	LPFC_EQID_HI_FIELD_SHIFT
	.word	lpfc_eqcq_doorbell_eqid_hi
	.word	lpfc_eqcq_doorbell_eqid_lo
	.word	INTx
	.word	LPFC_QUEUE_REARM
	.size	lpfc_sli4_write_eq_db, .-lpfc_sli4_write_eq_db
	.comm	lpfc_eqcq_doorbell_qt,4,4
	.comm	lpfc_eqcq_doorbell_num_released,4,4
	.comm	lpfc_eqcq_doorbell_eqid_lo,4,4
	.comm	lpfc_eqcq_doorbell_eqid_hi,4,4
	.comm	lpfc_eqcq_doorbell_eqci,4,4
	.comm	lpfc_eqcq_doorbell_arm,4,4
	.comm	LPFC_QUEUE_TYPE_EVENT,4,4
	.comm	LPFC_QUEUE_REARM,4,4
	.comm	LPFC_EQID_HI_FIELD_SHIFT,4,4
	.comm	INTx,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
