	.file	"extr_lwtunnel.c_lwtunnel_output.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	lwtunnel_output
	.type	lwtunnel_output, @function
lwtunnel_output:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	mov	rdi, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	skb_dst@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	test	rax, rax
	je	.L3
	mov	rbx, QWORD PTR [rax]
	xor	r12d, r12d
	mov	rax, QWORD PTR [rbx]
	cmp	rax, QWORD PTR LWTUNNEL_ENCAP_NONE[rip]
	je	.L1
	cmp	rax, QWORD PTR LWTUNNEL_ENCAP_MAX[rip]
	jbe	.L14
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	xor	eax, eax
	mov	r12d, DWORD PTR EOPNOTSUPP[rip]
	call	rcu_read_lock@PLT
	mov	rdx, QWORD PTR [rbx]
	mov	rax, QWORD PTR lwtun_encaps[rip]
	mov	edi, DWORD PTR [rax+rdx*4]
	call	rcu_dereference@PLT
	xor	edi, edi
	mov	rbx, rax
	test	rax, rax
	je	.L5
	xor	edi, edi
	cmp	QWORD PTR [rax], 0
	setne	dil
.L5:
	call	likely@PLT
	neg	r12d
	test	rax, rax
	jne	.L15
.L7:
	xor	eax, eax
	call	rcu_read_unlock@PLT
	mov	eax, r12d
	add	eax, DWORD PTR EOPNOTSUPP[rip]
	jne	.L1
.L3:
	mov	rdi, rbp
	call	kfree_skb@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rdx, rbp
	mov	rsi, r14
	mov	rdi, r13
	call	[QWORD PTR [rbx]]
	mov	r12d, eax
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	lwtunnel_output, .-lwtunnel_output
	.comm	lwtun_encaps,8,8
	.comm	LWTUNNEL_ENCAP_NONE,8,8
	.comm	LWTUNNEL_ENCAP_MAX,8,8
	.comm	EOPNOTSUPP,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_lwtunnel.c_lwtunnel_output.c"
	.text
	.align	2
	.global	lwtunnel_output
	.syntax unified
	.arm
	.fpu softvfp
	.type	lwtunnel_output, %function
lwtunnel_output:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r0
	mov	r0, r2
	mov	r4, r2
	mov	r6, r1
	bl	skb_dst
	subs	r3, r0, #0
	beq	.L13
	ldr	r8, [r3]
	ldr	r2, .L17
	ldr	r3, [r8]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L9
	ldr	r2, .L17+4
	ldr	r2, [r2]
	cmp	r3, r2
	bls	.L14
.L9:
	mov	r5, #0
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	ldr	r9, .L17+8
	ldr	r5, [r9]
	bl	rcu_read_lock
	ldr	r3, .L17+12
	ldr	r2, [r8]
	ldr	r3, [r3]
	ldr	r0, [r3, r2, lsl #2]
	bl	rcu_dereference
	subs	r8, r0, #0
	moveq	r0, r8
	beq	.L5
	ldr	r0, [r8]
	subs	r0, r0, #0
	movne	r0, #1
.L5:
	bl	likely
	cmp	r0, #0
	rsbeq	r5, r5, #0
	bne	.L15
	bl	rcu_read_unlock
	ldr	r3, [r9]
	cmn	r5, r3
	bne	.L1
.L3:
	mov	r0, r4
	bl	kfree_skb
.L16:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	ldr	r3, [r8]
	mov	r1, r6
	mov	r2, r4
	mov	r0, r7
	blx	r3
	mov	r5, r0
	bl	rcu_read_unlock
	ldr	r3, [r9]
	cmn	r5, r3
	bne	.L1
	b	.L3
.L13:
	ldr	r3, .L17+16
	mov	r0, r4
	ldr	r5, [r3]
	rsb	r5, r5, #0
	bl	kfree_skb
	b	.L16
.L18:
	.align	2
.L17:
	.word	LWTUNNEL_ENCAP_NONE
	.word	LWTUNNEL_ENCAP_MAX
	.word	EOPNOTSUPP
	.word	lwtun_encaps
	.word	EINVAL
	.size	lwtunnel_output, .-lwtunnel_output
	.comm	lwtun_encaps,4,4
	.comm	LWTUNNEL_ENCAP_NONE,4,4
	.comm	LWTUNNEL_ENCAP_MAX,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
