	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __nicvf_set_rx_mode_task
___nicvf_set_rx_mode_task:              ## @__nicvf_set_rx_mode_task
	.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	%rdx, %r14
	movq	%rsi, %r13
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	movq	_NIC_MBOX_MSG_RESET_XCAST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	leaq	-80(%rbp), %rsi
	movq	%rdx, %rdi
	callq	_nicvf_send_msg_to_pf
	testq	%rax, %rax
	js	LBB0_9
## %bb.1:
	movq	_BGX_XCAST_MCAST_FILTER@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_NIC_MBOX_MSG_ADD_MCAST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	movq	$0, -64(%rbp)
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	callq	_nicvf_send_msg_to_pf
	testq	%rax, %rax
	js	LBB0_9
LBB0_3:
	testq	%r13, %r13
	je	LBB0_8
## %bb.4:
	cmpl	$0, (%r13)
	jle	LBB0_8
## %bb.5:
	xorl	%ebx, %ebx
	movq	_NIC_MBOX_MSG_ADD_MCAST@GOTPCREL(%rip), %r15
	leaq	-80(%rbp), %r12
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	%rax, -72(%rbp)
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rax
	movq	%rax, -64(%rbp)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_nicvf_send_msg_to_pf
	testq	%rax, %rax
	js	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_7
LBB0_8:
	movq	_NIC_MBOX_MSG_SET_XCAST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -80(%rbp)
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	callq	_nicvf_send_msg_to_pf
LBB0_9:
	movq	%r13, %rdi
	callq	_kfree
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIC_MBOX_MSG_RESET_XCAST,8,3   ## @NIC_MBOX_MSG_RESET_XCAST
	.comm	_BGX_XCAST_MCAST_FILTER,4,2     ## @BGX_XCAST_MCAST_FILTER
	.comm	_NIC_MBOX_MSG_ADD_MCAST,8,3     ## @NIC_MBOX_MSG_ADD_MCAST
	.comm	_NIC_MBOX_MSG_SET_XCAST,8,3     ## @NIC_MBOX_MSG_SET_XCAST
	.no_dead_strip	___nicvf_set_rx_mode_task
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __nicvf_set_rx_mode_task
___nicvf_set_rx_mode_task:              ; @__nicvf_set_rx_mode_task
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	str	xzr, [sp, #24]
Lloh0:
	adrp	x8, _NIC_MBOX_MSG_RESET_XCAST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIC_MBOX_MSG_RESET_XCAST@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stp	xzr, x8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x2
	bl	_nicvf_send_msg_to_pf
	tbnz	x0, #63, LBB0_9
; %bb.1:
Lloh3:
	adrp	x8, _BGX_XCAST_MCAST_FILTER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BGX_XCAST_MCAST_FILTER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _NIC_MBOX_MSG_ADD_MCAST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NIC_MBOX_MSG_ADD_MCAST@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	stp	x8, xzr, [sp, #16]
	add	x1, sp, #8
	mov	x0, x20
	bl	_nicvf_send_msg_to_pf
	tbnz	x0, #63, LBB0_9
LBB0_3:
	cbz	x19, LBB0_8
; %bb.4:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x22, #0
Lloh9:
	adrp	x23, _NIC_MBOX_MSG_ADD_MCAST@GOTPAGE
Lloh10:
	ldr	x23, [x23, _NIC_MBOX_MSG_ADD_MCAST@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	str	x8, [sp, #16]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x22, lsl #3]
	str	x8, [sp, #24]
	add	x1, sp, #8
	mov	x0, x20
	bl	_nicvf_send_msg_to_pf
	tbnz	x0, #63, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19]
	cmp	x22, x8
	b.lt	LBB0_6
LBB0_8:
Lloh11:
	adrp	x8, _NIC_MBOX_MSG_SET_XCAST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NIC_MBOX_MSG_SET_XCAST@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [sp, #16]
	str	w21, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_nicvf_send_msg_to_pf
LBB0_9:
	mov	x0, x19
	bl	_kfree
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_NIC_MBOX_MSG_RESET_XCAST,8,3   ; @NIC_MBOX_MSG_RESET_XCAST
	.comm	_BGX_XCAST_MCAST_FILTER,4,2     ; @BGX_XCAST_MCAST_FILTER
	.comm	_NIC_MBOX_MSG_ADD_MCAST,8,3     ; @NIC_MBOX_MSG_ADD_MCAST
	.comm	_NIC_MBOX_MSG_SET_XCAST,8,3     ; @NIC_MBOX_MSG_SET_XCAST
	.no_dead_strip	___nicvf_set_rx_mode_task
.subsections_via_symbols
