	.file	"extr_tifm_7xx1.c_tifm_7xx1_isr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tifm_7xx1_isr, @function
tifm_7xx1_isr:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	lea	r12, 8[rsi]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rdi, r12
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	spin_lock@PLT
	mov	rdi, QWORD PTR FM_INTERRUPT_STATUS[rip]
	add	rdi, QWORD PTR 16[rbx]
	call	readl@PLT
	mov	r13d, eax
	sub	eax, 1
	cmp	eax, -3
	ja	.L30
	mov	edi, DWORD PTR TIFM_IRQ_ENABLE[rip]
	mov	rsi, QWORD PTR 16[rbx]
	test	edi, r13d
	jne	.L31
.L4:
	mov	edi, r13d
	add	rsi, QWORD PTR FM_INTERRUPT_STATUS[rip]
	call	writel@PLT
	mov	rdi, QWORD PTR 24[rbx]
	test	rdi, rdi
	jne	.L32
	mov	eax, DWORD PTR 4[rbx]
	test	eax, eax
	je	.L33
	lea	rdi, 12[rbx]
	call	tifm_queue_work@PLT
.L12:
	mov	rdi, r12
	call	spin_unlock@PLT
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	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
.L33:
	.cfi_restore_state
	mov	edi, DWORD PTR TIFM_IRQ_ENABLE[rip]
	mov	rsi, QWORD PTR FM_SET_INTERRUPT_ENABLE[rip]
	add	rsi, QWORD PTR 16[rbx]
	call	writel@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L32:
	call	complete_all@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L31:
	add	rsi, QWORD PTR FM_CLEAR_INTERRUPT_ENABLE[rip]
	call	writel@PLT
	mov	ecx, DWORD PTR [rbx]
	mov	eax, ecx
	test	ecx, ecx
	je	.L5
	xor	ebp, ebp
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdx, QWORD PTR 32[rbx]
	mov	eax, ebp
	mov	r14, QWORD PTR [rdx+rax*8]
	test	r14, r14
	je	.L7
	mov	r15d, r13d
	mov	ecx, ebp
	mov	edi, 1
	shr	r15d, cl
	call	TIFM_IRQ_FIFOMASK@PLT
	test	r15d, eax
	je	.L8
	mov	rdi, r14
	call	[QWORD PTR 8[r14]]
.L8:
	mov	edi, 1
	call	TIFM_IRQ_CARDMASK@PLT
	test	r15d, eax
	je	.L28
	mov	rdi, r14
	call	[QWORD PTR [r14]]
.L28:
	mov	ecx, DWORD PTR [rbx]
.L7:
	add	ebp, 1
	cmp	ecx, ebp
	ja	.L10
	mov	eax, 1
	sal	eax, cl
	sub	eax, 1
	and	eax, r13d
.L5:
	or	DWORD PTR 4[rbx], eax
	mov	rsi, QWORD PTR 16[rbx]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L30:
	mov	rdi, r12
	call	spin_unlock@PLT
	mov	eax, DWORD PTR IRQ_NONE[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	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
	.cfi_endproc
.LFE0:
	.size	tifm_7xx1_isr, .-tifm_7xx1_isr
	.comm	TIFM_IRQ_ENABLE,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	FM_SET_INTERRUPT_ENABLE,8,8
	.comm	FM_INTERRUPT_STATUS,8,8
	.comm	FM_CLEAR_INTERRUPT_ENABLE,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_tifm_7xx1.c_tifm_7xx1_isr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tifm_7xx1_isr, %function
tifm_7xx1_isr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r1
	add	r9, r1, #8
	ldr	r10, .L34
	mov	r0, r9
	bl	spin_lock
	ldr	r3, [r10]
	ldr	r0, [r4, #16]
	add	r0, r0, r3
	bl	readl
	sub	r3, r0, #1
	cmn	r3, #3
	bhi	.L30
	mov	r6, r0
	ldr	fp, .L34+4
	ldr	r3, [r4, #16]
	ldr	r0, [fp]
	tst	r0, r6
	bne	.L31
.L4:
	ldr	r1, [r10]
	mov	r0, r6
	add	r1, r3, r1
	bl	writel
	ldr	r0, [r4, #20]
	cmp	r0, #0
	bne	.L32
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L33
	add	r0, r4, #12
	bl	tifm_queue_work
.L12:
	mov	r0, r9
	bl	spin_unlock
	ldr	r3, .L34+8
	ldr	r0, [r3]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L33:
	ldr	r3, .L34+12
	ldr	r1, [r4, #16]
	ldr	r3, [r3]
	ldr	r0, [fp]
	add	r1, r1, r3
	bl	writel
	b	.L12
.L32:
	bl	complete_all
	b	.L12
.L31:
	ldr	r2, .L34+16
	ldr	r1, [r2]
	add	r1, r3, r1
	bl	writel
	ldr	r3, [r4]
	cmp	r3, #0
	mov	r2, r3
	beq	.L5
	mov	r5, #0
.L10:
	ldr	r2, [r4, #24]
	lsr	r8, r6, r5
	ldr	r7, [r2, r5, lsl #2]
	cmp	r7, #0
	beq	.L7
	mov	r0, #1
	bl	TIFM_IRQ_FIFOMASK
	tst	r8, r0
	beq	.L8
	mov	r0, r7
	ldr	r3, [r7, #4]
	blx	r3
.L8:
	mov	r0, #1
	bl	TIFM_IRQ_CARDMASK
	tst	r8, r0
	beq	.L28
	mov	r0, r7
	ldr	r3, [r7]
	blx	r3
.L28:
	ldr	r3, [r4]
.L7:
	add	r5, r5, #1
	cmp	r3, r5
	bhi	.L10
	mvn	r2, #0
	bic	r2, r6, r2, lsl r3
.L5:
	ldr	r1, [r4, #4]
	ldr	r3, [r4, #16]
	orr	r2, r1, r2
	str	r2, [r4, #4]
	b	.L4
.L30:
	mov	r0, r9
	bl	spin_unlock
	ldr	r3, .L34+20
	ldr	r0, [r3]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L35:
	.align	2
.L34:
	.word	FM_INTERRUPT_STATUS
	.word	TIFM_IRQ_ENABLE
	.word	IRQ_HANDLED
	.word	FM_SET_INTERRUPT_ENABLE
	.word	FM_CLEAR_INTERRUPT_ENABLE
	.word	IRQ_NONE
	.size	tifm_7xx1_isr, .-tifm_7xx1_isr
	.comm	TIFM_IRQ_ENABLE,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	FM_SET_INTERRUPT_ENABLE,4,4
	.comm	FM_INTERRUPT_STATUS,4,4
	.comm	FM_CLEAR_INTERRUPT_ENABLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
