	.file	"extr_pci_schizo.c_schizo_pcierr_intr_other.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%s: Bus unusable error asserted.\n"
	.align 8
.LC1:
	.string	"%s: PCI TRDY# timeout error asserted.\n"
	.align 8
.LC2:
	.string	"%s: PCI excessive retry error asserted.\n"
	.align 8
.LC3:
	.string	"%s: PCI discard timeout error asserted.\n"
	.align 8
.LC4:
	.string	"%s: PCI streaming byte hole error asserted.\n"
	.align 8
.LC5:
	.string	"%s: PCI SERR signal asserted.\n"
	.align 8
.LC6:
	.string	"%s: PCI bus error, PCI_STATUS[%04x]\n"
	.text
	.p2align 4
	.type	schizo_pcierr_intr_other, @function
schizo_pcierr_intr_other:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	r13, QWORD PTR SCHIZO_PCI_CTRL[rip]
	add	r13, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rdi, r13
	mov	r12d, DWORD PTR IRQ_NONE[rip]
	call	upa_readq@PLT
	mov	rdx, QWORD PTR SCHIZO_PCICTRL_BUS_UNUS[rip]
	or	rdx, QWORD PTR SCHIZO_PCICTRL_TTO_ERR[rip]
	or	rdx, QWORD PTR SCHIZO_PCICTRL_RTRY_ERR[rip]
	or	rdx, QWORD PTR SCHIZO_PCICTRL_DTO_ERR[rip]
	or	rdx, QWORD PTR SCHIZO_PCICTRL_SBH_ERR[rip]
	or	rdx, QWORD PTR SCHIZO_PCICTRL_SERR[rip]
	mov	rbx, rdx
	and	rbx, rax
	jne	.L37
.L2:
	mov	rax, QWORD PTR 8[rbp]
	mov	esi, DWORD PTR PCI_STATUS[rip]
	lea	rdx, 4[rsp]
	mov	edi, DWORD PTR [rax]
	call	pci_read_config_word@PLT
	mov	edx, DWORD PTR 4[rsp]
	mov	eax, DWORD PTR PCI_STATUS_PARITY[rip]
	or	eax, DWORD PTR PCI_STATUS_SIG_TARGET_ABORT[rip]
	or	eax, DWORD PTR PCI_STATUS_REC_TARGET_ABORT[rip]
	or	eax, DWORD PTR PCI_STATUS_REC_MASTER_ABORT[rip]
	or	eax, DWORD PTR PCI_STATUS_SIG_SYSTEM_ERROR[rip]
	test	eax, edx
	jne	.L38
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L39
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L37:
	.cfi_restore_state
	mov	rsi, r13
	mov	rdi, rax
	call	upa_writeq@PLT
	test	QWORD PTR SCHIZO_PCICTRL_BUS_UNUS[rip], rbx
	jne	.L40
	test	QWORD PTR SCHIZO_PCICTRL_TTO_ERR[rip], rbx
	jne	.L41
.L4:
	test	QWORD PTR SCHIZO_PCICTRL_RTRY_ERR[rip], rbx
	jne	.L42
.L5:
	test	QWORD PTR SCHIZO_PCICTRL_DTO_ERR[rip], rbx
	jne	.L43
.L6:
	test	QWORD PTR SCHIZO_PCICTRL_SBH_ERR[rip], rbx
	jne	.L44
.L7:
	test	QWORD PTR SCHIZO_PCICTRL_SERR[rip], rbx
	jne	.L45
