	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amd64_handle_ce
_amd64_handle_ce:                       ## @amd64_handle_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_MCI_STATUS_ADDRV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	(%r14), %r12
	movq	%rsi, %rdi
	callq	_get_error_address
	movl	%eax, %r15d
	movl	(%rbx), %edi
	callq	_extract_syndrome
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_amd64_mc_err
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_amd64_mc_err
	movq	_EDAC_MOD_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_edac_mc_handle_ce_no_info      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MCI_STATUS_ADDRV,4,2           ## @MCI_STATUS_ADDRV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HW has no ERROR_ADDRESS available\n"

	.comm	_EDAC_MOD_STR,4,2               ## @EDAC_MOD_STR
L_.str.1:                               ## @.str.1
	.asciz	"CE ERROR_ADDRESS= 0x%llx\n"

	.no_dead_strip	_amd64_handle_ce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amd64_handle_ce
_amd64_handle_ce:                       ; @amd64_handle_ce
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _MCI_STATUS_ADDRV@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MCI_STATUS_ADDRV@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x20, x1
	ldr	x22, [x19]
	mov	x0, x1
	bl	_get_error_address
	mov	x21, x0
	ldr	w0, [x20]
	bl	_extract_syndrome
	mov	x20, x0
	str	x21, [sp]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_amd64_mc_err
	ldr	x8, [x22]
	ldr	x3, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	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
	add	sp, sp, #64
	br	x3
LBB0_2:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_amd64_mc_err
Lloh7:
	adrp	x8, _EDAC_MOD_STR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EDAC_MOD_STR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	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
	add	sp, sp, #64
	b	_edac_mc_handle_ce_no_info
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MCI_STATUS_ADDRV,4,2           ; @MCI_STATUS_ADDRV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HW has no ERROR_ADDRESS available\n"

	.comm	_EDAC_MOD_STR,4,2               ; @EDAC_MOD_STR
l_.str.1:                               ; @.str.1
	.asciz	"CE ERROR_ADDRESS= 0x%llx\n"

	.no_dead_strip	_amd64_handle_ce
.subsections_via_symbols
