	.file	"extr_cfpkt_skbuff.c_cfpkt_extr_trail.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"linearize failed\n"
.LC1:
	.string	"read beyond end of packet\n"
	.text
	.p2align 4
	.globl	cfpkt_extr_trail
	.type	cfpkt_extr_trail, @function
cfpkt_extr_trail:
.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	r13d, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	pkt_to_skb@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	is_erronous@PLT
	mov	edi, eax
	call	unlikely@PLT
	test	rax, rax
	je	.L2
.L7:
	mov	eax, DWORD PTR EPROTO[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, r12
	call	skb_linearize@PLT
	xor	edi, edi
	test	rax, rax
	setne	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L9
	mov	ebx, DWORD PTR [r12]
	mov	rdi, r12
	call	skb_tail_pointer@PLT
	xor	edi, edi
	add	ebx, r13d
	cmp	ebx, eax
	setg	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L10
	mov	rdi, r12
	call	skb_tail_pointer@PLT
	mov	esi, DWORD PTR 4[r12]
	mov	rdi, r12
	mov	ebp, eax
	sub	esi, r13d
	sub	ebp, r13d
	call	skb_trim@PLT
	movsx	rsi, ebp
	mov	edx, r13d
	mov	rdi, r14
	call	memcpy@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
.L9:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	PKT_ERROR@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	call	PKT_ERROR@PLT
	mov	eax, DWORD PTR EPROTO[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cfpkt_extr_trail, .-cfpkt_extr_trail
	.comm	EPROTO,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_cfpkt_skbuff.c_cfpkt_extr_trail.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"linearize failed\012\000"
	.align	2
.LC1:
	.ascii	"read beyond end of packet\012\000"
	.text
	.align	2
	.global	cfpkt_extr_trail
	.syntax unified
	.arm
	.fpu softvfp
	.type	cfpkt_extr_trail, %function
cfpkt_extr_trail:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r1
	mov	r8, r2
	mov	r6, r0
	bl	pkt_to_skb
	mov	r4, r0
	mov	r0, r6
	bl	is_erronous
	bl	unlikely
	cmp	r0, #0
	beq	.L2
.L7:
	ldr	r3, .L11
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r4
	bl	skb_linearize
	subs	r0, r0, #0
	movne	r0, #1
	bl	unlikely
	cmp	r0, #0
	bne	.L9
	mov	r0, r4
	ldr	r5, [r4]
	bl	skb_tail_pointer
	add	r5, r8, r5
	cmp	r5, r0
	movle	r0, #0
	movgt	r0, #1
	bl	unlikely
	subs	r5, r0, #0
	bne	.L10
	mov	r0, r4
	bl	skb_tail_pointer
	mov	r6, r0
	ldr	r1, [r4, #4]
	mov	r0, r4
	sub	r1, r1, r8
	bl	skb_trim
	mov	r2, r8
	mov	r0, r7
	sub	r1, r6, r8
	bl	memcpy
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r0, r6
	ldr	r1, .L11+4
	bl	PKT_ERROR
	b	.L7
.L10:
	mov	r0, r6
	ldr	r1, .L11+8
	bl	PKT_ERROR
	ldr	r3, .L11
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	EPROTO
	.word	.LC0
	.word	.LC1
	.size	cfpkt_extr_trail, .-cfpkt_extr_trail
	.comm	EPROTO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
