	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc95xx_set_multicast
_smsc95xx_set_multicast:                ## @smsc95xx_set_multicast
	.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
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	8(%rax), %rax
	movq	(%rax), %r14
	movl	$0, -52(%rbp)
	movl	$0, -48(%rbp)
	leaq	4(%r14), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	(%rbx), %rcx
	movl	(%rcx), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_netif_msg_drv
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_devdbg
LBB0_3:
	movq	_MAC_CR_PRMS_@GOTPCREL(%rip), %rax
	movl	(%r14), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
	movq	_MAC_CR_MCPAS_@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_9
## %bb.6:
	movq	%rbx, %rdi
	callq	_netif_msg_drv
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_devdbg
LBB0_8:
	movq	_MAC_CR_MCPAS_@GOTPCREL(%rip), %rax
	movl	(%r14), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
	movq	_MAC_CR_PRMS_@GOTPCREL(%rip), %rax
LBB0_4:
	movq	_MAC_CR_HPFILT_@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	notl	%edx
	andl	%ecx, %edx
	movl	%edx, (%r14)
LBB0_25:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	_HASHH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_smsc95xx_write_reg_async
	movq	_HASHL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_smsc95xx_write_reg_async
	movq	_MAC_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_smsc95xx_write_reg_async
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	8(%rcx), %rax
	testq	%rax, %rax
	jle	LBB0_22
