	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8125_get_features
_rtl8125_get_features:                  ## @rtl8125_get_features
	.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
	movq	%rdi, %r14
	movl	$2657, %esi                     ## imm = 0xA61
	movl	$19, %edx
	callq	_phy_read_paged
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_ETHTOOL_LINK_MODE_2500baseT_Full_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	movq	_RTL_SUPPORTS_2500FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%ebx, %edx
	callq	_linkmode_mod_bit
	movq	_ETHTOOL_LINK_MODE_5000baseT_Full_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	movq	_RTL_SUPPORTS_5000FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%ebx, %edx
	callq	_linkmode_mod_bit
	movq	_ETHTOOL_LINK_MODE_10000baseT_Full_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	movq	_RTL_SUPPORTS_10000FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%ebx, %edx
	callq	_linkmode_mod_bit
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_genphy_read_abilities          ## TAILCALL
LBB0_1:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETHTOOL_LINK_MODE_2500baseT_Full_BIT,4,2 ## @ETHTOOL_LINK_MODE_2500baseT_Full_BIT
	.comm	_RTL_SUPPORTS_2500FULL,4,2      ## @RTL_SUPPORTS_2500FULL
	.comm	_ETHTOOL_LINK_MODE_5000baseT_Full_BIT,4,2 ## @ETHTOOL_LINK_MODE_5000baseT_Full_BIT
	.comm	_RTL_SUPPORTS_5000FULL,4,2      ## @RTL_SUPPORTS_5000FULL
	.comm	_ETHTOOL_LINK_MODE_10000baseT_Full_BIT,4,2 ## @ETHTOOL_LINK_MODE_10000baseT_Full_BIT
	.comm	_RTL_SUPPORTS_10000FULL,4,2     ## @RTL_SUPPORTS_10000FULL
	.no_dead_strip	_rtl8125_get_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8125_get_features
_rtl8125_get_features:                  ; @rtl8125_get_features
	.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
	mov	w1, #2657
	mov	w2, #19
	bl	_phy_read_paged
	mov	x20, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ETHTOOL_LINK_MODE_2500baseT_Full_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_2500baseT_Full_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19]
Lloh3:
	adrp	x8, _RTL_SUPPORTS_2500FULL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTL_SUPPORTS_2500FULL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w2, w8, w20
	bl	_linkmode_mod_bit
Lloh6:
	adrp	x8, _ETHTOOL_LINK_MODE_5000baseT_Full_BIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_5000baseT_Full_BIT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x19]
Lloh9:
	adrp	x8, _RTL_SUPPORTS_5000FULL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RTL_SUPPORTS_5000FULL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	and	w2, w8, w20
	bl	_linkmode_mod_bit
Lloh12:
	adrp	x8, _ETHTOOL_LINK_MODE_10000baseT_Full_BIT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_10000baseT_Full_BIT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w1, [x19]
Lloh15:
	adrp	x8, _RTL_SUPPORTS_10000FULL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RTL_SUPPORTS_10000FULL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	and	w2, w8, w20
	bl	_linkmode_mod_bit
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_genphy_read_abilities
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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	_ETHTOOL_LINK_MODE_2500baseT_Full_BIT,4,2 ; @ETHTOOL_LINK_MODE_2500baseT_Full_BIT
	.comm	_RTL_SUPPORTS_2500FULL,4,2      ; @RTL_SUPPORTS_2500FULL
	.comm	_ETHTOOL_LINK_MODE_5000baseT_Full_BIT,4,2 ; @ETHTOOL_LINK_MODE_5000baseT_Full_BIT
	.comm	_RTL_SUPPORTS_5000FULL,4,2      ; @RTL_SUPPORTS_5000FULL
	.comm	_ETHTOOL_LINK_MODE_10000baseT_Full_BIT,4,2 ; @ETHTOOL_LINK_MODE_10000baseT_Full_BIT
	.comm	_RTL_SUPPORTS_10000FULL,4,2     ; @RTL_SUPPORTS_10000FULL
	.no_dead_strip	_rtl8125_get_features
.subsections_via_symbols
