	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_clear_blocks_parity
_bnx2x_clear_blocks_parity:             ## @bnx2x_clear_blocks_parity
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_AEU_INPUTS_ATTN_BITS_MCP_LATCHED_ROM_PARITY@GOTPCREL(%rip), %rax
	movq	_AEU_INPUTS_ATTN_BITS_MCP_LATCHED_SCPAD_PARITY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	%rdi, %r15
	movq	_AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_RX_PARITY@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_TX_PARITY@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	_XSEM_REG_FAST_MEMORY@GOTPCREL(%rip), %rax
	movq	_SEM_FAST_REG_PARITY_RST@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	addq	(%rax), %rsi
	movl	$1, %edx
	callq	_REG_WR
	movq	_TSEM_REG_FAST_MEMORY@GOTPCREL(%rip), %rax
	movq	(%rbx), %rsi
	addq	(%rax), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_REG_WR
	movq	_USEM_REG_FAST_MEMORY@GOTPCREL(%rip), %rax
	movq	(%rbx), %rsi
	addq	(%rax), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_REG_WR
	movq	_CSEM_REG_FAST_MEMORY@GOTPCREL(%rip), %rax
	movq	(%rbx), %rsi
	addq	(%rax), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_REG_WR
	movq	_bnx2x_blocks_parity_data@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	leaq	L_.str(%rip), %r14
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_bnx2x_parity_reg_mask
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r12d
	movq	(%r13), %rax
	movl	4(%rax,%rbx,8), %esi
	movq	%r15, %rdi
	callq	_REG_RD
	andl	%r12d, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_NETIF_MSG_HW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%r13), %rcx
	movl	(%rcx,%rbx,8), %edx
	movq	%r14, %rsi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_DP
	jmp	LBB0_5
LBB0_6:
	movq	_MISC_REG_AEU_AFTER_INVERT_4_MCP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_REG_RD
	andl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_8
## %bb.7:
	movq	_NETIF_MSG_HW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_DP
LBB0_8:
	movq	_MISC_REG_AEU_CLR_LATCH_SIGNAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	movl	$1920, %edx                     ## imm = 0x780
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_WR                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AEU_INPUTS_ATTN_BITS_MCP_LATCHED_ROM_PARITY,4,2 ## @AEU_INPUTS_ATTN_BITS_MCP_LATCHED_ROM_PARITY
	.comm	_AEU_INPUTS_ATTN_BITS_MCP_LATCHED_SCPAD_PARITY,4,2 ## @AEU_INPUTS_ATTN_BITS_MCP_LATCHED_SCPAD_PARITY
	.comm	_AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_RX_PARITY,4,2 ## @AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_RX_PARITY
	.comm	_AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_TX_PARITY,4,2 ## @AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_TX_PARITY
	.comm	_XSEM_REG_FAST_MEMORY,8,3       ## @XSEM_REG_FAST_MEMORY
	.comm	_SEM_FAST_REG_PARITY_RST,8,3    ## @SEM_FAST_REG_PARITY_RST
	.comm	_TSEM_REG_FAST_MEMORY,8,3       ## @TSEM_REG_FAST_MEMORY
	.comm	_USEM_REG_FAST_MEMORY,8,3       ## @USEM_REG_FAST_MEMORY
	.comm	_CSEM_REG_FAST_MEMORY,8,3       ## @CSEM_REG_FAST_MEMORY
	.comm	_bnx2x_blocks_parity_data,8,3   ## @bnx2x_blocks_parity_data
	.comm	_NETIF_MSG_HW,4,2               ## @NETIF_MSG_HW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Parity errors in %s: 0x%x\n"

	.comm	_MISC_REG_AEU_AFTER_INVERT_4_MCP,4,2 ## @MISC_REG_AEU_AFTER_INVERT_4_MCP
L_.str.1:                               ## @.str.1
	.asciz	"Parity error in MCP: 0x%x\n"

	.comm	_MISC_REG_AEU_CLR_LATCH_SIGNAL,8,3 ## @MISC_REG_AEU_CLR_LATCH_SIGNAL
	.no_dead_strip	_bnx2x_clear_blocks_parity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_clear_blocks_parity
_bnx2x_clear_blocks_parity:             ; @bnx2x_clear_blocks_parity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x8, _AEU_INPUTS_ATTN_BITS_MCP_LATCHED_ROM_PARITY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AEU_INPUTS_ATTN_BITS_MCP_LATCHED_ROM_PARITY@GOTPAGEOFF]
Lloh2:
	adrp	x9, _AEU_INPUTS_ATTN_BITS_MCP_LATCHED_SCPAD_PARITY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AEU_INPUTS_ATTN_BITS_MCP_LATCHED_SCPAD_PARITY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_RX_PARITY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_RX_PARITY@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_TX_PARITY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_TX_PARITY@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _XSEM_REG_FAST_MEMORY@GOTPAGE
Lloh13:
	ldr	x10, [x10, _XSEM_REG_FAST_MEMORY@GOTPAGEOFF]
	orr	w23, w8, w9
