	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_set_vf_vlan
_be_set_vf_vlan:                        ## @be_set_vf_vlan
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movl	%esi, %r14d
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	16(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_sriov_enabled
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	cmpl	$7, %r15d
	jg	LBB0_6
## %bb.4:
	cmpl	$4095, %r12d                    ## imm = 0xFFF
	jg	LBB0_6
## %bb.5:
	cmpl	%r14d, (%rbx)
	jle	LBB0_6
## %bb.7:
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%r13, %rax
	jne	LBB0_8
## %bb.9:
	movl	%r15d, %eax
	orl	%r12d, %eax
	je	LBB0_11
## %bb.10:
	movq	_VLAN_PRIO_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r15d
	orl	%r12d, %r15d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_be_set_vf_tvt
	movl	%eax, %r12d
	testl	%r12d, %r12d
	je	LBB0_13
LBB0_15:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	movl	%r12d, %r8d
	callq	_dev_err
	movl	%r12d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_be_cmd_status                  ## TAILCALL
LBB0_1:
	movq	_EPERM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_8:
	movq	_EPROTONOSUPPORT@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_be_clear_vf_tvt
	movl	%eax, %r12d
	xorl	%r15d, %r15d
	testl	%r12d, %r12d
	jne	LBB0_15
LBB0_13:
	movslq	%r14d, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%r15d, (%rcx,%rax,4)
	xorl	%eax, %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_EPROTONOSUPPORT,4,2            ## @EPROTONOSUPPORT
	.comm	_VLAN_PRIO_SHIFT,4,2            ## @VLAN_PRIO_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VLAN %d config on VF %d failed : %#x\n"

	.no_dead_strip	_be_set_vf_vlan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_set_vf_vlan
_be_set_vf_vlan:                        ; @be_set_vf_vlan
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x4
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	x24, [x0, #16]
	bl	_sriov_enabled
	cbz	w0, LBB0_8
; %bb.1:
	cmp	w22, #7
	b.gt	LBB0_9
; %bb.2:
	cmp	w21, #4095
	b.gt	LBB0_9
; %bb.3:
	ldr	w8, [x20]
	cmp	w8, w19
	b.le	LBB0_9
; %bb.4:
Lloh0:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x0, x23
	b.ne	LBB0_10
; %bb.5:
	orr	w8, w22, w21
	cbz	w8, LBB0_13
; %bb.6:
Lloh3:
	adrp	x8, _VLAN_PRIO_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VLAN_PRIO_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	w8, w22, w8
	orr	w21, w8, w21
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_be_set_vf_tvt
	mov	x22, x0
	cbz	w22, LBB0_14
LBB0_7:
	ldr	x0, [x20, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x19
	mov	x4, x22
	bl	_dev_err
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_be_cmd_status
LBB0_8:
Lloh8:
	adrp	x8, _EPERM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh12:
	adrp	x8, _EPROTONOSUPPORT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EPROTONOSUPPORT@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
	mov	x0, x20
	mov	x1, x19
	bl	_be_clear_vf_tvt
	mov	x22, x0
	mov	w21, #0
	cbnz	w22, LBB0_7
LBB0_14:
	mov	w0, #0
	sxtw	x8, w19
	str	w21, [x24, x8, lsl #2]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_EPROTONOSUPPORT,4,2            ; @EPROTONOSUPPORT
	.comm	_VLAN_PRIO_SHIFT,4,2            ; @VLAN_PRIO_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VLAN %d config on VF %d failed : %#x\n"

	.no_dead_strip	_be_set_vf_vlan
.subsections_via_symbols
