	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgene_enet_errata_10GE_10
_xgene_enet_errata_10GE_10:             ## @xgene_enet_errata_10GE_10
	.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	_INGRESS_CRC@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	_ETHER_STD_PACKET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rsi, %rax
	jge	LBB0_4
## %bb.2:
	addq	$4, %rax
	cmpq	%rsi, %rax
	jl	LBB0_4
## %bb.3:
	movq	(%rdi), %rbx
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rax, %rcx
	movl	$1, %eax
	cmpq	%rcx, %rbx
	je	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INGRESS_CRC,8,3                ## @INGRESS_CRC
	.comm	_ETHER_STD_PACKET,8,3           ## @ETHER_STD_PACKET
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.no_dead_strip	_xgene_enet_errata_10GE_10
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgene_enet_errata_10GE_10
_xgene_enet_errata_10GE_10:             ; @xgene_enet_errata_10GE_10
	.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
Lloh0:
	adrp	x8, _INGRESS_CRC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INGRESS_CRC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _ETHER_STD_PACKET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETHER_STD_PACKET@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x9, x8, #4
	cmp	x8, x1
	ccmp	x9, x1, #8, lt
	b.lt	LBB0_4
; %bb.2:
	ldr	x19, [x0]
Lloh6:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_htons
	cmp	x19, x0
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_INGRESS_CRC,8,3                ; @INGRESS_CRC
	.comm	_ETHER_STD_PACKET,8,3           ; @ETHER_STD_PACKET
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.no_dead_strip	_xgene_enet_errata_10GE_10
.subsections_via_symbols
