	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmci_interrupt
_vmci_interrupt:                        ## @vmci_interrupt
	.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
	movq	%rsi, %rbx
	cmpq	$0, 24(%rsi)
	je	LBB0_2
## %bb.1:
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_tasklet_schedule
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r15
	jmp	LBB0_10
LBB0_2:
	movq	_VMCI_ICR_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%rbx), %rdi
	callq	_ioread32
	movl	%eax, %r14d
	leal	1(%r14), %eax
	cmpl	$2, %eax
	jae	LBB0_4
## %bb.3:
	movq	_IRQ_NONE@GOTPCREL(%rip), %r15
	jmp	LBB0_10
LBB0_4:
	movq	_VMCI_ICR_DATAGRAM@GOTPCREL(%rip), %r15
	testl	%r14d, (%r15)
	je	LBB0_6
## %bb.5:
	leaq	8(%rbx), %rdi
	callq	_tasklet_schedule
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, %r14d
LBB0_6:
	movq	_VMCI_ICR_NOTIFICATION@GOTPCREL(%rip), %r15
	testl	%r14d, (%r15)
	je	LBB0_8
## %bb.7:
	leaq	4(%rbx), %rdi
	callq	_tasklet_schedule
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, %r14d
LBB0_8:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r15
	testl	%r14d, %r14d
	je	LBB0_10
## %bb.9:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_dev_warn
LBB0_10:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VMCI_ICR_ADDR,8,3              ## @VMCI_ICR_ADDR
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_VMCI_ICR_DATAGRAM,4,2          ## @VMCI_ICR_DATAGRAM
	.comm	_VMCI_ICR_NOTIFICATION,4,2      ## @VMCI_ICR_NOTIFICATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ignoring unknown interrupt cause (%d)\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_vmci_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmci_interrupt
_vmci_interrupt:                        ; @vmci_interrupt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	ldr	x8, [x1, #24]
	cbz	x8, LBB0_4
; %bb.1:
	add	x0, x19, #8
	bl	_tasklet_schedule
LBB0_2:
Lloh0:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x8, [x19, #16]
Lloh2:
	adrp	x9, _VMCI_ICR_ADDR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _VMCI_ICR_ADDR@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_ioread32
	add	w8, w0, #1
	cmp	w8, #2
	b.hs	LBB0_6
; %bb.5:
Lloh5:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_3
LBB0_6:
	mov	x20, x0
Lloh7:
	adrp	x21, _VMCI_ICR_DATAGRAM@GOTPAGE
Lloh8:
	ldr	x21, [x21, _VMCI_ICR_DATAGRAM@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_8
; %bb.7:
	add	x0, x19, #8
	bl	_tasklet_schedule
	ldr	w8, [x21]
	bic	w20, w20, w8
LBB0_8:
Lloh9:
	adrp	x21, _VMCI_ICR_NOTIFICATION@GOTPAGE
Lloh10:
	ldr	x21, [x21, _VMCI_ICR_NOTIFICATION@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.9:
	add	x0, x19, #4
	bl	_tasklet_schedule
	ldr	w8, [x21]
	bic	w20, w20, w8
LBB0_10:
	cbz	w20, LBB0_2
; %bb.11:
	ldr	w0, [x19]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_warn
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_VMCI_ICR_ADDR,8,3              ; @VMCI_ICR_ADDR
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_VMCI_ICR_DATAGRAM,4,2          ; @VMCI_ICR_DATAGRAM
	.comm	_VMCI_ICR_NOTIFICATION,4,2      ; @VMCI_ICR_NOTIFICATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ignoring unknown interrupt cause (%d)\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_vmci_interrupt
.subsections_via_symbols
