	.file	"extr_intel8x0m.c_snd_intel8x0_interrupt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_intel8x0_interrupt, @function
snd_intel8x0_interrupt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, 8[rsi]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	rdi, r13
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	spin_lock@PLT
	mov	esi, DWORD PTR 12[rbp]
	mov	rdi, rbp
	call	igetdword@PLT
	cmp	eax, -1
	je	.L7
	mov	r12d, eax
	mov	edx, eax
	and	edx, DWORD PTR 0[rbp]
	je	.L4
	mov	eax, DWORD PTR 4[rbp]
	xor	ebx, ebx
	test	eax, eax
	jne	.L5
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L8:
	add	ebx, 1
	cmp	DWORD PTR 4[rbp], ebx
	jbe	.L20
.L5:
	mov	rdx, QWORD PTR 16[rbp]
	mov	eax, ebx
	lea	rsi, [rdx+rax*4]
	test	DWORD PTR [rsi], r12d
	je	.L8
	mov	rdi, rbp
	add	ebx, 1
	call	snd_intel8x0_update@PLT
	cmp	DWORD PTR 4[rbp], ebx
	ja	.L5
.L20:
	mov	edx, DWORD PTR 0[rbp]
	and	edx, r12d
.L6:
	mov	esi, DWORD PTR 12[rbp]
	mov	rdi, rbp
	call	iputdword@PLT
	mov	rdi, r13
	call	spin_unlock@PLT
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L4:
	.cfi_restore_state
	test	eax, eax
	je	.L7
	mov	esi, DWORD PTR 12[rbp]
	mov	edx, eax
	mov	rdi, rbp
	call	iputdword@PLT
.L7:
	mov	rdi, r13
	call	spin_unlock@PLT
	mov	eax, DWORD PTR IRQ_NONE[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	snd_intel8x0_interrupt, .-snd_intel8x0_interrupt
	.comm	IRQ_NONE,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_intel8x0m.c_snd_intel8x0_interrupt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_intel8x0_interrupt, %function
snd_intel8x0_interrupt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	add	r7, r1, #8
	mov	r0, r7
	bl	spin_lock
	mov	r0, r5
	ldr	r1, [r5, #12]
	bl	igetdword
	cmn	r0, #1
	beq	.L7
	ldr	r2, [r5]
	mov	r6, r0
	ands	r2, r0, r2
	beq	.L4
	ldr	r0, [r5, #4]
	cmp	r0, #0
	movne	r4, #0
	bne	.L5
	b	.L6
.L8:
	cmp	r0, r4
	bls	.L19
.L5:
	ldr	r3, [r5, #16]
	ldr	r2, [r3, r4, lsl #2]
	add	r1, r3, r4, lsl #2
	tst	r6, r2
	add	r4, r4, #1
	beq	.L8
	mov	r0, r5
	bl	snd_intel8x0_update
	ldr	r0, [r5, #4]
	cmp	r0, r4
	bhi	.L5
.L19:
	ldr	r2, [r5]
	and	r2, r2, r6
.L6:
	ldr	r1, [r5, #12]
	mov	r0, r5
	bl	iputdword
	mov	r0, r7
	bl	spin_unlock
	ldr	r3, .L20
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	cmp	r0, #0
	beq	.L7
	mov	r2, r0
	ldr	r1, [r5, #12]
	mov	r0, r5
	bl	iputdword
.L7:
	mov	r0, r7
	bl	spin_unlock
	ldr	r3, .L20+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L21:
	.align	2
.L20:
	.word	IRQ_HANDLED
	.word	IRQ_NONE
	.size	snd_intel8x0_interrupt, .-snd_intel8x0_interrupt
	.comm	IRQ_NONE,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
