	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nicvf_set_rxfh
_nicvf_set_rxfh:                        ## @nicvf_set_rxfh
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_ETH_RSS_HASH_NO_CHANGE@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_ETH_RSS_HASH_TOP@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	je	LBB0_4
## %bb.2:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_4:
	cmpl	$0, 24(%rbx)
	je	LBB0_5
## %bb.6:
	testq	%r15, %r15
	je	LBB0_10
## %bb.7:
	cmpl	$0, 8(%rbx)
	jle	LBB0_10
## %bb.8:
	movq	16(%rbx), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rcx,4), %edx
	movl	%edx, (%rax,%rcx,4)
	incq	%rcx
	movslq	8(%rbx), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_9
LBB0_10:
	testq	%r14, %r14
	je	LBB0_12
## %bb.11:
	movl	12(%rbx), %edi
	movq	_RSS_HASH_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	movq	%r14, %rsi
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_nicvf_set_rss_key
LBB0_12:
	movq	%rbx, %rdi
	callq	_nicvf_config_rss
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_5:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
	movq	_EIO@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_RSS_HASH_NO_CHANGE,8,3     ## @ETH_RSS_HASH_NO_CHANGE
	.comm	_ETH_RSS_HASH_TOP,8,3           ## @ETH_RSS_HASH_TOP
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RSS is disabled, cannot change settings\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_RSS_HASH_KEY_SIZE,4,2          ## @RSS_HASH_KEY_SIZE
	.no_dead_strip	_nicvf_set_rxfh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nicvf_set_rxfh
_nicvf_set_rxfh:                        ; @nicvf_set_rxfh
	.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	x22, x3
	mov	x20, x2
	mov	x21, x1
	bl	_netdev_priv
Lloh0:
	adrp	x8, _ETH_RSS_HASH_NO_CHANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_RSS_HASH_NO_CHANGE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _ETH_RSS_HASH_TOP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETH_RSS_HASH_TOP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x22
	ccmp	x9, x22, #4, ne
	b.ne	LBB0_9
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_10
; %bb.2:
	cbz	x21, LBB0_6
; %bb.3:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x8, #0
	ldr	x9, [x19, #16]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x10, x8, #2
	ldr	w11, [x21, x10]
	str	w11, [x9, x10]
	add	x8, x8, #1
	ldrsw	x10, [x19, #8]
	cmp	x8, x10
	b.lt	LBB0_5
LBB0_6:
	cbz	x20, LBB0_8
; %bb.7:
	ldr	w0, [x19, #12]
Lloh6:
	adrp	x8, _RSS_HASH_KEY_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RSS_HASH_KEY_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	mov	x1, x20
	bl	_memcpy
	mov	x0, x19
	bl	_nicvf_set_rss_key
LBB0_8:
	mov	x0, x19
	bl	_nicvf_config_rss
	mov	w0, #0
	b	LBB0_12
LBB0_9:
Lloh9:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
	ldr	w0, [x19]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
Lloh13:
	adrp	x8, _EIO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_RSS_HASH_NO_CHANGE,8,3     ; @ETH_RSS_HASH_NO_CHANGE
	.comm	_ETH_RSS_HASH_TOP,8,3           ; @ETH_RSS_HASH_TOP
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RSS is disabled, cannot change settings\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_RSS_HASH_KEY_SIZE,4,2          ; @RSS_HASH_KEY_SIZE
	.no_dead_strip	_nicvf_set_rxfh
.subsections_via_symbols