.L8:
	mov	r12d, DWORD PTR IRQ_HANDLED[rip]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L38:
	mov	esi, DWORD PTR 16[rbp]
	lea	rdi, .LC6[rip]
	xor	eax, eax
	call	printk@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	esi, DWORD PTR PCI_STATUS[rip]
	mov	edx, 65535
	mov	edi, DWORD PTR [rax]
	call	pci_write_config_word@PLT
	mov	r12d, DWORD PTR IRQ_HANDLED[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L40:
	mov	esi, DWORD PTR 16[rbp]
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	printk@PLT
	test	QWORD PTR SCHIZO_PCICTRL_TTO_ERR[rip], rbx
	je	.L4
.L41:
	mov	esi, DWORD PTR 16[rbp]
	xor	eax, eax
	lea	rdi, .LC1[rip]
	call	printk@PLT
	test	QWORD PTR SCHIZO_PCICTRL_RTRY_ERR[rip], rbx
	je	.L5
.L42:
	mov	esi, DWORD PTR 16[rbp]
	xor	eax, eax
	lea	rdi, .LC2[rip]
	call	printk@PLT
	test	QWORD PTR SCHIZO_PCICTRL_DTO_ERR[rip], rbx
	je	.L6
.L43:
	mov	esi, DWORD PTR 16[rbp]
	xor	eax, eax
	lea	rdi, .LC3[rip]
	call	printk@PLT
	test	QWORD PTR SCHIZO_PCICTRL_SBH_ERR[rip], rbx
	je	.L7
.L44:
	mov	esi, DWORD PTR 16[rbp]
	xor	eax, eax
	lea	rdi, .LC4[rip]
	call	printk@PLT
	test	QWORD PTR SCHIZO_PCICTRL_SERR[rip], rbx
	je	.L8
.L45:
	mov	esi, DWORD PTR 16[rbp]
	lea	rdi, .LC5[rip]
	xor	eax, eax
	call	printk@PLT
	jmp	.L8
.L39:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	schizo_pcierr_intr_other, .-schizo_pcierr_intr_other
	.comm	SCHIZO_PCI_CTRL,8,8
	.comm	SCHIZO_PCICTRL_TTO_ERR,8,8
	.comm	SCHIZO_PCICTRL_SERR,8,8
	.comm	SCHIZO_PCICTRL_SBH_ERR,8,8
	.comm	SCHIZO_PCICTRL_RTRY_ERR,8,8
	.comm	SCHIZO_PCICTRL_DTO_ERR,8,8
	.comm	SCHIZO_PCICTRL_BUS_UNUS,8,8
	.comm	PCI_STATUS_SIG_TARGET_ABORT,4,4
	.comm	PCI_STATUS_SIG_SYSTEM_ERROR,4,4
	.comm	PCI_STATUS_REC_TARGET_ABORT,4,4
	.comm	PCI_STATUS_REC_MASTER_ABORT,4,4
	.comm	PCI_STATUS_PARITY,4,4
	.comm	PCI_STATUS,4,4
	.comm	IRQ_NONE,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
	.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_pci_schizo.c_schizo_pcierr_intr_other.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: Bus unusable error asserted.\012\000"
	.align	2
.LC1:
	.ascii	"%s: PCI TRDY# timeout error asserted.\012\000"
	.align	2
.LC2:
	.ascii	"%s: PCI excessive retry error asserted.\012\000"
	.align	2
.LC3:
	.ascii	"%s: PCI discard timeout error asserted.\012\000"
	.align	2
.LC4:
	.ascii	"%s: PCI streaming byte hole error asserted.\012\000"
	.align	2
.LC5:
	.ascii	"%s: PCI SERR signal asserted.\012\000"
	.align	2
.LC6:
	.ascii	"%s: PCI bus error, PCI_STATUS[%04x]\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	schizo_pcierr_intr_other, %function
schizo_pcierr_intr_other:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L46
	ldr	r2, [r0]
	ldr	r1, [r3]
	sub	sp, sp, #20
	add	r1, r2, r1
	ldr	r3, .L46+4
	ldr	r2, .L46+8
	str	r1, [sp, #4]
	mov	r5, r0
	mov	r0, r1
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	ldr	r6, [r3]
	bl	upa_readq
	ldr	fp, .L46+12
	ldr	r2, .L46+16
	ldr	r10, .L46+20
	ldr	ip, [fp]
	ldr	r3, [r2]
	ldr	r9, .L46+24
	ldr	lr, [r10]
	ldr	r8, .L46+28
	orr	r3, r3, ip
	ldr	r7, .L46+32
	ldr	ip, [r9]
	orr	r3, r3, lr
	ldr	lr, [r8]
	orr	r3, r3, ip
	ldr	ip, [r7]
	orr	r3, r3, lr
	orr	r3, r3, ip
	ands	r4, r3, r0
	ldr	r1, [sp, #4]
	bne	.L37
.L2:
	ldr	r3, [r5, #4]
	ldr	r4, .L46+36
	ldr	r0, [r3]
	ldr	r1, [r4]
	add	r2, sp, #8
	bl	pci_read_config_word
	ldr	r2, .L46+40
	ldr	r3, .L46+44
	ldr	r1, [r2]
	ldr	r0, .L46+48
	ldr	r3, [r3]
	ldr	r2, .L46+52
	orr	r3, r3, r1
	ldr	r0, [r0]
	ldr	r1, .L46+56
	ldr	r2, [r2]
	ldr	r1, [r1]
	orr	r3, r3, r0
	orr	r3, r3, r2
	ldr	r2, [sp, #8]
	orr	r3, r3, r1
	tst	r3, r2
	bne	.L38
.L1:
	ldr	r3, .L46+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L39
	mov	r0, r6
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L37:
	bl	upa_writeq
	ldr	r2, .L46+16
	ldr	r3, [r2]
	tst	r4, r3
	bne	.L40
	ldr	r3, [fp]
	tst	r4, r3
	bne	.L41
.L4:
	ldr	r3, [r10]
	tst	r4, r3
	bne	.L42
.L5:
	ldr	r3, [r9]
	tst	r4, r3
	bne	.L43
.L6:
	ldr	r3, [r8]
	tst	r4, r3
	bne	.L44
.L7:
	ldr	r3, [r7]
	tst	r4, r3
	bne	.L45
.L8:
	ldr	r3, .L46+60
	ldr	r6, [r3]
	b	.L2
.L38:
	ldr	r1, [r5, #8]
	ldr	r0, .L46+64
	bl	printk
	ldr	r3, [r5, #4]
	ldr	r1, [r4]
	ldr	r0, [r3]
	ldr	r2, .L46+68
	bl	pci_write_config_word
	ldr	r3, .L46+60
	ldr	r6, [r3]
	b	.L1
.L40:
	ldr	r1, [r5, #8]
	ldr	r0, .L46+72
	bl	printk
	ldr	r3, [fp]
	tst	r4, r3
	beq	.L4
.L41:
	ldr	r1, [r5, #8]
	ldr	r0, .L46+76
	bl	printk
	ldr	r3, [r10]
	tst	r4, r3
	beq	.L5
.L42:
	ldr	r1, [r5, #8]
	ldr	r0, .L46+80
	bl	printk
	ldr	r3, [r9]
	tst	r4, r3
	beq	.L6
.L43:
	ldr	r1, [r5, #8]
	ldr	r0, .L46+84
	bl	printk
	ldr	r3, [r8]
	tst	r4, r3
	beq	.L7
.L44:
	ldr	r1, [r5, #8]
	ldr	r0, .L46+88
	bl	printk
	ldr	r3, [r7]
	tst	r4, r3
	beq	.L8
.L45:
	ldr	r1, [r5, #8]
	ldr	r0, .L46+92
	bl	printk
	b	.L8
.L39:
	bl	__stack_chk_fail
.L47:
	.align	2
.L46:
	.word	SCHIZO_PCI_CTRL
	.word	IRQ_NONE
	.word	.LC7
	.word	SCHIZO_PCICTRL_TTO_ERR
	.word	SCHIZO_PCICTRL_BUS_UNUS
	.word	SCHIZO_PCICTRL_RTRY_ERR
	.word	SCHIZO_PCICTRL_DTO_ERR
	.word	SCHIZO_PCICTRL_SBH_ERR
	.word	SCHIZO_PCICTRL_SERR
	.word	PCI_STATUS
	.word	PCI_STATUS_SIG_TARGET_ABORT
	.word	PCI_STATUS_PARITY
	.word	PCI_STATUS_REC_TARGET_ABORT
	.word	PCI_STATUS_REC_MASTER_ABORT
	.word	PCI_STATUS_SIG_SYSTEM_ERROR
	.word	IRQ_HANDLED
	.word	.LC6
	.word	65535
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	schizo_pcierr_intr_other, .-schizo_pcierr_intr_other
	.comm	SCHIZO_PCI_CTRL,4,4
	.comm	SCHIZO_PCICTRL_TTO_ERR,4,4
	.comm	SCHIZO_PCICTRL_SERR,4,4
	.comm	SCHIZO_PCICTRL_SBH_ERR,4,4
	.comm	SCHIZO_PCICTRL_RTRY_ERR,4,4
	.comm	SCHIZO_PCICTRL_DTO_ERR,4,4
	.comm	SCHIZO_PCICTRL_BUS_UNUS,4,4
	.comm	PCI_STATUS_SIG_TARGET_ABORT,4,4
	.comm	PCI_STATUS_SIG_SYSTEM_ERROR,4,4
	.comm	PCI_STATUS_REC_TARGET_ABORT,4,4
	.comm	PCI_STATUS_REC_MASTER_ABORT,4,4
	.comm	PCI_STATUS_PARITY,4,4
	.comm	PCI_STATUS,4,4
	.comm	IRQ_NONE,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
