	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nicvf_snd_queue_config
_nicvf_snd_queue_config:                ## @nicvf_snd_queue_config
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	16(%rsi), %r12
	movslq	%edx, %rbx
	shlq	$5, %rbx
	movl	%ecx, (%r12,%rbx)
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.1:
	movq	_NIC_QSET_SQ_0_7_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NICVF_SQ_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_nicvf_queue_reg_write
	movl	(%r15), %eax
	movl	%eax, 4(%r12,%rbx)
	movl	%r13d, 8(%r12,%rbx)
	movq	_NIC_MBOX_MSG_SQ_CFG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -48(%rbp)
	movl	%eax, -64(%rbp)
	movl	%r13d, -60(%rbp)
	movl	4(%r14), %eax
	movl	%eax, -52(%rbp)
	movl	4(%r12,%rbx), %eax
	shll	$3, %eax
	orl	8(%r12,%rbx), %eax
	movl	%eax, -56(%rbp)
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	callq	_nicvf_send_msg_to_pf
	movq	_NIC_QSET_SQ_0_7_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r12,%rbx), %ecx
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_nicvf_queue_reg_write
	leaq	-104(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	$1, -104(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -80(%rbp)
	movl	4(%r15), %edi
	sarl	$10, %edi
	callq	_ilog2
	movl	%eax, -88(%rbp)
	movq	$0, -96(%rbp)
	movq	_CMP_QUEUE_PIPELINE_RSVD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$8, %eax
	cltd
	idivl	8(%r15)
	movl	%eax, -100(%rbp)
	movq	_NIC_QSET_SQ_0_7_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-104(%rbp), %ecx
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_nicvf_queue_reg_write
	movq	_NIC_QSET_SQ_0_7_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r12,%rbx), %ecx
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_nicvf_queue_reg_write
	movl	%r13d, %edi
	callq	_cpu_online
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	(%r12,%rbx), %r15
	addq	$12, %r15
	movl	%r13d, %edi
	movq	%r15, %rsi
	callq	_cpumask_set_cpu
	movl	(%r14), %edi
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_netif_set_xps_queue
LBB0_3:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nicvf_reclaim_snd_queue        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NIC_QSET_SQ_0_7_CFG,4,2        ## @NIC_QSET_SQ_0_7_CFG
	.comm	_NICVF_SQ_RESET,4,2             ## @NICVF_SQ_RESET
	.comm	_NIC_MBOX_MSG_SQ_CFG,4,2        ## @NIC_MBOX_MSG_SQ_CFG
	.comm	_NIC_QSET_SQ_0_7_BASE,4,2       ## @NIC_QSET_SQ_0_7_BASE
	.comm	_CMP_QUEUE_PIPELINE_RSVD,4,2    ## @CMP_QUEUE_PIPELINE_RSVD
	.comm	_NIC_QSET_SQ_0_7_THRESH,4,2     ## @NIC_QSET_SQ_0_7_THRESH
	.no_dead_strip	_nicvf_snd_queue_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nicvf_snd_queue_config
_nicvf_snd_queue_config:                ; @nicvf_snd_queue_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x22, [x1, #16]
	sbfiz	x8, x19, #5, #32
	str	w3, [x22, x8]
	cbz	w3, LBB0_4
; %bb.1:
	sxtw	x24, w19
Lloh0:
	adrp	x23, _NIC_QSET_SQ_0_7_CFG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NIC_QSET_SQ_0_7_CFG@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh2:
	adrp	x8, _NICVF_SQ_RESET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NICVF_SQ_RESET@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_nicvf_queue_reg_write
	ldr	w8, [x21]
	add	x22, x22, x24, lsl #5
	stp	w8, w19, [x22, #4]
Lloh5:
	adrp	x9, _NIC_MBOX_MSG_SQ_CFG@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NIC_MBOX_MSG_SQ_CFG@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w8, w19, [sp, #40]
	ldr	w8, [x20, #4]
	stp	w8, w9, [sp, #52]
	ldp	w8, w9, [x22, #4]
	orr	w8, w9, w8, lsl #3
	str	w8, [sp, #48]
	add	x1, sp, #40
	mov	x0, x20
	bl	_nicvf_send_msg_to_pf
Lloh8:
	adrp	x8, _NIC_QSET_SQ_0_7_BASE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NIC_QSET_SQ_0_7_BASE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w3, [x22, #24]
	mov	x0, x20
	mov	x2, x19
	bl	_nicvf_queue_reg_write
	mov	x0, sp
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	mov	w8, #1
	str	w8, [sp]
	stp	xzr, xzr, [sp, #24]
	ldr	w8, [x21, #4]
	asr	w0, w8, #10
	bl	_ilog2
	str	w0, [sp, #16]
	str	xzr, [sp, #8]
Lloh11:
	adrp	x8, _CMP_QUEUE_PIPELINE_RSVD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CMP_QUEUE_PIPELINE_RSVD@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	lsl	w8, w8, #8
	ldr	w9, [x21, #8]
	sdiv	w8, w8, w9
	str	w8, [sp, #4]
	ldr	w1, [x23]
	ldr	w3, [sp]
	mov	x0, x20
	mov	x2, x19
	bl	_nicvf_queue_reg_write
Lloh14:
	adrp	x8, _NIC_QSET_SQ_0_7_THRESH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NIC_QSET_SQ_0_7_THRESH@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w3, [x22, #16]
	mov	x0, x20
	mov	x2, x19
	bl	_nicvf_queue_reg_write
	mov	x0, x19
	bl	_cpu_online
	cbz	x0, LBB0_3
; %bb.2:
	add	x21, x22, #12
	mov	x0, x19
	mov	x1, x21
	bl	_cpumask_set_cpu
	ldr	w0, [x20]
	mov	x1, x21
	mov	x2, x19
	bl	_netif_set_xps_queue
LBB0_3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_nicvf_reclaim_snd_queue
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NIC_QSET_SQ_0_7_CFG,4,2        ; @NIC_QSET_SQ_0_7_CFG
	.comm	_NICVF_SQ_RESET,4,2             ; @NICVF_SQ_RESET
	.comm	_NIC_MBOX_MSG_SQ_CFG,4,2        ; @NIC_MBOX_MSG_SQ_CFG
	.comm	_NIC_QSET_SQ_0_7_BASE,4,2       ; @NIC_QSET_SQ_0_7_BASE
	.comm	_CMP_QUEUE_PIPELINE_RSVD,4,2    ; @CMP_QUEUE_PIPELINE_RSVD
	.comm	_NIC_QSET_SQ_0_7_THRESH,4,2     ; @NIC_QSET_SQ_0_7_THRESH
	.no_dead_strip	_nicvf_snd_queue_config
.subsections_via_symbols
