	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_alloc_q_vector
_fm10k_alloc_q_vector:                  ## @fm10k_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movl	%r8d, %ebx
                                        ## kill: def $ecx killed $ecx def $rcx
	movl	%edx, %r14d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leal	(%r15,%rcx), %edx
	callq	_struct_size
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movl	16(%r13), %edi
	movq	%rax, %rsi
	addq	$72, %rsi
	movq	_fm10k_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NAPI_POLL_WEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_netif_napi_add
	movq	56(%r13), %rax
	movl	%r14d, %ecx
	movq	%r12, (%rax,%rcx,8)
	movq	%r13, 64(%r12)
	movl	%r14d, (%r12)
	movq	56(%r12), %r14
	movq	%r14, 48(%r12)
	movq	_FM10K_DEFAULT_TX_WORK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r12)
	movl	52(%r13), %eax
	movl	%eax, 40(%r12)
	movl	32(%r13), %r8d
	movl	%r8d, 36(%r12)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 32(%r12)
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	movl	16(%r13), %r9d
	movl	48(%r13), %r10d
	testb	$1, %al
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	jne	LBB0_5
## %bb.4:
	movl	%eax, %esi
	cmpl	$1, %eax
	jne	LBB0_7
	jmp	LBB0_10
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
LBB0_5:
	movq	24(%r13), %rsi
	movq	%rsi, 24(%r14)
	movl	%r9d, 20(%r14)
	movq	%r12, 8(%r14)
	movl	%r10d, 4(%r14)
	movl	%ebx, (%r14)
	movq	40(%r13), %rsi
	movl	%ebx, %edi
	movq	%r14, (%rsi,%rdi,8)
	leal	-1(%rax), %esi
	addl	%edx, %ebx
	addq	$32, %r14
	cmpl	$1, %eax
	je	LBB0_10
LBB0_7:
	addq	$32, %r14
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-32(%r14), %rdi
	movq	24(%r13), %rax
	movq	%rax, -8(%r14)
	movl	%r9d, -12(%r14)
	movq	%r12, -24(%r14)
	movl	%r10d, -28(%r14)
	movl	%ebx, -32(%r14)
	movq	40(%r13), %rax
	movl	%ebx, %ecx
	movq	%rdi, (%rax,%rcx,8)
	addl	%edx, %ebx
	movq	24(%r13), %rax
	movq	%rax, 24(%r14)
	movl	%r9d, 20(%r14)
	movq	%r12, 8(%r14)
	movl	%r10d, 4(%r14)
	movl	%ebx, (%r14)
	movq	40(%r13), %rax
	movq	%r14, (%rax,%rbx,8)
	addl	%edx, %ebx
	addq	$64, %r14
	addl	$-2, %esi
	jne	LBB0_8
## %bb.9:
	addq	$-32, %r14
LBB0_10:
	movq	%r14, 24(%r12)
	movl	36(%r13), %eax
	movl	%eax, 16(%r12)
	movl	%r8d, 12(%r12)
	movl	%r15d, 8(%r12)
	testl	%r15d, %r15d
	je	LBB0_13
## %bb.11:
	movl	16(%rbp), %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r13), %rax
	movq	%rax, 24(%r14)
	movl	16(%r13), %eax
	movl	%eax, 20(%r14)
	movl	16(%r14), %edi
	movl	12(%r13), %esi
	callq	_rcu_assign_pointer
	movq	%r12, 8(%r14)
	movl	8(%r13), %eax
	movl	%eax, 4(%r14)
	movl	%ebx, (%r14)
	movq	(%r13), %rax
	movl	%ebx, %ecx
	movq	%r14, (%rax,%rcx,8)
	addl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	addq	$32, %r14
	decl	%r15d
	jne	LBB0_12
LBB0_13:
	movq	%r12, %rdi
	callq	_fm10k_dbg_q_vector_init
	xorl	%eax, %eax
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_fm10k_poll,4,2                 ## @fm10k_poll
	.comm	_NAPI_POLL_WEIGHT,4,2           ## @NAPI_POLL_WEIGHT
	.comm	_FM10K_DEFAULT_TX_WORK,4,2      ## @FM10K_DEFAULT_TX_WORK
	.no_dead_strip	_fm10k_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 fm10k_alloc_q_vector
_fm10k_alloc_q_vector:                  ; @fm10k_alloc_q_vector
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x6
	mov	x20, x5
	mov	x24, x4
	mov	x25, x3
	mov	x26, x2
	mov	x21, x1
	mov	x22, x0
	add	w2, w5, w3
	bl	_struct_size
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x23, x0
	ldr	w0, [x22, #16]
	add	x1, x23, #72
Lloh3:
	adrp	x8, _fm10k_poll@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fm10k_poll@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _NAPI_POLL_WEIGHT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NAPI_POLL_WEIGHT@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	bl	_netif_napi_add
	ldr	x8, [x22, #56]
	str	x23, [x8, w26, uxtw #3]
	str	x22, [x23, #64]
	str	w26, [x23]
	ldr	x26, [x23, #56]
	str	x26, [x23, #48]
Lloh9:
	adrp	x8, _FM10K_DEFAULT_TX_WORK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FM10K_DEFAULT_TX_WORK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x22, #52]
	stp	w9, w8, [x23, #40]
	ldr	w8, [x22, #32]
	stp	w25, w8, [x23, #32]
	cbz	w25, LBB0_4
; %bb.2:
	ldr	w9, [x22, #16]
	ldr	w10, [x22, #48]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x22, #24]
	str	x11, [x26, #24]
	str	w9, [x26, #20]
	str	x23, [x26, #8]
	stp	w24, w10, [x26]
	ldr	x11, [x22, #40]
	str	x26, [x11, w24, uxtw #3]
	add	w24, w24, w21
	add	x26, x26, #32
	subs	w25, w25, #1
	b.ne	LBB0_3
LBB0_4:
	str	x26, [x23, #24]
	ldr	w9, [x22, #36]
	stp	w8, w9, [x23, #12]
	str	w20, [x23, #8]
	cbz	w20, LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #24]
	str	x8, [x26, #24]
	ldp	w1, w8, [x22, #12]
	str	w8, [x26, #20]
	ldr	w0, [x26, #16]
	bl	_rcu_assign_pointer
	str	x23, [x26, #8]
	ldr	w8, [x22, #8]
	stp	w19, w8, [x26]
	ldr	x8, [x22]
	str	x26, [x8, w19, uxtw #3]
	add	w19, w19, w21
	add	x26, x26, #32
	subs	w20, w20, #1
	b.ne	LBB0_5
LBB0_6:
	mov	x0, x23
	bl	_fm10k_dbg_q_vector_init
	mov	w0, #0
	b	LBB0_8
LBB0_7:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_fm10k_poll,4,2                 ; @fm10k_poll
	.comm	_NAPI_POLL_WEIGHT,4,2           ; @NAPI_POLL_WEIGHT
	.comm	_FM10K_DEFAULT_TX_WORK,4,2      ; @FM10K_DEFAULT_TX_WORK
	.no_dead_strip	_fm10k_alloc_q_vector
.subsections_via_symbols
