	.file	"extr_ehea_main.c_ehea_qp_aff_irq_handler.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"QP aff_err: entry=0x%llx, token=0x%x"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Resetting port"
	.text
	.p2align 4
	.type	ehea_qp_aff_irq_handler, @function
ehea_qp_aff_irq_handler:
.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
	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
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	edi, DWORD PTR [rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	ehea_poll_eq@PLT
	test	rax, rax
	je	.L3
	mov	rbx, rax
	lea	r14, 16[rsp]
	lea	r13, 8[rsp]
	xor	r12d, r12d
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edi, DWORD PTR 0[rbp]
	mov	r12d, 1
	call	ehea_poll_eq@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L17
.L2:
	mov	esi, DWORD PTR [rbx]
	mov	edi, DWORD PTR EHEA_EQE_QP_TOKEN[rip]
	call	EHEA_BMASK_GET@PLT
	mov	esi, DWORD PTR [rbx]
	lea	rdi, .LC0[rip]
	mov	rdx, rax
	mov	r15, rax
	xor	eax, eax
	call	ehea_error@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR 4[rbp]
	mov	rcx, r14
	mov	rdx, r13
	mov	rax, QWORD PTR [rax+r15*8]
	mov	esi, DWORD PTR [rax]
	call	ehea_error_data@PLT
	cmp	QWORD PTR EHEA_AER_RESTYPE_QP[rip], rax
	jne	.L8
	mov	rdx, QWORD PTR 8[rsp]
	mov	rax, QWORD PTR 16[rsp]
	and	rdx, QWORD PTR EHEA_AER_RESET_MASK[rip]
	and	rax, QWORD PTR EHEA_AERR_RESET_MASK[rip]
	mov	edi, DWORD PTR 0[rbp]
	or	rdx, rax
	mov	eax, 1
	cmovne	r12d, eax
	call	ehea_poll_eq@PLT
	mov	rbx, rax
	test	rax, rax
	jne	.L2
.L17:
	test	r12d, r12d
	jne	.L18
.L3:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	jne	.L19
	add	rsp, 40
	.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
.L18:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	ehea_error@PLT
	mov	rdi, rbp
	call	ehea_schedule_port_reset@PLT
	jmp	.L3
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ehea_qp_aff_irq_handler, .-ehea_qp_aff_irq_handler
	.comm	IRQ_HANDLED,4,4
	.comm	EHEA_EQE_QP_TOKEN,4,4
	.comm	EHEA_AER_RESTYPE_QP,8,8
	.comm	EHEA_AER_RESET_MASK,8,8
	.comm	EHEA_AERR_RESET_MASK,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_ehea_main.c_ehea_qp_aff_irq_handler.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"QP aff_err: entry=0x%llx, token=0x%x\000"
	.align	2
.LC1:
	.ascii	"Resetting port\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ehea_qp_aff_irq_handler, %function
ehea_qp_aff_irq_handler:
	@ 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, .L17
	sub	sp, sp, #20
	ldr	r0, [r1]
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	ehea_poll_eq
	subs	r4, r0, #0
	beq	.L3
	mov	r6, #0
	ldr	r9, .L17+4
	ldr	r8, .L17+8
	ldr	r7, .L17+12
	ldr	fp, .L17+16
.L2:
	ldr	r1, [r4]
	ldr	r0, [r9]
	bl	EHEA_BMASK_GET
	mov	r10, r0
	mov	r2, r0
	ldr	r1, [r4]
	mov	r0, r7
	bl	ehea_error
	ldr	r1, [r5, #8]
	add	r3, sp, #8
	ldr	r1, [r1, r10, lsl #2]
	ldr	r0, [r5, #4]
	ldr	r1, [r1]
	add	r2, sp, #4
	bl	ehea_error_data
	ldr	r3, [r8]
	cmp	r3, r0
	movne	r6, #1
	bne	.L4
	ldr	r1, .L17+20
	ldr	r2, [sp, #4]
	ldr	r0, [fp]
	ldr	r3, [sp, #8]
	ldr	r1, [r1]
	and	r2, r2, r0
	and	r3, r3, r1
	orrs	r3, r2, r3
	movne	r6, #1
.L4:
	ldr	r0, [r5]
	bl	ehea_poll_eq
	subs	r4, r0, #0
	bne	.L2
	cmp	r6, #0
	beq	.L3
	ldr	r0, .L17+24
	bl	ehea_error
	mov	r0, r5
	bl	ehea_schedule_port_reset
.L3:
	ldr	r3, .L17+28
	ldr	r0, [r3]
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC2
	.word	EHEA_EQE_QP_TOKEN
	.word	EHEA_AER_RESTYPE_QP
	.word	.LC0
	.word	EHEA_AER_RESET_MASK
	.word	EHEA_AERR_RESET_MASK
	.word	.LC1
	.word	IRQ_HANDLED
	.size	ehea_qp_aff_irq_handler, .-ehea_qp_aff_irq_handler
	.comm	IRQ_HANDLED,4,4
	.comm	EHEA_EQE_QP_TOKEN,4,4
	.comm	EHEA_AER_RESTYPE_QP,4,4
	.comm	EHEA_AER_RESET_MASK,4,4
	.comm	EHEA_AERR_RESET_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
