	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lance_set_multicast            ## -- Begin function lance_set_multicast
	.p2align	4, 0x90
_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, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	16(%rax), %r12
	movq	%r14, %rdi
	callq	_netif_queue_stopped
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_netif_stop_queue
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_schedule
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	jne	LBB0_2
## %bb.4:
	movq	_LE_CSR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_WRITERAP
	movq	_LE_C0_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_WRITERDP
	movq	%r14, %rdi
	callq	_lance_init_ring
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_LE_MO_PROM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, (%r14)
	je	LBB0_6
## %bb.5:
	orl	%eax, (%r12)
	jmp	LBB0_7
LBB0_6:
	notl	%eax
	andl	%eax, (%r12)
	movq	%r14, %rdi
	callq	_lance_load_multicast
LBB0_7:
	movq	%rbx, %rdi
	callq	_load_csrs
	movq	%rbx, %rdi
	callq	_init_restart_lance
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_start_queue              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lance_set_multicast            ; -- Begin function lance_set_multicast
	.p2align	2
_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	x22, [x0, #16]
	mov	x0, x19
	bl	_netif_queue_stopped
	mov	x21, x0
	cbnz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_netif_stop_queue
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_schedule
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.4:
Lloh0:
	adrp	x8, _LE_CSR0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LE_CSR0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_WRITERAP
Lloh3:
	adrp	x8, _LE_C0_STOP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LE_C0_STOP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_WRITERDP
	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	w10, [x8]
Lloh9:
	adrp	x8, _LE_MO_PROM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LE_MO_PROM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w10, w9
	b.eq	LBB0_6
; %bb.5:
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
	b	LBB0_7
LBB0_6:
	ldr	w9, [x22]
	bic	w8, w9, w8
	str	w8, [x22]
	mov	x0, x19
	bl	_lance_load_multicast
LBB0_7:
	mov	x0, x20
	bl	_load_csrs
	mov	x0, x20
	bl	_init_restart_lance
	cbz	w21, LBB0_9
; %bb.8:
	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_9:
	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_start_queue
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.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
.subsections_via_symbols
