	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alx_post_phy_link              ## -- Begin function alx_post_phy_link
	.p2align	4, 0x90
_alx_post_phy_link:                     ## @alx_post_phy_link
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_alx_hw_revision
	movq	%rax, %r14
	movq	_ALX_REV_B0@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	cmpq	%r13, %r14
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_alx_is_rev_a
	testl	%eax, %eax
	je	LBB0_24
LBB0_2:
	movq	(%rbx), %rax
	movq	_SPEED_UNKNOWN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.19:
	movq	_ALX_MIIEXT_ANEG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_ALX_MIIEXT_AFE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_alx_read_phy_ext
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	_ALX_AFE_10BT_100M_TH@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	notq	%rcx
	andq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_alx_write_phy_ext
	cmpq	%r13, %r14
	jne	LBB0_24
## %bb.20:
	cmpq	$0, 8(%rbx)
	je	LBB0_24
## %bb.21:
	movq	_ALX_MIIDBG_MSE16DB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ALX_MSE16DB_DOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rbx, %rdi
	callq	_alx_write_phy_dbg
	movq	_ALX_MIIDBG_MSE20DB@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_alx_read_phy_dbg
	movq	-48(%rbp), %rdi
	movq	_ALX_MSE20DB_TH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ALX_MSE20DB_TH_DEF@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_3:
	movq	_ALX_MIIEXT_PCS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ALX_MIIEXT_CLDCTRL6@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %r12
	movq	%rbx, %rdi
	movq	%r12, %rcx
	callq	_alx_read_phy_ext
	movq	-48(%rbp), %rdi
	movq	_ALX_CLDCTRL6_CAB_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ALX_GET_FIELD
	movq	%rax, %r15
	movq	_ALX_MIIDBG_AGC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_alx_read_phy_dbg
	movq	-48(%rbp), %rdi
	movq	_ALX_AGC_2_VGA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ALX_GET_FIELD
	movq	(%rbx), %rcx
	movq	_SPEED_1000@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.4:
	movq	_ALX_CLDCTRL6_CAB_LEN_SHORT1G@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %r15
	jg	LBB0_11
## %bb.5:
	testq	%r15, %r15
	jne	LBB0_7
## %bb.6:
	movq	_ALX_AGC_LONG1G_LIMT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jg	LBB0_11
LBB0_7:
	movq	_SPEED_100@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_12
## %bb.8:
	movq	_ALX_CLDCTRL6_CAB_LEN_SHORT100M@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r15
	jg	LBB0_11
## %bb.9:
	testq	%r15, %r15
	jne	LBB0_12
## %bb.10:
	movq	_ALX_AGC_LONG100M_LIMT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_12
LBB0_11:
	movq	_ALX_MIIDBG_AZ_ANADECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ALX_AZ_ANADECT_LONG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rbx, %rdi
	callq	_alx_write_phy_dbg
	movq	_ALX_MIIEXT_ANEG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_ALX_MIIEXT_AFE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_alx_read_phy_ext
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	_ALX_AFE_10BT_100M_TH@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	orq	-48(%rbp), %rcx
	jmp	LBB0_13
LBB0_12:
	movq	_ALX_MIIDBG_AZ_ANADECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ALX_AZ_ANADECT_DEF@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rbx, %rdi
	callq	_alx_write_phy_dbg
	movq	_ALX_MIIEXT_ANEG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_ALX_MIIEXT_AFE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_alx_read_phy_ext
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	_ALX_AFE_10BT_100M_TH@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	notq	%rcx
	andq	-48(%rbp), %rcx
LBB0_13:
	movq	%rbx, %rdi
	callq	_alx_write_phy_ext
	cmpq	%r13, %r14
	jne	LBB0_24
## %bb.14:
	cmpq	$0, 8(%rbx)
	je	LBB0_24
## %bb.15:
	movq	(%rbx), %rax
	movq	_SPEED_100@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.16:
	movq	_ALX_MIIDBG_MSE16DB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ALX_MSE16DB_UP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	jmp	LBB0_23
LBB0_17:
	movq	_SPEED_1000@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_24
