	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bna_rxf_mcast_del
_bna_rxf_mcast_del:                     ## @bna_rxf_mcast_del
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	xorl	%r15d, %r15d
	decq	(%rbx)
	jne	LBB0_6
## %bb.3:
	movq	%rdi, %r12
	movq	_BNA_HARD_CLEANUP@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	cmpl	%edx, (%rax)
	jne	LBB0_5
## %bb.4:
	movl	12(%rbx), %esi
	movq	%r12, %rdi
	callq	_bna_bfi_mcast_del_req
	movl	$1, %r15d
LBB0_5:
	leaq	8(%rbx), %rdi
	callq	_list_del
	movq	(%r12), %rax
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	callq	_bna_mcam_mod_handle_put
LBB0_6:
	movq	$0, (%r14)
	jmp	LBB0_7
LBB0_1:
	xorl	%r15d, %r15d
LBB0_7:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNA_HARD_CLEANUP,4,2           ## @BNA_HARD_CLEANUP
	.no_dead_strip	_bna_rxf_mcast_del
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bna_rxf_mcast_del
_bna_rxf_mcast_del:                     ; @bna_rxf_mcast_del
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x20, [x1]
	cbz	x20, LBB0_3
; %bb.1:
	mov	x19, x1
	ldr	x8, [x20]
	subs	x8, x8, #1
	str	x8, [x20]
	b.eq	LBB0_4
; %bb.2:
	mov	w22, #0
	b	LBB0_8
LBB0_3:
	mov	w22, #0
	b	LBB0_9
LBB0_4:
	mov	x21, x0
Lloh0:
	adrp	x8, _BNA_HARD_CLEANUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNA_HARD_CLEANUP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_6
; %bb.5:
	ldr	w1, [x20, #12]
	mov	x0, x21
	bl	_bna_bfi_mcast_del_req
	mov	w22, #1
	b	LBB0_7
LBB0_6:
	mov	w22, #0
LBB0_7:
	add	x0, x20, #8
	bl	_list_del
	ldr	x8, [x21]
	ldr	x0, [x8]
	mov	x1, x20
	bl	_bna_mcam_mod_handle_put
LBB0_8:
	str	xzr, [x19]
LBB0_9:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BNA_HARD_CLEANUP,4,2           ; @BNA_HARD_CLEANUP
	.no_dead_strip	_bna_rxf_mcast_del
.subsections_via_symbols
