	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amd8111e_set_multicast_list
_amd8111e_set_multicast_list:           ## @amd8111e_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_4
## %bb.1:
	movq	_VAL2@GOTPCREL(%rip), %rax
	movq	_PROM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_CMD2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
LBB0_4:
	movq	_PROM@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_CMD2@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_6
## %bb.5:
	movl	4(%rbx), %eax
	movq	_MAX_FILTER_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_8
LBB0_6:
	movl	$-1, -56(%rbp)
	movq	8(%rbx), %rax
	movq	%rax, 8(%r14)
	movq	_OPTION_MULTICAST_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r14)
	movq	_LADRF@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.7:
	movl	$-1, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_amd8111e_writeq                ## TAILCALL
LBB0_8:
	testl	%eax, %eax
	je	LBB0_9
## %bb.11:
	movq	_OPTION_MULTICAST_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 16(%r14)
	movq	8(%rbx), %rcx
	movq	%rcx, 8(%r14)
	movq	$0, -56(%rbp)
	movq	8(%rbx), %r12
	testq	%r12, %r12
	je	LBB0_12
## %bb.13:
	testl	%eax, %eax
	jle	LBB0_17
## %bb.14:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	callq	_ether_crc_le
                                        ## 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, -56(%rbp,%rax,4)
	movq	8(%r12), %r12
	testq	%r12, %r12
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	incl	%r13d
	cmpl	4(%rbx), %r13d
	jl	LBB0_15
LBB0_17:
	movl	-56(%rbp), %edi
	jmp	LBB0_18
LBB0_9:
	movq	$0, 8(%r14)
	movq	_OPTION_MULTICAST_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 16(%r14)
	movq	_LADRF@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	xorl	%edi, %edi
	callq	_amd8111e_writeq
	movq	(%r15), %rsi
	addq	(%r14), %rsi
	movl	(%r12), %edi
	jmp	LBB0_2
LBB0_12:
	xorl	%edi, %edi
LBB0_18:
	movq	_LADRF@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_amd8111e_writeq
	movq	(%r15), %rdi
	addq	(%r14), %rdi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_readl                          ## TAILCALL
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_VAL2,4,2                       ## @VAL2
	.comm	_PROM,4,2                       ## @PROM
	.comm	_CMD2,8,3                       ## @CMD2
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_MAX_FILTER_SIZE,4,2            ## @MAX_FILTER_SIZE
	.comm	_OPTION_MULTICAST_ENABLE,4,2    ## @OPTION_MULTICAST_ENABLE
	.comm	_LADRF,8,3                      ## @LADRF
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_amd8111e_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 amd8111e_set_multicast_list
_amd8111e_set_multicast_list:           ; @amd8111e_set_multicast_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x0
	bl	_netdev_priv
	mov	x19, 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_3
; %bb.1:
Lloh3:
	adrp	x8, _VAL2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VAL2@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _PROM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PROM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _CMD2@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CMD2@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
LBB0_2:
	add	x1, x9, x8
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_writel
LBB0_3:
Lloh12:
	adrp	x22, _PROM@GOTPAGE
Lloh13:
	ldr	x22, [x22, _PROM@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	x8, [x19]
Lloh14:
	adrp	x21, _CMD2@GOTPAGE
Lloh15:
	ldr	x21, [x21, _CMD2@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x20]
Lloh16:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.4:
	ldr	w8, [x20, #4]
Lloh19:
	adrp	x9, _MAX_FILTER_SIZE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MAX_FILTER_SIZE@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	cmp	w8, w9
	b.le	LBB0_6
LBB0_5:
	mov	w8, #-1
	str	w8, [sp, #8]
	ldr	x8, [x20, #8]
Lloh22:
	adrp	x9, _OPTION_MULTICAST_ENABLE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _OPTION_MULTICAST_ENABLE@GOTPAGEOFF]
	str	x8, [x19, #8]
Lloh24:
	ldr	w8, [x9]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
	ldr	x8, [x19]
Lloh25:
	adrp	x9, _LADRF@GOTPAGE
Lloh26:
	ldr	x9, [x9, _LADRF@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #-1
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_amd8111e_writeq
LBB0_6:
	cbz	w8, LBB0_13
; %bb.7:
Lloh28:
	adrp	x9, _OPTION_MULTICAST_ENABLE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _OPTION_MULTICAST_ENABLE@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	ldr	w10, [x19, #16]
	orr	w9, w10, w9
	str	w9, [x19, #16]
	ldr	x9, [x20, #8]
	str	x9, [x19, #8]
	str	xzr, [sp, #8]
	ldr	x22, [x20, #8]
	cbz	x22, LBB0_14
; %bb.8:
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.9:
	mov	w23, #0
Lloh31:
	adrp	x24, _ETH_ALEN@GOTPAGE
Lloh32:
	ldr	x24, [x24, _ETH_ALEN@GOTPAGEOFF]
	mov	w25, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	ldr	w1, [x22]
	bl	_ether_crc_le
	lsr	w8, w0, #26
	lsl	w8, w25, 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	x22, [x22, #8]
	cbz	x22, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w23, w23, #1
	ldr	w8, [x20, #4]
	cmp	w23, w8
	b.lt	LBB0_10
LBB0_12:
	ldr	w0, [sp, #8]
	b	LBB0_15
LBB0_13:
	str	xzr, [x19, #8]
Lloh33:
	adrp	x8, _OPTION_MULTICAST_ENABLE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _OPTION_MULTICAST_ENABLE@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	bic	w8, w9, w8
	str	w8, [x19, #16]
	ldr	x8, [x19]
Lloh36:
	adrp	x9, _LADRF@GOTPAGE
Lloh37:
	ldr	x9, [x9, _LADRF@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_amd8111e_writeq
	ldr	w0, [x22]
	ldr	x8, [x19]
	ldr	x9, [x21]
	b	LBB0_2
LBB0_14:
	mov	w0, #0
LBB0_15:
	ldr	x8, [x19]
Lloh39:
	adrp	x9, _LADRF@GOTPAGE
Lloh40:
	ldr	x9, [x9, _LADRF@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_amd8111e_writeq
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x0, x9, x8
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_readl
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_VAL2,4,2                       ; @VAL2
	.comm	_PROM,4,2                       ; @PROM
	.comm	_CMD2,8,3                       ; @CMD2
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_MAX_FILTER_SIZE,4,2            ; @MAX_FILTER_SIZE
	.comm	_OPTION_MULTICAST_ENABLE,4,2    ; @OPTION_MULTICAST_ENABLE
	.comm	_LADRF,8,3                      ; @LADRF
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_amd8111e_set_multicast_list
.subsections_via_symbols
