	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nat44_destroy
_nat44_destroy:                         ## @nat44_destroy
	.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
	cmpl	$7, (%rdx)
	jbe	LBB0_3
## %bb.1:
	movq	8(%rdx), %rbx
	cmpl	$8, 4(%rbx)
	jne	LBB0_3
## %bb.2:
	movq	%rdi, %r15
	movl	(%rbx), %edi
	movl	$4, %esi
	callq	_strnlen
	cmpl	$4, %eax
	jne	LBB0_6
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r15, %rdi
	callq	_IPFW_UH_WLOCK
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_lookup_nat_name
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_IPFW_WLOCK
	movq	__next@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_LIST_REMOVE
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_flush_nat_ptrs
	movq	%r15, %rdi
	callq	_IPFW_WUNLOCK
	movq	%r15, %rdi
	callq	_IPFW_UH_WUNLOCK
	movq	%r14, %rdi
	callq	_free_nat_instance
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_8:
	movq	%r15, %rdi
	callq	_IPFW_UH_WUNLOCK
	movq	_ESRCH@GOTPCREL(%rip), %rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ESRCH,4,2                      ## @ESRCH
	.comm	__next,4,2                      ## @_next
	.no_dead_strip	_nat44_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nat44_destroy
_nat44_destroy:                         ; @nat44_destroy
	.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
	ldr	w8, [x2]
	cmp	w8, #7
	b.ls	LBB0_3
; %bb.1:
	ldr	x20, [x2, #8]
	ldr	w8, [x20, #4]
	cmp	w8, #8
	b.ne	LBB0_3
; %bb.2:
	mov	x19, x0
	ldr	w0, [x20]
	mov	w1, #4
	bl	_strnlen
	cmp	w0, #4
	b.ne	LBB0_6
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x19
	bl	_IPFW_UH_WLOCK
	ldr	w1, [x20]
	mov	x0, x19
	bl	_lookup_nat_name
	cbz	x0, LBB0_8
; %bb.7:
	mov	x20, x0
	mov	x0, x19
	bl	_IPFW_WLOCK
Lloh2:
	adrp	x8, __next@GOTPAGE
Lloh3:
	ldr	x8, [x8, __next@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_LIST_REMOVE
	ldr	w1, [x20]
	mov	x0, x19
	bl	_flush_nat_ptrs
	mov	x0, x19
	bl	_IPFW_WUNLOCK
	mov	x0, x19
	bl	_IPFW_UH_WUNLOCK
	mov	x0, x20
	bl	_free_nat_instance
	mov	w0, #0
	b	LBB0_5
LBB0_8:
	mov	x0, x19
	bl	_IPFW_UH_WUNLOCK
Lloh5:
	adrp	x8, _ESRCH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ESRCH,4,2                      ; @ESRCH
	.comm	__next,4,2                      ; @_next
	.no_dead_strip	_nat44_destroy
.subsections_via_symbols
