	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_set_vf_mc_mac_addr
_hclge_set_vf_mc_mac_addr:              ## @hclge_set_vf_mc_mac_addr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rsi), %rbx
	movl	4(%rbx), %edx
	addq	$8, %rbx
	movq	_HCLGE_MBX_MAC_VLAN_MC_ADD@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_3
## %bb.1:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_hclge_add_mc_addr_common
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movq	_HCLGE_MAC_ADDR_MC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_hclge_add_vport_mac_table
	xorl	%r13d, %r13d
	testl	%r15d, %r15d
	jne	LBB0_8
	jmp	LBB0_7
LBB0_3:
	movq	_HCLGE_MBX_MAC_VLAN_MC_REMOVE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_10
## %bb.4:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_hclge_rm_mc_addr_common
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_5
LBB0_6:
	testl	%r15d, %r15d
	je	LBB0_7
LBB0_8:
	leaq	-44(%rbp), %rcx
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	xorl	%r8d, %r8d
	callq	_hclge_gen_resp_to_vf
	jmp	LBB0_9
LBB0_10:
	movq	(%r12), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_5:
	movq	_HCLGE_MAC_ADDR_MC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_hclge_rm_vport_mac_table
	testl	%r15d, %r15d
	jne	LBB0_8
LBB0_7:
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_MBX_MAC_VLAN_MC_ADD,4,2  ## @HCLGE_MBX_MAC_VLAN_MC_ADD
	.comm	_HCLGE_MAC_ADDR_MC,4,2          ## @HCLGE_MAC_ADDR_MC
	.comm	_HCLGE_MBX_MAC_VLAN_MC_REMOVE,4,2 ## @HCLGE_MBX_MAC_VLAN_MC_REMOVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to set mcast mac addr, unknown subcode %d\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_hclge_set_vf_mc_mac_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_set_vf_mc_mac_addr
_hclge_set_vf_mc_mac_addr:              ; @hclge_set_vf_mc_mac_addr
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1]
	add	x22, x8, #8
	ldr	w2, [x8, #4]
Lloh0:
	adrp	x8, _HCLGE_MBX_MAC_VLAN_MC_ADD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HCLGE_MBX_MAC_VLAN_MC_ADD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w2, w8
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x20
	mov	x1, x22
	bl	_hclge_add_mc_addr_common
	mov	x2, x0
	cbnz	w0, LBB0_7
; %bb.2:
Lloh3:
	adrp	x8, _HCLGE_MAC_ADDR_MC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HCLGE_MAC_ADDR_MC@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	bl	_hclge_add_vport_mac_table
	b	LBB0_6
LBB0_3:
Lloh6:
	adrp	x8, _HCLGE_MBX_MAC_VLAN_MC_REMOVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HCLGE_MBX_MAC_VLAN_MC_REMOVE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w2, w8
	b.ne	LBB0_10
; %bb.4:
	mov	x0, x20
	mov	x1, x22
	bl	_hclge_rm_mc_addr_common
	mov	x2, x0
	cbnz	w0, LBB0_7
; %bb.5:
Lloh9:
	adrp	x8, _HCLGE_MAC_ADDR_MC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HCLGE_MAC_ADDR_MC@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x22
	bl	_hclge_rm_vport_mac_table
LBB0_6:
	mov	w2, #0
LBB0_7:
	cbz	w21, LBB0_9
; %bb.8:
	add	x3, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	w4, #0
	bl	_hclge_gen_resp_to_vf
LBB0_9:
	mov	w0, #0
	b	LBB0_11
LBB0_10:
	ldr	x8, [x20]
	ldr	x0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh14:
	adrp	x8, _EIO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_MBX_MAC_VLAN_MC_ADD,4,2  ; @HCLGE_MBX_MAC_VLAN_MC_ADD
	.comm	_HCLGE_MAC_ADDR_MC,4,2          ; @HCLGE_MAC_ADDR_MC
	.comm	_HCLGE_MBX_MAC_VLAN_MC_REMOVE,4,2 ; @HCLGE_MBX_MAC_VLAN_MC_REMOVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to set mcast mac addr, unknown subcode %d\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_hclge_set_vf_mc_mac_addr
.subsections_via_symbols
