	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nptv6_uninit                   ## -- Begin function nptv6_uninit
	.p2align	4, 0x90
_nptv6_uninit:                          ## @nptv6_uninit
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movq	_nptv6_ifaddr_event@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	_ifaddr_event_ext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_EVENTHANDLER_DEREGISTER
LBB0_3:
	movq	_opcodes@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_IPFW_DEL_OBJ_REWRITER
	movq	_scodes@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_IPFW_DEL_SOPT_HANDLER
	movq	_V_nptv6_eid@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_ipfw_del_eaction
	movq	%r14, %rdi
	callq	_IPFW_UH_WLOCK
	movq	%r14, %rdi
	callq	_CHAIN_TO_SRV
	movq	_destroy_config_cb@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_IPFW_TLV_NPTV6_NAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %edi
	movq	%r14, %rdx
	callq	_ipfw_objhash_foreach_type
	movq	$0, (%rbx)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_IPFW_UH_WUNLOCK                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_nptv6_ifaddr_event,8,3         ## @nptv6_ifaddr_event
	.comm	_ifaddr_event_ext,4,2           ## @ifaddr_event_ext
	.comm	_opcodes,4,2                    ## @opcodes
	.comm	_scodes,4,2                     ## @scodes
	.comm	_V_nptv6_eid,8,3                ## @V_nptv6_eid
	.comm	_destroy_config_cb,4,2          ## @destroy_config_cb
	.comm	_IPFW_TLV_NPTV6_NAME,4,2        ## @IPFW_TLV_NPTV6_NAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nptv6_uninit                   ; -- Begin function nptv6_uninit
	.p2align	2
_nptv6_uninit:                          ; @nptv6_uninit
	.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	x20, x1
	mov	x19, x0
	cbz	w1, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _nptv6_ifaddr_event@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nptv6_ifaddr_event@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	cbz	x1, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _ifaddr_event_ext@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ifaddr_event_ext@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_EVENTHANDLER_DEREGISTER
LBB0_3:
Lloh6:
	adrp	x8, _opcodes@GOTPAGE
Lloh7:
	ldr	x8, [x8, _opcodes@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_IPFW_DEL_OBJ_REWRITER
Lloh9:
	adrp	x8, _scodes@GOTPAGE
Lloh10:
	ldr	x8, [x8, _scodes@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_IPFW_DEL_SOPT_HANDLER
Lloh12:
	adrp	x20, _V_nptv6_eid@GOTPAGE
Lloh13:
	ldr	x20, [x20, _V_nptv6_eid@GOTPAGEOFF]
	ldr	x1, [x20]
	mov	x0, x19
	bl	_ipfw_del_eaction
	mov	x0, x19
	bl	_IPFW_UH_WLOCK
	mov	x0, x19
	bl	_CHAIN_TO_SRV
Lloh14:
	adrp	x8, _destroy_config_cb@GOTPAGE
Lloh15:
	ldr	x8, [x8, _destroy_config_cb@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _IPFW_TLV_NPTV6_NAME@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IPFW_TLV_NPTV6_NAME@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	mov	x2, x19
	bl	_ipfw_objhash_foreach_type
	str	xzr, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_IPFW_UH_WUNLOCK
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_nptv6_ifaddr_event,8,3         ; @nptv6_ifaddr_event
	.comm	_ifaddr_event_ext,4,2           ; @ifaddr_event_ext
	.comm	_opcodes,4,2                    ; @opcodes
	.comm	_scodes,4,2                     ; @scodes
	.comm	_V_nptv6_eid,8,3                ; @V_nptv6_eid
	.comm	_destroy_config_cb,4,2          ; @destroy_config_cb
	.comm	_IPFW_TLV_NPTV6_NAME,4,2        ; @IPFW_TLV_NPTV6_NAME
.subsections_via_symbols
