	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vpmtmr_handler                 ## -- Begin function vpmtmr_handler
	.p2align	4, 0x90
_vpmtmr_handler:                        ## @vpmtmr_handler
	.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	$-1, %r12d
	testl	%edx, %edx
	je	LBB0_3
## %bb.1:
	cmpl	$4, %r8d
	jne	LBB0_3
## %bb.2:
	movq	%r9, %r14
	callq	_vm_pmtmr
	movq	%rax, %r15
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_sbinuptime
	movl	%eax, %ebx
	movslq	%eax, %rsi
	subl	(%r15), %ebx
	movl	%ebx, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_KASSERT
	movl	%ebx, %eax
	cltd
	idivl	4(%r15)
	cltq
	addq	8(%r15), %rax
	movq	%rax, (%r14)
LBB0_3:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vpmtmr_handler                 ; -- Begin function vpmtmr_handler
	.p2align	2
_vpmtmr_handler:                        ; @vpmtmr_handler
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w0, #-1
	cbz	w2, LBB0_3
; %bb.1:
	cmp	w4, #4
	b.ne	LBB0_3
; %bb.2:
	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, x5
	mov	x0, x8
	bl	_vm_pmtmr
	mov	x20, x0
	bl	_sbinuptime
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x20]
	sub	w21, w0, w8
	mvn	w8, w21
	lsr	w8, w8, #31
	sxtw	x1, w0
	mov	x0, x8
	bl	_KASSERT
	mov	w0, #0
	ldr	x8, [x20, #8]
	ldr	w9, [x20, #4]
	sdiv	w9, w21, w9
	add	x8, x8, w9, sxtw
	str	x8, [x19]
	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
LBB0_3:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
