	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __bba_rx_err
___bba_rx_err:                          ## @__bba_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	testb	%dil, %dil
	je	LBB0_2
## %bb.1:
	incl	20(%rbx)
	movq	8(%rbx), %rcx
	incq	%rcx
	movq	%rcx, 8(%rbx)
	jmp	LBB0_17
LBB0_2:
	movq	_BBA_RX_STATUS_RERR@GOTPCREL(%rip), %rcx
	testl	%edi, (%rcx)
	je	LBB0_15
## %bb.3:
	incq	8(%rbx)
	movq	_BBA_RX_STATUS_BF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%edi, %ecx
	je	LBB0_5
## %bb.4:
	incl	20(%rbx)
LBB0_5:
	movq	_BBA_RX_STATUS_CRC@GOTPCREL(%rip), %rdx
	testl	%edi, (%rdx)
	je	LBB0_7
## %bb.6:
	incl	32(%rbx)
LBB0_7:
	movq	_BBA_RX_STATUS_FO@GOTPCREL(%rip), %rdx
	testl	%edi, (%rdx)
	je	LBB0_9
## %bb.8:
	incl	28(%rbx)
LBB0_9:
	movq	_BBA_RX_STATUS_RW@GOTPCREL(%rip), %rdx
	testl	%edi, (%rdx)
	je	LBB0_11
## %bb.10:
	incl	24(%rbx)
LBB0_11:
	movq	_BBA_RX_STATUS_RF@GOTPCREL(%rip), %rdx
	testl	%edi, (%rdx)
	je	LBB0_13
## %bb.12:
	incl	24(%rbx)
LBB0_13:
	testl	%edi, %ecx
	je	LBB0_15
## %bb.14:
	incl	20(%rbx)
LBB0_15:
	movq	_BBA_RX_STATUS_FAE@GOTPCREL(%rip), %rdx
	movq	8(%rbx), %rcx
	testl	%edi, (%rdx)
	je	LBB0_17
## %bb.16:
	incq	%rcx
	movq	%rcx, 8(%rbx)
	incl	16(%rbx)
LBB0_17:
	cmpq	%rcx, %rax
	je	LBB0_19
## %bb.18:
	movslq	%edi, %rdi
	callq	_LWIP_ERROR
	movq	8(%rbx), %rax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BBA_RX_STATUS_RERR,4,2         ## @BBA_RX_STATUS_RERR
	.comm	_BBA_RX_STATUS_BF,4,2           ## @BBA_RX_STATUS_BF
	.comm	_BBA_RX_STATUS_CRC,4,2          ## @BBA_RX_STATUS_CRC
	.comm	_BBA_RX_STATUS_FO,4,2           ## @BBA_RX_STATUS_FO
	.comm	_BBA_RX_STATUS_RW,4,2           ## @BBA_RX_STATUS_RW
	.comm	_BBA_RX_STATUS_RF,4,2           ## @BBA_RX_STATUS_RF
	.comm	_BBA_RX_STATUS_FAE,4,2          ## @BBA_RX_STATUS_FAE
	.no_dead_strip	___bba_rx_err
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __bba_rx_err
___bba_rx_err:                          ; @__bba_rx_err
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x8, x0
	ldr	x0, [x1]
	tst	w8, #0xff
	b.eq	LBB0_2
; %bb.1:
	ldr	w9, [x19, #20]
	add	w9, w9, #1
	str	w9, [x19, #20]
	ldr	x9, [x19, #8]
	add	x9, x9, #1
	str	x9, [x19, #8]
	b	LBB0_17
LBB0_2:
Lloh0:
	adrp	x9, _BBA_RX_STATUS_RERR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BBA_RX_STATUS_RERR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.3:
	ldr	x9, [x19, #8]
	add	x9, x9, #1
	str	x9, [x19, #8]
Lloh3:
	adrp	x9, _BBA_RX_STATUS_BF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BBA_RX_STATUS_BF@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ands	w9, w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	w10, [x19, #20]
	add	w10, w10, #1
	str	w10, [x19, #20]
LBB0_5:
Lloh6:
	adrp	x10, _BBA_RX_STATUS_CRC@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BBA_RX_STATUS_CRC@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_7
; %bb.6:
	ldr	w10, [x19, #32]
	add	w10, w10, #1
	str	w10, [x19, #32]
LBB0_7:
Lloh9:
	adrp	x10, _BBA_RX_STATUS_FO@GOTPAGE
Lloh10:
	ldr	x10, [x10, _BBA_RX_STATUS_FO@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_9
; %bb.8:
	ldr	w10, [x19, #28]
	add	w10, w10, #1
	str	w10, [x19, #28]
LBB0_9:
Lloh12:
	adrp	x10, _BBA_RX_STATUS_RW@GOTPAGE
Lloh13:
	ldr	x10, [x10, _BBA_RX_STATUS_RW@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_11
; %bb.10:
	ldr	w10, [x19, #24]
	add	w10, w10, #1
	str	w10, [x19, #24]
LBB0_11:
Lloh15:
	adrp	x10, _BBA_RX_STATUS_RF@GOTPAGE
Lloh16:
	ldr	x10, [x10, _BBA_RX_STATUS_RF@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_13
; %bb.12:
	ldr	w10, [x19, #24]
	add	w10, w10, #1
	str	w10, [x19, #24]
LBB0_13:
	cbz	w9, LBB0_15
; %bb.14:
	ldr	w9, [x19, #20]
	add	w9, w9, #1
	str	w9, [x19, #20]
LBB0_15:
Lloh18:
	adrp	x9, _BBA_RX_STATUS_FAE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _BBA_RX_STATUS_FAE@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x9]
	ldr	x9, [x19, #8]
	tst	w10, w8
	b.eq	LBB0_17
; %bb.16:
	add	x9, x9, #1
	str	x9, [x19, #8]
	ldr	w10, [x19, #16]
	add	w10, w10, #1
	str	w10, [x19, #16]
LBB0_17:
	cmp	x0, x9
	b.eq	LBB0_19
; %bb.18:
	sxtw	x0, w8
	bl	_LWIP_ERROR
	ldr	x0, [x19, #8]
LBB0_19:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_BBA_RX_STATUS_RERR,4,2         ; @BBA_RX_STATUS_RERR
	.comm	_BBA_RX_STATUS_BF,4,2           ; @BBA_RX_STATUS_BF
	.comm	_BBA_RX_STATUS_CRC,4,2          ; @BBA_RX_STATUS_CRC
	.comm	_BBA_RX_STATUS_FO,4,2           ; @BBA_RX_STATUS_FO
	.comm	_BBA_RX_STATUS_RW,4,2           ; @BBA_RX_STATUS_RW
	.comm	_BBA_RX_STATUS_RF,4,2           ; @BBA_RX_STATUS_RF
	.comm	_BBA_RX_STATUS_FAE,4,2          ; @BBA_RX_STATUS_FAE
	.no_dead_strip	___bba_rx_err
.subsections_via_symbols
