	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_vsi_add_pvid              ## -- Begin function i40e_vsi_add_pvid
	.p2align	4, 0x90
_i40e_vsi_add_pvid:                     ## @i40e_vsi_add_pvid
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_I40E_AQ_VSI_PROP_VLAN_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%rbx)
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%rbx)
	movq	_I40E_AQ_VSI_PVLAN_MODE_TAGGED@GOTPCREL(%rip), %rax
	movq	_I40E_AQ_VSI_PVLAN_INSERT_PVID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_I40E_AQ_VSI_PVLAN_EMOD_STR@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 8(%rbx)
	movl	32(%rbx), %eax
	movl	%eax, -40(%rbp)
	movl	8(%rbx), %eax
	movl	%eax, -64(%rbp)
	movl	12(%rbx), %eax
	movl	%eax, -60(%rbp)
	movq	16(%rbx), %rax
	movq	%rax, -56(%rbp)
	movq	24(%rbx), %rax
	movq	%rax, -48(%rbp)
	movq	(%rbx), %rdi
	xorl	%r14d, %r14d
	leaq	-64(%rbp), %rsi
	xorl	%edx, %edx
	callq	_i40e_aq_update_vsi_params
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	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
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_2:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	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_TAGGED,4,2 ## @I40E_AQ_VSI_PVLAN_MODE_TAGGED
	.comm	_I40E_AQ_VSI_PVLAN_INSERT_PVID,4,2 ## @I40E_AQ_VSI_PVLAN_INSERT_PVID
	.comm	_I40E_AQ_VSI_PVLAN_EMOD_STR,4,2 ## @I40E_AQ_VSI_PVLAN_EMOD_STR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"add pvid failed, err %s aq_err %s\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_vsi_add_pvid              ; -- Begin function i40e_vsi_add_pvid
	.p2align	2
_i40e_vsi_add_pvid:                     ; @i40e_vsi_add_pvid
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _I40E_AQ_VSI_PROP_VLAN_VALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_AQ_VSI_PROP_VLAN_VALID@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x19, #24]
	mov	x0, x20
	bl	_cpu_to_le16
Lloh3:
	adrp	x8, _I40E_AQ_VSI_PVLAN_MODE_TAGGED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_AQ_VSI_PVLAN_MODE_TAGGED@GOTPAGEOFF]
	str	x0, [x19, #16]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _I40E_AQ_VSI_PVLAN_INSERT_PVID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _I40E_AQ_VSI_PVLAN_INSERT_PVID@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _I40E_AQ_VSI_PVLAN_EMOD_STR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _I40E_AQ_VSI_PVLAN_EMOD_STR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #8]
	ldr	w8, [x19, #32]
	str	w8, [sp, #24]
	ldr	x8, [x19, #24]
	str	x8, [sp, #16]
	ldur	q0, [x19, #8]
	str	q0, [sp]
	ldr	x0, [x19]
	mov	x1, sp
	mov	x2, #0
	bl	_i40e_aq_update_vsi_params
	cbz	x0, LBB0_2
; %bb.1:
	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
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_dev_info
Lloh14:
	adrp	x8, _ENOENT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_2:
	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 AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.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_TAGGED,4,2 ; @I40E_AQ_VSI_PVLAN_MODE_TAGGED
	.comm	_I40E_AQ_VSI_PVLAN_INSERT_PVID,4,2 ; @I40E_AQ_VSI_PVLAN_INSERT_PVID
	.comm	_I40E_AQ_VSI_PVLAN_EMOD_STR,4,2 ; @I40E_AQ_VSI_PVLAN_EMOD_STR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"add pvid failed, err %s aq_err %s\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
