	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fst_log_rx_error
_fst_log_rx_error:                      ## @fst_log_rx_error
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r14d
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_port_to_dev
	movq	%rax, %r13
	incl	16(%rax)
	movq	_RX_OFLO@GOTPCREL(%rip), %rax
	testb	%bl, (%rax)
	je	LBB0_2
## %bb.1:
	incl	12(%r13)
	movq	_DBG_ASS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzwl	(%r15), %edx
	movzwl	(%r12), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %r8d
	xorl	%eax, %eax
	callq	_dbg
LBB0_2:
	movq	_RX_CRC@GOTPCREL(%rip), %rax
	testb	%bl, (%rax)
	je	LBB0_4
## %bb.3:
	incl	8(%r13)
	movq	_DBG_ASS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzwl	(%r15), %edx
	movzwl	(%r12), %ecx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dbg
LBB0_4:
	movq	_RX_FRAM@GOTPCREL(%rip), %rax
	testb	%bl, (%rax)
	je	LBB0_6
## %bb.5:
	incl	4(%r13)
	movq	_DBG_ASS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzwl	(%r15), %edx
	movzwl	(%r12), %ecx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dbg
LBB0_6:
	movq	_RX_STP@GOTPCREL(%rip), %rax
	movq	_RX_ENP@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	orb	(%rax), %cl
	cmpb	%bl, %cl
	jne	LBB0_7
## %bb.8:
	incl	(%r13)
	movq	_DBG_ASS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzwl	(%r15), %ecx
	movzwl	(%r12), %r8d
	movzwl	-44(%rbp), %edx                 ## 2-byte Folded Reload
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dbg                            ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_OFLO,1,0                    ## @RX_OFLO
	.comm	_DBG_ASS,4,2                    ## @DBG_ASS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Rx fifo error on card %d port %d buffer %d\n"

	.comm	_RX_CRC,1,0                     ## @RX_CRC
L_.str.1:                               ## @.str.1
	.asciz	"Rx crc error on card %d port %d\n"

	.comm	_RX_FRAM,1,0                    ## @RX_FRAM
L_.str.2:                               ## @.str.2
	.asciz	"Rx frame error on card %d port %d\n"

	.comm	_RX_STP,1,0                     ## @RX_STP
	.comm	_RX_ENP,1,0                     ## @RX_ENP
L_.str.3:                               ## @.str.3
	.asciz	"Rx length error (%d) on card %d port %d\n"

	.no_dead_strip	_fst_log_rx_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fst_log_rx_error
_fst_log_rx_error:                      ; @fst_log_rx_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x24, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_port_to_dev
	mov	x22, x0
	ldr	w8, [x0, #16]
	add	w8, w8, #1
	str	w8, [x0, #16]
Lloh0:
	adrp	x8, _RX_OFLO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RX_OFLO@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh2:
	adrp	x25, _DBG_ASS@GOTPAGE
Lloh3:
	ldr	x25, [x25, _DBG_ASS@GOTPAGEOFF]
	tst	w8, w23
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x22, #12]
	add	w8, w8, #1
	str	w8, [x22, #12]
	ldr	w0, [x25]
	ldrh	w2, [x21]
	ldrh	w3, [x20]
	str	x24, [sp]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dbg
LBB0_2:
Lloh6:
	adrp	x8, _RX_CRC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RX_CRC@GOTPAGEOFF]
	ldrb	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x22, #8]
	add	w8, w8, #1
	str	w8, [x22, #8]
	ldr	w0, [x25]
	ldrh	w2, [x21]
	ldrh	w3, [x20]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dbg
LBB0_4:
Lloh10:
	adrp	x8, _RX_FRAM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RX_FRAM@GOTPAGEOFF]
	ldrb	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [x22, #4]
	add	w8, w8, #1
	str	w8, [x22, #4]
	ldr	w0, [x25]
	ldrh	w2, [x21]
	ldrh	w3, [x20]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dbg
LBB0_6:
Lloh14:
	adrp	x8, _RX_STP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RX_STP@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh16:
	adrp	x9, _RX_ENP@GOTPAGE
Lloh17:
	ldr	x9, [x9, _RX_ENP@GOTPAGEOFF]
	ldrb	w9, [x9]
	orr	w8, w9, w8
	cmp	w8, w23
	b.ne	LBB0_8
; %bb.7:
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	ldr	w0, [x25]
	ldrh	w3, [x21]
	ldrh	w8, [x20]
	str	x8, [sp]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x19
	bl	_dbg
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_OFLO,1,0                    ; @RX_OFLO
	.comm	_DBG_ASS,4,2                    ; @DBG_ASS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Rx fifo error on card %d port %d buffer %d\n"

	.comm	_RX_CRC,1,0                     ; @RX_CRC
l_.str.1:                               ; @.str.1
	.asciz	"Rx crc error on card %d port %d\n"

	.comm	_RX_FRAM,1,0                    ; @RX_FRAM
l_.str.2:                               ; @.str.2
	.asciz	"Rx frame error on card %d port %d\n"

	.comm	_RX_STP,1,0                     ; @RX_STP
	.comm	_RX_ENP,1,0                     ; @RX_ENP
l_.str.3:                               ; @.str.3
	.asciz	"Rx length error (%d) on card %d port %d\n"

	.no_dead_strip	_fst_log_rx_error
.subsections_via_symbols
