	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_multicast_list
_set_multicast_list:                    ## @set_multicast_list
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	(%r14), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_RX_ALL_ACCEPT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_netdev_mc_empty
	xorl	%edx, %edx
	testl	%eax, %eax
	jne	LBB0_6
LBB0_4:
	movq	_RX_MULTCAST_ACCEPT@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edx
LBB0_6:
	movl	%edx, (%rbx)
	movq	_PP_RxCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DEF_RX_ACCEPT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r14, %rdi
	callq	_writereg
	movq	_PP_RxCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %eax
	movq	_RX_ALL_ACCEPT@GOTPCREL(%rip), %rdi
	xorl	%edx, %edx
	cmpl	(%rdi), %ecx
	jne	LBB0_8
## %bb.7:
	movq	_RX_CRC_ERROR_ENBL@GOTPCREL(%rip), %rcx
	movq	_RX_RUNT_ENBL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_RX_EXTRA_DATA_ENBL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
LBB0_8:
	orl	%eax, %edx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writereg                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_RX_ALL_ACCEPT,4,2              ## @RX_ALL_ACCEPT
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_RX_MULTCAST_ACCEPT,4,2         ## @RX_MULTCAST_ACCEPT
	.comm	_PP_RxCTL,4,2                   ## @PP_RxCTL
	.comm	_DEF_RX_ACCEPT,4,2              ## @DEF_RX_ACCEPT
	.comm	_PP_RxCFG,4,2                   ## @PP_RxCFG
	.comm	_RX_CRC_ERROR_ENBL,4,2          ## @RX_CRC_ERROR_ENBL
	.comm	_RX_RUNT_ENBL,4,2               ## @RX_RUNT_ENBL
	.comm	_RX_EXTRA_DATA_ENBL,4,2         ## @RX_EXTRA_DATA_ENBL
	.no_dead_strip	_set_multicast_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_multicast_list
_set_multicast_list:                    ; @set_multicast_list
	.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
	bl	_netdev_priv
	mov	x20, x0
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x21, _RX_ALL_ACCEPT@GOTPAGE
Lloh4:
	ldr	x21, [x21, _RX_ALL_ACCEPT@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x21]
	b	LBB0_6
LBB0_2:
Lloh5:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _RX_MULTCAST_ACCEPT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RX_MULTCAST_ACCEPT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_netdev_mc_empty
	cbz	w0, LBB0_3
; %bb.5:
	mov	w8, #0
LBB0_6:
Lloh11:
	adrp	x9, _PP_RxCTL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PP_RxCTL@GOTPAGEOFF]
	str	w8, [x20]
Lloh13:
	ldr	w1, [x9]
Lloh14:
	adrp	x9, _DEF_RX_ACCEPT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DEF_RX_ACCEPT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_writereg
Lloh17:
	adrp	x8, _PP_RxCFG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PP_RxCFG@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldp	w9, w8, [x20]
	ldr	w10, [x21]
	cmp	w9, w10
	b.ne	LBB0_8
; %bb.7:
Lloh20:
	adrp	x9, _RX_CRC_ERROR_ENBL@GOTPAGE
Lloh21:
	ldr	x9, [x9, _RX_CRC_ERROR_ENBL@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x10, _RX_RUNT_ENBL@GOTPAGE
Lloh24:
	ldr	x10, [x10, _RX_RUNT_ENBL@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh26:
	adrp	x10, _RX_EXTRA_DATA_ENBL@GOTPAGE
Lloh27:
	ldr	x10, [x10, _RX_EXTRA_DATA_ENBL@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	orr	w9, w9, w10
	b	LBB0_9
LBB0_8:
	mov	w9, #0
LBB0_9:
	orr	w2, w9, w8
	mov	x0, 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	_writereg
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_RX_ALL_ACCEPT,4,2              ; @RX_ALL_ACCEPT
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_RX_MULTCAST_ACCEPT,4,2         ; @RX_MULTCAST_ACCEPT
	.comm	_PP_RxCTL,4,2                   ; @PP_RxCTL
	.comm	_DEF_RX_ACCEPT,4,2              ; @DEF_RX_ACCEPT
	.comm	_PP_RxCFG,4,2                   ; @PP_RxCFG
	.comm	_RX_CRC_ERROR_ENBL,4,2          ; @RX_CRC_ERROR_ENBL
	.comm	_RX_RUNT_ENBL,4,2               ; @RX_RUNT_ENBL
	.comm	_RX_EXTRA_DATA_ENBL,4,2         ; @RX_EXTRA_DATA_ENBL
	.no_dead_strip	_set_multicast_list
.subsections_via_symbols
