	.file	"extr_qib_mad.c_xmit_wait_timer_func.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xmit_wait_timer_func, @function
xmit_wait_timer_func:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	lea	r12, 16[rbx]
	call	dd_from_ppd@PLT
	xor	esi, esi
	mov	rdi, r12
	mov	rbp, rax
	call	spin_lock_irqsave@PLT
	mov	rax, QWORD PTR IB_PMA_CONG_HW_CONTROL_SAMPLE[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L2
	mov	esi, DWORD PTR QIBPORTCNTR_PSSTAT[rip]
	mov	rdi, rbx
	call	[QWORD PTR 0[rbp]]
	cmp	QWORD PTR IB_PMA_SAMPLE_STATUS_DONE[rip], rax
	je	.L6
.L3:
	mov	rdi, r12
	xor	esi, esi
	call	spin_unlock_irqrestore@PLT
	mov	rsi, QWORD PTR HZ[rip]
	lea	rdi, 8[rbx]
	add	rsi, QWORD PTR jiffies[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	mod_timer@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, rbx
	call	cache_hw_sample_counters@PLT
	mov	rax, QWORD PTR IB_PMA_CONG_HW_CONTROL_TIMER[rip]
	mov	QWORD PTR [rbx], rax
.L2:
	mov	rdi, rbx
	call	xmit_wait_get_value_delta@PLT
	mov	esi, DWORD PTR QIB_CONG_TIMER_PSINTERVAL[rip]
	xor	edx, edx
	mov	rdi, rbx
	mov	DWORD PTR 12[rbx], eax
	call	[QWORD PTR 8[rbp]]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	xmit_wait_timer_func, .-xmit_wait_timer_func
	.comm	jiffies,8,8
	.comm	QIB_CONG_TIMER_PSINTERVAL,4,4
	.comm	QIBPORTCNTR_PSSTAT,4,4
	.comm	IB_PMA_SAMPLE_STATUS_DONE,8,8
	.comm	IB_PMA_CONG_HW_CONTROL_TIMER,8,8
	.comm	IB_PMA_CONG_HW_CONTROL_SAMPLE,8,8
	.comm	HZ,8,8
	.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_qib_mad.c_xmit_wait_timer_func.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xmit_wait_timer_func, %function
xmit_wait_timer_func:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	dd_from_ppd
	add	r6, r4, #12
	mov	r5, r0
	mov	r1, #0
	mov	r0, r6
	bl	spin_lock_irqsave
	ldr	r3, .L7
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L2
	ldr	r2, .L7+4
	ldr	r3, [r5]
	mov	r0, r4
	ldr	r1, [r2]
	blx	r3
	ldr	r3, .L7+8
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L6
.L3:
	mov	r0, r6
	mov	r1, #0
	bl	spin_unlock_irqrestore
	ldr	r2, .L7+12
	ldr	r3, .L7+16
	ldr	r1, [r2]
	ldr	r3, [r3]
	add	r0, r4, #4
	add	r1, r1, r3
	pop	{r4, r5, r6, lr}
	b	mod_timer
.L6:
	mov	r0, r4
	bl	cache_hw_sample_counters
	ldr	r3, .L7+20
	ldr	r3, [r3]
	str	r3, [r4]
.L2:
	mov	r0, r4
	bl	xmit_wait_get_value_delta
	ldr	r2, .L7+24
	str	r0, [r4, #8]
	ldr	r1, [r2]
	mov	r0, r4
	mov	r2, #0
	ldr	r3, [r5, #4]
	blx	r3
	b	.L3
.L8:
	.align	2
.L7:
	.word	IB_PMA_CONG_HW_CONTROL_SAMPLE
	.word	QIBPORTCNTR_PSSTAT
	.word	IB_PMA_SAMPLE_STATUS_DONE
	.word	jiffies
	.word	HZ
	.word	IB_PMA_CONG_HW_CONTROL_TIMER
	.word	QIB_CONG_TIMER_PSINTERVAL
	.size	xmit_wait_timer_func, .-xmit_wait_timer_func
	.comm	jiffies,4,4
	.comm	QIB_CONG_TIMER_PSINTERVAL,4,4
	.comm	QIBPORTCNTR_PSSTAT,4,4
	.comm	IB_PMA_SAMPLE_STATUS_DONE,4,4
	.comm	IB_PMA_CONG_HW_CONTROL_TIMER,4,4
	.comm	IB_PMA_CONG_HW_CONTROL_SAMPLE,4,4
	.comm	HZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
