	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function probe_tsc_freq
_probe_tsc_freq:                        ## @probe_tsc_freq
	.cfi_startproc
## %bb.0:
	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	_cpu_power_ecx@GOTPCREL(%rip), %rax
	movq	_CPUID_PERF_STAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_MSR_MPERF@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_wrmsr
	movq	_MSR_APERF@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	xorl	%esi, %esi
	callq	_wrmsr
	movl	$10, %edi
	callq	_DELAY
	movl	(%rbx), %edi
	callq	_rdmsr
	testl	%eax, %eax
	jle	LBB0_4
## %bb.2:
	movl	(%r14), %edi
	callq	_rdmsr
	testl	%eax, %eax
	jle	LBB0_4
## %bb.3:
	movq	_tsc_perf_stat@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_4:
	movq	_vm_guest@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_VM_GUEST_VMWARE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.43:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tsc_freq_vmware                ## TAILCALL
LBB0_5:
	movq	_cpu_vendor_id@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	cmpl	$128, %ecx
	je	LBB0_14
## %bb.6:
	cmpl	$129, %ecx
	je	LBB0_20
## %bb.7:
	cmpl	$130, %ecx
	jne	LBB0_28
## %bb.8:
	movq	_amd_pminfo@GOTPCREL(%rip), %rcx
	movq	_AMDPM_TSC_INVARIANT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_9
LBB0_11:
	movq	_tsc_is_invariant@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_12
LBB0_14:
	movq	_amd_pminfo@GOTPCREL(%rip), %rcx
	movq	_AMDPM_TSC_INVARIANT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_15
LBB0_24:
	movq	_tsc_is_invariant@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_25
LBB0_20:
	movq	_VM_GUEST_NO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_25
## %bb.21:
	movq	_cpu_id@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_CPUID_TO_FAMILY
	cmpl	$6, %eax
	jne	LBB0_25
## %bb.22:
	movl	(%rbx), %edi
	callq	_CPUID_TO_MODEL
	cmpl	$15, %eax
	jl	LBB0_25
## %bb.23:
	movl	$4611, %edi                     ## imm = 0x1203
	callq	_rdmsr
	cltq
	btq	$32, %rax
	jae	LBB0_24
	jmp	LBB0_25
LBB0_9:
	movq	_VM_GUEST_NO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.10:
	movq	_cpu_id@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CPUID_TO_FAMILY
	cmpl	$16, %eax
	jge	LBB0_11
LBB0_12:
	movq	_cpu_feature@GOTPCREL(%rip), %rax
	movq	_CPUID_SSE2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_28
## %bb.13:
	movq	_tsc_get_timecount_mfence@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_15:
	movq	_VM_GUEST_NO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_25
## %bb.16:
	movq	_cpu_id@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_CPUID_TO_FAMILY
	cmpl	$6, %eax
	jne	LBB0_18
## %bb.17:
	movl	(%rbx), %edi
	callq	_CPUID_TO_MODEL
	cmpl	$13, %eax
	jg	LBB0_24
LBB0_18:
	movl	(%rbx), %edi
	callq	_CPUID_TO_FAMILY
	cmpl	$15, %eax
	jne	LBB0_25
## %bb.19:
	movl	(%rbx), %edi
	callq	_CPUID_TO_MODEL
	cmpl	$3, %eax
	jge	LBB0_24
LBB0_25:
	movq	_cpu_feature@GOTPCREL(%rip), %rax
	movq	_CPUID_SSE2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_28
## %bb.26:
	movq	_tsc_get_timecount_lfence@GOTPCREL(%rip), %rax
LBB0_27:
	movq	(%rax), %rax
	movq	_tsc_timecounter@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_28:
	leaq	L_.str(%rip), %rdi
	movq	_tsc_skip_calibration@GOTPCREL(%rip), %rbx
	movq	%rbx, %rsi
	callq	_TUNABLE_INT_FETCH
	testl	%eax, %eax
	je	LBB0_29
