	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bna_rxf_mchandle_attach
_bna_rxf_mchandle_attach:               ## @bna_rxf_mchandle_attach
	.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
	movl	%edx, %r15d
	movq	%rdi, %r12
	callq	_bna_rxf_mcmac_get
	movq	%rax, %r14
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_bna_rxf_mchandle_get
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	8(%r12), %rax
	movq	(%rax), %rdi
	callq	_bna_mcam_mod_handle_get
	movq	%rax, %rbx
	movl	%r15d, (%rax)
	movq	$0, 8(%rax)
	leaq	16(%rax), %rdi
	movq	%r12, %rsi
	callq	_list_add_tail
LBB0_2:
	incq	8(%rbx)
	movq	%rbx, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bna_rxf_mchandle_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bna_rxf_mchandle_attach
_bna_rxf_mchandle_attach:               ; @bna_rxf_mchandle_attach
	.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
	mov	x21, x2
	mov	x20, x0
	bl	_bna_rxf_mcmac_get
	mov	x19, x0
	mov	x0, x20
	mov	x1, x21
	bl	_bna_rxf_mchandle_get
	mov	x22, x0
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	x0, [x8]
	bl	_bna_mcam_mod_handle_get
	mov	x22, x0
	str	w21, [x0]
	str	xzr, [x0, #8]
	add	x0, x0, #16
	mov	x1, x20
	bl	_list_add_tail
LBB0_2:
	ldr	x8, [x22, #8]
	add	x8, x8, #1
	str	x8, [x22, #8]
	str	x22, [x19]
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bna_rxf_mchandle_attach
.subsections_via_symbols
