	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_pit_reset                  ## -- Begin function kvm_pit_reset
	.p2align	4, 0x90
_kvm_pit_reset:                         ## @kvm_pit_reset
	.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, %rbx
	leaq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	$0, 24(%rbx)
	movq	16(%rbx), %rax
	movabsq	$4294967551, %r15               ## imm = 0x1000000FF
	movq	%r15, (%rax)
	movl	32(%rbx), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_pit_load_count
	movq	16(%rbx), %rax
	movq	%r15, 8(%rax)
	movl	32(%rbx), %edi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_pit_load_count
	movq	16(%rbx), %rax
	movq	$255, 16(%rax)
	movl	32(%rbx), %edi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_pit_load_count
	movq	%r14, %rdi
	callq	_mutex_unlock
	leaq	4(%rbx), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movl	$1, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	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
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function kvm_pit_reset
lCPI0_0:
	.long	255                             ; 0xff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_kvm_pit_reset
	.p2align	2
_kvm_pit_reset:                         ; @kvm_pit_reset
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -56
	.cfi_offset b9, -64
	mov	x19, x0
	add	x20, x0, #8
	mov	x0, x20
	bl	_mutex_lock
	str	xzr, [x19, #24]
	ldr	x8, [x19, #16]
Lloh0:
	adrp	x9, lCPI0_0@PAGE
Lloh1:
	ldr	d8, [x9, lCPI0_0@PAGEOFF]
	str	d8, [x8]
	ldr	w0, [x19, #32]
	mov	w1, #0
	mov	w2, #0
	bl	_pit_load_count
	ldr	x8, [x19, #16]
	str	d8, [x8, #8]
	ldr	w0, [x19, #32]
	mov	w21, #1
	mov	w1, #1
	mov	w2, #0
	bl	_pit_load_count
	ldr	x8, [x19, #16]
	movi	d0, #0x000000000000ff
	str	d0, [x8, #16]
	ldr	w0, [x19, #32]
	mov	w1, #2
	mov	w2, #0
	bl	_pit_load_count
	mov	x0, x20
	bl	_mutex_unlock
	add	x0, x19, #4
	mov	w1, #0
	bl	_atomic_set
	str	w21, [x19]
	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	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
