	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bridge_clone_destroy
_bridge_clone_destroy:                  ## @bridge_clone_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	movq	%r15, %rdi
	callq	_BRIDGE_LOCK
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_bridge_stop
	movq	_IFF_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r14)
	leaq	12(%r15), %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_LIST_FIRST
	testq	%rax, %rax
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_bridge_delete_member
	jmp	LBB0_1
LBB0_2:
	leaq	8(%r15), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_LIST_FIRST
	movq	%r15, %rdi
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rsi
	callq	_bridge_delete_span
	jmp	LBB0_4
LBB0_5:
	callq	_bridge_rtable_fini
	movq	%r15, %rdi
	callq	_BRIDGE_UNLOCK
	leaq	4(%r15), %rdi
	callq	_callout_drain
	xorl	%eax, %eax
	callq	_BRIDGE_LIST_LOCK
	movq	_sc_list@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_LIST_REMOVE
	xorl	%eax, %eax
	callq	_BRIDGE_LIST_UNLOCK
	movq	%r15, %rdi
	callq	_bstp_detach
	movq	%r14, %rdi
	callq	_ether_ifdetach
	movq	%r14, %rdi
	callq	_if_free
	movq	%r15, %rdi
	callq	_BRIDGE_LOCK_DESTROY
	movq	_M_DEVBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_sc_list,4,2                    ## @sc_list
	.comm	_M_DEVBUF,4,2                   ## @M_DEVBUF
	.no_dead_strip	_bridge_clone_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bridge_clone_destroy
_bridge_clone_destroy:                  ; @bridge_clone_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	x20, x0
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_BRIDGE_LOCK
	mov	x0, x20
	mov	w1, #1
	bl	_bridge_stop
Lloh0:
	adrp	x8, _IFF_UP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFF_UP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	add	x21, x19, #12
	mov	x0, x21
	bl	_LIST_FIRST
	cbz	x0, LBB0_3
; %bb.1:
	mov	x1, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w2, #0
	bl	_bridge_delete_member
	mov	x0, x21
	bl	_LIST_FIRST
	mov	x1, x0
	cbnz	x0, LBB0_2
LBB0_3:
	add	x21, x19, #8
	mov	x0, x21
	bl	_LIST_FIRST
	cbz	x0, LBB0_6
; %bb.4:
	mov	x1, x0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_bridge_delete_span
	mov	x0, x21
	bl	_LIST_FIRST
	mov	x1, x0
	cbnz	x0, LBB0_5
LBB0_6:
	mov	x0, x19
	bl	_bridge_rtable_fini
	mov	x0, x19
	bl	_BRIDGE_UNLOCK
	add	x0, x19, #4
	bl	_callout_drain
	bl	_BRIDGE_LIST_LOCK
Lloh3:
	adrp	x8, _sc_list@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sc_list@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_LIST_REMOVE
	bl	_BRIDGE_LIST_UNLOCK
	mov	x0, x19
	bl	_bstp_detach
	mov	x0, x20
	bl	_ether_ifdetach
	mov	x0, x20
	bl	_if_free
	mov	x0, x19
	bl	_BRIDGE_LOCK_DESTROY
Lloh6:
	adrp	x8, _M_DEVBUF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_DEVBUF@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, 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	_free
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_sc_list,4,2                    ; @sc_list
	.comm	_M_DEVBUF,4,2                   ; @M_DEVBUF
	.no_dead_strip	_bridge_clone_destroy
.subsections_via_symbols
