	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_extint_clear                ## -- Begin function vm_extint_clear
	.p2align	4, 0x90
_vm_extint_clear:                       ## @vm_extint_clear
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	testl	%esi, %esi
	js	LBB0_2
## %bb.1:
	cmpl	%ebx, (%r14)
	jg	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_panic
LBB0_3:
	movq	8(%r14), %r15
	movslq	%ebx, %r12
	cmpq	$0, (%r15,%r12,8)
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_panic
LBB0_5:
	movq	$0, (%r15,%r12,8)
	movq	_VCPU_EXTINT_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$1, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vmm_stat_incr                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vm_extint_pending: invalid vcpuid %d"

L_.str.1:                               ## @.str.1
	.asciz	"vm_extint_clear: inconsistent extint_pending state"

	.comm	_VCPU_EXTINT_COUNT,4,2          ## @VCPU_EXTINT_COUNT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_extint_clear                ; -- Begin function vm_extint_clear
	.p2align	2
_vm_extint_clear:                       ; @vm_extint_clear
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	tbnz	w1, #31, LBB0_2
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, w19
	b.gt	LBB0_3
LBB0_2:
	mov	x8, x19
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
LBB0_3:
	ldr	x21, [x20, #8]
	sxtw	x22, w19
	ldr	x8, [x21, w19, sxtw #3]
	cbnz	x8, LBB0_5
; %bb.4:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_panic
LBB0_5:
	str	xzr, [x21, x22, lsl #3]
Lloh4:
	adrp	x8, _VCPU_EXTINT_COUNT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _VCPU_EXTINT_COUNT@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_vmm_stat_incr
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vm_extint_pending: invalid vcpuid %d"

l_.str.1:                               ; @.str.1
	.asciz	"vm_extint_clear: inconsistent extint_pending state"

	.comm	_VCPU_EXTINT_COUNT,4,2          ; @VCPU_EXTINT_COUNT
.subsections_via_symbols
