	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_delay
_mv_delay:                              ## @mv_delay
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movl	$1, %edi
	callq	_mv_get_timer
	movq	%rax, %rbx
	movq	_timer_softc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movslq	(%rax), %rax
	imulq	$1125899907, %rax, %rax         ## imm = 0x431BDE83
	movq	%rax, %rcx
	sarq	$50, %rcx
	shrq	$63, %rax
	leal	(%rcx,%rax), %r15d
	incl	%r15d
	imull	%r14d, %r15d
	testl	%r15d, %r15d
	jle	LBB0_6
## %bb.1:
	movq	_INITIAL_TIMECOUNTER@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	subl	%eax, %ebx
	addl	(%r14), %ebx
	subl	%ebx, %r15d
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	testl	%r15d, %r15d
	jle	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	callq	_mv_get_timer
	cmpq	%rbx, %rax
	jge	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ecx
	subl	%ebx, %ecx
	addl	%ecx, %r15d
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_timer_softc,8,3                ## @timer_softc
	.comm	_INITIAL_TIMECOUNTER,8,3        ## @INITIAL_TIMECOUNTER
	.no_dead_strip	_mv_delay
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv_delay
_mv_delay:                              ; @mv_delay
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	mov	w0, #1
	bl	_mv_get_timer
Lloh0:
	adrp	x8, _timer_softc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _timer_softc@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldrsw	x8, [x8]
	mov	w9, #56963
	movk	w9, #17179, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #50
	add	w8, w8, w9
	madd	w20, w20, w8, w20
	cmp	w20, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x21, _INITIAL_TIMECOUNTER@GOTPAGE
Lloh4:
	ldr	x21, [x21, _INITIAL_TIMECOUNTER@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x21]
	sub	w9, w19, w0
	add	w8, w9, w8
	sub	w20, w20, w8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x19, x0
	cmp	w20, #0
	b.le	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	bl	_mv_get_timer
	cmp	x0, x19
	b.ge	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w0, w19
	add	w20, w20, w8
	b	LBB0_3
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_timer_softc,8,3                ; @timer_softc
	.comm	_INITIAL_TIMECOUNTER,8,3        ; @INITIAL_TIMECOUNTER
	.no_dead_strip	_mv_delay
.subsections_via_symbols
