	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc4xx_ecc_clear_status
_ppc4xx_ecc_clear_status:               ## @ppc4xx_ecc_clear_status
	.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	%rsi, %r14
	movq	(%rdi), %rbx
	movq	_SDRAM_ECCES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SDRAM_ECCES_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_mtsdram
	movq	_SDRAM_WMIRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SDRAM_WMIRQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	4(%r14), %edx
	movq	%rbx, %rdi
	callq	_mtsdram
	movq	_SDRAM_BESR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SDRAM_BESR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	8(%r14), %edx
	movq	%rbx, %rdi
	callq	_mtsdram
	movq	_SDRAM_BEARL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_mtsdram
	movq	_SDRAM_BEARH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mtsdram                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SDRAM_ECCES,4,2                ## @SDRAM_ECCES
	.comm	_SDRAM_ECCES_MASK,4,2           ## @SDRAM_ECCES_MASK
	.comm	_SDRAM_WMIRQ,4,2                ## @SDRAM_WMIRQ
	.comm	_SDRAM_WMIRQ_MASK,4,2           ## @SDRAM_WMIRQ_MASK
	.comm	_SDRAM_BESR,4,2                 ## @SDRAM_BESR
	.comm	_SDRAM_BESR_MASK,4,2            ## @SDRAM_BESR_MASK
	.comm	_SDRAM_BEARL,4,2                ## @SDRAM_BEARL
	.comm	_SDRAM_BEARH,4,2                ## @SDRAM_BEARH
	.no_dead_strip	_ppc4xx_ecc_clear_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppc4xx_ecc_clear_status
_ppc4xx_ecc_clear_status:               ; @ppc4xx_ecc_clear_status
	.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
	mov	x19, x1
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _SDRAM_ECCES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDRAM_ECCES@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _SDRAM_ECCES_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SDRAM_ECCES_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w2, w9, w8
	mov	x0, x20
	bl	_mtsdram
Lloh6:
	adrp	x8, _SDRAM_WMIRQ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SDRAM_WMIRQ@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w8, [x19, #4]
Lloh9:
	adrp	x9, _SDRAM_WMIRQ_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SDRAM_WMIRQ_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w2, w9, w8
	mov	x0, x20
	bl	_mtsdram
Lloh12:
	adrp	x8, _SDRAM_BESR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SDRAM_BESR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w8, [x19, #8]
Lloh15:
	adrp	x9, _SDRAM_BESR_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SDRAM_BESR_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	and	w2, w9, w8
	mov	x0, x20
	bl	_mtsdram
Lloh18:
	adrp	x8, _SDRAM_BEARL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SDRAM_BEARL@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_mtsdram
Lloh21:
	adrp	x8, _SDRAM_BEARH@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SDRAM_BEARH@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mtsdram
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SDRAM_ECCES,4,2                ; @SDRAM_ECCES
	.comm	_SDRAM_ECCES_MASK,4,2           ; @SDRAM_ECCES_MASK
	.comm	_SDRAM_WMIRQ,4,2                ; @SDRAM_WMIRQ
	.comm	_SDRAM_WMIRQ_MASK,4,2           ; @SDRAM_WMIRQ_MASK
	.comm	_SDRAM_BESR,4,2                 ; @SDRAM_BESR
	.comm	_SDRAM_BESR_MASK,4,2            ; @SDRAM_BESR_MASK
	.comm	_SDRAM_BEARL,4,2                ; @SDRAM_BEARL
	.comm	_SDRAM_BEARH,4,2                ; @SDRAM_BEARH
	.no_dead_strip	_ppc4xx_ecc_clear_status
.subsections_via_symbols
