	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lan743x_phy_link_status_change
_lan743x_phy_link_status_change:        ## @lan743x_phy_link_status_change
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%r15), %rbx
	movq	%rbx, %rdi
	callq	_phy_print_status
	movq	(%rbx), %rax
	movq	_PHY_RUNNING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	-40(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_phy_ethtool_get_link_ksettings
	movl	12(%rbx), %edi
	callq	_linkmode_adv_to_mii_adv_t
	movl	%eax, %r15d
	movl	8(%rbx), %edi
	callq	_linkmode_adv_to_mii_adv_t
	movl	-36(%rbp), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_lan743x_phy_update_flowcontrol
	movl	-40(%rbp), %esi
	movq	%r14, %rdi
	callq	_lan743x_ptp_update_latency
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_RUNNING,8,3                ## @PHY_RUNNING
	.no_dead_strip	_lan743x_phy_link_status_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lan743x_phy_link_status_change
_lan743x_phy_link_status_change:        ; @lan743x_phy_link_status_change
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x20, [x21]
	mov	x0, x20
	bl	_phy_print_status
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _PHY_RUNNING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PHY_RUNNING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	add	x1, sp, #8
	mov	x0, x21
	bl	_phy_ethtool_get_link_ksettings
	ldr	w0, [x20, #12]
	bl	_linkmode_adv_to_mii_adv_t
	mov	x21, x0
	ldr	w0, [x20, #8]
	bl	_linkmode_adv_to_mii_adv_t
	mov	x3, x0
	ldr	w1, [sp, #12]
	mov	x0, x19
	mov	x2, x21
	bl	_lan743x_phy_update_flowcontrol
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_lan743x_ptp_update_latency
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_RUNNING,8,3                ; @PHY_RUNNING
	.no_dead_strip	_lan743x_phy_link_status_change
.subsections_via_symbols
