	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vhpet_start_counting
_vhpet_start_counting:                  ## @vhpet_start_counting
	.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
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_sbinuptime
	movl	%eax, (%r14)
	movq	_VHPET_NUM_TIMERS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_4
## %bb.1:
	movl	4(%r14), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%eax, %ecx
	callq	_vhpet_start_timer
	cmpl	$2, (%r15)
	jl	LBB0_4
## %bb.2:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %ecx
	movl	4(%r14), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_vhpet_start_timer
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_3
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VHPET_NUM_TIMERS,4,2           ## @VHPET_NUM_TIMERS
	.no_dead_strip	_vhpet_start_counting
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vhpet_start_counting
_vhpet_start_counting:                  ; @vhpet_start_counting
	.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, x0
	bl	_sbinuptime
	str	w0, [x19]
Lloh0:
	adrp	x21, _VHPET_NUM_TIMERS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _VHPET_NUM_TIMERS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x3, x0
	ldr	w2, [x19, #4]
	mov	x0, x19
	mov	w1, #0
	bl	_vhpet_start_timer
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.2:
	mov	w20, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w3, w2, [x19]
	mov	x0, x19
	mov	x1, x20
	bl	_vhpet_start_timer
	add	w20, w20, #1
	ldr	w8, [x21]
	cmp	w20, w8
	b.lt	LBB0_3
LBB0_4:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VHPET_NUM_TIMERS,4,2           ; @VHPET_NUM_TIMERS
	.no_dead_strip	_vhpet_start_counting
.subsections_via_symbols
