	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netxen_nic_enable_mcast_filter
_netxen_nic_enable_mcast_filter:        ## @netxen_nic_enable_mcast_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, 4(%rdi)
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movl	(%rdi), %r14d
	movq	_NETXEN_MAC_ADDR_CNTL_REG@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	callq	_NXRD32
	leal	28(%r14), %ecx
	btsq	%rcx, %rax
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_NXWR32
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_NETXEN_UNICAST_ADDR
	movl	$16777215, %edx                 ## imm = 0xFFFFFF
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_NXWR32
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_NETXEN_UNICAST_ADDR
	leaq	4(%rax), %rsi
	movl	$16777215, %edx                 ## imm = 0xFFFFFF
	movq	%rbx, %rdi
	callq	_NXWR32
	movq	%r15, %rdi
	callq	_MAC_HI
	movq	%rax, %r12
	movl	%r14d, %edi
	movl	$1, %esi
	callq	_NETXEN_UNICAST_ADDR
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	callq	_NXWR32
	movq	%r15, %rdi
	callq	_MAC_LO
	movq	%rax, %r15
	movl	%r14d, %edi
	movl	$1, %esi
	callq	_NETXEN_UNICAST_ADDR
	leaq	4(%rax), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_NXWR32
	movl	$1, 4(%rbx)
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETXEN_MAC_ADDR_CNTL_REG,8,3   ## @NETXEN_MAC_ADDR_CNTL_REG
	.no_dead_strip	_netxen_nic_enable_mcast_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netxen_nic_enable_mcast_filter
_netxen_nic_enable_mcast_filter:        ; @netxen_nic_enable_mcast_filter
	.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
	ldr	w8, [x0, #4]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x21, [x0, #8]
	ldr	w20, [x0]
Lloh0:
	adrp	x22, _NETXEN_MAC_ADDR_CNTL_REG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NETXEN_MAC_ADDR_CNTL_REG@GOTPAGEOFF]
	ldr	x1, [x22]
	bl	_NXRD32
	add	w8, w20, #28
	mov	w23, #1
	lsl	x8, x23, x8
	orr	x2, x8, x0
	ldr	x1, [x22]
	mov	x0, x19
	bl	_NXWR32
	mov	x0, x20
	mov	w1, #0
	bl	_NETXEN_UNICAST_ADDR
	mov	x1, x0
	mov	x0, x19
	mov	w2, #16777215
	bl	_NXWR32
	mov	x0, x20
	mov	w1, #0
	bl	_NETXEN_UNICAST_ADDR
	add	x1, x0, #4
	mov	x0, x19
	mov	w2, #16777215
	bl	_NXWR32
	mov	x0, x21
	bl	_MAC_HI
	mov	x22, x0
	mov	x0, x20
	mov	w1, #1
	bl	_NETXEN_UNICAST_ADDR
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_NXWR32
	mov	x0, x21
	bl	_MAC_LO
	mov	x21, x0
	mov	x0, x20
	mov	w1, #1
	bl	_NETXEN_UNICAST_ADDR
	add	x1, x0, #4
	mov	x0, x19
	mov	x2, x21
	bl	_NXWR32
	str	w23, [x19, #4]
LBB0_2:
	mov	w0, #0
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NETXEN_MAC_ADDR_CNTL_REG,8,3   ; @NETXEN_MAC_ADDR_CNTL_REG
	.no_dead_strip	_netxen_nic_enable_mcast_filter
.subsections_via_symbols
