	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enetc_pf_set_vf_vlan
_enetc_pf_set_vf_vlan:                  ## @enetc_pf_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, %r12
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%esi, %r13d
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	(%rax), %rdi
	callq	_enetc_si_priv
	movq	(%rbx), %rcx
	movq	_ENETC_ERR_VLAN_ISOL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	cmpl	%r13d, (%rax)
	jle	LBB0_4
## %bb.5:
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%r12, %rax
	jne	LBB0_6
## %bb.7:
	movq	(%rbx), %rdi
	addq	$4, %rdi
	incl	%r13d
	movl	%r13d, %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_enetc_set_isol_vlan
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_6:
	movq	_EPROTONOSUPPORT@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENETC_ERR_VLAN_ISOL,4,2        ## @ENETC_ERR_VLAN_ISOL
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_EPROTONOSUPPORT,4,2            ## @EPROTONOSUPPORT
	.no_dead_strip	_enetc_pf_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 enetc_pf_set_vf_vlan
_enetc_pf_set_vf_vlan:                  ; @enetc_pf_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	x22, x4
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	bl	_netdev_priv
	mov	x23, x0
	ldr	x0, [x0]
	bl	_enetc_si_priv
	ldr	x8, [x23]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _ENETC_ERR_VLAN_ISOL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ENETC_ERR_VLAN_ISOL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:
	ldr	w8, [x0]
	cmp	w8, w21
	b.le	LBB0_5
; %bb.3:
Lloh5:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_htons
	cmp	x0, x22
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [x23]
	add	x0, x8, #4
	add	w1, w21, #1
	mov	x2, x20
	mov	x3, x19
	bl	_enetc_set_isol_vlan
	mov	w0, #0
	b	LBB0_8
LBB0_5:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh10:
	adrp	x8, _EPROTONOSUPPORT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EPROTONOSUPPORT@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENETC_ERR_VLAN_ISOL,4,2        ; @ENETC_ERR_VLAN_ISOL
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_EPROTONOSUPPORT,4,2            ; @EPROTONOSUPPORT
	.no_dead_strip	_enetc_pf_set_vf_vlan
.subsections_via_symbols
