	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hclge_rm_uc_addr_common        ## -- Begin function hclge_rm_uc_addr_common
	.p2align	4, 0x90
_hclge_rm_uc_addr_common:               ## @hclge_rm_uc_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movq	%rsi, %rdi
	callq	_is_zero_ether_addr
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_is_broadcast_ether_addr
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_is_multicast_ether_addr
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_dev_dbg
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	-32(%rbp), %edi
	movq	_HCLGE_MAC_VLAN_BIT0_EN_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_hnae3_set_bit
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_hclge_prepare_mac_addr
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_hclge_remove_mac_vlan_tbl
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_hclge_update_umv_space
	xorl	%eax, %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Remove 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_uc_addr_common        ; -- Begin function hclge_rm_uc_addr_common
	.p2align	2
_hclge_rm_uc_addr_common:               ; @hclge_rm_uc_addr_common
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x0]
	mov	x0, x1
	bl	_is_zero_ether_addr
	cbnz	x0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_is_broadcast_ether_addr
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_is_multicast_ether_addr
	cbz	x0, LBB0_5
LBB0_3:
	ldr	x0, [x21]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_dbg
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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
LBB0_5:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [sp, #8]
Lloh5:
	adrp	x8, _HCLGE_MAC_VLAN_BIT0_EN_B@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HCLGE_MAC_VLAN_BIT0_EN_B@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_hnae3_set_bit
	add	x0, sp, #8
	mov	x1, x20
	mov	w2, #0
	bl	_hclge_prepare_mac_addr
	add	x1, sp, #8
	mov	x0, x19
	bl	_hclge_remove_mac_vlan_tbl
	cbnz	w0, LBB0_4
; %bb.6:
	mov	x0, x19
	mov	w1, #1
	bl	_hclge_update_umv_space
	mov	w0, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Remove 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
