	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nicvf_sq_add_cqe_subdesc
_nicvf_sq_add_cqe_subdesc:              ## @nicvf_sq_add_cqe_subdesc
	.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
	movl	%edx, %r14d
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movslq	%esi, %r15
	movq	%rcx, (%rax,%r15,8)
	movl	%r15d, %esi
	callq	_GET_SQ_DESC
	movq	%rax, %rbx
	movq	_SND_QUEUE_DESC_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_SQ_DESC_TYPE_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	movq	_POST_CQE_DESC_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	decq	%rax
	movq	%rax, 24(%rbx)
	movl	$1, 8(%rbx)
	movl	%r14d, 12(%rbx)
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_nicvf_get_nxt_sqentry
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_GET_SQ_DESC
	movq	%rax, %rbx
	movl	(%r13), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_SQ_DESC_TYPE_IMMEDIATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movl	$1, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SND_QUEUE_DESC_SIZE,4,2        ## @SND_QUEUE_DESC_SIZE
	.comm	_SQ_DESC_TYPE_HEADER,4,2        ## @SQ_DESC_TYPE_HEADER
	.comm	_POST_CQE_DESC_COUNT,8,3        ## @POST_CQE_DESC_COUNT
	.comm	_SQ_DESC_TYPE_IMMEDIATE,4,2     ## @SQ_DESC_TYPE_IMMEDIATE
	.no_dead_strip	_nicvf_sq_add_cqe_subdesc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nicvf_sq_add_cqe_subdesc
_nicvf_sq_add_cqe_subdesc:              ; @nicvf_sq_add_cqe_subdesc
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	str	x3, [x8, w1, sxtw #3]
	bl	_GET_SQ_DESC
	mov	x22, x0
Lloh0:
	adrp	x23, _SND_QUEUE_DESC_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SND_QUEUE_DESC_SIZE@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	w1, #0
	bl	_memset
Lloh2:
	adrp	x8, _SQ_DESC_TYPE_HEADER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SQ_DESC_TYPE_HEADER@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x22, #20]
	movi.2s	v0, #1
	str	d0, [x22]
Lloh5:
	adrp	x8, _POST_CQE_DESC_COUNT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _POST_CQE_DESC_COUNT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	sub	x8, x8, #1
	str	x8, [x22, #24]
	mov	w24, #1
	stp	w24, w19, [x22, #8]
	mov	x0, x21
	mov	x1, x20
	bl	_nicvf_get_nxt_sqentry
	mov	x1, x0
	mov	x0, x21
	bl	_GET_SQ_DESC
	mov	x19, x0
	ldr	w2, [x23]
	mov	w1, #0
	bl	_memset
Lloh8:
	adrp	x8, _SQ_DESC_TYPE_IMMEDIATE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SQ_DESC_TYPE_IMMEDIATE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	stp	w24, w8, [x19, #16]
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SND_QUEUE_DESC_SIZE,4,2        ; @SND_QUEUE_DESC_SIZE
	.comm	_SQ_DESC_TYPE_HEADER,4,2        ; @SQ_DESC_TYPE_HEADER
	.comm	_POST_CQE_DESC_COUNT,8,3        ; @POST_CQE_DESC_COUNT
	.comm	_SQ_DESC_TYPE_IMMEDIATE,4,2     ; @SQ_DESC_TYPE_IMMEDIATE
	.no_dead_strip	_nicvf_sq_add_cqe_subdesc
.subsections_via_symbols