## %bb.18:
	movq	_ALX_MIIDBG_MSE20DB@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_alx_read_phy_dbg
	movq	-48(%rbp), %rdi
	movq	_ALX_MSE20DB_TH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ALX_MSE20DB_TH_HI@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %edx
	callq	_ALX_SET_FIELD
	movl	(%r14), %esi
	movq	-48(%rbp), %rdx
LBB0_23:
	movq	%rbx, %rdi
	callq	_alx_write_phy_dbg
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALX_REV_B0,8,3                 ## @ALX_REV_B0
	.comm	_SPEED_UNKNOWN,8,3              ## @SPEED_UNKNOWN
	.comm	_ALX_MIIEXT_PCS,4,2             ## @ALX_MIIEXT_PCS
	.comm	_ALX_MIIEXT_CLDCTRL6,4,2        ## @ALX_MIIEXT_CLDCTRL6
	.comm	_ALX_CLDCTRL6_CAB_LEN,4,2       ## @ALX_CLDCTRL6_CAB_LEN
	.comm	_ALX_MIIDBG_AGC,4,2             ## @ALX_MIIDBG_AGC
	.comm	_ALX_AGC_2_VGA,4,2              ## @ALX_AGC_2_VGA
	.comm	_SPEED_1000,8,3                 ## @SPEED_1000
	.comm	_ALX_CLDCTRL6_CAB_LEN_SHORT1G,8,3 ## @ALX_CLDCTRL6_CAB_LEN_SHORT1G
	.comm	_ALX_AGC_LONG1G_LIMT,8,3        ## @ALX_AGC_LONG1G_LIMT
	.comm	_SPEED_100,8,3                  ## @SPEED_100
	.comm	_ALX_CLDCTRL6_CAB_LEN_SHORT100M,8,3 ## @ALX_CLDCTRL6_CAB_LEN_SHORT100M
	.comm	_ALX_AGC_LONG100M_LIMT,8,3      ## @ALX_AGC_LONG100M_LIMT
	.comm	_ALX_MIIDBG_AZ_ANADECT,4,2      ## @ALX_MIIDBG_AZ_ANADECT
	.comm	_ALX_AZ_ANADECT_LONG,8,3        ## @ALX_AZ_ANADECT_LONG
	.comm	_ALX_MIIEXT_ANEG,4,2            ## @ALX_MIIEXT_ANEG
	.comm	_ALX_MIIEXT_AFE,4,2             ## @ALX_MIIEXT_AFE
	.comm	_ALX_AFE_10BT_100M_TH,8,3       ## @ALX_AFE_10BT_100M_TH
	.comm	_ALX_AZ_ANADECT_DEF,8,3         ## @ALX_AZ_ANADECT_DEF
	.comm	_ALX_MIIDBG_MSE16DB,4,2         ## @ALX_MIIDBG_MSE16DB
	.comm	_ALX_MSE16DB_UP,8,3             ## @ALX_MSE16DB_UP
	.comm	_ALX_MIIDBG_MSE20DB,4,2         ## @ALX_MIIDBG_MSE20DB
	.comm	_ALX_MSE20DB_TH,4,2             ## @ALX_MSE20DB_TH
	.comm	_ALX_MSE20DB_TH_HI,4,2          ## @ALX_MSE20DB_TH_HI
	.comm	_ALX_MSE16DB_DOWN,8,3           ## @ALX_MSE16DB_DOWN
	.comm	_ALX_MSE20DB_TH_DEF,4,2         ## @ALX_MSE20DB_TH_DEF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alx_post_phy_link              ; -- Begin function alx_post_phy_link
	.p2align	2
_alx_post_phy_link:                     ; @alx_post_phy_link
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	bl	_alx_hw_revision
	mov	x20, x0
Lloh0:
	adrp	x8, _ALX_REV_B0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALX_REV_B0@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	cmp	x0, x22
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_alx_is_rev_a
	cbz	w0, LBB0_24
LBB0_2:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _SPEED_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SPEED_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
Lloh6:
	adrp	x21, _ALX_MIIEXT_ANEG@GOTPAGE
