	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cell_edac_check
_cell_edac_check:                       ## @cell_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r12
	movq	8(%r12), %rdi
	callq	_in_be64
	movl	%eax, %r14d
	movl	4(%r12), %eax
	xorl	%ebx, %ebx
	testb	$1, %al
	je	LBB0_3
## %bb.1:
	movq	_CBE_MIC_FIR_ECC_SINGLE_0_ERR@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	8(%r12), %rdi
	addq	$8, %rdi
	callq	_in_be64
	movq	_CBE_MIC_FIR_ECC_SINGLE_0_RESET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_cell_edac_count_ce
	movl	4(%r12), %eax
LBB0_3:
	testb	$2, %al
	je	LBB0_6
## %bb.4:
	movq	_CBE_MIC_FIR_ECC_SINGLE_1_ERR@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	8(%r12), %rdi
	addq	$4, %rdi
	callq	_in_be64
	movq	_CBE_MIC_FIR_ECC_SINGLE_1_RESET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	%r15, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	callq	_cell_edac_count_ce
	movl	4(%r12), %eax
LBB0_6:
	testb	$1, %al
	je	LBB0_9
## %bb.7:
	movq	_CBE_MIC_FIR_ECC_MULTI_0_ERR@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	8(%r12), %rdi
	addq	$8, %rdi
	callq	_in_be64
	movq	_CBE_MIC_FIR_ECC_MULTI_0_RESET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_cell_edac_count_ue
	movl	4(%r12), %eax
LBB0_9:
	testb	$2, %al
	je	LBB0_12
## %bb.10:
	movq	_CBE_MIC_FIR_ECC_MULTI_1_ERR@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_12
## %bb.11:
	movq	8(%r12), %rdi
	addq	$4, %rdi
	callq	_in_be64
	movq	_CBE_MIC_FIR_ECC_MULTI_1_RESET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	%r15, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	callq	_cell_edac_count_ue
LBB0_12:
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.14:
	movq	_CBE_MIC_FIR_ECC_ERR_MASK@GOTPCREL(%rip), %rax
	movq	_CBE_MIC_FIR_ECC_SET_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r14d
	movq	_CBE_MIC_FIR_ECC_RESET_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	notl	%ebx
	andl	%r14d, %ebx
	movq	8(%r12), %rdi
	movl	%ebx, %esi
	callq	_out_be64
	movq	8(%r12), %rdi
	callq	_in_be64
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mb                             ## TAILCALL
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CBE_MIC_FIR_ECC_SINGLE_0_ERR,4,2 ## @CBE_MIC_FIR_ECC_SINGLE_0_ERR
	.comm	_CBE_MIC_FIR_ECC_SINGLE_0_RESET,4,2 ## @CBE_MIC_FIR_ECC_SINGLE_0_RESET
	.comm	_CBE_MIC_FIR_ECC_SINGLE_1_ERR,4,2 ## @CBE_MIC_FIR_ECC_SINGLE_1_ERR
	.comm	_CBE_MIC_FIR_ECC_SINGLE_1_RESET,4,2 ## @CBE_MIC_FIR_ECC_SINGLE_1_RESET
	.comm	_CBE_MIC_FIR_ECC_MULTI_0_ERR,4,2 ## @CBE_MIC_FIR_ECC_MULTI_0_ERR
	.comm	_CBE_MIC_FIR_ECC_MULTI_0_RESET,4,2 ## @CBE_MIC_FIR_ECC_MULTI_0_RESET
	.comm	_CBE_MIC_FIR_ECC_MULTI_1_ERR,4,2 ## @CBE_MIC_FIR_ECC_MULTI_1_ERR
	.comm	_CBE_MIC_FIR_ECC_MULTI_1_RESET,4,2 ## @CBE_MIC_FIR_ECC_MULTI_1_RESET
	.comm	_CBE_MIC_FIR_ECC_ERR_MASK,4,2   ## @CBE_MIC_FIR_ECC_ERR_MASK
	.comm	_CBE_MIC_FIR_ECC_SET_MASK,4,2   ## @CBE_MIC_FIR_ECC_SET_MASK
	.comm	_CBE_MIC_FIR_ECC_RESET_MASK,4,2 ## @CBE_MIC_FIR_ECC_RESET_MASK
	.no_dead_strip	_cell_edac_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cell_edac_check
