	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vhpet_start_timer
_vhpet_start_timer:                     ## @vhpet_start_timer
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,2), %rbx
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_vhpet_adjust_compval
	movq	8(%r12), %rax
LBB0_2:
	movl	8(%rax,%rbx,8), %esi
	subl	%r15d, %esi
	imull	(%r12), %esi
	movq	_tc_precexp@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%esi, %edx
	sarl	%cl, %edx
	addl	%r14d, %esi
	movl	%esi, 12(%rax,%rbx,8)
	leaq	(%rax,%rbx,8), %rdi
	addq	$20, %rdi
	movq	_vhpet_handler@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	16(%rax,%rbx,8), %r8
	movq	_C_ABSOLUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_callout_reset_sbt              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tc_precexp,4,2                 ## @tc_precexp
	.comm	_vhpet_handler,4,2              ## @vhpet_handler
	.comm	_C_ABSOLUTE,4,2                 ## @C_ABSOLUTE
	.no_dead_strip	_vhpet_start_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vhpet_start_timer
_vhpet_start_timer:                     ; @vhpet_start_timer
	.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	x19, x3
	mov	x20, x2
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x21, x0
	ldr	x8, [x0, #8]
	sxtw	x22, w1
	mov	w9, #24
	smull	x9, w1, w9
	ldr	x9, [x8, x9]
	cbz	x9, LBB0_2
; %bb.1:
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x20
	bl	_vhpet_adjust_compval
	ldr	x8, [x21, #8]
LBB0_2:
	mov	w9, #24
	madd	x8, x22, x9, x8
	ldr	w9, [x8, #8]
	sub	w9, w9, w20
	ldr	w10, [x21]
	mul	w9, w9, w10
Lloh0:
	adrp	x10, _tc_precexp@GOTPAGE
Lloh1:
	ldr	x10, [x10, _tc_precexp@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	asr	w2, w9, w10
	add	w1, w9, w19
	str	w1, [x8, #12]
Lloh3:
	adrp	x9, _vhpet_handler@GOTPAGE
Lloh4:
	ldr	x9, [x9, _vhpet_handler@GOTPAGEOFF]
	add	x0, x8, #20
Lloh5:
	ldr	w3, [x9]
	add	x4, x8, #16
Lloh6:
	adrp	x8, _C_ABSOLUTE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _C_ABSOLUTE@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	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
	b	_callout_reset_sbt
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tc_precexp,4,2                 ; @tc_precexp
	.comm	_vhpet_handler,4,2              ; @vhpet_handler
	.comm	_C_ABSOLUTE,4,2                 ; @C_ABSOLUTE
	.no_dead_strip	_vhpet_start_timer
.subsections_via_symbols
