	.file	"extr_csio_hw.c_csio_handle_intr_status.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Fatal %s (0x%x)\n"
.LC1:
	.string	"%s (0x%x)\n"
	.text
	.p2align 4
	.globl	csio_handle_intr_status
	.type	csio_handle_intr_status, @function
csio_handle_intr_status:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	csio_rd_reg32@PLT
	mov	ecx, DWORD PTR [rbx]
	test	ecx, ecx
	je	.L7
	mov	r14d, eax
	xor	r15d, r15d
	xor	r12d, r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	test	rdx, rdx
	jne	.L20
.L5:
	or	r15d, DWORD PTR [rbx]
.L3:
	mov	ecx, DWORD PTR 24[rbx]
	add	rbx, 24
	test	ecx, ecx
	je	.L21
.L6:
	and	ecx, r14d
	je	.L3
	cmp	QWORD PTR 16[rbx], 0
	mov	rdx, QWORD PTR 8[rbx]
	je	.L4
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	add	r12d, 1
	call	csio_fatal@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L20:
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	csio_info@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L21:
	and	r14d, r15d
	je	.L1
	mov	edx, r13d
	mov	esi, r14d
	mov	rdi, rbp
	call	csio_wr_reg32@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	xor	r12d, r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	csio_handle_intr_status, .-csio_handle_intr_status
	.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_csio_hw.c_csio_handle_intr_status.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Fatal %s (0x%x)\012\000"
	.align	2
.LC1:
	.ascii	"%s (0x%x)\012\000"
	.text
	.align	2
	.global	csio_handle_intr_status
	.syntax unified
	.arm
	.fpu softvfp
	.type	csio_handle_intr_status, %function
csio_handle_intr_status:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r2
	mov	r7, r0
	mov	r9, r1
	bl	csio_rd_reg32
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L7
	mov	r6, #0
	mov	r5, r0
	mov	r8, r6
	ldr	fp, .L22
	ldr	r10, .L22+4
	b	.L6
.L4:
	cmp	r2, #0
	bne	.L20
.L5:
	ldr	r3, [r4]
	orr	r6, r6, r3
.L3:
	ldr	r3, [r4, #12]!
	cmp	r3, #0
	beq	.L21
.L6:
	ands	r3, r3, r5
	beq	.L3
	ldr	r1, [r4, #8]
	ldr	r2, [r4, #4]
	cmp	r1, #0
	beq	.L4
	mov	r1, r10
	mov	r0, r7
	add	r8, r8, #1
	bl	csio_fatal
	b	.L5
.L20:
	mov	r1, fp
	mov	r0, r7
	bl	csio_info
	b	.L5
.L21:
	ands	r1, r6, r5
	beq	.L1
	mov	r2, r9
	mov	r0, r7
	bl	csio_wr_reg32
.L1:
	mov	r0, r8
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	mov	r8, r3
	mov	r0, r8
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC1
	.word	.LC0
	.size	csio_handle_intr_status, .-csio_handle_intr_status
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
