	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpsw_ndo_set_rx_mode
_cpsw_ndo_set_rx_mode:                  ## @cpsw_ndo_set_rx_mode
	.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, %rbx
	callq	_netdev_priv
	movq	8(%rax), %r15
	cmpq	$0, 8(%r15)
	je	LBB0_1
## %bb.2:
	movl	(%rax), %r14d
	incl	%r14d
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %r14d
LBB0_3:
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_cpsw_set_promiscious
	movl	(%r15), %edi
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cpsw_ale_set_allmulti          ## TAILCALL
LBB0_5:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_cpsw_set_promiscious
	movl	(%r15), %edi
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	(%rbx), %esi
	movl	%r14d, %edx
	callq	_cpsw_ale_set_allmulti
	leaq	4(%rbx), %rdi
	movq	_cpsw_add_mc_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_cpsw_del_mc_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___hw_addr_ref_sync_dev         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_cpsw_add_mc_addr,4,2           ## @cpsw_add_mc_addr
	.comm	_cpsw_del_mc_addr,4,2           ## @cpsw_del_mc_addr
	.no_dead_strip	_cpsw_ndo_set_rx_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpsw_ndo_set_rx_mode
_cpsw_ndo_set_rx_mode:                  ; @cpsw_ndo_set_rx_mode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	bl	_netdev_priv
	ldr	x21, [x0, #8]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x0]
	add	w20, w8, #1
	b	LBB0_3
LBB0_2:
	mov	w20, #-1
LBB0_3:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x19
	mov	w1, #1
	bl	_cpsw_set_promiscious
	ldr	w0, [x21]
Lloh3:
	adrp	x8, _IFF_ALLMULTI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_cpsw_ale_set_allmulti
LBB0_5:
	mov	x0, x19
	mov	w1, #0
	bl	_cpsw_set_promiscious
	ldr	w0, [x21]
	mov	x21, x19
	ldr	w8, [x21], #4
Lloh6:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w1, w9, w8
	mov	x2, x20
	bl	_cpsw_ale_set_allmulti
Lloh9:
	adrp	x8, _cpsw_add_mc_addr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _cpsw_add_mc_addr@GOTPAGEOFF]
Lloh11:
	adrp	x9, _cpsw_del_mc_addr@GOTPAGE
Lloh12:
	ldr	x9, [x9, _cpsw_del_mc_addr@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	ldr	w3, [x9]
	mov	x0, x21
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	___hw_addr_ref_sync_dev
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_cpsw_add_mc_addr,4,2           ; @cpsw_add_mc_addr
	.comm	_cpsw_del_mc_addr,4,2           ; @cpsw_del_mc_addr
	.no_dead_strip	_cpsw_ndo_set_rx_mode
.subsections_via_symbols
