	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_destroy_tables            ## -- Begin function ipfw_destroy_tables
	.p2align	4, 0x90
_ipfw_destroy_tables:                   ## @ipfw_destroy_tables
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_scodes@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_IPFW_DEL_SOPT_HANDLER
	movq	_opcodes@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_IPFW_DEL_OBJ_REWRITER
	movq	%rbx, %rdi
	callq	_IPFW_UH_WLOCK
	movq	%rbx, %rdi
	callq	_IPFW_WLOCK
	movq	%rbx, %rdi
	callq	_CHAIN_TO_NI
	movq	_destroy_table_locked@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movq	%rbx, %rdx
	callq	_ipfw_objhash_foreach
	movq	%rbx, %rdi
	callq	_IPFW_WUNLOCK
	movq	%rbx, %rdi
	callq	_IPFW_UH_WUNLOCK
	movl	(%rbx), %edi
	movq	_M_IPFW@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_free
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_ipfw_table_value_destroy
	movq	%rbx, %rdi
	callq	_ipfw_table_algo_destroy
	movq	%rbx, %rdi
	callq	_CHAIN_TO_NI
	movl	%eax, %edi
	callq	_ipfw_objhash_destroy
	movq	%rbx, %rdi
	callq	_CHAIN_TO_TCFG
	movl	(%r15), %esi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_scodes,4,2                     ## @scodes
	.comm	_opcodes,4,2                    ## @opcodes
	.comm	_destroy_table_locked,4,2       ## @destroy_table_locked
	.comm	_M_IPFW,4,2                     ## @M_IPFW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_destroy_tables            ; -- Begin function ipfw_destroy_tables
	.p2align	2
_ipfw_destroy_tables:                   ; @ipfw_destroy_tables
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _scodes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _scodes@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_IPFW_DEL_SOPT_HANDLER
Lloh3:
	adrp	x8, _opcodes@GOTPAGE
Lloh4:
	ldr	x8, [x8, _opcodes@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_IPFW_DEL_OBJ_REWRITER
	mov	x0, x19
	bl	_IPFW_UH_WLOCK
	mov	x0, x19
	bl	_IPFW_WLOCK
	mov	x0, x19
	bl	_CHAIN_TO_NI
Lloh6:
	adrp	x8, _destroy_table_locked@GOTPAGE
Lloh7:
	ldr	x8, [x8, _destroy_table_locked@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_ipfw_objhash_foreach
	mov	x0, x19
	bl	_IPFW_WUNLOCK
	mov	x0, x19
	bl	_IPFW_UH_WUNLOCK
	ldr	w0, [x19]
Lloh9:
	adrp	x21, _M_IPFW@GOTPAGE
Lloh10:
	ldr	x21, [x21, _M_IPFW@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_free
	mov	x0, x19
	mov	x1, x20
	bl	_ipfw_table_value_destroy
	mov	x0, x19
	bl	_ipfw_table_algo_destroy
	mov	x0, x19
	bl	_CHAIN_TO_NI
	bl	_ipfw_objhash_destroy
	mov	x0, x19
	bl	_CHAIN_TO_TCFG
	ldr	w1, [x21]
	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 AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_scodes,4,2                     ; @scodes
	.comm	_opcodes,4,2                    ; @opcodes
	.comm	_destroy_table_locked,4,2       ; @destroy_table_locked
	.comm	_M_IPFW,4,2                     ; @M_IPFW
.subsections_via_symbols
