	.file	"extr_sky2.c_sky2_err_intr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"error interrupt status=%#x\n"
	.text
	.p2align 4
	.type	sky2_err_intr, @function
sky2_err_intr:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	eax, eax
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	net_ratelimit@PLT
	test	rax, rax
	jne	.L33
	test	DWORD PTR Y2_IS_HW_ERR[rip], ebx
	jne	.L34
.L3:
	test	DWORD PTR Y2_IS_IRQ_MAC1[rip], ebx
	jne	.L35
.L4:
	test	DWORD PTR Y2_IS_IRQ_MAC2[rip], ebx
	jne	.L36
.L5:
	test	DWORD PTR Y2_IS_CHK_RX1[rip], ebx
	jne	.L37
.L6:
	test	DWORD PTR Y2_IS_CHK_RX2[rip], ebx
	jne	.L38
.L7:
	test	DWORD PTR Y2_IS_CHK_TXA1[rip], ebx
	jne	.L39
.L8:
	test	DWORD PTR Y2_IS_CHK_TXA2[rip], ebx
	jne	.L40
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L33:
	.cfi_restore_state
	mov	rdi, QWORD PTR 0[rbp]
	mov	edx, ebx
	lea	rsi, .LC0[rip]
	call	dev_warn@PLT
	test	DWORD PTR Y2_IS_HW_ERR[rip], ebx
	je	.L3
.L34:
	mov	rdi, rbp
	call	sky2_hw_intr@PLT
	test	DWORD PTR Y2_IS_IRQ_MAC1[rip], ebx
	je	.L4
.L35:
	xor	esi, esi
	mov	rdi, rbp
	call	sky2_mac_intr@PLT
	test	DWORD PTR Y2_IS_IRQ_MAC2[rip], ebx
	je	.L5
.L36:
	mov	esi, 1
	mov	rdi, rbp
	call	sky2_mac_intr@PLT
	test	DWORD PTR Y2_IS_CHK_RX1[rip], ebx
	je	.L6
.L37:
	mov	edx, DWORD PTR Q_R1[rip]
	xor	esi, esi
	mov	rdi, rbp
	call	sky2_le_error@PLT
	test	DWORD PTR Y2_IS_CHK_RX2[rip], ebx
	je	.L7
.L38:
	mov	edx, DWORD PTR Q_R2[rip]
	mov	esi, 1
	mov	rdi, rbp
	call	sky2_le_error@PLT
	test	DWORD PTR Y2_IS_CHK_TXA1[rip], ebx
	je	.L8
.L39:
	mov	edx, DWORD PTR Q_XA1[rip]
	xor	esi, esi
	mov	rdi, rbp
	call	sky2_le_error@PLT
	test	DWORD PTR Y2_IS_CHK_TXA2[rip], ebx
	je	.L1
.L40:
	mov	edx, DWORD PTR Q_XA2[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	esi, 1
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	sky2_le_error@PLT
	.cfi_endproc
.LFE0:
	.size	sky2_err_intr, .-sky2_err_intr
	.comm	Y2_IS_IRQ_MAC2,4,4
	.comm	Y2_IS_IRQ_MAC1,4,4
	.comm	Y2_IS_HW_ERR,4,4
	.comm	Y2_IS_CHK_TXA2,4,4
	.comm	Y2_IS_CHK_TXA1,4,4
	.comm	Y2_IS_CHK_RX2,4,4
	.comm	Y2_IS_CHK_RX1,4,4
	.comm	Q_XA2,4,4
	.comm	Q_XA1,4,4
	.comm	Q_R2,4,4
	.comm	Q_R1,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_sky2.c_sky2_err_intr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"error interrupt status=%#x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sky2_err_intr, %function
sky2_err_intr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r4, r1
	bl	net_ratelimit
	cmp	r0, #0
	bne	.L33
.L2:
	ldr	r3, .L40
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L34
.L3:
	ldr	r3, .L40+4
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L35
.L4:
	ldr	r3, .L40+8
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L36
.L5:
	ldr	r3, .L40+12
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L37
.L6:
	ldr	r3, .L40+16
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L38
.L7:
	ldr	r3, .L40+20
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L39
.L8:
	ldr	r3, .L40+24
	ldr	r3, [r3]
	tst	r4, r3
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L40+28
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	mov	r1, #1
	ldr	r2, [r3]
	b	sky2_le_error
.L39:
	ldr	r3, .L40+32
	mov	r1, #0
	mov	r0, r5
	ldr	r2, [r3]
	bl	sky2_le_error
	b	.L8
.L38:
	ldr	r3, .L40+36
	mov	r1, #1
	mov	r0, r5
	ldr	r2, [r3]
	bl	sky2_le_error
	b	.L7
.L37:
	ldr	r3, .L40+40
	mov	r1, #0
	mov	r0, r5
	ldr	r2, [r3]
	bl	sky2_le_error
	b	.L6
.L36:
	mov	r1, #1
	mov	r0, r5
	bl	sky2_mac_intr
	b	.L5
.L35:
	mov	r1, #0
	mov	r0, r5
	bl	sky2_mac_intr
	b	.L4
.L34:
	mov	r0, r5
	bl	sky2_hw_intr
	b	.L3
.L33:
	mov	r2, r4
	ldr	r1, .L40+44
	ldr	r0, [r5]
	bl	dev_warn
	b	.L2
.L41:
	.align	2
.L40:
	.word	Y2_IS_HW_ERR
	.word	Y2_IS_IRQ_MAC1
	.word	Y2_IS_IRQ_MAC2
	.word	Y2_IS_CHK_RX1
	.word	Y2_IS_CHK_RX2
	.word	Y2_IS_CHK_TXA1
	.word	Y2_IS_CHK_TXA2
	.word	Q_XA2
	.word	Q_XA1
	.word	Q_R2
	.word	Q_R1
	.word	.LC0
	.size	sky2_err_intr, .-sky2_err_intr
	.comm	Y2_IS_IRQ_MAC2,4,4
	.comm	Y2_IS_IRQ_MAC1,4,4
	.comm	Y2_IS_HW_ERR,4,4
	.comm	Y2_IS_CHK_TXA2,4,4
	.comm	Y2_IS_CHK_TXA1,4,4
	.comm	Y2_IS_CHK_RX2,4,4
	.comm	Y2_IS_CHK_RX1,4,4
	.comm	Q_XA2,4,4
	.comm	Q_XA1,4,4
	.comm	Q_R2,4,4
	.comm	Q_R1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
