	.file	"extr_ip_fw_nat.c_nat44_destroy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nat44_destroy, @function
nat44_destroy:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR [rdx], 7
	jbe	.L12
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR 8[rdx]
	cmp	DWORD PTR 4[rbx], 8
	je	.L13
.L10:
	mov	eax, DWORD PTR EINVAL[rip]
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rbp, rdi
	mov	edi, DWORD PTR [rbx]
	mov	esi, 4
	call	strnlen@PLT
	cmp	eax, 4
	je	.L10
	mov	rdi, rbp
	call	IPFW_UH_WLOCK@PLT
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rbp
	call	lookup_nat_name@PLT
	mov	rdi, rbp
	mov	r12, rax
	test	rax, rax
	je	.L14
	call	IPFW_WLOCK@PLT
	mov	esi, DWORD PTR _next[rip]
	mov	rdi, r12
	call	LIST_REMOVE@PLT
	mov	esi, DWORD PTR [r12]
	mov	rdi, rbp
	call	flush_nat_ptrs@PLT
	mov	rdi, rbp
	call	IPFW_WUNLOCK@PLT
	mov	rdi, rbp
	call	IPFW_UH_WUNLOCK@PLT
	mov	rdi, r12
	call	free_nat_instance@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	mov	eax, DWORD PTR EINVAL[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	call	IPFW_UH_WUNLOCK@PLT
	mov	eax, DWORD PTR ESRCH[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	nat44_destroy, .-nat44_destroy
	.comm	_next,4,4
	.comm	ESRCH,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ip_fw_nat.c_nat44_destroy.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nat44_destroy, %function
nat44_destroy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r2]
	cmp	r3, #7
	bls	.L12
	push	{r4, r5, r6, lr}
	ldr	r5, [r2, #4]
	ldr	r3, [r5, #4]
	cmp	r3, #8
	beq	.L13
.L10:
	ldr	r3, .L15
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L13:
	mov	r4, r0
	mov	r1, #4
	ldr	r0, [r5]
	bl	strnlen
	cmp	r0, #4
	beq	.L10
	mov	r0, r4
	bl	IPFW_UH_WLOCK
	ldr	r1, [r5]
	mov	r0, r4
	bl	lookup_nat_name
	subs	r5, r0, #0
	mov	r0, r4
	beq	.L14
	bl	IPFW_WLOCK
	ldr	r3, .L15+4
	mov	r0, r5
	ldr	r1, [r3]
	bl	LIST_REMOVE
	ldr	r1, [r5]
	mov	r0, r4
	bl	flush_nat_ptrs
	mov	r0, r4
	bl	IPFW_WUNLOCK
	mov	r0, r4
	bl	IPFW_UH_WUNLOCK
	mov	r0, r5
	bl	free_nat_instance
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L12:
	ldr	r3, .L15
	ldr	r0, [r3]
	bx	lr
.L14:
	bl	IPFW_UH_WUNLOCK
	ldr	r3, .L15+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L16:
	.align	2
.L15:
	.word	EINVAL
	.word	_next
	.word	ESRCH
	.size	nat44_destroy, .-nat44_destroy
	.comm	_next,4,4
	.comm	ESRCH,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
