	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enic_set_rss_nic_cfg
_enic_set_rss_nic_cfg:                  ## @enic_set_rss_nic_cfg
	.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
	movq	%rdi, %r14
	callq	_enic_get_dev
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_NIC_CFG_RSS_HASH_TYPE_IPV4@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_NIC_CFG_RSS_HASH_TYPE_TCP_IPV4@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_NIC_CFG_RSS_HASH_TYPE_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_NIC_CFG_RSS_HASH_TYPE_TCP_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_RSS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ENIC_SETTING
	xorl	%r9d, %r9d
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	cmpl	$2, (%r14)
	jl	LBB0_7
## %bb.2:
	movq	%r14, %rdi
	callq	_enic_set_rsskey
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_6
LBB0_4:
	movq	%r14, %rdi
	movl	$7, %esi
	callq	_enic_set_rsscpu
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	leaq	L_.str(%rip), %rsi
LBB0_6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_warn
	xorl	%r9d, %r9d
LBB0_7:
	orl	%r12d, %ebx
	orl	%r13d, %ebx
	orl	%r15d, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	movl	$7, %ecx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_enic_set_niccfg                ## TAILCALL
LBB0_8:
	movl	$1, %r9d
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_NIC_CFG_RSS_HASH_TYPE_IPV4,4,2 ## @NIC_CFG_RSS_HASH_TYPE_IPV4
	.comm	_NIC_CFG_RSS_HASH_TYPE_TCP_IPV4,4,2 ## @NIC_CFG_RSS_HASH_TYPE_TCP_IPV4
	.comm	_NIC_CFG_RSS_HASH_TYPE_IPV6,4,2 ## @NIC_CFG_RSS_HASH_TYPE_IPV6
	.comm	_NIC_CFG_RSS_HASH_TYPE_TCP_IPV6,4,2 ## @NIC_CFG_RSS_HASH_TYPE_TCP_IPV6
	.comm	_RSS,4,2                        ## @RSS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RSS disabled, Failed to set RSS cpu indirection table."

L_.str.1:                               ## @.str.1
	.asciz	"RSS disabled, Failed to set RSS key.\n"

	.no_dead_strip	_enic_set_rss_nic_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enic_set_rss_nic_cfg
_enic_set_rss_nic_cfg:                  ; @enic_set_rss_nic_cfg
	.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, x0
	bl	_enic_get_dev
	mov	x20, x0
Lloh0:
	adrp	x8, _NIC_CFG_RSS_HASH_TYPE_IPV4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIC_CFG_RSS_HASH_TYPE_IPV4@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _NIC_CFG_RSS_HASH_TYPE_TCP_IPV4@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NIC_CFG_RSS_HASH_TYPE_TCP_IPV4@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _NIC_CFG_RSS_HASH_TYPE_IPV6@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NIC_CFG_RSS_HASH_TYPE_IPV6@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
Lloh9:
	adrp	x8, _NIC_CFG_RSS_HASH_TYPE_TCP_IPV6@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NIC_CFG_RSS_HASH_TYPE_TCP_IPV6@GOTPAGEOFF]
Lloh11:
	ldr	w24, [x8]
Lloh12:
	adrp	x8, _RSS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RSS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ENIC_SETTING
	cbz	x0, LBB0_7
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_7
; %bb.2:
	mov	x0, x19
	bl	_enic_set_rsskey
	cbz	w0, LBB0_4
; %bb.3:
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	mov	w1, #7
	bl	_enic_set_rsscpu
	cbz	x0, LBB0_9
; %bb.5:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
LBB0_6:
	mov	x0, x20
	bl	_dev_warn
LBB0_7:
	mov	w5, #0
LBB0_8:
	orr	w8, w22, w21
	orr	w8, w8, w23
	orr	w2, w8, w24
	mov	x0, x19
	mov	w1, #0
	mov	w3, #7
	mov	w4, #0
	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
	b	_enic_set_niccfg
LBB0_9:
	mov	w5, #1
	b	LBB0_8
	.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
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_NIC_CFG_RSS_HASH_TYPE_IPV4,4,2 ; @NIC_CFG_RSS_HASH_TYPE_IPV4
	.comm	_NIC_CFG_RSS_HASH_TYPE_TCP_IPV4,4,2 ; @NIC_CFG_RSS_HASH_TYPE_TCP_IPV4
	.comm	_NIC_CFG_RSS_HASH_TYPE_IPV6,4,2 ; @NIC_CFG_RSS_HASH_TYPE_IPV6
	.comm	_NIC_CFG_RSS_HASH_TYPE_TCP_IPV6,4,2 ; @NIC_CFG_RSS_HASH_TYPE_TCP_IPV6
	.comm	_RSS,4,2                        ; @RSS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RSS disabled, Failed to set RSS cpu indirection table."

l_.str.1:                               ; @.str.1
	.asciz	"RSS disabled, Failed to set RSS key.\n"

	.no_dead_strip	_enic_set_rss_nic_cfg
.subsections_via_symbols
