	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iavf_alloc_q_vectors
_iavf_alloc_q_vectors:                  ## @iavf_alloc_q_vectors
	.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
	movl	(%rdi), %r14d
	movq	_NONQ_VECS@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movl	$32, %esi
	callq	_kcalloc
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	testl	%r14d, %r14d
	jle	LBB0_7
## %bb.2:
	movq	%rax, %rbx
	leaq	8(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%r14d, %r13d
	decq	%r13
	movl	$24, %r14d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, (%rbx,%r14)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -8(%rbx,%r14)
	movl	%r12d, -24(%rbx,%r14)
	movl	%r12d, -20(%rbx,%r14)
	leaq	(%rbx,%r14), %rdi
	addq	$-12, %rdi
	movq	_cpu_possible_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_cpumask_copy
	movl	4(%r15), %edi
	leaq	(%rbx,%r14), %rsi
	addq	$-16, %rsi
	movq	_iavf_napi_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NAPI_POLL_WEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_netif_napi_add
	cmpq	%r12, %r13
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r15), %rbx
	addq	$32, %r14
	incq	%r12
	jmp	LBB0_3
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NONQ_VECS,4,2                  ## @NONQ_VECS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_cpu_possible_mask,4,2          ## @cpu_possible_mask
	.comm	_iavf_napi_poll,4,2             ## @iavf_napi_poll
	.comm	_NAPI_POLL_WEIGHT,4,2           ## @NAPI_POLL_WEIGHT
	.no_dead_strip	_iavf_alloc_q_vectors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iavf_alloc_q_vectors
_iavf_alloc_q_vectors:                  ; @iavf_alloc_q_vectors
	.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	x19, x0
Lloh0:
	adrp	x8, _NONQ_VECS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NONQ_VECS@GOTPAGEOFF]
	ldr	w9, [x0]
Lloh2:
	ldr	w8, [x8]
	sub	w20, w9, w8
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #32
	bl	_kcalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_6
; %bb.1:
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x21, #0
	mov	w22, #0
	add	x23, x19, #8
	lsl	x8, x20, #5
	sub	x20, x8, #32
Lloh6:
	adrp	x24, _cpu_possible_mask@GOTPAGE
Lloh7:
	ldr	x24, [x24, _cpu_possible_mask@GOTPAGEOFF]
Lloh8:
	adrp	x25, _iavf_napi_poll@GOTPAGE
Lloh9:
	ldr	x25, [x25, _iavf_napi_poll@GOTPAGEOFF]
Lloh10:
	adrp	x26, _NAPI_POLL_WEIGHT@GOTPAGE
Lloh11:
	ldr	x26, [x26, _NAPI_POLL_WEIGHT@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x27, x0, x21
	stp	x23, x19, [x27, #16]
	stp	w22, w22, [x27]
	add	x0, x27, #12
	ldr	w1, [x24]
	bl	_cpumask_copy
	ldr	w0, [x19, #4]
	add	x1, x27, #8
	ldr	w2, [x25]
	ldr	w3, [x26]
	bl	_netif_napi_add
	cmp	x20, x21
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19, #16]
	add	w22, w22, #1
	add	x21, x21, #32
	b	LBB0_3
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_NONQ_VECS,4,2                  ; @NONQ_VECS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_cpu_possible_mask,4,2          ; @cpu_possible_mask
	.comm	_iavf_napi_poll,4,2             ; @iavf_napi_poll
	.comm	_NAPI_POLL_WEIGHT,4,2           ; @NAPI_POLL_WEIGHT
	.no_dead_strip	_iavf_alloc_q_vectors
.subsections_via_symbols
