	.file	"extr_amiints.c_ami_int1.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ami_int1, @function
ami_int1:
.LFB0:
	.cfi_startproc
	endbr64
	movzx	eax, WORD PTR IF_TBE[rip]
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movzx	ebx, WORD PTR amiga_custom[rip]
	and	bx, WORD PTR amiga_custom[rip+2]
	test	ax, bx
	jne	.L13
	movzx	eax, WORD PTR IF_DSKBLK[rip]
	test	ax, bx
	jne	.L14
.L3:
	movzx	eax, WORD PTR IF_SOFT[rip]
	test	ax, bx
	jne	.L15
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	edi, DWORD PTR IRQ_AMIGA_TBE[rip]
	mov	WORD PTR amiga_custom[rip+4], ax
	call	generic_handle_irq@PLT
	movzx	eax, WORD PTR IF_DSKBLK[rip]
	test	ax, bx
	je	.L3
.L14:
	mov	edi, DWORD PTR IRQ_AMIGA_DSKBLK[rip]
	mov	WORD PTR amiga_custom[rip+4], ax
	call	generic_handle_irq@PLT
	movzx	eax, WORD PTR IF_SOFT[rip]
	test	ax, bx
	je	.L1
.L15:
	mov	edi, DWORD PTR IRQ_AMIGA_SOFT[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	mov	WORD PTR amiga_custom[rip+4], ax
	jmp	generic_handle_irq@PLT
	.cfi_endproc
.LFE0:
	.size	ami_int1, .-ami_int1
	.comm	amiga_custom,6,2
	.comm	IRQ_AMIGA_TBE,4,4
	.comm	IRQ_AMIGA_SOFT,4,4
	.comm	IRQ_AMIGA_DSKBLK,4,4
	.comm	IF_TBE,2,2
	.comm	IF_SOFT,2,2
	.comm	IF_DSKBLK,2,2
	.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_amiints.c_ami_int1.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ami_int1, %function
ami_int1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L15
	ldr	r3, .L15+4
	ldrh	r4, [r5]
	ldrh	r2, [r5, #2]
	ldrh	r3, [r3]
	and	r4, r4, r2
	tst	r3, r4
	bne	.L13
.L2:
	ldr	r3, .L15+8
	ldrh	r3, [r3]
	tst	r3, r4
	bne	.L14
.L3:
	ldr	r3, .L15+12
	ldrh	r3, [r3]
	tst	r3, r4
	popeq	{r4, r5, r6, pc}
	ldr	r2, .L15+16
	strh	r3, [r5, #4]	@ movhi
	ldr	r0, [r2]
	pop	{r4, r5, r6, lr}
	b	generic_handle_irq
.L14:
	ldr	r2, .L15+20
	strh	r3, [r5, #4]	@ movhi
	ldr	r0, [r2]
	bl	generic_handle_irq
	b	.L3
.L13:
	ldr	r2, .L15+24
	strh	r3, [r5, #4]	@ movhi
	ldr	r0, [r2]
	bl	generic_handle_irq
	b	.L2
.L16:
	.align	2
.L15:
	.word	amiga_custom
	.word	IF_TBE
	.word	IF_DSKBLK
	.word	IF_SOFT
	.word	IRQ_AMIGA_SOFT
	.word	IRQ_AMIGA_DSKBLK
	.word	IRQ_AMIGA_TBE
	.size	ami_int1, .-ami_int1
	.comm	amiga_custom,6,4
	.comm	IRQ_AMIGA_TBE,4,4
	.comm	IRQ_AMIGA_SOFT,4,4
	.comm	IRQ_AMIGA_DSKBLK,4,4
	.comm	IF_TBE,2,2
	.comm	IF_SOFT,2,2
	.comm	IF_DSKBLK,2,2
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
