	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phy_speed_up                   ## -- Begin function phy_speed_up
	.p2align	4, 0x90
_phy_speed_up:                          ## @phy_speed_up
	.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, %rbx
	movq	_adv_tmp@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	___ETHTOOL_DECLARE_LINK_MODE_MASK
	movq	(%rbx), %rax
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movl	12(%rbx), %edi
	callq	_linkmode_empty
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	(%r14), %edi
	movl	8(%rbx), %esi
	callq	_linkmode_copy
	movl	8(%rbx), %edi
	movl	12(%rbx), %esi
	callq	_linkmode_copy
	movl	12(%rbx), %edi
	callq	_linkmode_zero
	movl	8(%rbx), %edi
	movl	(%r14), %esi
	callq	_linkmode_equal
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_phy_config_aneg                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_adv_tmp,4,2                    ## @adv_tmp
	.comm	_AUTONEG_ENABLE,8,3             ## @AUTONEG_ENABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phy_speed_up                   ; -- Begin function phy_speed_up
	.p2align	2
_phy_speed_up:                          ; @phy_speed_up
	.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	x20, _adv_tmp@GOTPAGE
Lloh1:
	ldr	x20, [x20, _adv_tmp@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	___ETHTOOL_DECLARE_LINK_MODE_MASK
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _AUTONEG_ENABLE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x19, #12]
	bl	_linkmode_empty
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x20]
	ldr	w1, [x19, #8]
	bl	_linkmode_copy
	ldp	w0, w1, [x19, #8]
	bl	_linkmode_copy
	ldr	w0, [x19, #12]
	bl	_linkmode_zero
	ldr	w0, [x19, #8]
	ldr	w1, [x20]
	bl	_linkmode_equal
	cbz	x0, LBB0_4
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_phy_config_aneg
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_adv_tmp,4,2                    ; @adv_tmp
	.comm	_AUTONEG_ENABLE,8,3             ; @AUTONEG_ENABLE
.subsections_via_symbols
