	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc9420_set_multicast_list
_smsc9420_set_multicast_list:           ## @smsc9420_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_MAC_CR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rax, %rdi
	callq	_smsc9420_reg_read
	movl	%eax, %r15d
	movl	(%rbx), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_smsc_dbg
	movq	_MAC_CR_PRMS_@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_MAC_CR_MCPAS_@GOTPCREL(%rip), %rax
	movq	_MAC_CR_HPFILT_@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_11:
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r15d
	jmp	LBB0_12
LBB0_2:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_smsc_dbg
	movq	_MAC_CR_PRMS_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r15d
	movq	_MAC_CR_MCPAS_@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_MAC_CR_HPFILT_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r15d
	jmp	LBB0_12
LBB0_4:
	cmpq	$0, 8(%rbx)
	jle	LBB0_10
## %bb.5:
	movq	16(%rbx), %r13
	movq	_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_smsc_dbg
	testq	%r13, %r13
	je	LBB0_6
## %bb.7:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r13), %edi
	callq	_smsc9420_hash
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	movl	%eax, %ecx
	shll	$26, %ecx
	sarl	$31, %ecx
	testb	$32, %al
	movl	$0, %eax
	cmovel	%edx, %eax
	orl	%eax, %r12d
	andl	%edx, %ecx
	orl	%ecx, %ebx
	movq	(%r13), %r13
	testq	%r13, %r13
	jne	LBB0_8
	jmp	LBB0_9
LBB0_10:
	movq	_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_smsc_dbg
	movq	_HASHH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_smsc9420_reg_write
	movq	_HASHL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_smsc9420_reg_write
	movq	_MAC_CR_PRMS_@GOTPCREL(%rip), %rax
	movq	_MAC_CR_MCPAS_@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_MAC_CR_HPFILT_@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_6:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
LBB0_9:
	movq	_HASHH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_smsc9420_reg_write
	movq	_HASHL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_smsc9420_reg_write
	movq	_MAC_CR_PRMS_@GOTPCREL(%rip), %rax
	movq	_MAC_CR_MCPAS_@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r15d
	movq	_MAC_CR_HPFILT_@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_MAC_CR@GOTPCREL(%rip), %r12
LBB0_12:
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_smsc9420_reg_write
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_smsc9420_pci_flush_write       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_CR,4,2                     ## @MAC_CR
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_HW,4,2                         ## @HW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Promiscuous Mode Enabled"

	.comm	_MAC_CR_PRMS_,4,2               ## @MAC_CR_PRMS_
	.comm	_MAC_CR_MCPAS_,4,2              ## @MAC_CR_MCPAS_
	.comm	_MAC_CR_HPFILT_,4,2             ## @MAC_CR_HPFILT_
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
L_.str.1:                               ## @.str.1
	.asciz	"Receive all Multicast Enabled"

L_.str.2:                               ## @.str.2
	.asciz	"Multicast filter enabled"

	.comm	_HASHH,4,2                      ## @HASHH
	.comm	_HASHL,4,2                      ## @HASHL
L_.str.3:                               ## @.str.3
	.asciz	"Receive own packets only."

	.no_dead_strip	_smsc9420_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 smsc9420_set_multicast_list
_smsc9420_set_multicast_list:           ; @smsc9420_set_multicast_list
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x23, _MAC_CR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MAC_CR@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_smsc9420_reg_read
	mov	x20, x0
	ldr	w8, [x21]
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, _HW@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HW@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_smsc_dbg
Lloh10:
	adrp	x8, _MAC_CR_PRMS_@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MAC_CR_PRMS_@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	orr	w8, w8, w20
Lloh13:
	adrp	x9, _MAC_CR_MCPAS_@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MAC_CR_MCPAS_@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
Lloh16:
	adrp	x10, _MAC_CR_HPFILT_@GOTPAGE
