	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cell_edac_count_ce
_cell_edac_count_ce:                    ## @cell_edac_count_ce
	.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
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	16(%rdi), %r13
	movq	8(%rdi), %rax
	movq	(%rax), %r12
	movl	(%rdi), %edi
	movl	4(%r13), %edx
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	callq	_dev_dbg
	movslq	%ebx, %rdx
	movq	%rdx, %rax
	shrq	$29, %rax
	leaq	(%rax,%rax), %rsi
	movslq	%r15d, %rbx
	orq	%rbx, %rsi
	cmpl	$3, (%r13)
	cmovneq	%rax, %rsi
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movq	%rsi, %rax
	shrq	%cl, %rax
	movq	_PAGE_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	notq	%r8
	andq	%rsi, %r8
	shrl	$21, %edx
	movzbl	%dl, %r9d
	movq	_HW_EVENT_ERR_CORRECTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	addq	(%r12), %rax
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %r10
	movq	%r14, %rsi
	movl	$1, %edx
	movq	%rax, %rcx
	pushq	%r10
	pushq	%r10
	pushq	$-1
	pushq	%rbx
	pushq	$0
	callq	_edac_mc_handle_error
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ECC CE err on node %d, channel %d, ar = 0x%016llx\n"

	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.comm	_PAGE_MASK,8,3                  ## @PAGE_MASK
	.comm	_HW_EVENT_ERR_CORRECTED,4,2     ## @HW_EVENT_ERR_CORRECTED
L_.str.1:                               ## @.str.1
	.space	1

	.no_dead_strip	_cell_edac_count_ce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cell_edac_count_ce
_cell_edac_count_ce:                    ; @cell_edac_count_ce
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldp	x8, x22, [x0, #8]
	ldr	x23, [x8]
	ldr	w0, [x0]
	ldr	w2, [x22, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x20
	mov	x4, x19
	bl	_dev_dbg
	sxtw	x8, w19
	lsr	x9, x8, #29
	ldr	w10, [x22]
	sxtw	x11, w20
	orr	x11, x11, x9, lsl #1
	cmp	w10, #3
	csel	x9, x11, x9, eq
Lloh2:
	adrp	x10, _PAGE_SHIFT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _PAGE_SHIFT@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	lsr	x10, x9, x10
Lloh5:
	adrp	x11, _PAGE_MASK@GOTPAGE
Lloh6:
	ldr	x11, [x11, _PAGE_MASK@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x11]
	bic	x4, x9, x11
	ubfx	x5, x8, #21, #8
Lloh8:
	adrp	x8, _HW_EVENT_ERR_CORRECTED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HW_EVENT_ERR_CORRECTED@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x8, [x23]
	add	x3, x8, x10
Lloh11:
	adrp	x8, l_.str.1@PAGE
Lloh12:
	add	x8, x8, l_.str.1@PAGEOFF
	stp	x8, x8, [sp, #8]
	mov	w8, #-1
	str	w8, [sp]
	mov	x1, x21
	mov	w2, #1
	mov	w6, #0
	mov	x7, x20
	bl	_edac_mc_handle_error
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ECC CE err on node %d, channel %d, ar = 0x%016llx\n"

	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.comm	_PAGE_MASK,8,3                  ; @PAGE_MASK
	.comm	_HW_EVENT_ERR_CORRECTED,4,2     ; @HW_EVENT_ERR_CORRECTED
l_.str.1:                               ; @.str.1
	.space	1

	.no_dead_strip	_cell_edac_count_ce
.subsections_via_symbols
