	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_enable_vlan_filter
_hclge_enable_vlan_filter:              ## @hclge_enable_vlan_filter
	.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, %r15d
	movq	%rdi, %r14
	callq	_hclge_get_vport
	movq	(%rax), %rbx
	movq	(%rbx), %rax
	cmpl	$33, (%rax)
	movq	_HCLGE_FILTER_TYPE_VF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jl	LBB0_1
## %bb.2:
	movq	_HCLGE_FILTER_FE_EGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	callq	_hclge_set_vlan_filter_ctrl
	movq	_HCLGE_FILTER_TYPE_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HCLGE_FILTER_FE_INGRESS@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_HCLGE_FILTER_FE_EGRESS_V1_B@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	callq	_hclge_set_vlan_filter_ctrl
	movq	_HNAE3_VLAN_FLTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r15d, %r15d
	je	LBB0_5
## %bb.4:
	orl	%eax, (%r14)
	jmp	LBB0_6
LBB0_5:
	notl	%eax
	andl	%eax, (%r14)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_FILTER_TYPE_VF,4,2       ## @HCLGE_FILTER_TYPE_VF
	.comm	_HCLGE_FILTER_FE_EGRESS,4,2     ## @HCLGE_FILTER_FE_EGRESS
	.comm	_HCLGE_FILTER_TYPE_PORT,4,2     ## @HCLGE_FILTER_TYPE_PORT
	.comm	_HCLGE_FILTER_FE_INGRESS,4,2    ## @HCLGE_FILTER_FE_INGRESS
	.comm	_HCLGE_FILTER_FE_EGRESS_V1_B,4,2 ## @HCLGE_FILTER_FE_EGRESS_V1_B
	.comm	_HNAE3_VLAN_FLTR,4,2            ## @HNAE3_VLAN_FLTR
	.no_dead_strip	_hclge_enable_vlan_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_enable_vlan_filter
_hclge_enable_vlan_filter:              ; @hclge_enable_vlan_filter
	.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	x19, x0
	bl	_hclge_get_vport
	ldr	x21, [x0]
	ldr	x8, [x21]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _HCLGE_FILTER_TYPE_VF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HCLGE_FILTER_TYPE_VF@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	cmp	w8, #33
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _HCLGE_FILTER_FE_EGRESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HCLGE_FILTER_FE_EGRESS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x3, x20
	mov	w4, #0
	bl	_hclge_set_vlan_filter_ctrl
Lloh6:
	adrp	x8, _HCLGE_FILTER_TYPE_PORT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HCLGE_FILTER_TYPE_PORT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _HCLGE_FILTER_FE_INGRESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HCLGE_FILTER_FE_INGRESS@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x8, _HCLGE_FILTER_FE_EGRESS_V1_B@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HCLGE_FILTER_FE_EGRESS_V1_B@GOTPAGEOFF]
LBB0_3:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x3, x20
	mov	w4, #0
	bl	_hclge_set_vlan_filter_ctrl
Lloh13:
	adrp	x8, _HNAE3_VLAN_FLTR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HNAE3_VLAN_FLTR@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cbz	w20, LBB0_5
; %bb.4:
	ldr	w9, [x19]
	orr	w8, w9, w8
	b	LBB0_6
LBB0_5:
	ldr	w9, [x19]
	bic	w8, w9, w8
LBB0_6:
	str	w8, [x19]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_FILTER_TYPE_VF,4,2       ; @HCLGE_FILTER_TYPE_VF
	.comm	_HCLGE_FILTER_FE_EGRESS,4,2     ; @HCLGE_FILTER_FE_EGRESS
	.comm	_HCLGE_FILTER_TYPE_PORT,4,2     ; @HCLGE_FILTER_TYPE_PORT
	.comm	_HCLGE_FILTER_FE_INGRESS,4,2    ; @HCLGE_FILTER_FE_INGRESS
	.comm	_HCLGE_FILTER_FE_EGRESS_V1_B,4,2 ; @HCLGE_FILTER_FE_EGRESS_V1_B
	.comm	_HNAE3_VLAN_FLTR,4,2            ; @HNAE3_VLAN_FLTR
	.no_dead_strip	_hclge_enable_vlan_filter
.subsections_via_symbols
