	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_vsi_alloc_q_vector
_i40e_vsi_alloc_q_vector:               ## @i40e_vsi_alloc_q_vector
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r15, 16(%rax)
	movl	%r14d, (%rax)
	leaq	8(%rax), %rdi
	movq	_cpu_possible_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_cpumask_copy
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rsi
	addq	$4, %rsi
	movq	_i40e_napi_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NAPI_POLL_WEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_netif_napi_add
LBB0_4:
	movq	(%r15), %rax
	movslq	%r14d, %rcx
	movq	%rbx, (%rax,%rcx,8)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_cpu_possible_mask,4,2          ## @cpu_possible_mask
	.comm	_i40e_napi_poll,4,2             ## @i40e_napi_poll
	.comm	_NAPI_POLL_WEIGHT,4,2           ## @NAPI_POLL_WEIGHT
	.no_dead_strip	_i40e_vsi_alloc_q_vector
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_vsi_alloc_q_vector
_i40e_vsi_alloc_q_vector:               ; @i40e_vsi_alloc_q_vector
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	str	x20, [x0, #16]
	str	w19, [x0], #8
Lloh3:
	adrp	x8, _cpu_possible_mask@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cpu_possible_mask@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_cpumask_copy
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_3
; %bb.2:
	add	x1, x21, #4
Lloh6:
	adrp	x8, _i40e_napi_poll@GOTPAGE
Lloh7:
	ldr	x8, [x8, _i40e_napi_poll@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _NAPI_POLL_WEIGHT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NAPI_POLL_WEIGHT@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	bl	_netif_napi_add
LBB0_3:
	mov	w0, #0
	ldr	x8, [x20]
	str	x21, [x8, w19, sxtw #3]
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_cpu_possible_mask,4,2          ; @cpu_possible_mask
	.comm	_i40e_napi_poll,4,2             ; @i40e_napi_poll
	.comm	_NAPI_POLL_WEIGHT,4,2           ; @NAPI_POLL_WEIGHT
	.no_dead_strip	_i40e_vsi_alloc_q_vector
.subsections_via_symbols
