	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nat64lsn_destroy_instance      ## -- Begin function nat64lsn_destroy_instance
	.p2align	4, 0x90
_nat64lsn_destroy_instance:             ## @nat64lsn_destroy_instance
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_CALLOUT_LOCK
	leaq	32(%r14), %rdi
	callq	_callout_drain
	movq	%r14, %rdi
	callq	_CALLOUT_UNLOCK
	leaq	28(%r14), %rdi
	callq	_callout_drain
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	xorl	%r12d, %r12d
	movq	_entries@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	(%r14), %rax
	cmpq	%rax, %r12
	jge	LBB0_3
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	leaq	(%r12,%r12,4), %rdi
	shlq	$3, %rdi
	addq	16(%r14), %rdi
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	callq	_CK_SLIST_EMPTY
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=2
	leaq	(,%r12,8), %rax
	leaq	(%rax,%rax,4), %rbx
	movq	16(%r14), %rdi
	addq	%rbx, %rdi
	callq	_CK_SLIST_FIRST
	movq	%rax, %r15
	movq	16(%r14), %rdi
	addq	%rbx, %rdi
	movl	(%r13), %esi
	callq	_CK_SLIST_REMOVE_HEAD
	movq	%r15, %rdi
	callq	_nat64lsn_destroy_host
	addq	16(%r14), %rbx
	movq	%rbx, %rdi
	jmp	LBB0_8
LBB0_3:
	cmpl	$1, 4(%r14)
	je	LBB0_6
## %bb.4:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rsi
	addq	%r15, %rsi
	movq	%r14, %rdi
	callq	_nat64lsn_destroy_alias
	movzbl	4(%r14), %eax
	xorl	%ecx, %ecx
	subb	%al, %cl
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	incq	%rbx
	cltq
	addq	$40, %r15
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	callq	_CALLOUT_LOCK_DESTROY
	movq	%r14, %rdi
	callq	_CFG_LOCK_DESTROY
	movl	24(%r14), %edi
	movq	_NAT64STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_COUNTER_ARRAY_FREE
	movq	16(%r14), %rdi
	movq	_M_NAT64LSN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_free
	movq	8(%r14), %rdi
	movl	(%rbx), %esi
	callq	_free
	movl	(%rbx), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_entries,4,2                    ## @entries
	.comm	_NAT64STATS,4,2                 ## @NAT64STATS
	.comm	_M_NAT64LSN,4,2                 ## @M_NAT64LSN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nat64lsn_destroy_instance      ; -- Begin function nat64lsn_destroy_instance
	.p2align	2
_nat64lsn_destroy_instance:             ; @nat64lsn_destroy_instance
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	bl	_CALLOUT_LOCK
	add	x0, x19, #32
	bl	_callout_drain
	mov	x0, x19
	bl	_CALLOUT_UNLOCK
	add	x0, x19, #28
	bl	_callout_drain
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x21, #0
	mov	w22, #40
Lloh0:
	adrp	x23, _entries@GOTPAGE
Lloh1:
	ldr	x23, [x23, _entries@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x19]
	cmp	x21, x8
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	x8, [x19, #16]
	madd	x0, x21, x22, x8
	bl	_CK_SLIST_EMPTY
	cbnz	w0, LBB0_2
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #16]
	add	x9, x21, x21, lsl #2
	lsl	x24, x9, #3
	add	x0, x8, x24
	bl	_CK_SLIST_FIRST
	mov	x20, x0
	ldr	x8, [x19, #16]
	add	x0, x8, x24
	ldr	w1, [x23]
	bl	_CK_SLIST_REMOVE_HEAD
	mov	x0, x20
	bl	_nat64lsn_destroy_host
	ldr	x8, [x19, #16]
	add	x0, x8, x24
	bl	_CK_SLIST_EMPTY
	cbz	w0, LBB0_4
	b	LBB0_2
LBB0_5:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.eq	LBB0_8
; %bb.6:
	mov	x20, #0
	mov	x21, #0
	mov	w22, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x1, x8, x20
	mov	x0, x19
	bl	_nat64lsn_destroy_alias
	add	x21, x21, #1
	ldr	w8, [x19, #4]
	neg	w8, w8
	lsl	w8, w22, w8
	add	x20, x20, #40
	cmp	x21, w8, sxtw
	b.lt	LBB0_7
LBB0_8:
	mov	x0, x19
	bl	_CALLOUT_LOCK_DESTROY
	mov	x0, x19
	bl	_CFG_LOCK_DESTROY
	ldr	w0, [x19, #24]
Lloh2:
	adrp	x8, _NAT64STATS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NAT64STATS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_COUNTER_ARRAY_FREE
	ldr	x0, [x19, #16]
Lloh5:
	adrp	x20, _M_NAT64LSN@GOTPAGE
Lloh6:
	ldr	x20, [x20, _M_NAT64LSN@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_free
	ldr	x0, [x19, #8]
	ldr	w1, [x20]
	bl	_free
	ldr	w1, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_entries,4,2                    ; @entries
	.comm	_NAT64STATS,4,2                 ; @NAT64STATS
	.comm	_M_NAT64LSN,4,2                 ; @M_NAT64LSN
.subsections_via_symbols