Lloh17:
	ldr	x10, [x10, _MAC_CR_HPFILT_@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w2, w8, w9
	b	LBB0_11
LBB0_2:
Lloh19:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh20:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh22:
	adrp	x8, _HW@GOTPAGE
Lloh23:
	ldr	x8, [x8, _HW@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_smsc_dbg
Lloh27:
	adrp	x8, _MAC_CR_PRMS_@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MAC_CR_PRMS_@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	bic	w8, w20, w8
Lloh30:
	adrp	x9, _MAC_CR_MCPAS_@GOTPAGE
Lloh31:
	ldr	x9, [x9, _MAC_CR_MCPAS_@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh33:
	adrp	x9, _MAC_CR_HPFILT_@GOTPAGE
Lloh34:
	ldr	x9, [x9, _MAC_CR_HPFILT_@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	bic	w2, w8, w9
	b	LBB0_11
LBB0_4:
	ldr	x8, [x21, #8]
	cmp	x8, #1
	b.lt	LBB0_8
; %bb.5:
	ldr	x24, [x21, #16]
Lloh36:
	adrp	x8, _HW@GOTPAGE
Lloh37:
	ldr	x8, [x8, _HW@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x1, l_.str.2@PAGE
Lloh40:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_smsc_dbg
	cbz	x24, LBB0_9
; %bb.6:
	mov	w22, #0
	mov	w21, #0
	mov	w25, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24, #8]
	bl	_smsc9420_hash
	lsl	w8, w25, w0
	lsl	w9, w0, #26
	tst	w0, #0x20
	csel	w10, w8, wzr, eq
	orr	w21, w10, w21
	and	w8, w8, w9, asr #31
	orr	w22, w8, w22
	ldr	x24, [x24]
	cbnz	x24, LBB0_7
	b	LBB0_10
LBB0_8:
Lloh41:
	adrp	x8, _HW@GOTPAGE
Lloh42:
	ldr	x8, [x8, _HW@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x1, l_.str.3@PAGE
Lloh45:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_smsc_dbg
Lloh46:
	adrp	x8, _HASHH@GOTPAGE
Lloh47:
	ldr	x8, [x8, _HASHH@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_smsc9420_reg_write
Lloh49:
	adrp	x8, _HASHL@GOTPAGE
Lloh50:
	ldr	x8, [x8, _HASHL@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_smsc9420_reg_write
Lloh52:
	adrp	x8, _MAC_CR_PRMS_@GOTPAGE
Lloh53:
	ldr	x8, [x8, _MAC_CR_PRMS_@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
Lloh55:
	adrp	x9, _MAC_CR_MCPAS_@GOTPAGE
Lloh56:
	ldr	x9, [x9, _MAC_CR_MCPAS_@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh58:
	adrp	x9, _MAC_CR_HPFILT_@GOTPAGE
Lloh59:
	ldr	x9, [x9, _MAC_CR_HPFILT_@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w2, w20, w8
	b	LBB0_11
LBB0_9:
	mov	w21, #0
	mov	w22, #0
LBB0_10:
Lloh61:
	adrp	x8, _HASHH@GOTPAGE
Lloh62:
	ldr	x8, [x8, _HASHH@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_smsc9420_reg_write
Lloh64:
	adrp	x8, _HASHL@GOTPAGE
Lloh65:
	ldr	x8, [x8, _HASHL@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_smsc9420_reg_write
Lloh67:
	adrp	x8, _MAC_CR_PRMS_@GOTPAGE
Lloh68:
	ldr	x8, [x8, _MAC_CR_PRMS_@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
Lloh70:
	adrp	x9, _MAC_CR_MCPAS_@GOTPAGE
Lloh71:
	ldr	x9, [x9, _MAC_CR_MCPAS_@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w8, w20, w8
Lloh73:
	adrp	x9, _MAC_CR_HPFILT_@GOTPAGE
Lloh74:
	ldr	x9, [x9, _MAC_CR_HPFILT_@GOTPAGEOFF]
Lloh75:
	ldr	w9, [x9]
	orr	w2, w8, w9
LBB0_11:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_smsc9420_reg_write
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_smsc9420_pci_flush_write
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_CR,4,2                     ; @MAC_CR
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_HW,4,2                         ; @HW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Promiscuous Mode Enabled"

	.comm	_MAC_CR_PRMS_,4,2               ; @MAC_CR_PRMS_
	.comm	_MAC_CR_MCPAS_,4,2              ; @MAC_CR_MCPAS_
	.comm	_MAC_CR_HPFILT_,4,2             ; @MAC_CR_HPFILT_
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
l_.str.1:                               ; @.str.1
	.asciz	"Receive all Multicast Enabled"

l_.str.2:                               ; @.str.2
	.asciz	"Multicast filter enabled"

	.comm	_HASHH,4,2                      ; @HASHH
	.comm	_HASHL,4,2                      ; @HASHL
l_.str.3:                               ; @.str.3
	.asciz	"Receive own packets only."

	.no_dead_strip	_smsc9420_set_multicast_list
.subsections_via_symbols
