	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fza_rx_err
_fza_rx_err:                            ## @fza_rx_err
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_FZA_RING_PBC_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	%esi, %r12d
	movq	_FZA_RING_RX_BAD@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	movl	(%rax), %eax
	andl	%esi, %eax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	incl	4(%r14)
	movq	_FZA_RING_RX_CRC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FZA_RING_RX_RRR_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	orl	%eax, %edx
	movq	_FZA_RING_RX_DA_MASK@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	_FZA_RING_RX_SA_MASK@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	andl	%ebx, %edx
	movq	_FZA_RING_RX_DA_CAM@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	%eax, %esi
	orl	$131, %esi
	movq	_FZA_RING_RX_SA_ALIAS@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	orl	%esi, %edi
	cmpl	%edi, %edx
	jne	LBB0_7
## %bb.2:
	movl	$1, %r15d
	cmpl	$8190, %r12d                    ## imm = 0x1FFE
	jl	LBB0_17
## %bb.3:
	incl	(%r14)
	jmp	LBB0_17
LBB0_4:
	movq	_FDDI_FC_K_FORMAT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r15d, %eax
	cmpl	$134, %eax
	je	LBB0_12
## %bb.5:
	cmpl	$133, %eax
	jne	LBB0_13
## %bb.6:
	movq	_FDDI_FC_K_CLASS_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	movq	_FDDI_FC_K_CLASS_ASYNC@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	movl	$37, %ecx
	movl	$17, %eax
	cmovel	%ecx, %eax
	cmpl	$4495, %r12d                    ## imm = 0x118F
	jle	LBB0_14
	jmp	LBB0_15
LBB0_7:
	movq	_FZA_RING_RX_SA_CAM@GOTPCREL(%rip), %rdi
	orl	(%rdi), %esi
	cmpl	%esi, %edx
	jne	LBB0_9
## %bb.8:
	movq	_FZA_CONTROL_A_HALT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r14), %rsi
	callq	_writew_o
	movq	16(%r14), %rdi
	callq	_readw_o
	jmp	LBB0_16
LBB0_9:
	andl	%ebx, %ecx
	movl	$1, %r15d
	addl	$-128, %ecx
	cmpl	$4, %ecx
	ja	LBB0_17
## %bb.10:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_11:
	movq	_FZA_CONTROL_A_HALT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r14), %rsi
	callq	_writew_o
	movq	16(%r14), %rdi
	callq	_readw_o
	jmp	LBB0_17
LBB0_12:
	movl	$20, %eax
	cmpl	$4495, %r12d                    ## imm = 0x118F
	jle	LBB0_14
	jmp	LBB0_15
LBB0_13:
	movl	$17, %eax
	cmpl	$4495, %r12d                    ## imm = 0x118F
	jg	LBB0_15
LBB0_14:
	xorl	%r15d, %r15d
	cmpl	%eax, %r12d
	jge	LBB0_17
LBB0_15:
	incl	4(%r14)
	incl	(%r14)
LBB0_16:
	movl	$1, %r15d
LBB0_17:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	testl	%ebx, %eax
	je	LBB0_21
## %bb.19:
	incl	12(%r14)
	jmp	LBB0_17
LBB0_21:
	movq	_FZA_RING_RX_FSC_MASK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_23
## %bb.22:
	movq	_FZA_RING_RX_FSB_ERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_17
