	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pv_eoi_set_pending
_pv_eoi_set_pending:                    ## @pv_eoi_set_pending
	.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	%rdi, %rbx
	movq	_KVM_PV_EOI_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pv_eoi_put_user_atomic
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	_KVM_APIC_PV_EOI_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	___set_bit                      ## TAILCALL
LBB0_1:
	movq	_vcpi@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rsi
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_apic_debug                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_KVM_PV_EOI_ENABLED,4,2         ## @KVM_PV_EOI_ENABLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't set EOI MSR value: 0x%llx\n"

	.comm	_vcpi,8,3                       ## @vcpi
	.comm	_KVM_APIC_PV_EOI_PENDING,4,2    ## @KVM_APIC_PV_EOI_PENDING
	.no_dead_strip	_pv_eoi_set_pending
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pv_eoi_set_pending
_pv_eoi_set_pending:                    ; @pv_eoi_set_pending
	.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
Lloh0:
	adrp	x8, _KVM_PV_EOI_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KVM_PV_EOI_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_pv_eoi_put_user_atomic
	tbnz	x0, #63, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _KVM_APIC_PV_EOI_PENDING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KVM_APIC_PV_EOI_PENDING@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___set_bit
LBB0_2:
Lloh6:
	adrp	x8, _vcpi@GOTPAGE
Lloh7:
	ldr	x8, [x8, _vcpi@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x1, [x8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_apic_debug
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_KVM_PV_EOI_ENABLED,4,2         ; @KVM_PV_EOI_ENABLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't set EOI MSR value: 0x%llx\n"

	.comm	_vcpi,8,3                       ; @vcpi
	.comm	_KVM_APIC_PV_EOI_PENDING,4,2    ; @KVM_APIC_PV_EOI_PENDING
	.no_dead_strip	_pv_eoi_set_pending
.subsections_via_symbols
