	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_enet_set_multicast_list
_bcm_enet_set_multicast_list:           ## @bcm_enet_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	callq	_netdev_priv
	movq	%rax, %r12
	movq	_ENET_RXCFG_REG@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rax, %rdi
	callq	_enet_readl
	movl	(%r13), %ecx
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rdx
	movq	_ENET_RXCFG_PROMISC_MASK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r15d
	movl	%r15d, %esi
	orl	%eax, %esi
	notl	%r15d
	andl	%eax, %r15d
	testl	%ecx, (%rdx)
	cmovnel	%esi, %r15d
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	cmpl	$4, 4(%r13)
	jl	LBB0_3
LBB0_2:
	movq	_ENET_RXCFG_ALLMCAST_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, %r15d
	testl	%r15d, %eax
	jne	LBB0_17
LBB0_5:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	8(%r13), %r15
	xorl	%ebx, %ebx
	testq	%r15, %r15
	je	LBB0_6
## %bb.7:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r15), %r14
	movl	8(%r14), %eax
	movl	12(%r14), %ecx
	shll	$24, %eax
	shll	$16, %ecx
	orl	%eax, %ecx
	movl	16(%r14), %r13d
	shll	$8, %r13d
	orl	%ecx, %r13d
	orl	20(%r14), %r13d
	incl	%ebx
	movl	%ebx, %edi
	callq	_ENET_PML_REG
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_enet_writel
	movl	(%r14), %r13d
	shll	$8, %r13d
	orl	4(%r14), %r13d
	movq	_ENET_PMH_DATAVALID_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movl	%ebx, %edi
	callq	_ENET_PMH_REG
	movq	%r12, %rdi
	movl	%r13d, %esi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_enet_writel
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	16(%r15), %r15
	testq	%r15, %r15
	je	LBB0_14
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$2, %ebx
	ja	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpl	4(%r13), %ebx
	jge	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$6, (%r15)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	incl	%ebx
	jmp	LBB0_13
LBB0_14:
	cmpl	$2, %ebx
	movq	_ENET_RXCFG_REG@GOTPCREL(%rip), %r14
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jbe	LBB0_15
	jmp	LBB0_17
LBB0_3:
	movq	_ENET_RXCFG_ALLMCAST_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	notl	%ecx
	andl	%ecx, %r15d
	testl	%r15d, %eax
	jne	LBB0_17
	jmp	LBB0_5
LBB0_6:
	movq	_ENET_RXCFG_REG@GOTPCREL(%rip), %r14
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_15:
	incl	%ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_ENET_PML_REG
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_enet_writel
	movl	%ebx, %edi
	callq	_ENET_PMH_REG
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_enet_writel
	incl	%ebx
	cmpl	$4, %ebx
	jne	LBB0_16
LBB0_17:
	movl	(%r14), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_enet_writel                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENET_RXCFG_REG,4,2             ## @ENET_RXCFG_REG
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_ENET_RXCFG_PROMISC_MASK,4,2    ## @ENET_RXCFG_PROMISC_MASK
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_ENET_RXCFG_ALLMCAST_MASK,4,2   ## @ENET_RXCFG_ALLMCAST_MASK
	.comm	_ENET_PMH_DATAVALID_MASK,4,2    ## @ENET_PMH_DATAVALID_MASK
	.no_dead_strip	_bcm_enet_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 bcm_enet_set_multicast_list
_bcm_enet_set_multicast_list:           ; @bcm_enet_set_multicast_list
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x24, _ENET_RXCFG_REG@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ENET_RXCFG_REG@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_enet_readl
	ldr	w9, [x21]
Lloh2:
	adrp	x8, _IFF_PROMISC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IFF_PROMISC@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x10, _ENET_RXCFG_PROMISC_MASK@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ENET_RXCFG_PROMISC_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	orr	w11, w10, w0
	bic	w10, w0, w10
	tst	w8, w9
	csel	w8, w10, w11, eq
Lloh8:
	adrp	x10, _IFF_ALLMULTI@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_2
; %bb.1:
	ldr	w9, [x21, #4]
	cmp	w9, #4
	b.lt	LBB0_11
LBB0_2:
Lloh11:
	adrp	x9, _ENET_RXCFG_ALLMCAST_MASK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ENET_RXCFG_ALLMCAST_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w20, w9, w8
	tst	w9, w20
	b.ne	LBB0_15
LBB0_3:
	ldr	x25, [x21, #8]
	cbz	x25, LBB0_12
; %bb.4:
	mov	w22, #0
Lloh14:
	adrp	x26, _ENET_PMH_DATAVALID_MASK@GOTPAGE
Lloh15:
	ldr	x26, [x26, _ENET_PMH_DATAVALID_MASK@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x27, [x25, #8]
	ldp	w8, w9, [x27, #8]
	lsl	w9, w9, #16
	orr	w8, w9, w8, lsl #24
	ldp	w9, w10, [x27, #16]
	orr	w8, w8, w9, lsl #8
	orr	w23, w8, w10
	add	w22, w22, #1
	mov	x0, x22
	bl	_ENET_PML_REG
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_enet_writel
	ldp	w8, w9, [x27]
	orr	w8, w9, w8, lsl #8
	ldr	w9, [x26]
	orr	w23, w8, w9
	mov	x0, x22
	bl	_ENET_PMH_REG
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_enet_writel
	ldr	x25, [x25, #16]
	cbz	x25, LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w22, #2
	b.hi	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21, #4]
	cmp	w22, w8
	b.ge	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x25]
	cmp	w8, #6
	b.eq	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w22, w22, #1
	ldr	x25, [x25, #16]
	cbnz	x25, LBB0_6
LBB0_10:
	cmp	w22, #2
	b.ls	LBB0_13
	b	LBB0_15
LBB0_11:
Lloh16:
	adrp	x9, _ENET_RXCFG_ALLMCAST_MASK@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ENET_RXCFG_ALLMCAST_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	bic	w20, w8, w9
	tst	w9, w20
	b.ne	LBB0_15
	b	LBB0_3
LBB0_12:
	mov	w22, #0
LBB0_13:
	add	w21, w22, #1
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_ENET_PML_REG
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_enet_writel
	mov	x0, x21
	bl	_ENET_PMH_REG
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_enet_writel
	add	w21, w21, #1
	cmp	w21, #4
	b.ne	LBB0_14
LBB0_15:
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_enet_writel
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ENET_RXCFG_REG,4,2             ; @ENET_RXCFG_REG
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_ENET_RXCFG_PROMISC_MASK,4,2    ; @ENET_RXCFG_PROMISC_MASK
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_ENET_RXCFG_ALLMCAST_MASK,4,2   ; @ENET_RXCFG_ALLMCAST_MASK
	.comm	_ENET_PMH_DATAVALID_MASK,4,2    ; @ENET_PMH_DATAVALID_MASK
	.no_dead_strip	_bcm_enet_set_multicast_list
.subsections_via_symbols
