	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns_mac_vm_config_bc_en        ## -- Begin function hns_mac_vm_config_bc_en
	.p2align	4, 0x90
_hns_mac_vm_config_bc_en:               ## @hns_mac_vm_config_bc_en
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_HNAE_PORT_DEBUG@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.1:
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	24(%rdi), %rdi
	movq	16(%rbx), %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_HNS_DSAF_IS_DEBUG
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	callq	_eth_broadcast_addr
	movl	(%r14,%r12,4), %eax
	movl	%eax, -64(%rbp)
	movl	8(%rbx), %eax
	movl	%eax, -68(%rbp)
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_hns_mac_get_inner_port_num
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movl	-44(%rbp), %eax
	movl	%eax, -72(%rbp)
	leaq	-72(%rbp), %rsi
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.5:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_hns_dsaf_add_mac_mc_port
	jmp	LBB0_6
LBB0_4:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_hns_dsaf_del_mac_mc_port
LBB0_6:
	movl	%eax, %r13d
LBB0_7:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HNAE_PORT_DEBUG,8,3            ## @HNAE_PORT_DEBUG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns_mac_vm_config_bc_en        ; -- Begin function hns_mac_vm_config_bc_en
	.p2align	2
_hns_mac_vm_config_bc_en:               ; @hns_mac_vm_config_bc_en
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _HNAE_PORT_DEBUG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HNAE_PORT_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldp	x23, x19, [x0, #16]
	mov	x0, x19
	bl	_HNS_DSAF_IS_DEBUG
	cbz	w0, LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
	bl	_eth_broadcast_addr
	ldr	w8, [x23, x21, lsl #2]
	ldr	w9, [x22, #8]
	stp	w9, w8, [sp, #12]
	add	x2, sp, #28
	mov	x0, x22
	mov	x1, x21
	bl	_hns_mac_get_inner_port_num
	cbnz	w0, LBB0_3
; %bb.5:
	ldr	w8, [sp, #28]
	str	w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	cbz	w20, LBB0_7
; %bb.6:
	bl	_hns_dsaf_add_mac_mc_port
	b	LBB0_3
LBB0_7:
	bl	_hns_dsaf_del_mac_mc_port
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HNAE_PORT_DEBUG,8,3            ; @HNAE_PORT_DEBUG
.subsections_via_symbols