LBB0_23:
	incl	8(%r14)
	jmp	LBB0_17
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_18
	.long	L0_0_set_23
	.long	L0_0_set_11
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_FZA_RING_PBC_MASK,4,2          ## @FZA_RING_PBC_MASK
	.comm	_FZA_RING_RX_BAD,4,2            ## @FZA_RING_RX_BAD
	.comm	_FZA_RING_RX_CRC,4,2            ## @FZA_RING_RX_CRC
	.comm	_FZA_RING_RX_RRR_MASK,4,2       ## @FZA_RING_RX_RRR_MASK
	.comm	_FZA_RING_RX_DA_MASK,4,2        ## @FZA_RING_RX_DA_MASK
	.comm	_FZA_RING_RX_SA_MASK,4,2        ## @FZA_RING_RX_SA_MASK
	.comm	_FZA_RING_RX_DA_CAM,4,2         ## @FZA_RING_RX_DA_CAM
	.comm	_FZA_RING_RX_SA_ALIAS,4,2       ## @FZA_RING_RX_SA_ALIAS
	.comm	_FZA_RING_RX_SA_CAM,4,2         ## @FZA_RING_RX_SA_CAM
	.comm	_FZA_CONTROL_A_HALT,4,2         ## @FZA_CONTROL_A_HALT
	.comm	_FZA_RING_RX_FSC_MASK,4,2       ## @FZA_RING_RX_FSC_MASK
	.comm	_FZA_RING_RX_FSB_ERR,4,2        ## @FZA_RING_RX_FSB_ERR
	.comm	_FDDI_FC_K_FORMAT_MASK,4,2      ## @FDDI_FC_K_FORMAT_MASK
	.comm	_FDDI_FC_K_CLASS_MASK,4,2       ## @FDDI_FC_K_CLASS_MASK
	.comm	_FDDI_FC_K_CLASS_ASYNC,4,2      ## @FDDI_FC_K_CLASS_ASYNC
	.no_dead_strip	_fza_rx_err
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fza_rx_err
_fza_rx_err:                            ; @fza_rx_err
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _FZA_RING_PBC_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FZA_RING_PBC_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w22, w8, w1
Lloh3:
	adrp	x8, _FZA_RING_RX_BAD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FZA_RING_RX_BAD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w1
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
Lloh6:
	adrp	x8, _FZA_RING_RX_CRC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FZA_RING_RX_CRC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _FZA_RING_RX_RRR_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FZA_RING_RX_RRR_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w10, w9, w8
Lloh12:
	adrp	x11, _FZA_RING_RX_DA_MASK@GOTPAGE
