	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t1_link_changed                ## -- Begin function t1_link_changed
	.p2align	4, 0x90
_t1_link_changed:                       ## @t1_link_changed
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	(%rdi), %r13
	movslq	%esi, %r12
	leaq	(%r12,%r12,2), %rbx
	shlq	$4, %rbx
	movq	40(%r13,%rbx), %rdi
	movq	(%rdi), %rax
	leaq	-56(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	callq	*(%rax)
	movl	-52(%rbp), %eax
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	movq	_SPEED_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	movl	%eax, 8(%r13,%rbx)
	movl	-48(%rbp), %eax
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	movq	_DUPLEX_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movl	%eax, 12(%r13,%rbx)
	movl	16(%r13,%rbx), %eax
	movq	_PAUSE_AUTONEG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_6
## %bb.5:
	movq	_PAUSE_RX@GOTPCREL(%rip), %rcx
	movq	_PAUSE_TX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	andl	%eax, %edx
	movl	%edx, -44(%rbp)
LBB0_6:
	movl	-56(%rbp), %edx
	movl	-52(%rbp), %ecx
	testl	%edx, %edx
	je	LBB0_10
## %bb.7:
	testl	%ecx, %ecx
	js	LBB0_10
## %bb.8:
	movq	24(%r13,%rbx), %rax
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_10
## %bb.9:
	movq	(%r15), %rax
	shlq	$4, %r12
	leaq	(%r12,%r12,2), %rbx
	movq	(%rax,%rbx), %rdi
	movq	(%rdi), %r8
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %ecx
	callq	*(%r8)
	movb	-44(%rbp), %al
	movb	%al, 32(%r13,%rbx)
	movl	-56(%rbp), %edx
	movl	-52(%rbp), %ecx
LBB0_10:
	movl	-48(%rbp), %r8d
	movl	-44(%rbp), %r9d
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_t1_link_negotiated
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPEED_INVALID,4,2              ## @SPEED_INVALID
	.comm	_DUPLEX_INVALID,4,2             ## @DUPLEX_INVALID
	.comm	_PAUSE_AUTONEG,4,2              ## @PAUSE_AUTONEG
	.comm	_PAUSE_RX,4,2                   ## @PAUSE_RX
	.comm	_PAUSE_TX,4,2                   ## @PAUSE_TX
	.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	_t1_link_changed                ; -- Begin function t1_link_changed
	.p2align	2
_t1_link_changed:                       ; @t1_link_changed
	.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	x19, x1
	mov	x20, x0
	ldr	x21, [x0]
	mov	w8, #48
	smaddl	x22, w1, w8, x21
	ldr	x0, [x22, #40]
	ldr	x8, [x0]
	ldr	x8, [x8]
	add	x1, sp, #12
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x4, sp
	blr	x8
	ldr	w8, [sp, #8]
Lloh0:
	adrp	x9, _SPEED_INVALID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SPEED_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w8, w9, w8, lt
	str	w8, [x22, #8]
	ldr	w8, [sp, #4]
Lloh3:
	adrp	x9, _DUPLEX_INVALID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DUPLEX_INVALID@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w8, w9, w8, lt
	str	w8, [x22, #12]
	ldr	w8, [x22, #16]
Lloh6:
	adrp	x9, _PAUSE_AUTONEG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PAUSE_AUTONEG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x9, _PAUSE_RX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PAUSE_RX@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _PAUSE_TX@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PAUSE_TX@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w10, w9
	and	w8, w9, w8
	str	w8, [sp]
LBB0_2:
	ldp	w3, w2, [sp, #8]
	cbz	w2, LBB0_6
; %bb.3:
	tbnz	w3, #31, LBB0_6
; %bb.4:
	sxtw	x8, w19
	mov	w9, #48
	madd	x9, x8, x9, x21
	ldr	x9, [x9, #24]
Lloh15:
	adrp	x10, _AUTONEG_ENABLE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.5:
	ldr	x9, [x20]
	add	x8, x8, x8, lsl #1
	lsl	x22, x8, #4
	ldr	x0, [x9, x22]
	ldr	x8, [x0]
	ldr	x9, [x8]
	ldp	w8, w2, [sp]
	mov	x1, x3
	mov	x3, x8
	blr	x9
	ldr	w8, [sp]
	add	x9, x21, x22
	strb	w8, [x9, #32]
	ldp	w3, w2, [sp, #8]
LBB0_6:
	ldp	w5, w4, [sp]
	mov	x0, x20
	mov	x1, x19
	bl	_t1_link_negotiated
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SPEED_INVALID,4,2              ; @SPEED_INVALID
	.comm	_DUPLEX_INVALID,4,2             ; @DUPLEX_INVALID
	.comm	_PAUSE_AUTONEG,4,2              ; @PAUSE_AUTONEG
	.comm	_PAUSE_RX,4,2                   ; @PAUSE_RX
	.comm	_PAUSE_TX,4,2                   ; @PAUSE_TX
	.comm	_AUTONEG_ENABLE,8,3             ; @AUTONEG_ENABLE
.subsections_via_symbols
