	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bna_rx_mcast_add               ## -- Begin function bna_rx_mcast_add
	.p2align	4, 0x90
_bna_rx_mcast_add:                      ## @bna_rx_mcast_add
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	addq	$40, %rdi
	callq	_bna_mac_find
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	24(%rbx), %r12
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_bna_mac_find
	testq	%rax, %rax
	je	LBB0_4
LBB0_2:
	movq	_BNA_CB_SUCCESS@GOTPCREL(%rip), %r15
	testq	%r14, %r14
	je	LBB0_7
## %bb.3:
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	callq	*%r14
LBB0_7:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	32(%rbx), %rax
	movq	(%rax), %rdi
	callq	_bna_mcam_mod_mac_get
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r13
	leaq	8(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_bfa_q_qe_init
	movl	4(%r13), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_memcpy
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_list_add_tail
	movq	%r14, 8(%rbx)
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	_RXF_E_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_bfa_fsm_send_event
	movq	_BNA_CB_SUCCESS@GOTPCREL(%rip), %r15
	jmp	LBB0_7
LBB0_5:
	movq	_BNA_CB_MCAST_LIST_FULL@GOTPCREL(%rip), %r15
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_BNA_CB_SUCCESS,4,2             ## @BNA_CB_SUCCESS
	.comm	_BNA_CB_MCAST_LIST_FULL,4,2     ## @BNA_CB_MCAST_LIST_FULL
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_RXF_E_CONFIG,4,2               ## @RXF_E_CONFIG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bna_rx_mcast_add               ; -- Begin function bna_rx_mcast_add
	.p2align	2
_bna_rx_mcast_add:                      ; @bna_rx_mcast_add
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x0, x0, #40
	bl	_bna_mac_find
	cbnz	x0, LBB0_2
; %bb.1:
	add	x22, x19, #24
	mov	x0, x22
	mov	x1, x21
	bl	_bna_mac_find
	cbz	x0, LBB0_6
LBB0_2:
	cbz	x20, LBB0_4
; %bb.3:
	ldr	x8, [x19]
	ldr	x0, [x8]
	mov	x1, x19
	blr	x20
LBB0_4:
Lloh0:
	adrp	x8, _BNA_CB_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNA_CB_SUCCESS@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	x8, [x19, #32]
	ldr	x0, [x8]
	bl	_bna_mcam_mod_mac_get
	cbz	x0, LBB0_8
; %bb.7:
	mov	x23, x0
	add	x24, x19, #8
	bl	_bfa_q_qe_init
	ldr	w0, [x23, #4]
Lloh2:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_memcpy
	mov	x0, x23
	mov	x1, x22
	bl	_list_add_tail
	ldr	x8, [x19]
	ldr	x8, [x8]
	stp	x20, x8, [x19, #8]
Lloh5:
	adrp	x8, _RXF_E_CONFIG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RXF_E_CONFIG@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_bfa_fsm_send_event
	b	LBB0_4
LBB0_8:
Lloh8:
	adrp	x8, _BNA_CB_MCAST_LIST_FULL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BNA_CB_MCAST_LIST_FULL@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_BNA_CB_SUCCESS,4,2             ; @BNA_CB_SUCCESS
	.comm	_BNA_CB_MCAST_LIST_FULL,4,2     ; @BNA_CB_MCAST_LIST_FULL
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_RXF_E_CONFIG,4,2               ; @RXF_E_CONFIG
.subsections_via_symbols
