	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_update_vlan_filter_entries
_hclge_update_vlan_filter_entries:      ## @hclge_update_vlan_filter_entries
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movq	_HNAE3_PORT_BASE_VLAN_ENABLE@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_1
## %bb.3:
	movq	%rdx, %r15
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_hclge_rm_vport_all_vlan_table
	movl	4(%r15), %edi
	callq	_htons
	movl	(%rbx), %edx
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%r8d, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hclge_set_vlan_filter_hw       ## TAILCALL
LBB0_1:
	movq	%rcx, %r12
	movl	4(%rcx), %edi
	callq	_htons
	movl	(%rbx), %edx
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$1, %r8d
	callq	_hclge_set_vlan_filter_hw
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hclge_add_vport_all_vlan_table ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HNAE3_PORT_BASE_VLAN_ENABLE,8,3 ## @HNAE3_PORT_BASE_VLAN_ENABLE
	.no_dead_strip	_hclge_update_vlan_filter_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_update_vlan_filter_entries
_hclge_update_vlan_filter_entries:      ; @hclge_update_vlan_filter_entries
	.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	x19, x0
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x8, _HNAE3_PORT_BASE_VLAN_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HNAE3_PORT_BASE_VLAN_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_2
; %bb.1:
	mov	x21, x2
	mov	x0, x19
	mov	w1, #0
	bl	_hclge_rm_vport_all_vlan_table
	ldr	w0, [x21, #4]
	bl	_htons
	mov	x1, x0
	ldr	w2, [x19]
	ldr	w3, [x21]
	mov	x0, x20
	mov	w4, #0
	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
	b	_hclge_set_vlan_filter_hw
LBB0_2:
	mov	x22, x3
	ldr	w0, [x3, #4]
	bl	_htons
	mov	x1, x0
	ldr	w2, [x19]
	ldr	w3, [x22]
	mov	x0, x20
	mov	w4, #1
	bl	_hclge_set_vlan_filter_hw
	cbz	w0, LBB0_4
; %bb.3:
	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
LBB0_4:
	mov	x0, 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
	b	_hclge_add_vport_all_vlan_table
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HNAE3_PORT_BASE_VLAN_ENABLE,8,3 ; @HNAE3_PORT_BASE_VLAN_ENABLE
	.no_dead_strip	_hclge_update_vlan_filter_entries
.subsections_via_symbols
