	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_set_vf_vlan_filter
_hclge_set_vf_vlan_filter:              ## @hclge_set_vf_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
	subq	$40, %rsp
	.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, %r14d
	movl	%edx, %r15d
	movl	%esi, %r12d
	callq	_hclge_get_vport
	movq	8(%rax), %rbx
	movq	16(%rbx), %rax
	cmpl	$32, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	cmpl	%r12d, (%rbx)
	jle	LBB0_6
## %bb.4:
	cmpl	$7, %r14d
	jg	LBB0_6
## %bb.5:
	movq	_VLAN_N_VID@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	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:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movslq	%r12d, %rcx
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rdi
	movl	4(%rax,%rcx), %esi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%r15d, %edx
	callq	_hclge_get_port_base_vlan_state
	movq	_HNAE3_PORT_BASE_VLAN_NOCHANGE@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
	cmpl	(%rcx), %eax
	je	LBB0_14
## %bb.10:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r15d, -72(%rbp)
	movl	%r14d, -68(%rbp)
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_ntohs
	movl	%eax, -64(%rbp)
	testl	%r12d, %r12d
	je	LBB0_11
## %bb.12:
	movq	_HCLGE_VPORT_STATE_ALIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_13
## %bb.15:
	movq	8(%rbx), %rbx
	movq	%r13, %rdi
	callq	_ntohs
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r15d, %ecx
	movl	%r14d, %r8d
	movl	%eax, %r9d
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hclge_push_vf_port_base_vlan_info ## TAILCALL
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_14:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_EPROTONOSUPPORT@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_11:
	movq	_HNAE3_DOWN_CLIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_hclge_notify_client
	leaq	-72(%rbp), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_hclge_update_port_base_vlan_cfg
	movl	%eax, %r13d
	movq	_HNAE3_UP_CLIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_hclge_notify_client
	jmp	LBB0_14
LBB0_13:
	leaq	-72(%rbp), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_hclge_update_port_base_vlan_cfg
	movl	%eax, %r13d
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_VLAN_N_VID,4,2                 ## @VLAN_N_VID
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_EPROTONOSUPPORT,4,2            ## @EPROTONOSUPPORT
	.comm	_HNAE3_PORT_BASE_VLAN_NOCHANGE,4,2 ## @HNAE3_PORT_BASE_VLAN_NOCHANGE
	.comm	_HNAE3_DOWN_CLIENT,4,2          ## @HNAE3_DOWN_CLIENT
	.comm	_HNAE3_UP_CLIENT,4,2            ## @HNAE3_UP_CLIENT
	.comm	_HCLGE_VPORT_STATE_ALIVE,4,2    ## @HCLGE_VPORT_STATE_ALIVE
	.no_dead_strip	_hclge_set_vf_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_set_vf_vlan_filter
_hclge_set_vf_vlan_filter:              ; @hclge_set_vf_vlan_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	bl	_hclge_get_vport
	ldr	x19, [x0, #8]
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	cmp	w8, #32
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_9
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, w22
	b.le	LBB0_8
; %bb.3:
	cmp	w20, #7
	b.gt	LBB0_8
; %bb.4:
Lloh2:
	adrp	x8, _VLAN_N_VID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VLAN_N_VID@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w21
	b.le	LBB0_8
; %bb.5:
Lloh5:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_htons
	cmp	x0, x23
	b.ne	LBB0_11
; %bb.6:
	ldr	x8, [x19, #8]
	add	x25, x8, w22, sxtw #4
	ldr	w1, [x25, #4]
	mov	x0, x25
	mov	x2, x21
	bl	_hclge_get_port_base_vlan_state
Lloh8:
	adrp	x8, _HNAE3_PORT_BASE_VLAN_NOCHANGE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HNAE3_PORT_BASE_VLAN_NOCHANGE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.7:
	mov	w20, #0
	b	LBB0_10
LBB0_8:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_11:
Lloh13:
	adrp	x8, _EPROTONOSUPPORT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EPROTONOSUPPORT@GOTPAGEOFF]
	b	LBB0_9
LBB0_12:
	mov	x24, x0
	stp	w21, w20, [sp]
	mov	x0, x23
	bl	_ntohs
	str	w0, [sp, #8]
	cbz	w22, LBB0_15
; %bb.13:
Lloh15:
	adrp	x8, _HCLGE_VPORT_STATE_ALIVE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HCLGE_VPORT_STATE_ALIVE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x25
	bl	_test_bit
	cbz	w0, LBB0_16
; %bb.14:
	ldr	x19, [x19, #8]
	mov	x0, x23
	bl	_ntohs
	mov	x5, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	mov	x3, x21
	mov	x4, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_hclge_push_vf_port_base_vlan_info
LBB0_15:
Lloh18:
	adrp	x8, _HNAE3_DOWN_CLIENT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HNAE3_DOWN_CLIENT@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hclge_notify_client
	mov	x2, sp
	mov	x0, x25
	mov	x1, x24
	bl	_hclge_update_port_base_vlan_cfg
	mov	x20, x0
Lloh21:
	adrp	x8, _HNAE3_UP_CLIENT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HNAE3_UP_CLIENT@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hclge_notify_client
	b	LBB0_10
LBB0_16:
	mov	x2, sp
	mov	x0, x25
	mov	x1, x24
	bl	_hclge_update_port_base_vlan_cfg
	mov	x20, x0
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_VLAN_N_VID,4,2                 ; @VLAN_N_VID
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_EPROTONOSUPPORT,4,2            ; @EPROTONOSUPPORT
	.comm	_HNAE3_PORT_BASE_VLAN_NOCHANGE,4,2 ; @HNAE3_PORT_BASE_VLAN_NOCHANGE
	.comm	_HNAE3_DOWN_CLIENT,4,2          ; @HNAE3_DOWN_CLIENT
	.comm	_HNAE3_UP_CLIENT,4,2            ; @HNAE3_UP_CLIENT
	.comm	_HCLGE_VPORT_STATE_ALIVE,4,2    ; @HCLGE_VPORT_STATE_ALIVE
	.no_dead_strip	_hclge_set_vf_vlan_filter
.subsections_via_symbols
