	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i82875p_process_error_info
_i82875p_process_error_info:            ## @i82875p_process_error_info
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rsi), %eax
	testb	$-127, %al
	je	LBB0_1
## %bb.2:
	testl	%edx, %edx
	je	LBB0_3
## %bb.4:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %r15d
	xorl	4(%rsi), %eax
	testb	$-127, %al
	je	LBB0_6
## %bb.5:
	movq	_HW_EVENT_ERR_UNCORRECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %r10
	movq	%r14, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	%r10
	pushq	$-1
	pushq	$-1
	pushq	$-1
	callq	_edac_mc_handle_error
	addq	$48, %rsp
	movl	4(%rbx), %eax
	movl	%eax, (%rbx)
LBB0_6:
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	8(%rbx), %esi
	sarl	%cl, %esi
	movl	%esi, 8(%rbx)
	movq	%r14, %rdi
	callq	_edac_mc_find_csrow_by_page
                                        ## kill: def $eax killed $eax def $rax
	testb	$-128, (%rbx)
	jne	LBB0_7
## %bb.8:
	movq	_HW_EVENT_ERR_CORRECTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	8(%rbx), %ecx
	movl	16(%rbx), %r9d
	xorl	%r10d, %r10d
	cmpl	$1, %r15d
	je	LBB0_10
## %bb.9:
	movl	12(%rbx), %r10d
	andl	$1, %r10d
LBB0_10:
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %r11
	leaq	L_.str.3(%rip), %r15
	movl	$1, %ebx
	movq	%r14, %rsi
	movl	$1, %edx
	xorl	%r8d, %r8d
	pushq	%r11
	pushq	%r15
	pushq	$-1
	pushq	%r10
	jmp	LBB0_11
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_3:
	movl	$1, %ebx
	jmp	LBB0_12
LBB0_7:
	movq	_HW_EVENT_ERR_UNCORRECTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	8(%rbx), %ecx
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %r10
	leaq	L_.str.2(%rip), %r11
	movl	$1, %ebx
	movq	%r14, %rsi
	movl	$1, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r10
	pushq	%r11
	pushq	$-1
	pushq	$-1
LBB0_11:
	pushq	%rax
	callq	_edac_mc_handle_error
	addq	$48, %rsp
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HW_EVENT_ERR_UNCORRECTED,4,2   ## @HW_EVENT_ERR_UNCORRECTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"UE overwrote CE"

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

	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
L_.str.2:                               ## @.str.2
	.asciz	"i82875p UE"

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

	.no_dead_strip	_i82875p_process_error_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i82875p_process_error_info
_i82875p_process_error_info:            ; @i82875p_process_error_info
	.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
	ldr	w8, [x1]
	mov	w9, #129
	tst	w8, w9
	b.eq	LBB0_7
; %bb.1:
	cbz	w2, LBB0_8
; %bb.2:
	mov	x20, x1
	mov	x19, x0
	ldr	x9, [x0]
	ldr	x9, [x9]
	ldr	w22, [x9]
	ldr	w9, [x1, #4]
	eor	w8, w9, w8
	mov	w9, #129
Lloh0:
	adrp	x23, _HW_EVENT_ERR_UNCORRECTED@GOTPAGE
Lloh1:
	ldr	x23, [x23, _HW_EVENT_ERR_UNCORRECTED@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
	tst	w8, w9
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x23]
Lloh4:
	adrp	x8, l_.str@PAGE
Lloh5:
	add	x8, x8, l_.str@PAGEOFF
	stp	x8, x21, [sp, #8]
	mov	w8, #-1
	str	w8, [sp]
	mov	x1, x19
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #-1
	mov	w7, #-1
	bl	_edac_mc_handle_error
	ldr	w8, [x20, #4]
	str	w8, [x20]
LBB0_4:
Lloh6:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x20, #8]
	asr	w1, w9, w8
	str	w1, [x20, #8]
	mov	x0, x19
	bl	_edac_mc_find_csrow_by_page
	mov	x6, x0
	ldrb	w8, [x20]
	tbnz	w8, #7, LBB0_9
; %bb.5:
Lloh9:
	adrp	x8, _HW_EVENT_ERR_CORRECTED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HW_EVENT_ERR_CORRECTED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w3, [x20, #8]
	ldr	w5, [x20, #16]
	cmp	w22, #1
	b.ne	LBB0_10
; %bb.6:
	mov	w7, #0
	b	LBB0_11
LBB0_7:
	mov	w20, #0
	b	LBB0_13
LBB0_8:
	mov	w20, #1
	b	LBB0_13
LBB0_9:
	ldr	w0, [x23]
	ldr	w3, [x20, #8]
Lloh12:
	adrp	x8, l_.str.2@PAGE
Lloh13:
	add	x8, x8, l_.str.2@PAGEOFF
	stp	x8, x21, [sp, #8]
	mov	w8, #-1
	str	w8, [sp]
	mov	w20, #1
	mov	x1, x19
	mov	w2, #1
	mov	w4, #0
	mov	w5, #0
	mov	w7, #-1
	b	LBB0_12
LBB0_10:
	ldr	w8, [x20, #12]
	and	w7, w8, #0x1
LBB0_11:
Lloh14:
	adrp	x8, l_.str.3@PAGE
Lloh15:
	add	x8, x8, l_.str.3@PAGEOFF
	stp	x8, x21, [sp, #8]
	mov	w8, #-1
	str	w8, [sp]
	mov	w20, #1
	mov	x1, x19
	mov	w2, #1
	mov	w4, #0
LBB0_12:
	bl	_edac_mc_handle_error
LBB0_13:
	mov	x0, x20
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_HW_EVENT_ERR_UNCORRECTED,4,2   ; @HW_EVENT_ERR_UNCORRECTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UE overwrote CE"

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

	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
l_.str.2:                               ; @.str.2
	.asciz	"i82875p UE"

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

	.no_dead_strip	_i82875p_process_error_info
.subsections_via_symbols
