	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_free_pit                   ## -- Begin function kvm_free_pit
	.p2align	4, 0x90
_kvm_free_pit:                          ## @kvm_free_pit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	_KVM_PIO_BUS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	addq	$32, %rdx
	callq	_kvm_io_bus_unregister_dev
	movl	(%r14), %esi
	movq	(%rbx), %rdx
	addq	$28, %rdx
	movq	%rbx, %rdi
	callq	_kvm_io_bus_unregister_dev
	movq	(%rbx), %rdx
	addq	$24, %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_kvm_unregister_irq_mask_notifier
	movq	(%rbx), %rsi
	addq	$12, %rsi
	movq	%rbx, %rdi
	callq	_kvm_unregister_irq_ack_notifier
	movq	(%rbx), %rdi
	addq	$4, %rdi
	callq	_mutex_lock
	movq	(%rbx), %rdi
	addq	$8, %rdi
	callq	_hrtimer_cancel
	movq	(%rbx), %rdi
	addq	$20, %rdi
	callq	_cancel_work_sync
	movq	(%rbx), %rax
	movl	16(%rax), %esi
	movq	%rbx, %rdi
	callq	_kvm_free_irq_source_id
	movq	(%rbx), %rdi
	addq	$4, %rdi
	callq	_mutex_unlock
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_destroy_workqueue
	movq	(%rbx), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KVM_PIO_BUS,4,2                ## @KVM_PIO_BUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_free_pit                   ; -- Begin function kvm_free_pit
	.p2align	2
_kvm_free_pit:                          ; @kvm_free_pit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x20, _KVM_PIO_BUS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _KVM_PIO_BUS@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, x8, #32
	bl	_kvm_io_bus_unregister_dev
	ldr	w1, [x20]
	ldr	x8, [x19]
	add	x2, x8, #28
	mov	x0, x19
	bl	_kvm_io_bus_unregister_dev
	ldr	x8, [x19]
	add	x2, x8, #24
	mov	x0, x19
	mov	w1, #0
	bl	_kvm_unregister_irq_mask_notifier
	ldr	x8, [x19]
	add	x1, x8, #12
	mov	x0, x19
	bl	_kvm_unregister_irq_ack_notifier
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_mutex_lock
	ldr	x8, [x19]
	add	x0, x8, #8
	bl	_hrtimer_cancel
	ldr	x8, [x19]
	add	x0, x8, #20
	bl	_cancel_work_sync
	ldr	x8, [x19]
	ldr	w1, [x8, #16]
	mov	x0, x19
	bl	_kvm_free_irq_source_id
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_mutex_unlock
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_destroy_workqueue
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_KVM_PIO_BUS,4,2                ; @KVM_PIO_BUS
.subsections_via_symbols
