	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc911x_rx_multicast_update_workaround
_smsc911x_rx_multicast_update_workaround: ## @smsc911x_rx_multicast_update_workaround
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_spin_lock
	movq	_MAC_CR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_smsc911x_mac_read
	movq	_MAC_CR_RXEN_@GOTPCREL(%rip), %r15
	testl	%eax, (%r15)
	je	LBB0_2
## %bb.1:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_SMSC_WARN
LBB0_2:
	movq	%rbx, %rdi
	callq	_smsc911x_rx_multicast_update
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_smsc911x_mac_read
	orl	(%r15), %eax
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_smsc911x_mac_write
	movq	$0, 8(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_CR,4,2                     ## @MAC_CR
	.comm	_MAC_CR_RXEN_,4,2               ## @MAC_CR_RXEN_
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Rx not stopped"

	.no_dead_strip	_smsc911x_rx_multicast_update_workaround
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc911x_rx_multicast_update_workaround
_smsc911x_rx_multicast_update_workaround: ; @smsc911x_rx_multicast_update_workaround
	.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	_spin_lock
Lloh0:
	adrp	x20, _MAC_CR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MAC_CR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_smsc911x_mac_read
Lloh2:
	adrp	x21, _MAC_CR_RXEN_@GOTPAGE
Lloh3:
	ldr	x21, [x21, _MAC_CR_RXEN_@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _drv@GOTPAGE
Lloh5:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_SMSC_WARN
LBB0_2:
	mov	x0, x19
	bl	_smsc911x_rx_multicast_update
	ldr	w1, [x20]
	mov	x0, x19
	bl	_smsc911x_mac_read
	ldr	w8, [x21]
	orr	w2, w8, w0
	ldr	w1, [x20]
	mov	x0, x19
	bl	_smsc911x_mac_write
	str	xzr, [x19, #8]
	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	_spin_unlock
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_CR,4,2                     ; @MAC_CR
	.comm	_MAC_CR_RXEN_,4,2               ; @MAC_CR_RXEN_
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Rx not stopped"

	.no_dead_strip	_smsc911x_rx_multicast_update_workaround
.subsections_via_symbols
