	.file	"extr_rc.c_set_restart_qp.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	set_restart_qp, @function
set_restart_qp:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	mov	edx, DWORD PTR RVT_R_RDMAR_SEQ[rip]
	test	eax, edx
	je	.L13
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	or	eax, edx
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	edx, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	DWORD PTR [rdi], eax
	mov	rax, QWORD PTR 8[rdi]
	lea	r13, 4[rbp]
	lea	rsi, 1[rax]
	call	hfi1_restart_rc@PLT
	mov	rdi, r13
	call	list_empty@PLT
	test	rax, rax
	jne	.L14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	eax, DWORD PTR RVT_R_RSP_SEND[rip]
	or	DWORD PTR 0[rbp], eax
	mov	rdi, rbp
	call	rvt_get_qp@PLT
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	mov	rdi, r13
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 8
	jmp	list_add_tail@PLT
	.cfi_endproc
.LFE0:
	.size	set_restart_qp, .-set_restart_qp
	.comm	RVT_R_RSP_SEND,4,4
	.comm	RVT_R_RDMAR_SEQ,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_rc.c_set_restart_qp.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_restart_qp, %function
set_restart_qp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L13
	ldr	r3, [r0]
	ldr	ip, [r2]
	ands	r2, r3, ip
	bxne	lr
	push	{r4, r5, r6, lr}
	mov	r5, r1
	ldr	r1, [r0, #8]
	orr	r3, r3, ip
	str	r3, [r0]
	add	r1, r1, #1
	add	r6, r0, #4
	mov	r4, r0
	bl	hfi1_restart_rc
	mov	r0, r6
	bl	list_empty
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r2, .L13+4
	ldr	r3, [r4]
	ldr	r2, [r2]
	mov	r0, r4
	orr	r3, r3, r2
	str	r3, [r4]
	bl	rvt_get_qp
	mov	r1, r5
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	b	list_add_tail
.L14:
	.align	2
.L13:
	.word	RVT_R_RDMAR_SEQ
	.word	RVT_R_RSP_SEND
	.size	set_restart_qp, .-set_restart_qp
	.comm	RVT_R_RSP_SEND,4,4
	.comm	RVT_R_RDMAR_SEQ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
