	.file	"extr_ice_txrx.c___ice_chk_linearize.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__ice_chk_linearize, @function
__ice_chk_linearize:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	skb_shinfo@PLT
	mov	r13d, DWORD PTR [rax]
	mov	eax, DWORD PTR ICE_MAX_BUF_TXD[rip]
	lea	edx, -1[rax]
	cmp	edx, r13d
	jle	.L8
.L2:
	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
.L8:
	.cfi_restore_state
	sub	eax, 2
	mov	rdi, r14
	mov	ebx, 1
	sub	r13d, eax
	call	skb_shinfo@PLT
	mov	rdi, r14
	mov	r12, QWORD PTR 8[rax]
	call	skb_shinfo@PLT
	mov	edi, r12d
	sub	ebx, DWORD PTR 4[rax]
	call	skb_frag_size@PLT
	lea	rdi, 4[r12]
	mov	rbp, rax
	call	skb_frag_size@PLT
	lea	rdi, 8[r12]
	add	ebp, eax
	call	skb_frag_size@PLT
	lea	rdi, 12[r12]
	add	ebp, eax
	call	skb_frag_size@PLT
	lea	rdi, 16[r12]
	add	r12, 20
	add	ebp, eax
	call	skb_frag_size@PLT
	mov	rdi, r14
	add	eax, ebp
	add	ebx, eax
	call	skb_shinfo@PLT
	mov	rbp, QWORD PTR 8[rax]
	lea	r13, 0[rbp+r13*4]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	add	r12, 4
	cmp	rbp, r13
	je	.L2
	mov	edi, ebp
	add	rbp, 4
	call	skb_frag_size@PLT
	sub	ebx, eax
.L4:
	mov	edi, r12d
	call	skb_frag_size@PLT
	add	ebx, eax
	jns	.L9
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, 1
	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
	.cfi_endproc
.LFE0:
	.size	__ice_chk_linearize, .-__ice_chk_linearize
	.comm	ICE_MAX_BUF_TXD,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_ice_txrx.c___ice_chk_linearize.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__ice_chk_linearize, %function
__ice_chk_linearize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	bl	skb_shinfo
	ldr	r3, .L13
	ldr	r6, [r0]
	ldr	r3, [r3]
	sub	r2, r3, #1
	cmp	r2, r6
	ble	.L11
.L2:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	sub	r3, r3, #2
	mov	r0, r7
	sub	r6, r6, r3
	bl	skb_shinfo
	mov	r3, r0
	mov	r0, r7
	ldr	r5, [r3, #8]
	bl	skb_shinfo
	ldr	r4, [r0, #4]
	mov	r0, r5
	bl	skb_frag_size
	mov	r3, r0
	rsb	r4, r4, #1
	add	r0, r5, #4
	add	r4, r4, r3
	bl	skb_frag_size
	mov	r3, r0
	add	r0, r5, #8
	add	r4, r4, r3
	bl	skb_frag_size
	mov	r3, r0
	add	r0, r5, #12
	add	r4, r4, r3
	bl	skb_frag_size
	mov	r3, r0
	add	r0, r5, #16
	add	r4, r4, r3
	bl	skb_frag_size
	mov	r3, r0
	mov	r0, r7
	add	r4, r4, r3
	bl	skb_shinfo
	add	r5, r5, #20
	ldr	r7, [r0, #8]
	b	.L4
.L12:
	cmp	r6, #0
	add	r5, r5, #4
	beq	.L2
	mov	r0, r7
	bl	skb_frag_size
	sub	r6, r6, #1
	sub	r4, r4, r0
	add	r7, r7, #4
.L4:
	mov	r0, r5
	bl	skb_frag_size
	adds	r4, r4, r0
	bpl	.L12
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	.align	2
.L13:
	.word	ICE_MAX_BUF_TXD
	.size	__ice_chk_linearize, .-__ice_chk_linearize
	.comm	ICE_MAX_BUF_TXD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
