	.file	"extr_mlx4_en_rx.c_mlx4_en_init_rx_desc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mlx4_en_init_rx_desc, @function
mlx4_en_init_rx_desc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movsx	rdx, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR [rsi]
	mov	rdi, QWORD PTR 8[rdi]
	sub	rdi, QWORD PTR MLX4_NET_IP_ALIGN[rip]
	lea	r13, [rax+rdx*8]
	mov	rbp, QWORD PTR 0[r13]
	call	cpu_to_be32@PLT
	mov	QWORD PTR 16[rbp], rax
	mov	rax, QWORD PTR [rbx]
	mov	rbp, QWORD PTR 0[r13]
	mov	rdi, QWORD PTR [rax]
	call	cpu_to_be32@PLT
	cmp	DWORD PTR MLX4_EN_MAX_RX_SEGS[rip], 1
	mov	QWORD PTR 8[rbp], rax
	jle	.L1
	mov	rax, QWORD PTR 0[r13]
	mov	ebp, 24
	mov	r12d, 1
	.p2align 4,,10
	.p2align 3
.L3:
	lea	rbx, [rax+rbp]
	mov	rdi, QWORD PTR MLX4_EN_MEMTYPE_PAD[rip]
	add	r12d, 1
	mov	QWORD PTR 16[rbx], 0
	call	cpu_to_be32@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rax, QWORD PTR 0[r13]
	mov	QWORD PTR [rax+rbp], 0
	add	rbp, 24
	cmp	DWORD PTR MLX4_EN_MAX_RX_SEGS[rip], r12d
	jg	.L3
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mlx4_en_init_rx_desc, .-mlx4_en_init_rx_desc
	.comm	MLX4_NET_IP_ALIGN,8,8
	.comm	MLX4_EN_MEMTYPE_PAD,8,8
	.comm	MLX4_EN_MAX_RX_SEGS,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_mlx4_en_rx.c_mlx4_en_init_rx_desc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx4_en_init_rx_desc, %function
mlx4_en_init_rx_desc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, [r3]
	mov	r4, r0
	ldr	r0, [r0, #4]
	ldr	r6, [r1]
	sub	r0, r0, r3
	mov	r5, r2
	ldr	r7, [r6, r2, lsl #2]
	bl	cpu_to_be32
	ldr	r3, [r4]
	str	r0, [r7, #8]
	ldr	r0, [r3]
	ldr	r4, [r6, r5, lsl #2]
	bl	cpu_to_be32
	ldr	r10, .L8+4
	str	r0, [r4, #4]
	ldr	r3, [r10]
	add	r8, r6, r5, lsl #2
	cmp	r3, #1
	pople	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r4, #1
	mov	r7, #0
	ldr	r3, [r6, r5, lsl #2]
	ldr	r9, .L8+8
.L3:
	add	r5, r4, r4, lsl #1
	add	r6, r3, r5, lsl #2
	ldr	r0, [r9]
	str	r7, [r6, #8]
	bl	cpu_to_be32
	ldr	r2, [r10]
	ldr	r3, [r8]
	add	r4, r4, #1
	cmp	r2, r4
	str	r0, [r6, #4]
	str	r7, [r3, r5, lsl #2]
	bgt	.L3
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	.align	2
.L8:
	.word	MLX4_NET_IP_ALIGN
	.word	MLX4_EN_MAX_RX_SEGS
	.word	MLX4_EN_MEMTYPE_PAD
	.size	mlx4_en_init_rx_desc, .-mlx4_en_init_rx_desc
	.comm	MLX4_NET_IP_ALIGN,4,4
	.comm	MLX4_EN_MEMTYPE_PAD,4,4
	.comm	MLX4_EN_MAX_RX_SEGS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
