	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function post_kvm_run_save
_post_kvm_run_save:                     ## @post_kvm_run_save
	.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
	movq	8(%rdi), %r14
	movq	_kvm_x86_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	callq	*(%rax)
	movq	_X86_EFLAGS_IF@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	movl	%edx, (%r14)
	movq	%rbx, %rdi
	callq	_kvm_get_cr8
	movl	%eax, 12(%r14)
	movq	%rbx, %rdi
	callq	_kvm_get_apic_base
	movl	%eax, 8(%r14)
	movl	(%rbx), %edi
	callq	_irqchip_in_kernel
	movl	$1, %r15d
	testq	%rax, %rax
	je	LBB0_1
LBB0_4:
	movl	%r15d, 4(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, %rdi
	callq	_kvm_arch_interrupt_allowed
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_kvm_cpu_has_interrupt
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_kvm_event_needs_reinjection
	xorl	%r15d, %r15d
	testl	%eax, %eax
	sete	%r15b
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_kvm_x86_ops,8,3                ## @kvm_x86_ops
	.comm	_X86_EFLAGS_IF,4,2              ## @X86_EFLAGS_IF
	.no_dead_strip	_post_kvm_run_save
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function post_kvm_run_save
_post_kvm_run_save:                     ; @post_kvm_run_save
	.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
	mov	x19, x0
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x8, _kvm_x86_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kvm_x86_ops@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	blr	x8
Lloh3:
	adrp	x8, _X86_EFLAGS_IF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _X86_EFLAGS_IF@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w8, ne
	str	w8, [x20]
	mov	x0, x19
	bl	_kvm_get_cr8
	str	w0, [x20, #12]
	mov	x0, x19
	bl	_kvm_get_apic_base
	str	w0, [x20, #8]
	ldr	w0, [x19]
	bl	_irqchip_in_kernel
	cbz	x0, LBB0_2
; %bb.1:
	mov	w8, #1
	b	LBB0_6
LBB0_2:
	mov	x0, x19
	bl	_kvm_arch_interrupt_allowed
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_kvm_cpu_has_interrupt
	cbz	w0, LBB0_5
LBB0_4:
	mov	w8, #0
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_kvm_event_needs_reinjection
	cmp	w0, #0
	cset	w8, eq
LBB0_6:
	str	w8, [x20, #4]
	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	_kvm_x86_ops,8,3                ; @kvm_x86_ops
	.comm	_X86_EFLAGS_IF,4,2              ; @X86_EFLAGS_IF
	.no_dead_strip	_post_kvm_run_save
.subsections_via_symbols
