	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_process_ce
_do_process_ce:                         ## @do_process_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %ebx
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	(%rdi), %r15
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	callq	_edac_dbg
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	addb	$-4, %cl
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	sarl	%cl, %ebx
	cmpq	$0, 8(%r15)
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_12
## %bb.1:
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %r14d
	shrl	%r14d
	andl	$3, %r14d
	movq	_KERN_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %r8d
	movl	8(%rax), %r9d
	movl	12(%rax), %r13d
	movl	16(%rax), %ebx
	movl	20(%rax), %r10d
	movl	24(%rax), %r12d
	movl	28(%rax), %r11d
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	pushq	%r11
	pushq	%r12
	pushq	%r10
	pushq	%rbx
	pushq	%r13
	callq	_e752x_printk
	addq	$48, %rsp
	movq	(%r15), %rax
	xorl	%ebx, %ebx
	cmpl	%r14d, (%rax)
	je	LBB0_10
## %bb.2:
	movl	$1, %ebx
	cmpl	%r14d, 4(%rax)
	je	LBB0_10
## %bb.3:
	movl	$2, %ebx
	cmpl	%r14d, 8(%rax)
	je	LBB0_10
## %bb.4:
	movl	$3, %ebx
	cmpl	%r14d, 12(%rax)
	je	LBB0_10
## %bb.5:
	movl	$4, %ebx
	cmpl	%r14d, 16(%rax)
	je	LBB0_10
## %bb.6:
	movl	$5, %ebx
	cmpl	%r14d, 20(%rax)
	je	LBB0_10
## %bb.7:
	movl	$6, %ebx
	cmpl	%r14d, 24(%rax)
	je	LBB0_10
## %bb.8:
	movl	$7, %ebx
	cmpl	%r14d, 28(%rax)
	jne	LBB0_9
LBB0_10:
	movq	_KERN_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_e752x_printk
	movl	%ebx, %r14d
LBB0_11:
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_13
LBB0_12:
	movq	%r13, %rdi
	movl	%ebx, %r12d
	movl	%ebx, %esi
	callq	_edac_mc_find_csrow_by_page
	movl	%r14d, %r13d
	movl	%eax, %r14d
LBB0_13:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	notl	%ebx
	andl	$1, %ebx
	movq	_HW_EVENT_ERR_CORRECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	shll	$4, %edi
	callq	_offset_in_page
	subq	$8, %rsp
	leaq	L_.str.5(%rip), %r10
	leaq	L_.str.4(%rip), %r11
	movl	%r15d, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	$1, %edx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	movl	%r13d, %r9d
	pushq	%r10
	pushq	%r11
	pushq	$-1
	pushq	%rbx
	pushq	%r14
	callq	_edac_mc_handle_error
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_KERN_WARNING@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$8, %edx
	xorl	%eax, %eax
	callq	_e752x_printk
	movl	(%rbx), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %ecx
	callq	_e752x_mc_printk
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_KERN_WARNING,4,2               ## @KERN_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"Test row %d Table %d %d %d %d %d %d %d %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Test computed row %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"row %d not found in remap table\n"

	.comm	_HW_EVENT_ERR_CORRECTED,4,2     ## @HW_EVENT_ERR_CORRECTED
L_.str.4:                               ## @.str.4
	.asciz	"e752x CE"

L_.str.5:                               ## @.str.5
	.space	1

	.no_dead_strip	_do_process_ce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_process_ce
