	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inetdev_destroy
_inetdev_destroy:                       ## @inetdev_destroy
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_ASSERT_RTNL
	movq	24(%r15), %r14
	movl	$1, (%r15)
	movq	%r15, %rdi
	callq	_ip_mc_destroy_dev
	movq	16(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	leaq	16(%r15), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_inet_del_ifa
	movq	%rbx, %rdi
	callq	_inet_free_ifa
	movq	16(%r15), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_3:
	movq	$0, (%r14)
	movq	%r15, %rdi
	callq	_devinet_sysctl_unregister
	movl	8(%r15), %esi
	movq	_arp_tbl@GOTPCREL(%rip), %rdi
	callq	_neigh_parms_release
	movq	%r14, %rdi
	callq	_arp_ifdown
	addq	$4, %r15
	movq	_in_dev_rcu_put@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_call_rcu                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_arp_tbl,4,2                    ## @arp_tbl
	.comm	_in_dev_rcu_put,4,2             ## @in_dev_rcu_put
	.no_dead_strip	_inetdev_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inetdev_destroy
_inetdev_destroy:                       ; @inetdev_destroy
	.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	_ASSERT_RTNL
	ldr	x20, [x19, #24]
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x19
	bl	_ip_mc_destroy_dev
	mov	x21, x19
	ldr	x22, [x21, #16]!
	cbz	x22, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_inet_del_ifa
	mov	x0, x22
	bl	_inet_free_ifa
	ldr	x22, [x19, #16]
	cbnz	x22, LBB0_1
LBB0_2:
	str	xzr, [x20]
	mov	x0, x19
	bl	_devinet_sysctl_unregister
	ldr	w1, [x19, #8]
Lloh0:
	adrp	x0, _arp_tbl@GOTPAGE
Lloh1:
	ldr	x0, [x0, _arp_tbl@GOTPAGEOFF]
	bl	_neigh_parms_release
	mov	x0, x20
	bl	_arp_ifdown
	add	x0, x19, #4
Lloh2:
	adrp	x8, _in_dev_rcu_put@GOTPAGE
Lloh3:
	ldr	x8, [x8, _in_dev_rcu_put@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	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	_call_rcu
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_arp_tbl,4,2                    ; @arp_tbl
	.comm	_in_dev_rcu_put,4,2             ; @in_dev_rcu_put
	.no_dead_strip	_inetdev_destroy
.subsections_via_symbols
