	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vnic_set_nic_cfg
_vnic_set_nic_cfg:                      ## @vnic_set_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
	movl	%ecx, %eax
	movq	_NIC_CFG_RSS_DEFAULT_CPU_MASK_FIELD@GOTPCREL(%rip), %rcx
	andl	(%rcx), %esi
	movq	_NIC_CFG_RSS_HASH_TYPE_MASK_FIELD@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	movq	_NIC_CFG_RSS_HASH_TYPE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%esi, %edx
	movq	_NIC_CFG_RSS_HASH_BITS_MASK_FIELD@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_NIC_CFG_RSS_HASH_BITS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_NIC_CFG_RSS_BASE_CPU_MASK_FIELD@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r8d
	movq	_NIC_CFG_RSS_BASE_CPU_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r8d
	movq	_NIC_CFG_RSS_ENABLE_MASK_FIELD@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r9d
	movq	_NIC_CFG_RSS_ENABLE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r9d
	orl	%eax, %r8d
	orl	%edx, %r8d
	movq	_NIC_CFG_TSO_IPID_SPLIT_EN_MASK_FIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	16(%rbp), %eax
	movq	_NIC_CFG_TSO_IPID_SPLIT_EN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_NIC_CFG_IG_VLAN_STRIP_EN_MASK_FIELD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	24(%rbp), %edx
	movq	_NIC_CFG_IG_VLAN_STRIP_EN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%r9d, %eax
	orl	%eax, %edx
	orl	%r8d, %edx
	movl	%edx, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIC_CFG_RSS_DEFAULT_CPU_MASK_FIELD,4,2 ## @NIC_CFG_RSS_DEFAULT_CPU_MASK_FIELD
	.comm	_NIC_CFG_RSS_HASH_TYPE_MASK_FIELD,4,2 ## @NIC_CFG_RSS_HASH_TYPE_MASK_FIELD
	.comm	_NIC_CFG_RSS_HASH_TYPE_SHIFT,4,2 ## @NIC_CFG_RSS_HASH_TYPE_SHIFT
	.comm	_NIC_CFG_RSS_HASH_BITS_MASK_FIELD,4,2 ## @NIC_CFG_RSS_HASH_BITS_MASK_FIELD
	.comm	_NIC_CFG_RSS_HASH_BITS_SHIFT,4,2 ## @NIC_CFG_RSS_HASH_BITS_SHIFT
	.comm	_NIC_CFG_RSS_BASE_CPU_MASK_FIELD,4,2 ## @NIC_CFG_RSS_BASE_CPU_MASK_FIELD
	.comm	_NIC_CFG_RSS_BASE_CPU_SHIFT,4,2 ## @NIC_CFG_RSS_BASE_CPU_SHIFT
	.comm	_NIC_CFG_RSS_ENABLE_MASK_FIELD,4,2 ## @NIC_CFG_RSS_ENABLE_MASK_FIELD
	.comm	_NIC_CFG_RSS_ENABLE_SHIFT,4,2   ## @NIC_CFG_RSS_ENABLE_SHIFT
	.comm	_NIC_CFG_TSO_IPID_SPLIT_EN_MASK_FIELD,4,2 ## @NIC_CFG_TSO_IPID_SPLIT_EN_MASK_FIELD
	.comm	_NIC_CFG_TSO_IPID_SPLIT_EN_SHIFT,4,2 ## @NIC_CFG_TSO_IPID_SPLIT_EN_SHIFT
	.comm	_NIC_CFG_IG_VLAN_STRIP_EN_MASK_FIELD,4,2 ## @NIC_CFG_IG_VLAN_STRIP_EN_MASK_FIELD
	.comm	_NIC_CFG_IG_VLAN_STRIP_EN_SHIFT,4,2 ## @NIC_CFG_IG_VLAN_STRIP_EN_SHIFT
	.no_dead_strip	_vnic_set_nic_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vnic_set_nic_cfg
_vnic_set_nic_cfg:                      ; @vnic_set_nic_cfg
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NIC_CFG_RSS_DEFAULT_CPU_MASK_FIELD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIC_CFG_RSS_DEFAULT_CPU_MASK_FIELD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _NIC_CFG_RSS_HASH_TYPE_MASK_FIELD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NIC_CFG_RSS_HASH_TYPE_MASK_FIELD@GOTPAGEOFF]
	and	w8, w8, w1
Lloh5:
	ldr	w9, [x9]
	and	w9, w9, w2
Lloh6:
	adrp	x10, _NIC_CFG_RSS_HASH_TYPE_SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NIC_CFG_RSS_HASH_TYPE_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _NIC_CFG_RSS_HASH_BITS_MASK_FIELD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NIC_CFG_RSS_HASH_BITS_MASK_FIELD@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w9, w9, w3
