	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hclge_set_vlan_filter          ## -- Begin function hclge_set_vlan_filter
	.p2align	4, 0x90
_hclge_set_vlan_filter:                 ## @hclge_set_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	%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
	movl	%ecx, %r15d
	movl	%edx, %r14d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	callq	_hclge_get_vport
	movq	%rax, %r13
	movq	8(%rax), %rbx
	movq	_HCLGE_STATE_RST_HANDLING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.1:
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r13), %esi
	movl	%r14d, %edi
	callq	_set_bit
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_3:
	movq	(%r12), %rax
	movq	_HNAE3_PORT_BASE_VLAN_DISABLE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movl	4(%r13), %edx
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	callq	_hclge_set_vlan_filter_hw
	testl	%eax, %eax
	je	LBB0_5
## %bb.9:
	movl	%eax, %ebx
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.10:
	movl	(%r13), %esi
	movl	%r14d, %edi
	callq	_set_bit
	jmp	LBB0_11
LBB0_5:
	movl	$1, %edx
LBB0_6:
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.7:
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_hclge_rm_vport_vlan_table
	jmp	LBB0_11
LBB0_8:
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_hclge_add_vport_vlan_table
	xorl	%ebx, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_STATE_RST_HANDLING,4,2   ## @HCLGE_STATE_RST_HANDLING
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_HNAE3_PORT_BASE_VLAN_DISABLE,8,3 ## @HNAE3_PORT_BASE_VLAN_DISABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hclge_set_vlan_filter          ; -- Begin function hclge_set_vlan_filter
	.p2align	2
_hclge_set_vlan_filter:                 ; @hclge_set_vlan_filter
	.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	x21, x3
	mov	x19, x2
	mov	x22, x1
	mov	x24, x0
	bl	_hclge_get_vport
	mov	x20, x0
	ldr	x23, [x0, #8]
Lloh0:
	adrp	x8, _HCLGE_STATE_RST_HANDLING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HCLGE_STATE_RST_HANDLING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbz	w21, LBB0_3
; %bb.1:
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_set_bit
Lloh3:
	adrp	x8, _EBUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_13
LBB0_3:
	ldr	x8, [x24]
Lloh6:
	adrp	x9, _HNAE3_PORT_BASE_VLAN_DISABLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HNAE3_PORT_BASE_VLAN_DISABLE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
	ldr	w2, [x20, #4]
	mov	x0, x23
	mov	x1, x22
	mov	x3, x19
	mov	x4, x21
	bl	_hclge_set_vlan_filter_hw
	cbz	w0, LBB0_8
; %bb.5:
	mov	x22, x0
	cbz	w21, LBB0_13
; %bb.6:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_set_bit
	b	LBB0_13
LBB0_7:
	mov	w2, #0
	b	LBB0_9
LBB0_8:
	mov	w2, #1
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	cbz	w21, LBB0_11
; %bb.10:
	mov	w2, #0
	bl	_hclge_rm_vport_vlan_table
	b	LBB0_12
LBB0_11:
	bl	_hclge_add_vport_vlan_table
LBB0_12:
	mov	w22, #0
LBB0_13:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_STATE_RST_HANDLING,4,2   ; @HCLGE_STATE_RST_HANDLING
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_HNAE3_PORT_BASE_VLAN_DISABLE,8,3 ; @HNAE3_PORT_BASE_VLAN_DISABLE
.subsections_via_symbols
