	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ndev_init_isr                  ## -- Begin function ndev_init_isr
	.p2align	4, 0x90
_ndev_init_isr:                         ## @ndev_init_isr
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	88(%rdi), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_dev_to_node
	movl	%eax, %r12d
	movl	80(%r15), %edi
	movl	%edi, 64(%r15)
	movq	48(%r15), %rax
	movq	72(%r15), %rcx
	movq	(%rax), %rsi
	addq	56(%r15), %rsi
	callq	*(%rcx)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%r13d, %edi
	movl	$96, %esi
	movl	%r12d, %ecx
	callq	_kcalloc_node
	leaq	16(%r15), %rcx
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_20
## %bb.1:
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edx
	movl	%r13d, %edi
	movl	$96, %esi
	movl	%r12d, %ecx
	callq	_kcalloc_node
	movq	%rax, 24(%r15)
	testq	%rax, %rax
	je	LBB0_19
## %bb.2:
	testl	%r13d, %r13d
	jle	LBB0_10
## %bb.3:
	movl	%r13d, %esi
	leaq	-1(%rsi), %rcx
	movl	%esi, %edx
	andl	$3, %edx
	cmpq	$3, %rcx
	jae	LBB0_5
## %bb.4:
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_5:
	andl	$-4, %esi
	xorl	%ecx, %ecx
	movq	%rax, %rdi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, (%rdi)
	leal	1(%rcx), %ebx
	movl	%ebx, 96(%rdi)
	leal	2(%rcx), %ebx
	movl	%ebx, 192(%rdi)
	leal	3(%rcx), %ebx
	movl	%ebx, 288(%rdi)
	addq	$4, %rcx
	addq	$384, %rdi                      ## imm = 0x180
	cmpq	%rsi, %rcx
	jne	LBB0_6
LBB0_7:
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.8:
	leaq	(%rcx,%rcx,2), %rdi
	shlq	$5, %rdi
	movq	%rax, %rsi
	addq	%rdi, %rsi
	shlq	$5, %rdx
	leaq	(%rdx,%rdx,2), %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, (%rsi,%rdi)
	incl	%ecx
	addq	$96, %rdi
	cmpq	%rdi, %rdx
	jne	LBB0_9
LBB0_10:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	callq	_pci_enable_msix_range
	testl	%eax, %eax
	js	LBB0_18
## %bb.11:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_24
## %bb.12:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	shlq	$5, %rax
	leaq	(%rax,%rax,2), %r14
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	leaq	(%rax,%rbx), %r8
	movq	%r15, 40(%rax,%rbx)
	movl	%r13d, 4(%rax,%rbx)
	movq	24(%r15), %rax
	movl	32(%rax,%rbx), %edi
	movq	_ndev_vec_isr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	movq	%r12, %rcx
	callq	_request_irq
	testl	%eax, %eax
	jne	LBB0_14
## %bb.23:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%r13
	addq	$96, %rbx
	cmpq	%rbx, %r14
	jne	LBB0_13
LBB0_24:
	leaq	L_.str.1(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_29
LBB0_14:
	testl	%r13d, %r13d
	je	LBB0_17
## %bb.15:
	addq	$-96, %rbx
	incq	%r13
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rax
	movl	32(%rax,%rbx), %edi
	movq	16(%r15), %rsi
	addq	%rbx, %rsi
	callq	_free_irq
	decq	%r13
	addq	$-96, %rbx
	cmpq	$1, %r13
	jg	LBB0_16
LBB0_17:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_pci_disable_msix
LBB0_18:
	movq	24(%r15), %rdi
	callq	_kfree
LBB0_19:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdi
	callq	_kfree
	movq	%rbx, %rcx
LBB0_20:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rcx)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_pci_enable_msi
	testl	%eax, %eax
	jne	LBB0_26
## %bb.21:
	movl	4(%rbx), %edi
	movq	_ndev_irq_isr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rcx
	xorl	%edx, %edx
	movq	%r15, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_22
## %bb.25:
	movq	%rbx, %rdi
	callq	_pci_disable_msi
LBB0_26:
	movl	$1, %r14d
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_pci_intx
	movl	4(%rbx), %edi
	movq	_ndev_irq_isr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r15, %r8
	callq	_request_irq
	testl	%eax, %eax
	jne	LBB0_30
## %bb.27:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_28
LBB0_22:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$1, %r14d
LBB0_28:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
LBB0_29:
	movl	%r14d, 8(%r15)
	movl	%eax, 12(%r15)
	xorl	%eax, %eax
LBB0_30:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ndev_vec_isr,4,2               ## @ndev_vec_isr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ndev_vec_isr"

L_.str.1:                               ## @.str.1
	.asciz	"Using %d msix interrupts\n"

	.comm	_ndev_irq_isr,4,2               ## @ndev_irq_isr
L_.str.2:                               ## @.str.2
	.asciz	"ndev_irq_isr"

L_.str.3:                               ## @.str.3
	.asciz	"Using msi interrupts\n"

	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.4:                               ## @.str.4
	.asciz	"Using intx interrupts\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ndev_init_isr                  ; -- Begin function ndev_init_isr
	.p2align	2
