	.file	"extr_mISDNinfineon.c_niccy_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	niccy_irq, @function
niccy_irq:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rdi, rsi
	mov	rbp, rsi
	call	spin_lock@PLT
	mov	edi, DWORD PTR NICCY_IRQ_CTRL_REG[rip]
	add	edi, DWORD PTR 16[rbp]
	call	inl@PLT
	test	DWORD PTR NICCY_IRQ_BIT[rip], eax
	je	.L6
	mov	esi, DWORD PTR NICCY_IRQ_CTRL_REG[rip]
	mov	edi, eax
	add	esi, DWORD PTR 16[rbp]
	call	outl@PLT
	add	DWORD PTR 8[rbp], 1
	mov	esi, DWORD PTR irqloops[rip]
	lea	rdi, 4[rbp]
	call	mISDNipac_irq@PLT
	mov	rdi, rbp
	call	spin_unlock@PLT
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, rbp
	call	spin_unlock@PLT
	mov	eax, DWORD PTR IRQ_NONE[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	niccy_irq, .-niccy_irq
	.comm	irqloops,4,4
	.comm	NICCY_IRQ_CTRL_REG,4,4
	.comm	NICCY_IRQ_BIT,4,4
	.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_mISDNinfineon.c_niccy_irq.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	niccy_irq, %function
niccy_irq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	ldr	r5, .L7
	mov	r0, r1
	bl	spin_lock
	ldr	r3, [r5]
	ldr	r0, [r4, #12]
	add	r0, r0, r3
	bl	inl
	ldr	r3, .L7+4
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L6
	ldr	r3, [r5]
	ldr	r1, [r4, #12]
	add	r1, r1, r3
	bl	outl
	ldr	r3, [r4, #8]
	ldr	r2, .L7+8
	add	r3, r3, #1
	str	r3, [r4, #8]
	ldr	r1, [r2]
	add	r0, r4, #4
	bl	mISDNipac_irq
	mov	r0, r4
	bl	spin_unlock
	ldr	r3, .L7+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L6:
	mov	r0, r4
	bl	spin_unlock
	ldr	r3, .L7+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	NICCY_IRQ_CTRL_REG
	.word	NICCY_IRQ_BIT
	.word	irqloops
	.word	IRQ_HANDLED
	.word	IRQ_NONE
	.size	niccy_irq, .-niccy_irq
	.comm	irqloops,4,4
	.comm	NICCY_IRQ_CTRL_REG,4,4
	.comm	NICCY_IRQ_BIT,4,4
	.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
