	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_check_phy_link_tnx       ## -- Begin function ixgbe_check_phy_link_tnx
	.p2align	4, 0x90
_ixgbe_check_phy_link_tnx:              ## @ixgbe_check_phy_link_tnx
	.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
	movq	%rdi, %r13
	movl	$0, -44(%rbp)
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	$0, (%rdx)
	movq	_IXGBE_LINK_SPEED_10GB_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, (%rsi)
	movl	$10, %ebx
	movq	_MDIO_MMD_VEND1@GOTPCREL(%rip), %r15
	leaq	-44(%rbp), %r12
	movq	_IXGBE_MDIO_VENDOR_SPECIFIC_1_LINK_STATUS@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$10, %edi
	callq	_udelay
	movq	_MDIO_STAT1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%r13, %rdi
	movq	%r12, %rcx
	callq	*(%r13)
	movl	-44(%rbp), %ecx
	movl	%ecx, %edx
	notl	%edx
	testl	%edx, (%r14)
	je	LBB0_3
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	decq	%rbx
	jne	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movq	_IXGBE_MDIO_VENDOR_SPECIFIC_1_SPEED_STATUS@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	$1, (%rsi)
	cmpl	(%rdx), %ecx
	jne	LBB0_5
## %bb.4:
	movq	_IXGBE_LINK_SPEED_1GB_FULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, (%rdx)
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_LINK_SPEED_10GB_FULL,4,2 ## @IXGBE_LINK_SPEED_10GB_FULL
	.comm	_MDIO_STAT1,4,2                 ## @MDIO_STAT1
	.comm	_MDIO_MMD_VEND1,4,2             ## @MDIO_MMD_VEND1
	.comm	_IXGBE_MDIO_VENDOR_SPECIFIC_1_LINK_STATUS,4,2 ## @IXGBE_MDIO_VENDOR_SPECIFIC_1_LINK_STATUS
	.comm	_IXGBE_MDIO_VENDOR_SPECIFIC_1_SPEED_STATUS,4,2 ## @IXGBE_MDIO_VENDOR_SPECIFIC_1_SPEED_STATUS
	.comm	_IXGBE_LINK_SPEED_1GB_FULL,4,2  ## @IXGBE_LINK_SPEED_1GB_FULL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_check_phy_link_tnx       ; -- Begin function ixgbe_check_phy_link_tnx
	.p2align	2
_ixgbe_check_phy_link_tnx:              ; @ixgbe_check_phy_link_tnx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	str	wzr, [sp, #12]
	str	wzr, [x2]
Lloh0:
	adrp	x8, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x1]
	mov	w22, #10
Lloh3:
	adrp	x23, _MDIO_STAT1@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MDIO_STAT1@GOTPAGEOFF]
Lloh5:
	adrp	x24, _MDIO_MMD_VEND1@GOTPAGE
Lloh6:
	ldr	x24, [x24, _MDIO_MMD_VEND1@GOTPAGEOFF]
Lloh7:
	adrp	x25, _IXGBE_MDIO_VENDOR_SPECIFIC_1_LINK_STATUS@GOTPAGE
Lloh8:
	ldr	x25, [x25, _IXGBE_MDIO_VENDOR_SPECIFIC_1_LINK_STATUS@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #10
	bl	_udelay
	ldr	x8, [x21]
	ldr	w1, [x23]
	ldr	w2, [x24]
	add	x3, sp, #12
	mov	x0, x21
	blr	x8
	ldr	w8, [sp, #12]
	ldr	w9, [x25]
	bics	wzr, w9, w8
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	subs	x22, x22, #1
	b.ne	LBB0_1
	b	LBB0_5
LBB0_3:
Lloh9:
	adrp	x9, _IXGBE_MDIO_VENDOR_SPECIFIC_1_SPEED_STATUS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IXGBE_MDIO_VENDOR_SPECIFIC_1_SPEED_STATUS@GOTPAGEOFF]
	ldr	w10, [x9]
	and	w8, w10, w8
	mov	w10, #1
	str	w10, [x20]
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.4:
Lloh11:
	adrp	x8, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_LINK_SPEED_10GB_FULL,4,2 ; @IXGBE_LINK_SPEED_10GB_FULL
	.comm	_MDIO_STAT1,4,2                 ; @MDIO_STAT1
	.comm	_MDIO_MMD_VEND1,4,2             ; @MDIO_MMD_VEND1
	.comm	_IXGBE_MDIO_VENDOR_SPECIFIC_1_LINK_STATUS,4,2 ; @IXGBE_MDIO_VENDOR_SPECIFIC_1_LINK_STATUS
	.comm	_IXGBE_MDIO_VENDOR_SPECIFIC_1_SPEED_STATUS,4,2 ; @IXGBE_MDIO_VENDOR_SPECIFIC_1_SPEED_STATUS
	.comm	_IXGBE_LINK_SPEED_1GB_FULL,4,2  ; @IXGBE_LINK_SPEED_1GB_FULL
.subsections_via_symbols