_cell_edac_check:                       ; @cell_edac_check
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	ldr	x21, [x0, #8]
	ldr	x0, [x21, #8]
	bl	_in_be64
	mov	x19, x0
	ldr	w8, [x21, #4]
	tbz	w8, #0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, _CBE_MIC_FIR_ECC_SINGLE_0_ERR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CBE_MIC_FIR_ECC_SINGLE_0_ERR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w19
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x21, #8]
	add	x0, x8, #8
	bl	_in_be64
	mov	x2, x0
Lloh3:
	adrp	x8, _CBE_MIC_FIR_ECC_SINGLE_0_RESET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CBE_MIC_FIR_ECC_SINGLE_0_RESET@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_cell_edac_count_ce
	ldr	w8, [x21, #4]
	tbnz	w8, #1, LBB0_4
	b	LBB0_6
LBB0_3:
	mov	w22, #0
	tbz	w8, #1, LBB0_6
LBB0_4:
Lloh6:
	adrp	x9, _CBE_MIC_FIR_ECC_SINGLE_1_ERR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CBE_MIC_FIR_ECC_SINGLE_1_ERR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w19
	b.eq	LBB0_6
; %bb.5:
	ldr	x8, [x21, #8]
	add	x0, x8, #4
	bl	_in_be64
	mov	x2, x0
Lloh9:
	adrp	x8, _CBE_MIC_FIR_ECC_SINGLE_1_RESET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CBE_MIC_FIR_ECC_SINGLE_1_RESET@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w22, w8, w22
	mov	x0, x20
	mov	w1, #1
	bl	_cell_edac_count_ce
	ldr	w8, [x21, #4]
LBB0_6:
	tbz	w8, #0, LBB0_9
; %bb.7:
Lloh12:
	adrp	x9, _CBE_MIC_FIR_ECC_MULTI_0_ERR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CBE_MIC_FIR_ECC_MULTI_0_ERR@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w19
	b.eq	LBB0_9
; %bb.8:
	ldr	x8, [x21, #8]
	add	x0, x8, #8
	bl	_in_be64
	mov	x2, x0
Lloh15:
	adrp	x8, _CBE_MIC_FIR_ECC_MULTI_0_RESET@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CBE_MIC_FIR_ECC_MULTI_0_RESET@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	orr	w22, w8, w22
	mov	x0, x20
	mov	w1, #0
	bl	_cell_edac_count_ue
	ldr	w8, [x21, #4]
LBB0_9:
	tbz	w8, #1, LBB0_12
; %bb.10:
Lloh18:
	adrp	x8, _CBE_MIC_FIR_ECC_MULTI_1_ERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CBE_MIC_FIR_ECC_MULTI_1_ERR@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_12
; %bb.11:
	ldr	x8, [x21, #8]
	add	x0, x8, #4
	bl	_in_be64
	mov	x2, x0
Lloh21:
	adrp	x8, _CBE_MIC_FIR_ECC_MULTI_1_RESET@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CBE_MIC_FIR_ECC_MULTI_1_RESET@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	orr	w22, w8, w22
	mov	x0, x20
	mov	w1, #1
	bl	_cell_edac_count_ue
LBB0_12:
	cbz	w22, LBB0_14
; %bb.13:
Lloh24:
	adrp	x8, _CBE_MIC_FIR_ECC_ERR_MASK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CBE_MIC_FIR_ECC_ERR_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _CBE_MIC_FIR_ECC_SET_MASK@GOTPAGE
Lloh28:
	ldr	x9, [x9, _CBE_MIC_FIR_ECC_SET_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w8, w19, w8
Lloh30:
	adrp	x9, _CBE_MIC_FIR_ECC_RESET_MASK@GOTPAGE
Lloh31:
	ldr	x9, [x9, _CBE_MIC_FIR_ECC_RESET_MASK@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w1, w8, w22
	ldr	x0, [x21, #8]
	bl	_out_be64
	ldr	x0, [x21, #8]
	bl	_in_be64
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mb
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_CBE_MIC_FIR_ECC_SINGLE_0_ERR,4,2 ; @CBE_MIC_FIR_ECC_SINGLE_0_ERR
	.comm	_CBE_MIC_FIR_ECC_SINGLE_0_RESET,4,2 ; @CBE_MIC_FIR_ECC_SINGLE_0_RESET
	.comm	_CBE_MIC_FIR_ECC_SINGLE_1_ERR,4,2 ; @CBE_MIC_FIR_ECC_SINGLE_1_ERR
	.comm	_CBE_MIC_FIR_ECC_SINGLE_1_RESET,4,2 ; @CBE_MIC_FIR_ECC_SINGLE_1_RESET
	.comm	_CBE_MIC_FIR_ECC_MULTI_0_ERR,4,2 ; @CBE_MIC_FIR_ECC_MULTI_0_ERR
	.comm	_CBE_MIC_FIR_ECC_MULTI_0_RESET,4,2 ; @CBE_MIC_FIR_ECC_MULTI_0_RESET
	.comm	_CBE_MIC_FIR_ECC_MULTI_1_ERR,4,2 ; @CBE_MIC_FIR_ECC_MULTI_1_ERR
	.comm	_CBE_MIC_FIR_ECC_MULTI_1_RESET,4,2 ; @CBE_MIC_FIR_ECC_MULTI_1_RESET
	.comm	_CBE_MIC_FIR_ECC_ERR_MASK,4,2   ; @CBE_MIC_FIR_ECC_ERR_MASK
	.comm	_CBE_MIC_FIR_ECC_SET_MASK,4,2   ; @CBE_MIC_FIR_ECC_SET_MASK
	.comm	_CBE_MIC_FIR_ECC_RESET_MASK,4,2 ; @CBE_MIC_FIR_ECC_RESET_MASK
	.no_dead_strip	_cell_edac_check
.subsections_via_symbols
