	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ethoc_set_multicast_list
_ethoc_set_multicast_list:              ## @ethoc_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_MODER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%rax, %rdi
	callq	_ethoc_read
	movq	$0, -32(%rbp)
	movl	(%r15), %ecx
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ecx, %edx
	movq	_MODER_LOOP@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, %edi
	orl	%eax, %edi
	notl	%esi
	andl	%eax, %esi
	testl	%edx, %edx
	cmovnel	%edi, %esi
	movq	_IFF_BROADCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ecx, %eax
	movq	_MODER_BRO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %edi
	notl	%edi
	andl	%esi, %edi
	orl	%edx, %esi
	testl	%eax, %eax
	cmovnel	%edi, %esi
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	movq	_MODER_PRO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %eax
	orl	%esi, %eax
	notl	%edx
	andl	%esi, %edx
	testl	%ecx, %ecx
	cmovnel	%eax, %edx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_ethoc_write
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$-1, %ebx
	movl	$-1, %edx
	testl	%eax, (%r15)
	jne	LBB0_5
## %bb.1:
	movq	8(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_ether_crc
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	shrl	$26, %ecx
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	shrl	$31, %eax
	orl	%edx, -32(%rbp,%rax,4)
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
## %bb.4:
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %ebx
	jmp	LBB0_5
LBB0_2:
	xorl	%ebx, %ebx
	xorl	%edx, %edx
LBB0_5:
	movq	_ETH_HASH0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ethoc_write
	movq	_ETH_HASH1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ethoc_write                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MODER,4,2                      ## @MODER
	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
	.comm	_MODER_LOOP,4,2                 ## @MODER_LOOP
	.comm	_IFF_BROADCAST,4,2              ## @IFF_BROADCAST
	.comm	_MODER_BRO,4,2                  ## @MODER_BRO
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_MODER_PRO,4,2                  ## @MODER_PRO
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_ETH_HASH0,4,2                  ## @ETH_HASH0
	.comm	_ETH_HASH1,4,2                  ## @ETH_HASH1
	.no_dead_strip	_ethoc_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 ethoc_set_multicast_list
_ethoc_set_multicast_list:              ; @ethoc_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
Lloh0:
	adrp	x21, _MODER@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MODER@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_ethoc_read
	str	xzr, [sp, #8]
Lloh2:
	adrp	x8, _IFF_LOOPBACK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IFF_LOOPBACK@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x10, _MODER_LOOP@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MODER_LOOP@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	orr	w11, w10, w0
	bic	w10, w0, w10
	tst	w8, w9
	csel	w8, w10, w11, eq
Lloh8:
	adrp	x10, _IFF_BROADCAST@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IFF_BROADCAST@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
Lloh11:
	adrp	x11, _MODER_BRO@GOTPAGE
Lloh12:
	ldr	x11, [x11, _MODER_BRO@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
	bic	w12, w8, w11
	orr	w8, w11, w8
	tst	w10, w9
	csel	w8, w8, w12, eq
Lloh14:
	adrp	x10, _IFF_PROMISC@GOTPAGE
Lloh15:
	ldr	x10, [x10, _IFF_PROMISC@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
Lloh17:
	adrp	x11, _MODER_PRO@GOTPAGE
Lloh18:
	ldr	x11, [x11, _MODER_PRO@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
	orr	w12, w11, w8
	bic	w8, w8, w11
	tst	w10, w9
	csel	w2, w8, w12, eq
	ldr	w1, [x21]
	mov	x0, x19
	bl	_ethoc_write
	ldr	w8, [x20]
Lloh20:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w20, #-1
	mov	w2, #-1
	b	LBB0_7
LBB0_2:
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_6
; %bb.3:
	mov	w21, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w1, w0, [x20]
	bl	_ether_crc
	lsr	w8, w0, #26
	lsl	w8, w21, w8
	lsr	w9, w0, #31
	add	x10, sp, #8
	bfi	x10, x9, #2, #1
	ldr	w9, [x10]
	orr	w8, w8, w9
	str	w8, [x10]
	ldr	x20, [x20, #8]
	cbnz	x20, LBB0_4
; %bb.5:
	ldp	w2, w20, [sp, #8]
	b	LBB0_7
LBB0_6:
	mov	w2, #0
LBB0_7:
Lloh23:
	adrp	x8, _ETH_HASH0@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ETH_HASH0@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ethoc_write
Lloh26:
	adrp	x8, _ETH_HASH1@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ETH_HASH1@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	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	_ethoc_write
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_MODER,4,2                      ; @MODER
	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
	.comm	_MODER_LOOP,4,2                 ; @MODER_LOOP
	.comm	_IFF_BROADCAST,4,2              ; @IFF_BROADCAST
	.comm	_MODER_BRO,4,2                  ; @MODER_BRO
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_MODER_PRO,4,2                  ; @MODER_PRO
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_ETH_HASH0,4,2                  ; @ETH_HASH0
	.comm	_ETH_HASH1,4,2                  ; @ETH_HASH1
	.no_dead_strip	_ethoc_set_multicast_list
.subsections_via_symbols
