	.file	"extr_sun3_scsi_vme.c_scsi_sun3_intr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"scsi%d: bus error in dma\n"
.LC1:
	.string	"scsi%d: dma conflict\n"
	.text
	.p2align 4
	.type	scsi_sun3_intr, @function
scsi_sun3_intr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdx, QWORD PTR dregs[rip]
	movzx	eax, WORD PTR CSR_DMA_ENABLE[rip]
	movzx	ebp, WORD PTR [rdx]
	not	eax
	and	eax, ebp
	mov	ebx, ebp
	mov	WORD PTR [rdx], ax
	movzx	eax, WORD PTR CSR_GOOD[rip]
	not	eax
	and	ebp, eax
	je	.L2
	test	WORD PTR CSR_DMA_BUSERR[rip], bx
	jne	.L18
	mov	ebp, 1
	test	WORD PTR CSR_DMA_CONFLICT[rip], bx
	jne	.L19
.L2:
	movzx	eax, WORD PTR CSR_SDB_INT[rip]
	or	ax, WORD PTR CSR_DMA_INT[rip]
	test	ax, bx
	jne	.L20
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edi, ebp
	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
	jmp	IRQ_RETVAL@PLT
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	rsi, r13
	mov	edi, r12d
	mov	ebp, 1
	call	NCR5380_intr@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rax, QWORD PTR default_instance[rip]
	lea	rdi, .LC1[rip]
	movzx	esi, WORD PTR [rax]
	xor	eax, eax
	call	printk@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rax, QWORD PTR default_instance[rip]
	lea	rdi, .LC0[rip]
	mov	ebp, 1
	movzx	esi, WORD PTR [rax]
	xor	eax, eax
	call	printk@PLT
	test	WORD PTR CSR_DMA_CONFLICT[rip], bx
	je	.L2
	jmp	.L19
	.cfi_endproc
.LFE0:
	.size	scsi_sun3_intr, .-scsi_sun3_intr
	.comm	sun3_dma_orig_addr,4,4
	.comm	dregs,8,8
	.comm	default_instance,8,8
	.comm	CSR_SDB_INT,2,2
	.comm	CSR_GOOD,2,2
	.comm	CSR_DMA_INT,2,2
	.comm	CSR_DMA_ENABLE,2,2
	.comm	CSR_DMA_CONFLICT,2,2
	.comm	CSR_DMA_BUSERR,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_sun3_scsi_vme.c_scsi_sun3_intr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"scsi%d: bus error in dma\012\000"
	.align	2
.LC1:
	.ascii	"scsi%d: dma conflict\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	scsi_sun3_intr, %function
scsi_sun3_intr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L20
	ldr	r2, .L20+4
	ldr	ip, [r3]
	ldr	r3, .L20+8
	push	{r4, r5, r6, lr}
	ldrh	r2, [r2]
	ldrh	r4, [ip]
	ldrh	r3, [r3]
	bic	r2, r4, r2
	bics	r3, r4, r3
	mov	r5, r0
	mov	r6, r1
	strh	r2, [ip]	@ movhi
	beq	.L2
	ldr	r3, .L20+12
	ldrh	r3, [r3]
	tst	r4, r3
	bne	.L17
.L3:
	ldr	r3, .L20+16
	ldrh	r3, [r3]
	tst	r4, r3
	moveq	r3, #1
	bne	.L18
.L2:
	ldr	r2, .L20+20
	ldr	r1, .L20+24
	ldrh	r2, [r2]
	ldrh	r1, [r1]
	orr	r2, r2, r1
	tst	r4, r2
	bne	.L19
	pop	{r4, r5, r6, lr}
	mov	r0, r3
	b	IRQ_RETVAL
.L19:
	mov	r1, r6
	mov	r0, r5
	bl	NCR5380_intr
	pop	{r4, r5, r6, lr}
	mov	r3, #1
	mov	r0, r3
	b	IRQ_RETVAL
.L18:
	ldr	r3, .L20+28
	ldr	r0, .L20+32
	ldr	r3, [r3]
	ldrh	r1, [r3]
	bl	printk
	mov	r3, #1
	b	.L2
.L17:
	ldr	r3, .L20+28
	ldr	r0, .L20+36
	ldr	r3, [r3]
	ldrh	r1, [r3]
	bl	printk
	b	.L3
.L21:
	.align	2
.L20:
	.word	dregs
	.word	CSR_DMA_ENABLE
	.word	CSR_GOOD
	.word	CSR_DMA_BUSERR
	.word	CSR_DMA_CONFLICT
	.word	CSR_SDB_INT
	.word	CSR_DMA_INT
	.word	default_instance
	.word	.LC1
	.word	.LC0
	.size	scsi_sun3_intr, .-scsi_sun3_intr
	.comm	sun3_dma_orig_addr,4,4
	.comm	dregs,4,4
	.comm	default_instance,4,4
	.comm	CSR_SDB_INT,2,2
	.comm	CSR_GOOD,2,2
	.comm	CSR_DMA_INT,2,2
	.comm	CSR_DMA_ENABLE,2,2
	.comm	CSR_DMA_CONFLICT,2,2
	.comm	CSR_DMA_BUSERR,2,2
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
