	.file	"extr_malta-int.c_corehi_irqdispatch.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"CoreHI interrupt, shouldn't happen, we die here!\n"
	.align 8
.LC1:
	.string	"epc\t : %08lx\nStatus: %08lx\nCause : %08lx\nbadVaddr : %08lx\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"GT_INTRCAUSE = %08x\n"
.LC3:
	.string	"GT_CPUERR_ADDR = %02x%08x\n"
.LC4:
	.string	"BONITO_INTISR = %08x\n"
.LC5:
	.string	"BONITO_INTEN = %08x\n"
.LC6:
	.string	"BONITO_INTPOL = %08x\n"
.LC7:
	.string	"BONITO_INTEDGE = %08x\n"
.LC8:
	.string	"BONITO_INTSTEER = %08x\n"
.LC9:
	.string	"BONITO_PCICMD = %08x\n"
.LC10:
	.string	"BONITO_PCIBADADDR = %08x\n"
.LC11:
	.string	"BONITO_PCIMSTAT = %08x\n"
.LC12:
	.string	"CoreHi interrupt"
	.text
	.p2align 4
	.type	corehi_irqdispatch, @function
corehi_irqdispatch:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	eax, eax
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	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
	call	get_irq_regs@PLT
	lea	rdi, .LC0[rip]
	mov	rbp, rax
	xor	eax, eax
	call	pr_emerg@PLT
	mov	ecx, DWORD PTR 4[rbp]
	mov	edx, DWORD PTR 8[rbp]
	xor	eax, eax
	mov	esi, DWORD PTR 12[rbp]
	mov	r8d, DWORD PTR 0[rbp]
	lea	rdi, .LC1[rip]
	call	pr_emerg@PLT
	mov	eax, DWORD PTR mips_revision_sconid[rip]
	cmp	eax, 132
	je	.L2
	jg	.L3
	add	eax, -128
	cmp	eax, 3
	ja	.L4
	xor	eax, eax
	call	ll_msc_irq@PLT
.L4:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, rbp
	lea	rdi, .LC12[rip]
	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
	jmp	die@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	eax, 133
	jne	.L4
	mov	r8d, DWORD PTR BONITO_INTPOL[rip]
	mov	r9d, DWORD PTR BONITO_INTEN[rip]
	lea	rdi, .LC4[rip]
	xor	eax, eax
	mov	esi, DWORD PTR BONITO_INTISR[rip]
	mov	r13d, DWORD PTR BONITO_PCIBADADDR[rip]
	mov	DWORD PTR 8[rsp], r8d
	mov	r12d, DWORD PTR BONITO_PCIMSTAT[rip]
	mov	DWORD PTR 12[rsp], r9d
	mov	ebx, DWORD PTR BONITO_INTEDGE[rip]
	mov	r15d, DWORD PTR BONITO_INTSTEER[rip]
	mov	r14d, DWORD PTR BONITO_PCICMD[rip]
	call	pr_emerg@PLT
	mov	r9d, DWORD PTR 12[rsp]
	lea	rdi, .LC5[rip]
	xor	eax, eax
	mov	esi, r9d
	call	pr_emerg@PLT
	mov	r8d, DWORD PTR 8[rsp]
	lea	rdi, .LC6[rip]
	xor	eax, eax
	mov	esi, r8d
	call	pr_emerg@PLT
	mov	esi, ebx
	lea	rdi, .LC7[rip]
	xor	eax, eax
	call	pr_emerg@PLT
	mov	esi, r15d
	lea	rdi, .LC8[rip]
	xor	eax, eax
	call	pr_emerg@PLT
	mov	esi, r14d
	lea	rdi, .LC9[rip]
	xor	eax, eax
	call	pr_emerg@PLT
	mov	esi, r13d
	lea	rdi, .LC10[rip]
	xor	eax, eax
	call	pr_emerg@PLT
	mov	esi, r12d
	lea	rdi, .LC11[rip]
	xor	eax, eax
	call	pr_emerg@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edi, DWORD PTR GT_INTRCAUSE_OFS[rip]
	call	GT_READ@PLT
	mov	edi, DWORD PTR GT_CPUERR_ADDRLO_OFS[rip]
	mov	r14d, eax
	call	GT_READ@PLT
	mov	edi, DWORD PTR GT_CPUERR_ADDRHI_OFS[rip]
	mov	r13d, eax
	call	GT_READ@PLT
	mov	esi, r14d
	lea	rdi, .LC2[rip]
	mov	r12d, eax
	xor	eax, eax
	call	pr_emerg@PLT
	mov	edx, r13d
	mov	esi, r12d
	xor	eax, eax
	lea	rdi, .LC3[rip]
	call	pr_emerg@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	corehi_irqdispatch, .-corehi_irqdispatch
	.comm	mips_revision_sconid,4,4
	.comm	GT_INTRCAUSE_OFS,4,4
	.comm	GT_CPUERR_ADDRLO_OFS,4,4
	.comm	GT_CPUERR_ADDRHI_OFS,4,4
	.comm	BONITO_PCIMSTAT,4,4
	.comm	BONITO_PCICMD,4,4
	.comm	BONITO_PCIBADADDR,4,4
	.comm	BONITO_INTSTEER,4,4
	.comm	BONITO_INTPOL,4,4
	.comm	BONITO_INTISR,4,4
	.comm	BONITO_INTEN,4,4
	.comm	BONITO_INTEDGE,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_malta-int.c_corehi_irqdispatch.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"CoreHI interrupt, shouldn't happen, we die here!\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"epc\011 : %08lx\012Status: %08lx\012Cause : %08lx\012"
	.ascii	"badVaddr : %08lx\012\000"
	.align	2
