	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_init_vlan_config
_hclge_init_vlan_config:                ## @hclge_init_vlan_config
	.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
	movq	%rdi, %r13
	movq	8(%rdi), %r15
	movq	64(%rdi), %rax
	cmpl	$33, (%rax)
	jl	LBB0_6
## %bb.1:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r13)
	jle	LBB0_13
## %bb.2:
	movq	_HCLGE_FILTER_TYPE_VF@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_HCLGE_FILTER_FE_EGRESS@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %r8d
	movq	%r13, %rdi
	movl	$1, %ecx
	callq	_hclge_set_vlan_filter_ctrl
	testl	%eax, %eax
	jne	LBB0_14
## %bb.3:
	movl	$24, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	incq	%r14
	movslq	(%r13), %rax
	cmpq	%rax, %r14
	jge	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r13), %rax
	movl	(%r15), %esi
	movl	(%r12), %edx
	movl	(%rax,%rbx), %r8d
	addq	$16, %rbx
	movq	%r13, %rdi
	movl	$1, %ecx
	callq	_hclge_set_vlan_filter_ctrl
	testl	%eax, %eax
	je	LBB0_4
	jmp	LBB0_14
LBB0_6:
	movq	_HCLGE_FILTER_TYPE_VF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HCLGE_FILTER_FE_EGRESS_V1_B@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_hclge_set_vlan_filter_ctrl
	testl	%eax, %eax
	jne	LBB0_14
	jmp	LBB0_7
LBB0_13:
	movq	_HCLGE_FILTER_TYPE_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HCLGE_FILTER_FE_INGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_hclge_set_vlan_filter_ctrl
	testl	%eax, %eax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_14
LBB0_7:
	addq	$12, %r15
	movq	_HNAE3_VLAN_FLTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movq	$33024, 56(%r13)                ## imm = 0x8100
	movq	$33024, 48(%r13)                ## imm = 0x8100
	movq	$33024, 40(%r13)                ## imm = 0x8100
	movq	$33024, 32(%r13)                ## imm = 0x8100
	movq	$33024, 24(%r13)                ## imm = 0x8100
	movq	$33024, 16(%r13)                ## imm = 0x8100
	movq	%r13, %rdi
	callq	_hclge_set_vlan_protocol_type
	testl	%eax, %eax
	je	LBB0_8
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	cmpl	$0, (%r13)
	jle	LBB0_12
## %bb.9:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	leaq	(%rax,%rbx), %rdi
	movl	(%rax,%rbx), %esi
	movl	4(%rax,%rbx), %edx
	callq	_hclge_vlan_offload_cfg
	testl	%eax, %eax
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_11 Depth=1
	incq	%r14
	movslq	(%r13), %rax
	addq	$16, %rbx
	cmpq	%rax, %r14
	jl	LBB0_11
LBB0_12:
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hclge_set_vlan_filter          ## TAILCALL
	.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
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_HCLGE_DEF_VLAN_TYPE,8,3        ## @HCLGE_DEF_VLAN_TYPE
	.no_dead_strip	_hclge_init_vlan_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_init_vlan_config
_hclge_init_vlan_config:                ; @hclge_init_vlan_config
	.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	x19, x0
	ldr	x20, [x0, #8]
	ldr	x8, [x0, #64]
	ldr	w8, [x8]
	cmp	w8, #33
	b.lt	LBB0_6
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
Lloh0:
	adrp	x21, _HCLGE_FILTER_TYPE_VF@GOTPAGE
Lloh1:
	ldr	x21, [x21, _HCLGE_FILTER_TYPE_VF@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _HCLGE_FILTER_FE_EGRESS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _HCLGE_FILTER_FE_EGRESS@GOTPAGEOFF]
	ldr	w2, [x22]
	ldr	w4, [x20, #8]
	mov	x0, x19
	mov	w3, #1
	bl	_hclge_set_vlan_filter_ctrl
	cbnz	w0, LBB0_10
; %bb.3:
	mov	x23, #0
	mov	w8, #24
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x23, x23, #1
	ldrsw	x9, [x19]
	cmp	x23, x9
	b.ge	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x8, #16
	ldr	x9, [x19, #8]
	ldr	w1, [x21]
	ldr	w2, [x22]
	ldr	w4, [x9, x8]
	mov	x0, x19
	mov	w3, #1
	bl	_hclge_set_vlan_filter_ctrl
	mov	x8, x24
	cbz	w0, LBB0_4
	b	LBB0_10
LBB0_6:
Lloh4:
	adrp	x8, _HCLGE_FILTER_TYPE_VF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HCLGE_FILTER_TYPE_VF@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _HCLGE_FILTER_FE_EGRESS_V1_B@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HCLGE_FILTER_FE_EGRESS_V1_B@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh9:
	adrp	x8, _HCLGE_FILTER_TYPE_PORT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HCLGE_FILTER_TYPE_PORT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _HCLGE_FILTER_FE_INGRESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HCLGE_FILTER_FE_INGRESS@GOTPAGEOFF]
LBB0_8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	mov	w4, #0
	bl	_hclge_set_vlan_filter_ctrl
	cbnz	w0, LBB0_10
; %bb.9:
Lloh14:
	adrp	x8, _HNAE3_VLAN_FLTR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HNAE3_VLAN_FLTR@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x20, #12]!
	orr	w8, w9, w8
	str	w8, [x20]
	mov	w8, #33024
	stp	x8, x8, [x19, #48]
	stp	x8, x8, [x19, #32]
	stp	x8, x8, [x19, #16]
	mov	x0, x19
	bl	_hclge_set_vlan_protocol_type
	cbz	w0, LBB0_11
LBB0_10:
	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
LBB0_11:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.12:
	mov	x21, #0
	mov	x22, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x21
	ldp	w1, w2, [x0]
	bl	_hclge_vlan_offload_cfg
	cbnz	w0, LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19]
	add	x21, x21, #16
	cmp	x22, x8
	b.lt	LBB0_13
LBB0_15:
Lloh17:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_htons
	mov	x1, x0
	mov	x0, x20
	mov	w2, #0
	mov	w3, #0
	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
	b	_hclge_set_vlan_filter
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.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
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_HCLGE_DEF_VLAN_TYPE,8,3        ; @HCLGE_DEF_VLAN_TYPE
	.no_dead_strip	_hclge_init_vlan_config
.subsections_via_symbols
