	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nicvf_cmp_queue_config         ## -- Begin function nicvf_cmp_queue_config
	.p2align	4, 0x90
_nicvf_cmp_queue_config:                ## @nicvf_cmp_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	8(%rsi), %r13
	movslq	%edx, %rax
	leaq	(%rax,%rax,2), %rbx
	movl	%ecx, (%r13,%rbx,8)
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.1:
	leaq	(,%rbx,8), %r14
	addq	%r13, %r14
	movq	_NIC_QSET_CQ_0_7_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NICVF_CQ_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edx
	callq	_nicvf_queue_reg_write
	cmpl	$0, (%r14)
	je	LBB0_3
## %bb.2:
	leaq	16(,%rbx,8), %rdi
	addq	%r13, %rdi
	callq	_spin_lock_init
	movq	_NIC_QSET_CQ_0_7_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r13,%rbx,8), %ecx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_nicvf_queue_reg_write
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	$1, -88(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -64(%rbp)
	movl	(%r15), %edi
	sarl	$10, %edi
	callq	_ilog2
	movl	%eax, -72(%rbp)
	movq	$0, -80(%rbp)
	movq	_NIC_QSET_CQ_0_7_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-88(%rbp), %ecx
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_nicvf_queue_reg_write
	movq	_NIC_QSET_CQ_0_7_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r13,%rbx,8), %ecx
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_nicvf_queue_reg_write
	movq	_NIC_QSET_CQ_0_7_CFG2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CMP_QUEUE_TIMER_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_nicvf_queue_reg_write
LBB0_3:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r15, %rsi
	movl	%r12d, %edx
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nicvf_reclaim_cmp_queue        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NIC_QSET_CQ_0_7_CFG,4,2        ## @NIC_QSET_CQ_0_7_CFG
	.comm	_NICVF_CQ_RESET,4,2             ## @NICVF_CQ_RESET
	.comm	_NIC_QSET_CQ_0_7_BASE,4,2       ## @NIC_QSET_CQ_0_7_BASE
	.comm	_NIC_QSET_CQ_0_7_THRESH,4,2     ## @NIC_QSET_CQ_0_7_THRESH
	.comm	_NIC_QSET_CQ_0_7_CFG2,4,2       ## @NIC_QSET_CQ_0_7_CFG2
	.comm	_CMP_QUEUE_TIMER_THRESH,4,2     ## @CMP_QUEUE_TIMER_THRESH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nicvf_cmp_queue_config         ; -- Begin function nicvf_cmp_queue_config
	.p2align	2
_nicvf_cmp_queue_config:                ; @nicvf_cmp_queue_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x23, [x1, #8]
	mov	w8, #24
	smaddl	x24, w2, w8, x23
	str	w3, [x24]
	cbz	w3, LBB0_4
; %bb.1:
Lloh0:
	adrp	x22, _NIC_QSET_CQ_0_7_CFG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NIC_QSET_CQ_0_7_CFG@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x8, _NICVF_CQ_RESET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NICVF_CQ_RESET@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_nicvf_queue_reg_write
	ldr	w8, [x24]
	cbz	w8, LBB0_3
; %bb.2:
	sxtw	x8, w19
	mov	w9, #24
	madd	x23, x8, x9, x23
	add	x0, x23, #16
	bl	_spin_lock_init
Lloh5:
	adrp	x8, _NIC_QSET_CQ_0_7_BASE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NIC_QSET_CQ_0_7_BASE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w3, [x23, #8]
	mov	x0, x20
	mov	x2, x19
	bl	_nicvf_queue_reg_write
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	mov	w8, #1
	str	w8, [sp, #8]
	stp	xzr, xzr, [sp, #32]
	ldr	w8, [x21]
	asr	w0, w8, #10
	bl	_ilog2
	str	w0, [sp, #24]
	str	xzr, [sp, #16]
	ldr	w1, [x22]
	ldr	w3, [sp, #8]
	mov	x0, x20
	mov	x2, x19
	bl	_nicvf_queue_reg_write
Lloh8:
	adrp	x8, _NIC_QSET_CQ_0_7_THRESH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NIC_QSET_CQ_0_7_THRESH@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w3, [x23, #4]
	mov	x0, x20
	mov	x2, x19
	bl	_nicvf_queue_reg_write
Lloh11:
	adrp	x8, _NIC_QSET_CQ_0_7_CFG2@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NIC_QSET_CQ_0_7_CFG2@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _CMP_QUEUE_TIMER_THRESH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CMP_QUEUE_TIMER_THRESH@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_nicvf_queue_reg_write
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_4:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_nicvf_reclaim_cmp_queue
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NIC_QSET_CQ_0_7_CFG,4,2        ; @NIC_QSET_CQ_0_7_CFG
	.comm	_NICVF_CQ_RESET,4,2             ; @NICVF_CQ_RESET
	.comm	_NIC_QSET_CQ_0_7_BASE,4,2       ; @NIC_QSET_CQ_0_7_BASE
	.comm	_NIC_QSET_CQ_0_7_THRESH,4,2     ; @NIC_QSET_CQ_0_7_THRESH
	.comm	_NIC_QSET_CQ_0_7_CFG2,4,2       ; @NIC_QSET_CQ_0_7_CFG2
	.comm	_CMP_QUEUE_TIMER_THRESH,4,2     ; @CMP_QUEUE_TIMER_THRESH
.subsections_via_symbols
