	.file	"extr_qp.c_mlx4_qp_reserve_range.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mlx4_qp_reserve_range
	.type	mlx4_qp_reserve_range, @function
mlx4_qp_reserve_range:
.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	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR [rsp], 0
	call	mlx4_is_mfunc@PLT
	test	rax, rax
	je	.L2
	mov	r15, rsp
	mov	esi, r12d
	mov	rdi, r15
	call	set_param_l@PLT
	mov	esi, r13d
	mov	rdi, r15
	lea	r13, 4[rsp]
	call	set_param_h@PLT
	mov	eax, DWORD PTR MLX4_CMD_WRAPPED[rip]
	mov	rdx, r13
	mov	r9d, DWORD PTR MLX4_CMD_ALLOC_RES[rip]
	mov	r8d, DWORD PTR RES_OP_RESERVE[rip]
	mov	ecx, DWORD PTR RES_QP[rip]
	mov	rdi, rbp
	push	rax
	.cfi_def_cfa_offset 72
	mov	eax, DWORD PTR MLX4_CMD_TIME_CLASS_A[rip]
	push	rax
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR 16[rsp]
	call	mlx4_cmd_imm@PLT
	mov	r12d, eax
	pop	rax
	.cfi_def_cfa_offset 72
	pop	rdx
	.cfi_def_cfa_offset 64
	test	r12d, r12d
	je	.L7
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	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	esi, r12d
	mov	rcx, r14
	mov	edx, r13d
	mov	rdi, rbp
	call	__mlx4_qp_reserve_range@PLT
	mov	r12d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, r13
	call	get_param_l@PLT
	mov	DWORD PTR [r14], eax
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mlx4_qp_reserve_range, .-mlx4_qp_reserve_range
	.comm	RES_QP,4,4
	.comm	RES_OP_RESERVE,4,4
	.comm	MLX4_CMD_WRAPPED,4,4
	.comm	MLX4_CMD_TIME_CLASS_A,4,4
	.comm	MLX4_CMD_ALLOC_RES,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_qp.c_mlx4_qp_reserve_range.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mlx4_qp_reserve_range
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx4_qp_reserve_range, %function
mlx4_qp_reserve_range:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, lr}
	mov	r7, r3
	ldr	r3, .L9
	sub	sp, sp, #36
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	mov	r5, r1
	mov	r6, r2
	mov	r4, r0
	str	ip, [sp, #20]
	bl	mlx4_is_mfunc
	cmp	r0, #0
	beq	.L2
	mov	r1, r5
	add	r0, sp, #20
	bl	set_param_l
	mov	r1, r6
	add	r0, sp, #20
	bl	set_param_h
	ldr	r0, .L9+4
	ldr	r1, .L9+8
	ldr	r2, .L9+12
	ldr	lr, [r0]
	ldr	ip, [r1]
	ldr	r3, .L9+16
	ldr	r1, [r2]
	ldr	r2, [r3]
	stmib	sp, {r1, ip, lr}
	ldr	r3, .L9+20
	str	r2, [sp]
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r1, [sp, #20]
	add	r2, sp, #24
	bl	mlx4_cmd_imm
	subs	r4, r0, #0
	beq	.L7
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r4
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	mov	r0, r4
	mov	r3, r7
	mov	r2, r6
	mov	r1, r5
	bl	__mlx4_qp_reserve_range
	mov	r4, r0
	b	.L1
.L7:
	add	r0, sp, #24
	bl	get_param_l
	str	r0, [r7]
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	MLX4_CMD_WRAPPED
	.word	MLX4_CMD_TIME_CLASS_A
	.word	MLX4_CMD_ALLOC_RES
	.word	RES_OP_RESERVE
	.word	RES_QP
	.size	mlx4_qp_reserve_range, .-mlx4_qp_reserve_range
	.comm	RES_QP,4,4
	.comm	RES_OP_RESERVE,4,4
	.comm	MLX4_CMD_WRAPPED,4,4
	.comm	MLX4_CMD_TIME_CLASS_A,4,4
	.comm	MLX4_CMD_ALLOC_RES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
