	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8106e_hw_phy_config
_rtl8106e_hw_phy_config:                ## @rtl8106e_hw_phy_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$31, %esi
	xorl	%edx, %edx
	callq	_rtl_writephy
	movq	%rbx, %rdi
	movl	$24, %esi
	movl	$784, %edx                      ## imm = 0x310
	callq	_rtl_writephy
	movl	$100, %edi
	callq	_msleep
	movq	%rbx, %rdi
	callq	_rtl_apply_firmware
	movq	_ERIAR_MASK_0011@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_ERIAR_EXGMAC@GOTPCREL(%rip), %r12
	movl	(%r12), %r8d
	movq	%rbx, %rdi
	movl	$432, %esi                      ## imm = 0x1B0
	xorl	%ecx, %ecx
	callq	_rtl_eri_write
	leaq	_rtl8106e_hw_phy_config.phy_reg_init(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_rtl_writephy_batch
	movl	(%r15), %edx
	movl	(%r12), %r8d
	movq	%rbx, %rdi
	movl	$464, %esi                      ## imm = 0x1D0
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_eri_write                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @rtl8106e_hw_phy_config.phy_reg_init
_rtl8106e_hw_phy_config.phy_reg_init:
	.long	31                              ## 0x1f
	.long	4                               ## 0x4
	.long	16                              ## 0x10
	.long	49279                           ## 0xc07f
	.long	25                              ## 0x19
	.long	28720                           ## 0x7030
	.long	31                              ## 0x1f
	.long	0                               ## 0x0

	.comm	_ERIAR_MASK_0011,4,2            ## @ERIAR_MASK_0011
	.comm	_ERIAR_EXGMAC,4,2               ## @ERIAR_EXGMAC
	.no_dead_strip	_rtl8106e_hw_phy_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8106e_hw_phy_config
_rtl8106e_hw_phy_config:                ; @rtl8106e_hw_phy_config
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	mov	w1, #31
	mov	w2, #0
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #24
	mov	w2, #784
	bl	_rtl_writephy
	mov	w0, #100
	bl	_msleep
	mov	x0, x19
	bl	_rtl_apply_firmware
Lloh0:
	adrp	x21, _ERIAR_MASK_0011@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ERIAR_MASK_0011@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh2:
	adrp	x22, _ERIAR_EXGMAC@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ERIAR_EXGMAC@GOTPAGEOFF]
	ldr	w4, [x22]
	mov	x0, x19
	mov	w1, #432
	mov	w3, #0
	bl	_rtl_eri_write
Lloh4:
	adrp	x20, _rtl8106e_hw_phy_config.phy_reg_init@PAGE
Lloh5:
	add	x20, x20, _rtl8106e_hw_phy_config.phy_reg_init@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_rtl_writephy_batch
	ldr	w2, [x21]
	ldr	w4, [x22]
	mov	x0, x19
	mov	w1, #464
	mov	w3, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rtl_eri_write
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @rtl8106e_hw_phy_config.phy_reg_init
_rtl8106e_hw_phy_config.phy_reg_init:
	.long	31                              ; 0x1f
	.long	4                               ; 0x4
	.long	16                              ; 0x10
	.long	49279                           ; 0xc07f
	.long	25                              ; 0x19
	.long	28720                           ; 0x7030
	.long	31                              ; 0x1f
	.long	0                               ; 0x0

	.comm	_ERIAR_MASK_0011,4,2            ; @ERIAR_MASK_0011
	.comm	_ERIAR_EXGMAC,4,2               ; @ERIAR_EXGMAC
	.no_dead_strip	_rtl8106e_hw_phy_config
.subsections_via_symbols
