	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns_mac_set_multi              ## -- Begin function hns_mac_set_multi
	.p2align	4, 0x90
_hns_mac_set_multi:                     ## @hns_mac_set_multi
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movq	%r15, %rdi
	callq	_HNS_DSAF_IS_DEBUG
	xorl	%ecx, %ecx
	testq	%r14, %r14
	je	LBB0_7
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	$0, -56(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -60(%rbp)
	movl	%r13d, -64(%rbp)
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.4:
	callq	_hns_dsaf_add_mac_mc_port
	jmp	LBB0_5
LBB0_3:
	callq	_hns_dsaf_del_mac_mc_port
LBB0_5:
	movl	%eax, %r12d
	xorl	%ecx, %ecx
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	4(%r15), %edi
	movq	8(%rbx), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %r8d
	callq	_dev_err
	movl	%r12d, %ecx
LBB0_7:
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"set mac mc port failed, %s mac%d ret = %#x!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns_mac_set_multi              ; -- Begin function hns_mac_set_multi
	.p2align	2
_hns_mac_set_multi:                     ; @hns_mac_set_multi
	.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
	mov	x22, x3
	mov	x24, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x20, [x0, #8]
	mov	x0, x20
	bl	_HNS_DSAF_IS_DEBUG
	mov	w21, #0
	cbz	x24, LBB0_5
; %bb.1:
	cbnz	w0, LBB0_5
; %bb.2:
	mov	x1, x24
	mov	w2, #4
	bl	_memcpy
	str	xzr, [sp, #16]
	ldr	w8, [x19]
	stp	w23, w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
	cbz	w22, LBB0_6
; %bb.3:
	bl	_hns_dsaf_add_mac_mc_port
	mov	x21, x0
	cbz	w0, LBB0_5
LBB0_4:
	ldr	w0, [x20, #4]
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
	ldr	w3, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x4, x21
	bl	_dev_err
LBB0_5:
	mov	x0, x21
	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_6:
	bl	_hns_dsaf_del_mac_mc_port
	mov	x21, x0
	cbnz	w0, LBB0_4
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"set mac mc port failed, %s mac%d ret = %#x!\n"

.subsections_via_symbols
