	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mce_read_aux
_mce_read_aux:                          ## @mce_read_aux
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movq	_MCI_STATUS_MISCV@GOTPCREL(%rip), %r15
	testl	%eax, (%r15)
	je	LBB0_2
## %bb.1:
	movl	%r14d, %edi
	callq	_MSR_IA32_MCx_MISC
	movl	%eax, %edi
	callq	_mce_rdmsrl
	movq	%rax, 8(%rbx)
	movl	(%rbx), %eax
LBB0_2:
	movq	_MCI_STATUS_ADDRV@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.3:
	movl	%r14d, %edi
	callq	_MSR_IA32_MCx_ADDR
	movl	%eax, %edi
	callq	_mce_rdmsrl
	movl	%eax, 4(%rbx)
	movq	_mce_ser@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.4:
	movl	(%r15), %eax
	testl	%eax, (%rbx)
	je	LBB0_6
## %bb.5:
	movq	8(%rbx), %rdi
	callq	_MCI_MISC_ADDR_LSB
	movl	%eax, %ecx
	movl	4(%rbx), %eax
	shrl	%cl, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movl	%eax, 4(%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCI_STATUS_MISCV,4,2           ## @MCI_STATUS_MISCV
	.comm	_MCI_STATUS_ADDRV,4,2           ## @MCI_STATUS_ADDRV
	.comm	_mce_ser,8,3                    ## @mce_ser
	.no_dead_strip	_mce_read_aux
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mce_read_aux
_mce_read_aux:                          ; @mce_read_aux
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x21, _MCI_STATUS_MISCV@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MCI_STATUS_MISCV@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_MSR_IA32_MCx_MISC
	bl	_mce_rdmsrl
	str	x0, [x19, #8]
	ldr	w8, [x19]
LBB0_2:
Lloh2:
	adrp	x9, _MCI_STATUS_ADDRV@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MCI_STATUS_ADDRV@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_MSR_IA32_MCx_ADDR
	bl	_mce_rdmsrl
	str	w0, [x19, #4]
Lloh5:
	adrp	x8, _mce_ser@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mce_ser@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	w8, [x19]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	x0, [x19, #8]
	bl	_MCI_MISC_ADDR_LSB
	ldr	w8, [x19, #4]
	mov	w9, #-1
	lsl	w9, w9, w0
	and	w8, w9, w8
	str	w8, [x19, #4]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MCI_STATUS_MISCV,4,2           ; @MCI_STATUS_MISCV
	.comm	_MCI_STATUS_ADDRV,4,2           ; @MCI_STATUS_ADDRV
	.comm	_mce_ser,8,3                    ; @mce_ser
	.no_dead_strip	_mce_read_aux
.subsections_via_symbols
