	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_enable_ecc_interrupts
_xgbe_enable_ecc_interrupts:            ## @xgbe_enable_ecc_interrupts
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	_XP_ECC_ISR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_XP_IOREAD
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_XP_IOWRITE
	movq	_XP_ECC_IER@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_TX_DED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	$1, %ecx
	callq	_XP_SET_BITS
	movl	(%r14), %esi
	movq	_TX_SEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	$1, %ecx
	callq	_XP_SET_BITS
	movl	(%r14), %esi
	movq	_RX_DED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	$1, %ecx
	callq	_XP_SET_BITS
	movl	(%r14), %esi
	movq	_RX_SEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	$1, %ecx
	callq	_XP_SET_BITS
	movl	(%r14), %esi
	movq	_DESC_DED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	$1, %ecx
	callq	_XP_SET_BITS
	movl	(%r14), %esi
	movq	_DESC_SEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	$1, %ecx
	callq	_XP_SET_BITS
	movl	(%r14), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_XP_IOWRITE                     ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XP_ECC_ISR,4,2                 ## @XP_ECC_ISR
	.comm	_XP_ECC_IER,4,2                 ## @XP_ECC_IER
	.comm	_TX_DED,4,2                     ## @TX_DED
	.comm	_TX_SEC,4,2                     ## @TX_SEC
	.comm	_RX_DED,4,2                     ## @RX_DED
	.comm	_RX_SEC,4,2                     ## @RX_SEC
	.comm	_DESC_DED,4,2                   ## @DESC_DED
	.comm	_DESC_SEC,4,2                   ## @DESC_SEC
	.no_dead_strip	_xgbe_enable_ecc_interrupts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_enable_ecc_interrupts
_xgbe_enable_ecc_interrupts:            ; @xgbe_enable_ecc_interrupts
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x20, _XP_ECC_ISR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _XP_ECC_ISR@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_XP_IOREAD
	mov	x2, x0
	ldr	w1, [x20]
	mov	x0, x19
	bl	_XP_IOWRITE
Lloh2:
	adrp	x20, _XP_ECC_IER@GOTPAGE
Lloh3:
	ldr	x20, [x20, _XP_ECC_IER@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh4:
	adrp	x8, _TX_DED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TX_DED@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	w0, #0
	mov	w3, #1
	bl	_XP_SET_BITS
	ldr	w1, [x20]
Lloh7:
	adrp	x8, _TX_SEC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TX_SEC@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	w0, #0
	mov	w3, #1
	bl	_XP_SET_BITS
	ldr	w1, [x20]
Lloh10:
	adrp	x8, _RX_DED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RX_DED@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	w0, #0
	mov	w3, #1
	bl	_XP_SET_BITS
	ldr	w1, [x20]
Lloh13:
	adrp	x8, _RX_SEC@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RX_SEC@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	w0, #0
	mov	w3, #1
	bl	_XP_SET_BITS
	ldr	w1, [x20]
Lloh16:
	adrp	x8, _DESC_DED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DESC_DED@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	w0, #0
	mov	w3, #1
	bl	_XP_SET_BITS
	ldr	w1, [x20]
Lloh19:
	adrp	x8, _DESC_SEC@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DESC_SEC@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	w0, #0
	mov	w3, #1
	bl	_XP_SET_BITS
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_XP_IOWRITE
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_XP_ECC_ISR,4,2                 ; @XP_ECC_ISR
	.comm	_XP_ECC_IER,4,2                 ; @XP_ECC_IER
	.comm	_TX_DED,4,2                     ; @TX_DED
	.comm	_TX_SEC,4,2                     ; @TX_SEC
	.comm	_RX_DED,4,2                     ; @RX_DED
	.comm	_RX_SEC,4,2                     ; @RX_SEC
	.comm	_DESC_DED,4,2                   ; @DESC_DED
	.comm	_DESC_SEC,4,2                   ; @DESC_SEC
	.no_dead_strip	_xgbe_enable_ecc_interrupts
.subsections_via_symbols
