	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sonic_multicast_list
_sonic_multicast_list:                  ## @sonic_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, %r12
	callq	_netdev_priv
	movq	%rax, %r13
	movq	8(%r12), %r14
	movq	_SONIC_RCR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_SONIC_READ
	movq	_SONIC_RCR_PRO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_SONIC_RCR_AMC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %r15d
	orl	%edx, %r15d
	notl	%r15d
	andl	%eax, %r15d
	movq	_SONIC_RCR_BRD@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	(%r12), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	je	LBB0_2
## %bb.1:
	orl	%edx, %r15d
	jmp	LBB0_11
LBB0_2:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	jne	LBB0_4
## %bb.3:
	movl	4(%r12), %esi
	cmpl	$16, %esi
	jl	LBB0_5
LBB0_4:
	orl	%ecx, %r15d
LBB0_11:
	movq	_sonic_debug@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jl	LBB0_13
## %bb.12:
	leaq	L_.str.1(%rip), %rdi
	movl	%r15d, %esi
	callq	_printk
LBB0_13:
	movl	(%rbx), %edi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SONIC_WRITE                    ## TAILCALL
LBB0_5:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	_sonic_debug@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jl	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	callq	_printk
LBB0_7:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_sonic_set_cam_enable
	cmpl	$0, 4(%r12)
	jle	LBB0_10
## %bb.8:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	movq	(%r14), %r13
	movq	8(%r14), %r14
	movq	_SONIC_CD_CAP0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movzbl	(%r13), %ecx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_sonic_cda_put
	movq	_SONIC_CD_CAP1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movzbl	2(%r13), %ecx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_sonic_cda_put
	movq	_SONIC_CD_CAP2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movzbl	4(%r13), %ecx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_sonic_cda_put
	movq	%r12, %rdi
	callq	_sonic_get_cam_enable
	btsl	%ebx, %eax
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_sonic_set_cam_enable
	cmpl	4(%r12), %ebx
	jl	LBB0_9
LBB0_10:
	movq	_SONIC_CDC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$16, %esi
	callq	_SONIC_WRITE
	movq	_SONIC_CDP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movzwl	(%rax), %esi
	callq	_SONIC_WRITE
	movq	_SONIC_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SONIC_CR_LCAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SONIC_WRITE
	movq	_SONIC_RCR@GOTPCREL(%rip), %rbx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_SONIC_RCR,4,2                  ## @SONIC_RCR
	.comm	_SONIC_RCR_PRO,4,2              ## @SONIC_RCR_PRO
	.comm	_SONIC_RCR_AMC,4,2              ## @SONIC_RCR_AMC
	.comm	_SONIC_RCR_BRD,4,2              ## @SONIC_RCR_BRD
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_sonic_debug,4,2                ## @sonic_debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sonic_multicast_list: mc_count %d\n"

	.comm	_SONIC_CD_CAP0,4,2              ## @SONIC_CD_CAP0
	.comm	_SONIC_CD_CAP1,4,2              ## @SONIC_CD_CAP1
	.comm	_SONIC_CD_CAP2,4,2              ## @SONIC_CD_CAP2
	.comm	_SONIC_CDC,4,2                  ## @SONIC_CDC
	.comm	_SONIC_CDP,4,2                  ## @SONIC_CDP
	.comm	_SONIC_CMD,4,2                  ## @SONIC_CMD
	.comm	_SONIC_CR_LCAM,4,2              ## @SONIC_CR_LCAM
L_.str.1:                               ## @.str.1
	.asciz	"sonic_multicast_list: setting RCR=%x\n"

	.no_dead_strip	_sonic_multicast_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sonic_multicast_list
_sonic_multicast_list:                  ; @sonic_multicast_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x25, [x21, #8]
Lloh0:
	adrp	x23, _SONIC_RCR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SONIC_RCR@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_SONIC_READ
Lloh2:
	adrp	x8, _SONIC_RCR_PRO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SONIC_RCR_PRO@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x8]
Lloh5:
	adrp	x8, _SONIC_RCR_AMC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SONIC_RCR_AMC@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w10, w8, w9
	bic	w10, w0, w10
Lloh8:
	adrp	x11, _SONIC_RCR_BRD@GOTPAGE
