	.file	"extr_bnx2x_main.c_bnx2x_update_dsb_idx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bnx2x_update_dsb_idx, @function
bnx2x_update_dsb_idx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, QWORD PTR 16[rdi]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	call	barrier@PLT
	mov	rax, QWORD PTR 8[rbp]
	cmp	QWORD PTR [rbx], rax
	je	.L2
	mov	QWORD PTR [rbx], rax
	mov	r12d, DWORD PTR BNX2X_DEF_SB_ATT_IDX[rip]
.L2:
	mov	rax, QWORD PTR 0[rbp]
	cmp	QWORD PTR 8[rbx], rax
	je	.L3
	mov	QWORD PTR 8[rbx], rax
	or	r12d, DWORD PTR BNX2X_DEF_SB_IDX[rip]
.L3:
	xor	eax, eax
	call	barrier@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bnx2x_update_dsb_idx, .-bnx2x_update_dsb_idx
	.comm	BNX2X_DEF_SB_IDX,4,4
	.comm	BNX2X_DEF_SB_ATT_IDX,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_bnx2x_main.c_bnx2x_update_dsb_idx.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2x_update_dsb_idx, %function
bnx2x_update_dsb_idx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r6, [r0, #8]
	bl	barrier
	ldr	r2, [r4]
	ldr	r3, [r6, #4]
	cmp	r2, r3
	moveq	r5, #0
	ldrne	r2, .L7
	strne	r3, [r4]
	ldrne	r5, [r2]
	ldr	r3, [r6]
	ldr	r2, [r4, #4]
	cmp	r2, r3
	ldrne	r2, .L7+4
	strne	r3, [r4, #4]
	ldrne	r3, [r2]
	orrne	r5, r5, r3
	bl	barrier
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	BNX2X_DEF_SB_ATT_IDX
	.word	BNX2X_DEF_SB_IDX
	.size	bnx2x_update_dsb_idx, .-bnx2x_update_dsb_idx
	.comm	BNX2X_DEF_SB_IDX,4,4
	.comm	BNX2X_DEF_SB_ATT_IDX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
