	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function qlcnic_setup_tss_rss_intr
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_2:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_3:
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
LCPI0_4:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
LCPI0_5:
	.long	20                              ## 0x14
	.long	20                              ## 0x14
	.long	20                              ## 0x14
	.long	20                              ## 0x14
LCPI0_6:
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18
LCPI0_7:
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
LCPI0_8:
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_qlcnic_setup_tss_rss_intr
	.p2align	4, 0x90
_qlcnic_setup_tss_rss_intr:             ## @qlcnic_setup_tss_rss_intr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	48(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_QLCNIC_TSS_RSS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 40(%rdi)
	movl	(%rdi), %eax
	testl	%eax, %eax
	jg	LBB0_2
## %bb.1:
	movl	4(%r15), %eax
LBB0_2:
	movl	8(%r15), %ebx
	testl	%ebx, %ebx
	jg	LBB0_4
## %bb.3:
	movl	12(%r15), %ebx
LBB0_4:
	addl	%eax, %ebx
	movq	%r15, %rdi
	callq	_qlcnic_83xx_check
	cmpq	$1, %rax
	sbbl	$-1, %ebx
	movq	32(%r15), %rsi
	testq	%rsi, %rsi
	jne	LBB0_7
## %bb.5:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, %rsi
	movq	%rax, 32(%r15)
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:
	testl	%ebx, %ebx
	jle	LBB0_19
## %bb.8:
	movl	%ebx, %eax
	cmpl	$8, %ebx
	jae	LBB0_11
## %bb.9:
	xorl	%ecx, %ecx
	jmp	LBB0_10
LBB0_11:
	movl	%eax, %ecx
	andl	$-8, %ecx
	leaq	-8(%rcx), %rdx
	movq	%rdx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$3, %r8d
	cmpq	$24, %rdx
	jae	LBB0_13
