	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_apei_mce_report_mem_error      ## -- Begin function apei_mce_report_mem_error
	.p2align	4, 0x90
_apei_mce_report_mem_error:             ## @apei_mce_report_mem_error
	.cfi_startproc
## %bb.0:
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	callq	_mce_setup
	movl	$1, -32(%rbp)
	movq	_MCI_STATUS_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MCI_STATUS_EN@GOTPCREL(%rip), %rcx
	movq	_MCI_STATUS_ADDRV@GOTPCREL(%rip), %rdx
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	orl	$159, %eax
	movl	%eax, -28(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -24(%rbp)
	movq	%r14, %rdi
	callq	_mce_log
	xorl	%eax, %eax
	callq	_mce_notify_irq
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
LBB0_2:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCI_STATUS_VAL,4,2             ## @MCI_STATUS_VAL
	.comm	_MCI_STATUS_EN,4,2              ## @MCI_STATUS_EN
	.comm	_MCI_STATUS_ADDRV,4,2           ## @MCI_STATUS_ADDRV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_apei_mce_report_mem_error      ; -- Begin function apei_mce_report_mem_error
	.p2align	2
_apei_mce_report_mem_error:             ; @apei_mce_report_mem_error
	.cfi_startproc
; %bb.0:
	cbz	w0, LBB0_2
; %bb.1:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x0, sp
	bl	_mce_setup
	mov	w8, #1
Lloh0:
	adrp	x9, _MCI_STATUS_VAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MCI_STATUS_VAL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _MCI_STATUS_EN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MCI_STATUS_EN@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh6:
	adrp	x10, _MCI_STATUS_ADDRV@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MCI_STATUS_ADDRV@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
	mov	w10, #159
	orr	w9, w9, w10
	stp	w8, w9, [sp]
	ldr	w8, [x19]
	str	w8, [sp, #8]
	mov	x0, sp
	bl	_mce_log
	bl	_mce_notify_irq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MCI_STATUS_VAL,4,2             ; @MCI_STATUS_VAL
	.comm	_MCI_STATUS_EN,4,2              ; @MCI_STATUS_EN
	.comm	_MCI_STATUS_ADDRV,4,2           ; @MCI_STATUS_ADDRV
.subsections_via_symbols
