	.file	"extr_farsync.c_fst_log_rx_error.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Rx fifo error on card %d port %d buffer %d\n"
	.align 8
.LC1:
	.string	"Rx crc error on card %d port %d\n"
	.align 8
.LC2:
	.string	"Rx frame error on card %d port %d\n"
	.align 8
.LC3:
	.string	"Rx length error (%d) on card %d port %d\n"
	.text
	.p2align 4
	.type	fst_log_rx_error, @function
fst_log_rx_error:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, r8d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	mov	rdi, rsi
	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, 8
	.cfi_def_cfa_offset 64
	call	port_to_dev@PLT
	add	DWORD PTR 16[rax], 1
	mov	rbx, rax
	test	BYTE PTR RX_OFLO[rip], r15b
	jne	.L17
	test	BYTE PTR RX_CRC[rip], r15b
	jne	.L18
.L3:
	test	BYTE PTR RX_FRAM[rip], r15b
	jne	.L19
.L4:
	movzx	eax, BYTE PTR RX_STP[rip]
	or	al, BYTE PTR RX_ENP[rip]
	cmp	al, r15b
	je	.L20
	add	rsp, 8
	.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
.L17:
	.cfi_restore_state
	add	DWORD PTR 12[rax], 1
	movzx	ecx, WORD PTR 0[rbp]
	xor	eax, eax
	mov	r8d, r14d
	movzx	edx, WORD PTR [r12]
	mov	edi, DWORD PTR DBG_ASS[rip]
	lea	rsi, .LC0[rip]
	call	dbg@PLT
	test	BYTE PTR RX_CRC[rip], r15b
	je	.L3
.L18:
	add	DWORD PTR 8[rbx], 1
	movzx	ecx, WORD PTR 0[rbp]
	xor	eax, eax
	lea	rsi, .LC1[rip]
	movzx	edx, WORD PTR [r12]
	mov	edi, DWORD PTR DBG_ASS[rip]
	call	dbg@PLT
	test	BYTE PTR RX_FRAM[rip], r15b
	je	.L4
.L19:
	add	DWORD PTR 4[rbx], 1
	movzx	ecx, WORD PTR 0[rbp]
	xor	eax, eax
	lea	rsi, .LC2[rip]
	movzx	edx, WORD PTR [r12]
	mov	edi, DWORD PTR DBG_ASS[rip]
	call	dbg@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L20:
	add	DWORD PTR [rbx], 1
	movzx	ecx, WORD PTR [r12]
	movzx	edx, r13w
	xor	eax, eax
	movzx	r8d, WORD PTR 0[rbp]
	mov	edi, DWORD PTR DBG_ASS[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 56
	lea	rsi, .LC3[rip]
	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
	jmp	dbg@PLT
	.cfi_endproc
.LFE0:
	.size	fst_log_rx_error, .-fst_log_rx_error
	.comm	RX_STP,1,1
	.comm	RX_OFLO,1,1
	.comm	RX_FRAM,1,1
	.comm	RX_ENP,1,1
	.comm	RX_CRC,1,1
	.comm	DBG_ASS,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_farsync.c_fst_log_rx_error.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Rx fifo error on card %d port %d buffer %d\012\000"
	.align	2
.LC1:
	.ascii	"Rx crc error on card %d port %d\012\000"
	.align	2
.LC2:
	.ascii	"Rx frame error on card %d port %d\012\000"
	.align	2
.LC3:
	.ascii	"Rx length error (%d) on card %d port %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fst_log_rx_error, %function
fst_log_rx_error:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r7, r0
	sub	sp, sp, #12
	mov	r0, r1
	mov	r5, r2
	mov	r9, r3
	mov	r6, r1
	ldrh	r8, [sp, #40]
	bl	port_to_dev
	ldr	r3, .L21
	ldr	r2, [r0, #16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r2, r2, #1
	tst	r5, r3
	mov	r4, r0
	str	r2, [r0, #16]
	bne	.L17
	ldr	r3, .L21+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	tst	r5, r3
	bne	.L18
.L3:
	ldr	r3, .L21+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	tst	r5, r3
	bne	.L19
.L4:
	ldr	r3, .L21+12
	ldr	r2, .L21+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r3, r3, r2
	cmp	r3, r5
	beq	.L20
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L17:
	ldr	r3, [r0, #12]
	ldr	r2, .L21+20
	add	r3, r3, #1
	str	r3, [r0, #12]
	ldr	r0, [r2]
	str	r9, [sp]
	ldrh	r3, [r6]
	ldrh	r2, [r7]
	ldr	r1, .L21+24
	bl	dbg
	ldr	r3, .L21+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	tst	r5, r3
	beq	.L3
.L18:
	ldr	r3, [r4, #8]
	ldr	r2, .L21+20
	add	r3, r3, #1
	ldr	r0, [r2]
	str	r3, [r4, #8]
	ldrh	r2, [r7]
	ldrh	r3, [r6]
	ldr	r1, .L21+28
	bl	dbg
	ldr	r3, .L21+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	tst	r5, r3
	beq	.L4
.L19:
	ldr	r3, [r4, #4]
	ldr	r2, .L21+20
	add	r3, r3, #1
	str	r3, [r4, #4]
	ldr	r0, [r2]
	ldrh	r3, [r6]
	ldrh	r2, [r7]
	ldr	r1, .L21+32
	bl	dbg
	b	.L4
.L20:
	mov	r2, r8
	ldr	r1, [r4]
	ldr	r0, .L21+20
	add	r1, r1, #1
	ldrh	ip, [r6]
	ldrh	r3, [r7]
	ldr	r0, [r0]
	str	r1, [r4]
	ldr	r1, .L21+36
	str	ip, [sp, #40]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	dbg
.L22:
	.align	2
.L21:
	.word	RX_OFLO
	.word	RX_CRC
	.word	RX_FRAM
	.word	RX_STP
	.word	RX_ENP
	.word	DBG_ASS
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	fst_log_rx_error, .-fst_log_rx_error
	.comm	RX_STP,1,1
	.comm	RX_OFLO,1,1
	.comm	RX_FRAM,1,1
	.comm	RX_ENP,1,1
	.comm	RX_CRC,1,1
	.comm	DBG_ASS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
