	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_vlan_stripping_enable     ## -- Begin function i40e_vlan_stripping_enable
	.p2align	4, 0x90
_i40e_vlan_stripping_enable:            ## @i40e_vlan_stripping_enable
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 16(%rdi)
	jne	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	leaq	8(%rdi), %r14
	movl	(%r14), %r12d
	movq	_I40E_AQ_VSI_PROP_VLAN_VALID@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_cpu_to_le16
	testl	%r12d, %eax
	je	LBB0_3
## %bb.2:
	movq	_I40E_AQ_VSI_PVLAN_MODE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 12(%rbx)
	je	LBB0_5
LBB0_3:
	movl	(%r15), %edi
	callq	_cpu_to_le16
	movl	%eax, 8(%rbx)
	movq	_I40E_AQ_VSI_PVLAN_MODE_ALL@GOTPCREL(%rip), %rax
	movq	_I40E_AQ_VSI_PVLAN_EMOD_STR_BOTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 12(%rbx)
	movl	24(%rbx), %eax
	movl	%eax, -48(%rbp)
	movups	(%r14), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	(%rbx), %rdi
	leaq	-64(%rbp), %rsi
	xorl	%edx, %edx
	callq	_i40e_aq_update_vsi_params
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	(%rbx), %rdi
	movq	8(%rdi), %r14
	movq	%rax, %rsi
	callq	_i40e_stat_str
	movl	%eax, %r15d
	movq	(%rbx), %rdi
	movl	(%rdi), %esi
	callq	_i40e_aq_str
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_dev_info
LBB0_5:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_AQ_VSI_PROP_VLAN_VALID,4,2 ## @I40E_AQ_VSI_PROP_VLAN_VALID
	.comm	_I40E_AQ_VSI_PVLAN_MODE_MASK,4,2 ## @I40E_AQ_VSI_PVLAN_MODE_MASK
	.comm	_I40E_AQ_VSI_PVLAN_MODE_ALL,4,2 ## @I40E_AQ_VSI_PVLAN_MODE_ALL
	.comm	_I40E_AQ_VSI_PVLAN_EMOD_STR_BOTH,4,2 ## @I40E_AQ_VSI_PVLAN_EMOD_STR_BOTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"update vlan stripping failed, err %s aq_err %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_vlan_stripping_enable     ; -- Begin function i40e_vlan_stripping_enable
	.p2align	2
_i40e_vlan_stripping_enable:            ; @i40e_vlan_stripping_enable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x8, [x0, #16]
	cbnz	x8, LBB0_5
; %bb.1:
	mov	x19, x0
	add	x20, x0, #8
	ldr	w22, [x20]
Lloh0:
	adrp	x21, _I40E_AQ_VSI_PROP_VLAN_VALID@GOTPAGE
Lloh1:
	ldr	x21, [x21, _I40E_AQ_VSI_PROP_VLAN_VALID@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_cpu_to_le16
	tst	w0, w22
	b.eq	LBB0_3
; %bb.2:
	ldr	w8, [x19, #12]
Lloh2:
	adrp	x9, _I40E_AQ_VSI_PVLAN_MODE_MASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _I40E_AQ_VSI_PVLAN_MODE_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_3:
	ldr	w0, [x21]
	bl	_cpu_to_le16
Lloh5:
	adrp	x8, _I40E_AQ_VSI_PVLAN_MODE_ALL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I40E_AQ_VSI_PVLAN_MODE_ALL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _I40E_AQ_VSI_PVLAN_EMOD_STR_BOTH@GOTPAGE
Lloh9:
	ldr	x9, [x9, _I40E_AQ_VSI_PVLAN_EMOD_STR_BOTH@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
	stp	w0, w8, [x19, #8]
	ldr	w8, [x19, #24]
	str	w8, [sp, #16]
	ldr	q0, [x20]
	str	q0, [sp]
	ldr	x0, [x19]
	mov	x1, sp
	mov	x2, #0
	bl	_i40e_aq_update_vsi_params
	cbz	x0, LBB0_5
; %bb.4:
	mov	x1, x0
	ldr	x0, [x19]
	ldr	x20, [x0, #8]
	bl	_i40e_stat_str
	mov	x21, x0
	ldr	x0, [x19]
	ldr	w1, [x0]
	bl	_i40e_aq_str
	mov	x3, x0
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_dev_info
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_AQ_VSI_PROP_VLAN_VALID,4,2 ; @I40E_AQ_VSI_PROP_VLAN_VALID
	.comm	_I40E_AQ_VSI_PVLAN_MODE_MASK,4,2 ; @I40E_AQ_VSI_PVLAN_MODE_MASK
	.comm	_I40E_AQ_VSI_PVLAN_MODE_ALL,4,2 ; @I40E_AQ_VSI_PVLAN_MODE_ALL
	.comm	_I40E_AQ_VSI_PVLAN_EMOD_STR_BOTH,4,2 ; @I40E_AQ_VSI_PVLAN_EMOD_STR_BOTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"update vlan stripping failed, err %s aq_err %s\n"

.subsections_via_symbols
