	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pvclock_get_timecount          ## -- Begin function pvclock_get_timecount
	.p2align	4, 0x90
_pvclock_get_timecount:                 ## @pvclock_get_timecount
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	leaq	-16(%rbp), %rsi
	leaq	-20(%rbp), %rdx
	callq	_pvclock_read_time_info
	movq	_PVCLOCK_FLAG_TSC_STABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -20(%rbp)
	jne	LBB0_4
## %bb.1:
	movq	_pvclock_last_cycles@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_atomic_load_acq_64
	movq	-16(%rbp), %rdx
	cmpq	%rdx, %rax
	jg	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_atomic_cmpset_64
	testl	%eax, %eax
	je	LBB0_2
LBB0_4:
	movq	-16(%rbp), %rax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PVCLOCK_FLAG_TSC_STABLE,4,2    ## @PVCLOCK_FLAG_TSC_STABLE
	.comm	_pvclock_last_cycles,4,2        ## @pvclock_last_cycles
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pvclock_get_timecount          ; -- Begin function pvclock_get_timecount
	.p2align	2
_pvclock_get_timecount:                 ; @pvclock_get_timecount
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_pvclock_read_time_info
	ldr	w8, [sp, #4]
Lloh0:
	adrp	x9, _PVCLOCK_FLAG_TSC_STABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PVCLOCK_FLAG_TSC_STABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x19, _pvclock_last_cycles@GOTPAGE
Lloh4:
	ldr	x19, [x19, _pvclock_last_cycles@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_atomic_load_acq_64
	mov	x1, x0
	ldr	x2, [sp, #8]
	cmp	x0, x2
	b.gt	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_atomic_cmpset_64
	cbz	w0, LBB0_2
LBB0_4:
	ldr	x1, [sp, #8]
LBB0_5:
	mov	x0, x1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PVCLOCK_FLAG_TSC_STABLE,4,2    ; @PVCLOCK_FLAG_TSC_STABLE
	.comm	_pvclock_last_cycles,4,2        ; @pvclock_last_cycles
.subsections_via_symbols
