	.file	"extr_aic94xx_hwi.c_asd_hw_isr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	asd_hw_isr
	.type	asd_hw_isr, @function
asd_hw_isr:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rdi, rbp
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR CHIMINT[rip]
	call	asd_read_reg_dword@PLT
	test	eax, eax
	jne	.L2
	mov	eax, DWORD PTR IRQ_NONE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR CHIMINT[rip]
	mov	rdi, rbp
	mov	edx, eax
	mov	ebx, eax
	call	asd_write_reg_dword@PLT
	mov	esi, DWORD PTR CHIMINT[rip]
	mov	rdi, rbp
	call	asd_read_reg_dword@PLT
	test	DWORD PTR DLAVAIL[rip], ebx
	jne	.L26
	test	DWORD PTR COMINT[rip], ebx
	jne	.L27
.L5:
	test	DWORD PTR DEVINT[rip], ebx
	jne	.L28
.L6:
	test	DWORD PTR INITERR[rip], ebx
	jne	.L29
.L7:
	test	DWORD PTR HOSTERR[rip], ebx
	jne	.L30
.L8:
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	rdi, rbp
	call	asd_process_donelist_isr@PLT
	test	DWORD PTR COMINT[rip], ebx
	je	.L5
.L27:
	mov	rdi, rbp
	call	asd_com_sas_isr@PLT
	test	DWORD PTR DEVINT[rip], ebx
	je	.L6
.L28:
	mov	rdi, rbp
	call	asd_dch_sas_isr@PLT
	test	DWORD PTR INITERR[rip], ebx
	je	.L7
.L29:
	mov	rdi, rbp
	call	asd_rbi_exsi_isr@PLT
	test	DWORD PTR HOSTERR[rip], ebx
	je	.L8
.L30:
	mov	rdi, rbp
	call	asd_hst_pcix_isr@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	asd_hw_isr, .-asd_hw_isr
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	INITERR,4,4
	.comm	HOSTERR,4,4
	.comm	DLAVAIL,4,4
	.comm	DEVINT,4,4
	.comm	COMINT,4,4
	.comm	CHIMINT,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_aic94xx_hwi.c_asd_hw_isr.c"
	.text
	.align	2
	.global	asd_hw_isr
	.syntax unified
	.arm
	.fpu softvfp
	.type	asd_hw_isr, %function
asd_hw_isr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L31
	mov	r0, r1
	mov	r5, r1
	ldr	r1, [r6]
	bl	asd_read_reg_dword
	subs	r4, r0, #0
	bne	.L2
	ldr	r3, .L31+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L2:
	mov	r2, r4
	ldr	r1, [r6]
	mov	r0, r5
	bl	asd_write_reg_dword
	mov	r0, r5
	ldr	r1, [r6]
	bl	asd_read_reg_dword
	ldr	r3, .L31+8
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L26
	ldr	r3, .L31+12
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L27
.L5:
	ldr	r3, .L31+16
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L28
.L6:
	ldr	r3, .L31+20
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L29
.L7:
	ldr	r3, .L31+24
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L30
.L8:
	ldr	r3, .L31+28
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L26:
	mov	r0, r5
	bl	asd_process_donelist_isr
	ldr	r3, .L31+12
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L5
.L27:
	mov	r0, r5
	bl	asd_com_sas_isr
	ldr	r3, .L31+16
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L6
.L28:
	mov	r0, r5
	bl	asd_dch_sas_isr
	ldr	r3, .L31+20
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L7
.L29:
	mov	r0, r5
	bl	asd_rbi_exsi_isr
	ldr	r3, .L31+24
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L8
.L30:
	mov	r0, r5
	bl	asd_hst_pcix_isr
	b	.L8
.L32:
	.align	2
.L31:
	.word	CHIMINT
	.word	IRQ_NONE
	.word	DLAVAIL
	.word	COMINT
	.word	DEVINT
	.word	INITERR
	.word	HOSTERR
	.word	IRQ_HANDLED
	.size	asd_hw_isr, .-asd_hw_isr
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	INITERR,4,4
	.comm	HOSTERR,4,4
	.comm	DLAVAIL,4,4
	.comm	DEVINT,4,4
	.comm	COMINT,4,4
	.comm	CHIMINT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
