	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ntb_msit_desc_changed
_ntb_msit_desc_changed:                 ## @ntb_msit_desc_changed
	.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
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_num_irqs@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_3
## %bb.1:
	movl	$1, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	movq	8(%r14), %rax
	movl	4(%rax,%rbx,8), %edx
	movl	%r12d, %esi
	callq	_ntb_spad_write
	movq	(%r14), %rdi
	movq	8(%r14), %rax
	movl	(%rax,%rbx,8), %edx
	leal	1(%r12), %esi
	callq	_ntb_spad_write
	incq	%rbx
	movslq	(%r15), %rax
	addl	$2, %r12d
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	(%r14), %rbx
	movq	%rbx, %rdi
	callq	_ntb_port_number
	movl	%eax, %edi
	callq	_BIT
	movq	%rbx, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ntb_peer_db_set                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MSI Descriptors Changed\n"

	.comm	_num_irqs,4,2                   ## @num_irqs
	.no_dead_strip	_ntb_msit_desc_changed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ntb_msit_desc_changed
_ntb_msit_desc_changed:                 ; @ntb_msit_desc_changed
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh2:
	adrp	x21, _num_irqs@GOTPAGE
Lloh3:
	ldr	x21, [x21, _num_irqs@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x0, x8, [x19]
	lsl	x23, x20, #2
	add	x8, x8, x23
	ldr	w2, [x8, #4]
	add	w1, w20, #1
	bl	_ntb_spad_write
	ldp	x0, x8, [x19]
	ldr	w2, [x8, x23]
	add	x20, x20, #2
	mov	x1, x20
	bl	_ntb_spad_write
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
	ldr	x19, [x19]
	mov	x0, x19
	bl	_ntb_port_number
	bl	_BIT
	mov	x1, x0
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ntb_peer_db_set
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MSI Descriptors Changed\n"

	.comm	_num_irqs,4,2                   ; @num_irqs
	.no_dead_strip	_ntb_msit_desc_changed
.subsections_via_symbols