LBB0_33:
	cmpl	$0, (%rbx)
	je	LBB0_37
LBB0_34:
	xorl	%eax, %eax
	callq	_tsc_freq_cpuid
	testq	%rax, %rax
	jne	LBB0_40
## %bb.35:
	cmpl	$128, (%r14)
	jne	LBB0_40
## %bb.36:
	xorl	%eax, %eax
	callq	_tsc_freq_intel
	jmp	LBB0_40
LBB0_29:
	leaq	-20(%rbp), %rdi
	callq	_acpi_get_fadt_bootflags
	testq	%rax, %rax
	je	LBB0_33
## %bb.30:
	movq	_ACPI_FADT_LEGACY_DEVICES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -20(%rbp)
	jne	LBB0_33
## %bb.31:
	xorl	%eax, %eax
	callq	_tsc_freq_cpuid
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	$1, (%rbx)
	jmp	LBB0_34
LBB0_37:
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_39
## %bb.38:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_39:
	xorl	%eax, %eax
	callq	_rdtsc
	movq	%rax, %rbx
	movl	$1000000, %edi                  ## imm = 0xF4240
	callq	_DELAY
	xorl	%eax, %eax
	callq	_rdtsc
	subq	%rbx, %rax
	movq	_tsc_freq@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_40:
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_42
## %bb.41:
	movq	_tsc_freq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_42:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cpu_power_ecx,4,2              ## @cpu_power_ecx
	.comm	_CPUID_PERF_STAT,4,2            ## @CPUID_PERF_STAT
	.comm	_MSR_MPERF,4,2                  ## @MSR_MPERF
	.comm	_MSR_APERF,4,2                  ## @MSR_APERF
	.comm	_tsc_perf_stat,4,2              ## @tsc_perf_stat
	.comm	_vm_guest,8,3                   ## @vm_guest
	.comm	_VM_GUEST_VMWARE,8,3            ## @VM_GUEST_VMWARE
	.comm	_cpu_vendor_id,4,2              ## @cpu_vendor_id
	.comm	_amd_pminfo,4,2                 ## @amd_pminfo
	.comm	_AMDPM_TSC_INVARIANT,4,2        ## @AMDPM_TSC_INVARIANT
	.comm	_VM_GUEST_NO,8,3                ## @VM_GUEST_NO
	.comm	_cpu_id,4,2                     ## @cpu_id
	.comm	_tsc_is_invariant,4,2           ## @tsc_is_invariant
	.comm	_cpu_feature,4,2                ## @cpu_feature
	.comm	_CPUID_SSE2,4,2                 ## @CPUID_SSE2
	.comm	_tsc_get_timecount_mfence,8,3   ## @tsc_get_timecount_mfence
	.comm	_tsc_timecounter,8,3            ## @tsc_timecounter
	.comm	_tsc_get_timecount_lfence,8,3   ## @tsc_get_timecount_lfence
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"machdep.disable_tsc_calibration"

	.comm	_tsc_skip_calibration,4,2       ## @tsc_skip_calibration
	.comm	_ACPI_FADT_LEGACY_DEVICES,4,2   ## @ACPI_FADT_LEGACY_DEVICES
	.comm	_bootverbose,8,3                ## @bootverbose
L_.str.2:                               ## @.str.2
	.asciz	"Calibrating TSC clock ... "

	.comm	_tsc_freq,8,3                   ## @tsc_freq
L_.str.3:                               ## @.str.3
	.asciz	"TSC clock: %ju Hz\n"

L_str:                                  ## @str
	.asciz	"Skipping TSC calibration since no legacy devices reported by FADT and CPUID works"

	.no_dead_strip	_probe_tsc_freq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function probe_tsc_freq
_probe_tsc_freq:                        ; @probe_tsc_freq
	.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
Lloh0:
	adrp	x8, _cpu_power_ecx@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cpu_power_ecx@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CPUID_PERF_STAT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CPUID_PERF_STAT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
