	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xen_intr_isrc
_xen_intr_isrc:                         ## @xen_intr_isrc
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	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
	movl	(%rdi), %ebx
	movq	_first_evtchn_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	setge	%cl
	movq	_xen_intr_auto_vector_count@GOTPCREL(%rip), %rdx
	addl	(%rdx), %eax
	cmpl	%eax, %ebx
	setl	%al
	andb	%cl, %al
	movzbl	%al, %edi
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movl	%ebx, %edi
	callq	_intr_lookup_source
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_first_evtchn_irq,4,2           ## @first_evtchn_irq
	.comm	_xen_intr_auto_vector_count,4,2 ## @xen_intr_auto_vector_count
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Xen interrupt vector is out of range"

	.no_dead_strip	_xen_intr_isrc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xen_intr_isrc
_xen_intr_isrc:                         ; @xen_intr_isrc
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	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
	ldr	w19, [x0]
Lloh0:
	adrp	x8, _first_evtchn_irq@GOTPAGE
Lloh1:
	ldr	x8, [x8, _first_evtchn_irq@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w19, w8
Lloh3:
	adrp	x9, _xen_intr_auto_vector_count@GOTPAGE
Lloh4:
	ldr	x9, [x9, _xen_intr_auto_vector_count@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w8, w9, w8
	ccmp	w19, w8, #0, ge
	cset	w0, lt
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	mov	x0, x19
	bl	_intr_lookup_source
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_first_evtchn_irq,4,2           ; @first_evtchn_irq
	.comm	_xen_intr_auto_vector_count,4,2 ; @xen_intr_auto_vector_count
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Xen interrupt vector is out of range"

	.no_dead_strip	_xen_intr_isrc
.subsections_via_symbols
