	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_set_features
_i40e_set_features:                     ## @i40e_set_features
	.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
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	(%rax), %r15
	movq	8(%r15), %r14
	movq	_NETIF_F_RXHASH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rbx), %ecx
	testl	%r12d, %eax
	je	LBB0_3
## %bb.1:
	testl	%eax, %ecx
	jne	LBB0_5
## %bb.2:
	movq	%r14, %rdi
	callq	_i40e_pf_config_rss
	jmp	LBB0_5
LBB0_3:
	testl	%eax, %ecx
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_i40e_clear_rss_lut
LBB0_5:
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_i40e_vlan_stripping_enable
	jmp	LBB0_8
LBB0_7:
	movq	%r15, %rdi
	callq	_i40e_vlan_stripping_disable
LBB0_8:
	movq	_NETIF_F_HW_TC@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_9
LBB0_11:
	movq	_NETIF_F_HW_L2FW_DOFFLOAD@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	jne	LBB0_14
## %bb.12:
	cmpq	$0, (%r15)
	je	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	callq	_i40e_del_all_macvlans
LBB0_14:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_i40e_set_ntuple
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movq	_I40E_PF_RESET_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_i40e_do_reset
	jmp	LBB0_16
LBB0_9:
	cmpq	$0, 8(%r14)
	je	LBB0_11
## %bb.10:
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_16:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_RXHASH,4,2             ## @NETIF_F_RXHASH
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ## @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NETIF_F_HW_TC,4,2              ## @NETIF_F_HW_TC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Offloaded tc filters active, can't turn hw_tc_offload off"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NETIF_F_HW_L2FW_DOFFLOAD,4,2   ## @NETIF_F_HW_L2FW_DOFFLOAD
	.comm	_I40E_PF_RESET_FLAG,4,2         ## @I40E_PF_RESET_FLAG
	.no_dead_strip	_i40e_set_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_set_features
_i40e_set_features:                     ; @i40e_set_features
	.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	x20, x1
	mov	x22, x0
	bl	_netdev_priv
	ldr	x21, [x0]
	ldr	x19, [x21, #8]
Lloh0:
	adrp	x8, _NETIF_F_RXHASH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_F_RXHASH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	ldr	w8, [x22]
	and	w8, w8, w9
	tst	w9, w20
	b.eq	LBB0_3
; %bb.1:
	cbnz	w8, LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_i40e_pf_config_rss
	b	LBB0_5
LBB0_3:
	cbz	w8, LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_i40e_clear_rss_lut
LBB0_5:
Lloh3:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x0, x21
	tst	w8, w20
	b.eq	LBB0_7
; %bb.6:
	bl	_i40e_vlan_stripping_enable
	b	LBB0_8
LBB0_7:
	bl	_i40e_vlan_stripping_disable
LBB0_8:
Lloh6:
	adrp	x8, _NETIF_F_HW_TC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETIF_F_HW_TC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_14
LBB0_9:
Lloh9:
	adrp	x8, _NETIF_F_HW_L2FW_DOFFLOAD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NETIF_F_HW_L2FW_DOFFLOAD@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w20
	b.ne	LBB0_12
; %bb.10:
	ldr	x8, [x21]
	cbz	x8, LBB0_12
; %bb.11:
	mov	x0, x21
	bl	_i40e_del_all_macvlans
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	bl	_i40e_set_ntuple
	cbz	w0, LBB0_16
; %bb.13:
Lloh12:
	adrp	x8, _I40E_PF_RESET_FLAG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _I40E_PF_RESET_FLAG@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_i40e_do_reset
	mov	w0, #0
	b	LBB0_16
LBB0_14:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_9
; %bb.15:
	ldr	x0, [x19]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_16:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_RXHASH,4,2             ; @NETIF_F_RXHASH
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ; @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NETIF_F_HW_TC,4,2              ; @NETIF_F_HW_TC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Offloaded tc filters active, can't turn hw_tc_offload off"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NETIF_F_HW_L2FW_DOFFLOAD,4,2   ; @NETIF_F_HW_L2FW_DOFFLOAD
	.comm	_I40E_PF_RESET_FLAG,4,2         ; @I40E_PF_RESET_FLAG
	.no_dead_strip	_i40e_set_features
.subsections_via_symbols
