	.file	"extr_highbank_l2_edac.c_highbank_l2_err_handler.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	highbank_l2_err_handler, @function
highbank_l2_err_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	r12, QWORD PTR 8[rsi]
	mov	ebx, edi
	cmp	DWORD PTR [r12], edi
	je	.L6
	cmp	DWORD PTR 4[r12], ebx
	je	.L7
.L3:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rsi, QWORD PTR SR_CLR_SB_ECC_INTR[rip]
	mov	edi, 1
	add	rsi, QWORD PTR 8[r12]
	call	writel@PLT
	mov	ecx, DWORD PTR 0[rbp]
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rbp
	call	edac_device_handle_ce@PLT
	cmp	DWORD PTR 4[r12], ebx
	jne	.L3
.L7:
	mov	rsi, QWORD PTR SR_CLR_DB_ECC_INTR[rip]
	mov	edi, 1
	add	rsi, QWORD PTR 8[r12]
	call	writel@PLT
	mov	ecx, DWORD PTR 0[rbp]
	mov	rdi, rbp
	xor	edx, edx
	xor	esi, esi
	call	edac_device_handle_ue@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	highbank_l2_err_handler, .-highbank_l2_err_handler
	.comm	SR_CLR_SB_ECC_INTR,8,8
	.comm	SR_CLR_DB_ECC_INTR,8,8
	.comm	IRQ_HANDLED,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_highbank_l2_edac.c_highbank_l2_err_handler.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	highbank_l2_err_handler, %function
highbank_l2_err_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, [r1, #4]
	mov	r5, r1
	ldr	r3, [r6]
	mov	r4, r0
	cmp	r3, r0
	beq	.L6
	ldr	r3, [r6, #4]
	cmp	r3, r4
	beq	.L7
.L3:
	ldr	r3, .L8
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r3, .L8+4
	ldr	r1, [r6, #8]
	ldr	r3, [r3]
	mov	r0, #1
	add	r1, r1, r3
	bl	writel
	mov	r2, #0
	ldr	r3, [r5]
	mov	r1, r2
	mov	r0, r5
	bl	edac_device_handle_ce
	ldr	r3, [r6, #4]
	cmp	r3, r4
	bne	.L3
.L7:
	ldr	r3, .L8+8
	ldr	r1, [r6, #8]
	ldr	r3, [r3]
	mov	r0, #1
	add	r1, r1, r3
	bl	writel
	mov	r2, #0
	mov	r0, r5
	mov	r1, r2
	ldr	r3, [r5]
	bl	edac_device_handle_ue
	b	.L3
.L9:
	.align	2
.L8:
	.word	IRQ_HANDLED
	.word	SR_CLR_SB_ECC_INTR
	.word	SR_CLR_DB_ECC_INTR
	.size	highbank_l2_err_handler, .-highbank_l2_err_handler
	.comm	SR_CLR_SB_ECC_INTR,4,4
	.comm	SR_CLR_DB_ECC_INTR,4,4
	.comm	IRQ_HANDLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
