	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enc28j60_set_multicast_list
_enc28j60_set_multicast_list:           ## @enc28j60_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, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	(%rax), %r15d
	movl	(%r14), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_netif_msg_link
	movq	_RXFILTER_PROMISC@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	leaq	L_.str(%rip), %rsi
LBB0_9:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_info
	jmp	LBB0_10
LBB0_3:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %r13
	testl	%eax, (%r13)
	je	LBB0_4
LBB0_5:
	movq	%rbx, %rdi
	callq	_netif_msg_link
	movq	_RXFILTER_MULTI@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movl	(%r13), %eax
	andl	(%r14), %eax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_info
LBB0_10:
	movl	(%r12), %eax
	movl	%eax, (%rbx)
	cmpl	%eax, %r15d
	jne	LBB0_12
## %bb.11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	addq	$4, %rbx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
LBB0_4:
	movq	%r14, %rdi
	callq	_netdev_mc_empty
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:
	movq	%rbx, %rdi
	callq	_netif_msg_link
	movq	_RXFILTER_NORMAL@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"promiscuous mode\n"

	.comm	_RXFILTER_PROMISC,4,2           ## @RXFILTER_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
L_.str.1:                               ## @.str.1
	.asciz	"%smulticast mode\n"

L_.str.2:                               ## @.str.2
	.asciz	"all-"

L_.str.3:                               ## @.str.3
	.space	1

	.comm	_RXFILTER_MULTI,4,2             ## @RXFILTER_MULTI
L_.str.4:                               ## @.str.4
	.asciz	"normal mode\n"

	.comm	_RXFILTER_NORMAL,4,2            ## @RXFILTER_NORMAL
	.no_dead_strip	_enc28j60_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 enc28j60_set_multicast_list
_enc28j60_set_multicast_list:           ; @enc28j60_set_multicast_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	w21, [x0]
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_netif_msg_link
	cbz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_info
LBB0_3:
Lloh5:
	adrp	x8, _RXFILTER_PROMISC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RXFILTER_PROMISC@GOTPAGEOFF]
	b	LBB0_12
LBB0_4:
Lloh7:
	adrp	x22, _IFF_ALLMULTI@GOTPAGE
Lloh8:
	ldr	x22, [x22, _IFF_ALLMULTI@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_netif_msg_link
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w8, [x20]
	ldr	w9, [x22]
Lloh9:
	adrp	x10, l_.str.2@PAGE
Lloh10:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh11:
	adrp	x11, l_.str.3@PAGE
Lloh12:
	add	x11, x11, l_.str.3@PAGEOFF
	tst	w9, w8
	csel	x8, x11, x10, eq
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_netdev_info
LBB0_7:
Lloh15:
	adrp	x8, _RXFILTER_MULTI@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RXFILTER_MULTI@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
	mov	x0, x20
	bl	_netdev_mc_empty
	cbz	w0, LBB0_5
; %bb.9:
	mov	x0, x19
	bl	_netif_msg_link
	cbz	x0, LBB0_11
; %bb.10:
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_netdev_info
LBB0_11:
Lloh19:
	adrp	x8, _RXFILTER_NORMAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RXFILTER_NORMAL@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	str	w8, [x19]
	cmp	w21, w8
	b.ne	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_14:
	add	x0, x19, #4
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_schedule_work
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"promiscuous mode\n"

	.comm	_RXFILTER_PROMISC,4,2           ; @RXFILTER_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
l_.str.1:                               ; @.str.1
	.asciz	"%smulticast mode\n"

l_.str.2:                               ; @.str.2
	.asciz	"all-"

l_.str.3:                               ; @.str.3
	.space	1

	.comm	_RXFILTER_MULTI,4,2             ; @RXFILTER_MULTI
l_.str.4:                               ; @.str.4
	.asciz	"normal mode\n"

	.comm	_RXFILTER_NORMAL,4,2            ; @RXFILTER_NORMAL
	.no_dead_strip	_enc28j60_set_multicast_list
.subsections_via_symbols
