	.file	"extr_nat64lsn_control.c_nat64lsn_default_config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nat64lsn_default_config, @function
nat64lsn_default_config:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	eax, DWORD PTR [rdi]
	mov	rbx, rdi
	test	eax, eax
	jne	.L2
	mov	eax, DWORD PTR NAT64LSN_JMAXLEN[rip]
	mov	DWORD PTR [rdi], eax
.L2:
	cmp	eax, 65536
	jle	.L3
	mov	DWORD PTR [rbx], 65536
.L3:
	cmp	QWORD PTR 8[rbx], 0
	jne	.L4
	mov	rax, QWORD PTR NAT64LSN_HOST_AGE[rip]
	mov	QWORD PTR 8[rbx], rax
.L4:
	cmp	QWORD PTR 16[rbx], 0
	jne	.L5
	mov	rax, QWORD PTR NAT64LSN_PG_AGE[rip]
	mov	QWORD PTR 16[rbx], rax
.L5:
	cmp	QWORD PTR 24[rbx], 0
	jne	.L6
	mov	rax, QWORD PTR NAT64LSN_TCP_SYN_AGE[rip]
	mov	QWORD PTR 24[rbx], rax
.L6:
	cmp	QWORD PTR 32[rbx], 0
	jne	.L7
	mov	rax, QWORD PTR NAT64LSN_TCP_FIN_AGE[rip]
	mov	QWORD PTR 32[rbx], rax
.L7:
	cmp	QWORD PTR 40[rbx], 0
	jne	.L8
	mov	rax, QWORD PTR NAT64LSN_TCP_EST_AGE[rip]
	mov	QWORD PTR 40[rbx], rax
.L8:
	cmp	QWORD PTR 48[rbx], 0
	jne	.L9
	mov	rax, QWORD PTR NAT64LSN_UDP_AGE[rip]
	mov	QWORD PTR 48[rbx], rax
.L9:
	cmp	QWORD PTR 56[rbx], 0
	jne	.L10
	mov	rax, QWORD PTR NAT64LSN_ICMP_AGE[rip]
	mov	QWORD PTR 56[rbx], rax
.L10:
	mov	edi, DWORD PTR 64[rbx]
	test	edi, edi
	jne	.L11
	mov	DWORD PTR 64[rbx], 1
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	cmp	edi, 127
	jle	.L13
	mov	DWORD PTR 64[rbx], 128
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	call	powerof2@PLT
	test	eax, eax
	jne	.L1
	mov	edi, DWORD PTR 64[rbx]
	call	fls@PLT
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	DWORD PTR 64[rbx], edx
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	nat64lsn_default_config, .-nat64lsn_default_config
	.comm	NAT64LSN_UDP_AGE,8,8
	.comm	NAT64LSN_TCP_SYN_AGE,8,8
	.comm	NAT64LSN_TCP_FIN_AGE,8,8
	.comm	NAT64LSN_TCP_EST_AGE,8,8
	.comm	NAT64LSN_PG_AGE,8,8
	.comm	NAT64LSN_JMAXLEN,4,4
	.comm	NAT64LSN_ICMP_AGE,8,8
	.comm	NAT64LSN_HOST_AGE,8,8
	.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_nat64lsn_control.c_nat64lsn_default_config.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nat64lsn_default_config, %function
nat64lsn_default_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, lr}
	cmp	r3, #0
	ldreq	r3, .L16
	mov	r4, r0
	ldreq	r3, [r3]
	streq	r3, [r0]
	cmp	r3, #65536
	movgt	r3, #65536
	strgt	r3, [r0]
	ldr	r3, [r0, #4]
	cmp	r3, #0
	ldreq	r3, .L16+4
	ldreq	r3, [r3]
	streq	r3, [r0, #4]
	ldr	r3, [r0, #8]
	cmp	r3, #0
	ldreq	r3, .L16+8
	ldreq	r3, [r3]
	streq	r3, [r0, #8]
	ldr	r3, [r0, #12]
	cmp	r3, #0
	ldreq	r3, .L16+12
	ldreq	r3, [r3]
	streq	r3, [r0, #12]
	ldr	r3, [r0, #16]
	cmp	r3, #0
	ldreq	r3, .L16+16
	ldreq	r3, [r3]
	streq	r3, [r0, #16]
	ldr	r3, [r0, #20]
	cmp	r3, #0
	ldreq	r3, .L16+20
	ldreq	r3, [r3]
	streq	r3, [r0, #20]
	ldr	r3, [r0, #24]
	cmp	r3, #0
	ldreq	r3, .L16+24
	ldreq	r3, [r3]
	streq	r3, [r0, #24]
	ldr	r3, [r0, #28]
	cmp	r3, #0
	ldreq	r3, .L16+28
	ldreq	r3, [r3]
	streq	r3, [r0, #28]
	ldr	r0, [r0, #32]
	cmp	r0, #0
	bne	.L11
	mov	r3, #1
	str	r3, [r4, #32]
	pop	{r4, pc}
.L11:
	cmp	r0, #127
	ble	.L13
	mov	r3, #128
	str	r3, [r4, #32]
	pop	{r4, pc}
.L13:
	bl	powerof2
	cmp	r0, #0
	popne	{r4, pc}
	ldr	r0, [r4, #32]
	bl	fls
	mov	r3, #1
	lsl	r3, r3, r0
	str	r3, [r4, #32]
	pop	{r4, pc}
.L17:
	.align	2
.L16:
	.word	NAT64LSN_JMAXLEN
	.word	NAT64LSN_HOST_AGE
	.word	NAT64LSN_PG_AGE
	.word	NAT64LSN_TCP_SYN_AGE
	.word	NAT64LSN_TCP_FIN_AGE
	.word	NAT64LSN_TCP_EST_AGE
	.word	NAT64LSN_UDP_AGE
	.word	NAT64LSN_ICMP_AGE
	.size	nat64lsn_default_config, .-nat64lsn_default_config
	.comm	NAT64LSN_UDP_AGE,4,4
	.comm	NAT64LSN_TCP_SYN_AGE,4,4
	.comm	NAT64LSN_TCP_FIN_AGE,4,4
	.comm	NAT64LSN_TCP_EST_AGE,4,4
	.comm	NAT64LSN_PG_AGE,4,4
	.comm	NAT64LSN_JMAXLEN,4,4
	.comm	NAT64LSN_ICMP_AGE,4,4
	.comm	NAT64LSN_HOST_AGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
