	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_setup_mac_link_82599
_ixgbe_setup_mac_link_82599:            ## @ixgbe_setup_mac_link_82599
	.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	%edx, -60(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r15
	movl	$0, -56(%rbp)
	movq	_IXGBE_AUTOC2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_IXGBE_READ_REG
	movl	%eax, %r14d
	movq	_IXGBE_AUTOC2_10G_SERIAL_PMA_PMD_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	movq	_IXGBE_LINK_SPEED_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_IXGBE_AUTOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movl	%eax, %r12d
	leaq	-52(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	callq	*16(%r15)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_43
## %bb.1:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	andl	-52(%rbp), %r13d
	movq	_IXGBE_LINK_SPEED_UNKNOWN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_3
## %bb.2:
	movq	_IXGBE_ERR_LINK_SETUP@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_43
LBB0_3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	cmpq	$0, 24(%rdi)
	movl	%r12d, %r8d
	movl	%r12d, %eax
	je	LBB0_5
## %bb.4:
	movl	(%rdi), %eax
LBB0_5:
	movq	_IXGBE_AUTOC_LMS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%esi, %r15d
	andl	%r8d, %r15d
	movq	_IXGBE_AUTOC_LMS_KX4_KX_KR@GOTPCREL(%rip), %r10
	movq	_IXGBE_AUTOC_LMS_KX4_KX_KR_1G_AN@GOTPCREL(%rip), %r9
	movq	_IXGBE_AUTOC_LMS_KX4_KX_KR_SGMII@GOTPCREL(%rip), %r12
	cmpl	(%r10), %r15d
	je	LBB0_17
## %bb.6:
	cmpl	(%r9), %r15d
	je	LBB0_17
## %bb.7:
	cmpl	(%r12), %r15d
	je	LBB0_17
## %bb.8:
	movq	_IXGBE_AUTOC_1G_PMA_PMD_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r8d, %eax
	movq	_IXGBE_AUTOC_1G_SFI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_11
## %bb.9:
	movq	_IXGBE_AUTOC_LMS_1G_LINK_NO_AN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r15d
	je	LBB0_22
## %bb.10:
	movq	_IXGBE_AUTOC_LMS_1G_AN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r15d
	je	LBB0_22
LBB0_11:
	movq	_IXGBE_AUTOC2_10G_SFI@GOTPCREL(%rip), %rdx
	xorl	%ebx, %ebx
	cmpl	(%rdx), %r14d
	jne	LBB0_43
## %bb.12:
	movq	_IXGBE_AUTOC_LMS_10G_SERIAL@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r15d
	jne	LBB0_43
## %bb.13:
	movq	_IXGBE_LINK_SPEED_1GB_FULL@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r13d
	jne	LBB0_43
## %bb.14:
	cmpl	%ecx, %eax
	jne	LBB0_43
## %bb.15:
	notl	%esi
	andl	%r8d, %esi
	cmpl	$0, -56(%rbp)
	je	LBB0_25
## %bb.16:
	movq	_IXGBE_AUTOC_LMS_1G_AN@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_17:
	movq	_IXGBE_AUTOC_KX4_KX_SUPP_MASK@GOTPCREL(%rip), %rdx
	movq	_IXGBE_AUTOC_KR_SUPP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rdx), %esi
	orl	%ecx, %esi
	notl	%esi
	andl	%r8d, %esi
	movq	_IXGBE_LINK_SPEED_10GB_FULL@GOTPCREL(%rip), %rdx
	testl	%r13d, (%rdx)
	je	LBB0_20
## %bb.18:
	movq	_IXGBE_AUTOC_KX4_SUPP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	movl	%ebx, %edx
	andl	%eax, %edx
	cmovnel	%ebx, %edx
	orl	%edx, %esi
	testl	%eax, %ecx
	je	LBB0_20
## %bb.19:
	xorl	%eax, %eax
	cmpl	$0, 32(%rdi)
	cmovel	%ecx, %eax
	orl	%eax, %esi
LBB0_20:
	movq	_IXGBE_LINK_SPEED_1GB_FULL@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_27
## %bb.21:
	movq	_IXGBE_AUTOC_KX_SUPP@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	jmp	LBB0_27
LBB0_22:
	movq	_IXGBE_LINK_SPEED_10GB_FULL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	(%rax), %r13d
	jne	LBB0_43
## %bb.23:
	movq	_IXGBE_AUTOC2_10G_SFI@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_43
## %bb.24:
	notl	%esi
	andl	%r8d, %esi
	movq	_IXGBE_AUTOC_LMS_10G_SERIAL@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	jmp	LBB0_27
LBB0_25:
	movq	_IXGBE_AUTOC_LMS_1G_LINK_NO_AN@GOTPCREL(%rip), %rax
LBB0_26:
	orl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_27:
	cmpl	%r8d, %esi
	jne	LBB0_29
## %bb.28:
	xorl	%ebx, %ebx
	jmp	LBB0_43
LBB0_29:
	xorl	%edx, %edx
	movq	%r9, %r14
	movq	%r10, %rbx
	callq	*8(%rdi)
	movq	%rbx, %rdx
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_43
## %bb.30:
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_40
## %bb.31:
	xorl	%ebx, %ebx
	cmpl	(%rdx), %r15d
	je	LBB0_34
## %bb.32:
	movq	%r14, %rcx
	cmpl	(%r14), %r15d
	je	LBB0_34
## %bb.33:
	cmpl	(%r12), %r15d
	jne	LBB0_42
LBB0_34:
	movq	_IXGBE_AUTO_NEG_TIME@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_38
## %bb.35:
	xorl	%r15d, %r15d
	movq	_IXGBE_LINKS@GOTPCREL(%rip), %r12
	movq	_IXGBE_LINKS_KX_AN_COMP@GOTPCREL(%rip), %r14
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_IXGBE_READ_REG
	movl	%eax, %ebx
	testl	%eax, (%r14)
	jne	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=1
	movl	$100, %edi
	callq	_msleep
	incl	%r15d
	cmpl	(%r13), %r15d
	jl	LBB0_36
LBB0_38:
	movq	_IXGBE_LINKS_KX_AN_COMP@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_41
LBB0_40:
	xorl	%ebx, %ebx
LBB0_42:
	movl	$50, %edi
	callq	_msleep
LBB0_43:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_41:
	movq	_IXGBE_ERR_AUTONEG_NOT_COMPLETE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leaq	L_.str(%rip), %rsi
	callq	_hw_dbg
	jmp	LBB0_42
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_AUTOC2,4,2               ## @IXGBE_AUTOC2
	.comm	_IXGBE_AUTOC2_10G_SERIAL_PMA_PMD_MASK,4,2 ## @IXGBE_AUTOC2_10G_SERIAL_PMA_PMD_MASK
	.comm	_IXGBE_LINK_SPEED_UNKNOWN,4,2   ## @IXGBE_LINK_SPEED_UNKNOWN
	.comm	_IXGBE_AUTOC,4,2                ## @IXGBE_AUTOC
	.comm	_IXGBE_ERR_LINK_SETUP,8,3       ## @IXGBE_ERR_LINK_SETUP
	.comm	_IXGBE_AUTOC_LMS_MASK,4,2       ## @IXGBE_AUTOC_LMS_MASK
	.comm	_IXGBE_AUTOC_1G_PMA_PMD_MASK,4,2 ## @IXGBE_AUTOC_1G_PMA_PMD_MASK
	.comm	_IXGBE_AUTOC_LMS_KX4_KX_KR,4,2  ## @IXGBE_AUTOC_LMS_KX4_KX_KR
	.comm	_IXGBE_AUTOC_LMS_KX4_KX_KR_1G_AN,4,2 ## @IXGBE_AUTOC_LMS_KX4_KX_KR_1G_AN
	.comm	_IXGBE_AUTOC_LMS_KX4_KX_KR_SGMII,4,2 ## @IXGBE_AUTOC_LMS_KX4_KX_KR_SGMII
	.comm	_IXGBE_AUTOC_KX4_KX_SUPP_MASK,4,2 ## @IXGBE_AUTOC_KX4_KX_SUPP_MASK
	.comm	_IXGBE_AUTOC_KR_SUPP,4,2        ## @IXGBE_AUTOC_KR_SUPP
	.comm	_IXGBE_LINK_SPEED_10GB_FULL,4,2 ## @IXGBE_LINK_SPEED_10GB_FULL
	.comm	_IXGBE_AUTOC_KX4_SUPP,4,2       ## @IXGBE_AUTOC_KX4_SUPP
	.comm	_IXGBE_LINK_SPEED_1GB_FULL,4,2  ## @IXGBE_LINK_SPEED_1GB_FULL
	.comm	_IXGBE_AUTOC_KX_SUPP,4,2        ## @IXGBE_AUTOC_KX_SUPP
	.comm	_IXGBE_AUTOC_1G_SFI,4,2         ## @IXGBE_AUTOC_1G_SFI
	.comm	_IXGBE_AUTOC_LMS_1G_LINK_NO_AN,4,2 ## @IXGBE_AUTOC_LMS_1G_LINK_NO_AN
	.comm	_IXGBE_AUTOC_LMS_1G_AN,4,2      ## @IXGBE_AUTOC_LMS_1G_AN
	.comm	_IXGBE_AUTOC2_10G_SFI,4,2       ## @IXGBE_AUTOC2_10G_SFI
	.comm	_IXGBE_AUTOC_LMS_10G_SERIAL,4,2 ## @IXGBE_AUTOC_LMS_10G_SERIAL
	.comm	_IXGBE_AUTO_NEG_TIME,4,2        ## @IXGBE_AUTO_NEG_TIME
	.comm	_IXGBE_LINKS,4,2                ## @IXGBE_LINKS
	.comm	_IXGBE_LINKS_KX_AN_COMP,4,2     ## @IXGBE_LINKS_KX_AN_COMP
	.comm	_IXGBE_ERR_AUTONEG_NOT_COMPLETE,8,3 ## @IXGBE_ERR_AUTONEG_NOT_COMPLETE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Autoneg did not complete.\n"

	.no_dead_strip	_ixgbe_setup_mac_link_82599
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_setup_mac_link_82599
_ixgbe_setup_mac_link_82599:            ; @ixgbe_setup_mac_link_82599
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x24, x1
	mov	x19, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _IXGBE_AUTOC2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_AUTOC2@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_IXGBE_READ_REG
	mov	x23, x0
Lloh3:
	adrp	x8, _IXGBE_AUTOC2_10G_SERIAL_PMA_PMD_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IXGBE_AUTOC2_10G_SERIAL_PMA_PMD_MASK@GOTPAGEOFF]
