	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1e_set_multi
_atl1e_set_multi:                       ## @atl1e_set_multi
	.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
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r12
	movq	_REG_MAC_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rax, %rdi
	callq	_AT_READ_REG
	movl	(%r14), %ecx
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_2
## %bb.1:
	movq	_MAC_CTRL_PROMIS_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	%eax, %edx
	jmp	LBB0_5
LBB0_2:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_4
## %bb.3:
	movq	_MAC_CTRL_MC_ALL_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%eax, %ecx
	movq	_MAC_CTRL_PROMIS_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	%ecx, %edx
	jmp	LBB0_5
LBB0_4:
	movq	_MAC_CTRL_PROMIS_EN@GOTPCREL(%rip), %rcx
	movq	_MAC_CTRL_MC_ALL_EN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%edx, %eax
	movl	%eax, %edx
LBB0_5:
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_AT_WRITE_REG
	movq	_REG_RX_HASH_TABLE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_AT_WRITE_REG
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_AT_WRITE_REG_ARRAY
	movq	8(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_atl1e_hash_mc_addr
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_atl1e_hash_set
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_6
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_MAC_CTRL,4,2               ## @REG_MAC_CTRL
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_MAC_CTRL_PROMIS_EN,4,2         ## @MAC_CTRL_PROMIS_EN
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_MAC_CTRL_MC_ALL_EN,4,2         ## @MAC_CTRL_MC_ALL_EN
	.comm	_REG_RX_HASH_TABLE,4,2          ## @REG_RX_HASH_TABLE
	.no_dead_strip	_atl1e_set_multi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1e_set_multi
_atl1e_set_multi:                       ; @atl1e_set_multi
	.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	x20, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x21, _REG_MAC_CTRL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _REG_MAC_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_AT_READ_REG
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _MAC_CTRL_PROMIS_EN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAC_CTRL_PROMIS_EN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w2, w8, w0
	b	LBB0_5
LBB0_2:
Lloh8:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _MAC_CTRL_MC_ALL_EN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MAC_CTRL_MC_ALL_EN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh14:
	adrp	x9, _MAC_CTRL_PROMIS_EN@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MAC_CTRL_PROMIS_EN@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	bic	w2, w8, w9
	b	LBB0_5
LBB0_4:
Lloh17:
	adrp	x8, _MAC_CTRL_PROMIS_EN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MAC_CTRL_PROMIS_EN@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _MAC_CTRL_MC_ALL_EN@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MAC_CTRL_MC_ALL_EN@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w2, w0, w8
LBB0_5:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_AT_WRITE_REG
Lloh23:
	adrp	x21, _REG_RX_HASH_TABLE@GOTPAGE
Lloh24:
	ldr	x21, [x21, _REG_RX_HASH_TABLE@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_AT_WRITE_REG
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	bl	_AT_WRITE_REG_ARRAY
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20]
	mov	x0, x19
	bl	_atl1e_hash_mc_addr
	mov	x1, x0
	mov	x0, x19
	bl	_atl1e_hash_set
	ldr	x20, [x20, #8]
	cbnz	x20, LBB0_6
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_MAC_CTRL,4,2               ; @REG_MAC_CTRL
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_MAC_CTRL_PROMIS_EN,4,2         ; @MAC_CTRL_PROMIS_EN
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_MAC_CTRL_MC_ALL_EN,4,2         ; @MAC_CTRL_MC_ALL_EN
	.comm	_REG_RX_HASH_TABLE,4,2          ; @REG_RX_HASH_TABLE
	.no_dead_strip	_atl1e_set_multi
.subsections_via_symbols
