	.file	"extr_bman_ccsr.c_bman_isr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ErrInt: %s\n"
.LC1:
	.string	"Disabling error 0x%x\n"
	.text
	.p2align 4
	.type	bman_isr, @function
bman_isr:
.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
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR REG_ERR_IER[rip]
	call	bm_ccsr_in@PLT
	mov	edi, DWORD PTR REG_ERR_ISR[rip]
	mov	rbx, rax
	call	bm_ccsr_in@PLT
	mov	edi, DWORD PTR REG_ECSR[rip]
	mov	QWORD PTR 8[rsp], rax
	mov	r15, rax
	call	bm_ccsr_in@PLT
	mov	QWORD PTR [rsp], rax
	mov	eax, DWORD PTR IRQ_NONE[rip]
	and	r15, rbx
	je	.L1
	mov	rbp, r15
	mov	rdi, QWORD PTR bman_hwerr_txts[rip]
	xor	r12d, r12d
	lea	r15, .LC0[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	add	r12, 1
.L3:
	call	ARRAY_SIZE@PLT
	cmp	rax, r12
	jbe	.L20
	mov	rdi, QWORD PTR bman_hwerr_txts[rip]
	mov	r13, r12
	sal	r13, 4
	lea	rax, [rdi+r13]
	test	QWORD PTR [rax], rbp
	je	.L5
	mov	edx, DWORD PTR 8[rax]
	mov	rdi, r14
	mov	rsi, r15
	call	dev_err_ratelimited@PLT
	mov	rdi, QWORD PTR bman_hwerr_txts[rip]
	mov	rdx, QWORD PTR [rdi+r13]
	test	QWORD PTR [rsp], rdx
	jne	.L21
.L6:
	movsx	rax, DWORD PTR BMAN_ERRS_TO_DISABLE[rip]
	test	rax, rdx
	je	.L5
	lea	rsi, .LC1[rip]
	mov	rdi, r14
	call	dev_dbg@PLT
	mov	rax, QWORD PTR bman_hwerr_txts[rip]
	mov	edi, DWORD PTR REG_ERR_IER[rip]
	mov	rax, QWORD PTR [rax+r13]
	not	rax
	and	rbx, rax
	mov	rsi, rbx
	call	bm_ccsr_out@PLT
	mov	rdi, QWORD PTR bman_hwerr_txts[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rsi, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR REG_ERR_ISR[rip]
	call	bm_ccsr_out@PLT
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L21:
	.cfi_restore_state
	mov	edi, DWORD PTR REG_ECSR[rip]
	mov	rsi, QWORD PTR [rsp]
	call	bm_ccsr_out@PLT
	mov	rdi, QWORD PTR bman_hwerr_txts[rip]
	mov	rdx, QWORD PTR [rdi+r13]
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	bman_isr, .-bman_isr
	.comm	bman_hwerr_txts,8,8
	.comm	REG_ERR_ISR,4,4
	.comm	REG_ERR_IER,4,4
	.comm	REG_ECSR,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	BMAN_ERRS_TO_DISABLE,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_bman_ccsr.c_bman_isr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ErrInt: %s\012\000"
	.align	2
.LC1:
	.ascii	"Disabling error 0x%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bman_isr, %function
bman_isr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L21
	sub	sp, sp, #12
	ldr	r0, [r3]
	mov	r9, r1
	bl	bm_ccsr_in
	ldr	r3, .L21+4
	mov	r6, r0
	ldr	r0, [r3]
	bl	bm_ccsr_in
	ldr	r3, .L21+8
	mov	r4, r0
	str	r0, [sp, #4]
	ldr	r0, [r3]
	bl	bm_ccsr_in
	ands	r7, r6, r4
	str	r0, [sp]
	beq	.L2
	ldr	r5, .L21+12
	mov	r4, #0
	ldr	r0, [r5]
	ldr	fp, .L21+16
	ldr	r10, .L21+20
	b	.L3
.L5:
	add	r4, r4, #1
.L3:
	bl	ARRAY_SIZE
	cmp	r0, r4
	bls	.L19
	ldr	r0, [r5]
	lsl	r8, r4, #3
	ldr	r2, [r0, r4, lsl #3]
	add	r1, r0, r4, lsl #3
	tst	r7, r2
	beq	.L5
	ldr	r2, [r1, #4]
	mov	r0, r9
	mov	r1, fp
	bl	dev_err_ratelimited
	ldr	r0, [r5]
	ldr	r3, [sp]
	ldr	r2, [r0, r4, lsl #3]
	tst	r2, r3
	bne	.L20
.L6:
	ldr	r1, [r10]
	tst	r2, r1
	beq	.L5
	ldr	r1, .L21+24
	mov	r0, r9
	bl	dev_dbg
	ldr	r2, [r5]
	ldr	r3, .L21
	ldr	r0, [r3]
	ldr	r3, [r2, r8]
	bic	r6, r6, r3
	mov	r1, r6
	bl	bm_ccsr_out
	ldr	r0, [r5]
	b	.L5
.L19:
	ldr	r3, .L21+4
	ldr	r1, [sp, #4]
	ldr	r0, [r3]
	bl	bm_ccsr_out
	ldr	r3, .L21+28
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L20:
	mov	r1, r3
	ldr	r3, .L21+8
	ldr	r0, [r3]
	bl	bm_ccsr_out
	ldr	r0, [r5]
	ldr	r2, [r0, r8]
	b	.L6
.L2:
	ldr	r3, .L21+32
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
	.align	2
.L21:
	.word	REG_ERR_IER
	.word	REG_ERR_ISR
	.word	REG_ECSR
	.word	bman_hwerr_txts
	.word	.LC0
	.word	BMAN_ERRS_TO_DISABLE
	.word	.LC1
	.word	IRQ_HANDLED
	.word	IRQ_NONE
	.size	bman_isr, .-bman_isr
	.comm	bman_hwerr_txts,4,4
	.comm	REG_ERR_ISR,4,4
	.comm	REG_ERR_IER,4,4
	.comm	REG_ECSR,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	BMAN_ERRS_TO_DISABLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
