	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ndev_interrupt
_ndev_interrupt:                        ## @ndev_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_ndev_vec_mask
	movl	%eax, %r15d
	cmpl	$31, %r14d
	jne	LBB0_3
## %bb.1:
	movq	_NTB_HWERR_MSIX_VECTOR32_BAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rbx), %eax
	je	LBB0_3
## %bb.2:
	orl	4(%rbx), %r15d
LBB0_3:
	leaq	16(%rbx), %r12
	movq	16(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	callq	_dev_dbg
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	testl	%r15d, 4(%rbx)
	je	LBB0_6
## %bb.4:
	movq	24(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	callq	_ntb_link_event
LBB0_6:
	testl	%r15d, 8(%rbx)
	je	LBB0_8
## %bb.7:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_ntb_db_event
LBB0_8:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NTB_HWERR_MSIX_VECTOR32_BAD,4,2 ## @NTB_HWERR_MSIX_VECTOR32_BAD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vec %d vec_mask %llx\n"

	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_ndev_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ndev_interrupt
_ndev_interrupt:                        ; @ndev_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
	mov	x20, x0
	bl	_ndev_vec_mask
	mov	x21, x0
	cmp	w19, #31
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _NTB_HWERR_MSIX_VECTOR32_BAD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NTB_HWERR_MSIX_VECTOR32_BAD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	cbz	w8, LBB0_3
; %bb.2:
	ldr	w8, [x20, #4]
	orr	w21, w8, w21
LBB0_3:
	mov	x22, x20
	ldr	x0, [x22, #16]!
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x21
	bl	_dev_dbg
Lloh5:
	adrp	x8, _jiffies@GOTPAGE
Lloh6:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x22, #16]
	ldur	w8, [x22, #-12]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.4:
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x22
	bl	_ntb_link_event
LBB0_6:
	ldr	w8, [x20, #8]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x22
	mov	x1, x19
	bl	_ntb_db_event
LBB0_8:
Lloh8:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh10:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NTB_HWERR_MSIX_VECTOR32_BAD,4,2 ; @NTB_HWERR_MSIX_VECTOR32_BAD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vec %d vec_mask %llx\n"

	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_ndev_interrupt
.subsections_via_symbols
