	.file	"extr_bnx2x_init.h_bnx2x_set_mcp_parity.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bnx2x_set_mcp_parity, @function
bnx2x_set_mcp_parity:
.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	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	or	edx, DWORD PTR MISC_AEU_ENABLE_MCP_PRTY_BITS[rip]
.L4:
	mov	rax, QWORD PTR mcp_attn_ctl_regs[rip]
	mov	rdi, rbp
	add	rbx, 1
	mov	esi, DWORD PTR [rax+r13]
	call	REG_WR@PLT
.L2:
	mov	rdi, QWORD PTR mcp_attn_ctl_regs[rip]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jle	.L8
	mov	rax, QWORD PTR mcp_attn_ctl_regs[rip]
	mov	rdi, rbp
	lea	r13, 0[0+rbx*4]
	mov	esi, DWORD PTR [rax+rbx*4]
	call	REG_RD@PLT
	mov	edx, eax
	test	r12, r12
	jne	.L9
	mov	eax, DWORD PTR MISC_AEU_ENABLE_MCP_PRTY_BITS[rip]
	not	eax
	and	edx, eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	add	rsp, 8
	.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
	.cfi_endproc
.LFE0:
	.size	bnx2x_set_mcp_parity, .-bnx2x_set_mcp_parity
	.comm	mcp_attn_ctl_regs,8,8
	.comm	MISC_AEU_ENABLE_MCP_PRTY_BITS,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_init.h_bnx2x_set_mcp_parity.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2x_set_mcp_parity, %function
bnx2x_set_mcp_parity:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r7, r1
	mov	r4, #0
	ldr	r5, .L9
	ldr	r8, .L9+4
.L2:
	ldr	r0, [r5]
	bl	ARRAY_SIZE
	cmp	r0, r4
	pople	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r5]
	mov	r0, r6
	ldr	r1, [r3, r4, lsl #2]
	bl	REG_RD
	ldr	r2, [r8]
	ldr	r1, [r5]
	cmp	r7, #0
	lsl	r3, r4, #2
	orrne	r2, r0, r2
	biceq	r2, r0, r2
	ldr	r1, [r1, r3]
	mov	r0, r6
	bl	REG_WR
	add	r4, r4, #1
	b	.L2
.L10:
	.align	2
.L9:
	.word	mcp_attn_ctl_regs
	.word	MISC_AEU_ENABLE_MCP_PRTY_BITS
	.size	bnx2x_set_mcp_parity, .-bnx2x_set_mcp_parity
	.comm	mcp_attn_ctl_regs,4,4
	.comm	MISC_AEU_ENABLE_MCP_PRTY_BITS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
