	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gem_set_multicast
_gem_set_multicast:                     ## @gem_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, %rbx
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	%rbx, %rdi
	callq	_netif_device_present
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	cmpq	$0, 24(%r12)
	jne	LBB0_9
## %bb.3:
	xorl	%edi, %edi
	cmpl	$0, 16(%r12)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_4
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_MAC_RXCFG@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	addq	8(%r12), %rdi
	callq	_readl
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_gem_setup_multicast
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, (%r12)
	movq	_MAC_RXCFG_ENAB@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	notl	%edi
	andl	%r14d, %edi
	movq	(%r13), %rsi
	addq	8(%r12), %rsi
	callq	_writel
	movq	(%r13), %rdi
	addq	8(%r12), %rdi
	callq	_readl
	testl	%eax, (%rbx)
	je	LBB0_8
## %bb.5:
	movl	$-9999, %r15d                   ## imm = 0xD8F1
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	$10, %edi
	callq	_udelay
	movq	(%r13), %rdi
	addq	8(%r12), %rdi
	callq	_readl
	testl	%eax, (%rbx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leal	1(%r15), %eax
	testl	%r15d, %r15d
	movl	%eax, %r15d
	jne	LBB0_6
LBB0_8:
	movq	_MAC_RXCFG_PROM@GOTPCREL(%rip), %rax
	movq	_MAC_RXCFG_HFE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r14d
	orl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	movq	(%r13), %rsi
	addq	8(%r12), %rsi
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_RXCFG,8,3                  ## @MAC_RXCFG
	.comm	_MAC_RXCFG_ENAB,4,2             ## @MAC_RXCFG_ENAB
	.comm	_MAC_RXCFG_PROM,4,2             ## @MAC_RXCFG_PROM
	.comm	_MAC_RXCFG_HFE,4,2              ## @MAC_RXCFG_HFE
	.comm	_MAC_RXCFG_SFCS,4,2             ## @MAC_RXCFG_SFCS
	.no_dead_strip	_gem_set_multicast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gem_set_multicast
_gem_set_multicast:                     ; @gem_set_multicast
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	mov	x0, x20
	bl	_netif_running
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_netif_device_present
	cbz	w0, LBB0_4
; %bb.2:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	w8, [x19, #16]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_5
LBB0_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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x22, _MAC_RXCFG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MAC_RXCFG@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
	mov	x20, x0
	mov	x0, x19
	bl	_gem_setup_multicast
	mov	x21, x0
Lloh2:
	adrp	x23, _MAC_RXCFG_ENAB@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MAC_RXCFG_ENAB@GOTPAGEOFF]
	str	w0, [x19]
	ldr	w8, [x23]
	bic	w0, w20, w8
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_8
; %bb.6:
	mov	w24, #-9999
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #10
	bl	_udelay
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
	ldr	w8, [x23]
	and	w8, w8, w0
	cmp	w8, #0
	ccmp	w24, #0, #4, ne
	add	w24, w24, #1
	b.ne	LBB0_7
LBB0_8:
Lloh4:
	adrp	x8, _MAC_RXCFG_PROM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MAC_RXCFG_PROM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _MAC_RXCFG_HFE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MAC_RXCFG_HFE@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w8, w20, w8
	orr	w0, w8, w21
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	add	x1, x9, x8
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_RXCFG,8,3                  ; @MAC_RXCFG
	.comm	_MAC_RXCFG_ENAB,4,2             ; @MAC_RXCFG_ENAB
	.comm	_MAC_RXCFG_PROM,4,2             ; @MAC_RXCFG_PROM
	.comm	_MAC_RXCFG_HFE,4,2              ; @MAC_RXCFG_HFE
	.comm	_MAC_RXCFG_SFCS,4,2             ; @MAC_RXCFG_SFCS
	.no_dead_strip	_gem_set_multicast
.subsections_via_symbols
