	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macvlan_stop
_macvlan_stop:                          ## @macvlan_stop
	.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, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	movq	8(%rax), %rsi
	movq	16(%rax), %rbx
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	16(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	$0, 8(%r15)
LBB0_2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_dev_uc_unsync
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_dev_mc_unsync
	movl	4(%r15), %edi
	callq	_macvlan_passthru
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_MACVLAN_FLAG_NOPROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	jne	LBB0_10
## %bb.4:
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_dev_set_promiscuity
	jmp	LBB0_10
LBB0_5:
	movl	(%r14), %eax
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_dev_set_allmulti
	movl	(%r14), %eax
LBB0_7:
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_dev_set_promiscuity
LBB0_9:
	movl	8(%r14), %esi
	movq	%rbx, %rdi
	callq	_dev_uc_del
LBB0_10:
	xorl	%esi, %esi
	cmpl	$0, 4(%r14)
	sete	%sil
	movq	%r15, %rdi
	callq	_macvlan_hash_del
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MACVLAN_FLAG_NOPROMISC,4,2     ## @MACVLAN_FLAG_NOPROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.no_dead_strip	_macvlan_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macvlan_stop
_macvlan_stop:                          ; @macvlan_stop
	.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
	mov	x20, x0
	ldp	x1, x21, [x0, #8]
	cbz	x1, LBB0_2
; %bb.1:
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
	mov	x0, x21
	blr	x8
	str	xzr, [x20, #8]
LBB0_2:
	mov	x0, x21
	mov	x1, x19
	bl	_dev_uc_unsync
	mov	x0, x21
	mov	x1, x19
	bl	_dev_mc_unsync
	ldr	w0, [x20, #4]
	bl	_macvlan_passthru
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _MACVLAN_FLAG_NOPROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MACVLAN_FLAG_NOPROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_10
; %bb.4:
	mov	x0, x21
	mov	w1, #-1
	bl	_dev_set_promiscuity
	b	LBB0_10
LBB0_5:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x21
	mov	w1, #-1
	bl	_dev_set_allmulti
	ldr	w8, [x19]
LBB0_7:
Lloh6:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x21
	mov	w1, #-1
	bl	_dev_set_promiscuity
LBB0_9:
	ldr	w1, [x19, #8]
	mov	x0, x21
	bl	_dev_uc_del
LBB0_10:
	ldr	w8, [x19, #4]
	cmp	w8, #0
	cset	w1, eq
	mov	x0, x20
	bl	_macvlan_hash_del
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MACVLAN_FLAG_NOPROMISC,4,2     ; @MACVLAN_FLAG_NOPROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.no_dead_strip	_macvlan_stop
.subsections_via_symbols
