	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i3000_process_error_info
_i3000_process_error_info:              ## @i3000_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rsi), %eax
	movq	_I3000_ERRSTS_BITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_1
## %bb.2:
	movl	$1, %r14d
	testl	%edx, %edx
	je	LBB0_8
## %bb.3:
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %rdx
	movl	(%rdx), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	xorl	4(%rsi), %eax
	testl	%ecx, %eax
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_edac_mc_handle_ce_no_info
	movl	4(%rbx), %eax
	movl	%eax, (%rbx)
LBB0_5:
	movl	12(%rbx), %esi
	movl	16(%rbx), %edi
	callq	_deap_pfn
	movq	%rax, %r12
	movl	12(%rbx), %edi
	callq	_deap_offset
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	12(%rbx), %edi
	callq	_deap_channel
	movl	%eax, %r13d
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_edac_mc_find_csrow_by_page
	movq	_I3000_ERRSTS_UE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	je	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %r8
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_edac_mc_handle_ue
	jmp	LBB0_8
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_7:
	movl	8(%rbx), %ecx
	xorl	%edx, %edx
	cmpl	$1, -44(%rbp)                   ## 4-byte Folded Reload
	cmovel	%edx, %r13d
	leaq	L_.str.2(%rip), %rdx
	movq	%rdx, (%rsp)
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %r8d
	movl	%r13d, %r9d
	callq	_edac_mc_handle_ce
LBB0_8:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I3000_ERRSTS_BITS,4,2          ## @I3000_ERRSTS_BITS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"UE overwrote CE"

	.comm	_I3000_ERRSTS_UE,4,2            ## @I3000_ERRSTS_UE
L_.str.1:                               ## @.str.1
	.asciz	"i3000 UE"

L_.str.2:                               ## @.str.2
	.asciz	"i3000 CE"

	.no_dead_strip	_i3000_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 i3000_process_error_info
_i3000_process_error_info:              ; @i3000_process_error_info
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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]
Lloh0:
	adrp	x9, _I3000_ERRSTS_BITS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I3000_ERRSTS_BITS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.1:
	cbz	w2, LBB0_8
; %bb.2:
	mov	x20, x1
	mov	x19, x0
	ldr	x10, [x0]
	ldr	w24, [x10]
	ldr	w10, [x1, #4]
	eor	w8, w10, w8
	tst	w8, w9
	b.eq	LBB0_4
; %bb.3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_edac_mc_handle_ce_no_info
	ldr	w8, [x20, #4]
	str	w8, [x20]
LBB0_4:
	ldp	w1, w0, [x20, #12]
	bl	_deap_pfn
	mov	x21, x0
	ldr	w0, [x20, #12]
	bl	_deap_offset
	mov	x22, x0
	ldr	w0, [x20, #12]
	bl	_deap_channel
	mov	x23, x0
	mov	x0, x19
	mov	x1, x21
	bl	_edac_mc_find_csrow_by_page
	mov	x7, x0
	ldr	w8, [x20]
Lloh5:
	adrp	x9, _I3000_ERRSTS_UE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _I3000_ERRSTS_UE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.5:
Lloh8:
	adrp	x4, l_.str.1@PAGE
Lloh9:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x7
	bl	_edac_mc_handle_ue
	b	LBB0_8
LBB0_6:
	mov	w0, #0
	b	LBB0_9
LBB0_7:
	ldr	w3, [x20, #8]
	cmp	w24, #1
	csel	w5, wzr, w23, eq
Lloh10:
	adrp	x6, l_.str.2@PAGE
Lloh11:
	add	x6, x6, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x4, x7
	bl	_edac_mc_handle_ce
LBB0_8:
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_I3000_ERRSTS_BITS,4,2          ; @I3000_ERRSTS_BITS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UE overwrote CE"

	.comm	_I3000_ERRSTS_UE,4,2            ; @I3000_ERRSTS_UE
l_.str.1:                               ; @.str.1
	.asciz	"i3000 UE"

l_.str.2:                               ; @.str.2
	.asciz	"i3000 CE"

	.no_dead_strip	_i3000_process_error_info
.subsections_via_symbols
