	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enetc_detect_errata
_enetc_detect_errata:                   ## @enetc_detect_errata
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	_ENETC_REV1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_ENETC_ERR_TXCSUM@GOTPCREL(%rip), %rax
	movq	_ENETC_ERR_VLAN_ISOL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_ENETC_ERR_UCMCSWP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rdi)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENETC_REV1,8,3                 ## @ENETC_REV1
	.comm	_ENETC_ERR_TXCSUM,4,2           ## @ENETC_ERR_TXCSUM
	.comm	_ENETC_ERR_VLAN_ISOL,4,2        ## @ENETC_ERR_VLAN_ISOL
	.comm	_ENETC_ERR_UCMCSWP,4,2          ## @ENETC_ERR_UCMCSWP
	.no_dead_strip	_enetc_detect_errata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enetc_detect_errata
_enetc_detect_errata:                   ; @enetc_detect_errata
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _ENETC_REV1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ENETC_REV1@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ENETC_ERR_TXCSUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENETC_ERR_TXCSUM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ENETC_ERR_VLAN_ISOL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ENETC_ERR_VLAN_ISOL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _ENETC_ERR_UCMCSWP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ENETC_ERR_UCMCSWP@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x0]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENETC_REV1,8,3                 ; @ENETC_REV1
	.comm	_ENETC_ERR_TXCSUM,4,2           ; @ENETC_ERR_TXCSUM
	.comm	_ENETC_ERR_VLAN_ISOL,4,2        ; @ENETC_ERR_VLAN_ISOL
	.comm	_ENETC_ERR_UCMCSWP,4,2          ; @ENETC_ERR_UCMCSWP
	.no_dead_strip	_enetc_detect_errata
.subsections_via_symbols
