	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_error
_handle_error:                          ## @handle_error
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %r15
	cmpq	$0, 40(%rsi)
	je	LBB0_4
## %bb.1:
	movq	8(%r15), %rax
	movl	(%rax), %r13d
	movl	(%r15), %edi
	movq	_SYNPS_EDAC_MSG_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	48(%rbx), %r8d
	movl	52(%rbx), %r9d
	movl	56(%rbx), %r10d
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	leaq	L_.str.1(%rip), %rcx
	xorl	%eax, %eax
	pushq	%r10
	callq	_snprintf
	addq	$16, %rsp
	movl	(%r15), %edi
	movl	(%r12), %esi
	testl	%r13d, %r13d
	je	LBB0_3
## %bb.2:
	movl	68(%rbx), %ecx
	movl	72(%rbx), %r8d
	leaq	L_.str.3(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	movl	(%r15), %edi
	movl	(%r12), %esi
LBB0_3:
	movl	60(%rbx), %ecx
	movl	64(%rbx), %r8d
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	movq	_HW_EVENT_ERR_CORRECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	40(%rbx), %rdx
	movl	(%r15), %eax
	subq	$8, %rsp
	leaq	L_.str.4(%rip), %r10
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r10
	pushq	%rax
	pushq	$-1
	pushq	$0
	pushq	$0
	callq	_edac_mc_handle_error
	addq	$48, %rsp
LBB0_4:
	cmpq	$0, (%rbx)
	je	LBB0_8
## %bb.5:
	movq	8(%r15), %rax
	movl	(%rax), %r13d
	movl	(%r15), %edi
	movq	_SYNPS_EDAC_MSG_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	8(%rbx), %r8d
	movl	12(%rbx), %r9d
	movl	16(%rbx), %r10d
	subq	$8, %rsp
	leaq	L_.str.5(%rip), %rdx
	leaq	L_.str.6(%rip), %rcx
	xorl	%eax, %eax
	pushq	%r10
	callq	_snprintf
	addq	$16, %rsp
	testl	%r13d, %r13d
	je	LBB0_7
## %bb.6:
	movl	(%r15), %edi
	movl	(%r12), %esi
	movl	28(%rbx), %ecx
	movl	32(%rbx), %r8d
	leaq	L_.str.7(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_7:
	movq	_HW_EVENT_ERR_UNCORRECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	movl	(%r15), %eax
	subq	$8, %rsp
	leaq	L_.str.4(%rip), %r10
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r10
	pushq	%rax
	pushq	$-1
	pushq	$0
	pushq	$0
	callq	_edac_mc_handle_error
	addq	$48, %rsp
LBB0_8:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$80, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SYNPS_EDAC_MSG_SIZE,4,2        ## @SYNPS_EDAC_MSG_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DDR ECC error type:%s Row %d Bank %d Col %d "

L_.str.1:                               ## @.str.1
	.asciz	"CE"

L_.str.2:                               ## @.str.2
	.asciz	"Bit Position: %d Data: 0x%08x\n"

L_.str.3:                               ## @.str.3
	.asciz	"BankGroup Number %d Block Number %d "

	.comm	_HW_EVENT_ERR_CORRECTED,4,2     ## @HW_EVENT_ERR_CORRECTED
L_.str.4:                               ## @.str.4
	.space	1

L_.str.5:                               ## @.str.5
	.asciz	"DDR ECC error type :%s Row %d Bank %d Col %d "

L_.str.6:                               ## @.str.6
	.asciz	"UE"

L_.str.7:                               ## @.str.7
	.asciz	"BankGroup Number %d Block Number %d"

	.comm	_HW_EVENT_ERR_UNCORRECTED,4,2   ## @HW_EVENT_ERR_UNCORRECTED
	.no_dead_strip	_handle_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_error
_handle_error:                          ; @handle_error
	.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, x1
	mov	x20, x0
	ldr	x21, [x0]
	ldr	x8, [x1, #40]
Lloh0:
	adrp	x23, _SYNPS_EDAC_MSG_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SYNPS_EDAC_MSG_SIZE@GOTPAGEOFF]
Lloh2:
	adrp	x22, l_.str.4@PAGE
Lloh3:
	add	x22, x22, l_.str.4@PAGEOFF
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x21, #8]
	ldr	w24, [x8]
	ldr	w0, [x21]
	ldr	w1, [x23]
	ldp	w8, w9, [x19, #48]
	ldr	w10, [x19, #56]
	stp	x9, x10, [sp, #16]
Lloh4:
	adrp	x9, l_.str.1@PAGE
Lloh5:
	add	x9, x9, l_.str.1@PAGEOFF
	stp	x9, x8, [sp]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	bl	_snprintf
	ldr	w0, [x21]
	ldr	w1, [x23]
	cbz	w24, LBB0_3
; %bb.2:
	ldp	w8, w9, [x19, #68]
	stp	x8, x9, [sp]
Lloh8:
	adrp	x2, l_.str.3@PAGE
Lloh9:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_snprintf
	ldr	w0, [x21]
	ldr	w1, [x23]
LBB0_3:
	ldp	w8, w9, [x19, #60]
	stp	x8, x9, [sp]
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_snprintf
Lloh12:
	adrp	x8, _HW_EVENT_ERR_CORRECTED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HW_EVENT_ERR_CORRECTED@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	x2, [x19, #40]
	ldr	w8, [x21]
	str	x22, [sp, #8]
	mov	w9, #-1
	stp	w9, w8, [sp]
	mov	x1, x20
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_edac_mc_handle_error
LBB0_4:
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.5:
	ldr	x8, [x21, #8]
	ldr	w24, [x8]
	ldr	w0, [x21]
	ldr	w1, [x23]
	ldp	w8, w9, [x19, #8]
	ldr	w10, [x19, #16]
	stp	x9, x10, [sp, #16]
Lloh15:
	adrp	x9, l_.str.6@PAGE
Lloh16:
	add	x9, x9, l_.str.6@PAGEOFF
	stp	x9, x8, [sp]
Lloh17:
	adrp	x2, l_.str.5@PAGE
Lloh18:
	add	x2, x2, l_.str.5@PAGEOFF
	bl	_snprintf
	cbz	w24, LBB0_7
; %bb.6:
	ldr	w0, [x21]
	ldr	w1, [x23]
	ldp	w8, w9, [x19, #28]
	stp	x8, x9, [sp]
Lloh19:
	adrp	x2, l_.str.7@PAGE
Lloh20:
	add	x2, x2, l_.str.7@PAGEOFF
	bl	_snprintf
LBB0_7:
Lloh21:
	adrp	x8, _HW_EVENT_ERR_UNCORRECTED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HW_EVENT_ERR_UNCORRECTED@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	x2, [x19]
	ldr	w8, [x21]
	str	x22, [sp, #8]
	mov	w9, #-1
	stp	w9, w8, [sp]
	mov	x1, x20
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_edac_mc_handle_error
LBB0_8:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #80
	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
	b	_memset
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_SYNPS_EDAC_MSG_SIZE,4,2        ; @SYNPS_EDAC_MSG_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DDR ECC error type:%s Row %d Bank %d Col %d "

l_.str.1:                               ; @.str.1
	.asciz	"CE"

l_.str.2:                               ; @.str.2
	.asciz	"Bit Position: %d Data: 0x%08x\n"

l_.str.3:                               ; @.str.3
	.asciz	"BankGroup Number %d Block Number %d "

	.comm	_HW_EVENT_ERR_CORRECTED,4,2     ; @HW_EVENT_ERR_CORRECTED
l_.str.4:                               ; @.str.4
	.space	1

l_.str.5:                               ; @.str.5
	.asciz	"DDR ECC error type :%s Row %d Bank %d Col %d "

l_.str.6:                               ; @.str.6
	.asciz	"UE"

l_.str.7:                               ; @.str.7
	.asciz	"BankGroup Number %d Block Number %d"

	.comm	_HW_EVENT_ERR_UNCORRECTED,4,2   ; @HW_EVENT_ERR_UNCORRECTED
	.no_dead_strip	_handle_error
.subsections_via_symbols
