	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igc_phy_setup_autoneg
_igc_phy_setup_autoneg:                 ## @igc_phy_setup_autoneg
	.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, %r14
	movl	$0, -48(%rbp)
	movl	$0, -52(%rbp)
	movl	4(%rdi), %eax
	andl	%eax, (%rdi)
	movq	_PHY_AUTONEG_ADV@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-44(%rbp), %rdx
	callq	*24(%rdi)
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_1
LBB0_36:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	4(%r14), %eax
	movq	_ADVERTISE_1000_FULL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.2:
	movq	_PHY_1000T_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rdx
	movq	%r14, %rdi
	callq	*24(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_36
## %bb.3:
	movl	4(%r14), %eax
LBB0_4:
	movq	_ADVERTISE_2500_FULL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.5:
	movq	8(%r14), %rax
	movq	_I225_I_PHY_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_STANDARD_AN_REG_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MMD_DEVADDR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	movq	_ANEG_MULTIGBT_AN_CTRL@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	callq	*24(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_36
LBB0_7:
	movq	_NWAY_AR_100TX_FD_CAPS@GOTPCREL(%rip), %rcx
	movq	_NWAY_AR_100TX_HD_CAPS@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	orl	(%rcx), %eax
	movq	_NWAY_AR_10T_FD_CAPS@GOTPCREL(%rip), %rbx
	orl	(%rbx), %eax
	movq	_NWAY_AR_10T_HD_CAPS@GOTPCREL(%rip), %r12
	orl	(%r12), %eax
	notl	%eax
	andl	%eax, -44(%rbp)
	movq	_CR_1000T_HD_CAPS@GOTPCREL(%rip), %rax
	movq	_CR_1000T_FD_CAPS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, -52(%rbp)
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_hw_dbg
	movl	(%r14), %eax
	movq	_ADVERTISE_10_HALF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_hw_dbg
	movl	(%r12), %eax
	orl	%eax, -44(%rbp)
	movl	(%r14), %eax
LBB0_9:
	movq	_ADVERTISE_10_FULL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_hw_dbg
	movl	(%rbx), %eax
	orl	%eax, -44(%rbp)
	movl	(%r14), %eax
LBB0_11:
	movq	_ADVERTISE_100_HALF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	_ADVERTISE_2500_FULL@GOTPCREL(%rip), %r12
	je	LBB0_13
## %bb.12:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_hw_dbg
	movl	(%r15), %eax
	orl	%eax, -44(%rbp)
	movl	(%r14), %eax
LBB0_13:
	movq	_ADVERTISE_100_FULL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.14:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_hw_dbg
	movq	_NWAY_AR_100TX_FD_CAPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -44(%rbp)
	movl	(%r14), %eax
LBB0_15:
	movq	_ADVERTISE_1000_HALF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	_ADVERTISE_1000_FULL@GOTPCREL(%rip), %r15
	je	LBB0_17
## %bb.16:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_hw_dbg
	movl	(%r14), %eax
LBB0_17:
	testl	%eax, (%r15)
	je	LBB0_19
## %bb.18:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_hw_dbg
	movq	_CR_1000T_FD_CAPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -52(%rbp)
	movl	(%r14), %eax
LBB0_19:
	movq	_ADVERTISE_2500_HALF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.20:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_hw_dbg
	movl	(%r14), %eax
LBB0_21:
	testl	%eax, (%r12)
	je	LBB0_23
## %bb.22:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_hw_dbg
	movq	_CR_2500T_FD_CAPS@GOTPCREL(%rip), %rcx
	movl	-48(%rbp), %eax
	orl	(%rcx), %eax
	jmp	LBB0_24
LBB0_23:
	movq	_CR_2500T_FD_CAPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	-48(%rbp), %eax
LBB0_24:
	movl	%eax, -48(%rbp)
	movl	32(%r14), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_28
## %bb.25:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_27:
	movq	_NWAY_AR_ASM_DIR@GOTPCREL(%rip), %rax
	movq	_NWAY_AR_PAUSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	orl	-44(%rbp), %edx
	jmp	LBB0_30
LBB0_28:
	leaq	L_.str.9(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_hw_dbg
	movq	_IGC_ERR_CONFIG@GOTPCREL(%rip), %rax
	subq	(%rax), %rbx
	jmp	LBB0_36
LBB0_26:
	movq	_NWAY_AR_ASM_DIR@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx
	orl	(%rax), %ecx
	movq	_NWAY_AR_PAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	%ecx, %edx
	jmp	LBB0_30
LBB0_29:
	movq	_NWAY_AR_ASM_DIR@GOTPCREL(%rip), %rax
	movq	_NWAY_AR_PAUSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	notl	%edx
	andl	-44(%rbp), %edx
LBB0_30:
	movl	%edx, -44(%rbp)
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	*16(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_36
## %bb.31:
	movl	-44(%rbp), %esi
	leaq	L_.str.10(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_hw_dbg
	movl	4(%r14), %eax
	testl	%eax, (%r15)
	je	LBB0_33
## %bb.32:
	movq	_PHY_1000T_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-52(%rbp), %edx
	movq	%r14, %rdi
	callq	*16(%r14)
	movq	%rax, %rbx
	movl	4(%r14), %eax
LBB0_33:
	testl	%eax, (%r12)
	je	LBB0_36
## %bb.34:
	movq	8(%r14), %rax
	movq	_I225_I_PHY_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_36
## %bb.35:
	movq	_STANDARD_AN_REG_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MMD_DEVADDR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	movq	_ANEG_MULTIGBT_AN_CTRL@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	-48(%rbp), %edx
	movq	%r14, %rdi
	callq	*16(%r14)
	movq	%rax, %rbx
	jmp	LBB0_36
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
LJTI0_0:
	.long	L0_0_set_26
	.long	L0_0_set_27
	.long	L0_0_set_29
	.long	L0_0_set_27
	.end_data_region
                                        ## -- End function
	.comm	_PHY_AUTONEG_ADV,4,2            ## @PHY_AUTONEG_ADV
	.comm	_ADVERTISE_1000_FULL,4,2        ## @ADVERTISE_1000_FULL
	.comm	_PHY_1000T_CTRL,4,2             ## @PHY_1000T_CTRL
	.comm	_ADVERTISE_2500_FULL,4,2        ## @ADVERTISE_2500_FULL
	.comm	_I225_I_PHY_ID,8,3              ## @I225_I_PHY_ID
	.comm	_STANDARD_AN_REG_MASK,4,2       ## @STANDARD_AN_REG_MASK
	.comm	_MMD_DEVADDR_SHIFT,4,2          ## @MMD_DEVADDR_SHIFT
	.comm	_ANEG_MULTIGBT_AN_CTRL,4,2      ## @ANEG_MULTIGBT_AN_CTRL
	.comm	_NWAY_AR_100TX_FD_CAPS,4,2      ## @NWAY_AR_100TX_FD_CAPS
	.comm	_NWAY_AR_100TX_HD_CAPS,4,2      ## @NWAY_AR_100TX_HD_CAPS
	.comm	_NWAY_AR_10T_FD_CAPS,4,2        ## @NWAY_AR_10T_FD_CAPS
	.comm	_NWAY_AR_10T_HD_CAPS,4,2        ## @NWAY_AR_10T_HD_CAPS
	.comm	_CR_1000T_HD_CAPS,4,2           ## @CR_1000T_HD_CAPS
	.comm	_CR_1000T_FD_CAPS,4,2           ## @CR_1000T_FD_CAPS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"autoneg_advertised %x\n"

	.comm	_ADVERTISE_10_HALF,4,2          ## @ADVERTISE_10_HALF
L_.str.1:                               ## @.str.1
	.asciz	"Advertise 10mb Half duplex\n"

	.comm	_ADVERTISE_10_FULL,4,2          ## @ADVERTISE_10_FULL
L_.str.2:                               ## @.str.2
	.asciz	"Advertise 10mb Full duplex\n"

	.comm	_ADVERTISE_100_HALF,4,2         ## @ADVERTISE_100_HALF
L_.str.3:                               ## @.str.3
	.asciz	"Advertise 100mb Half duplex\n"

	.comm	_ADVERTISE_100_FULL,4,2         ## @ADVERTISE_100_FULL
L_.str.4:                               ## @.str.4
	.asciz	"Advertise 100mb Full duplex\n"

	.comm	_ADVERTISE_1000_HALF,4,2        ## @ADVERTISE_1000_HALF
L_.str.5:                               ## @.str.5
	.asciz	"Advertise 1000mb Half duplex request denied!\n"

L_.str.6:                               ## @.str.6
	.asciz	"Advertise 1000mb Full duplex\n"

	.comm	_ADVERTISE_2500_HALF,4,2        ## @ADVERTISE_2500_HALF
L_.str.7:                               ## @.str.7
	.asciz	"Advertise 2500mb Half duplex request denied!\n"

L_.str.8:                               ## @.str.8
	.asciz	"Advertise 2500mb Full duplex\n"

	.comm	_CR_2500T_FD_CAPS,4,2           ## @CR_2500T_FD_CAPS
	.comm	_NWAY_AR_ASM_DIR,4,2            ## @NWAY_AR_ASM_DIR
	.comm	_NWAY_AR_PAUSE,4,2              ## @NWAY_AR_PAUSE
L_.str.9:                               ## @.str.9
	.asciz	"Flow control param set incorrectly\n"

	.comm	_IGC_ERR_CONFIG,8,3             ## @IGC_ERR_CONFIG
L_.str.10:                              ## @.str.10
	.asciz	"Auto-Neg Advertising %x\n"

	.no_dead_strip	_igc_phy_setup_autoneg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igc_phy_setup_autoneg
_igc_phy_setup_autoneg:                 ; @igc_phy_setup_autoneg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x0
	str	xzr, [sp, #24]
	ldp	w9, w8, [x0]
	and	w8, w9, w8
	str	w8, [x0]
	ldr	x8, [x0, #24]
Lloh0:
	adrp	x22, _PHY_AUTONEG_ADV@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PHY_AUTONEG_ADV@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #20
	blr	x8
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_2:
	ldr	w8, [x19, #4]
Lloh2:
	adrp	x20, _ADVERTISE_1000_FULL@GOTPAGE
Lloh3:
	ldr	x20, [x20, _ADVERTISE_1000_FULL@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	ldr	x8, [x19, #24]
Lloh4:
	adrp	x9, _PHY_1000T_CTRL@GOTPAGE
Lloh5:
	ldr	x9, [x9, _PHY_1000T_CTRL@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x9]
	add	x2, sp, #24
	mov	x0, x19
	blr	x8
	cbnz	x0, LBB0_1
; %bb.4:
	ldr	w8, [x19, #4]
LBB0_5:
Lloh7:
	adrp	x21, _ADVERTISE_2500_FULL@GOTPAGE
Lloh8:
	ldr	x21, [x21, _ADVERTISE_2500_FULL@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.6:
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x9, _I225_I_PHY_ID@GOTPAGE
Lloh10:
	ldr	x9, [x9, _I225_I_PHY_ID@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	ldr	x8, [x19, #24]
Lloh12:
	adrp	x9, _STANDARD_AN_REG_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _STANDARD_AN_REG_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _MMD_DEVADDR_SHIFT@GOTPAGE
Lloh16:
	ldr	x10, [x10, _MMD_DEVADDR_SHIFT@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh18:
	adrp	x10, _ANEG_MULTIGBT_AN_CTRL@GOTPAGE
Lloh19:
	ldr	x10, [x10, _ANEG_MULTIGBT_AN_CTRL@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	orr	w1, w9, w10
	add	x2, sp, #28
	mov	x0, x19
	blr	x8
	cbnz	x0, LBB0_1
LBB0_8:
Lloh21:
	adrp	x24, _NWAY_AR_100TX_FD_CAPS@GOTPAGE
Lloh22:
	ldr	x24, [x24, _NWAY_AR_100TX_FD_CAPS@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh23:
	adrp	x25, _NWAY_AR_100TX_HD_CAPS@GOTPAGE
Lloh24:
	ldr	x25, [x25, _NWAY_AR_100TX_HD_CAPS@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w8, w9, w8
Lloh25:
	adrp	x26, _NWAY_AR_10T_FD_CAPS@GOTPAGE
Lloh26:
	ldr	x26, [x26, _NWAY_AR_10T_FD_CAPS@GOTPAGEOFF]
	ldr	w9, [x26]
	orr	w8, w8, w9
Lloh27:
	adrp	x27, _NWAY_AR_10T_HD_CAPS@GOTPAGE
Lloh28:
	ldr	x27, [x27, _NWAY_AR_10T_HD_CAPS@GOTPAGEOFF]
	ldr	w9, [x27]
	orr	w8, w8, w9
	ldr	w9, [sp, #20]
	bic	w8, w9, w8
	str	w8, [sp, #20]
Lloh29:
	adrp	x8, _CR_1000T_HD_CAPS@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CR_1000T_HD_CAPS@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x23, _CR_1000T_FD_CAPS@GOTPAGE
Lloh33:
	ldr	x23, [x23, _CR_1000T_FD_CAPS@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w9, w8
	ldr	w9, [sp, #24]
	bic	w8, w9, w8
	str	w8, [sp, #24]
	ldr	w8, [x19]
	str	x8, [sp]
Lloh34:
	adrp	x0, l_.str@PAGE
Lloh35:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hw_dbg
	ldr	w8, [x19]
Lloh36:
	adrp	x9, _ADVERTISE_10_HALF@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ADVERTISE_10_HALF@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
Lloh39:
	adrp	x0, l_.str.1@PAGE
Lloh40:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_hw_dbg
	ldr	w8, [x27]
	ldr	w9, [sp, #20]
	orr	w8, w9, w8
	str	w8, [sp, #20]
	ldr	w8, [x19]
LBB0_10:
Lloh41:
	adrp	x9, _ADVERTISE_10_FULL@GOTPAGE
Lloh42:
	ldr	x9, [x9, _ADVERTISE_10_FULL@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
Lloh44:
	adrp	x0, l_.str.2@PAGE
Lloh45:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_hw_dbg
	ldr	w8, [x26]
	ldr	w9, [sp, #20]
	orr	w8, w9, w8
	str	w8, [sp, #20]
	ldr	w8, [x19]
LBB0_12:
Lloh46:
	adrp	x9, _ADVERTISE_100_HALF@GOTPAGE
Lloh47:
	ldr	x9, [x9, _ADVERTISE_100_HALF@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
Lloh49:
	adrp	x0, l_.str.3@PAGE
Lloh50:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_hw_dbg
	ldr	w8, [x25]
	ldr	w9, [sp, #20]
	orr	w8, w9, w8
	str	w8, [sp, #20]
	ldr	w8, [x19]
LBB0_14:
Lloh51:
	adrp	x9, _ADVERTISE_100_FULL@GOTPAGE
Lloh52:
	ldr	x9, [x9, _ADVERTISE_100_FULL@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:
Lloh54:
	adrp	x0, l_.str.4@PAGE
Lloh55:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_hw_dbg
	ldr	w8, [x24]
	ldr	w9, [sp, #20]
	orr	w8, w9, w8
	str	w8, [sp, #20]
	ldr	w8, [x19]
LBB0_16:
Lloh56:
	adrp	x9, _ADVERTISE_1000_HALF@GOTPAGE
Lloh57:
	ldr	x9, [x9, _ADVERTISE_1000_HALF@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
Lloh59:
	adrp	x0, l_.str.5@PAGE
Lloh60:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_hw_dbg
	ldr	w8, [x19]
LBB0_18:
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.19:
Lloh61:
	adrp	x0, l_.str.6@PAGE
Lloh62:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_hw_dbg
	ldr	w8, [x23]
	ldr	w9, [sp, #24]
	orr	w8, w9, w8
	str	w8, [sp, #24]
	ldr	w8, [x19]
LBB0_20:
Lloh63:
	adrp	x9, _ADVERTISE_2500_HALF@GOTPAGE
Lloh64:
	ldr	x9, [x9, _ADVERTISE_2500_HALF@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.21:
Lloh66:
	adrp	x0, l_.str.7@PAGE
Lloh67:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_hw_dbg
	ldr	w8, [x19]
LBB0_22:
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.23:
Lloh68:
	adrp	x0, l_.str.8@PAGE
Lloh69:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_hw_dbg
Lloh70:
	adrp	x8, _CR_2500T_FD_CAPS@GOTPAGE
Lloh71:
	ldr	x8, [x8, _CR_2500T_FD_CAPS@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	ldr	w9, [sp, #28]
	orr	w8, w9, w8
	b	LBB0_25
LBB0_24:
Lloh73:
	adrp	x8, _CR_2500T_FD_CAPS@GOTPAGE
Lloh74:
	ldr	x8, [x8, _CR_2500T_FD_CAPS@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
	ldr	w9, [sp, #28]
	bic	w8, w9, w8
LBB0_25:
	str	w8, [sp, #28]
	ldr	w8, [x19, #32]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_28
; %bb.26:
Lloh76:
	adrp	x9, lJTI0_0@PAGE
Lloh77:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_27
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_27:
Lloh78:
	adrp	x8, _NWAY_AR_ASM_DIR@GOTPAGE
Lloh79:
	ldr	x8, [x8, _NWAY_AR_ASM_DIR@GOTPAGEOFF]
Lloh80:
	adrp	x9, _NWAY_AR_PAUSE@GOTPAGE
Lloh81:
	ldr	x9, [x9, _NWAY_AR_PAUSE@GOTPAGEOFF]
Lloh82:
	ldr	w8, [x8]
Lloh83:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [sp, #20]
	orr	w2, w8, w9
	b	LBB0_31
LBB0_28:
Lloh84:
	adrp	x0, l_.str.9@PAGE
Lloh85:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_hw_dbg
Lloh86:
	adrp	x8, _IGC_ERR_CONFIG@GOTPAGE
Lloh87:
	ldr	x8, [x8, _IGC_ERR_CONFIG@GOTPAGEOFF]
Lloh88:
	ldr	x8, [x8]
	neg	x0, x8
	b	LBB0_1
LBB0_29:
Lloh89:
	adrp	x8, _NWAY_AR_ASM_DIR@GOTPAGE
Lloh90:
	ldr	x8, [x8, _NWAY_AR_ASM_DIR@GOTPAGEOFF]
Lloh91:
	ldr	w8, [x8]
	ldr	w9, [sp, #20]
	orr	w8, w9, w8
Lloh92:
	adrp	x9, _NWAY_AR_PAUSE@GOTPAGE
Lloh93:
	ldr	x9, [x9, _NWAY_AR_PAUSE@GOTPAGEOFF]
Lloh94:
	ldr	w9, [x9]
	bic	w2, w8, w9
	b	LBB0_31
LBB0_30:
Lloh95:
	adrp	x8, _NWAY_AR_ASM_DIR@GOTPAGE
Lloh96:
	ldr	x8, [x8, _NWAY_AR_ASM_DIR@GOTPAGEOFF]
Lloh97:
	adrp	x9, _NWAY_AR_PAUSE@GOTPAGE
Lloh98:
	ldr	x9, [x9, _NWAY_AR_PAUSE@GOTPAGEOFF]
Lloh99:
	ldr	w8, [x8]
Lloh100:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [sp, #20]
	bic	w2, w9, w8
LBB0_31:
	str	w2, [sp, #20]
	ldr	x8, [x19, #16]
	ldr	w1, [x22]
	mov	x0, x19
	blr	x8
	cbnz	x0, LBB0_1
; %bb.32:
	ldr	w8, [sp, #20]
	str	x8, [sp]
Lloh101:
	adrp	x0, l_.str.10@PAGE
Lloh102:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_hw_dbg
	ldr	w8, [x19, #4]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_34
; %bb.33:
	ldr	x8, [x19, #16]
Lloh103:
	adrp	x9, _PHY_1000T_CTRL@GOTPAGE
Lloh104:
	ldr	x9, [x9, _PHY_1000T_CTRL@GOTPAGEOFF]
Lloh105:
	ldr	w1, [x9]
	ldr	w2, [sp, #24]
	mov	x0, x19
	blr	x8
	ldr	w8, [x19, #4]
	b	LBB0_35
LBB0_34:
	mov	x0, #0
LBB0_35:
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.36:
	ldr	x8, [x19, #8]
Lloh106:
	adrp	x9, _I225_I_PHY_ID@GOTPAGE
Lloh107:
	ldr	x9, [x9, _I225_I_PHY_ID@GOTPAGEOFF]
Lloh108:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.37:
	ldr	x8, [x19, #16]
Lloh109:
	adrp	x9, _STANDARD_AN_REG_MASK@GOTPAGE
Lloh110:
	ldr	x9, [x9, _STANDARD_AN_REG_MASK@GOTPAGEOFF]
Lloh111:
	ldr	w9, [x9]
Lloh112:
	adrp	x10, _MMD_DEVADDR_SHIFT@GOTPAGE
Lloh113:
	ldr	x10, [x10, _MMD_DEVADDR_SHIFT@GOTPAGEOFF]
Lloh114:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh115:
	adrp	x10, _ANEG_MULTIGBT_AN_CTRL@GOTPAGE
Lloh116:
	ldr	x10, [x10, _ANEG_MULTIGBT_AN_CTRL@GOTPAGEOFF]
Lloh117:
	ldr	w10, [x10]
	orr	w1, w9, w10
	ldr	w2, [sp, #28]
	mov	x0, x19
	blr	x8
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh82
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh99
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_29-LBB0_27)>>2
	.byte	(LBB0_27-LBB0_27)>>2
	.byte	(LBB0_30-LBB0_27)>>2
	.byte	(LBB0_27-LBB0_27)>>2
                                        ; -- End function
	.comm	_PHY_AUTONEG_ADV,4,2            ; @PHY_AUTONEG_ADV
	.comm	_ADVERTISE_1000_FULL,4,2        ; @ADVERTISE_1000_FULL
	.comm	_PHY_1000T_CTRL,4,2             ; @PHY_1000T_CTRL
	.comm	_ADVERTISE_2500_FULL,4,2        ; @ADVERTISE_2500_FULL
	.comm	_I225_I_PHY_ID,8,3              ; @I225_I_PHY_ID
	.comm	_STANDARD_AN_REG_MASK,4,2       ; @STANDARD_AN_REG_MASK
	.comm	_MMD_DEVADDR_SHIFT,4,2          ; @MMD_DEVADDR_SHIFT
	.comm	_ANEG_MULTIGBT_AN_CTRL,4,2      ; @ANEG_MULTIGBT_AN_CTRL
	.comm	_NWAY_AR_100TX_FD_CAPS,4,2      ; @NWAY_AR_100TX_FD_CAPS
	.comm	_NWAY_AR_100TX_HD_CAPS,4,2      ; @NWAY_AR_100TX_HD_CAPS
	.comm	_NWAY_AR_10T_FD_CAPS,4,2        ; @NWAY_AR_10T_FD_CAPS
	.comm	_NWAY_AR_10T_HD_CAPS,4,2        ; @NWAY_AR_10T_HD_CAPS
	.comm	_CR_1000T_HD_CAPS,4,2           ; @CR_1000T_HD_CAPS
	.comm	_CR_1000T_FD_CAPS,4,2           ; @CR_1000T_FD_CAPS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"autoneg_advertised %x\n"

	.comm	_ADVERTISE_10_HALF,4,2          ; @ADVERTISE_10_HALF
l_.str.1:                               ; @.str.1
	.asciz	"Advertise 10mb Half duplex\n"

	.comm	_ADVERTISE_10_FULL,4,2          ; @ADVERTISE_10_FULL
l_.str.2:                               ; @.str.2
	.asciz	"Advertise 10mb Full duplex\n"

	.comm	_ADVERTISE_100_HALF,4,2         ; @ADVERTISE_100_HALF
l_.str.3:                               ; @.str.3
	.asciz	"Advertise 100mb Half duplex\n"

	.comm	_ADVERTISE_100_FULL,4,2         ; @ADVERTISE_100_FULL
l_.str.4:                               ; @.str.4
	.asciz	"Advertise 100mb Full duplex\n"

	.comm	_ADVERTISE_1000_HALF,4,2        ; @ADVERTISE_1000_HALF
l_.str.5:                               ; @.str.5
	.asciz	"Advertise 1000mb Half duplex request denied!\n"

l_.str.6:                               ; @.str.6
	.asciz	"Advertise 1000mb Full duplex\n"

	.comm	_ADVERTISE_2500_HALF,4,2        ; @ADVERTISE_2500_HALF
l_.str.7:                               ; @.str.7
	.asciz	"Advertise 2500mb Half duplex request denied!\n"

l_.str.8:                               ; @.str.8
	.asciz	"Advertise 2500mb Full duplex\n"

	.comm	_CR_2500T_FD_CAPS,4,2           ; @CR_2500T_FD_CAPS
	.comm	_NWAY_AR_ASM_DIR,4,2            ; @NWAY_AR_ASM_DIR
	.comm	_NWAY_AR_PAUSE,4,2              ; @NWAY_AR_PAUSE
l_.str.9:                               ; @.str.9
	.asciz	"Flow control param set incorrectly\n"

	.comm	_IGC_ERR_CONFIG,8,3             ; @IGC_ERR_CONFIG
l_.str.10:                              ; @.str.10
	.asciz	"Auto-Neg Advertising %x\n"

	.no_dead_strip	_igc_phy_setup_autoneg
.subsections_via_symbols
