	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hclge_rm_mc_addr_common        ## -- Begin function hclge_rm_mc_addr_common
	.p2align	4, 0x90
_hclge_rm_mc_addr_common:               ## @hclge_rm_mc_addr_common
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	8(%rdi), %r15
	movq	%rsi, %rdi
	callq	_is_multicast_ether_addr
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	-64(%rbp), %r12
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	-64(%rbp), %edi
	movq	_HCLGE_MAC_VLAN_BIT0_EN_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_hnae3_set_bit
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_hclge_prepare_mac_addr
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$1, %ecx
	callq	_hclge_lookup_mac_vlan_tbl
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movl	(%r14), %esi
	leaq	-56(%rbp), %rdi
	movl	$1, %edx
	callq	_hclge_update_desc_vfid
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	leaq	-56(%rbp), %rdi
	callq	_hclge_is_all_function_id_zero
	leaq	-64(%rbp), %rsi
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_hclge_remove_mac_vlan_tbl
	jmp	LBB0_7
LBB0_1:
	movq	(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_dev_dbg
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%r15d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	callq	_hclge_add_mac_vlan_tbl
LBB0_7:
	movl	%eax, %r15d
	jmp	LBB0_8
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Remove mc mac err! invalid mac:%pM.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_HCLGE_MAC_VLAN_BIT0_EN_B,4,2   ## @HCLGE_MAC_VLAN_BIT0_EN_B
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hclge_rm_mc_addr_common        ; -- Begin function hclge_rm_mc_addr_common
	.p2align	2
_hclge_rm_mc_addr_common:               ; @hclge_rm_mc_addr_common
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x21, [x0, #8]
	mov	x0, x1
	bl	_is_multicast_ether_addr
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [sp]
Lloh3:
	adrp	x8, _HCLGE_MAC_VLAN_BIT0_EN_B@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HCLGE_MAC_VLAN_BIT0_EN_B@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_hnae3_set_bit
	mov	x0, sp
	mov	x1, x20
	mov	w2, #1
	bl	_hclge_prepare_mac_addr
	mov	x1, sp
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #1
	bl	_hclge_lookup_mac_vlan_tbl
	mov	x8, x0
	mov	w0, #0
	cbnz	w8, LBB0_6
; %bb.2:
	ldr	w1, [x19]
	add	x0, sp, #8
	mov	w2, #1
	bl	_hclge_update_desc_vfid
	cbnz	w0, LBB0_6
; %bb.3:
	add	x0, sp, #8
	bl	_hclge_is_all_function_id_zero
	mov	x1, sp
	cbz	x0, LBB0_8
; %bb.4:
	mov	x0, x19
	bl	_hclge_remove_mac_vlan_tbl
	b	LBB0_6
LBB0_5:
	ldr	x0, [x21]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_dbg
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldr	x8, [sp, #24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	add	x2, sp, #8
	mov	x0, x19
	bl	_hclge_add_mac_vlan_tbl
	b	LBB0_6
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Remove mc mac err! invalid mac:%pM.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_HCLGE_MAC_VLAN_BIT0_EN_B,4,2   ; @HCLGE_MAC_VLAN_BIT0_EN_B
.subsections_via_symbols
