	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_82xx_napi_add           ## -- Begin function qlcnic_82xx_napi_add
	.p2align	4, 0x90
_qlcnic_82xx_napi_add:                  ## @qlcnic_82xx_napi_add
	.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	%rsi, %r14
	movq	%rdi, %r13
	movq	8(%rdi), %r15
	movl	(%rdi), %esi
	movq	%r15, %rdi
	callq	_qlcnic_alloc_sds_rings
	testq	%rax, %rax
	jne	LBB0_10
## %bb.1:
	movl	(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	movl	-44(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_qlcnic_rx_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_QLCNIC_NETDEV_WEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	addl	%ecx, %ecx
	movq	%r14, %rdi
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	callq	_netif_napi_add
	incq	%r12
	movslq	(%r13), %rax
	addq	$4, %rbx
	cmpq	%rax, %r12
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	decl	%eax
	movq	(%r15), %rsi
	addq	%rbx, %rsi
	cmpq	%rax, %r12
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_qlcnic_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_QLCNIC_NETDEV_WEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	-44(%rbp)                       ## 4-byte Folded Reload
	movq	%r14, %rdi
	movl	%ecx, %edx
	movl	%eax, %ecx
	jmp	LBB0_6
LBB0_7:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_qlcnic_alloc_tx_rings
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%r15, %rdi
	callq	_qlcnic_free_sds_rings
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_qlcnic_poll,4,2                ## @qlcnic_poll
	.comm	_QLCNIC_NETDEV_WEIGHT,4,2       ## @QLCNIC_NETDEV_WEIGHT
	.comm	_qlcnic_rx_poll,4,2             ## @qlcnic_rx_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_82xx_napi_add           ; -- Begin function qlcnic_82xx_napi_add
	.p2align	2
_qlcnic_82xx_napi_add:                  ; @qlcnic_82xx_napi_add
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x21, x0
	ldr	x19, [x0, #8]
	ldr	w1, [x0]
	mov	x0, x19
	bl	_qlcnic_alloc_sds_rings
	cbnz	x0, LBB0_9
; %bb.1:
	ldr	w22, [x21]
	cmp	w22, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x23, #0
	mov	x24, #0
Lloh0:
	adrp	x25, _qlcnic_poll@GOTPAGE
Lloh1:
	ldr	x25, [x25, _qlcnic_poll@GOTPAGEOFF]
Lloh2:
	adrp	x26, _QLCNIC_NETDEV_WEIGHT@GOTPAGE
Lloh3:
	ldr	x26, [x26, _QLCNIC_NETDEV_WEIGHT@GOTPAGEOFF]
Lloh4:
	adrp	x27, _qlcnic_rx_poll@GOTPAGE
Lloh5:
	ldr	x27, [x27, _qlcnic_rx_poll@GOTPAGEOFF]
	mov	x8, x22
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [x27]
	ldr	w8, [x26]
	lsl	w3, w8, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_netif_napi_add
	add	x24, x24, #1
	ldrsw	x8, [x21]
	add	x23, x23, #4
	cmp	x24, x8
	b.ge	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19]
	sub	w8, w8, #1
	add	x1, x9, x23
	cmp	x24, x8
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [x25]
	ldr	w8, [x26]
	sdiv	w3, w8, w22
	b	LBB0_4
LBB0_7:
	mov	x0, x21
	mov	x1, x20
	bl	_qlcnic_alloc_tx_rings
	cbz	x0, LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_qlcnic_free_sds_rings
LBB0_9:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_qlcnic_poll,4,2                ; @qlcnic_poll
	.comm	_QLCNIC_NETDEV_WEIGHT,4,2       ; @QLCNIC_NETDEV_WEIGHT
	.comm	_qlcnic_rx_poll,4,2             ; @qlcnic_rx_poll
.subsections_via_symbols
