	.file	"extr_qib_iba7322.c_sdma_cleanup_intr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sdma_cleanup_intr, @function
sdma_cleanup_intr:
.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
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	r12, QWORD PTR 8[rsi]
	mov	edx, DWORD PTR QIB_PRESENT[rip]
	mov	eax, DWORD PTR QIB_BADINTR[rip]
	or	eax, edx
	and	eax, DWORD PTR [r12]
	cmp	edx, eax
	je	.L2
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[r12]
	mov	rbp, rsi
	mov	edi, DWORD PTR [rax]
	call	this_cpu_inc@PLT
	cmp	QWORD PTR 0[rbp], 0
	jne	.L9
	mov	edi, DWORD PTR SDmaCleanupDone[rip]
	xor	esi, esi
	call	INT_MASK_PM@PLT
	mov	edx, eax
.L5:
	mov	esi, DWORD PTR kr_intclear[rip]
	mov	rdi, r12
	call	qib_write_kreg@PLT
	mov	esi, DWORD PTR qib_sdma_event_e20_hw_started[rip]
	mov	rdi, rbp
	call	qib_sdma_process_event@PLT
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR SDmaCleanupDone[rip]
	mov	esi, 1
	call	INT_MASK_PM@PLT
	mov	edx, eax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	sdma_cleanup_intr, .-sdma_cleanup_intr
	.comm	qib_sdma_event_e20_hw_started,4,4
	.comm	kr_intclear,4,4
	.comm	SDmaCleanupDone,4,4
	.comm	QIB_PRESENT,4,4
	.comm	QIB_BADINTR,4,4
	.comm	IRQ_HANDLED,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_qib_iba7322.c_sdma_cleanup_intr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sdma_cleanup_intr, %function
sdma_cleanup_intr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L9
	ldr	r3, .L9+4
	push	{r4, r5, r6, lr}
	ldr	r5, [r1, #4]
	ldr	r2, [r2]
	ldr	r3, [r3]
	mov	r4, r1
	ldr	r1, [r5]
	orr	r3, r2, r3
	and	r3, r3, r1
	cmp	r2, r3
	beq	.L2
.L7:
	ldr	r3, .L9+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, [r5, #4]
	ldr	r0, [r3]
	bl	this_cpu_inc
	ldr	r3, .L9+12
	ldr	r1, [r4]
	ldr	r6, [r3]
	ldr	r3, .L9+16
	cmp	r1, #0
	movne	r1, #1
	ldr	r0, [r3]
	bl	INT_MASK_PM
	mov	r1, r6
	mov	r2, r0
	mov	r0, r5
	bl	qib_write_kreg
	ldr	r3, .L9+20
	mov	r0, r4
	ldr	r1, [r3]
	bl	qib_sdma_process_event
	b	.L7
.L10:
	.align	2
.L9:
	.word	QIB_PRESENT
	.word	QIB_BADINTR
	.word	IRQ_HANDLED
	.word	kr_intclear
	.word	SDmaCleanupDone
	.word	qib_sdma_event_e20_hw_started
	.size	sdma_cleanup_intr, .-sdma_cleanup_intr
	.comm	qib_sdma_event_e20_hw_started,4,4
	.comm	kr_intclear,4,4
	.comm	SDmaCleanupDone,4,4
	.comm	QIB_PRESENT,4,4
	.comm	QIB_BADINTR,4,4
	.comm	IRQ_HANDLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
