	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x38_process_error_info
_x38_process_error_info:                ## @x38_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	_X38_ERRSTS_BITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_10
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	4(%rsi), %eax
	testl	%ecx, %eax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_edac_mc_handle_ce_no_info
	movl	4(%r15), %eax
	movl	%eax, (%r15)
LBB0_3:
	movq	_x38_channel_num@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_10
## %bb.4:
	xorl	%ebx, %ebx
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_eccerrlog_row
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%eax, %ecx
	leaq	L_.str.1(%rip), %r8
	callq	_edac_mc_handle_ue
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %r13d
	movq	_X38_ECCERRLOG_UE@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_X38_ECCERRLOG_CE@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %edi
	callq	_eccerrlog_syndrome
	movq	%r12, %r15
	movl	%eax, %r12d
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_eccerrlog_row
	leaq	L_.str.2(%rip), %rcx
	movq	%rcx, (%rsp)
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%r12d, %ecx
	movq	%r15, %r12
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, %r8d
	xorl	%r9d, %r9d
	callq	_edac_mc_handle_ce
	jmp	LBB0_9
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X38_ERRSTS_BITS,4,2            ## @X38_ERRSTS_BITS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"UE overwrote CE"

	.comm	_x38_channel_num,4,2            ## @x38_channel_num
	.comm	_X38_ECCERRLOG_UE,4,2           ## @X38_ECCERRLOG_UE
L_.str.1:                               ## @.str.1
	.asciz	"x38 UE"

	.comm	_X38_ECCERRLOG_CE,4,2           ## @X38_ECCERRLOG_CE
L_.str.2:                               ## @.str.2
	.asciz	"x38 CE"

	.no_dead_strip	_x38_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 x38_process_error_info
_x38_process_error_info:                ; @x38_process_error_info
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _X38_ERRSTS_BITS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _X38_ERRSTS_BITS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	w10, [x1, #4]
	eor	w8, w10, w8
	tst	w8, w9
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_edac_mc_handle_ce_no_info
	ldr	w8, [x19, #4]
	str	w8, [x19]
LBB0_3:
Lloh5:
	adrp	x26, _x38_channel_num@GOTPAGE
Lloh6:
	ldr	x26, [x26, _x38_channel_num@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.4:
	mov	x21, #0
Lloh7:
	adrp	x27, _X38_ECCERRLOG_UE@GOTPAGE
Lloh8:
	ldr	x27, [x27, _X38_ECCERRLOG_UE@GOTPAGEOFF]
Lloh9:
	adrp	x28, _X38_ECCERRLOG_CE@GOTPAGE
Lloh10:
	ldr	x28, [x28, _X38_ECCERRLOG_CE@GOTPAGEOFF]
Lloh11:
	adrp	x22, l_.str.2@PAGE
Lloh12:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh13:
	adrp	x23, l_.str.1@PAGE
Lloh14:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_eccerrlog_row
	mov	x3, x0
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	mov	x4, x23
	bl	_edac_mc_handle_ue
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x26]
	cmp	x21, x8
	b.ge	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w24, [x8, x21, lsl #2]
	ldr	w8, [x27]
	tst	w8, w24
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x28]
	tst	w8, w24
	b.eq	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x24
	bl	_eccerrlog_syndrome
	mov	x25, x0
	mov	x0, x21
	mov	x1, x24
	bl	_eccerrlog_row
	mov	x4, x0
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	mov	x3, x25
	mov	w5, #0
	mov	x6, x22
	bl	_edac_mc_handle_ce
	b	LBB0_6
LBB0_10:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_X38_ERRSTS_BITS,4,2            ; @X38_ERRSTS_BITS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UE overwrote CE"

	.comm	_x38_channel_num,4,2            ; @x38_channel_num
	.comm	_X38_ECCERRLOG_UE,4,2           ; @X38_ECCERRLOG_UE
l_.str.1:                               ; @.str.1
	.asciz	"x38 UE"

	.comm	_X38_ECCERRLOG_CE,4,2           ; @X38_ECCERRLOG_CE
l_.str.2:                               ; @.str.2
	.asciz	"x38 CE"

	.no_dead_strip	_x38_process_error_info
.subsections_via_symbols
