	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsa_slave_close
_dsa_slave_close:                       ## @dsa_slave_close
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dev_mc_unsync
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dev_unicast_unsync
	movl	(%rbx), %eax
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_dev_set_allmulti
	movl	(%rbx), %eax
LBB0_2:
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_dev_set_promiscuity
LBB0_4:
	movl	4(%rbx), %edi
	movl	4(%r14), %esi
	callq	_compare_ether_addr
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	_dev_unicast_delete
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.no_dead_strip	_dsa_slave_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsa_slave_close
_dsa_slave_close:                       ; @dsa_slave_close
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_netdev_priv
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x20, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_dev_mc_unsync
	mov	x0, x20
	mov	x1, x19
	bl	_dev_unicast_unsync
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #-1
	bl	_dev_set_allmulti
	ldr	w8, [x19]
LBB0_2:
Lloh3:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x20
	mov	w1, #-1
	bl	_dev_set_promiscuity
LBB0_4:
	ldr	w0, [x19, #4]
	ldr	w1, [x20, #4]
	bl	_compare_ether_addr
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_dev_unicast_delete
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.no_dead_strip	_dsa_slave_close
.subsections_via_symbols
