	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ftgmac100_rx_packet_error
_ftgmac100_rx_packet_error:             ## @ftgmac100_rx_packet_error
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_FTGMAC100_RXDES0_RX_ERR@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_2
## %bb.1:
	incl	8(%rax)
LBB0_2:
	movq	_FTGMAC100_RXDES0_CRC_ERR@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_4
## %bb.3:
	incl	4(%rax)
LBB0_4:
	movq	_FTGMAC100_RXDES0_FTL@GOTPCREL(%rip), %rcx
	movq	_FTGMAC100_RXDES0_RUNT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_FTGMAC100_RXDES0_RX_ODD_NB@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	testl	%esi, %edx
	je	LBB0_6
## %bb.5:
	incl	(%rax)
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FTGMAC100_RXDES0_RX_ERR,4,2    ## @FTGMAC100_RXDES0_RX_ERR
	.comm	_FTGMAC100_RXDES0_CRC_ERR,4,2   ## @FTGMAC100_RXDES0_CRC_ERR
	.comm	_FTGMAC100_RXDES0_FTL,4,2       ## @FTGMAC100_RXDES0_FTL
	.comm	_FTGMAC100_RXDES0_RUNT,4,2      ## @FTGMAC100_RXDES0_RUNT
	.comm	_FTGMAC100_RXDES0_RX_ODD_NB,4,2 ## @FTGMAC100_RXDES0_RX_ODD_NB
	.no_dead_strip	_ftgmac100_rx_packet_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ftgmac100_rx_packet_error
_ftgmac100_rx_packet_error:             ; @ftgmac100_rx_packet_error
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _FTGMAC100_RXDES0_RX_ERR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FTGMAC100_RXDES0_RX_ERR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w1
	b.eq	LBB0_2
; %bb.1:
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
LBB0_2:
Lloh3:
	adrp	x9, _FTGMAC100_RXDES0_CRC_ERR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FTGMAC100_RXDES0_CRC_ERR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w1
	b.eq	LBB0_4
; %bb.3:
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
LBB0_4:
Lloh6:
	adrp	x9, _FTGMAC100_RXDES0_FTL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FTGMAC100_RXDES0_FTL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _FTGMAC100_RXDES0_RUNT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _FTGMAC100_RXDES0_RUNT@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh12:
	adrp	x10, _FTGMAC100_RXDES0_RX_ODD_NB@GOTPAGE
Lloh13:
	ldr	x10, [x10, _FTGMAC100_RXDES0_RX_ODD_NB@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w9, w10
	tst	w9, w1
	b.eq	LBB0_6
; %bb.5:
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FTGMAC100_RXDES0_RX_ERR,4,2    ; @FTGMAC100_RXDES0_RX_ERR
	.comm	_FTGMAC100_RXDES0_CRC_ERR,4,2   ; @FTGMAC100_RXDES0_CRC_ERR
	.comm	_FTGMAC100_RXDES0_FTL,4,2       ; @FTGMAC100_RXDES0_FTL
	.comm	_FTGMAC100_RXDES0_RUNT,4,2      ; @FTGMAC100_RXDES0_RUNT
	.comm	_FTGMAC100_RXDES0_RX_ODD_NB,4,2 ; @FTGMAC100_RXDES0_RX_ODD_NB
	.no_dead_strip	_ftgmac100_rx_packet_error
.subsections_via_symbols
