	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_tsc_mode                   ## -- Begin function set_tsc_mode
	.p2align	4, 0x90
_set_tsc_mode:                          ## @set_tsc_mode
	.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	_PR_TSC_SIGSEGV@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_disable_TSC
	jmp	LBB0_5
LBB0_2:
	movq	_PR_TSC_ENABLE@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_4
## %bb.3:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_enable_TSC
	jmp	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PR_TSC_SIGSEGV,4,2             ## @PR_TSC_SIGSEGV
	.comm	_PR_TSC_ENABLE,4,2              ## @PR_TSC_ENABLE
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_tsc_mode                   ; -- Begin function set_tsc_mode
	.p2align	2
_set_tsc_mode:                          ; @set_tsc_mode
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _PR_TSC_SIGSEGV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PR_TSC_SIGSEGV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
	bl	_disable_TSC
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _PR_TSC_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PR_TSC_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_5
; %bb.3:
	bl	_enable_TSC
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PR_TSC_SIGSEGV,4,2             ; @PR_TSC_SIGSEGV
	.comm	_PR_TSC_ENABLE,4,2              ; @PR_TSC_ENABLE
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
