	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtsc_min
_rtsc_min:                              ## @rtsc_min
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rsi, %rbx
	movq	16(%rsi), %r14
	movq	24(%rsi), %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rsi
	callq	_rtsc_x2y
	movq	%rax, %r13
	cmpq	%r15, %r14
	jle	LBB0_1
## %bb.3:
	subq	%r12, %r13
	jle	LBB0_7
## %bb.4:
	movq	(%rbx), %rsi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	addq	%r15, %rsi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_rtsc_x2y
	movq	8(%rbx), %rcx
	leaq	(%rcx,%r12), %rdx
	cmpq	%rdx, %rax
	jge	LBB0_5
## %bb.6:
	movq	_SM_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlq	%cl, %r13
	movq	16(%rbx), %rsi
	subq	24(%rbx), %rsi
	movq	%r13, %rdi
	callq	_do_div
	movq	8(%r14), %rax
	addq	(%r14), %rax
	xorl	%edi, %edi
	subq	%r15, %rax
	cmovgq	%rax, %rdi
	addq	%r13, %rdi
	movq	16(%rbx), %rsi
	movq	%rdi, %rbx
	callq	_seg_x2y
	movq	%r15, (%r14)
	movq	%r12, 24(%r14)
	movq	%rbx, 8(%r14)
	movq	%rax, 16(%r14)
	jmp	LBB0_7
LBB0_1:
	cmpq	%r12, %r13
	jl	LBB0_7
## %bb.2:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	%r12, 24(%rax)
	jmp	LBB0_7
LBB0_5:
	movq	%r15, (%r14)
	movq	%r12, 24(%r14)
	movq	(%rbx), %rax
	movq	%rax, 8(%r14)
	movq	%rcx, 16(%r14)
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SM_SHIFT,8,3                   ## @SM_SHIFT
	.no_dead_strip	_rtsc_min
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtsc_min
_rtsc_min:                              ; @rtsc_min
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldp	x23, x24, [x1, #16]
	mov	x1, x2
	bl	_rtsc_x2y
	cmp	x23, x24
	b.le	LBB0_4
; %bb.1:
	subs	x23, x0, x19
	b.le	LBB0_7
; %bb.2:
	ldr	x8, [x22]
	add	x1, x8, x21
	mov	x0, x20
	bl	_rtsc_x2y
	ldr	x8, [x22, #8]
	add	x9, x8, x19
	cmp	x0, x9
	b.ge	LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _SM_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SM_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	lsl	x23, x23, x8
	ldp	x8, x9, [x22, #16]
	sub	x1, x8, x9
	mov	x0, x23
	bl	_do_div
	ldp	x8, x9, [x20]
	add	x8, x9, x8
	subs	x8, x8, x21
	csel	x8, x8, xzr, gt
	add	x23, x8, x23
	ldr	x1, [x22, #16]
	mov	x0, x23
	bl	_seg_x2y
	stp	x21, x23, [x20]
	stp	x0, x19, [x20, #16]
	b	LBB0_7
LBB0_4:
	cmp	x0, x19
	b.lt	LBB0_7
; %bb.5:
	str	x21, [x20]
	str	x19, [x20, #24]
	b	LBB0_7
LBB0_6:
	ldr	x9, [x22]
	stp	x21, x9, [x20]
	stp	x8, x19, [x20, #16]
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SM_SHIFT,8,3                   ; @SM_SHIFT
	.no_dead_strip	_rtsc_min
.subsections_via_symbols
