	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tsc_freq_changing
_tsc_freq_changing:                     ## @tsc_freq_changing
	.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
	cmpl	$0, (%rdx)
	jne	LBB0_3
## %bb.1:
	movq	_timecounter@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	_tsc_timecounter@GOTPCREL(%rip), %rax
	jne	LBB0_3
## %bb.2:
	movq	%rdx, %rbx
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_EBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_timecounter,8,3                ## @timecounter
	.comm	_tsc_timecounter,4,2            ## @tsc_timecounter
	.comm	_EBUSY,4,2                      ## @EBUSY
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"timecounter TSC must not be in use when changing frequencies; change denied"

	.no_dead_strip	_tsc_freq_changing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tsc_freq_changing
_tsc_freq_changing:                     ; @tsc_freq_changing
	.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
Lloh0:
	adrp	x8, _timecounter@GOTPAGE
Lloh1:
	ldr	x8, [x8, _timecounter@GOTPAGEOFF]
	ldr	w9, [x2]
Lloh2:
	ldr	x8, [x8]
	cmp	w9, #0
Lloh3:
	adrp	x9, _tsc_timecounter@GOTPAGE
Lloh4:
	ldr	x9, [x9, _tsc_timecounter@GOTPAGEOFF]
	ccmp	x8, x9, #0, eq
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x2
Lloh5:
	adrp	x0, l_str@PAGE
Lloh6:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh7:
	adrp	x8, _EBUSY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_timecounter,8,3                ; @timecounter
	.comm	_tsc_timecounter,4,2            ; @tsc_timecounter
	.comm	_EBUSY,4,2                      ; @EBUSY
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"timecounter TSC must not be in use when changing frequencies; change denied"

	.no_dead_strip	_tsc_freq_changing
.subsections_via_symbols
