	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_nat_shutdown
_ng_nat_shutdown:                       ## @ng_nat_shutdown
	.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
	movl	%edi, %ebx
	callq	_NG_NODE_PRIVATE
	movq	%rax, %r14
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_NG_NODE_SET_PRIVATE
	movl	%ebx, %edi
	callq	_NG_NODE_UNREF
	movq	%r14, %r15
	addq	$4, %r15
	movq	%r15, %rdi
	callq	_STAILQ_EMPTY
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_entries@GOTPCREL(%rip), %r12
	movq	_M_NETGRAPH@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_STAILQ_FIRST
	movq	%rax, %rbx
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_STAILQ_REMOVE_HEAD
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_free
	movq	%r15, %rdi
	callq	_STAILQ_EMPTY
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movl	(%r14), %edi
	callq	_LibAliasUninit
	movq	_M_NETGRAPH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_free
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_entries,4,2                    ## @entries
	.comm	_M_NETGRAPH,4,2                 ## @M_NETGRAPH
	.no_dead_strip	_ng_nat_shutdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_nat_shutdown
_ng_nat_shutdown:                       ; @ng_nat_shutdown
	.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	x20, x0
	bl	_NG_NODE_PRIVATE
	mov	x19, x0
	mov	x0, x20
	mov	x1, #0
	bl	_NG_NODE_SET_PRIVATE
	mov	x0, x20
	bl	_NG_NODE_UNREF
	add	x20, x19, #4
	mov	x0, x20
	bl	_STAILQ_EMPTY
Lloh0:
	adrp	x22, _M_NETGRAPH@GOTPAGE
Lloh1:
	ldr	x22, [x22, _M_NETGRAPH@GOTPAGEOFF]
	cbnz	w0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x23, _entries@GOTPAGE
Lloh3:
	ldr	x23, [x23, _entries@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_STAILQ_FIRST
	mov	x21, x0
	ldr	w1, [x23]
	mov	x0, x20
	bl	_STAILQ_REMOVE_HEAD
	ldr	w1, [x22]
	mov	x0, x21
	bl	_free
	mov	x0, x20
	bl	_STAILQ_EMPTY
	cbz	w0, LBB0_2
LBB0_3:
	ldr	w0, [x19]
	bl	_LibAliasUninit
	ldr	w1, [x22]
	mov	x0, x19
	bl	_free
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_entries,4,2                    ; @entries
	.comm	_M_NETGRAPH,4,2                 ; @M_NETGRAPH
	.no_dead_strip	_ng_nat_shutdown
.subsections_via_symbols
