	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ether3_setmulticastlist
_ether3_setmulticastlist:               ## @ether3_setmulticastlist
	.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
	movq	%rdi, %r15
	movq	_CFG1_RECVPROMISC@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	notl	%ebx
	callq	_priv
	andl	%ebx, (%rax)
	movl	(%r15), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_5
## %bb.1:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.2:
	movq	%r15, %rdi
	callq	_netdev_mc_empty
	testl	%eax, %eax
	jne	LBB0_3
LBB0_4:
	movq	_CFG1_RECVSPECBRMULTI@GOTPCREL(%rip), %r14
	jmp	LBB0_5
LBB0_3:
	movq	_CFG1_RECVSPECBROAD@GOTPCREL(%rip), %r14
LBB0_5:
	movl	(%r14), %ebx
	movq	%r15, %rdi
	callq	_priv
	orl	%ebx, (%rax)
	movq	%r15, %rdi
	callq	_priv
	movq	_CFG1_LOCBUFMEM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_REG_CONFIG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ether3_outw                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CFG1_RECVPROMISC,4,2           ## @CFG1_RECVPROMISC
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_CFG1_RECVSPECBRMULTI,4,2       ## @CFG1_RECVSPECBRMULTI
	.comm	_CFG1_RECVSPECBROAD,4,2         ## @CFG1_RECVSPECBROAD
	.comm	_CFG1_LOCBUFMEM,4,2             ## @CFG1_LOCBUFMEM
	.comm	_REG_CONFIG1,4,2                ## @REG_CONFIG1
	.no_dead_strip	_ether3_setmulticastlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ether3_setmulticastlist
_ether3_setmulticastlist:               ; @ether3_setmulticastlist
	.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, x0
Lloh0:
	adrp	x20, _CFG1_RECVPROMISC@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CFG1_RECVPROMISC@GOTPAGEOFF]
	ldr	w21, [x20]
	bl	_priv
	ldr	w8, [x0]
	bic	w8, w8, w21
	str	w8, [x0]
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.1:
Lloh5:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x20, _CFG1_RECVSPECBRMULTI@GOTPAGE
Lloh9:
	ldr	x20, [x20, _CFG1_RECVSPECBRMULTI@GOTPAGEOFF]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_netdev_mc_empty
Lloh10:
	adrp	x8, _CFG1_RECVSPECBROAD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CFG1_RECVSPECBROAD@GOTPAGEOFF]
	cmp	w0, #0
	csel	x20, x20, x8, eq
LBB0_3:
	ldr	w20, [x20]
	mov	x0, x19
	bl	_priv
	ldr	w8, [x0]
	orr	w8, w8, w20
	str	w8, [x0]
	mov	x0, x19
	bl	_priv
	ldr	w8, [x0]
Lloh12:
	adrp	x9, _CFG1_LOCBUFMEM@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CFG1_LOCBUFMEM@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w0, w9, w8
Lloh15:
	adrp	x8, _REG_CONFIG1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REG_CONFIG1@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	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	_ether3_outw
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_CFG1_RECVPROMISC,4,2           ; @CFG1_RECVPROMISC
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_CFG1_RECVSPECBRMULTI,4,2       ; @CFG1_RECVSPECBRMULTI
	.comm	_CFG1_RECVSPECBROAD,4,2         ; @CFG1_RECVSPECBROAD
	.comm	_CFG1_LOCBUFMEM,4,2             ; @CFG1_LOCBUFMEM
	.comm	_REG_CONFIG1,4,2                ; @REG_CONFIG1
	.no_dead_strip	_ether3_setmulticastlist
.subsections_via_symbols
