	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apic_sync_pv_eoi_to_guest
_apic_sync_pv_eoi_to_guest:             ## @apic_sync_pv_eoi_to_guest
	.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	%rsi, %r14
	movq	%rdi, %rbx
	callq	_pv_eoi_enabled
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	cmpq	$0, 8(%r14)
	je	LBB0_2
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movl	(%r14), %esi
	cmpl	$-1, %esi
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %edi
	callq	_kvm_ioapic_handles_vector
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movl	4(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pv_eoi_set_pending             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_apic_sync_pv_eoi_to_guest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apic_sync_pv_eoi_to_guest
_apic_sync_pv_eoi_to_guest:             ; @apic_sync_pv_eoi_to_guest
	.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, x1
	mov	x20, x0
	bl	_pv_eoi_enabled
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w1, [x19]
	cmn	w1, #1
	b.eq	LBB0_2
; %bb.4:
	ldr	w0, [x20]
	bl	_kvm_ioapic_handles_vector
	cbnz	x0, LBB0_2
; %bb.5:
	ldr	w0, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pv_eoi_set_pending
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_apic_sync_pv_eoi_to_guest
.subsections_via_symbols