## %bb.10:
	movq	16(%rcx), %r12
	movq	_MAC_CR_HPFILT_@GOTPCREL(%rip), %rcx
	movl	(%r14), %edx
	orl	(%rcx), %edx
	movl	%edx, (%r14)
	movq	_MAC_CR_PRMS_@GOTPCREL(%rip), %rcx
	movq	_MAC_CR_MCPAS_@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rcx), %esi
	notl	%esi
	andl	%edx, %esi
	movl	%esi, (%r14)
	movl	-52(%rbp), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	-48(%rbp), %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	testq	%r12, %r12
	jne	LBB0_11
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_devwarn
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%r12), %r12
	incl	%r13d
	testq	%r12, %r12
	je	LBB0_17
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	_ETH_ALEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	16(%r12), %edi
	callq	_smsc95xx_hash
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	testb	$32, %al
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	orl	%edx, -56(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	orl	%edx, -44(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_16
LBB0_17:
	movq	(%rbx), %rax
	movq	8(%rax), %rax
LBB0_18:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, -52(%rbp)
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, -48(%rbp)
	cmpl	%eax, %r13d
	je	LBB0_20
## %bb.19:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devwarn
LBB0_20:
	movq	%rbx, %rdi
	callq	_netif_msg_drv
	testq	%rax, %rax
	je	LBB0_25
## %bb.21:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_devdbg
	jmp	LBB0_25
LBB0_22:
	movq	%rbx, %rdi
	callq	_netif_msg_drv
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_devdbg
LBB0_24:
	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
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, (%r14)
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.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"

	.comm	_ETH_ALEN,8,3                   ## @ETH_ALEN
L_.str.2:                               ## @.str.2
	.asciz	"dmi_addrlen != 6"

L_.str.3:                               ## @.str.3
	.asciz	"mc_count != dev->mc_count"

L_.str.4:                               ## @.str.4
	.asciz	"HASHH=0x%08X, HASHL=0x%08X"

L_.str.5:                               ## @.str.5
	.asciz	"receive own packets only"

	.comm	_HASHH,4,2                      ## @HASHH
	.comm	_HASHL,4,2                      ## @HASHL
	.comm	_MAC_CR,4,2                     ## @MAC_CR
	.no_dead_strip	_smsc95xx_set_multicast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc95xx_set_multicast
_smsc95xx_set_multicast:                ; @smsc95xx_set_multicast
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
	str	xzr, [sp, #24]
	add	x21, x20, #4
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x9, [x19]
	ldr	w8, [x9]
Lloh0:
	adrp	x10, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_netif_msg_drv
	cbz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_devdbg
LBB0_3:
Lloh5:
	adrp	x8, _MAC_CR_PRMS_@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAC_CR_PRMS_@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
Lloh8:
	adrp	x9, _MAC_CR_MCPAS_@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MAC_CR_MCPAS_@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
Lloh10:
	adrp	x10, _IFF_ALLMULTI@GOTPAGE
Lloh11:
	ldr	x10, [x10, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_11
; %bb.5:
	mov	x0, x19
	bl	_netif_msg_drv
	cbz	x0, LBB0_7
; %bb.6:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_devdbg
LBB0_7:
Lloh15:
	adrp	x8, _MAC_CR_MCPAS_@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MAC_CR_MCPAS_@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
Lloh18:
	adrp	x9, _MAC_CR_PRMS_@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MAC_CR_PRMS_@GOTPAGEOFF]
LBB0_8:
	ldr	w9, [x9]
Lloh20:
	adrp	x10, _MAC_CR_HPFILT_@GOTPAGE
Lloh21:
	ldr	x10, [x10, _MAC_CR_HPFILT_@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w8, w8, w9
LBB0_9:
	str	w8, [x20]
LBB0_10:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
Lloh23:
	adrp	x8, _HASHH@GOTPAGE
Lloh24:
	ldr	x8, [x8, _HASHH@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	add	x2, sp, #28
	mov	x0, x19
	bl	_smsc95xx_write_reg_async
Lloh26:
	adrp	x8, _HASHL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _HASHL@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x19
	bl	_smsc95xx_write_reg_async
Lloh29:
	adrp	x8, _MAC_CR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MAC_CR@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_smsc95xx_write_reg_async
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_11:
	ldr	x8, [x9, #8]
	cmp	x8, #1
	b.lt	LBB0_23
; %bb.12:
	ldr	x25, [x9, #16]
Lloh32:
	adrp	x9, _MAC_CR_HPFILT_@GOTPAGE
Lloh33:
	ldr	x9, [x9, _MAC_CR_HPFILT_@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	ldr	w10, [x20]
	orr	w9, w10, w9
	str	w9, [x20]
Lloh35:
	adrp	x10, _MAC_CR_PRMS_@GOTPAGE
Lloh36:
	ldr	x10, [x10, _MAC_CR_PRMS_@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
Lloh38:
	adrp	x11, _MAC_CR_MCPAS_@GOTPAGE
Lloh39:
	ldr	x11, [x11, _MAC_CR_MCPAS_@GOTPAGEOFF]
Lloh40:
	ldr	w11, [x11]
	orr	w10, w11, w10
	bic	w9, w9, w10
	str	w9, [x20]
	ldp	w24, w23, [sp, #24]
	mov	w26, #0
	cbz	x25, LBB0_19
; %bb.13:
Lloh41:
	adrp	x27, _ETH_ALEN@GOTPAGE
Lloh42:
	ldr	x27, [x27, _ETH_ALEN@GOTPAGEOFF]
	mov	w28, #1
Lloh43:
	adrp	x22, l_.str.2@PAGE
Lloh44:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_devwarn
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x25, [x25, #8]
	add	w26, w26, #1
	cbz	x25, LBB0_18
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x25, #16]
	bl	_smsc95xx_hash
	lsl	w8, w28, w0
	orr	w9, w24, w8
	orr	w8, w23, w8
	tst	w0, #0x20
	csel	w24, w9, w24, eq
	csel	w23, w23, w8, eq
	b	LBB0_15
LBB0_18:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
LBB0_19:
	stp	w24, w23, [sp, #24]
	cmp	w26, w8
	b.eq	LBB0_21
; %bb.20:
Lloh45:
	adrp	x1, l_.str.3@PAGE
Lloh46:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_devwarn
LBB0_21:
	mov	x0, x19
	bl	_netif_msg_drv
	cbz	x0, LBB0_10
; %bb.22:
	stp	x23, x24, [sp]
Lloh47:
	adrp	x1, l_.str.4@PAGE
Lloh48:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_devdbg
	b	LBB0_10
LBB0_23:
	mov	x0, x19
	bl	_netif_msg_drv
	cbz	x0, LBB0_25
; %bb.24:
Lloh49:
	adrp	x1, l_.str.5@PAGE
Lloh50:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_devdbg
LBB0_25:
Lloh51:
	adrp	x8, _MAC_CR_PRMS_@GOTPAGE
Lloh52:
	ldr	x8, [x8, _MAC_CR_PRMS_@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
Lloh54:
	adrp	x9, _MAC_CR_MCPAS_@GOTPAGE
Lloh55:
	ldr	x9, [x9, _MAC_CR_MCPAS_@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
Lloh57:
	adrp	x10, _MAC_CR_HPFILT_@GOTPAGE
Lloh58:
	ldr	x10, [x10, _MAC_CR_HPFILT_@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh59:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	w9, [x20]
	bic	w8, w9, w8
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.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"

	.comm	_ETH_ALEN,8,3                   ; @ETH_ALEN
l_.str.2:                               ; @.str.2
	.asciz	"dmi_addrlen != 6"

l_.str.3:                               ; @.str.3
	.asciz	"mc_count != dev->mc_count"

l_.str.4:                               ; @.str.4
	.asciz	"HASHH=0x%08X, HASHL=0x%08X"

l_.str.5:                               ; @.str.5
	.asciz	"receive own packets only"

	.comm	_HASHH,4,2                      ; @HASHH
	.comm	_HASHL,4,2                      ; @HASHL
	.comm	_MAC_CR,4,2                     ; @MAC_CR
	.no_dead_strip	_smsc95xx_set_multicast
.subsections_via_symbols
