	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nicvf_set_qset_resources       ## -- Begin function nicvf_set_qset_resources
	.p2align	4, 0x90
_nicvf_set_qset_resources:              ## @nicvf_set_qset_resources
	.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, %r14
	movq	32(%rdi), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, 24(%r14)
	movq	_DEFAULT_RBDR_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_u8@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_MAX_RCV_QUEUES_PER_QS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_num_online_cpus
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_min_t
	movq	%rax, 8(%rbx)
	movq	_u8@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_MAX_SND_QUEUES_PER_QS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%eax, %eax
	callq	_num_online_cpus
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_min_t
	movq	%rax, (%rbx)
	movq	_u8@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	8(%rbx), %rsi
	movq	%rax, %rdx
	callq	_max_t
	movl	%eax, 28(%rbx)
	movq	_RCV_BUF_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_SND_QUEUE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_CMP_QUEUE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movups	(%rbx), %xmm0
	movups	%xmm0, 8(%r14)
	movq	$0, (%r14)
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %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	_DEFAULT_RBDR_CNT,4,2           ## @DEFAULT_RBDR_CNT
	.comm	_u8,4,2                         ## @u8
	.comm	_MAX_RCV_QUEUES_PER_QS,4,2      ## @MAX_RCV_QUEUES_PER_QS
	.comm	_MAX_SND_QUEUES_PER_QS,4,2      ## @MAX_SND_QUEUES_PER_QS
	.comm	_RCV_BUF_COUNT,4,2              ## @RCV_BUF_COUNT
	.comm	_SND_QUEUE_LEN,4,2              ## @SND_QUEUE_LEN
	.comm	_CMP_QUEUE_LEN,4,2              ## @CMP_QUEUE_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nicvf_set_qset_resources       ; -- Begin function nicvf_set_qset_resources
	.p2align	2
_nicvf_set_qset_resources:              ; @nicvf_set_qset_resources
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	ldr	x0, [x0, #32]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	str	x0, [x19, #24]
Lloh3:
	adrp	x8, _DEFAULT_RBDR_CNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEFAULT_RBDR_CNT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #32]
Lloh6:
	adrp	x23, _u8@GOTPAGE
Lloh7:
	ldr	x23, [x23, _u8@GOTPAGEOFF]
	ldr	w21, [x23]
Lloh8:
	adrp	x8, _MAX_RCV_QUEUES_PER_QS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_RCV_QUEUES_PER_QS@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
	bl	_num_online_cpus
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_min_t
	str	x0, [x20, #8]
	ldr	w21, [x23]
Lloh11:
	adrp	x8, _MAX_SND_QUEUES_PER_QS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MAX_SND_QUEUES_PER_QS@GOTPAGEOFF]
Lloh13:
	ldr	w22, [x8]
	bl	_num_online_cpus
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_min_t
	mov	x2, x0
	str	x0, [x20]
	ldr	w0, [x23]
	ldr	x1, [x20, #8]
	bl	_max_t
	mov	x8, x0
	mov	w0, #0
Lloh14:
	adrp	x9, _RCV_BUF_COUNT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RCV_BUF_COUNT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _SND_QUEUE_LEN@GOTPAGE
Lloh18:
	ldr	x10, [x10, _SND_QUEUE_LEN@GOTPAGEOFF]
	stp	w9, w8, [x20, #24]
Lloh19:
	ldr	w8, [x10]
Lloh20:
	adrp	x9, _CMP_QUEUE_LEN@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CMP_QUEUE_LEN@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #16]
	ldp	x9, x8, [x20]
	stp	x9, x8, [x19, #8]
	str	xzr, [x19]
	b	LBB0_3
LBB0_2:
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_DEFAULT_RBDR_CNT,4,2           ; @DEFAULT_RBDR_CNT
	.comm	_u8,4,2                         ; @u8
	.comm	_MAX_RCV_QUEUES_PER_QS,4,2      ; @MAX_RCV_QUEUES_PER_QS
	.comm	_MAX_SND_QUEUES_PER_QS,4,2      ; @MAX_SND_QUEUES_PER_QS
	.comm	_RCV_BUF_COUNT,4,2              ; @RCV_BUF_COUNT
	.comm	_SND_QUEUE_LEN,4,2              ; @SND_QUEUE_LEN
	.comm	_CMP_QUEUE_LEN,4,2              ; @CMP_QUEUE_LEN
.subsections_via_symbols
