	.file	"extr_bnx2x_init.h_bnx2x_enable_blocks_parity.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bnx2x_enable_blocks_parity, @function
bnx2x_enable_blocks_parity:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 1
.L2:
	mov	rdi, QWORD PTR bnx2x_blocks_parity_data[rip]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jle	.L10
	mov	esi, ebx
	mov	rdi, rbp
	call	bnx2x_parity_reg_mask@PLT
	test	eax, eax
	je	.L3
	mov	rdx, QWORD PTR bnx2x_blocks_parity_data[rip]
	mov	rdi, rbp
	lea	rcx, [rdx+rbx*8]
	and	eax, DWORD PTR [rcx]
	mov	esi, DWORD PTR 4[rcx]
	mov	edx, eax
	call	REG_WR@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L10:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	esi, 1
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	bnx2x_set_mcp_parity@PLT
	.cfi_endproc
.LFE0:
	.size	bnx2x_enable_blocks_parity, .-bnx2x_enable_blocks_parity
	.comm	bnx2x_blocks_parity_data,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_bnx2x_init.h_bnx2x_enable_blocks_parity.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2x_enable_blocks_parity, %function
bnx2x_enable_blocks_parity:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, #0
	mov	r5, r0
	ldr	r6, .L11
	b	.L2
.L3:
	add	r4, r4, #1
.L2:
	ldr	r0, [r6]
	bl	ARRAY_SIZE
	cmp	r0, r4
	ble	.L10
	mov	r1, r4
	mov	r0, r5
	bl	bnx2x_parity_reg_mask
	subs	r2, r0, #0
	beq	.L3
	ldr	r3, [r6]
	mov	r0, r5
	ldr	r1, [r3, r4, lsl #3]
	add	r3, r3, r4, lsl #3
	and	r2, r2, r1
	ldr	r1, [r3, #4]
	bl	REG_WR
	b	.L3
.L10:
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	mov	r1, #1
	b	bnx2x_set_mcp_parity
.L12:
	.align	2
.L11:
	.word	bnx2x_blocks_parity_data
	.size	bnx2x_enable_blocks_parity, .-bnx2x_enable_blocks_parity
	.comm	bnx2x_blocks_parity_data,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