Lloh12:
	adrp	x10, _NIC_CFG_RSS_HASH_BITS_SHIFT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _NIC_CFG_RSS_HASH_BITS_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh15:
	adrp	x10, _NIC_CFG_RSS_BASE_CPU_MASK_FIELD@GOTPAGE
Lloh16:
	ldr	x10, [x10, _NIC_CFG_RSS_BASE_CPU_MASK_FIELD@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh17:
	ldr	w9, [x10]
	and	w9, w9, w4
Lloh18:
	adrp	x10, _NIC_CFG_RSS_BASE_CPU_SHIFT@GOTPAGE
Lloh19:
	ldr	x10, [x10, _NIC_CFG_RSS_BASE_CPU_SHIFT@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _NIC_CFG_RSS_ENABLE_MASK_FIELD@GOTPAGE
Lloh22:
	ldr	x9, [x9, _NIC_CFG_RSS_ENABLE_MASK_FIELD@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	and	w9, w9, w5
Lloh24:
	adrp	x10, _NIC_CFG_RSS_ENABLE_SHIFT@GOTPAGE
Lloh25:
	ldr	x10, [x10, _NIC_CFG_RSS_ENABLE_SHIFT@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh27:
	adrp	x10, _NIC_CFG_TSO_IPID_SPLIT_EN_MASK_FIELD@GOTPAGE
Lloh28:
	ldr	x10, [x10, _NIC_CFG_TSO_IPID_SPLIT_EN_MASK_FIELD@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh29:
	ldr	w9, [x10]
	and	w9, w9, w6
Lloh30:
	adrp	x10, _NIC_CFG_TSO_IPID_SPLIT_EN_SHIFT@GOTPAGE
Lloh31:
	ldr	x10, [x10, _NIC_CFG_TSO_IPID_SPLIT_EN_SHIFT@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
Lloh33:
	adrp	x9, _NIC_CFG_IG_VLAN_STRIP_EN_MASK_FIELD@GOTPAGE
Lloh34:
	ldr	x9, [x9, _NIC_CFG_IG_VLAN_STRIP_EN_MASK_FIELD@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	and	w9, w9, w7
Lloh36:
	adrp	x10, _NIC_CFG_IG_VLAN_STRIP_EN_SHIFT@GOTPAGE
Lloh37:
	ldr	x10, [x10, _NIC_CFG_IG_VLAN_STRIP_EN_SHIFT@GOTPAGEOFF]
Lloh38:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
	str	w8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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_CFG_RSS_DEFAULT_CPU_MASK_FIELD,4,2 ; @NIC_CFG_RSS_DEFAULT_CPU_MASK_FIELD
	.comm	_NIC_CFG_RSS_HASH_TYPE_MASK_FIELD,4,2 ; @NIC_CFG_RSS_HASH_TYPE_MASK_FIELD
	.comm	_NIC_CFG_RSS_HASH_TYPE_SHIFT,4,2 ; @NIC_CFG_RSS_HASH_TYPE_SHIFT
	.comm	_NIC_CFG_RSS_HASH_BITS_MASK_FIELD,4,2 ; @NIC_CFG_RSS_HASH_BITS_MASK_FIELD
	.comm	_NIC_CFG_RSS_HASH_BITS_SHIFT,4,2 ; @NIC_CFG_RSS_HASH_BITS_SHIFT
	.comm	_NIC_CFG_RSS_BASE_CPU_MASK_FIELD,4,2 ; @NIC_CFG_RSS_BASE_CPU_MASK_FIELD
	.comm	_NIC_CFG_RSS_BASE_CPU_SHIFT,4,2 ; @NIC_CFG_RSS_BASE_CPU_SHIFT
	.comm	_NIC_CFG_RSS_ENABLE_MASK_FIELD,4,2 ; @NIC_CFG_RSS_ENABLE_MASK_FIELD
	.comm	_NIC_CFG_RSS_ENABLE_SHIFT,4,2   ; @NIC_CFG_RSS_ENABLE_SHIFT
	.comm	_NIC_CFG_TSO_IPID_SPLIT_EN_MASK_FIELD,4,2 ; @NIC_CFG_TSO_IPID_SPLIT_EN_MASK_FIELD
	.comm	_NIC_CFG_TSO_IPID_SPLIT_EN_SHIFT,4,2 ; @NIC_CFG_TSO_IPID_SPLIT_EN_SHIFT
	.comm	_NIC_CFG_IG_VLAN_STRIP_EN_MASK_FIELD,4,2 ; @NIC_CFG_IG_VLAN_STRIP_EN_MASK_FIELD
	.comm	_NIC_CFG_IG_VLAN_STRIP_EN_SHIFT,4,2 ; @NIC_CFG_IG_VLAN_STRIP_EN_SHIFT
	.no_dead_strip	_vnic_set_nic_cfg
.subsections_via_symbols
