	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bgx_set_dmac_cam_filter        ## -- Begin function bgx_set_dmac_cam_filter
	.p2align	4, 0x90
_bgx_set_dmac_cam_filter:               ## @bgx_set_dmac_cam_filter
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movl	%ecx, %r15d
	movl	%edx, %ebx
	callq	_get_bgx
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movslq	%ebx, %rbx
	shlq	$2, %rbx
	addq	(%rax), %rbx
	testl	%r15d, %r15d
	jne	LBB0_3
## %bb.2:
	movl	(%rbx), %edi
	callq	_ether_addr_to_u64
	movl	%eax, %r15d
LBB0_3:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bgx_lmac_save_filter           ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bgx_set_dmac_cam_filter        ; -- Begin function bgx_set_dmac_cam_filter
	.p2align	2
_bgx_set_dmac_cam_filter:               ; @bgx_set_dmac_cam_filter
	.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	x19, x4
	mov	x20, x3
	mov	x21, x2
	bl	_get_bgx
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x0]
	add	x21, x8, w21, sxtw #2
	cbnz	w20, LBB0_3
; %bb.2:
	ldr	w0, [x21]
	bl	_ether_addr_to_u64
	mov	x20, x0
LBB0_3:
	mov	x0, x21
	mov	x1, x20
	mov	x2, 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
	b	_bgx_lmac_save_filter
LBB0_4:
	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
.subsections_via_symbols
