	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function nicvf_init_cmp_queue
LCPI0_0:
	.quad	0x3fa999999999999a              ## double 0.050000000000000003
LCPI0_1:
	.quad	0xbff0000000000000              ## double -1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_nicvf_init_cmp_queue:                  ## @nicvf_init_cmp_queue
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	addq	$4, %rsi
	movq	_CMP_QUEUE_DESC_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_NICVF_CQ_BASE_ALIGN_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_nicvf_alloc_q_desc_mem
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movl	4(%r15), %eax
	movl	%eax, 8(%r15)
	movl	8(%r14), %edi
	callq	_pass1_silicon
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_CMP_QUEUE_CQE_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_3:
	movl	%ecx, (%r15)
	movq	_CMP_QUEUE_TIMER_THRESH@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm0
	addsd	LCPI0_1(%rip), %xmm0
	movsd	%xmm0, (%r14)
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMP_QUEUE_DESC_SIZE,4,2        ## @CMP_QUEUE_DESC_SIZE
	.comm	_NICVF_CQ_BASE_ALIGN_BYTES,4,2  ## @NICVF_CQ_BASE_ALIGN_BYTES
	.comm	_CMP_QUEUE_CQE_THRESH,4,2       ## @CMP_QUEUE_CQE_THRESH
	.comm	_CMP_QUEUE_TIMER_THRESH,8,3     ## @CMP_QUEUE_TIMER_THRESH
	.no_dead_strip	_nicvf_init_cmp_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nicvf_init_cmp_queue
_nicvf_init_cmp_queue:                  ; @nicvf_init_cmp_queue
	.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	x20, x1
	mov	x19, x0
	add	x1, x1, #4
Lloh0:
	adrp	x8, _CMP_QUEUE_DESC_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMP_QUEUE_DESC_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _NICVF_CQ_BASE_ALIGN_BYTES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NICVF_CQ_BASE_ALIGN_BYTES@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	bl	_nicvf_alloc_q_desc_mem
	mov	x21, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w8, [x20, #4]
	str	w8, [x20, #8]
	ldr	w0, [x19, #8]
	bl	_pass1_silicon
Lloh6:
	adrp	x8, _CMP_QUEUE_CQE_THRESH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CMP_QUEUE_CQE_THRESH@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, w8, wzr, eq
	str	w8, [x20]
Lloh9:
	adrp	x8, _CMP_QUEUE_TIMER_THRESH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CMP_QUEUE_TIMER_THRESH@GOTPAGEOFF]
Lloh11:
	ldr	d0, [x8]
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16297, lsl #48
	fmov	d1, x8
	fmov	d2, #-1.00000000
	fmadd	d0, d0, d1, d2
	str	d0, [x19]
LBB0_2:
	mov	x0, x21
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CMP_QUEUE_DESC_SIZE,4,2        ; @CMP_QUEUE_DESC_SIZE
	.comm	_NICVF_CQ_BASE_ALIGN_BYTES,4,2  ; @NICVF_CQ_BASE_ALIGN_BYTES
	.comm	_CMP_QUEUE_CQE_THRESH,4,2       ; @CMP_QUEUE_CQE_THRESH
	.comm	_CMP_QUEUE_TIMER_THRESH,8,3     ; @CMP_QUEUE_TIMER_THRESH
	.no_dead_strip	_nicvf_init_cmp_queue
.subsections_via_symbols
