	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mce_quirk
_mce_quirk:                             ## @mce_quirk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	cmpl	$6, %edi
	jne	LBB0_4
## %bb.1:
	movq	_westmere@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_4
## %bb.2:
	movzwl	2(%rsi), %ecx
	shll	$16, %ecx
	cmpl	$536870912, %ecx                ## imm = 0x20000000
	jne	LBB0_4
## %bb.3:
	movl	$6, %edi
	callq	_MSR_IA32_MCx_STATUS
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_mce_wrmsrl
	movl	$1, %eax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_westmere,8,3                   ## @westmere
	.no_dead_strip	_mce_quirk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mce_quirk
_mce_quirk:                             ; @mce_quirk
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
	mov	w0, #0
	cmp	w8, #6
	b.ne	LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _westmere@GOTPAGE
Lloh1:
	ldr	x8, [x8, _westmere@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
	ldrh	w8, [x1, #2]
	cmp	w8, #2, lsl #12                 ; =8192
	b.ne	LBB0_5
; %bb.3:
	mov	w0, #6
	bl	_MSR_IA32_MCx_STATUS
	mov	w1, #0
	bl	_mce_wrmsrl
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_westmere,8,3                   ; @westmere
	.no_dead_strip	_mce_quirk
.subsections_via_symbols
