	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inject_pending_event
_inject_pending_event:                  ## @inject_pending_event
	.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, %rbx
	cmpq	$0, 32(%rdi)
	je	LBB0_1
## %bb.14:
	movl	24(%rbx), %edi
	movl	16(%rbx), %edx
	movl	20(%rbx), %esi
	callq	_trace_kvm_inj_exception
	movq	_kvm_x86_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	32(%rax), %rax
	movl	24(%rbx), %esi
	movl	16(%rbx), %ecx
	movl	20(%rbx), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	cmpl	$0, (%rbx)
	je	LBB0_4
## %bb.2:
	movq	_kvm_x86_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_3:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*16(%rax)                       ## TAILCALL
LBB0_4:
	cmpq	$0, 8(%rbx)
	je	LBB0_7
## %bb.5:
	movq	_kvm_x86_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
LBB0_7:
	cmpl	$0, 4(%rbx)
	je	LBB0_10
## %bb.8:
	movq	_kvm_x86_ops@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rbx, %rdi
	callq	*24(%rax)
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	$1, (%rbx)
	movq	(%r14), %rax
	jmp	LBB0_3
LBB0_10:
	movq	%rbx, %rdi
	callq	_kvm_cpu_has_interrupt
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	_kvm_x86_ops@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rbx, %rdi
	callq	*8(%rax)
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	_kvm_cpu_get_interrupt
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_kvm_queue_interrupt
	movq	(%r14), %rax
	jmp	LBB0_6
LBB0_13:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kvm_x86_ops,8,3                ## @kvm_x86_ops
	.no_dead_strip	_inject_pending_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function inject_pending_event
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_inject_pending_event:                  ; @inject_pending_event
	.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	x8, [x0, #32]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	w1, w0, [x19, #20]
	ldr	w2, [x19, #16]
	bl	_trace_kvm_inj_exception
Lloh0:
	adrp	x8, _kvm_x86_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kvm_x86_ops@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x4, [x8, #32]
	ldp	w2, w1, [x19, #20]
	ldr	w3, [x19, #16]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x4
LBB0_2:
	ldr	w8, [x19]
	cbz	w8, LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, _kvm_x86_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _kvm_x86_ops@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
LBB0_4:
	ldr	x1, [x8, #16]
	b	LBB0_8
LBB0_5:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_9
; %bb.6:
Lloh6:
	adrp	x8, _kvm_x86_ops@GOTPAGE
Lloh7:
	ldr	x8, [x8, _kvm_x86_ops@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
LBB0_7:
	ldr	x1, [x8]
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
LBB0_9:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_12
; %bb.10:
Lloh9:
	adrp	x20, _kvm_x86_ops@GOTPAGE
Lloh10:
	ldr	x20, [x20, _kvm_x86_ops@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x8, [x8, #24]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_15
; %bb.11:
Lloh11:
	adrp	x8, lCPI0_0@PAGE
Lloh12:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	ldr	x8, [x20]
	b	LBB0_4
LBB0_12:
	mov	x0, x19
	bl	_kvm_cpu_has_interrupt
	cbz	x0, LBB0_15
; %bb.13:
Lloh13:
	adrp	x20, _kvm_x86_ops@GOTPAGE
Lloh14:
	ldr	x20, [x20, _kvm_x86_ops@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_kvm_cpu_get_interrupt
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_kvm_queue_interrupt
	ldr	x8, [x20]
	b	LBB0_7
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_kvm_x86_ops,8,3                ; @kvm_x86_ops
	.no_dead_strip	_inject_pending_event
.subsections_via_symbols
