	.file	"extr_mlx5_en_main.c_mlx5e_build_rq_param.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mlx5e_build_rq_param, @function
mlx5e_build_rq_param:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	xor	edx, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR 24[rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rsi, rdi
	call	MLX5_ADDR_OF@PLT
	lea	rdx, 4[rsp]
	mov	rsi, rsp
	mov	rdi, r12
	mov	rbp, rax
	call	mlx5e_get_wqe_sz@PLT
	mov	ecx, DWORD PTR MLX5_WQ_TYPE_LINKED_LIST[rip]
	mov	rsi, rbp
	mov	rdi, rbp
	mov	edx, DWORD PTR wq_type[rip]
	call	MLX5_SET@PLT
	mov	ecx, DWORD PTR MLX5_WQ_END_PAD_MODE_ALIGN[rip]
	mov	rsi, rbp
	mov	rdi, rbp
	mov	edx, DWORD PTR end_padding_mode[rip]
	call	MLX5_SET@PLT
	movsx	rax, DWORD PTR 4[rsp]
	lea	edi, 4[0+rax*4]
	call	ilog2@PLT
	mov	edx, DWORD PTR log_wq_stride[rip]
	mov	rsi, rbp
	mov	rdi, rbp
	mov	ecx, eax
	call	MLX5_SET@PLT
	mov	ecx, DWORD PTR 4[r12]
	mov	rsi, rbp
	mov	rdi, rbp
	mov	edx, DWORD PTR log_wq_sz[rip]
	call	MLX5_SET@PLT
	mov	ecx, DWORD PTR [r12]
	mov	rsi, rbp
	mov	rdi, rbp
	mov	edx, DWORD PTR pd[rip]
	call	MLX5_SET@PLT
	mov	QWORD PTR 16[rbx], 0
	mov	QWORD PTR 8[rbx], 0
	mov	DWORD PTR [rbx], 1
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mlx5e_build_rq_param, .-mlx5e_build_rq_param
	.comm	wq_type,4,4
	.comm	wq,8,8
	.comm	pd,4,4
	.comm	log_wq_sz,4,4
	.comm	log_wq_stride,4,4
	.comm	end_padding_mode,4,4
	.comm	MLX5_WQ_TYPE_LINKED_LIST,4,4
	.comm	MLX5_WQ_END_PAD_MODE_ALIGN,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_mlx5_en_main.c_mlx5e_build_rq_param.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx5e_build_rq_param, %function
mlx5e_build_rq_param:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r1
	ldr	r1, [r1, #12]
	ldr	r3, .L6
	sub	sp, sp, #20
	mov	r6, r0
	mov	r2, #0
	mov	r0, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	MLX5_ADDR_OF
	mov	r4, r0
	add	r2, sp, #8
	add	r1, sp, #4
	mov	r0, r6
	bl	mlx5e_get_wqe_sz
	ldr	r3, .L6+4
	ldr	r2, .L6+8
	mov	r1, r4
	ldr	r3, [r3]
	ldr	r2, [r2]
	mov	r0, r4
	bl	MLX5_SET
	ldr	r3, .L6+12
	ldr	r2, .L6+16
	mov	r1, r4
	ldr	r2, [r2]
	ldr	r3, [r3]
	mov	r0, r4
	bl	MLX5_SET
	ldr	r0, [sp, #8]
	ldr	r3, .L6+20
	add	r0, r0, #1
	lsl	r0, r0, #2
	ldr	r7, [r3]
	bl	ilog2
	mov	r2, r7
	mov	r3, r0
	mov	r1, r4
	mov	r0, r4
	bl	MLX5_SET
	ldr	r2, .L6+24
	mov	r1, r4
	ldr	r3, [r6, #4]
	ldr	r2, [r2]
	mov	r0, r4
	bl	MLX5_SET
	ldr	r2, .L6+28
	ldr	r3, [r6]
	ldr	r2, [r2]
	mov	r1, r4
	mov	r0, r4
	bl	MLX5_SET
	mov	r3, #0
	mov	r2, #1
	str	r3, [r5, #8]
	str	r3, [r5, #4]
	ldr	r3, .L6
	str	r2, [r5]
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	MLX5_WQ_TYPE_LINKED_LIST
	.word	wq_type
	.word	MLX5_WQ_END_PAD_MODE_ALIGN
	.word	end_padding_mode
	.word	log_wq_stride
	.word	log_wq_sz
	.word	pd
	.size	mlx5e_build_rq_param, .-mlx5e_build_rq_param
	.comm	wq_type,4,4
	.comm	wq,4,4
	.comm	pd,4,4
	.comm	log_wq_sz,4,4
	.comm	log_wq_stride,4,4
	.comm	end_padding_mode,4,4
	.comm	MLX5_WQ_TYPE_LINKED_LIST,4,4
	.comm	MLX5_WQ_END_PAD_MODE_ALIGN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
