	.file	"extr_t4_hw.c_sge_intr_handler.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"SGE parity error (%#llx)\n"
.LC1:
	.string	"SGE error for queue %u\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"SGE UNCAPTURED_ERROR set (clearing)\n"
	.text
	.p2align 4
	.type	sge_intr_handler, @function
sge_intr_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, DWORD PTR SGE_INT_CAUSE1_A[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	t4_read_reg@PLT
	mov	esi, DWORD PTR SGE_INT_CAUSE2_A[rip]
	mov	rdi, rbp
	mov	ebx, eax
	call	t4_read_reg@PLT
	test	ebx, ebx
	jne	.L18
.L2:
	mov	esi, DWORD PTR SGE_INT_CAUSE3_A[rip]
	lea	rdx, sge_intr_info.1966[rip]
	mov	rdi, rbp
	call	t4_handle_intr_status@PLT
	mov	edi, DWORD PTR 4[rbp]
	or	ebx, eax
	call	CHELSIO_CHIP_VERSION@PLT
	cmp	rax, QWORD PTR CHELSIO_T5[rip]
	jle	.L19
.L3:
	mov	esi, DWORD PTR SGE_ERROR_STATS_A[rip]
	mov	rdi, rbp
	call	t4_read_reg@PLT
	mov	r12d, eax
	test	DWORD PTR ERROR_QID_VALID_F[rip], eax
	jne	.L20
.L4:
	test	ebx, ebx
	jne	.L21
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	movsx	rdx, ebx
	lea	rsi, .LC0[rip]
	call	dev_alert@PLT
	mov	esi, DWORD PTR SGE_INT_CAUSE1_A[rip]
	mov	edx, ebx
	mov	rdi, rbp
	call	t4_write_reg@PLT
	mov	edx, ebx
	mov	ecx, 32
	mov	rdi, rbp
	mov	esi, DWORD PTR SGE_INT_CAUSE2_A[rip]
	sar	edx, cl
	call	t4_write_reg@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L21:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	t4_fatal_err@PLT
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	edi, eax
	call	ERROR_QID_G@PLT
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, .LC1[rip]
	mov	edx, eax
	xor	eax, eax
	call	dev_err@PLT
	mov	edx, DWORD PTR UNCAPTURED_ERROR_F[rip]
	test	edx, r12d
	jne	.L22
.L5:
	mov	esi, DWORD PTR SGE_ERROR_STATS_A[rip]
	or	edx, DWORD PTR ERROR_QID_VALID_F[rip]
	mov	rdi, rbp
	call	t4_write_reg@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L19:
	mov	esi, DWORD PTR SGE_INT_CAUSE3_A[rip]
	lea	rdx, t4t5_sge_intr_info.1967[rip]
	mov	rdi, rbp
	call	t4_handle_intr_status@PLT
	or	ebx, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L22:
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	edx, DWORD PTR UNCAPTURED_ERROR_F[rip]
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	sge_intr_handler, .-sge_intr_handler
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"SGE too many priority egress contexts"
	.section	.data.rel.local,"aw"
	.align 32
	.type	t4t5_sge_intr_info.1967, @object
	.size	t4t5_sge_intr_info.1967, 128
t4t5_sge_intr_info.1967:
	.long	134
	.zero	4
	.quad	0
	.long	-1
	.long	0
	.long	129
	.zero	4
	.long	145
	.zero	4
	.quad	0
	.long	-1
	.long	0
	.long	128
	.zero	4
	.long	133
	.zero	4
	.quad	.LC3
	.long	-1
	.long	0
	.zero	8
	.long	0
	.zero	28
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"SGE received CPL exceeding IQE size"
	.align 8
.LC5:
	.string	"SGE GTS CIDX increment too large"
	.section	.rodata.str1.1
.LC6:
	.string	"SGE received 0-length CPL"
	.section	.rodata.str1.8
	.align 8
.LC7:
	.string	"SGE IQID > 1023 received CPL for FL"
	.align 8
.LC8:
	.string	"SGE DBP 3 pidx increment too large"
	.align 8
.LC9:
	.string	"SGE DBP 2 pidx increment too large"
	.align 8
.LC10:
	.string	"SGE DBP 1 pidx increment too large"
	.align 8
.LC11:
	.string	"SGE DBP 0 pidx increment too large"
	.align 8
.LC12:
	.string	"SGE too many priority ingress contexts"
	.section	.rodata.str1.1
.LC13:
	.string	"SGE illegal ingress QID"
.LC14:
	.string	"SGE illegal egress QID"
	.section	.data.rel.ro.local,"aw"
	.align 32
	.type	sge_intr_info.1966, @object
	.size	sge_intr_info.1966, 416
sge_intr_info.1966:
	.long	138
	.zero	4
	.quad	.LC4
	.long	-1
	.long	1
	.zero	8
	.long	131
	.zero	4
	.quad	.LC5
	.long	-1
	.long	0
	.zero	8
	.long	137
	.zero	4
	.quad	.LC6
	.long	-1
	.long	0
	.zero	8
	.long	144
	.zero	4
	.quad	0
	.long	-1
	.long	0
	.long	128
	.zero	4
	.long	143
	.zero	4
	.quad	.LC7
	.long	-1
	.long	0
	.zero	8
	.long	139
	.zero	4
	.quad	.LC8
	.long	-1
	.long	0
	.zero	8
	.long	140
	.zero	4
	.quad	.LC9
	.long	-1
	.long	0
	.zero	8
	.long	141
	.zero	4
	.quad	.LC10
	.long	-1
	.long	0
	.zero	8
	.long	142
	.zero	4
	.quad	.LC11
	.long	-1
	.long	0
	.zero	8
	.long	132
	.zero	4
	.quad	.LC12
	.long	-1
	.long	0
	.zero	8
	.long	130
	.zero	4
	.quad	.LC13
	.long	-1
	.long	0
	.zero	8
	.long	143
	.zero	4
	.quad	.LC14
	.long	-1
	.long	0
	.zero	8
	.long	0
	.zero	28
	.comm	UNCAPTURED_ERROR_F,4,4
	.comm	SGE_INT_CAUSE3_A,4,4
	.comm	SGE_INT_CAUSE2_A,4,4
	.comm	SGE_INT_CAUSE1_A,4,4
	.comm	SGE_ERROR_STATS_A,4,4
	.comm	ERROR_QID_VALID_F,4,4
	.comm	CHELSIO_T5,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_t4_hw.c_sge_intr_handler.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"SGE parity error (%#llx)\012\000"
	.align	2
.LC1:
	.ascii	"SGE error for queue %u\012\000"
	.align	2
.LC2:
	.ascii	"SGE UNCAPTURED_ERROR set (clearing)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sge_intr_handler, %function
sge_intr_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r7, .L23
	mov	r4, r0
	ldr	r1, [r7]
	bl	t4_read_reg
	mov	r5, r0
	ldr	r6, .L23+4
	mov	r0, r4
	ldr	r1, [r6]
	bl	t4_read_reg
	cmp	r5, #0
	bne	.L18
.L2:
	ldr	r6, .L23+8
	ldr	r2, .L23+12
	ldr	r1, [r6]
	mov	r0, r4
	bl	t4_handle_intr_status
	mov	r3, r0
	ldr	r0, [r4, #4]
	orr	r5, r5, r3
	bl	CHELSIO_CHIP_VERSION
	ldr	r3, .L23+16
	ldr	r3, [r3]
	cmp	r0, r3
	ble	.L19
.L3:
	ldr	r8, .L23+20
	mov	r0, r4
	ldr	r1, [r8]
	bl	t4_read_reg
	ldr	r7, .L23+24
	mov	r6, r0
	ldr	r3, [r7]
	tst	r0, r3
	bne	.L20
	cmp	r5, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
.L22:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	t4_fatal_err
.L20:
	ldr	r10, [r4]
	bl	ERROR_QID_G
	ldr	r9, .L23+28
	mov	r2, r0
	ldr	r1, .L23+32
	mov	r0, r10
	bl	dev_err
	ldr	r3, [r9]
	tst	r3, r6
	bne	.L21
.L5:
	ldr	r2, [r7]
	mov	r0, r4
	ldr	r1, [r8]
	orr	r2, r3, r2
	bl	t4_write_reg
	cmp	r5, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	b	.L22
.L19:
	mov	r0, r4
	ldr	r1, [r6]
	ldr	r2, .L23+36
	bl	t4_handle_intr_status
	orr	r5, r5, r0
	b	.L3
.L18:
	mov	r2, r5
	asr	r3, r5, #31
	ldr	r1, .L23+40
	ldr	r0, [r4]
	bl	dev_alert
	mov	r2, r5
	ldr	r1, [r7]
	mov	r0, r4
	bl	t4_write_reg
	mov	r2, #32
	mov	r0, r4
	ldr	r1, [r6]
	asr	r2, r5, r2
	bl	t4_write_reg
	b	.L2
.L21:
	ldr	r1, .L23+44
	ldr	r0, [r4]
	bl	dev_err
	ldr	r3, [r9]
	b	.L5
.L24:
	.align	2
.L23:
	.word	SGE_INT_CAUSE1_A
	.word	SGE_INT_CAUSE2_A
	.word	SGE_INT_CAUSE3_A
	.word	.LANCHOR0
	.word	CHELSIO_T5
	.word	SGE_ERROR_STATS_A
	.word	ERROR_QID_VALID_F
	.word	UNCAPTURED_ERROR_F
	.word	.LC1
	.word	.LANCHOR1
	.word	.LC0
	.word	.LC2
	.size	sge_intr_handler, .-sge_intr_handler
	.section	.rodata.str1.4
	.align	2
.LC3:
	.ascii	"SGE too many priority egress contexts\000"
	.align	2
.LC4:
	.ascii	"SGE received CPL exceeding IQE size\000"
	.align	2
.LC5:
	.ascii	"SGE GTS CIDX increment too large\000"
	.align	2
.LC6:
	.ascii	"SGE received 0-length CPL\000"
	.align	2
.LC7:
	.ascii	"SGE IQID > 1023 received CPL for FL\000"
	.align	2
.LC8:
	.ascii	"SGE DBP 3 pidx increment too large\000"
	.align	2
.LC9:
	.ascii	"SGE DBP 2 pidx increment too large\000"
	.align	2
.LC10:
	.ascii	"SGE DBP 1 pidx increment too large\000"
	.align	2
.LC11:
	.ascii	"SGE DBP 0 pidx increment too large\000"
	.align	2
.LC12:
	.ascii	"SGE too many priority ingress contexts\000"
	.align	2
.LC13:
	.ascii	"SGE illegal ingress QID\000"
	.align	2
.LC14:
	.ascii	"SGE illegal egress QID\000"
	.comm	UNCAPTURED_ERROR_F,4,4
	.comm	SGE_INT_CAUSE3_A,4,4
	.comm	SGE_INT_CAUSE2_A,4,4
	.comm	SGE_INT_CAUSE1_A,4,4
	.comm	SGE_ERROR_STATS_A,4,4
	.comm	ERROR_QID_VALID_F,4,4
	.comm	CHELSIO_T5,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	sge_intr_info.4250, %object
	.size	sge_intr_info.4250, 260
sge_intr_info.4250:
	.word	138
	.word	.LC4
	.word	-1
	.word	1
	.space	4
	.word	131
	.word	.LC5
	.word	-1
	.word	0
	.space	4
	.word	137
	.word	.LC6
	.word	-1
	.word	0
	.space	4
	.word	144
	.word	0
	.word	-1
	.word	0
	.word	128
	.word	143
	.word	.LC7
	.word	-1
	.word	0
	.space	4
	.word	139
	.word	.LC8
	.word	-1
	.word	0
	.space	4
	.word	140
	.word	.LC9
	.word	-1
	.word	0
	.space	4
	.word	141
	.word	.LC10
	.word	-1
	.word	0
	.space	4
	.word	142
	.word	.LC11
	.word	-1
	.word	0
	.space	4
	.word	132
	.word	.LC12
	.word	-1
	.word	0
	.space	4
	.word	130
	.word	.LC13
	.word	-1
	.word	0
	.space	4
	.word	143
	.word	.LC14
	.word	-1
	.word	0
	.space	4
	.word	0
	.space	16
	.data
	.align	2
	.set	.LANCHOR1,. + 0
	.type	t4t5_sge_intr_info.4251, %object
	.size	t4t5_sge_intr_info.4251, 80
t4t5_sge_intr_info.4251:
	.word	134
	.word	0
	.word	-1
	.word	0
	.word	129
	.word	145
	.word	0
	.word	-1
	.word	0
	.word	128
	.word	133
	.word	.LC3
	.word	-1
	.word	0
	.space	4
	.word	0
	.space	16
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
