	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bna_rx_mcast_listset           ## -- Begin function bna_rx_mcast_listset
	.p2align	4, 0x90
_bna_rx_mcast_listset:                  ## @bna_rx_mcast_listset
	.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	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %r15
	leaq	-48(%rbp), %rdi
	callq	_INIT_LIST_HEAD
	testl	%r12d, %r12d
	jle	LBB0_7
## %bb.1:
	movq	_ETH_ALEN@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax), %rdi
	callq	_bna_mcam_mod_mac_get
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_bfa_q_qe_init
	movl	4(%rbx), %edi
	movl	(%r13), %edx
	movq	%r14, %rsi
	callq	_memcpy
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rsi
	callq	_list_add_tail
	movslq	(%r13), %rax
	leaq	(%r14,%rax,4), %r14
	decl	%r12d
	jne	LBB0_2
LBB0_7:
	leaq	28(%r15), %r13
	movq	%r13, %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	leaq	-56(%rbp), %rbx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_bfa_q_deq
	movq	-56(%rbp), %rdi
	callq	_bfa_q_qe_init
	movq	-56(%rbp), %rsi
	movq	16(%r15), %rax
	movq	(%rax), %rdi
	callq	_bna_mcam_mod_mac_put
	movq	%r13, %rdi
	callq	_list_empty
	testl	%eax, %eax
	je	LBB0_9
LBB0_10:
	leaq	36(%r15), %rbx
	movq	%rbx, %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:
	leaq	32(%r15), %r12
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	leaq	-56(%rbp), %rsi
	callq	_bfa_q_deq
	movq	-56(%rbp), %r14
	movq	%r14, %rdi
	callq	_bfa_q_qe_init
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_list_add_tail
	movq	%rbx, %rdi
	callq	_list_empty
	testl	%eax, %eax
	je	LBB0_12
LBB0_13:
	leaq	8(%r15), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_16
## %bb.14:
	leaq	-48(%rbp), %rbx
	leaq	-56(%rbp), %r14
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_bfa_q_deq
	movq	-56(%rbp), %r12
	movq	%r12, %rdi
	callq	_bfa_q_qe_init
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_list_add_tail
	movq	%rbx, %rdi
	callq	_list_empty
	testl	%eax, %eax
	je	LBB0_15
LBB0_16:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r15)
	movq	(%r15), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	_RXF_E_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_bfa_fsm_send_event
	movq	_BNA_CB_SUCCESS@GOTPCREL(%rip), %r13
	jmp	LBB0_17
LBB0_3:
	leaq	-48(%rbp), %rdi
	callq	_list_empty
	movq	_BNA_CB_MCAST_LIST_FULL@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	jne	LBB0_17
## %bb.4:
	leaq	-48(%rbp), %r12
	leaq	-56(%rbp), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_bfa_q_deq
	movq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_bfa_q_qe_init
	movq	16(%r15), %rax
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	callq	_bna_mcam_mod_mac_put
	movq	%r12, %rdi
	callq	_list_empty
	testl	%eax, %eax
	je	LBB0_5
LBB0_17:
	movl	(%r13), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_RXF_E_CONFIG,4,2               ## @RXF_E_CONFIG
	.comm	_BNA_CB_SUCCESS,4,2             ## @BNA_CB_SUCCESS
	.comm	_BNA_CB_MCAST_LIST_FULL,4,2     ## @BNA_CB_MCAST_LIST_FULL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bna_rx_mcast_listset           ; -- Begin function bna_rx_mcast_listset
	.p2align	2
_bna_rx_mcast_listset:                  ; @bna_rx_mcast_listset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	add	x0, sp, #8
	bl	_INIT_LIST_HEAD
	cmp	w22, #1
	b.lt	LBB0_4
; %bb.1:
Lloh0:
	adrp	x24, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ETH_ALEN@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
	bl	_bna_mcam_mod_mac_get
	cbz	x0, LBB0_14
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, x0
	bl	_bfa_q_qe_init
	ldr	w0, [x23, #4]
	ldr	w2, [x24]
	mov	x1, x21
	bl	_memcpy
	add	x1, sp, #8
	mov	x0, x23
	bl	_list_add_tail
	ldrsw	x8, [x24]
	add	x21, x21, x8, lsl #2
	subs	w22, w22, #1
	b.ne	LBB0_2
LBB0_4:
	add	x21, x19, #28
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_list_empty
	cbnz	w0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, sp
	mov	x0, x21
	bl	_bfa_q_deq
	ldr	x0, [sp]
	bl	_bfa_q_qe_init
	ldr	x1, [sp]
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
	bl	_bna_mcam_mod_mac_put
	b	LBB0_5
LBB0_7:
	add	x22, x19, #8
	add	x23, x19, #36
	mov	x0, x23
	bl	_list_empty
	cbnz	w0, LBB0_11
; %bb.8:
	add	x24, x19, #32
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, sp
	mov	x0, x23
	bl	_bfa_q_deq
	ldr	x25, [sp]
	mov	x0, x25
	bl	_bfa_q_qe_init
	mov	x0, x25
	mov	x1, x24
	bl	_list_add_tail
	mov	x0, x23
	bl	_list_empty
	cbz	w0, LBB0_9
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x0, sp, #8
	mov	x1, sp
	bl	_bfa_q_deq
	ldr	x23, [sp]
	mov	x0, x23
	bl	_bfa_q_qe_init
	mov	x0, x23
	mov	x1, x21
	bl	_list_add_tail
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	bl	_list_empty
	cbz	w0, LBB0_10
; %bb.12:
	str	x20, [x19, #8]
	ldr	x8, [x19]
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh2:
	adrp	x8, _RXF_E_CONFIG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RXF_E_CONFIG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_bfa_fsm_send_event
Lloh5:
	adrp	x21, _BNA_CB_SUCCESS@GOTPAGE
Lloh6:
	ldr	x21, [x21, _BNA_CB_SUCCESS@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_14:
	add	x0, sp, #8
	bl	_list_empty
Lloh7:
	adrp	x21, _BNA_CB_MCAST_LIST_FULL@GOTPAGE
Lloh8:
	ldr	x21, [x21, _BNA_CB_MCAST_LIST_FULL@GOTPAGEOFF]
	cbnz	w0, LBB0_13
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	x1, sp
	bl	_bfa_q_deq
	ldr	x20, [sp]
	mov	x0, x20
	bl	_bfa_q_qe_init
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
	mov	x1, x20
	bl	_bna_mcam_mod_mac_put
	add	x0, sp, #8
	bl	_list_empty
	cbz	w0, LBB0_15
	b	LBB0_13
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_RXF_E_CONFIG,4,2               ; @RXF_E_CONFIG
	.comm	_BNA_CB_SUCCESS,4,2             ; @BNA_CB_SUCCESS
	.comm	_BNA_CB_MCAST_LIST_FULL,4,2     ; @BNA_CB_MCAST_LIST_FULL
.subsections_via_symbols