.LC2:
	.ascii	"GT_INTRCAUSE = %08x\012\000"
	.align	2
.LC3:
	.ascii	"GT_CPUERR_ADDR = %02x%08x\012\000"
	.align	2
.LC4:
	.ascii	"BONITO_INTISR = %08x\012\000"
	.align	2
.LC5:
	.ascii	"BONITO_INTEN = %08x\012\000"
	.align	2
.LC6:
	.ascii	"BONITO_INTPOL = %08x\012\000"
	.align	2
.LC7:
	.ascii	"BONITO_INTEDGE = %08x\012\000"
	.align	2
.LC8:
	.ascii	"BONITO_INTSTEER = %08x\012\000"
	.align	2
.LC9:
	.ascii	"BONITO_PCICMD = %08x\012\000"
	.align	2
.LC10:
	.ascii	"BONITO_PCIBADADDR = %08x\012\000"
	.align	2
.LC11:
	.ascii	"BONITO_PCIMSTAT = %08x\012\000"
	.align	2
.LC12:
	.ascii	"CoreHi interrupt\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	corehi_irqdispatch, %function
corehi_irqdispatch:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #12
	bl	get_irq_regs
	mov	r4, r0
	ldr	r0, .L10
	bl	pr_emerg
	ldr	r0, [r4]
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #8]
	ldr	r1, [r4, #12]
	str	r0, [sp]
	ldr	r0, .L10+4
	bl	pr_emerg
	ldr	r3, .L10+8
	ldr	r3, [r3]
	cmp	r3, #132
	beq	.L2
	bgt	.L3
	sub	r3, r3, #128
	cmp	r3, #3
	bhi	.L4
	bl	ll_msc_irq
.L4:
	mov	r1, r4
	ldr	r0, .L10+12
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	die
.L3:
	cmp	r3, #133
	bne	.L4
	ldr	r0, .L10+16
	ldr	lr, .L10+20
	ldr	r1, .L10+24
	ldr	ip, .L10+28
	ldr	r2, .L10+32
	ldr	r3, .L10+36
	ldr	fp, [r0]
	ldr	r6, .L10+40
	ldr	r5, .L10+44
	ldr	r10, [lr]
	ldr	r1, [r1]
	ldr	r0, .L10+48
	ldr	r9, [ip]
	ldr	r8, [r2]
	ldr	r7, [r3]
	ldr	r6, [r6]
	ldr	r5, [r5]
	bl	pr_emerg
	mov	r1, fp
	ldr	r0, .L10+52
	bl	pr_emerg
	mov	r1, r10
	ldr	r0, .L10+56
	bl	pr_emerg
	mov	r1, r9
	ldr	r0, .L10+60
	bl	pr_emerg
	mov	r1, r8
	ldr	r0, .L10+64
	bl	pr_emerg
	mov	r1, r7
	ldr	r0, .L10+68
	bl	pr_emerg
	mov	r1, r6
	ldr	r0, .L10+72
	bl	pr_emerg
	mov	r1, r5
	ldr	r0, .L10+76
	bl	pr_emerg
	b	.L4
.L2:
	ldr	r3, .L10+80
	ldr	r0, [r3]
	bl	GT_READ
	ldr	r3, .L10+84
	mov	r5, r0
	ldr	r0, [r3]
	bl	GT_READ
	ldr	r3, .L10+88
	mov	r6, r0
	ldr	r0, [r3]
	bl	GT_READ
	mov	r1, r5
	mov	r5, r0
	ldr	r0, .L10+92
	bl	pr_emerg
	mov	r2, r6
	mov	r1, r5
	ldr	r0, .L10+96
	bl	pr_emerg
	b	.L4
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	.LC1
	.word	mips_revision_sconid
	.word	.LC12
	.word	BONITO_INTEN
	.word	BONITO_INTPOL
	.word	BONITO_INTISR
	.word	BONITO_INTEDGE
	.word	BONITO_INTSTEER
	.word	BONITO_PCICMD
	.word	BONITO_PCIBADADDR
	.word	BONITO_PCIMSTAT
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	GT_INTRCAUSE_OFS
	.word	GT_CPUERR_ADDRLO_OFS
	.word	GT_CPUERR_ADDRHI_OFS
	.word	.LC2
	.word	.LC3
	.size	corehi_irqdispatch, .-corehi_irqdispatch
	.comm	mips_revision_sconid,4,4
	.comm	GT_INTRCAUSE_OFS,4,4
	.comm	GT_CPUERR_ADDRLO_OFS,4,4
	.comm	GT_CPUERR_ADDRHI_OFS,4,4
	.comm	BONITO_PCIMSTAT,4,4
	.comm	BONITO_PCICMD,4,4
	.comm	BONITO_PCIBADADDR,4,4
	.comm	BONITO_INTSTEER,4,4
	.comm	BONITO_INTPOL,4,4
	.comm	BONITO_INTISR,4,4
	.comm	BONITO_INTEN,4,4
	.comm	BONITO_INTEDGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
