	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tsc_freq_changed
_tsc_freq_changed:                      ## @tsc_freq_changed
	.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
	testl	%edx, %edx
	jne	LBB0_3
## %bb.1:
	movq	_tsc_disabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	imull	$1000000, (%rsi), %ebx          ## imm = 0xF4240
	movq	_tsc_freq@GOTPCREL(%rip), %rdi
	movl	%ebx, %esi
	callq	_atomic_store_rel_64
	movq	_tsc_timecounter@GOTPCREL(%rip), %rax
	movb	8(%rax), %cl
	sarl	%cl, %ebx
	movl	%ebx, (%rax)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tsc_disabled,8,3               ## @tsc_disabled
	.comm	_tsc_freq,4,2                   ## @tsc_freq
	.comm	_tsc_timecounter,16,3           ## @tsc_timecounter
	.no_dead_strip	_tsc_freq_changed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tsc_freq_changed
_tsc_freq_changed:                      ; @tsc_freq_changed
	.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
	cbnz	w2, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _tsc_disabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tsc_disabled@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	w8, [x1]
	mov	w9, #16960
	movk	w9, #15, lsl #16
	mul	w19, w8, w9
Lloh3:
	adrp	x0, _tsc_freq@GOTPAGE
Lloh4:
	ldr	x0, [x0, _tsc_freq@GOTPAGEOFF]
	mov	x1, x19
	bl	_atomic_store_rel_64
Lloh5:
	adrp	x8, _tsc_timecounter@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tsc_timecounter@GOTPAGEOFF]
	ldr	w9, [x8, #8]
	asr	w9, w19, w9
	str	w9, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_tsc_disabled,8,3               ; @tsc_disabled
	.comm	_tsc_freq,4,2                   ; @tsc_freq
	.comm	_tsc_timecounter,16,3           ; @tsc_timecounter
	.no_dead_strip	_tsc_freq_changed
.subsections_via_symbols
