	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vnet_ipfw_uninit
_vnet_ipfw_uninit:                      ## @vnet_ipfw_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_V_ipfw_vnet_ready@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
	callq	_ipfw_detach_hooks
	movq	_V_ip_fw_ctl_ptr@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_curvnet@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_DEFAULT_VNET
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
	movq	_V_layer3_chain@GOTPCREL(%rip), %r12
	movq	%r12, %rdi
	callq	_IPFW_UH_WLOCK
	movq	%r12, %rdi
	callq	_IPFW_UH_WUNLOCK
	xorl	%edi, %edi
	callq	_ipfw_dyn_uninit
	movq	%r12, %rdi
	callq	_IPFW_UH_WLOCK
	movq	$0, -40(%rbp)
	movq	%r12, %rdi
	callq	_IPFW_WLOCK
	cmpl	$0, (%r12)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	leaq	-40(%rbp), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ipfw_reap_add
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	8(%r12), %rdi
	movq	_M_IPFW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
	movq	%r12, %rdi
	callq	_IPFW_WUNLOCK
	movq	%r12, %rdi
	callq	_IPFW_UH_WUNLOCK
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_ipfw_destroy_tables
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_ipfw_eaction_uninit
	movq	-40(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_ipfw_reap_rules
LBB0_5:
	movq	_V_layer3_chain@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_vnet_ipfw_iface_destroy
	movq	%rbx, %rdi
	callq	_ipfw_destroy_srv
	movq	%rbx, %rdi
	callq	_IPFW_LOCK_DESTROY
	movl	$1, %edi
	callq	_ipfw_dyn_uninit
	xorl	%eax, %eax
	callq	_ipfw_destroy_counters
	movl	%r14d, %edi
	callq	_ipfw_bpf_uninit
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_layer3_chain,16,3            ## @V_layer3_chain
	.comm	_V_ipfw_vnet_ready,8,3          ## @V_ipfw_vnet_ready
	.comm	_V_ip_fw_ctl_ptr,8,3            ## @V_ip_fw_ctl_ptr
	.comm	_curvnet,4,2                    ## @curvnet
	.comm	_M_IPFW,4,2                     ## @M_IPFW
	.no_dead_strip	_vnet_ipfw_uninit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vnet_ipfw_uninit
_vnet_ipfw_uninit:                      ; @vnet_ipfw_uninit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
Lloh0:
	adrp	x8, _V_ipfw_vnet_ready@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V_ipfw_vnet_ready@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
	bl	_ipfw_detach_hooks
Lloh3:
	adrp	x8, _V_ip_fw_ctl_ptr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V_ip_fw_ctl_ptr@GOTPAGEOFF]
Lloh5:
	str	xzr, [x8]
Lloh6:
	adrp	x8, _curvnet@GOTPAGE
Lloh7:
	ldr	x8, [x8, _curvnet@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_IS_DEFAULT_VNET
	cmp	x0, #0
	cset	w19, ne
Lloh9:
	adrp	x20, _V_layer3_chain@GOTPAGE
Lloh10:
	ldr	x20, [x20, _V_layer3_chain@GOTPAGEOFF]
	mov	x0, x20
	bl	_IPFW_UH_WLOCK
	mov	x0, x20
	bl	_IPFW_UH_WUNLOCK
	mov	w0, #0
	bl	_ipfw_dyn_uninit
	mov	x0, x20
	bl	_IPFW_UH_WLOCK
	str	xzr, [sp, #8]
	mov	x0, x20
	bl	_IPFW_WLOCK
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	w2, [x8, x21, lsl #2]
	add	x1, sp, #8
	mov	x0, x20
	bl	_ipfw_reap_add
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
	ldr	x0, [x20, #8]
Lloh11:
	adrp	x8, _M_IPFW@GOTPAGE
Lloh12:
	ldr	x8, [x8, _M_IPFW@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_free
	mov	x0, x20
	bl	_IPFW_WUNLOCK
	mov	x0, x20
	bl	_IPFW_UH_WUNLOCK
	mov	x0, x20
	mov	x1, x19
	bl	_ipfw_destroy_tables
	mov	x0, x20
	mov	x1, x19
	bl	_ipfw_eaction_uninit
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_ipfw_reap_rules
LBB0_5:
Lloh14:
	adrp	x20, _V_layer3_chain@GOTPAGE
Lloh15:
	ldr	x20, [x20, _V_layer3_chain@GOTPAGEOFF]
	mov	x0, x20
	bl	_vnet_ipfw_iface_destroy
	mov	x0, x20
	bl	_ipfw_destroy_srv
	mov	x0, x20
	bl	_IPFW_LOCK_DESTROY
	mov	w0, #1
	bl	_ipfw_dyn_uninit
	bl	_ipfw_destroy_counters
	mov	x0, x19
	bl	_ipfw_bpf_uninit
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_V_layer3_chain,16,3            ; @V_layer3_chain
	.comm	_V_ipfw_vnet_ready,8,3          ; @V_ipfw_vnet_ready
	.comm	_V_ip_fw_ctl_ptr,8,3            ; @V_ip_fw_ctl_ptr
	.comm	_curvnet,4,2                    ; @curvnet
	.comm	_M_IPFW,4,2                     ; @M_IPFW
	.no_dead_strip	_vnet_ipfw_uninit
.subsections_via_symbols
