	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_apic_post_state_restore    ## -- Begin function kvm_apic_post_state_restore
	.p2align	4, 0x90
_kvm_apic_post_state_restore:           ## @kvm_apic_post_state_restore
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	8(%rdi), %rbx
	movq	_MSR_IA32_APICBASE_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	movl	%eax, (%rbx)
	callq	_kvm_apic_set_version
	movq	%rbx, %rdi
	callq	_apic_update_ppr
	leaq	28(%rbx), %rdi
	callq	_hrtimer_cancel
	movq	%rbx, %rdi
	callq	_update_divide_count
	movq	%rbx, %rdi
	callq	_start_apic_timer
	movl	$1, 4(%rbx)
	movq	_APIC_ISR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%rbx), %rdi
	callq	_count_vectors
	movl	%eax, 24(%rbx)
	movl	$-1, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSR_IA32_APICBASE_BASE,4,2     ## @MSR_IA32_APICBASE_BASE
	.comm	_APIC_ISR,8,3                   ## @APIC_ISR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_apic_post_state_restore    ; -- Begin function kvm_apic_post_state_restore
	.p2align	2
_kvm_apic_post_state_restore:           ; @kvm_apic_post_state_restore
	.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	x19, [x0, #8]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MSR_IA32_APICBASE_BASE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MSR_IA32_APICBASE_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x19]
	bl	_kvm_apic_set_version
	mov	x0, x19
	bl	_apic_update_ppr
	add	x0, x19, #28
	bl	_hrtimer_cancel
	mov	x0, x19
	bl	_update_divide_count
	mov	x0, x19
	bl	_start_apic_timer
	mov	w8, #1
	str	w8, [x19, #4]
	ldr	x8, [x19, #16]
Lloh3:
	adrp	x9, _APIC_ISR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _APIC_ISR@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_count_vectors
	str	w0, [x19, #24]
	mov	w8, #-1
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSR_IA32_APICBASE_BASE,4,2     ; @MSR_IA32_APICBASE_BASE
	.comm	_APIC_ISR,8,3                   ; @APIC_ISR
.subsections_via_symbols
