	.file	"extr_sdma.c_sdma_engine_interrupt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sdma_engine_interrupt
	.type	sdma_engine_interrupt, @function
sdma_engine_interrupt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	lea	r13, 12[rbp]
	call	trace_hfi1_sdma_engine_interrupt@PLT
	mov	rdi, r13
	call	write_seqlock@PLT
	mov	esi, DWORD PTR sdma_desct_intr[rip]
	mov	rdi, rbp
	call	sdma_set_desc_cnt@PLT
	test	DWORD PTR 0[rbp], r12d
	je	.L2
	add	DWORD PTR 24[rbp], 1
.L3:
	mov	rdi, rbp
	mov	esi, r12d
	call	sdma_make_progress@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r13
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	write_sequnlock@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	test	DWORD PTR 4[rbp], r12d
	je	.L4
	add	DWORD PTR 20[rbp], 1
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	test	DWORD PTR 8[rbp], r12d
	je	.L3
	add	DWORD PTR 16[rbp], 1
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	sdma_engine_interrupt, .-sdma_engine_interrupt
	.comm	sdma_desct_intr,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_sdma.c_sdma_engine_interrupt.c"
	.text
	.align	2
	.global	sdma_engine_interrupt
	.syntax unified
	.arm
	.fpu softvfp
	.type	sdma_engine_interrupt, %function
sdma_engine_interrupt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	add	r6, r0, #12
	bl	trace_hfi1_sdma_engine_interrupt
	mov	r0, r6
	bl	write_seqlock
	ldr	r3, .L10
	mov	r0, r4
	ldr	r1, [r3]
	bl	sdma_set_desc_cnt
	ldr	r3, [r4]
	tst	r5, r3
	beq	.L2
	ldr	r3, [r4, #24]
	add	r3, r3, #1
	str	r3, [r4, #24]
.L3:
	mov	r1, r5
	mov	r0, r4
	bl	sdma_make_progress
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	b	write_sequnlock
.L2:
	ldr	r3, [r4, #4]
	tst	r5, r3
	ldrne	r3, [r4, #20]
	addne	r3, r3, #1
	strne	r3, [r4, #20]
	bne	.L3
.L4:
	ldr	r3, [r4, #8]
	tst	r5, r3
	ldrne	r3, [r4, #16]
	addne	r3, r3, #1
	strne	r3, [r4, #16]
	b	.L3
.L11:
	.align	2
.L10:
	.word	sdma_desct_intr
	.size	sdma_engine_interrupt, .-sdma_engine_interrupt
	.comm	sdma_desct_intr,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