_do_process_ce:                         ; @do_process_ce
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	ldr	x26, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	bl	_edac_dbg
Lloh2:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	sub	w8, w8, #4
	asr	w21, w22, w8
	ldr	x8, [x26, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ubfx	w24, w21, #1, #2
Lloh5:
	adrp	x25, _KERN_WARNING@GOTPAGE
Lloh6:
	ldr	x25, [x25, _KERN_WARNING@GOTPAGEOFF]
	ldr	w0, [x25]
	ldr	x8, [x26]
	ldp	w9, w10, [x8]
	ldp	w11, w12, [x8, #8]
	ldp	w13, w14, [x8, #16]
	ldp	w15, w8, [x8, #24]
	stp	x15, x8, [sp, #48]
	stp	x13, x14, [sp, #32]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	stp	x11, x12, [sp, #16]
	stp	x9, x10, [sp]
	mov	x2, x24
	bl	_e752x_printk
	ldr	x8, [x26]
	ldr	w9, [x8]
	cmp	w9, w24
	b.ne	LBB0_4
; %bb.2:
	mov	w24, #0
	b	LBB0_18
LBB0_3:
	mov	x0, x20
	mov	x1, x21
	bl	_edac_mc_find_csrow_by_page
	mov	x24, x0
	b	LBB0_19
LBB0_4:
	ldr	w9, [x8, #4]
	cmp	w9, w24
	b.ne	LBB0_6
; %bb.5:
	mov	w24, #1
	b	LBB0_18
LBB0_6:
	ldr	w9, [x8, #8]
	cmp	w9, w24
	b.ne	LBB0_8
; %bb.7:
	mov	w24, #2
	b	LBB0_18
LBB0_8:
	ldr	w9, [x8, #12]
	cmp	w9, w24
	b.ne	LBB0_10
; %bb.9:
	mov	w24, #3
	b	LBB0_18
LBB0_10:
	ldr	w9, [x8, #16]
	cmp	w9, w24
	b.ne	LBB0_12
; %bb.11:
	mov	w24, #4
	b	LBB0_18
LBB0_12:
	ldr	w9, [x8, #20]
	cmp	w9, w24
	b.ne	LBB0_14
; %bb.13:
	mov	w24, #5
	b	LBB0_18
LBB0_14:
	ldr	w9, [x8, #24]
	cmp	w9, w24
	b.ne	LBB0_16
; %bb.15:
	mov	w24, #6
	b	LBB0_18
LBB0_16:
	ldr	w8, [x8, #28]
	cmp	w8, w24
	b.ne	LBB0_20
; %bb.17:
	mov	w24, #7
LBB0_18:
	ldr	w0, [x25]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x24
	bl	_e752x_printk
LBB0_19:
	mvn	w8, w23
	and	w23, w8, #0x1
Lloh11:
	adrp	x8, _HW_EVENT_ERR_CORRECTED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HW_EVENT_ERR_CORRECTED@GOTPAGEOFF]
Lloh13:
	ldr	w25, [x8]
	lsl	w0, w22, #4
	bl	_offset_in_page
	mov	x4, x0
Lloh14:
	adrp	x8, l_.str.5@PAGE
Lloh15:
	add	x8, x8, l_.str.5@PAGEOFF
Lloh16:
	adrp	x9, l_.str.4@PAGE
Lloh17:
	add	x9, x9, l_.str.4@PAGEOFF
	stp	x9, x8, [sp, #8]
	mov	w8, #-1
	str	w8, [sp]
	mov	x0, x25
	mov	x1, x20
	mov	w2, #1
	mov	x3, x21
	mov	x5, x19
	mov	x6, x24
	mov	x7, x23
	bl	_edac_mc_handle_error
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_20:
	ldr	w0, [x25]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #8
	bl	_e752x_printk
	ldr	w1, [x25]
Lloh20:
	adrp	x2, l_.str.3@PAGE
Lloh21:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x3, x24
	bl	_e752x_mc_printk
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_KERN_WARNING,4,2               ; @KERN_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"Test row %d Table %d %d %d %d %d %d %d %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Test computed row %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"row %d not found in remap table\n"

	.comm	_HW_EVENT_ERR_CORRECTED,4,2     ; @HW_EVENT_ERR_CORRECTED
l_.str.4:                               ; @.str.4
	.asciz	"e752x CE"

l_.str.5:                               ; @.str.5
	.space	1

	.no_dead_strip	_do_process_ce
.subsections_via_symbols
