	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asix_set_multicast
_asix_set_multicast:                    ## @asix_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	%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, %r13
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_AX_DEFAULT_RX_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%r13), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_AX_RX_CTL_PRO@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.3:
	movq	8(%r13), %rax
	movq	_AX_MAX_MCAST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_5
LBB0_4:
	movq	_AX_RX_CTL_AMALL@GOTPCREL(%rip), %rax
LBB0_10:
	orl	(%rax), %r15d
LBB0_11:
	movq	_AX_CMD_WRITE_RX_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_asix_write_cmd_async           ## TAILCALL
LBB0_5:
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	16(%r13), %rbx
	movq	(%r14), %rdi
	movq	_AX_MCAST_FILTER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_memset
	cmpq	$0, 8(%r13)
	jle	LBB0_12
## %bb.7:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	_ether_crc
	movl	%eax, %ecx
	shrl	$26, %ecx
	andb	$7, %cl
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	movq	(%r14), %r9
	sarl	$29, %eax
	cltq
	orl	%edx, (%r9,%rax,4)
	movq	(%rbx), %rbx
	incq	%r12
	cmpq	%r12, 8(%r13)
	jg	LBB0_8
	jmp	LBB0_9
LBB0_12:
	movq	(%r14), %r9
LBB0_9:
	movq	_AX_CMD_WRITE_MULTI_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AX_MCAST_FILTER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_asix_write_cmd_async
	movq	_AX_RX_CTL_AM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_AX_DEFAULT_RX_CTL,4,2          ## @AX_DEFAULT_RX_CTL
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_AX_RX_CTL_PRO,4,2              ## @AX_RX_CTL_PRO
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_AX_MAX_MCAST,8,3               ## @AX_MAX_MCAST
	.comm	_AX_RX_CTL_AMALL,4,2            ## @AX_RX_CTL_AMALL
	.comm	_AX_MCAST_FILTER_SIZE,4,2       ## @AX_MCAST_FILTER_SIZE
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_AX_CMD_WRITE_MULTI_FILTER,4,2  ## @AX_CMD_WRITE_MULTI_FILTER
	.comm	_AX_RX_CTL_AM,4,2               ## @AX_RX_CTL_AM
	.comm	_AX_CMD_WRITE_RX_CTL,4,2        ## @AX_CMD_WRITE_RX_CTL
	.no_dead_strip	_asix_set_multicast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asix_set_multicast
_asix_set_multicast:                    ; @asix_set_multicast
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _AX_DEFAULT_RX_CTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AX_DEFAULT_RX_CTL@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	w8, [x21]
Lloh3:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _AX_RX_CTL_PRO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AX_RX_CTL_PRO@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
Lloh8:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x21, #8]
Lloh11:
	adrp	x9, _AX_MAX_MCAST@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AX_MAX_MCAST@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_7
LBB0_4:
Lloh14:
	adrp	x8, _AX_RX_CTL_AMALL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AX_RX_CTL_AMALL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	orr	w20, w8, w20
LBB0_6:
Lloh16:
	adrp	x8, _AX_CMD_WRITE_RX_CTL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AX_CMD_WRITE_RX_CTL@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	mov	w4, #0
	mov	x5, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_asix_write_cmd_async
LBB0_7:
	cbz	x8, LBB0_6
; %bb.8:
	ldr	x23, [x21, #16]
	ldr	x0, [x19]
Lloh19:
	adrp	x22, _AX_MCAST_FILTER_SIZE@GOTPAGE
Lloh20:
	ldr	x22, [x22, _AX_MCAST_FILTER_SIZE@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	w1, #0
	bl	_memset
	ldr	x8, [x21, #8]
	cmp	x8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x24, #0
Lloh21:
	adrp	x25, _ETH_ALEN@GOTPAGE
Lloh22:
	ldr	x25, [x25, _ETH_ALEN@GOTPAGEOFF]
	mov	w26, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25]
	ldr	w1, [x23, #8]
	bl	_ether_crc
	ubfx	w8, w0, #26, #3
	lsl	w8, w26, w8
	ldr	x5, [x19]
	asr	w9, w0, #29
	sbfiz	x9, x9, #2, #32
	ldr	w10, [x5, x9]
	orr	w8, w8, w10
	str	w8, [x5, x9]
	ldr	x23, [x23]
	add	x24, x24, #1
	ldr	x8, [x21, #8]
	cmp	x8, x24
	b.gt	LBB0_10
	b	LBB0_12
LBB0_11:
	ldr	x5, [x19]
LBB0_12:
Lloh23:
	adrp	x8, _AX_CMD_WRITE_MULTI_FILTER@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AX_CMD_WRITE_MULTI_FILTER@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	ldr	w4, [x22]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_asix_write_cmd_async
Lloh26:
	adrp	x8, _AX_RX_CTL_AM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AX_RX_CTL_AM@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_AX_DEFAULT_RX_CTL,4,2          ; @AX_DEFAULT_RX_CTL
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_AX_RX_CTL_PRO,4,2              ; @AX_RX_CTL_PRO
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_AX_MAX_MCAST,8,3               ; @AX_MAX_MCAST
	.comm	_AX_RX_CTL_AMALL,4,2            ; @AX_RX_CTL_AMALL
	.comm	_AX_MCAST_FILTER_SIZE,4,2       ; @AX_MCAST_FILTER_SIZE
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_AX_CMD_WRITE_MULTI_FILTER,4,2  ; @AX_CMD_WRITE_MULTI_FILTER
	.comm	_AX_RX_CTL_AM,4,2               ; @AX_RX_CTL_AM
	.comm	_AX_CMD_WRITE_RX_CTL,4,2        ; @AX_CMD_WRITE_RX_CTL
	.no_dead_strip	_asix_set_multicast
.subsections_via_symbols