_ndev_init_isr:                         ; @ndev_init_isr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x27, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	ldr	x21, [x0, #88]
	mov	x0, x21
	bl	_dev_to_node
	mov	x25, x0
	ldr	w0, [x19, #80]
	str	w0, [x19, #64]
	ldr	x8, [x19, #72]
	ldr	x8, [x8]
	ldp	x10, x9, [x19, #48]
	ldr	x10, [x10]
	add	x1, x10, x9
	blr	x8
Lloh0:
	adrp	x20, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x23
	mov	w1, #96
	mov	x3, x25
	bl	_kcalloc_node
	mov	x26, x19
	str	x0, [x26, #16]!
	cbz	x0, LBB0_22
; %bb.1:
	ldr	w2, [x20]
	mov	x0, x23
	mov	w1, #96
	mov	x3, x25
	bl	_kcalloc_node
	str	x0, [x19, #24]
	cbz	x0, LBB0_21
; %bb.2:
	mov	x1, x0
	cmp	w23, #1
	b.lt	LBB0_10
; %bb.3:
	mov	w8, w23
	cmp	w23, #4
	b.hs	LBB0_5
; %bb.4:
	mov	x9, #0
	b	LBB0_8
LBB0_5:
	mov	x10, #0
	and	x9, x8, #0xfffffffc
	add	x11, x1, #192
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w12, w10, #1
	add	w13, w10, #2
	add	w14, w10, #3
	stur	w10, [x11, #-192]
	stur	w12, [x11, #-96]
	str	w13, [x11]
	str	w14, [x11, #96]
	add	x10, x10, #4
	add	x11, x11, #384
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.7:
	cmp	x9, x8
	b.eq	LBB0_10
LBB0_8:
	mov	w10, #96
	madd	x10, x9, x10, x1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	str	w9, [x10], #96
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_9
LBB0_10:
	mov	x0, x21
	mov	x2, x24
	mov	x3, x23
	bl	_pci_enable_msix_range
	tbnz	w0, #31, LBB0_20
; %bb.11:
	mov	x23, x0
	str	w27, [sp, #12]                  ; 4-byte Folded Spill
	cbz	w0, LBB0_15
; %bb.12:
	mov	x25, #0
	mov	x27, #0
	mov	w8, #96
	umull	x28, w23, w8
Lloh2:
	adrp	x20, _ndev_vec_isr@GOTPAGE
Lloh3:
	ldr	x20, [x20, _ndev_vec_isr@GOTPAGEOFF]
Lloh4:
	adrp	x24, l_.str@PAGE
Lloh5:
	add	x24, x24, l_.str@PAGEOFF
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x19, #16]
	add	x4, x8, x25
	str	x19, [x4, #40]
	str	w27, [x4, #4]
	add	x8, x9, x25
	ldr	w0, [x8, #32]
	ldr	w1, [x20]
	mov	w2, #0
	mov	x3, x24
	bl	_request_irq
	cbnz	w0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x27, x27, #1
	add	x25, x25, #96
	cmp	x28, x25
	b.ne	LBB0_13
LBB0_15:
	str	x23, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
	b	LBB0_29
LBB0_16:
	cbz	w27, LBB0_19
; %bb.17:
	add	x20, x27, #1
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x19, #16]
	add	x8, x8, x25
	ldur	w0, [x8, #-64]
	add	x8, x9, x25
	sub	x1, x8, #96
	bl	_free_irq
	sub	x20, x20, #1
	sub	x25, x25, #96
	cmp	x20, #1
	b.gt	LBB0_18
LBB0_19:
	mov	x0, x21
	bl	_pci_disable_msix
	ldr	w27, [sp, #12]                  ; 4-byte Folded Reload
LBB0_20:
	ldr	x0, [x19, #24]
	bl	_kfree
LBB0_21:
	ldr	x0, [x26]
	bl	_kfree
LBB0_22:
	stp	xzr, xzr, [x26]
	mov	x0, x21
	bl	_pci_enable_msi
Lloh8:
	adrp	x20, _ndev_irq_isr@GOTPAGE
Lloh9:
	ldr	x20, [x20, _ndev_irq_isr@GOTPAGEOFF]
	cbnz	w0, LBB0_25
; %bb.23:
	ldr	w0, [x21, #4]
	ldr	w1, [x20]
Lloh10:
	adrp	x3, l_.str.2@PAGE
Lloh11:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	w2, #0
	mov	x4, x19
	bl	_request_irq
	cbz	w0, LBB0_27
; %bb.24:
	mov	x0, x21
	bl	_pci_disable_msi
LBB0_25:
	mov	x0, x21
	mov	w1, #1
	bl	_pci_intx
	ldr	w0, [x21, #4]
	ldr	w1, [x20]
Lloh12:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x3, l_.str.2@PAGE
Lloh16:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x4, x19
	bl	_request_irq
	cbnz	w0, LBB0_30
; %bb.26:
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_28
LBB0_27:
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_28:
	mov	x0, x21
	bl	_dev_dbg
	mov	w23, #1
	mov	x22, x27
LBB0_29:
	mov	w0, #0
	stp	w23, w22, [x19, #8]
LBB0_30:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ndev_vec_isr,4,2               ; @ndev_vec_isr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ndev_vec_isr"

l_.str.1:                               ; @.str.1
	.asciz	"Using %d msix interrupts\n"

	.comm	_ndev_irq_isr,4,2               ; @ndev_irq_isr
l_.str.2:                               ; @.str.2
	.asciz	"ndev_irq_isr"

l_.str.3:                               ; @.str.3
	.asciz	"Using msi interrupts\n"

	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.4:                               ; @.str.4
	.asciz	"Using intx interrupts\n"

.subsections_via_symbols
