	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vlapic_trigger_lvt             ## -- Begin function vlapic_trigger_lvt
	.p2align	4, 0x90
_vlapic_trigger_lvt:                    ## @vlapic_trigger_lvt
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_vlapic_enabled
	testl	%eax, %eax
	je	LBB0_1
## %bb.5:
	leal	-128(%r15), %eax
	cmpl	$6, %eax
	ja	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_vlapic_fire_lvt
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movq	_LVTS_TRIGGERRED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %ecx
	movl	$1, %r8d
	callq	_vmm_stat_array_incr
	jmp	LBB0_9
LBB0_1:
	xorl	%r14d, %r14d
	cmpl	$131, %r15d
	je	LBB0_4
## %bb.2:
	cmpl	$132, %r15d
	jne	LBB0_9
## %bb.3:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_vm_inject_extint
	jmp	LBB0_9
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_9
LBB0_4:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_vm_inject_nmi
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LVTS_TRIGGERRED,4,2            ## @LVTS_TRIGGERRED
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vlapic_trigger_lvt             ; -- Begin function vlapic_trigger_lvt
	.p2align	2
_vlapic_trigger_lvt:                    ; @vlapic_trigger_lvt
	.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	_vlapic_enabled
	cbz	w0, LBB0_4
; %bb.1:
	sub	w8, w19, #128
	cmp	w8, #6
	b.hi	LBB0_7
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_vlapic_fire_lvt
	cbz	w0, LBB0_10
; %bb.3:
	ldp	w1, w0, [x20]
Lloh0:
	adrp	x8, _LVTS_TRIGGERRED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LVTS_TRIGGERRED@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x3, x19
	mov	w4, #1
	bl	_vmm_stat_array_incr
	b	LBB0_9
LBB0_4:
	cmp	w19, #131
	b.eq	LBB0_8
; %bb.5:
	cmp	w19, #132
	b.ne	LBB0_9
; %bb.6:
	ldp	w1, w0, [x20]
	bl	_vm_inject_extint
	b	LBB0_9
LBB0_7:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_10
LBB0_8:
	ldp	w1, w0, [x20]
	bl	_vm_inject_nmi
LBB0_9:
	mov	w0, #0
LBB0_10:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_LVTS_TRIGGERRED,4,2            ; @LVTS_TRIGGERRED
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
