	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen3_init_isr
_gen3_init_isr:                         ## @gen3_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GEN3_DB_MSIX_VECTOR_COUNT@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_GEN3_INTVEC_OFFSET@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	addl	(%r12), %esi
	addl	%ebx, %esi
	movl	%ebx, %edi
	callq	_iowrite8
	incl	%ebx
	movl	(%r15), %edx
	cmpl	%edx, %ebx
	jl	LBB0_2
LBB0_3:
	movq	_NTB_HWERR_MSIX_VECTOR32_BAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r14)
	je	LBB0_5
## %bb.4:
	leal	-2(%rdx), %edi
	movq	_GEN3_INTVEC_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	(%r14), %edx
	leal	(%rax,%rdx), %esi
	decl	%esi
	callq	_iowrite8
	movl	(%r15), %edx
LBB0_5:
	movq	_GEN3_DB_MSIX_VECTOR_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_GEN3_DB_TOTAL_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	movl	%edx, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ndev_init_isr                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GEN3_DB_MSIX_VECTOR_COUNT,4,2  ## @GEN3_DB_MSIX_VECTOR_COUNT
	.comm	_GEN3_INTVEC_OFFSET,4,2         ## @GEN3_INTVEC_OFFSET
	.comm	_NTB_HWERR_MSIX_VECTOR32_BAD,4,2 ## @NTB_HWERR_MSIX_VECTOR32_BAD
	.comm	_GEN3_DB_MSIX_VECTOR_SHIFT,4,2  ## @GEN3_DB_MSIX_VECTOR_SHIFT
	.comm	_GEN3_DB_TOTAL_SHIFT,4,2        ## @GEN3_DB_TOTAL_SHIFT
	.no_dead_strip	_gen3_init_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen3_init_isr
_gen3_init_isr:                         ; @gen3_init_isr
	.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, x0
Lloh0:
	adrp	x21, _GEN3_DB_MSIX_VECTOR_COUNT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GEN3_DB_MSIX_VECTOR_COUNT@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _GEN3_INTVEC_OFFSET@GOTPAGE
Lloh3:
	ldr	x22, [x22, _GEN3_INTVEC_OFFSET@GOTPAGEOFF]
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	ldr	w9, [x22]
	add	w8, w8, w9
	add	w1, w20, w8
	mov	x0, x20
	bl	_iowrite8
	add	w20, w20, #1
	ldr	w1, [x21]
	cmp	w20, w1
	b.lt	LBB0_2
LBB0_3:
	ldr	w8, [x19, #4]
Lloh4:
	adrp	x9, _NTB_HWERR_MSIX_VECTOR32_BAD@GOTPAGE
Lloh5:
	ldr	x9, [x9, _NTB_HWERR_MSIX_VECTOR32_BAD@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	sub	w0, w1, #2
	ldr	w8, [x19]
	ldr	w9, [x22]
	add	w8, w1, w8
	add	w8, w8, w9
	sub	w1, w8, #1
	bl	_iowrite8
	ldr	w1, [x21]
LBB0_5:
Lloh7:
	adrp	x8, _GEN3_DB_MSIX_VECTOR_SHIFT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GEN3_DB_MSIX_VECTOR_SHIFT@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
Lloh10:
	adrp	x8, _GEN3_DB_TOTAL_SHIFT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GEN3_DB_TOTAL_SHIFT@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x2, x1
	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
	b	_ndev_init_isr
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GEN3_DB_MSIX_VECTOR_COUNT,4,2  ; @GEN3_DB_MSIX_VECTOR_COUNT
	.comm	_GEN3_INTVEC_OFFSET,4,2         ; @GEN3_INTVEC_OFFSET
	.comm	_NTB_HWERR_MSIX_VECTOR32_BAD,4,2 ; @NTB_HWERR_MSIX_VECTOR32_BAD
	.comm	_GEN3_DB_MSIX_VECTOR_SHIFT,4,2  ; @GEN3_DB_MSIX_VECTOR_SHIFT
	.comm	_GEN3_DB_TOTAL_SHIFT,4,2        ; @GEN3_DB_TOTAL_SHIFT
	.no_dead_strip	_gen3_init_isr
.subsections_via_symbols
