	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ksz9477_phy_errata_setup
_ksz9477_phy_errata_setup:              ## @ksz9477_phy_errata_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	$1, %edx
	movl	$111, %ecx
	movl	$56587, %r8d                    ## imm = 0xDD0B
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	movl	$143, %ecx
	movl	$24626, %r8d                    ## imm = 0x6032
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	movl	$157, %ecx
	movl	$9356, %r8d                     ## imm = 0x248C
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	movl	$117, %ecx
	movl	$96, %r8d
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	movl	$211, %ecx
	movl	$30583, %r8d                    ## imm = 0x7777
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$28, %edx
	movl	$6, %ecx
	movl	$12296, %r8d                    ## imm = 0x3008
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$28, %edx
	movl	$8, %ecx
	movl	$8193, %r8d                     ## imm = 0x2001
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$28, %edx
	movl	$4, %ecx
	movl	$208, %r8d
	callq	_ksz9477_port_mmd_write
	movq	_GBIT_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$7, %edx
	movl	$60, %ecx
	xorl	%r8d, %r8d
	callq	_ksz9477_port_mmd_write
LBB0_2:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$28, %edx
	movl	$19, %ecx
	movl	$28415, %r8d                    ## imm = 0x6EFF
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$28, %edx
	movl	$20, %ecx
	movl	$59135, %r8d                    ## imm = 0xE6FF
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$28, %edx
	movl	$21, %ecx
	movl	$28415, %r8d                    ## imm = 0x6EFF
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$28, %edx
	movl	$22, %ecx
	movl	$59135, %r8d                    ## imm = 0xE6FF
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$28, %edx
	movl	$23, %ecx
	movl	$255, %r8d
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$28, %edx
	movl	$24, %ecx
	movl	$17407, %r8d                    ## imm = 0x43FF
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$28, %edx
	movl	$25, %ecx
	movl	$50175, %r8d                    ## imm = 0xC3FF
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$28, %edx
	movl	$26, %ecx
	movl	$28671, %r8d                    ## imm = 0x6FFF
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$28, %edx
	movl	$27, %ecx
	movl	$2047, %r8d                     ## imm = 0x7FF
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$28, %edx
	movl	$28, %ecx
	movl	$4095, %r8d                     ## imm = 0xFFF
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$28, %edx
	movl	$29, %ecx
	movl	$59391, %r8d                    ## imm = 0xE7FF
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$28, %edx
	movl	$30, %ecx
	movl	$61439, %r8d                    ## imm = 0xEFFF
	callq	_ksz9477_port_mmd_write
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$28, %edx
	movl	$32, %ecx
	movl	$61166, %r8d                    ## imm = 0xEEEE
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ksz9477_port_mmd_write         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GBIT_SUPPORT,4,2               ## @GBIT_SUPPORT
	.no_dead_strip	_ksz9477_phy_errata_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ksz9477_phy_errata_setup
_ksz9477_phy_errata_setup:              ; @ksz9477_phy_errata_setup
	.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	x20, x0
	mov	w2, #1
	mov	w3, #111
	mov	w4, #56587
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	mov	w3, #143
	mov	w4, #24626
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	mov	w3, #157
	mov	w4, #9356
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	mov	w3, #117
	mov	w4, #96
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	mov	w3, #211
	mov	w4, #30583
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #28
	mov	w3, #6
	mov	w4, #12296
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #28
	mov	w3, #8
	mov	w4, #8193
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #28
	mov	w3, #4
	mov	w4, #208
	bl	_ksz9477_port_mmd_write
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _GBIT_SUPPORT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GBIT_SUPPORT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #7
	mov	w3, #60
	mov	w4, #0
	bl	_ksz9477_port_mmd_write
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #28
	mov	w3, #19
	mov	w4, #28415
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #28
	mov	w3, #20
	mov	w4, #59135
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #28
	mov	w3, #21
	mov	w4, #28415
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #28
	mov	w3, #22
	mov	w4, #59135
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #28
	mov	w3, #23
	mov	w4, #255
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #28
	mov	w3, #24
	mov	w4, #17407
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #28
	mov	w3, #25
	mov	w4, #50175
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #28
	mov	w3, #26
	mov	w4, #28671
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #28
	mov	w3, #27
	mov	w4, #2047
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #28
	mov	w3, #28
	mov	w4, #4095
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #28
	mov	w3, #29
	mov	w4, #59391
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #28
	mov	w3, #30
	mov	w4, #61439
	bl	_ksz9477_port_mmd_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #28
	mov	w3, #32
	mov	w4, #61166
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ksz9477_port_mmd_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GBIT_SUPPORT,4,2               ; @GBIT_SUPPORT
	.no_dead_strip	_ksz9477_phy_errata_setup
.subsections_via_symbols
