	.file	"extr_en_tx.c_build_inline_wqe.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	build_inline_wqe, @function
build_inline_wqe:
.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	r14, rcx
	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
	lea	r15, 8[r13]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	ebx, DWORD PTR MLX4_INLINE_ALIGN[rip]
	sub	ebx, DWORD PTR CTRL_SIZE[rip]
	mov	QWORD PTR 8[rsp], rdx
	sub	ebx, 8
	call	skb_headlen@PLT
	mov	r12d, eax
	mov	eax, DWORD PTR 0[rbp]
	cmp	eax, ebx
	jg	.L2
	xor	edi, edi
	cmp	eax, DWORD PTR MIN_PKT_LEN[rip]
	setge	dil
	call	likely@PLT
	test	rax, rax
	jne	.L11
	mov	edi, DWORD PTR MIN_PKT_LEN[rip]
	or	edi, -2147483648
	call	cpu_to_be32@PLT
	movsx	rdi, DWORD PTR 0[rbp]
	mov	edx, DWORD PTR MIN_PKT_LEN[rip]
	xor	esi, esi
	mov	QWORD PTR 0[r13], rax
	sub	edx, edi
	add	rdi, r15
	call	memset@PLT
.L4:
	mov	edx, r12d
	mov	rsi, r15
	mov	rdi, rbp
	call	skb_copy_from_linear_data@PLT
	mov	rax, QWORD PTR 8[rsp]
	cmp	QWORD PTR 8[rax], 0
	jne	.L12
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	mov	edi, ebx
	or	edi, -2147483648
	call	cpu_to_be32@PLT
	movsx	r8, ebx
	mov	QWORD PTR 0[r13], rax
	lea	rax, 8[r13+r8]
	lea	r13, 16[r13+r8]
	mov	QWORD PTR 16[rsp], rax
	cmp	ebx, r12d
	jb	.L6
	mov	edx, r12d
	mov	rsi, r15
	mov	rdi, rbp
	call	skb_copy_from_linear_data@PLT
	cmp	ebx, r12d
	ja	.L13
.L7:
	mov	edx, DWORD PTR 0[rbp]
	mov	rsi, r14
	mov	rdi, r13
	sub	edx, ebx
	call	memcpy@PLT
.L8:
	xor	eax, eax
	call	dma_wmb@PLT
	mov	edi, DWORD PTR 0[rbp]
	sub	edi, ebx
	or	edi, -2147483648
	call	cpu_to_be32@PLT
	mov	rcx, QWORD PTR 16[rsp]
	mov	QWORD PTR [rcx], rax
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L6:
	.cfi_restore_state
	mov	edx, ebx
	mov	rsi, r15
	mov	rdi, rbp
	mov	QWORD PTR 24[rsp], r8
	call	skb_copy_from_linear_data@PLT
	mov	ecx, r12d
	mov	rdx, r13
	mov	esi, ebx
	sub	ecx, ebx
	mov	rdi, rbp
	call	skb_copy_from_linear_data_offset@PLT
	mov	rax, QWORD PTR 8[rsp]
	cmp	QWORD PTR 8[rax], 0
	je	.L8
	mov	rdi, QWORD PTR [rax]
	call	skb_frag_size@PLT
	mov	r8, QWORD PTR 24[rsp]
	mov	rsi, r14
	mov	edx, eax
	mov	rax, QWORD PTR 16[rsp]
	sub	rax, r8
	lea	rdi, 8[rax+r12]
	call	memcpy@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edi, DWORD PTR 0[rbp]
	or	edi, -2147483648
	call	cpu_to_be32@PLT
	mov	QWORD PTR 0[r13], rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edx, ebx
	mov	edi, r12d
	mov	rsi, r14
	sub	edx, r12d
	add	rdi, r15
	mov	DWORD PTR 8[rsp], edx
	call	memcpy@PLT
	mov	edx, DWORD PTR 8[rsp]
	add	r14, rdx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, QWORD PTR [rax]
	call	skb_frag_size@PLT
	add	rsp, 40
	.cfi_def_cfa_offset 56
	mov	edi, r12d
	mov	rsi, r14
	pop	rbx
	.cfi_def_cfa_offset 48
	add	rdi, r15
	pop	rbp
	.cfi_def_cfa_offset 40
	mov	edx, eax
	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
	jmp	memcpy@PLT
	.cfi_endproc
