	.file	"extr_tunnel.c_config_parse_encap_limit.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"none"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Failed to parse Tunnel Encapsulation Limit option, ignoring: %s"
	.align 8
.LC2:
	.string	"Invalid Tunnel Encapsulation value, ignoring: %d"
	.text
	.p2align 4
	.globl	config_parse_encap_limit
	.type	config_parse_encap_limit, @function
config_parse_encap_limit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	mov	rdi, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r9
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rbx, QWORD PTR 88[rsp]
	mov	r15, QWORD PTR 104[rsp]
	mov	DWORD PTR 4[rsp], 0
	call	assert@PLT
	mov	rdi, rbp
	call	assert@PLT
	mov	rdi, rbx
	call	assert@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, rbx
	call	streq@PLT
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR IP6_TNL_F_IGN_ENCAP_LIMIT[rip]
	or	DWORD PTR 4[r15], eax
.L3:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rsi, 4[rsp]
	mov	rdi, rbx
	call	safe_atoi@PLT
	test	eax, eax
	js	.L11
	mov	eax, DWORD PTR 4[rsp]
	cmp	eax, 255
	ja	.L12
	mov	DWORD PTR [r15], eax
	mov	eax, DWORD PTR IP6_TNL_F_IGN_ENCAP_LIMIT[rip]
	not	eax
	and	DWORD PTR 4[r15], eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	lea	r9, .LC2[rip]
	xor	r8d, r8d
	push	rax
	.cfi_def_cfa_offset 96
.L8:
	mov	esi, DWORD PTR LOG_ERR[rip]
	mov	rdx, r12
	mov	ecx, r14d
	mov	rdi, r13
	xor	eax, eax
	call	log_syntax@PLT
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L11:
	sub	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 88
	lea	r9, .LC1[rip]
	mov	r8d, eax
	push	rbx
	.cfi_def_cfa_offset 96
	jmp	.L8
.L10:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	config_parse_encap_limit, .-config_parse_encap_limit
	.comm	LOG_ERR,4,4
	.comm	IP6_TNL_F_IGN_ENCAP_LIMIT,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_tunnel.c_config_parse_encap_limit.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"none\000"
	.align	2
.LC1:
	.ascii	"Failed to parse Tunnel Encapsulation Limit option, "
	.ascii	"ignoring: %s\000"
	.align	2
.LC2:
	.ascii	"Invalid Tunnel Encapsulation value, ignoring: %d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	config_parse_encap_limit
	.syntax unified
	.arm
	.fpu softvfp
	.type	config_parse_encap_limit, %function
config_parse_encap_limit:
	@ args = 24, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, r9, lr}
	sub	sp, sp, #28
	ldr	r5, [sp, #60]
	mov	r8, r2
	ldr	r2, .L13
	ldr	r6, [sp, #68]
	mov	r7, r0
	mov	r0, r1
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	mov	r4, r1
	str	r3, [sp, #16]
	ldr	r9, [sp, #76]
	bl	assert
	mov	r0, r5
	bl	assert
	mov	r0, r6
	bl	assert
	mov	r0, r6
	ldr	r1, .L13+4
	bl	streq
	subs	r5, r0, #0
	beq	.L2
	ldr	r2, .L13+8
	ldr	r3, [r9, #4]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [r9, #4]
.L3:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, #0
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	mov	r0, r6
	add	r1, sp, #16
	bl	safe_atoi
	cmp	r0, #0
	blt	.L11
	ldr	r3, [sp, #16]
	cmp	r3, #255
	bhi	.L12
	ldr	r1, .L13+8
	ldr	r2, [r9, #4]
	ldr	r1, [r1]
	str	r3, [r9]
	bic	r3, r2, r1
	str	r3, [r9, #4]
	b	.L3
.L12:
	ldr	r1, .L13+12
	ldr	ip, .L13+16
	str	r3, [sp, #8]
	str	r5, [sp]
.L8:
	ldr	r1, [r1]
	mov	r3, r8
	mov	r2, r4
	mov	r0, r7
	str	ip, [sp, #4]
	bl	log_syntax
	b	.L3
.L11:
	ldr	r1, .L13+12
	ldr	ip, .L13+20
	str	r6, [sp, #8]
	str	r0, [sp]
	b	.L8
.L10:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC3
	.word	.LC0
	.word	IP6_TNL_F_IGN_ENCAP_LIMIT
	.word	LOG_ERR
	.word	.LC2
	.word	.LC1
	.size	config_parse_encap_limit, .-config_parse_encap_limit
	.comm	LOG_ERR,4,4
	.comm	IP6_TNL_F_IGN_ENCAP_LIMIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