Lloh9:
	ldr	x11, [x11, _SONIC_RCR_BRD@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
	orr	w19, w10, w11
	ldr	w10, [x21]
Lloh11:
	adrp	x11, _IFF_PROMISC@GOTPAGE
Lloh12:
	ldr	x11, [x11, _IFF_PROMISC@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
Lloh14:
	adrp	x12, _sonic_debug@GOTPAGE
Lloh15:
	ldr	x12, [x12, _sonic_debug@GOTPAGEOFF]
	tst	w11, w10
	b.eq	LBB0_2
; %bb.1:
	orr	w19, w19, w9
	b	LBB0_5
LBB0_2:
Lloh16:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w10
	b.ne	LBB0_4
; %bb.3:
	ldr	w1, [x21, #4]
	cmp	w1, #16
	b.lt	LBB0_8
LBB0_4:
	orr	w19, w19, w8
LBB0_5:
	ldr	w8, [x12]
	cmp	w8, #3
	b.lt	LBB0_7
; %bb.6:
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_printk
LBB0_7:
	ldr	w0, [x23]
	mov	x1, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_SONIC_WRITE
LBB0_8:
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w8, [x12]
	cmp	w8, #3
	b.lt	LBB0_10
; %bb.9:
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
LBB0_10:
	mov	w26, #1
	mov	x0, x21
	mov	w1, #1
	bl	_sonic_set_cam_enable
	ldr	w8, [x21, #4]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.11:
	mov	w22, #0
Lloh23:
	adrp	x27, _SONIC_CD_CAP0@GOTPAGE
Lloh24:
	ldr	x27, [x27, _SONIC_CD_CAP0@GOTPAGEOFF]
Lloh25:
	adrp	x28, _SONIC_CD_CAP1@GOTPAGE
Lloh26:
	ldr	x28, [x28, _SONIC_CD_CAP1@GOTPAGEOFF]
Lloh27:
	adrp	x24, _SONIC_CD_CAP2@GOTPAGE
Lloh28:
	ldr	x24, [x24, _SONIC_CD_CAP2@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	w22, w22, #1
	ldp	x20, x25, [x25]
	ldr	w2, [x27]
	ldrb	w3, [x20]
	mov	x0, x21
	mov	x1, x22
	bl	_sonic_cda_put
	ldr	w2, [x28]
	ldrb	w3, [x20, #2]
	mov	x0, x21
	mov	x1, x22
	bl	_sonic_cda_put
	ldr	w2, [x24]
	ldrb	w3, [x20, #4]
	mov	x0, x21
	mov	x1, x22
	bl	_sonic_cda_put
	mov	x0, x21
	bl	_sonic_get_cam_enable
	lsl	w8, w26, w22
	orr	w1, w0, w8
	mov	x0, x21
	bl	_sonic_set_cam_enable
	ldr	w8, [x21, #4]
	cmp	w22, w8
	b.lt	LBB0_12
LBB0_13:
Lloh29:
	adrp	x8, _SONIC_CDC@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SONIC_CDC@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	mov	w1, #16
	bl	_SONIC_WRITE
Lloh32:
	adrp	x8, _SONIC_CDP@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SONIC_CDP@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldrh	w1, [x8]
	bl	_SONIC_WRITE
Lloh35:
	adrp	x8, _SONIC_CMD@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SONIC_CMD@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x8, _SONIC_CR_LCAM@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SONIC_CR_LCAM@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	bl	_SONIC_WRITE
Lloh41:
	adrp	x12, _sonic_debug@GOTPAGE
Lloh42:
	ldr	x12, [x12, _sonic_debug@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh14, Lloh15
	.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	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_SONIC_RCR,4,2                  ; @SONIC_RCR
	.comm	_SONIC_RCR_PRO,4,2              ; @SONIC_RCR_PRO
	.comm	_SONIC_RCR_AMC,4,2              ; @SONIC_RCR_AMC
	.comm	_SONIC_RCR_BRD,4,2              ; @SONIC_RCR_BRD
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_sonic_debug,4,2                ; @sonic_debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sonic_multicast_list: mc_count %d\n"

	.comm	_SONIC_CD_CAP0,4,2              ; @SONIC_CD_CAP0
	.comm	_SONIC_CD_CAP1,4,2              ; @SONIC_CD_CAP1
	.comm	_SONIC_CD_CAP2,4,2              ; @SONIC_CD_CAP2
	.comm	_SONIC_CDC,4,2                  ; @SONIC_CDC
	.comm	_SONIC_CDP,4,2                  ; @SONIC_CDP
	.comm	_SONIC_CMD,4,2                  ; @SONIC_CMD
	.comm	_SONIC_CR_LCAM,4,2              ; @SONIC_CR_LCAM
l_.str.1:                               ; @.str.1
	.asciz	"sonic_multicast_list: setting RCR=%x\n"

	.no_dead_strip	_sonic_multicast_list
.subsections_via_symbols
