	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nicvf_rbdr_config
_nicvf_rbdr_config:                     ## @nicvf_rbdr_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	%ecx, %ebx
	movl	%edx, %r14d
	movq	%rdi, %r13
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rax
	movslq	%edx, %rdx
	leaq	(%rdx,%rdx,2), %rcx
	movq	%rax, %r15
	movq	%rcx, %r12
	leaq	(%rax,%rcx,8), %rsi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_nicvf_reclaim_rbdr
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	_NIC_QSET_RBDR_0_1_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	16(%r15,%r12,8), %rcx
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_nicvf_queue_reg_write
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	$1, -96(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -72(%rbp)
	movq	_RBDR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	$0, -88(%rbp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	leal	127(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$7, %ecx
	movl	%ecx, -92(%rbp)
	movq	_NIC_QSET_RBDR_0_1_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-96(%rbp), %rcx
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_nicvf_queue_reg_write
	movq	_NIC_QSET_RBDR_0_1_DOOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
	decq	%rcx
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_nicvf_queue_reg_write
	movq	_NIC_QSET_RBDR_0_1_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r15,%r12,8), %rcx
	decq	%rcx
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_nicvf_queue_reg_write
LBB0_2:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIC_QSET_RBDR_0_1_BASE,4,2     ## @NIC_QSET_RBDR_0_1_BASE
	.comm	_RBDR_SIZE,4,2                  ## @RBDR_SIZE
	.comm	_NIC_QSET_RBDR_0_1_CFG,4,2      ## @NIC_QSET_RBDR_0_1_CFG
	.comm	_NIC_QSET_RBDR_0_1_DOOR,4,2     ## @NIC_QSET_RBDR_0_1_DOOR
	.comm	_NIC_QSET_RBDR_0_1_THRESH,4,2   ## @NIC_QSET_RBDR_0_1_THRESH
	.no_dead_strip	_nicvf_rbdr_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nicvf_rbdr_config
_nicvf_rbdr_config:                     ; @nicvf_rbdr_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	x23, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x24, [x1, #8]
	mov	w8, #24
	smaddl	x22, w2, w8, x24
	mov	x1, x22
	bl	_nicvf_reclaim_rbdr
	cbz	w23, LBB0_2
; %bb.1:
	sxtw	x8, w19
Lloh0:
	adrp	x9, _NIC_QSET_RBDR_0_1_BASE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NIC_QSET_RBDR_0_1_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	w9, #24
	madd	x23, x8, x9, x24
	ldr	x3, [x23, #16]
	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]
Lloh3:
	adrp	x8, _RBDR_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RBDR_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	str	xzr, [sp, #16]
	ldr	w8, [x22]
	add	w9, w8, #127
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #7
	str	w8, [sp, #12]
Lloh6:
	adrp	x8, _NIC_QSET_RBDR_0_1_CFG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NIC_QSET_RBDR_0_1_CFG@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	x3, [sp, #8]
	mov	x0, x20
	mov	x2, x19
	bl	_nicvf_queue_reg_write
Lloh9:
	adrp	x8, _NIC_QSET_RBDR_0_1_DOOR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NIC_QSET_RBDR_0_1_DOOR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	x8, [x21]
	sub	x3, x8, #1
	mov	x0, x20
	mov	x2, x19
	bl	_nicvf_queue_reg_write
Lloh12:
	adrp	x8, _NIC_QSET_RBDR_0_1_THRESH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NIC_QSET_RBDR_0_1_THRESH@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	x8, [x23, #8]
	sub	x3, x8, #1
	mov	x0, x20
	mov	x2, x19
	bl	_nicvf_queue_reg_write
LBB0_2:
	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
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NIC_QSET_RBDR_0_1_BASE,4,2     ; @NIC_QSET_RBDR_0_1_BASE
	.comm	_RBDR_SIZE,4,2                  ; @RBDR_SIZE
	.comm	_NIC_QSET_RBDR_0_1_CFG,4,2      ; @NIC_QSET_RBDR_0_1_CFG
	.comm	_NIC_QSET_RBDR_0_1_DOOR,4,2     ; @NIC_QSET_RBDR_0_1_DOOR
	.comm	_NIC_QSET_RBDR_0_1_THRESH,4,2   ; @NIC_QSET_RBDR_0_1_THRESH
	.no_dead_strip	_nicvf_rbdr_config
.subsections_via_symbols
