	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function hclge_vlan_offload_cfg
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_hclge_vlan_offload_cfg:                ## @hclge_vlan_offload_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_HNAE3_PORT_BASE_VLAN_DISABLE@GOTPCREL(%rip), %r8
	xorl	%r9d, %r9d
	xorl	%edi, %edi
	xorl	%eax, %eax
	cmpq	%rsi, (%r8)
	setne	%dil
	sete	%al
	movl	8(%rbx), %esi
	movl	$0, %ecx
	cmovneq	%rdx, %rcx
	cmovnel	%esi, %r9d
	movl	$1, %edx
	cmovel	%esi, %edx
	movl	%eax, 24(%rbx)
	movl	%edi, 28(%rbx)
	movq	%rcx, 56(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,0]
	movups	%xmm0, 32(%rbx)
	movq	$0, 48(%rbx)
	movl	%r9d, (%rbx)
	movl	%edx, 4(%rbx)
	movq	$0, 12(%rbx)
	movq	%rbx, %rdi
	callq	_hclge_set_vlan_tx_offload_cfg
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_hclge_set_vlan_rx_offload_cfg  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HNAE3_PORT_BASE_VLAN_DISABLE,8,3 ## @HNAE3_PORT_BASE_VLAN_DISABLE
	.no_dead_strip	_hclge_vlan_offload_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function hclge_vlan_offload_cfg
lCPI0_0:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_hclge_vlan_offload_cfg:                ; @hclge_vlan_offload_cfg
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _HNAE3_PORT_BASE_VLAN_DISABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HNAE3_PORT_BASE_VLAN_DISABLE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x0, #8]
	cmp	x8, x1
	csel	x8, xzr, x2, eq
	cset	w10, ne
	cset	w11, eq
	csel	w12, wzr, w9, eq
	csinc	w9, w9, wzr, eq
	stp	w11, w10, [x0, #24]
Lloh3:
	adrp	x10, lCPI0_0@PAGE
Lloh4:
	ldr	q0, [x10, lCPI0_0@PAGEOFF]
	str	q0, [x0, #32]
	stp	xzr, x8, [x0, #48]
	stp	w12, w9, [x0]
	stp	wzr, wzr, [x0, #12]
	bl	_hclge_set_vlan_tx_offload_cfg
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hclge_set_vlan_rx_offload_cfg
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HNAE3_PORT_BASE_VLAN_DISABLE,8,3 ; @HNAE3_PORT_BASE_VLAN_DISABLE
	.no_dead_strip	_hclge_vlan_offload_cfg
.subsections_via_symbols