## %bb.12:
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	xorl	%edx, %edx
	jmp	LBB0_15
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_29
LBB0_13:
	andq	$-4, %rdi
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	xorl	%edx, %edx
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = [8,8,8,8]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [12,12,12,12]
	movdqa	LCPI0_4(%rip), %xmm4            ## xmm4 = [16,16,16,16]
	movdqa	LCPI0_5(%rip), %xmm5            ## xmm5 = [20,20,20,20]
	movdqa	LCPI0_6(%rip), %xmm6            ## xmm6 = [24,24,24,24]
	movdqa	LCPI0_7(%rip), %xmm7            ## xmm7 = [28,28,28,28]
	movdqa	LCPI0_8(%rip), %xmm1            ## xmm1 = [32,32,32,32]
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm2
	paddd	%xmm8, %xmm2
	movdqu	%xmm0, (%rsi,%rdx,4)
	movdqu	%xmm2, 16(%rsi,%rdx,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm9, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm10, %xmm3
	movdqu	%xmm2, 32(%rsi,%rdx,4)
	movdqu	%xmm3, 48(%rsi,%rdx,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm4, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm5, %xmm3
	movdqu	%xmm2, 64(%rsi,%rdx,4)
	movdqu	%xmm3, 80(%rsi,%rdx,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm6, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm7, %xmm3
	movdqu	%xmm2, 96(%rsi,%rdx,4)
	movdqu	%xmm3, 112(%rsi,%rdx,4)
	addq	$32, %rdx
	paddd	%xmm1, %xmm0
	addq	$-4, %rdi
	jne	LBB0_14
LBB0_15:
	testq	%r8, %r8
	je	LBB0_18
## %bb.16:
	leaq	(%rsi,%rdx,4), %rdx
	addq	$16, %rdx
	shlq	$5, %r8
	xorl	%edi, %edi
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm2            ## xmm2 = [8,8,8,8]
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm3
	paddd	%xmm1, %xmm3
	movdqu	%xmm0, -16(%rdx,%rdi)
	movdqu	%xmm3, (%rdx,%rdi)
	paddd	%xmm2, %xmm0
	addq	$32, %rdi
	cmpq	%rdi, %r8
	jne	LBB0_17
LBB0_18:
	cmpq	%rax, %rcx
	je	LBB0_19
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, (%rsi,%rcx,4)
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_10
LBB0_19:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_pci_enable_msix_exact
	movq	_ENOSPC@GOTPCREL(%rip), %r14
	movl	%eax, %ecx
	addl	(%r14), %ecx
	jne	LBB0_24
## %bb.20:
	leaq	L_.str(%rip), %r12
	leaq	L_.str.1(%rip), %r13
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	24(%r15), %edi
	movq	%r12, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_netdev_info
	movl	12(%r15), %ebx
	addl	4(%r15), %ebx
	movl	$0, (%r15)
	movl	$0, 8(%r15)
	movq	%r15, %rdi
	callq	_qlcnic_83xx_check
	cmpq	$1, %rax
	sbbl	$-1, %ebx
	movl	24(%r15), %edi
	movl	4(%r15), %edx
	movl	12(%r15), %ecx
	movq	%r13, %rsi
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_netdev_info
	movq	32(%r15), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_pci_enable_msix_exact
	movl	%eax, %ecx
	addl	(%r14), %ecx
	jne	LBB0_24
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r15)
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpl	$0, 8(%r15)
	jne	LBB0_23
	jmp	LBB0_29
LBB0_24:
	testl	%eax, %eax
	js	LBB0_29
## %bb.25:
	movq	16(%r15), %rax
	movl	%ebx, (%rax)
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_27
## %bb.26:
	movl	%eax, 4(%r15)
LBB0_27:
	movl	8(%r15), %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jle	LBB0_29
## %bb.28:
	movl	%ecx, 12(%r15)
LBB0_29:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_TSS_RSS,4,2             ## @QLCNIC_TSS_RSS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to allocate %d MSI-X vectors, Available vectors %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Restoring %d Tx, %d SDS rings for total %d vectors.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function qlcnic_setup_tss_rss_intr
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_qlcnic_setup_tss_rss_intr
	.p2align	2
_qlcnic_setup_tss_rss_intr:             ; @qlcnic_setup_tss_rss_intr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, [x0, #48]
Lloh0:
	adrp	x8, _QLCNIC_TSS_RSS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_TSS_RSS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0, #40]
	bic	w8, w9, w8
	str	w8, [x0, #40]
	ldr	w8, [x0]
	cmp	w8, #0
	b.gt	LBB0_2
; %bb.1:
	ldr	w8, [x19, #4]
LBB0_2:
	ldr	w9, [x19, #8]
	cmp	w9, #0
	b.gt	LBB0_4
; %bb.3:
	ldr	w9, [x19, #12]
LBB0_4:
	add	w21, w9, w8
	mov	x0, x19
	bl	_qlcnic_83xx_check
	cmp	x0, #0
	cinc	w21, w21, ne
	ldr	x1, [x19, #32]
	cbnz	x1, LBB0_6
; %bb.5:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #4
	bl	_kcalloc
	mov	x1, x0
	str	x0, [x19, #32]
	cbz	x0, LBB0_25
LBB0_6:
	cmp	w21, #1
	b.lt	LBB0_13
; %bb.7:
	cmp	w21, #16
	b.hs	LBB0_9
; %bb.8:
	mov	x8, #0
	b	LBB0_12
LBB0_9:
	and	x8, x21, #0xfffffff0
Lloh6:
	adrp	x9, lCPI0_0@PAGE
Lloh7:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	add	x9, x1, #32
	movi.4s	v1, #4
	movi.4s	v2, #8
	movi.4s	v3, #12
	movi.4s	v4, #16
	mov	x10, x8
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add.4s	v5, v0, v1
	add.4s	v6, v0, v2
	add.4s	v7, v0, v3
	stp	q0, q5, [x9, #-32]
	stp	q6, q7, [x9], #64
	add.4s	v0, v0, v4
	subs	x10, x10, #16
	b.ne	LBB0_10
; %bb.11:
	cmp	x8, x21
	b.eq	LBB0_13
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	str	w8, [x1, x8, lsl #2]
	add	x8, x8, #1
	cmp	x21, x8
	b.ne	LBB0_12
LBB0_13:
	mov	x0, x20
	mov	x2, x21
	bl	_pci_enable_msix_exact
	mov	x3, x0
Lloh8:
	adrp	x24, _ENOSPC@GOTPAGE
Lloh9:
	ldr	x24, [x24, _ENOSPC@GOTPAGEOFF]
	ldr	w8, [x24]
	cmn	w0, w8
	b.ne	LBB0_18
; %bb.14:
Lloh10:
	adrp	x22, l_.str@PAGE
Lloh11:
	add	x22, x22, l_.str@PAGEOFF
	mov	x23, x21
Lloh12:
	adrp	x21, l_.str.1@PAGE
Lloh13:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x19, #24]
	mov	x1, x22
	mov	x2, x23
	bl	_netdev_info
	ldr	w8, [x19, #4]
	ldr	w9, [x19, #12]
	add	w23, w9, w8
	str	wzr, [x19]
	str	wzr, [x19, #8]
	mov	x0, x19
	bl	_qlcnic_83xx_check
	cmp	x0, #0
	cinc	w23, w23, ne
	ldr	w0, [x19, #24]
	ldr	w2, [x19, #4]
	ldr	w3, [x19, #12]
	str	x23, [sp]
	mov	x1, x21
	bl	_netdev_info
	ldr	x1, [x19, #32]
	mov	x0, x20
	mov	x2, x23
	bl	_pci_enable_msix_exact
	mov	x3, x0
	ldr	w8, [x24]
	cmn	w0, w8
	b.ne	LBB0_19
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	cbnz	w8, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_15
	b	LBB0_26
LBB0_18:
	mov	x23, x21
LBB0_19:
	tbnz	w3, #31, LBB0_26
; %bb.20:
	ldr	x8, [x19, #16]
	str	w23, [x8]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.21:
	str	w8, [x19, #4]
LBB0_22:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.23:
	mov	w3, #0
	str	w8, [x19, #12]
	b	LBB0_26
LBB0_24:
	mov	w3, #0
	b	LBB0_26
LBB0_25:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w3, w8
LBB0_26:
	mov	x0, x3
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_TSS_RSS,4,2             ; @QLCNIC_TSS_RSS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to allocate %d MSI-X vectors, Available vectors %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Restoring %d Tx, %d SDS rings for total %d vectors.\n"

.subsections_via_symbols
