	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_machclk                   ## -- Begin function read_machclk
	.p2align	4, 0x90
_read_machclk:                          ## @read_machclk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	_machclk_usepcc@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	addq	$32, %rsp
	popq	%rbp
	jmp	_rdtsc                          ## TAILCALL
LBB0_1:
	leaq	-16(%rbp), %rdi
	callq	_microtime
	leaq	-32(%rbp), %rdi
	callq	_getboottime
	movl	-8(%rbp), %eax
	subl	-24(%rbp), %eax
	imull	$1000000, %eax, %eax            ## imm = 0xF4240
	addl	-16(%rbp), %eax
	movq	_MACHCLK_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_machclk_usepcc,8,3             ## @machclk_usepcc
	.comm	_MACHCLK_SHIFT,4,2              ## @MACHCLK_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_machclk                   ; -- Begin function read_machclk
	.p2align	2
_read_machclk:                          ; @read_machclk
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _machclk_usepcc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _machclk_usepcc@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
                                        ; implicit-def: $w0
	b	LBB0_3
LBB0_2:
	add	x0, sp, #16
	bl	_microtime
	mov	x0, sp
	bl	_getboottime
	ldr	w8, [sp, #8]
	ldr	w9, [sp, #24]
	ldr	w10, [sp, #16]
	sub	w8, w9, w8
	mov	w9, #16960
	movk	w9, #15, lsl #16
	madd	w8, w8, w9, w10
Lloh5:
	adrp	x9, _MACHCLK_SHIFT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MACHCLK_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	lsl	w0, w8, w9
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_machclk_usepcc,8,3             ; @machclk_usepcc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read_machclk"

	.comm	_MACHCLK_SHIFT,4,2              ; @MACHCLK_SHIFT
.subsections_via_symbols