Lloh7:
	ldr	x21, [x21, _ALX_MIIEXT_ANEG@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh8:
	adrp	x23, _ALX_MIIEXT_AFE@GOTPAGE
Lloh9:
	ldr	x23, [x23, _ALX_MIIEXT_AFE@GOTPAGEOFF]
	ldr	w2, [x23]
	add	x3, sp, #8
	mov	x0, x19
	bl	_alx_read_phy_ext
	ldr	w1, [x21]
	ldr	w2, [x23]
	ldr	x8, [sp, #8]
Lloh10:
	adrp	x9, _ALX_AFE_10BT_100M_TH@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ALX_AFE_10BT_100M_TH@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	bic	x3, x8, x9
	mov	x0, x19
	bl	_alx_write_phy_ext
	cmp	x20, x22
	b.ne	LBB0_24
; %bb.4:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_24
; %bb.5:
Lloh13:
	adrp	x8, _ALX_MIIDBG_MSE16DB@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ALX_MIIDBG_MSE16DB@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _ALX_MSE16DB_DOWN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ALX_MSE16DB_DOWN@GOTPAGEOFF]
Lloh18:
	ldr	x2, [x8]
	mov	x0, x19
	bl	_alx_write_phy_dbg
Lloh19:
	adrp	x20, _ALX_MIIDBG_MSE20DB@GOTPAGE
Lloh20:
	ldr	x20, [x20, _ALX_MIIDBG_MSE20DB@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #8
	mov	x0, x19
	bl	_alx_read_phy_dbg
	ldr	x0, [sp, #8]
Lloh21:
	adrp	x8, _ALX_MSE20DB_TH@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ALX_MSE20DB_TH@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _ALX_MSE20DB_TH_DEF@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ALX_MSE20DB_TH_DEF@GOTPAGEOFF]
	b	LBB0_22
LBB0_6:
Lloh26:
	adrp	x8, _ALX_MIIEXT_PCS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ALX_MIIEXT_PCS@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x8, _ALX_MIIEXT_CLDCTRL6@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ALX_MIIEXT_CLDCTRL6@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x19
	bl	_alx_read_phy_ext
	ldr	x0, [sp, #8]
Lloh32:
	adrp	x8, _ALX_CLDCTRL6_CAB_LEN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ALX_CLDCTRL6_CAB_LEN@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	bl	_ALX_GET_FIELD
	mov	x21, x0
Lloh35:
	adrp	x8, _ALX_MIIDBG_AGC@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ALX_MIIDBG_AGC@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_alx_read_phy_dbg
	ldr	x0, [sp, #8]
Lloh38:
	adrp	x8, _ALX_AGC_2_VGA@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ALX_AGC_2_VGA@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	bl	_ALX_GET_FIELD
	ldr	x8, [x19]
Lloh41:
	adrp	x23, _SPEED_1000@GOTPAGE
Lloh42:
	ldr	x23, [x23, _SPEED_1000@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.7:
Lloh43:
	adrp	x9, _ALX_CLDCTRL6_CAB_LEN_SHORT1G@GOTPAGE
Lloh44:
	ldr	x9, [x9, _ALX_CLDCTRL6_CAB_LEN_SHORT1G@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x21, x9
	b.gt	LBB0_14
; %bb.8:
	cbnz	x21, LBB0_10
; %bb.9:
Lloh46:
	adrp	x9, _ALX_AGC_LONG1G_LIMT@GOTPAGE
Lloh47:
	ldr	x9, [x9, _ALX_AGC_LONG1G_LIMT@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x0, x9
	b.gt	LBB0_14
LBB0_10:
Lloh49:
	adrp	x9, _SPEED_100@GOTPAGE
Lloh50:
	ldr	x9, [x9, _SPEED_100@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.11:
Lloh52:
	adrp	x8, _ALX_CLDCTRL6_CAB_LEN_SHORT100M@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ALX_CLDCTRL6_CAB_LEN_SHORT100M@GOTPAGEOFF]
Lloh54:
	ldr	x8, [x8]
	cmp	x21, x8
	b.gt	LBB0_14
; %bb.12:
	cbnz	x21, LBB0_15
; %bb.13:
Lloh55:
	adrp	x8, _ALX_AGC_LONG100M_LIMT@GOTPAGE
Lloh56:
	ldr	x8, [x8, _ALX_AGC_LONG100M_LIMT@GOTPAGEOFF]
Lloh57:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_15
LBB0_14:
Lloh58:
	adrp	x8, _ALX_MIIDBG_AZ_ANADECT@GOTPAGE
Lloh59:
	ldr	x8, [x8, _ALX_MIIDBG_AZ_ANADECT@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
Lloh61:
	adrp	x8, _ALX_AZ_ANADECT_LONG@GOTPAGE
Lloh62:
	ldr	x8, [x8, _ALX_AZ_ANADECT_LONG@GOTPAGEOFF]
Lloh63:
	ldr	x2, [x8]
	mov	x0, x19
	bl	_alx_write_phy_dbg
Lloh64:
	adrp	x21, _ALX_MIIEXT_ANEG@GOTPAGE
Lloh65:
	ldr	x21, [x21, _ALX_MIIEXT_ANEG@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh66:
	adrp	x24, _ALX_MIIEXT_AFE@GOTPAGE
Lloh67:
	ldr	x24, [x24, _ALX_MIIEXT_AFE@GOTPAGEOFF]
	ldr	w2, [x24]
	add	x3, sp, #8
	mov	x0, x19
	bl	_alx_read_phy_ext
	ldr	w1, [x21]
	ldr	w2, [x24]
	ldr	x8, [sp, #8]
Lloh68:
	adrp	x9, _ALX_AFE_10BT_100M_TH@GOTPAGE
Lloh69:
	ldr	x9, [x9, _ALX_AFE_10BT_100M_TH@GOTPAGEOFF]
Lloh70:
	ldr	x9, [x9]
	orr	x3, x9, x8
	b	LBB0_16
LBB0_15:
Lloh71:
	adrp	x8, _ALX_MIIDBG_AZ_ANADECT@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ALX_MIIDBG_AZ_ANADECT@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
Lloh74:
	adrp	x8, _ALX_AZ_ANADECT_DEF@GOTPAGE
Lloh75:
	ldr	x8, [x8, _ALX_AZ_ANADECT_DEF@GOTPAGEOFF]
Lloh76:
	ldr	x2, [x8]
	mov	x0, x19
	bl	_alx_write_phy_dbg
Lloh77:
	adrp	x21, _ALX_MIIEXT_ANEG@GOTPAGE
Lloh78:
	ldr	x21, [x21, _ALX_MIIEXT_ANEG@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh79:
	adrp	x24, _ALX_MIIEXT_AFE@GOTPAGE
Lloh80:
	ldr	x24, [x24, _ALX_MIIEXT_AFE@GOTPAGEOFF]
	ldr	w2, [x24]
	add	x3, sp, #8
	mov	x0, x19
	bl	_alx_read_phy_ext
	ldr	w1, [x21]
	ldr	w2, [x24]
	ldr	x8, [sp, #8]
Lloh81:
	adrp	x9, _ALX_AFE_10BT_100M_TH@GOTPAGE
Lloh82:
	ldr	x9, [x9, _ALX_AFE_10BT_100M_TH@GOTPAGEOFF]
Lloh83:
	ldr	x9, [x9]
	bic	x3, x8, x9
LBB0_16:
	mov	x0, x19
	bl	_alx_write_phy_ext
	cmp	x20, x22
	b.ne	LBB0_24
; %bb.17:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_24
; %bb.18:
	ldr	x8, [x19]
Lloh84:
	adrp	x9, _SPEED_100@GOTPAGE
Lloh85:
	ldr	x9, [x9, _SPEED_100@GOTPAGEOFF]
Lloh86:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.19:
Lloh87:
	adrp	x8, _ALX_MIIDBG_MSE16DB@GOTPAGE
Lloh88:
	ldr	x8, [x8, _ALX_MIIDBG_MSE16DB@GOTPAGEOFF]
Lloh89:
	ldr	w1, [x8]
Lloh90:
	adrp	x8, _ALX_MSE16DB_UP@GOTPAGE
Lloh91:
	ldr	x8, [x8, _ALX_MSE16DB_UP@GOTPAGEOFF]
Lloh92:
	ldr	x2, [x8]
	b	LBB0_23
LBB0_20:
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_24
; %bb.21:
Lloh93:
	adrp	x20, _ALX_MIIDBG_MSE20DB@GOTPAGE
Lloh94:
	ldr	x20, [x20, _ALX_MIIDBG_MSE20DB@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #8
	mov	x0, x19
	bl	_alx_read_phy_dbg
	ldr	x0, [sp, #8]
Lloh95:
	adrp	x8, _ALX_MSE20DB_TH@GOTPAGE
Lloh96:
	ldr	x8, [x8, _ALX_MSE20DB_TH@GOTPAGEOFF]
Lloh97:
	ldr	w1, [x8]
Lloh98:
	adrp	x8, _ALX_MSE20DB_TH_HI@GOTPAGE
Lloh99:
	ldr	x8, [x8, _ALX_MSE20DB_TH_HI@GOTPAGEOFF]
LBB0_22:
	ldr	w2, [x8]
	bl	_ALX_SET_FIELD
	ldr	w1, [x20]
	ldr	x2, [sp, #8]
LBB0_23:
	mov	x0, x19
	bl	_alx_write_phy_dbg
LBB0_24:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh93, Lloh94
	.cfi_endproc
                                        ; -- End function
	.comm	_ALX_REV_B0,8,3                 ; @ALX_REV_B0
	.comm	_SPEED_UNKNOWN,8,3              ; @SPEED_UNKNOWN
	.comm	_ALX_MIIEXT_PCS,4,2             ; @ALX_MIIEXT_PCS
	.comm	_ALX_MIIEXT_CLDCTRL6,4,2        ; @ALX_MIIEXT_CLDCTRL6
	.comm	_ALX_CLDCTRL6_CAB_LEN,4,2       ; @ALX_CLDCTRL6_CAB_LEN
	.comm	_ALX_MIIDBG_AGC,4,2             ; @ALX_MIIDBG_AGC
	.comm	_ALX_AGC_2_VGA,4,2              ; @ALX_AGC_2_VGA
	.comm	_SPEED_1000,8,3                 ; @SPEED_1000
	.comm	_ALX_CLDCTRL6_CAB_LEN_SHORT1G,8,3 ; @ALX_CLDCTRL6_CAB_LEN_SHORT1G
	.comm	_ALX_AGC_LONG1G_LIMT,8,3        ; @ALX_AGC_LONG1G_LIMT
	.comm	_SPEED_100,8,3                  ; @SPEED_100
	.comm	_ALX_CLDCTRL6_CAB_LEN_SHORT100M,8,3 ; @ALX_CLDCTRL6_CAB_LEN_SHORT100M
	.comm	_ALX_AGC_LONG100M_LIMT,8,3      ; @ALX_AGC_LONG100M_LIMT
	.comm	_ALX_MIIDBG_AZ_ANADECT,4,2      ; @ALX_MIIDBG_AZ_ANADECT
	.comm	_ALX_AZ_ANADECT_LONG,8,3        ; @ALX_AZ_ANADECT_LONG
	.comm	_ALX_MIIEXT_ANEG,4,2            ; @ALX_MIIEXT_ANEG
	.comm	_ALX_MIIEXT_AFE,4,2             ; @ALX_MIIEXT_AFE
	.comm	_ALX_AFE_10BT_100M_TH,8,3       ; @ALX_AFE_10BT_100M_TH
	.comm	_ALX_AZ_ANADECT_DEF,8,3         ; @ALX_AZ_ANADECT_DEF
	.comm	_ALX_MIIDBG_MSE16DB,4,2         ; @ALX_MIIDBG_MSE16DB
	.comm	_ALX_MSE16DB_UP,8,3             ; @ALX_MSE16DB_UP
	.comm	_ALX_MIIDBG_MSE20DB,4,2         ; @ALX_MIIDBG_MSE20DB
	.comm	_ALX_MSE20DB_TH,4,2             ; @ALX_MSE20DB_TH
	.comm	_ALX_MSE20DB_TH_HI,4,2          ; @ALX_MSE20DB_TH_HI
	.comm	_ALX_MSE16DB_DOWN,8,3           ; @ALX_MSE16DB_DOWN
	.comm	_ALX_MSE20DB_TH_DEF,4,2         ; @ALX_MSE20DB_TH_DEF
.subsections_via_symbols