Lloh13:
	ldr	x11, [x11, _FZA_RING_RX_DA_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh15:
	adrp	x11, _FZA_RING_RX_SA_MASK@GOTPAGE
Lloh16:
	ldr	x11, [x11, _FZA_RING_RX_SA_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	orr	w10, w10, w11
	and	w10, w10, w20
Lloh18:
	adrp	x11, _FZA_RING_RX_DA_CAM@GOTPAGE
Lloh19:
	ldr	x11, [x11, _FZA_RING_RX_DA_CAM@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	orr	w11, w8, w11
	mov	w12, #131
	orr	w11, w11, w12
Lloh21:
	adrp	x12, _FZA_RING_RX_SA_ALIAS@GOTPAGE
Lloh22:
	ldr	x12, [x12, _FZA_RING_RX_SA_ALIAS@GOTPAGEOFF]
Lloh23:
	ldr	w12, [x12]
	orr	w12, w11, w12
	cmp	w10, w12
	b.ne	LBB0_7
; %bb.2:
	mov	w8, #8190
	cmp	w22, w8
	b.lt	LBB0_15
; %bb.3:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_15
LBB0_4:
Lloh24:
	adrp	x8, _FDDI_FC_K_FORMAT_MASK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FDDI_FC_K_FORMAT_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	and	w8, w8, w21
	cmp	w8, #134
	b.eq	LBB0_11
; %bb.5:
	cmp	w8, #133
	b.ne	LBB0_12
; %bb.6:
Lloh27:
	adrp	x8, _FDDI_FC_K_CLASS_MASK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _FDDI_FC_K_CLASS_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _FDDI_FC_K_CLASS_ASYNC@GOTPAGE
Lloh31:
	ldr	x9, [x9, _FDDI_FC_K_CLASS_ASYNC@GOTPAGEOFF]
	and	w8, w8, w21
Lloh32:
	ldr	w9, [x9]
	mov	w10, #17
	mov	w11, #37
	cmp	w8, w9
	csel	w8, w11, w10, eq
	b	LBB0_13
LBB0_7:
Lloh33:
	adrp	x12, _FZA_RING_RX_SA_CAM@GOTPAGE
Lloh34:
	ldr	x12, [x12, _FZA_RING_RX_SA_CAM@GOTPAGEOFF]
Lloh35:
	ldr	w12, [x12]
	orr	w11, w12, w11
	cmp	w10, w11
	b.eq	LBB0_10
; %bb.8:
	and	w9, w9, w20
	sub	w9, w9, #128
	cmp	w9, #4
	b.hi	LBB0_15
; %bb.9:
Lloh36:
	adrp	x10, lJTI0_0@PAGE
Lloh37:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_10
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_10:
Lloh38:
	adrp	x8, _FZA_CONTROL_A_HALT@GOTPAGE
Lloh39:
	ldr	x8, [x8, _FZA_CONTROL_A_HALT@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	ldr	x1, [x19, #16]
	bl	_writew_o
	ldr	x0, [x19, #16]
	bl	_readw_o
	b	LBB0_15
LBB0_11:
	mov	w8, #20
	b	LBB0_13
LBB0_12:
	mov	w8, #17
LBB0_13:
	mov	w9, #4495
	cmp	w22, w9
	ccmp	w22, w8, #8, le
	b.ge	LBB0_17
; %bb.14:
	ldr	d0, [x19]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x19]
LBB0_15:
	mov	w0, #1
LBB0_16:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_17:
	mov	w0, #0
	b	LBB0_16
LBB0_18:
	tst	w8, w20
	b.eq	LBB0_20
; %bb.19:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	b	LBB0_15
LBB0_20:
Lloh41:
	adrp	x8, _FZA_RING_RX_FSC_MASK@GOTPAGE
Lloh42:
	ldr	x8, [x8, _FZA_RING_RX_FSC_MASK@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_22
; %bb.21:
Lloh44:
	adrp	x8, _FZA_RING_RX_FSB_ERR@GOTPAGE
Lloh45:
	ldr	x8, [x8, _FZA_RING_RX_FSB_ERR@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_15
LBB0_22:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_18-LBB0_10)>>2
	.byte	(LBB0_22-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
                                        ; -- End function
	.comm	_FZA_RING_PBC_MASK,4,2          ; @FZA_RING_PBC_MASK
	.comm	_FZA_RING_RX_BAD,4,2            ; @FZA_RING_RX_BAD
	.comm	_FZA_RING_RX_CRC,4,2            ; @FZA_RING_RX_CRC
	.comm	_FZA_RING_RX_RRR_MASK,4,2       ; @FZA_RING_RX_RRR_MASK
	.comm	_FZA_RING_RX_DA_MASK,4,2        ; @FZA_RING_RX_DA_MASK
	.comm	_FZA_RING_RX_SA_MASK,4,2        ; @FZA_RING_RX_SA_MASK
	.comm	_FZA_RING_RX_DA_CAM,4,2         ; @FZA_RING_RX_DA_CAM
	.comm	_FZA_RING_RX_SA_ALIAS,4,2       ; @FZA_RING_RX_SA_ALIAS
	.comm	_FZA_RING_RX_SA_CAM,4,2         ; @FZA_RING_RX_SA_CAM
	.comm	_FZA_CONTROL_A_HALT,4,2         ; @FZA_CONTROL_A_HALT
	.comm	_FZA_RING_RX_FSC_MASK,4,2       ; @FZA_RING_RX_FSC_MASK
	.comm	_FZA_RING_RX_FSB_ERR,4,2        ; @FZA_RING_RX_FSB_ERR
	.comm	_FDDI_FC_K_FORMAT_MASK,4,2      ; @FDDI_FC_K_FORMAT_MASK
	.comm	_FDDI_FC_K_CLASS_MASK,4,2       ; @FDDI_FC_K_CLASS_MASK
	.comm	_FDDI_FC_K_CLASS_ASYNC,4,2      ; @FDDI_FC_K_CLASS_ASYNC
	.no_dead_strip	_fza_rx_err
.subsections_via_symbols
