	.file	"extr_Virtual.c_NnDeleteOldestNatSessionIfNecessary.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	NnDeleteOldestNatSessionIfNecessary
	.type	NnDeleteOldestNatSessionIfNecessary, @function
NnDeleteOldestNatSessionIfNecessary:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L16
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR [rdi]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L1
	mov	r13d, esi
	mov	r12d, edx
	cmp	edx, 129
	je	.L5
	cmp	edx, 130
	je	.L6
	cmp	edx, 128
	je	.L20
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	ebx, DWORD PTR 4[rax]
.L8:
	test	ebx, ebx
	je	.L1
	mov	edx, r12d
	mov	esi, r13d
	mov	rdi, rbp
	call	NnGetNumNatEntriesPerIp@PLT
	cmp	ebx, eax
	jg	.L1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edx, r12d
	mov	esi, r13d
	mov	rdi, rbp
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 8
	jmp	NnDeleteOldestNatSession@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	ebx, DWORD PTR 8[rax]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L5:
	mov	ebx, DWORD PTR [rax]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE0:
	.size	NnDeleteOldestNatSessionIfNecessary, .-NnDeleteOldestNatSessionIfNecessary
	.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_Virtual.c_NnDeleteOldestNatSessionIfNecessary.c"
	.text
	.align	2
	.global	NnDeleteOldestNatSessionIfNecessary
	.syntax unified
	.arm
	.fpu softvfp
	.type	NnDeleteOldestNatSessionIfNecessary, %function
NnDeleteOldestNatSessionIfNecessary:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r5, r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r5]
	ldr	r3, [r3]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	cmp	r2, #129
	mov	r6, r1
	mov	r4, r2
	beq	.L5
	cmp	r2, #130
	beq	.L6
	cmp	r2, #128
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r7, [r3, #4]
	cmp	r7, #0
	popeq	{r4, r5, r6, r7, r8, pc}
.L17:
	mov	r2, r4
	mov	r1, r6
	mov	r0, r5
	bl	NnGetNumNatEntriesPerIp
	cmp	r7, r0
	popgt	{r4, r5, r6, r7, r8, pc}
	mov	r2, r4
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	NnDeleteOldestNatSession
.L6:
	ldr	r7, [r3, #8]
	cmp	r7, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	b	.L17
.L5:
	ldr	r7, [r3]
	cmp	r7, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	b	.L17
	.size	NnDeleteOldestNatSessionIfNecessary, .-NnDeleteOldestNatSessionIfNecessary
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
