	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipfw_nat_del
_ipfw_nat_del:                          ## @ipfw_nat_del
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leaq	-20(%rbp), %rsi
	movl	$4, %edx
	movl	$4, %ecx
	callq	_sooptcopyin
	movq	_V_layer3_chain@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_IPFW_UH_WLOCK
	movl	-20(%rbp), %esi
	movq	%rbx, %rdi
	callq	_lookup_nat
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_V_layer3_chain@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_IPFW_WLOCK
	movq	__next@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LIST_REMOVE
	movl	-20(%rbp), %esi
	movq	%r14, %rdi
	callq	_flush_nat_ptrs
	movq	%r14, %rdi
	callq	_IPFW_WUNLOCK
	movq	%r14, %rdi
	callq	_IPFW_UH_WUNLOCK
	movq	%rbx, %rdi
	callq	_free_nat_instance
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_V_layer3_chain@GOTPCREL(%rip), %rdi
	callq	_IPFW_UH_WUNLOCK
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_layer3_chain,4,2             ## @V_layer3_chain
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	__next,4,2                      ## @_next
	.no_dead_strip	_ipfw_nat_del
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipfw_nat_del
_ipfw_nat_del:                          ; @ipfw_nat_del
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	add	x1, sp, #12
	mov	w2, #4
	mov	w3, #4
	bl	_sooptcopyin
Lloh0:
	adrp	x19, _V_layer3_chain@GOTPAGE
Lloh1:
	ldr	x19, [x19, _V_layer3_chain@GOTPAGEOFF]
	mov	x0, x19
	bl	_IPFW_UH_WLOCK
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_lookup_nat
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x20, _V_layer3_chain@GOTPAGE
Lloh3:
	ldr	x20, [x20, _V_layer3_chain@GOTPAGEOFF]
	mov	x0, x20
	bl	_IPFW_WLOCK
Lloh4:
	adrp	x8, __next@GOTPAGE
Lloh5:
	ldr	x8, [x8, __next@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_LIST_REMOVE
	ldr	w1, [sp, #12]
	mov	x0, x20
	bl	_flush_nat_ptrs
	mov	x0, x20
	bl	_IPFW_WUNLOCK
	mov	x0, x20
	bl	_IPFW_UH_WUNLOCK
	mov	x0, x19
	bl	_free_nat_instance
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x0, _V_layer3_chain@GOTPAGE
Lloh8:
	ldr	x0, [x0, _V_layer3_chain@GOTPAGEOFF]
	bl	_IPFW_UH_WUNLOCK
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_V_layer3_chain,4,2             ; @V_layer3_chain
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	__next,4,2                      ; @_next
	.no_dead_strip	_ipfw_nat_del
.subsections_via_symbols
