	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8168ep_1_hw_phy_config
_rtl8168ep_1_hw_phy_config:             ## @rtl8168ep_1_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	(%rdi), %r14d
	movl	$3, %edi
	callq	_BIT
	movl	%eax, %ebx
	movl	$2, %edi
	callq	_BIT
	orl	%eax, %ebx
	movl	%r14d, %edi
	movl	$2628, %esi                     ## imm = 0xA44
	movl	$17, %edx
	xorl	%ecx, %ecx
	movl	%ebx, %r8d
	callq	_phy_modify_paged
	movq	%r15, %rdi
	callq	_rtl8168g_phy_adjust_10m_aldps
	movl	(%r15), %ebx
	movl	$2, %edi
	callq	_BIT
	movl	%ebx, %edi
	movl	$2635, %esi                     ## imm = 0xA4B
	movl	$17, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_phy_modify_paged
	movq	%r15, %rdi
	movl	$31, %esi
	movl	$2627, %edx                     ## imm = 0xA43
	callq	_rtl_writephy
	movq	%r15, %rdi
	movl	$19, %esi
	movl	$32786, %edx                    ## imm = 0x8012
	callq	_rtl_writephy
	movq	%r15, %rdi
	movl	$20, %esi
	movl	$32768, %edx                    ## imm = 0x8000
	xorl	%ecx, %ecx
	callq	_rtl_w0w1_phy
	movq	%r15, %rdi
	movl	$31, %esi
	xorl	%edx, %edx
	callq	_rtl_writephy
	movl	(%r15), %r14d
	movl	$13, %edi
	callq	_BIT
	movl	%eax, %ebx
	movl	$14, %edi
	callq	_BIT
	movl	%r14d, %edi
	movl	$3138, %esi                     ## imm = 0xC42
	movl	$17, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_phy_modify_paged
	movq	%r15, %rdi
	callq	_rtl8168g_disable_aldps
	movq	%r15, %rdi
	callq	_rtl8168g_config_eee_phy
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_enable_eee                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rtl8168ep_1_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 rtl8168ep_1_hw_phy_config
_rtl8168ep_1_hw_phy_config:             ; @rtl8168ep_1_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
	ldr	w20, [x0]
	mov	w0, #3
	bl	_BIT
	mov	x21, x0
	mov	w0, #2
	bl	_BIT
	orr	w4, w0, w21
	mov	x0, x20
	mov	w1, #2628
	mov	w2, #17
	mov	w3, #0
	bl	_phy_modify_paged
	mov	x0, x19
	bl	_rtl8168g_phy_adjust_10m_aldps
	ldr	w20, [x19]
	mov	w0, #2
	bl	_BIT
	mov	x4, x0
	mov	x0, x20
	mov	w1, #2635
	mov	w2, #17
	mov	w3, #0
	bl	_phy_modify_paged
	mov	x0, x19
	mov	w1, #31
	mov	w2, #2627
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #19
	mov	w2, #32786
	bl	_rtl_writephy
	mov	x0, x19
	mov	w1, #20
	mov	w2, #32768
	mov	w3, #0
	bl	_rtl_w0w1_phy
	mov	x0, x19
	mov	w1, #31
	mov	w2, #0
	bl	_rtl_writephy
	ldr	w20, [x19]
	mov	w0, #13
	bl	_BIT
	mov	x21, x0
	mov	w0, #14
	bl	_BIT
	mov	x4, x0
	mov	x0, x20
	mov	w1, #3138
	mov	w2, #17
	mov	x3, x21
	bl	_phy_modify_paged
	mov	x0, x19
	bl	_rtl8168g_disable_aldps
	mov	x0, x19
	bl	_rtl8168g_config_eee_phy
	mov	x0, x19
	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_enable_eee
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rtl8168ep_1_hw_phy_config
.subsections_via_symbols
