	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc4xx_edac_check
_ppc4xx_edac_check:                     ## @ppc4xx_edac_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	-16(%rbp), %rsi
	callq	_ppc4xx_ecc_get_status
	movl	-16(%rbp), %eax
	movq	_SDRAM_ECCES_UE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	leaq	-16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ppc4xx_edac_handle_ue
	movl	-16(%rbp), %eax
LBB0_2:
	movq	_SDRAM_ECCES_CE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	leaq	-16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ppc4xx_edac_handle_ce
LBB0_4:
	leaq	-16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ppc4xx_ecc_clear_status
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDRAM_ECCES_UE,4,2             ## @SDRAM_ECCES_UE
	.comm	_SDRAM_ECCES_CE,4,2             ## @SDRAM_ECCES_CE
	.no_dead_strip	_ppc4xx_edac_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppc4xx_edac_check
_ppc4xx_edac_check:                     ; @ppc4xx_edac_check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x1, sp, #8
	bl	_ppc4xx_ecc_get_status
	ldr	w8, [sp, #8]
Lloh0:
	adrp	x9, _SDRAM_ECCES_UE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SDRAM_ECCES_UE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	add	x1, sp, #8
	mov	x0, x19
	bl	_ppc4xx_edac_handle_ue
	ldr	w8, [sp, #8]
LBB0_2:
Lloh3:
	adrp	x9, _SDRAM_ECCES_CE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SDRAM_ECCES_CE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	add	x1, sp, #8
	mov	x0, x19
	bl	_ppc4xx_edac_handle_ce
LBB0_4:
	add	x1, sp, #8
	mov	x0, x19
	bl	_ppc4xx_ecc_clear_status
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SDRAM_ECCES_UE,4,2             ; @SDRAM_ECCES_UE
	.comm	_SDRAM_ECCES_CE,4,2             ; @SDRAM_ECCES_CE
	.no_dead_strip	_ppc4xx_edac_check
.subsections_via_symbols