Lloh5:
	adrp	x25, _IXGBE_LINK_SPEED_UNKNOWN@GOTPAGE
Lloh6:
	ldr	x25, [x25, _IXGBE_LINK_SPEED_UNKNOWN@GOTPAGEOFF]
Lloh7:
	ldr	w28, [x8]
	ldr	w8, [x25]
	str	w8, [sp, #8]
Lloh8:
	adrp	x8, _IXGBE_AUTOC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IXGBE_AUTOC@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	mov	x21, x0
	ldr	x8, [x19, #16]
	add	x1, sp, #8
	add	x2, sp, #12
	mov	x0, x19
	blr	x8
	mov	x22, x0
	cbnz	x0, LBB0_41
; %bb.1:
	ldr	w8, [sp, #8]
	and	w8, w8, w24
	ldr	w9, [x25]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
Lloh11:
	adrp	x8, _IXGBE_ERR_LINK_SETUP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IXGBE_ERR_LINK_SETUP@GOTPAGEOFF]
Lloh13:
	ldr	x22, [x8]
	b	LBB0_41
LBB0_3:
	ldr	x9, [x19, #24]
	cbz	x9, LBB0_5
; %bb.4:
	ldr	w10, [x19]
	b	LBB0_6
LBB0_5:
	mov	x10, x21
LBB0_6:
Lloh14:
	adrp	x9, _IXGBE_AUTOC_LMS_MASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IXGBE_AUTOC_LMS_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w24, w9, w21
Lloh17:
	adrp	x27, _IXGBE_AUTOC_LMS_KX4_KX_KR@GOTPAGE
Lloh18:
	ldr	x27, [x27, _IXGBE_AUTOC_LMS_KX4_KX_KR@GOTPAGEOFF]
	ldr	w11, [x27]
Lloh19:
	adrp	x26, _IXGBE_AUTOC_LMS_KX4_KX_KR_1G_AN@GOTPAGE
Lloh20:
	ldr	x26, [x26, _IXGBE_AUTOC_LMS_KX4_KX_KR_1G_AN@GOTPAGEOFF]
	ldr	w12, [x26]
Lloh21:
	adrp	x25, _IXGBE_AUTOC_LMS_KX4_KX_KR_SGMII@GOTPAGE
Lloh22:
	ldr	x25, [x25, _IXGBE_AUTOC_LMS_KX4_KX_KR_SGMII@GOTPAGEOFF]
	ldr	w13, [x25]
	cmp	w24, w11
	ccmp	w24, w12, #4, ne
	ccmp	w24, w13, #4, ne
	b.ne	LBB0_14
; %bb.7:
Lloh23:
	adrp	x9, _IXGBE_AUTOC_KX4_KX_SUPP_MASK@GOTPAGE
Lloh24:
	ldr	x9, [x9, _IXGBE_AUTOC_KX4_KX_SUPP_MASK@GOTPAGEOFF]
Lloh25:
	ldr	w11, [x9]
Lloh26:
	adrp	x9, _IXGBE_AUTOC_KR_SUPP@GOTPAGE
Lloh27:
	ldr	x9, [x9, _IXGBE_AUTOC_KR_SUPP@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w11, w9, w11
	bic	w1, w21, w11
Lloh29:
	adrp	x11, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGE
Lloh30:
	ldr	x11, [x11, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGEOFF]
Lloh31:
	ldr	w11, [x11]
	tst	w11, w8
	b.eq	LBB0_10
; %bb.8:
Lloh32:
	adrp	x11, _IXGBE_AUTOC_KX4_SUPP@GOTPAGE
Lloh33:
	ldr	x11, [x11, _IXGBE_AUTOC_KX4_SUPP@GOTPAGEOFF]
Lloh34:
	ldr	w11, [x11]
	tst	w11, w10
	csel	w11, wzr, w11, eq
	orr	w1, w11, w1
	tst	w9, w10
	b.eq	LBB0_10
; %bb.9:
	ldr	w10, [x19, #32]
	cmp	w10, #0
	csel	w9, w9, wzr, eq
	orr	w1, w9, w1
LBB0_10:
Lloh35:
	adrp	x9, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGE
Lloh36:
	ldr	x9, [x9, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
Lloh38:
	adrp	x8, _IXGBE_AUTOC_KX_SUPP@GOTPAGE
Lloh39:
	ldr	x8, [x8, _IXGBE_AUTOC_KX_SUPP@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	orr	w1, w8, w1
LBB0_12:
	cmp	w1, w21
	b.ne	LBB0_28
LBB0_13:
	mov	x22, #0
	b	LBB0_41
LBB0_14:
	and	w10, w28, w23
Lloh41:
	adrp	x11, _IXGBE_AUTOC_1G_PMA_PMD_MASK@GOTPAGE
Lloh42:
	ldr	x11, [x11, _IXGBE_AUTOC_1G_PMA_PMD_MASK@GOTPAGEOFF]
Lloh43:
	ldr	w11, [x11]
	and	w11, w11, w21
Lloh44:
	adrp	x12, _IXGBE_AUTOC_1G_SFI@GOTPAGE
Lloh45:
	ldr	x12, [x12, _IXGBE_AUTOC_1G_SFI@GOTPAGEOFF]
Lloh46:
	ldr	w12, [x12]
	cmp	w11, w12
	b.ne	LBB0_17
; %bb.15:
Lloh47:
	adrp	x13, _IXGBE_AUTOC_LMS_1G_LINK_NO_AN@GOTPAGE
Lloh48:
	ldr	x13, [x13, _IXGBE_AUTOC_LMS_1G_LINK_NO_AN@GOTPAGEOFF]
Lloh49:
	ldr	w13, [x13]
	cmp	w24, w13
	b.eq	LBB0_23
; %bb.16:
Lloh50:
	adrp	x13, _IXGBE_AUTOC_LMS_1G_AN@GOTPAGE
Lloh51:
	ldr	x13, [x13, _IXGBE_AUTOC_LMS_1G_AN@GOTPAGEOFF]
Lloh52:
	ldr	w13, [x13]
	cmp	w24, w13
	b.eq	LBB0_23
LBB0_17:
	mov	x22, #0
Lloh53:
	adrp	x13, _IXGBE_AUTOC2_10G_SFI@GOTPAGE
Lloh54:
	ldr	x13, [x13, _IXGBE_AUTOC2_10G_SFI@GOTPAGEOFF]
Lloh55:
	ldr	w13, [x13]
	cmp	w10, w13
	b.ne	LBB0_41
; %bb.18:
Lloh56:
	adrp	x10, _IXGBE_AUTOC_LMS_10G_SERIAL@GOTPAGE
Lloh57:
	ldr	x10, [x10, _IXGBE_AUTOC_LMS_10G_SERIAL@GOTPAGEOFF]
Lloh58:
	ldr	w10, [x10]
	cmp	w24, w10
	b.ne	LBB0_41
; %bb.19:
Lloh59:
	adrp	x10, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGE
Lloh60:
	ldr	x10, [x10, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGEOFF]
Lloh61:
	ldr	w10, [x10]
	cmp	w8, w10
	b.ne	LBB0_41
; %bb.20:
	cmp	w11, w12
	b.ne	LBB0_41
; %bb.21:
	bic	w8, w21, w9
	ldr	w9, [sp, #12]
	cbz	w9, LBB0_26
; %bb.22:
Lloh62:
	adrp	x9, _IXGBE_AUTOC_LMS_1G_AN@GOTPAGE
Lloh63:
	ldr	x9, [x9, _IXGBE_AUTOC_LMS_1G_AN@GOTPAGEOFF]
	b	LBB0_27
LBB0_23:
	mov	x22, #0
Lloh64:
	adrp	x11, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGE
Lloh65:
	ldr	x11, [x11, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGEOFF]
Lloh66:
	ldr	w11, [x11]
	cmp	w8, w11
	b.ne	LBB0_41
; %bb.24:
Lloh67:
	adrp	x8, _IXGBE_AUTOC2_10G_SFI@GOTPAGE
Lloh68:
	ldr	x8, [x8, _IXGBE_AUTOC2_10G_SFI@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	cmp	w10, w8
	b.ne	LBB0_41
; %bb.25:
	bic	w8, w21, w9
Lloh70:
	adrp	x9, _IXGBE_AUTOC_LMS_10G_SERIAL@GOTPAGE
Lloh71:
	ldr	x9, [x9, _IXGBE_AUTOC_LMS_10G_SERIAL@GOTPAGEOFF]
	b	LBB0_27
LBB0_26:
Lloh72:
	adrp	x9, _IXGBE_AUTOC_LMS_1G_LINK_NO_AN@GOTPAGE
Lloh73:
	ldr	x9, [x9, _IXGBE_AUTOC_LMS_1G_LINK_NO_AN@GOTPAGEOFF]
LBB0_27:
	ldr	w9, [x9]
	orr	w1, w9, w8
	cmp	w1, w21
	b.eq	LBB0_13
LBB0_28:
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w2, #0
	blr	x8
	mov	x22, x0
	cbnz	x0, LBB0_41
; %bb.29:
	cbz	w20, LBB0_39
; %bb.30:
	ldr	w8, [x27]
	cmp	w24, w8
	b.eq	LBB0_33
; %bb.31:
	ldr	w8, [x26]
	cmp	w24, w8
	b.eq	LBB0_33
; %bb.32:
	ldr	w8, [x25]
	cmp	w24, w8
	b.ne	LBB0_39
LBB0_33:
Lloh74:
	adrp	x22, _IXGBE_AUTO_NEG_TIME@GOTPAGE
Lloh75:
	ldr	x22, [x22, _IXGBE_AUTO_NEG_TIME@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh76:
	adrp	x21, _IXGBE_LINKS_KX_AN_COMP@GOTPAGE
Lloh77:
	ldr	x21, [x21, _IXGBE_LINKS_KX_AN_COMP@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_37
; %bb.34:
	mov	w23, #0
Lloh78:
	adrp	x24, _IXGBE_LINKS@GOTPAGE
Lloh79:
	ldr	x24, [x24, _IXGBE_LINKS@GOTPAGEOFF]
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	mov	x20, x0
	ldr	w8, [x21]
	tst	w8, w0
	b.ne	LBB0_38
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	w0, #100
	bl	_msleep
	add	w23, w23, #1
	ldr	w8, [x22]
	cmp	w23, w8
	b.lt	LBB0_35
	b	LBB0_38
LBB0_37:
	mov	w20, #0
LBB0_38:
	ldr	w8, [x21]
	tst	w8, w20
	b.eq	LBB0_42
LBB0_39:
	mov	x22, #0
LBB0_40:
	mov	w0, #50
	bl	_msleep
LBB0_41:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_42:
Lloh80:
	adrp	x8, _IXGBE_ERR_AUTONEG_NOT_COMPLETE@GOTPAGE
Lloh81:
	ldr	x8, [x8, _IXGBE_ERR_AUTONEG_NOT_COMPLETE@GOTPAGEOFF]
Lloh82:
	ldr	x22, [x8]
Lloh83:
	adrp	x1, l_.str@PAGE
Lloh84:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hw_dbg
	b	LBB0_40
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_AUTOC2,4,2               ; @IXGBE_AUTOC2
	.comm	_IXGBE_AUTOC2_10G_SERIAL_PMA_PMD_MASK,4,2 ; @IXGBE_AUTOC2_10G_SERIAL_PMA_PMD_MASK
	.comm	_IXGBE_LINK_SPEED_UNKNOWN,4,2   ; @IXGBE_LINK_SPEED_UNKNOWN
	.comm	_IXGBE_AUTOC,4,2                ; @IXGBE_AUTOC
	.comm	_IXGBE_ERR_LINK_SETUP,8,3       ; @IXGBE_ERR_LINK_SETUP
	.comm	_IXGBE_AUTOC_LMS_MASK,4,2       ; @IXGBE_AUTOC_LMS_MASK
	.comm	_IXGBE_AUTOC_1G_PMA_PMD_MASK,4,2 ; @IXGBE_AUTOC_1G_PMA_PMD_MASK
	.comm	_IXGBE_AUTOC_LMS_KX4_KX_KR,4,2  ; @IXGBE_AUTOC_LMS_KX4_KX_KR
	.comm	_IXGBE_AUTOC_LMS_KX4_KX_KR_1G_AN,4,2 ; @IXGBE_AUTOC_LMS_KX4_KX_KR_1G_AN
	.comm	_IXGBE_AUTOC_LMS_KX4_KX_KR_SGMII,4,2 ; @IXGBE_AUTOC_LMS_KX4_KX_KR_SGMII
	.comm	_IXGBE_AUTOC_KX4_KX_SUPP_MASK,4,2 ; @IXGBE_AUTOC_KX4_KX_SUPP_MASK
	.comm	_IXGBE_AUTOC_KR_SUPP,4,2        ; @IXGBE_AUTOC_KR_SUPP
	.comm	_IXGBE_LINK_SPEED_10GB_FULL,4,2 ; @IXGBE_LINK_SPEED_10GB_FULL
	.comm	_IXGBE_AUTOC_KX4_SUPP,4,2       ; @IXGBE_AUTOC_KX4_SUPP
	.comm	_IXGBE_LINK_SPEED_1GB_FULL,4,2  ; @IXGBE_LINK_SPEED_1GB_FULL
	.comm	_IXGBE_AUTOC_KX_SUPP,4,2        ; @IXGBE_AUTOC_KX_SUPP
	.comm	_IXGBE_AUTOC_1G_SFI,4,2         ; @IXGBE_AUTOC_1G_SFI
	.comm	_IXGBE_AUTOC_LMS_1G_LINK_NO_AN,4,2 ; @IXGBE_AUTOC_LMS_1G_LINK_NO_AN
	.comm	_IXGBE_AUTOC_LMS_1G_AN,4,2      ; @IXGBE_AUTOC_LMS_1G_AN
	.comm	_IXGBE_AUTOC2_10G_SFI,4,2       ; @IXGBE_AUTOC2_10G_SFI
	.comm	_IXGBE_AUTOC_LMS_10G_SERIAL,4,2 ; @IXGBE_AUTOC_LMS_10G_SERIAL
	.comm	_IXGBE_AUTO_NEG_TIME,4,2        ; @IXGBE_AUTO_NEG_TIME
	.comm	_IXGBE_LINKS,4,2                ; @IXGBE_LINKS
	.comm	_IXGBE_LINKS_KX_AN_COMP,4,2     ; @IXGBE_LINKS_KX_AN_COMP
	.comm	_IXGBE_ERR_AUTONEG_NOT_COMPLETE,8,3 ; @IXGBE_ERR_AUTONEG_NOT_COMPLETE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Autoneg did not complete.\n"

	.no_dead_strip	_ixgbe_setup_mac_link_82599
.subsections_via_symbols
