	.file	"extr_ipr.c_ipr_handle_other_interrupt.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Spurious interrupt detected. 0x%08X\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"No Host RRQ. 0x%08X\n"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"Permanent IOA failure. 0x%08X\n"
	.text
	.p2align 4
	.type	ipr_handle_other_interrupt, @function
ipr_handle_other_interrupt:
.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
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 48[rdi]
	mov	r12d, DWORD PTR IRQ_HANDLED[rip]
	call	readl@PLT
	not	eax
	mov	edx, eax
	and	edx, ebx
	test	DWORD PTR IPR_PCII_OPER_INTERRUPTS[rip], edx
	jne	.L2
	cmp	QWORD PTR 72[rbp], 0
	jne	.L20
.L18:
	mov	r12d, DWORD PTR IRQ_NONE[rip]
.L1:
	add	rsp, 8
	.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
.L20:
	.cfi_restore_state
	mov	edi, DWORD PTR 44[rbp]
	call	readl@PLT
	mov	edi, DWORD PTR 32[rbp]
	mov	ebx, eax
	call	readl@PLT
	mov	edi, DWORD PTR IPR_PCII_IPL_STAGE_CHANGE[rip]
	not	ebx
	and	eax, edi
	test	ebx, eax
	je	.L18
	mov	esi, DWORD PTR 40[rbp]
	call	writel@PLT
	mov	edi, DWORD PTR 32[rbp]
	call	readl@PLT
	mov	rax, QWORD PTR 64[rbp]
	lea	rdi, 4[rax]
	call	list_del@PLT
	mov	rdi, QWORD PTR 64[rbp]
	call	del_timer@PLT
	mov	rdi, QWORD PTR 64[rbp]
	call	ipr_reset_ioa_job@PLT
	mov	r12d, DWORD PTR IRQ_HANDLED[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edi, DWORD PTR IPR_PCII_IOA_TRANS_TO_OPER[rip]
	test	edi, edx
	jne	.L21
	mov	edi, DWORD PTR IPR_PCII_HRRQ_UPDATED[rip]
	mov	r13d, edi
	and	r13d, edx
	cmp	r13d, edx
	je	.L22
	test	DWORD PTR IPR_PCII_IOA_UNIT_CHECKED[rip], edx
	jne	.L23
	mov	rdi, QWORD PTR 16[rbp]
	test	DWORD PTR IPR_PCII_NO_HOST_RRQ[rip], edx
	je	.L11
	lea	rsi, .LC1[rip]
	call	dev_err@PLT
.L10:
	mov	rax, QWORD PTR WAIT_FOR_DUMP[rip]
	cmp	QWORD PTR 8[rbp], rax
	jne	.L12
	mov	rax, QWORD PTR GET_DUMP[rip]
	mov	QWORD PTR 8[rbp], rax
.L12:
	mov	rdi, rbp
	mov	esi, -1
	call	ipr_mask_and_clear_interrupts@PLT
	mov	esi, DWORD PTR IPR_SHUTDOWN_NONE[rip]
	mov	rdi, rbp
	call	ipr_initiate_ioa_reset@PLT
	add	rsp, 8
	.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
.L23:
	.cfi_restore_state
	mov	DWORD PTR 0[rbp], 1
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L21:
	mov	esi, DWORD PTR 36[rbp]
	call	writel@PLT
	mov	edi, DWORD PTR 32[rbp]
	call	readl@PLT
	mov	rax, QWORD PTR 64[rbp]
	lea	rdi, 4[rax]
	call	list_del@PLT
	mov	rdi, QWORD PTR 64[rbp]
	call	del_timer@PLT
	mov	rdi, QWORD PTR 64[rbp]
	call	ipr_reset_ioa_job@PLT
	add	rsp, 8
	.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
.L22:
	.cfi_restore_state
	cmp	QWORD PTR 56[rbp], 0
	je	.L1
	cmp	QWORD PTR ipr_debug[rip], 0
	jne	.L24
.L7:
	mov	esi, DWORD PTR 28[rbp]
	call	writel@PLT
	mov	edi, DWORD PTR 24[rbp]
	call	readl@PLT
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rsi, .LC2[rip]
	call	dev_err@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L24:
	xor	eax, eax
	call	printk_ratelimit@PLT
	test	rax, rax
	jne	.L8
.L17:
	mov	edi, DWORD PTR IPR_PCII_HRRQ_UPDATED[rip]
	jmp	.L7
.L8:
	mov	rdi, QWORD PTR 16[rbp]
	mov	edx, r13d
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	jmp	.L17
	.cfi_endproc
.LFE0:
	.size	ipr_handle_other_interrupt, .-ipr_handle_other_interrupt
	.comm	ipr_debug,8,8
	.comm	WAIT_FOR_DUMP,8,8
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	IPR_SHUTDOWN_NONE,4,4
	.comm	IPR_PCII_OPER_INTERRUPTS,4,4
	.comm	IPR_PCII_NO_HOST_RRQ,4,4
	.comm	IPR_PCII_IPL_STAGE_CHANGE,4,4
	.comm	IPR_PCII_IOA_UNIT_CHECKED,4,4
	.comm	IPR_PCII_IOA_TRANS_TO_OPER,4,4
	.comm	IPR_PCII_HRRQ_UPDATED,4,4
	.comm	GET_DUMP,8,8
	.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_ipr.c_ipr_handle_other_interrupt.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Spurious interrupt detected. 0x%08X\012\000"
	.align	2
.LC1:
	.ascii	"No Host RRQ. 0x%08X\012\000"
	.align	2
.LC2:
	.ascii	"Permanent IOA failure. 0x%08X\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ipr_handle_other_interrupt, %function
ipr_handle_other_interrupt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L33
	mov	r5, r0
	ldr	r0, [r0, #36]
	mov	r4, r1
	ldr	r6, [r7]
	bl	readl
	ldr	r3, .L33+4
	bic	r2, r4, r0
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L2
	ldr	r3, [r5, #48]
	cmp	r3, #0
	bne	.L29
.L27:
	ldr	r3, .L33+8
	ldr	r6, [r3]
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L29:
	ldr	r0, [r5, #32]
	bl	readl
	mov	r4, r0
	ldr	r0, [r5, #20]
	bl	readl
	ldr	r3, .L33+12
	ldr	r2, [r3]
	and	r3, r0, r2
	bics	r3, r3, r4
	beq	.L27
	mov	r0, r2
	ldr	r1, [r5, #28]
	bl	writel
	ldr	r0, [r5, #20]
	bl	readl
	ldr	r0, [r5, #44]
	add	r0, r0, #4
	bl	list_del
	ldr	r0, [r5, #44]
	bl	del_timer
	ldr	r0, [r5, #44]
	bl	ipr_reset_ioa_job
	ldr	r6, [r7]
	b	.L1
.L2:
	ldr	r3, .L33+16
	ldr	r0, [r3]
	tst	r0, r2
	bne	.L30
	ldr	r4, .L33+20
	ldr	r0, [r4]
	bics	r3, r2, r0
	and	r7, r0, r2
	beq	.L31
	ldr	r3, .L33+24
	ldr	r3, [r3]
	tst	r2, r3
	movne	r3, #1
	strne	r3, [r5]
	bne	.L10
	ldr	r3, .L33+28
	ldr	r0, [r5, #8]
	ldr	r3, [r3]
	tst	r2, r3
	ldrne	r1, .L33+32
	ldreq	r1, .L33+36
	bl	dev_err
.L10:
	ldr	r3, .L33+40
	ldr	r2, [r5, #4]
	ldr	r3, [r3]
	mvn	r1, #0
	cmp	r2, r3
	ldreq	r3, .L33+44
	mov	r0, r5
	ldreq	r3, [r3]
	streq	r3, [r5, #4]
	bl	ipr_mask_and_clear_interrupts
	ldr	r3, .L33+48
	mov	r0, r5
	ldr	r1, [r3]
	bl	ipr_initiate_ioa_reset
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L30:
	ldr	r1, [r5, #24]
	bl	writel
	ldr	r0, [r5, #20]
	bl	readl
	ldr	r0, [r5, #44]
	add	r0, r0, #4
	bl	list_del
	ldr	r0, [r5, #44]
	bl	del_timer
	ldr	r0, [r5, #44]
	bl	ipr_reset_ioa_job
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L31:
	ldr	r3, [r5, #40]
	cmp	r3, #0
	beq	.L1
	ldr	r3, .L33+52
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L32
.L7:
	ldr	r1, [r5, #16]
	bl	writel
	ldr	r0, [r5, #12]
	bl	readl
	b	.L27
.L32:
	bl	printk_ratelimit
	cmp	r0, #0
	bne	.L8
.L26:
	ldr	r0, [r4]
	b	.L7
.L8:
	mov	r2, r7
	ldr	r1, .L33+56
	ldr	r0, [r5, #8]
	bl	dev_err
	b	.L26
.L34:
	.align	2
.L33:
	.word	IRQ_HANDLED
	.word	IPR_PCII_OPER_INTERRUPTS
	.word	IRQ_NONE
	.word	IPR_PCII_IPL_STAGE_CHANGE
	.word	IPR_PCII_IOA_TRANS_TO_OPER
	.word	IPR_PCII_HRRQ_UPDATED
	.word	IPR_PCII_IOA_UNIT_CHECKED
	.word	IPR_PCII_NO_HOST_RRQ
	.word	.LC1
	.word	.LC2
	.word	WAIT_FOR_DUMP
	.word	GET_DUMP
	.word	IPR_SHUTDOWN_NONE
	.word	ipr_debug
	.word	.LC0
	.size	ipr_handle_other_interrupt, .-ipr_handle_other_interrupt
	.comm	ipr_debug,4,4
	.comm	WAIT_FOR_DUMP,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	IPR_SHUTDOWN_NONE,4,4
	.comm	IPR_PCII_OPER_INTERRUPTS,4,4
	.comm	IPR_PCII_NO_HOST_RRQ,4,4
	.comm	IPR_PCII_IPL_STAGE_CHANGE,4,4
	.comm	IPR_PCII_IOA_UNIT_CHECKED,4,4
	.comm	IPR_PCII_IOA_TRANS_TO_OPER,4,4
	.comm	IPR_PCII_HRRQ_UPDATED,4,4
	.comm	GET_DUMP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