Lloh6:
	adrp	x20, _MSR_MPERF@GOTPAGE
Lloh7:
	ldr	x20, [x20, _MSR_MPERF@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	w1, #0
	bl	_wrmsr
Lloh8:
	adrp	x19, _MSR_APERF@GOTPAGE
Lloh9:
	ldr	x19, [x19, _MSR_APERF@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	w1, #0
	bl	_wrmsr
	mov	w0, #10
	bl	_DELAY
	ldr	w0, [x20]
	bl	_rdmsr
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.2:
	ldr	w0, [x19]
	bl	_rdmsr
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.3:
Lloh10:
	adrp	x8, _tsc_perf_stat@GOTPAGE
Lloh11:
	ldr	x8, [x8, _tsc_perf_stat@GOTPAGEOFF]
	mov	w9, #1
Lloh12:
	str	w9, [x8]
LBB0_4:
Lloh13:
	adrp	x8, _vm_guest@GOTPAGE
Lloh14:
	ldr	x8, [x8, _vm_guest@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
Lloh16:
	adrp	x9, _VM_GUEST_VMWARE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _VM_GUEST_VMWARE@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	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	_tsc_freq_vmware
LBB0_6:
Lloh19:
	adrp	x20, _cpu_vendor_id@GOTPAGE
Lloh20:
	ldr	x20, [x20, _cpu_vendor_id@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	w9, #128
	b.eq	LBB0_11
; %bb.7:
	cmp	w9, #129
	b.eq	LBB0_13
; %bb.8:
	cmp	w9, #130
	b.ne	LBB0_29
; %bb.9:
Lloh21:
	adrp	x9, _amd_pminfo@GOTPAGE
Lloh22:
	ldr	x9, [x9, _amd_pminfo@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _AMDPM_TSC_INVARIANT@GOTPAGE
Lloh25:
	ldr	x10, [x10, _AMDPM_TSC_INVARIANT@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_17
LBB0_10:
Lloh27:
	adrp	x8, _tsc_is_invariant@GOTPAGE
Lloh28:
	ldr	x8, [x8, _tsc_is_invariant@GOTPAGEOFF]
	mov	w9, #1
Lloh29:
	str	w9, [x8]
	b	LBB0_19
LBB0_11:
Lloh30:
	adrp	x9, _amd_pminfo@GOTPAGE
Lloh31:
	ldr	x9, [x9, _amd_pminfo@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
Lloh33:
	adrp	x10, _AMDPM_TSC_INVARIANT@GOTPAGE
Lloh34:
	ldr	x10, [x10, _AMDPM_TSC_INVARIANT@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_21
LBB0_12:
Lloh36:
	adrp	x8, _tsc_is_invariant@GOTPAGE
Lloh37:
	ldr	x8, [x8, _tsc_is_invariant@GOTPAGEOFF]
	mov	w9, #1
Lloh38:
	str	w9, [x8]
	b	LBB0_26
LBB0_13:
Lloh39:
	adrp	x9, _VM_GUEST_NO@GOTPAGE
Lloh40:
	ldr	x9, [x9, _VM_GUEST_NO@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.14:
Lloh42:
	adrp	x19, _cpu_id@GOTPAGE
Lloh43:
	ldr	x19, [x19, _cpu_id@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_CPUID_TO_FAMILY
	cmp	w0, #6
	b.ne	LBB0_26
; %bb.15:
	ldr	w0, [x19]
	bl	_CPUID_TO_MODEL
	cmp	w0, #15
	b.lt	LBB0_26
; %bb.16:
	mov	w0, #4611
	bl	_rdmsr
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	tbz	x8, #32, LBB0_12
	b	LBB0_26
LBB0_17:
Lloh44:
	adrp	x9, _VM_GUEST_NO@GOTPAGE
Lloh45:
	ldr	x9, [x9, _VM_GUEST_NO@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.18:
Lloh47:
	adrp	x8, _cpu_id@GOTPAGE
Lloh48:
	ldr	x8, [x8, _cpu_id@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	bl	_CPUID_TO_FAMILY
	cmp	w0, #16
	b.ge	LBB0_10
LBB0_19:
Lloh50:
	adrp	x8, _cpu_feature@GOTPAGE
Lloh51:
	ldr	x8, [x8, _cpu_feature@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
Lloh53:
	adrp	x9, _CPUID_SSE2@GOTPAGE
Lloh54:
	ldr	x9, [x9, _CPUID_SSE2@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.20:
Lloh56:
	adrp	x8, _tsc_get_timecount_mfence@GOTPAGE
Lloh57:
	ldr	x8, [x8, _tsc_get_timecount_mfence@GOTPAGEOFF]
	b	LBB0_28
LBB0_21:
Lloh58:
	adrp	x9, _VM_GUEST_NO@GOTPAGE
Lloh59:
	ldr	x9, [x9, _VM_GUEST_NO@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.22:
Lloh61:
	adrp	x19, _cpu_id@GOTPAGE
Lloh62:
	ldr	x19, [x19, _cpu_id@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_CPUID_TO_FAMILY
	cmp	w0, #6
	b.ne	LBB0_24
; %bb.23:
	ldr	w0, [x19]
	bl	_CPUID_TO_MODEL
	cmp	w0, #13
	b.gt	LBB0_12
LBB0_24:
	ldr	w0, [x19]
	bl	_CPUID_TO_FAMILY
	cmp	w0, #15
	b.ne	LBB0_26
; %bb.25:
	ldr	w0, [x19]
	bl	_CPUID_TO_MODEL
	cmp	w0, #3
	b.ge	LBB0_12
LBB0_26:
Lloh63:
	adrp	x8, _cpu_feature@GOTPAGE
Lloh64:
	ldr	x8, [x8, _cpu_feature@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
Lloh66:
	adrp	x9, _CPUID_SSE2@GOTPAGE
Lloh67:
	ldr	x9, [x9, _CPUID_SSE2@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.27:
Lloh69:
	adrp	x8, _tsc_get_timecount_lfence@GOTPAGE
Lloh70:
	ldr	x8, [x8, _tsc_get_timecount_lfence@GOTPAGEOFF]
LBB0_28:
	ldr	x8, [x8]
Lloh71:
	adrp	x9, _tsc_timecounter@GOTPAGE
Lloh72:
	ldr	x9, [x9, _tsc_timecounter@GOTPAGEOFF]
Lloh73:
	str	x8, [x9]
LBB0_29:
Lloh74:
	adrp	x0, l_.str@PAGE
Lloh75:
	add	x0, x0, l_.str@PAGEOFF
Lloh76:
	adrp	x19, _tsc_skip_calibration@GOTPAGE
Lloh77:
	ldr	x19, [x19, _tsc_skip_calibration@GOTPAGEOFF]
	mov	x1, x19
	bl	_TUNABLE_INT_FETCH
Lloh78:
	adrp	x21, _bootverbose@GOTPAGE
Lloh79:
	ldr	x21, [x21, _bootverbose@GOTPAGEOFF]
	cbz	w0, LBB0_34
LBB0_30:
	ldr	w8, [x19]
	cbz	w8, LBB0_38
; %bb.31:
	bl	_tsc_freq_cpuid
	cbnz	x0, LBB0_41
LBB0_32:
	ldr	w8, [x20]
	cmp	w8, #128
	b.ne	LBB0_41
; %bb.33:
	bl	_tsc_freq_intel
	b	LBB0_41
LBB0_34:
	add	x0, sp, #12
	bl	_acpi_get_fadt_bootflags
	cbz	x0, LBB0_30
; %bb.35:
	ldr	w8, [sp, #12]
Lloh80:
	adrp	x9, _ACPI_FADT_LEGACY_DEVICES@GOTPAGE
Lloh81:
	ldr	x9, [x9, _ACPI_FADT_LEGACY_DEVICES@GOTPAGEOFF]
Lloh82:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_30
; %bb.36:
	bl	_tsc_freq_cpuid
	cbz	x0, LBB0_30
; %bb.37:
Lloh83:
	adrp	x0, l_str@PAGE
Lloh84:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w8, #1
	str	w8, [x19]
	bl	_tsc_freq_cpuid
	cbz	x0, LBB0_32
	b	LBB0_41
LBB0_38:
	ldr	x8, [x21]
	cbz	x8, LBB0_40
; %bb.39:
Lloh85:
	adrp	x0, l_.str.2@PAGE
Lloh86:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
LBB0_40:
	bl	_rdtsc
	mov	x19, x0
	mov	w0, #16960
	movk	w0, #15, lsl #16
	bl	_DELAY
	bl	_rdtsc
	sub	x8, x0, x19
Lloh87:
	adrp	x9, _tsc_freq@GOTPAGE
Lloh88:
	ldr	x9, [x9, _tsc_freq@GOTPAGEOFF]
Lloh89:
	str	x8, [x9]
LBB0_41:
	ldr	x8, [x21]
	cbz	x8, LBB0_43
; %bb.42:
Lloh90:
	adrp	x8, _tsc_freq@GOTPAGE
Lloh91:
	ldr	x8, [x8, _tsc_freq@GOTPAGEOFF]
Lloh92:
	ldr	x8, [x8]
	str	x8, [sp]
Lloh93:
	adrp	x0, l_.str.3@PAGE
Lloh94:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
LBB0_43:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotStr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotStr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGotStr	Lloh87, Lloh88, Lloh89
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.cfi_endproc
                                        ; -- End function
	.comm	_cpu_power_ecx,4,2              ; @cpu_power_ecx
	.comm	_CPUID_PERF_STAT,4,2            ; @CPUID_PERF_STAT
	.comm	_MSR_MPERF,4,2                  ; @MSR_MPERF
	.comm	_MSR_APERF,4,2                  ; @MSR_APERF
	.comm	_tsc_perf_stat,4,2              ; @tsc_perf_stat
	.comm	_vm_guest,8,3                   ; @vm_guest
	.comm	_VM_GUEST_VMWARE,8,3            ; @VM_GUEST_VMWARE
	.comm	_cpu_vendor_id,4,2              ; @cpu_vendor_id
	.comm	_amd_pminfo,4,2                 ; @amd_pminfo
	.comm	_AMDPM_TSC_INVARIANT,4,2        ; @AMDPM_TSC_INVARIANT
	.comm	_VM_GUEST_NO,8,3                ; @VM_GUEST_NO
	.comm	_cpu_id,4,2                     ; @cpu_id
	.comm	_tsc_is_invariant,4,2           ; @tsc_is_invariant
	.comm	_cpu_feature,4,2                ; @cpu_feature
	.comm	_CPUID_SSE2,4,2                 ; @CPUID_SSE2
	.comm	_tsc_get_timecount_mfence,8,3   ; @tsc_get_timecount_mfence
	.comm	_tsc_timecounter,8,3            ; @tsc_timecounter
	.comm	_tsc_get_timecount_lfence,8,3   ; @tsc_get_timecount_lfence
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"machdep.disable_tsc_calibration"

	.comm	_tsc_skip_calibration,4,2       ; @tsc_skip_calibration
	.comm	_ACPI_FADT_LEGACY_DEVICES,4,2   ; @ACPI_FADT_LEGACY_DEVICES
	.comm	_bootverbose,8,3                ; @bootverbose
l_.str.2:                               ; @.str.2
	.asciz	"Calibrating TSC clock ... "

	.comm	_tsc_freq,8,3                   ; @tsc_freq
l_.str.3:                               ; @.str.3
	.asciz	"TSC clock: %ju Hz\n"

l_str:                                  ; @str
	.asciz	"Skipping TSC calibration since no legacy devices reported by FADT and CPUID works"

	.no_dead_strip	_probe_tsc_freq
.subsections_via_symbols
