	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_set_features
_ice_set_features:                      ## @ice_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	(%rax), %r15
	movq	(%r15), %rdi
	callq	_ice_is_safe_mode
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%r15), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	xorl	%eax, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_NETIF_F_RXHASH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%rbx), %edx
	xorl	%eax, %eax
	testl	%r14d, %ecx
	je	LBB0_6
## %bb.4:
	testl	%ecx, %edx
	jne	LBB0_8
## %bb.5:
	movl	$1, %eax
	jmp	LBB0_7
LBB0_6:
	testl	%ecx, %edx
	je	LBB0_8
LBB0_7:
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_ice_vsi_manage_rss_lut
LBB0_8:
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rbx), %edx
	testl	%r14d, %ecx
	je	LBB0_11
## %bb.9:
	testl	%ecx, %edx
	jne	LBB0_13
## %bb.10:
	movl	$1, %esi
	jmp	LBB0_12
LBB0_11:
	xorl	%esi, %esi
	testl	%ecx, %edx
	je	LBB0_13
LBB0_12:
	movq	%r15, %rdi
	callq	_ice_vsi_manage_vlan_stripping
LBB0_13:
	movq	_NETIF_F_HW_VLAN_CTAG_TX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rbx), %edx
	testl	%r14d, %ecx
	je	LBB0_15
## %bb.14:
	testl	%ecx, %edx
	jne	LBB0_17
LBB0_16:
	movq	%r15, %rdi
	callq	_ice_vsi_manage_vlan_insertion
LBB0_17:
	movq	_NETIF_F_HW_VLAN_CTAG_FILTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rbx), %edx
	testl	%r14d, %ecx
	je	LBB0_21
## %bb.18:
	testl	%ecx, %edx
	jne	LBB0_2
## %bb.19:
	movq	%r15, %rdi
	movl	$1, %esi
	jmp	LBB0_20
LBB0_15:
	testl	%ecx, %edx
	jne	LBB0_16
	jmp	LBB0_17
LBB0_21:
	testl	%ecx, %edx
	je	LBB0_2
## %bb.22:
	movq	%r15, %rdi
	xorl	%esi, %esi
LBB0_20:
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ice_cfg_vlan_pruning           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Device is in Safe Mode - not enabling advanced netdev features\n"

	.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_VLAN_CTAG_TX,4,2    ## @NETIF_F_HW_VLAN_CTAG_TX
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ## @NETIF_F_HW_VLAN_CTAG_FILTER
	.no_dead_strip	_ice_set_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_set_features
_ice_set_features:                      ; @ice_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	x21, x0
	bl	_netdev_priv
	ldr	x19, [x0]
	ldr	x0, [x19]
	bl	_ice_is_safe_mode
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	ldr	x0, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	mov	w0, #0
LBB0_2:
	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
LBB0_3:
Lloh2:
	adrp	x8, _NETIF_F_RXHASH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NETIF_F_RXHASH@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x8]
	ldr	w8, [x21]
	and	w8, w8, w9
	tst	w9, w20
	b.eq	LBB0_6
; %bb.4:
	cbz	w8, LBB0_7
; %bb.5:
	mov	w0, #0
	b	LBB0_9
LBB0_6:
	mov	w1, #0
	mov	w0, #0
	cbnz	w8, LBB0_8
	b	LBB0_9
LBB0_7:
	mov	w1, #1
LBB0_8:
	mov	x0, x19
	bl	_ice_vsi_manage_rss_lut
LBB0_9:
Lloh5:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x8]
	ldr	w8, [x21]
	and	w8, w8, w9
	tst	w9, w20
	b.eq	LBB0_12
; %bb.10:
	cbnz	w8, LBB0_15
; %bb.11:
	mov	w1, #1
	b	LBB0_14
LBB0_12:
	cbz	w8, LBB0_15
; %bb.13:
	mov	w1, #0
LBB0_14:
	mov	x0, x19
	bl	_ice_vsi_manage_vlan_stripping
LBB0_15:
Lloh8:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x8]
	ldr	w8, [x21]
	and	w8, w8, w9
	tst	w9, w20
	b.eq	LBB0_21
; %bb.16:
	cbnz	w8, LBB0_18
LBB0_17:
	mov	x0, x19
	bl	_ice_vsi_manage_vlan_insertion
LBB0_18:
Lloh11:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x8]
	ldr	w8, [x21]
	and	w8, w8, w9
	tst	w9, w20
	b.eq	LBB0_22
; %bb.19:
	cbnz	w8, LBB0_2
; %bb.20:
	mov	x0, x19
	mov	w1, #1
	b	LBB0_24
LBB0_21:
	cbnz	w8, LBB0_17
	b	LBB0_18
LBB0_22:
	cbz	w8, LBB0_2
; %bb.23:
	mov	x0, x19
	mov	w1, #0
LBB0_24:
	mov	w2, #0
	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
	b	_ice_cfg_vlan_pruning
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Device is in Safe Mode - not enabling advanced netdev features\n"

	.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_VLAN_CTAG_TX,4,2    ; @NETIF_F_HW_VLAN_CTAG_TX
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ; @NETIF_F_HW_VLAN_CTAG_FILTER
	.no_dead_strip	_ice_set_features
.subsections_via_symbols
