	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lance_set_multicast
_lance_set_multicast:                   ## @lance_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	8(%rbx), %r15
	movq	24(%rax), %r12
	movq	%rbx, %rdi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movq	(%r14), %rax
	cmpq	8(%r14), %rax
	jne	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	callq	_netif_stop_queue
	leaq	4(%r12), %rdi
	movq	_LE_CSR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_writereg
	movq	_LE_C0_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_writereg
	movq	%rbx, %rdi
	callq	_lance_init_ring
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_LE_MO_PROM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.4:
	movq	_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r14), %edx
	movq	%r15, %rdi
	callq	_lib_ptr
	orl	%r12d, (%rax)
	jmp	LBB0_6
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	addq	$20, %r14
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	$1374389535, %rcx, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$35, %rcx
	addl	%edx, %ecx
	movslq	%ecx, %rsi
	addq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_mod_timer
	jmp	LBB0_7
LBB0_5:
	notl	%r12d
	movq	_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r14), %edx
	movq	%r15, %rdi
	callq	_lib_ptr
	andl	%r12d, (%rax)
	movq	%rbx, %rdi
	callq	_lance_load_multicast
LBB0_6:
	movq	%r14, %rdi
	callq	_load_csrs
	movq	%r14, %rdi
	callq	_init_restart_lance
LBB0_7:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_wake_queue               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_LE_CSR0,4,2                    ## @LE_CSR0
	.comm	_LE_C0_STOP,4,2                 ## @LE_C0_STOP
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_LE_MO_PROM,4,2                 ## @LE_MO_PROM
	.comm	_mode,4,2                       ## @mode
	.no_dead_strip	_lance_set_multicast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lance_set_multicast
_lance_set_multicast:                   ; @lance_set_multicast
	.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	_netdev_priv
	mov	x20, x0
	ldr	x21, [x19, #8]
	ldr	x22, [x0, #24]
	mov	x0, x19
	bl	_netif_running
	cbz	w0, LBB0_4
; %bb.1:
	ldp	x8, x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_netif_stop_queue
	add	x0, x22, #4
Lloh0:
	adrp	x8, _LE_CSR0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LE_CSR0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_writereg
Lloh3:
	adrp	x8, _LE_C0_STOP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LE_C0_STOP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_writereg
	mov	x0, x19
	bl	_lance_init_ring
Lloh6:
	adrp	x8, _IFF_PROMISC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IFF_PROMISC@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x10, _LE_MO_PROM@GOTPAGE
Lloh10:
	ldr	x10, [x10, _LE_MO_PROM@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x10]
	tst	w8, w9
	b.eq	LBB0_6
; %bb.3:
Lloh12:
	adrp	x8, _mode@GOTPAGE
Lloh13:
	ldr	x8, [x8, _mode@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x20, #16]
	mov	x0, x21
	bl	_lib_ptr
	ldr	w8, [x0]
	orr	w8, w8, w22
	str	w8, [x0]
	b	LBB0_7
LBB0_4:
	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
LBB0_5:
	add	x0, x20, #20
Lloh15:
	adrp	x8, _jiffies@GOTPAGE
Lloh16:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _HZ@GOTPAGE
Lloh19:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh20:
	ldrsw	x9, [x9]
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	asr	x9, x9, #35
	add	w9, w9, w10
	add	x1, x8, w9, sxtw
	bl	_mod_timer
	b	LBB0_8
LBB0_6:
Lloh21:
	adrp	x8, _mode@GOTPAGE
Lloh22:
	ldr	x8, [x8, _mode@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w2, [x20, #16]
	mov	x0, x21
	bl	_lib_ptr
	ldr	w8, [x0]
	bic	w8, w8, w22
	str	w8, [x0]
	mov	x0, x19
	bl	_lance_load_multicast
LBB0_7:
	mov	x0, x20
	bl	_load_csrs
	mov	x0, x20
	bl	_init_restart_lance
LBB0_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	_netif_wake_queue
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_LE_CSR0,4,2                    ; @LE_CSR0
	.comm	_LE_C0_STOP,4,2                 ; @LE_C0_STOP
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_LE_MO_PROM,4,2                 ; @LE_MO_PROM
	.comm	_mode,4,2                       ; @mode
	.no_dead_strip	_lance_set_multicast
.subsections_via_symbols