.LFE0:
	.size	build_inline_wqe, .-build_inline_wqe
	.comm	MLX4_INLINE_ALIGN,4,4
	.comm	MIN_PKT_LEN,4,4
	.comm	CTRL_SIZE,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_en_tx.c_build_inline_wqe.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_inline_wqe, %function
build_inline_wqe:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r1
	mov	r6, r0
	ldr	r1, .L20
	ldr	r0, .L20+4
	ldr	r1, [r1]
	ldr	r7, [r0]
	sub	sp, sp, #12
	mov	r0, r4
	mov	r10, r3
	sub	r7, r7, r1
	mov	r9, r2
	bl	skb_headlen
	ldr	r3, [r4]
	sub	r8, r7, #4
	cmp	r3, r8
	mov	r5, r0
	add	fp, r6, #4
	bgt	.L2
	ldr	r8, .L20+8
	ldr	r0, [r8]
	cmp	r3, r0
	movlt	r0, #0
	movge	r0, #1
	bl	likely
	subs	r7, r0, #0
	bne	.L17
	ldr	r0, [r8]
	orr	r0, r0, #-2147483648
	bl	cpu_to_be32
	ldr	r3, [r4]
	ldr	r2, [r8]
	mov	r1, r7
	str	r0, [r6]
	sub	r2, r2, r3
	add	r0, fp, r3
	bl	memset
.L4:
	mov	r0, r4
	mov	r2, r5
	mov	r1, fp
	bl	skb_copy_from_linear_data
	ldr	r3, [r9, #4]
	cmp	r3, #0
	bne	.L18
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	orr	r0, r8, #-2147483648
	bl	cpu_to_be32
	mov	r2, r6
	add	r3, r7, #4
	str	r0, [r2], r7
	cmp	r8, r5
	str	r2, [sp]
	add	r3, r6, r3
	bcc	.L6
	mov	r2, r5
	mov	r1, fp
	mov	r0, r4
	str	r3, [sp]
	bl	skb_copy_from_linear_data
	cmp	r8, r5
	ldr	r3, [sp]
	bhi	.L19
.L7:
	ldr	r2, [r4]
	mov	r1, r10
	mov	r0, r3
	sub	r2, r2, r8
	bl	memcpy
.L8:
	bl	dma_wmb
	ldr	r0, [r4]
	sub	r0, r0, r8
	orr	r0, r0, #-2147483648
	bl	cpu_to_be32
	str	r0, [r6, r7]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	mov	r1, fp
	mov	r2, r8
	mov	r0, r4
	str	r3, [sp, #4]
	bl	skb_copy_from_linear_data
	ldr	r3, [sp, #4]
	sub	r5, r5, r8
	mov	r2, r3
	mov	r1, r8
	mov	r3, r5
	mov	r0, r4
	bl	skb_copy_from_linear_data_offset
	ldr	r3, [r9, #4]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [sp]
	ldr	r0, [r9]
	add	r5, r5, #4
	add	r5, r3, r5
	bl	skb_frag_size
	mov	r1, r10
	mov	r2, r0
	mov	r0, r5
	bl	memcpy
	b	.L8
.L17:
	ldr	r0, [r4]
	orr	r0, r0, #-2147483648
	bl	cpu_to_be32
	str	r0, [r6]
	b	.L4
.L19:
	sub	r9, r8, r5
	mov	r1, r10
	mov	r2, r9
	add	r0, fp, r5
	bl	memcpy
	add	r10, r10, r9
	ldr	r3, [sp]
	b	.L7
.L18:
	ldr	r0, [r9]
	bl	skb_frag_size
	add	r5, fp, r5
	mov	r2, r0
	mov	r1, r10
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	memcpy
.L21:
	.align	2
.L20:
	.word	CTRL_SIZE
	.word	MLX4_INLINE_ALIGN
	.word	MIN_PKT_LEN
	.size	build_inline_wqe, .-build_inline_wqe
	.comm	MLX4_INLINE_ALIGN,4,4
	.comm	MIN_PKT_LEN,4,4
	.comm	CTRL_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
