	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xen_intr_signal                ## -- Begin function xen_intr_signal
	.p2align	4, 0x90
_xen_intr_signal:                       ## @xen_intr_signal
	.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
	callq	_xen_intr_isrc
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_EVTCHN_TYPE_PORT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_EVTCHN_TYPE_IPI@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movl	8(%rbx), %eax
	movl	%eax, -16(%rbp)
	movq	_EVTCHNOP_send@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-16(%rbp), %rsi
	callq	_HYPERVISOR_event_channel_op
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVTCHN_TYPE_PORT,8,3           ## @EVTCHN_TYPE_PORT
	.comm	_EVTCHN_TYPE_IPI,8,3            ## @EVTCHN_TYPE_IPI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"evtchn_signal on something other than a local port"

	.comm	_EVTCHNOP_send,4,2              ## @EVTCHNOP_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xen_intr_signal                ; -- Begin function xen_intr_signal
	.p2align	2
_xen_intr_signal:                       ; @xen_intr_signal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_xen_intr_isrc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _EVTCHN_TYPE_PORT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EVTCHN_TYPE_PORT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh3:
	adrp	x9, _EVTCHN_TYPE_IPI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EVTCHN_TYPE_IPI@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w0, eq
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	ldr	w8, [x19, #8]
	str	w8, [sp, #8]
Lloh8:
	adrp	x8, _EVTCHNOP_send@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EVTCHNOP_send@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_HYPERVISOR_event_channel_op
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EVTCHN_TYPE_PORT,8,3           ; @EVTCHN_TYPE_PORT
	.comm	_EVTCHN_TYPE_IPI,8,3            ; @EVTCHN_TYPE_IPI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"evtchn_signal on something other than a local port"

	.comm	_EVTCHNOP_send,4,2              ; @EVTCHNOP_send
.subsections_via_symbols
