	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nicvf_config_rss               ## -- Begin function nicvf_config_rss
	.p2align	4, 0x90
_nicvf_config_rss:                      ## @nicvf_config_rss
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movl	(%rdi), %eax
	movl	8(%rdi), %ebx
	movl	%eax, -56(%rbp)
	movl	24(%rdi), %eax
	movl	%eax, -60(%rbp)
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.1:
	movq	%rdi, %r14
	xorl	%r12d, %r12d
	movq	_NIC_MBOX_MSG_RSS_CFG_CONT@GOTPCREL(%rip), %r13
	leaq	-80(%rbp), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_nicvf_send_msg_to_pf
	subl	-76(%rbp), %ebx
	je	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	%r12d, -80(%rbp)
	movq	_RSS_IND_TBL_LEN_PER_MBX_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_min
	movl	%eax, -76(%rbp)
	cmpl	$0, -80(%rbp)
	movq	%r13, %rcx
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_NIC_MBOX_MSG_RSS_CFG@GOTPCREL(%rip), %rcx
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rcx), %ecx
	movl	%ecx, -64(%rbp)
	testl	%eax, %eax
	jle	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r12d, %rax
	shlq	$2, %rax
	addq	16(%r14), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rax,%rcx,4), %edx
	movq	-72(%rbp), %rsi
	movl	%edx, (%rsi,%rcx,4)
	incq	%rcx
	movslq	-76(%rbp), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	%ecx, %r12d
	jmp	LBB0_8
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RSS_IND_TBL_LEN_PER_MBX_MSG,4,2 ## @RSS_IND_TBL_LEN_PER_MBX_MSG
	.comm	_NIC_MBOX_MSG_RSS_CFG_CONT,4,2  ## @NIC_MBOX_MSG_RSS_CFG_CONT
	.comm	_NIC_MBOX_MSG_RSS_CFG,4,2       ## @NIC_MBOX_MSG_RSS_CFG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nicvf_config_rss               ; -- Begin function nicvf_config_rss
	.p2align	2
_nicvf_config_rss:                      ; @nicvf_config_rss
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp]
	ldr	w20, [x0, #8]
	ldr	w8, [x0]
	ldr	w9, [x0, #24]
	stp	w9, w8, [sp, #20]
	cbz	w20, LBB0_7
; %bb.1:
	mov	x19, x0
	mov	w21, #0
Lloh0:
	adrp	x22, _RSS_IND_TBL_LEN_PER_MBX_MSG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _RSS_IND_TBL_LEN_PER_MBX_MSG@GOTPAGEOFF]
Lloh2:
	adrp	x23, _NIC_MBOX_MSG_RSS_CFG_CONT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _NIC_MBOX_MSG_RSS_CFG_CONT@GOTPAGEOFF]
Lloh4:
	adrp	x24, _NIC_MBOX_MSG_RSS_CFG@GOTPAGE
Lloh5:
	ldr	x24, [x24, _NIC_MBOX_MSG_RSS_CFG@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, sp
	mov	x0, x19
	bl	_nicvf_send_msg_to_pf
	ldr	w8, [sp, #4]
	subs	w20, w20, w8
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	str	w21, [sp]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_min
	str	w0, [sp, #4]
	ldr	w8, [sp]
	cmp	w8, #0
	csel	x8, x24, x23, eq
	ldr	w8, [x8]
	str	w8, [sp, #16]
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	ldr	x9, [x19, #16]
	add	x9, x9, w21, sxtw #2
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x10, x8, #2
	ldr	w11, [x9, x10]
	ldr	x12, [sp, #8]
	str	w11, [x12, x10]
	add	x8, x8, #1
	ldrsw	x10, [sp, #4]
	cmp	x8, x10
	b.lt	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w21, w21, w8
	b	LBB0_2
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RSS_IND_TBL_LEN_PER_MBX_MSG,4,2 ; @RSS_IND_TBL_LEN_PER_MBX_MSG
	.comm	_NIC_MBOX_MSG_RSS_CFG_CONT,4,2  ; @NIC_MBOX_MSG_RSS_CFG_CONT
	.comm	_NIC_MBOX_MSG_RSS_CFG,4,2       ; @NIC_MBOX_MSG_RSS_CFG
.subsections_via_symbols
