	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bundle_Destroy                 ## -- Begin function bundle_Destroy
	.p2align	4, 0x90
_bundle_Destroy:                        ## @bundle_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	addq	$32, %rdi
	callq	_timer_Stop
	leaq	28(%rbx), %rdi
	callq	_timer_Stop
	leaq	12(%rbx), %r14
	movq	%r14, %rdi
	callq	_mp_Down
	movq	(%rbx), %rdi
	movq	_IFACE_CLEAR_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_iface_Clear
	movq	%rbx, %rdi
	callq	_bundle_DownInterface
	leaq	24(%rbx), %rdi
	callq	_radius_Destroy
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_datalink_Destroy
	testq	%rax, %rax
	jne	LBB0_1
LBB0_3:
	movq	%r14, %rdi
	callq	_ncp_Destroy
	movl	8(%rbx), %edi
	callq	_close
	movq	%rbx, %rdi
	callq	_bundle_UnlockTun
	movq	_EX_ERRDEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bundle_Notify
	movq	(%rbx), %rdi
	callq	_iface_Destroy
	movq	$0, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFACE_CLEAR_ALL,4,2            ## @IFACE_CLEAR_ALL
	.comm	_EX_ERRDEAD,4,2                 ## @EX_ERRDEAD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bundle_Destroy                 ; -- Begin function bundle_Destroy
	.p2align	2
_bundle_Destroy:                        ; @bundle_Destroy
	.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
	add	x0, x0, #32
	bl	_timer_Stop
	add	x0, x19, #28
	bl	_timer_Stop
	add	x20, x19, #12
	mov	x0, x20
	bl	_mp_Down
	ldr	x0, [x19]
Lloh0:
	adrp	x8, _IFACE_CLEAR_ALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFACE_CLEAR_ALL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x1, x20
	mov	w2, #0
	bl	_iface_Clear
	mov	x0, x19
	bl	_bundle_DownInterface
	add	x0, x19, #24
	bl	_radius_Destroy
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	bl	_datalink_Destroy
	cbnz	x0, LBB0_1
LBB0_2:
	mov	x0, x20
	bl	_ncp_Destroy
	ldr	w0, [x19, #8]
	bl	_close
	mov	x0, x19
	bl	_bundle_UnlockTun
Lloh3:
	adrp	x8, _EX_ERRDEAD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EX_ERRDEAD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bundle_Notify
	ldr	x0, [x19]
	bl	_iface_Destroy
	str	xzr, [x19]
	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	_IFACE_CLEAR_ALL,4,2            ; @IFACE_CLEAR_ALL
	.comm	_EX_ERRDEAD,4,2                 ; @EX_ERRDEAD
.subsections_via_symbols