Lloh14:
	ldr	x8, [x10]
Lloh15:
	adrp	x20, _SEM_FAST_REG_PARITY_RST@GOTPAGE
Lloh16:
	ldr	x20, [x20, _SEM_FAST_REG_PARITY_RST@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x1, x9, x8
	mov	w2, #1
	bl	_REG_WR
Lloh17:
	adrp	x8, _TSEM_REG_FAST_MEMORY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TSEM_REG_FAST_MEMORY@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x9, [x20]
	add	x1, x9, x8
	mov	x0, x19
	mov	w2, #1
	bl	_REG_WR
Lloh20:
	adrp	x8, _USEM_REG_FAST_MEMORY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _USEM_REG_FAST_MEMORY@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	x9, [x20]
	add	x1, x9, x8
	mov	x0, x19
	mov	w2, #1
	bl	_REG_WR
Lloh23:
	adrp	x8, _CSEM_REG_FAST_MEMORY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CSEM_REG_FAST_MEMORY@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	ldr	x9, [x20]
	add	x1, x9, x8
	mov	x0, x19
	mov	w2, #1
	bl	_REG_WR
Lloh26:
	adrp	x25, _bnx2x_blocks_parity_data@GOTPAGE
Lloh27:
	ldr	x25, [x25, _bnx2x_blocks_parity_data@GOTPAGEOFF]
	ldr	x0, [x25]
	bl	_ARRAY_SIZE
Lloh28:
	adrp	x24, _NETIF_MSG_HW@GOTPAGE
Lloh29:
	ldr	x24, [x24, _NETIF_MSG_HW@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x26, #0
	mov	x20, #0
Lloh30:
	adrp	x21, l_.str@PAGE
Lloh31:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	ldr	x0, [x25]
	bl	_ARRAY_SIZE
	add	x26, x26, #8
	cmp	x20, w0, sxtw
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_parity_reg_mask
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
	ldr	x8, [x25]
	add	x8, x8, x26
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	_REG_RD
	ands	w8, w0, w22
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x24]
	ldr	x9, [x25]
	ldr	w2, [x9, x26]
	str	x8, [sp]
	mov	x1, x21
	bl	_DP
	b	LBB0_2
LBB0_6:
Lloh32:
	adrp	x8, _MISC_REG_AEU_AFTER_INVERT_4_MCP@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MISC_REG_AEU_AFTER_INVERT_4_MCP@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_REG_RD
	ands	w2, w0, w23
	b.eq	LBB0_8
; %bb.7:
	ldr	w0, [x24]
Lloh35:
	adrp	x1, l_.str.1@PAGE
Lloh36:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
LBB0_8:
Lloh37:
	adrp	x8, _MISC_REG_AEU_CLR_LATCH_SIGNAL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MISC_REG_AEU_CLR_LATCH_SIGNAL@GOTPAGEOFF]
Lloh39:
	ldr	x1, [x8]
	mov	x0, x19
	mov	w2, #1920
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_REG_WR
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_AEU_INPUTS_ATTN_BITS_MCP_LATCHED_ROM_PARITY,4,2 ; @AEU_INPUTS_ATTN_BITS_MCP_LATCHED_ROM_PARITY
	.comm	_AEU_INPUTS_ATTN_BITS_MCP_LATCHED_SCPAD_PARITY,4,2 ; @AEU_INPUTS_ATTN_BITS_MCP_LATCHED_SCPAD_PARITY
	.comm	_AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_RX_PARITY,4,2 ; @AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_RX_PARITY
	.comm	_AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_TX_PARITY,4,2 ; @AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_TX_PARITY
	.comm	_XSEM_REG_FAST_MEMORY,8,3       ; @XSEM_REG_FAST_MEMORY
	.comm	_SEM_FAST_REG_PARITY_RST,8,3    ; @SEM_FAST_REG_PARITY_RST
	.comm	_TSEM_REG_FAST_MEMORY,8,3       ; @TSEM_REG_FAST_MEMORY
	.comm	_USEM_REG_FAST_MEMORY,8,3       ; @USEM_REG_FAST_MEMORY
	.comm	_CSEM_REG_FAST_MEMORY,8,3       ; @CSEM_REG_FAST_MEMORY
	.comm	_bnx2x_blocks_parity_data,8,3   ; @bnx2x_blocks_parity_data
	.comm	_NETIF_MSG_HW,4,2               ; @NETIF_MSG_HW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Parity errors in %s: 0x%x\n"

	.comm	_MISC_REG_AEU_AFTER_INVERT_4_MCP,4,2 ; @MISC_REG_AEU_AFTER_INVERT_4_MCP
l_.str.1:                               ; @.str.1
	.asciz	"Parity error in MCP: 0x%x\n"

	.comm	_MISC_REG_AEU_CLR_LATCH_SIGNAL,8,3 ; @MISC_REG_AEU_CLR_LATCH_SIGNAL
	.no_dead_strip	_bnx2x_clear_blocks_parity
.subsections_via_symbols
