	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mce_setup                      ## -- Begin function mce_setup
	.p2align	4, 0x90
_mce_setup:                             ## @mce_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%esi, %esi
	movl	$36, %edx
	callq	_memset
	xorl	%eax, %eax
	callq	_smp_processor_id
	movl	%eax, 4(%rbx)
	movl	%eax, 32(%rbx)
	movl	28(%rbx), %edi
	callq	_rdtscll
	xorl	%eax, %eax
	callq	_get_seconds
	movl	%eax, 24(%rbx)
	movq	_boot_cpu_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movl	$1, %edi
	callq	_cpuid_eax
	movl	%eax, 16(%rbx)
	movl	4(%rbx), %edi
	callq	_cpu_data
	movl	%eax, 8(%rbx)
	movq	_MSR_IA32_MCG_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rdmsrl                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_boot_cpu_data,4,2              ## @boot_cpu_data
	.comm	_MSR_IA32_MCG_CAP,4,2           ## @MSR_IA32_MCG_CAP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mce_setup                      ; -- Begin function mce_setup
	.p2align	2
_mce_setup:                             ; @mce_setup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w1, #0
	mov	w2, #36
	bl	_memset
	bl	_smp_processor_id
	str	w0, [x19, #4]
	str	w0, [x19, #32]
	ldr	w0, [x19, #28]
	bl	_rdtscll
	bl	_get_seconds
Lloh0:
	adrp	x8, _boot_cpu_data@GOTPAGE
Lloh1:
	ldr	x8, [x8, _boot_cpu_data@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w0, [x19, #20]
	mov	w0, #1
	bl	_cpuid_eax
	str	w0, [x19, #16]
	ldr	w0, [x19, #4]
	bl	_cpu_data
	str	w0, [x19, #8]
Lloh3:
	adrp	x8, _MSR_IA32_MCG_CAP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSR_IA32_MCG_CAP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rdmsrl
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_boot_cpu_data,4,2              ; @boot_cpu_data
	.comm	_MSR_IA32_MCG_CAP,4,2           ; @MSR_IA32_MCG_CAP
.subsections_via_symbols
