	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_set_vf_vlan_cfg
_hclge_set_vf_vlan_cfg:                 ## @hclge_set_vf_vlan_cfg
	.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
	movq	%rdi, %r14
	movq	(%rsi), %rdx
	movq	(%rdx), %rax
	movq	_HCLGE_MBX_VLAN_FILTER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.6:
	addq	$4, %r14
	xorl	%ebx, %ebx
	cmpl	$0, 8(%rdx)
	setne	%bl
	movl	12(%rdx), %edi
	movl	16(%rdx), %r15d
	callq	_cpu_to_be16
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hclge_set_vlan_filter          ## TAILCALL
LBB0_1:
	movq	_HCLGE_MBX_VLAN_RX_OFF_CFG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.7:
	addq	$4, %r14
	xorl	%esi, %esi
	cmpl	$0, 8(%rdx)
	setne	%sil
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hclge_en_hw_strip_rxvtag       ## TAILCALL
LBB0_2:
	movq	8(%rdx), %rcx
	movq	_HCLGE_MBX_PORT_BASE_VLAN_CFG@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_3
## %bb.8:
	movl	16(%rdx), %esi
	addq	$32, %rdx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hclge_update_port_base_vlan_cfg ## TAILCALL
LBB0_3:
	movq	_HCLGE_MBX_GET_PORT_BASE_VLAN_STATE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.4:
	movl	(%r14), %eax
	movl	%eax, -28(%rbp)
	leaq	-28(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$4, %r8d
	callq	_hclge_gen_resp_to_vf
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_MBX_VLAN_FILTER,8,3      ## @HCLGE_MBX_VLAN_FILTER
	.comm	_HCLGE_MBX_VLAN_RX_OFF_CFG,8,3  ## @HCLGE_MBX_VLAN_RX_OFF_CFG
	.comm	_HCLGE_MBX_PORT_BASE_VLAN_CFG,8,3 ## @HCLGE_MBX_PORT_BASE_VLAN_CFG
	.comm	_HCLGE_MBX_GET_PORT_BASE_VLAN_STATE,8,3 ## @HCLGE_MBX_GET_PORT_BASE_VLAN_STATE
	.no_dead_strip	_hclge_set_vf_vlan_cfg
.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_cfg
_hclge_set_vf_vlan_cfg:                 ; @hclge_set_vf_vlan_cfg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x8, [x1]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _HCLGE_MBX_VLAN_FILTER@GOTPAGE
Lloh1:
	ldr	x10, [x10, _HCLGE_MBX_VLAN_FILTER@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	add	x19, x0, #4
	ldp	w9, w0, [x8, #8]
	cmp	w9, #0
	cset	w20, ne
	ldr	w21, [x8, #16]
	bl	_cpu_to_be16
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	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
	add	sp, sp, #64
	b	_hclge_set_vlan_filter
LBB0_2:
Lloh3:
	adrp	x10, _HCLGE_MBX_VLAN_RX_OFF_CFG@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HCLGE_MBX_VLAN_RX_OFF_CFG@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
	add	x0, x0, #4
	ldr	w8, [x8, #8]
	cmp	w8, #0
	cset	w1, ne
	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
	add	sp, sp, #64
	b	_hclge_en_hw_strip_rxvtag
LBB0_4:
	ldr	x9, [x8, #8]
Lloh6:
	adrp	x10, _HCLGE_MBX_PORT_BASE_VLAN_CFG@GOTPAGE
Lloh7:
	ldr	x10, [x10, _HCLGE_MBX_PORT_BASE_VLAN_CFG@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.5:
	add	x2, x8, #32
	ldr	w1, [x8, #16]
	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
	add	sp, sp, #64
	b	_hclge_update_port_base_vlan_cfg
LBB0_6:
Lloh9:
	adrp	x8, _HCLGE_MBX_GET_PORT_BASE_VLAN_STATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HCLGE_MBX_GET_PORT_BASE_VLAN_STATE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldr	w8, [x0]
	str	w8, [sp, #12]
	add	x3, sp, #12
	mov	w2, #0
	mov	w4, #4
	bl	_hclge_gen_resp_to_vf
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_MBX_VLAN_FILTER,8,3      ; @HCLGE_MBX_VLAN_FILTER
	.comm	_HCLGE_MBX_VLAN_RX_OFF_CFG,8,3  ; @HCLGE_MBX_VLAN_RX_OFF_CFG
	.comm	_HCLGE_MBX_PORT_BASE_VLAN_CFG,8,3 ; @HCLGE_MBX_PORT_BASE_VLAN_CFG
	.comm	_HCLGE_MBX_GET_PORT_BASE_VLAN_STATE,8,3 ; @HCLGE_MBX_GET_PORT_BASE_VLAN_STATE
	.no_dead_strip	_hclge_set_vf_vlan_cfg
.subsections_via_symbols
