	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m88e6390_errata
_m88e6390_errata:                       ## @m88e6390_errata
	.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	%rdi, %rbx
	movq	_MII_BMCR@GOTPCREL(%rip), %rax
	movq	_BMCR_ANENABLE@GOTPCREL(%rip), %rcx
	movq	_BMCR_SPEED1000@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_BMCR_FULLDPLX@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	callq	_phy_write
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	$300, %edi                      ## imm = 0x12C
	movl	$400, %esi                      ## imm = 0x190
	callq	_usleep_range
	movq	%rbx, %rdi
	movl	$248, %esi
	movl	$8, %edx
	movl	$54, %ecx
	callq	_phy_write_paged
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_genphy_soft_reset              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MII_BMCR,4,2                   ## @MII_BMCR
	.comm	_BMCR_ANENABLE,4,2              ## @BMCR_ANENABLE
	.comm	_BMCR_SPEED1000,4,2             ## @BMCR_SPEED1000
	.comm	_BMCR_FULLDPLX,4,2              ## @BMCR_FULLDPLX
	.no_dead_strip	_m88e6390_errata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m88e6390_errata
_m88e6390_errata:                       ; @m88e6390_errata
	.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, x0
Lloh0:
	adrp	x8, _MII_BMCR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MII_BMCR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _BMCR_ANENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BMCR_ANENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _BMCR_SPEED1000@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BMCR_SPEED1000@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _BMCR_FULLDPLX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BMCR_FULLDPLX@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w2, w8, w9
	bl	_phy_write
	cbnz	w0, LBB0_2
; %bb.1:
	mov	w0, #300
	mov	w1, #400
	bl	_usleep_range
	mov	x0, x19
	mov	w1, #248
	mov	w2, #8
	mov	w3, #54
	bl	_phy_write_paged
	cbz	w0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_genphy_soft_reset
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MII_BMCR,4,2                   ; @MII_BMCR
	.comm	_BMCR_ANENABLE,4,2              ; @BMCR_ANENABLE
	.comm	_BMCR_SPEED1000,4,2             ; @BMCR_SPEED1000
	.comm	_BMCR_FULLDPLX,4,2              ; @BMCR_FULLDPLX
	.no_dead_strip	_m88e6390_errata
.subsections_via_symbols
