	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alx_configure_basic            ## -- Begin function alx_configure_basic
	.p2align	4, 0x90
_alx_configure_basic:                   ## @alx_configure_basic
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_alx_hw_revision
	movq	%rax, %rbx
	movl	32(%r15), %esi
	movq	%r15, %rdi
	callq	_alx_set_macaddr
	movq	_ALX_CLK_GATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ALX_CLK_GATE_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_alx_write_mem32
	movq	_ALX_REV_B0@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jl	LBB0_2
## %bb.1:
	movq	_ALX_IDLE_DECISN_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ALX_IDLE_DECISN_TIMER_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_alx_write_mem32
LBB0_2:
	movq	_ALX_SMB_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	imull	$500, (%r15), %edx              ## imm = 0x1F4
	movq	%r15, %rdi
	callq	_alx_write_mem32
	movq	_ALX_MASTER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_alx_read_mem32
	movq	_ALX_MASTER_IRQMOD2_EN@GOTPCREL(%rip), %rcx
	movq	_ALX_MASTER_IRQMOD1_EN@GOTPCREL(%rip), %rdx
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	movq	_ALX_MASTER_SYSALVTIMER_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_alx_write_mem32
	movq	_ALX_IRQ_MODU_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r15), %edx
	sarl	%edx
	movq	_ALX_IRQ_MODU_TIMER1_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movq	%r15, %rdi
	callq	_alx_write_mem32
	movq	_ALX_INT_RETRIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ALX_INT_RETRIG_TO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_alx_write_mem32
	movq	_ALX_TINT_TPD_THRSHLD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r15), %edx
	movq	%r15, %rdi
	callq	_alx_write_mem32
	movq	_ALX_TINT_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r15), %edx
	movq	%r15, %rdi
	callq	_alx_write_mem32
	movl	28(%r15), %edi
	callq	_ALX_RAW_MTU
	movl	%eax, %ebx
	movq	_ALX_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_alx_write_mem32
	movq	_ALX_MTU_JUMBO_TH@GOTPCREL(%rip), %rax
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	(%rax), %ecx
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rax
	addl	(%rax), %ecx
	cmpl	%ecx, %ebx
	jle	LBB0_4
## %bb.3:
	movq	_ALX_MAC_CTRL_FAST_PAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 24(%r15)
LBB0_4:
	movq	_ALX_TXQ1_JUMBO_TSO_TH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	7(%rbx), %edx
	cmpl	%eax, %ebx
	cmovgel	%eax, %edx
	sarl	$3, %edx
	movq	_ALX_TXQ1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ALX_TXQ1_ERRLGPKT_DROP_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_alx_write_mem32
	movl	20(%r15), %edi
	callq	_pcie_get_readrq
	movl	%eax, %r14d
	sarl	$8, %r14d
	movq	_ALX_DEV_CTRL_MAXRRS_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%ecx, %r14d
	jge	LBB0_6
## %bb.5:
	movl	20(%r15), %edi
	movl	$128, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	callq	_pcie_set_readrq
LBB0_6:
	movq	_ALX_TXQ_TPD_BURSTPREF_DEF@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	_ALX_TXQ0_TPD_BURSTPREF_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_ALX_TXQ0_MODE_ENHANCE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ALX_TXQ0_LSO_8023_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ALX_TXQ0_SUPT_IPOPT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ALX_TXQ_TXF_BURST_PREF_DEF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_ALX_TXQ0_TXF_BURST_PREF_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%eax, %edx
	movq	_ALX_TXQ0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_alx_write_mem32
	movl	(%rbx), %edx
	movq	_ALX_HQTPD_Q1_NUMPREF_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%edx, %eax
	shll	%cl, %eax
	movq	_ALX_HQTPD_Q2_NUMPREF_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%edx, %esi
	shll	%cl, %esi
	movq	_ALX_HQTPD_Q3_NUMPREF_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%eax, %esi
	orl	%esi, %edx
	movq	_ALX_HQTPD_BURST_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_ALX_HQTPD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_alx_write_mem32
	movq	_ALX_SRAM5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_alx_read_mem32
	movq	_ALX_SRAM_RXF_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_ALX_GET_FIELD
	shll	$3, %eax
	movq	_ALX_SRAM_RXF_LEN_8K@GOTPCREL(%rip), %rsi
	movq	_ALX_MTU_STD_ALGN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, %ecx
	cmpl	(%rsi), %eax
	jle	LBB0_8
## %bb.7:
	movq	_ALX_RXQ2_RXF_FLOW_CTRL_RSVD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_8:
	subl	%ecx, %eax
	sarl	$3, %eax
	sarl	$3, %edx
	movq	_ALX_RXQ2_RXF_XOFF_THRESH_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movq	_ALX_RXQ2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ALX_RXQ2_RXF_XON_THRESH_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%edx, %eax
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_alx_write_mem32
	movq	_ALX_RXQ0_NUM_RFD_PREF_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ALX_RXQ0_NUM_RFD_PREF_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_ALX_RXQ0_RSS_MODE_DIS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_ALX_RXQ0_RSS_MODE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%eax, %edx
	movq	_ALX_RXQ0_IDT_TBL_SIZE_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ALX_RXQ0_IDT_TBL_SIZE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	orl	%edx, %ebx
	movq	_ALX_RXQ0_RSS_HSTYP_ALL@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_ALX_RXQ0_RSS_HASH_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_ALX_RXQ0_IPV6_PARSE_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_alx_hw_giga
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_ALX_RXQ0_ASPM_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ALX_RXQ0_ASPM_THRESH_100M@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_ALX_SET_FIELD
LBB0_10:
	movq	_ALX_RXQ0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_alx_write_mem32
	movq	_ALX_DMA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_alx_read_mem32
	movq	_ALX_DMA_RORDER_MODE_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ALX_DMA_RORDER_MODE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_ALX_DMA_RREQ_PRI_DATA@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ALX_DMA_RREQ_BLEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r14d
	movq	_ALX_DMA_WDLY_CNT_DEF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ALX_DMA_WDLY_CNT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	movq	_ALX_DMA_RDLY_CNT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_ALX_DMA_RDLY_CNT_DEF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	shll	%cl, %edi
	orl	%r14d, %esi
	movq	_ALX_DMA_RCHNL_SEL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	16(%r15), %edx
	decl	%edx
	shll	%cl, %edx
	orl	%esi, %edi
	orl	%edi, %edx
	orl	%eax, %edx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_alx_write_mem32
	movq	_ALX_WRR_PRI_RESTRICT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ALX_WRR_PRI_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_ALX_WRR_PRI0_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$4, %esi
	shll	%cl, %esi
	movq	_ALX_WRR_PRI1_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$4, %edi
	shll	%cl, %edi
	movq	_ALX_WRR_PRI2_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$4, %ebx
	shll	%cl, %ebx
	orl	%eax, %esi
	movl	$4, %edx
	orl	%edi, %ebx
	movq	_ALX_WRR_PRI3_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	orl	%esi, %ebx
	orl	%ebx, %edx
	movq	_ALX_WRR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_alx_write_mem32                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ALX_CLK_GATE,4,2               ## @ALX_CLK_GATE
	.comm	_ALX_CLK_GATE_ALL,4,2           ## @ALX_CLK_GATE_ALL
	.comm	_ALX_REV_B0,8,3                 ## @ALX_REV_B0
	.comm	_ALX_IDLE_DECISN_TIMER,4,2      ## @ALX_IDLE_DECISN_TIMER
	.comm	_ALX_IDLE_DECISN_TIMER_DEF,4,2  ## @ALX_IDLE_DECISN_TIMER_DEF
	.comm	_ALX_SMB_TIMER,4,2              ## @ALX_SMB_TIMER
	.comm	_ALX_MASTER,4,2                 ## @ALX_MASTER
	.comm	_ALX_MASTER_IRQMOD2_EN,4,2      ## @ALX_MASTER_IRQMOD2_EN
	.comm	_ALX_MASTER_IRQMOD1_EN,4,2      ## @ALX_MASTER_IRQMOD1_EN
	.comm	_ALX_MASTER_SYSALVTIMER_EN,4,2  ## @ALX_MASTER_SYSALVTIMER_EN
	.comm	_ALX_IRQ_MODU_TIMER,4,2         ## @ALX_IRQ_MODU_TIMER
	.comm	_ALX_IRQ_MODU_TIMER1_SHIFT,4,2  ## @ALX_IRQ_MODU_TIMER1_SHIFT
	.comm	_ALX_INT_RETRIG,4,2             ## @ALX_INT_RETRIG
	.comm	_ALX_INT_RETRIG_TO,4,2          ## @ALX_INT_RETRIG_TO
	.comm	_ALX_TINT_TPD_THRSHLD,4,2       ## @ALX_TINT_TPD_THRSHLD
	.comm	_ALX_TINT_TIMER,4,2             ## @ALX_TINT_TIMER
	.comm	_ALX_MTU,4,2                    ## @ALX_MTU
	.comm	_ALX_MTU_JUMBO_TH,4,2           ## @ALX_MTU_JUMBO_TH
	.comm	_ETH_FCS_LEN,4,2                ## @ETH_FCS_LEN
	.comm	_VLAN_HLEN,4,2                  ## @VLAN_HLEN
	.comm	_ALX_MAC_CTRL_FAST_PAUSE,4,2    ## @ALX_MAC_CTRL_FAST_PAUSE
	.comm	_ALX_TXQ1_JUMBO_TSO_TH,4,2      ## @ALX_TXQ1_JUMBO_TSO_TH
	.comm	_ALX_TXQ1,4,2                   ## @ALX_TXQ1
	.comm	_ALX_TXQ1_ERRLGPKT_DROP_EN,4,2  ## @ALX_TXQ1_ERRLGPKT_DROP_EN
	.comm	_ALX_DEV_CTRL_MAXRRS_MIN,4,2    ## @ALX_DEV_CTRL_MAXRRS_MIN
	.comm	_ALX_TXQ_TPD_BURSTPREF_DEF,4,2  ## @ALX_TXQ_TPD_BURSTPREF_DEF
	.comm	_ALX_TXQ0_TPD_BURSTPREF_SHIFT,4,2 ## @ALX_TXQ0_TPD_BURSTPREF_SHIFT
	.comm	_ALX_TXQ0_MODE_ENHANCE,4,2      ## @ALX_TXQ0_MODE_ENHANCE
	.comm	_ALX_TXQ0_LSO_8023_EN,4,2       ## @ALX_TXQ0_LSO_8023_EN
	.comm	_ALX_TXQ0_SUPT_IPOPT,4,2        ## @ALX_TXQ0_SUPT_IPOPT
	.comm	_ALX_TXQ_TXF_BURST_PREF_DEF,4,2 ## @ALX_TXQ_TXF_BURST_PREF_DEF
	.comm	_ALX_TXQ0_TXF_BURST_PREF_SHIFT,4,2 ## @ALX_TXQ0_TXF_BURST_PREF_SHIFT
	.comm	_ALX_TXQ0,4,2                   ## @ALX_TXQ0
	.comm	_ALX_HQTPD_Q1_NUMPREF_SHIFT,4,2 ## @ALX_HQTPD_Q1_NUMPREF_SHIFT
	.comm	_ALX_HQTPD_Q2_NUMPREF_SHIFT,4,2 ## @ALX_HQTPD_Q2_NUMPREF_SHIFT
	.comm	_ALX_HQTPD_Q3_NUMPREF_SHIFT,4,2 ## @ALX_HQTPD_Q3_NUMPREF_SHIFT
	.comm	_ALX_HQTPD_BURST_EN,4,2         ## @ALX_HQTPD_BURST_EN
	.comm	_ALX_HQTPD,4,2                  ## @ALX_HQTPD
	.comm	_ALX_SRAM5,4,2                  ## @ALX_SRAM5
	.comm	_ALX_SRAM_RXF_LEN,4,2           ## @ALX_SRAM_RXF_LEN
	.comm	_ALX_SRAM_RXF_LEN_8K,4,2        ## @ALX_SRAM_RXF_LEN_8K
	.comm	_ALX_MTU_STD_ALGN,4,2           ## @ALX_MTU_STD_ALGN
	.comm	_ALX_RXQ2_RXF_FLOW_CTRL_RSVD,4,2 ## @ALX_RXQ2_RXF_FLOW_CTRL_RSVD
	.comm	_ALX_RXQ2,4,2                   ## @ALX_RXQ2
	.comm	_ALX_RXQ2_RXF_XOFF_THRESH_SHIFT,4,2 ## @ALX_RXQ2_RXF_XOFF_THRESH_SHIFT
	.comm	_ALX_RXQ2_RXF_XON_THRESH_SHIFT,4,2 ## @ALX_RXQ2_RXF_XON_THRESH_SHIFT
	.comm	_ALX_RXQ0_NUM_RFD_PREF_DEF,4,2  ## @ALX_RXQ0_NUM_RFD_PREF_DEF
	.comm	_ALX_RXQ0_NUM_RFD_PREF_SHIFT,4,2 ## @ALX_RXQ0_NUM_RFD_PREF_SHIFT
	.comm	_ALX_RXQ0_RSS_MODE_DIS,4,2      ## @ALX_RXQ0_RSS_MODE_DIS
	.comm	_ALX_RXQ0_RSS_MODE_SHIFT,4,2    ## @ALX_RXQ0_RSS_MODE_SHIFT
	.comm	_ALX_RXQ0_IDT_TBL_SIZE_DEF,4,2  ## @ALX_RXQ0_IDT_TBL_SIZE_DEF
	.comm	_ALX_RXQ0_IDT_TBL_SIZE_SHIFT,4,2 ## @ALX_RXQ0_IDT_TBL_SIZE_SHIFT
	.comm	_ALX_RXQ0_RSS_HSTYP_ALL,4,2     ## @ALX_RXQ0_RSS_HSTYP_ALL
	.comm	_ALX_RXQ0_RSS_HASH_EN,4,2       ## @ALX_RXQ0_RSS_HASH_EN
	.comm	_ALX_RXQ0_IPV6_PARSE_EN,4,2     ## @ALX_RXQ0_IPV6_PARSE_EN
	.comm	_ALX_RXQ0_ASPM_THRESH,4,2       ## @ALX_RXQ0_ASPM_THRESH
	.comm	_ALX_RXQ0_ASPM_THRESH_100M,4,2  ## @ALX_RXQ0_ASPM_THRESH_100M
	.comm	_ALX_RXQ0,4,2                   ## @ALX_RXQ0
	.comm	_ALX_DMA,4,2                    ## @ALX_DMA
	.comm	_ALX_DMA_RORDER_MODE_OUT,4,2    ## @ALX_DMA_RORDER_MODE_OUT
	.comm	_ALX_DMA_RORDER_MODE_SHIFT,4,2  ## @ALX_DMA_RORDER_MODE_SHIFT
	.comm	_ALX_DMA_RREQ_PRI_DATA,4,2      ## @ALX_DMA_RREQ_PRI_DATA
	.comm	_ALX_DMA_RREQ_BLEN_SHIFT,4,2    ## @ALX_DMA_RREQ_BLEN_SHIFT
	.comm	_ALX_DMA_WDLY_CNT_DEF,4,2       ## @ALX_DMA_WDLY_CNT_DEF
	.comm	_ALX_DMA_WDLY_CNT_SHIFT,4,2     ## @ALX_DMA_WDLY_CNT_SHIFT
	.comm	_ALX_DMA_RDLY_CNT_DEF,4,2       ## @ALX_DMA_RDLY_CNT_DEF
	.comm	_ALX_DMA_RDLY_CNT_SHIFT,4,2     ## @ALX_DMA_RDLY_CNT_SHIFT
	.comm	_ALX_DMA_RCHNL_SEL_SHIFT,4,2    ## @ALX_DMA_RCHNL_SEL_SHIFT
	.comm	_ALX_WRR_PRI_RESTRICT_NONE,4,2  ## @ALX_WRR_PRI_RESTRICT_NONE
	.comm	_ALX_WRR_PRI_SHIFT,4,2          ## @ALX_WRR_PRI_SHIFT
	.comm	_ALX_WRR_PRI0_SHIFT,4,2         ## @ALX_WRR_PRI0_SHIFT
	.comm	_ALX_WRR_PRI1_SHIFT,4,2         ## @ALX_WRR_PRI1_SHIFT
	.comm	_ALX_WRR_PRI2_SHIFT,4,2         ## @ALX_WRR_PRI2_SHIFT
	.comm	_ALX_WRR_PRI3_SHIFT,4,2         ## @ALX_WRR_PRI3_SHIFT
	.comm	_ALX_WRR,4,2                    ## @ALX_WRR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alx_configure_basic            ; -- Begin function alx_configure_basic
	.p2align	2
_alx_configure_basic:                   ; @alx_configure_basic
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	bl	_alx_hw_revision
	mov	x20, x0
	ldr	w1, [x19, #32]
	mov	x0, x19
	bl	_alx_set_macaddr
Lloh0:
	adrp	x8, _ALX_CLK_GATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALX_CLK_GATE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ALX_CLK_GATE_ALL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ALX_CLK_GATE_ALL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_alx_write_mem32
Lloh6:
	adrp	x8, _ALX_REV_B0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ALX_REV_B0@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x20, x8
	b.lt	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _ALX_IDLE_DECISN_TIMER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ALX_IDLE_DECISN_TIMER@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _ALX_IDLE_DECISN_TIMER_DEF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ALX_IDLE_DECISN_TIMER_DEF@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_alx_write_mem32
LBB0_2:
Lloh15:
	adrp	x8, _ALX_SMB_TIMER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ALX_SMB_TIMER@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w8, [x19]
	mov	w9, #500
	mul	w2, w8, w9
	mov	x0, x19
	bl	_alx_write_mem32
Lloh18:
	adrp	x20, _ALX_MASTER@GOTPAGE
Lloh19:
	ldr	x20, [x20, _ALX_MASTER@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_alx_read_mem32
Lloh20:
	adrp	x8, _ALX_MASTER_IRQMOD2_EN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ALX_MASTER_IRQMOD2_EN@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _ALX_MASTER_IRQMOD1_EN@GOTPAGE
Lloh24:
	ldr	x9, [x9, _ALX_MASTER_IRQMOD1_EN@GOTPAGEOFF]
Lloh25:
	adrp	x10, _ALX_MASTER_SYSALVTIMER_EN@GOTPAGE
Lloh26:
	ldr	x10, [x10, _ALX_MASTER_SYSALVTIMER_EN@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
Lloh28:
	ldr	w10, [x10]
	orr	w8, w8, w0
	orr	w8, w8, w9
	orr	w2, w8, w10
	ldr	w1, [x20]
	mov	x0, x19
	bl	_alx_write_mem32
Lloh29:
	adrp	x8, _ALX_IRQ_MODU_TIMER@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ALX_IRQ_MODU_TIMER@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	ldr	w8, [x19, #8]
	asr	w8, w8, #1
Lloh32:
	adrp	x9, _ALX_IRQ_MODU_TIMER1_SHIFT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ALX_IRQ_MODU_TIMER1_SHIFT@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	lsl	w2, w8, w9
	mov	x0, x19
	bl	_alx_write_mem32
Lloh35:
	adrp	x8, _ALX_INT_RETRIG@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ALX_INT_RETRIG@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x8, _ALX_INT_RETRIG_TO@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ALX_INT_RETRIG_TO@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_alx_write_mem32
Lloh41:
	adrp	x8, _ALX_TINT_TPD_THRSHLD@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ALX_TINT_TPD_THRSHLD@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	ldr	w2, [x19, #12]
	mov	x0, x19
	bl	_alx_write_mem32
Lloh44:
	adrp	x8, _ALX_TINT_TIMER@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ALX_TINT_TIMER@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
	mov	x0, x19
	bl	_alx_write_mem32
	ldr	w0, [x19, #28]
	bl	_ALX_RAW_MTU
	mov	x20, x0
Lloh47:
	adrp	x8, _ALX_MTU@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ALX_MTU@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_alx_write_mem32
Lloh50:
	adrp	x8, _ALX_MTU_JUMBO_TH@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ALX_MTU_JUMBO_TH@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
Lloh53:
	adrp	x9, _ETH_FCS_LEN@GOTPAGE
Lloh54:
	ldr	x9, [x9, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
Lloh56:
	adrp	x10, _VLAN_HLEN@GOTPAGE
Lloh57:
	ldr	x10, [x10, _VLAN_HLEN@GOTPAGEOFF]
Lloh58:
	ldr	w10, [x10]
	add	w8, w9, w8
	add	w8, w8, w10
	cmp	w20, w8
	b.le	LBB0_4
; %bb.3:
Lloh59:
	adrp	x8, _ALX_MAC_CTRL_FAST_PAUSE@GOTPAGE
Lloh60:
	ldr	x8, [x8, _ALX_MAC_CTRL_FAST_PAUSE@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	bic	w8, w9, w8
	str	w8, [x19, #24]
LBB0_4:
Lloh62:
	adrp	x8, _ALX_TXQ1_JUMBO_TSO_TH@GOTPAGE
Lloh63:
	ldr	x8, [x8, _ALX_TXQ1_JUMBO_TSO_TH@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	add	w9, w20, #7
Lloh65:
	adrp	x10, _ALX_TXQ1@GOTPAGE
Lloh66:
	ldr	x10, [x10, _ALX_TXQ1@GOTPAGEOFF]
	cmp	w20, w8
	csel	w8, w9, w8, lt
Lloh67:
	ldr	w1, [x10]
Lloh68:
	adrp	x9, _ALX_TXQ1_ERRLGPKT_DROP_EN@GOTPAGE
Lloh69:
	ldr	x9, [x9, _ALX_TXQ1_ERRLGPKT_DROP_EN@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
	orr	w2, w9, w8, asr #3
	mov	x0, x19
	bl	_alx_write_mem32
	ldr	w0, [x19, #20]
	bl	_pcie_get_readrq
	asr	w21, w0, #8
Lloh71:
	adrp	x8, _ALX_DEV_CTRL_MAXRRS_MIN@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ALX_DEV_CTRL_MAXRRS_MIN@GOTPAGEOFF]
Lloh73:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ge	LBB0_6
; %bb.5:
	ldr	w0, [x19, #20]
	mov	w9, #128
	lsl	w1, w9, w8
	bl	_pcie_set_readrq
LBB0_6:
Lloh74:
	adrp	x20, _ALX_TXQ_TPD_BURSTPREF_DEF@GOTPAGE
Lloh75:
	ldr	x20, [x20, _ALX_TXQ_TPD_BURSTPREF_DEF@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh76:
	adrp	x9, _ALX_TXQ0_TPD_BURSTPREF_SHIFT@GOTPAGE
Lloh77:
	ldr	x9, [x9, _ALX_TXQ0_TPD_BURSTPREF_SHIFT@GOTPAGEOFF]
Lloh78:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh79:
	adrp	x9, _ALX_TXQ0_MODE_ENHANCE@GOTPAGE
Lloh80:
	ldr	x9, [x9, _ALX_TXQ0_MODE_ENHANCE@GOTPAGEOFF]
Lloh81:
	ldr	w9, [x9]
Lloh82:
	adrp	x10, _ALX_TXQ0_LSO_8023_EN@GOTPAGE
Lloh83:
	ldr	x10, [x10, _ALX_TXQ0_LSO_8023_EN@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh84:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh85:
	adrp	x9, _ALX_TXQ0_SUPT_IPOPT@GOTPAGE
Lloh86:
	ldr	x9, [x9, _ALX_TXQ0_SUPT_IPOPT@GOTPAGEOFF]
Lloh87:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh88:
	adrp	x9, _ALX_TXQ_TXF_BURST_PREF_DEF@GOTPAGE
Lloh89:
	ldr	x9, [x9, _ALX_TXQ_TXF_BURST_PREF_DEF@GOTPAGEOFF]
Lloh90:
	ldr	w9, [x9]
Lloh91:
	adrp	x10, _ALX_TXQ0_TXF_BURST_PREF_SHIFT@GOTPAGE
Lloh92:
	ldr	x10, [x10, _ALX_TXQ0_TXF_BURST_PREF_SHIFT@GOTPAGEOFF]
Lloh93:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w2, w8, w9
Lloh94:
	adrp	x8, _ALX_TXQ0@GOTPAGE
Lloh95:
	ldr	x8, [x8, _ALX_TXQ0@GOTPAGEOFF]
Lloh96:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_alx_write_mem32
	ldr	w8, [x20]
Lloh97:
	adrp	x9, _ALX_HQTPD_Q1_NUMPREF_SHIFT@GOTPAGE
Lloh98:
	ldr	x9, [x9, _ALX_HQTPD_Q1_NUMPREF_SHIFT@GOTPAGEOFF]
Lloh99:
	ldr	w9, [x9]
	lsl	w9, w8, w9
Lloh100:
	adrp	x10, _ALX_HQTPD_Q2_NUMPREF_SHIFT@GOTPAGE
Lloh101:
	ldr	x10, [x10, _ALX_HQTPD_Q2_NUMPREF_SHIFT@GOTPAGEOFF]
Lloh102:
	ldr	w10, [x10]
	lsl	w10, w8, w10
	orr	w9, w10, w9
Lloh103:
	adrp	x10, _ALX_HQTPD_Q3_NUMPREF_SHIFT@GOTPAGE
Lloh104:
	ldr	x10, [x10, _ALX_HQTPD_Q3_NUMPREF_SHIFT@GOTPAGEOFF]
Lloh105:
	ldr	w10, [x10]
	lsl	w8, w8, w10
Lloh106:
	adrp	x10, _ALX_HQTPD_BURST_EN@GOTPAGE
Lloh107:
	ldr	x10, [x10, _ALX_HQTPD_BURST_EN@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh108:
	ldr	w9, [x10]
	orr	w2, w8, w9
Lloh109:
	adrp	x8, _ALX_HQTPD@GOTPAGE
Lloh110:
	ldr	x8, [x8, _ALX_HQTPD@GOTPAGEOFF]
Lloh111:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_alx_write_mem32
Lloh112:
	adrp	x8, _ALX_SRAM5@GOTPAGE
Lloh113:
	ldr	x8, [x8, _ALX_SRAM5@GOTPAGEOFF]
Lloh114:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_alx_read_mem32
Lloh115:
	adrp	x8, _ALX_SRAM_RXF_LEN@GOTPAGE
Lloh116:
	ldr	x8, [x8, _ALX_SRAM_RXF_LEN@GOTPAGEOFF]
Lloh117:
	ldr	w1, [x8]
	bl	_ALX_GET_FIELD
	lsl	w8, w0, #3
Lloh118:
	adrp	x9, _ALX_SRAM_RXF_LEN_8K@GOTPAGE
Lloh119:
	ldr	x9, [x9, _ALX_SRAM_RXF_LEN_8K@GOTPAGEOFF]
Lloh120:
	ldr	w9, [x9]
Lloh121:
	adrp	x10, _ALX_MTU_STD_ALGN@GOTPAGE
Lloh122:
	ldr	x10, [x10, _ALX_MTU_STD_ALGN@GOTPAGEOFF]
Lloh123:
	ldr	w10, [x10]
Lloh124:
	adrp	x11, _ALX_RXQ2_RXF_FLOW_CTRL_RSVD@GOTPAGE
Lloh125:
	ldr	x11, [x11, _ALX_RXQ2_RXF_FLOW_CTRL_RSVD@GOTPAGEOFF]
Lloh126:
	ldr	w11, [x11]
	cmp	w8, w9
	csel	w9, w11, w10, gt
	sub	w8, w8, w9
	asr	w8, w8, #3
	asr	w9, w10, #3
Lloh127:
	adrp	x10, _ALX_RXQ2@GOTPAGE
Lloh128:
	ldr	x10, [x10, _ALX_RXQ2@GOTPAGEOFF]
Lloh129:
	ldr	w1, [x10]
Lloh130:
	adrp	x10, _ALX_RXQ2_RXF_XOFF_THRESH_SHIFT@GOTPAGE
Lloh131:
	ldr	x10, [x10, _ALX_RXQ2_RXF_XOFF_THRESH_SHIFT@GOTPAGEOFF]
Lloh132:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh133:
	adrp	x10, _ALX_RXQ2_RXF_XON_THRESH_SHIFT@GOTPAGE
Lloh134:
	ldr	x10, [x10, _ALX_RXQ2_RXF_XON_THRESH_SHIFT@GOTPAGEOFF]
Lloh135:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w2, w8, w9
	mov	x0, x19
	bl	_alx_write_mem32
Lloh136:
	adrp	x8, _ALX_RXQ0_NUM_RFD_PREF_DEF@GOTPAGE
Lloh137:
	ldr	x8, [x8, _ALX_RXQ0_NUM_RFD_PREF_DEF@GOTPAGEOFF]
Lloh138:
	ldr	w8, [x8]
Lloh139:
	adrp	x9, _ALX_RXQ0_NUM_RFD_PREF_SHIFT@GOTPAGE
Lloh140:
	ldr	x9, [x9, _ALX_RXQ0_NUM_RFD_PREF_SHIFT@GOTPAGEOFF]
Lloh141:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh142:
	adrp	x9, _ALX_RXQ0_RSS_MODE_DIS@GOTPAGE
Lloh143:
	ldr	x9, [x9, _ALX_RXQ0_RSS_MODE_DIS@GOTPAGEOFF]
Lloh144:
	adrp	x10, _ALX_RXQ0_RSS_MODE_SHIFT@GOTPAGE
Lloh145:
	ldr	x10, [x10, _ALX_RXQ0_RSS_MODE_SHIFT@GOTPAGEOFF]
Lloh146:
	ldr	w9, [x9]
Lloh147:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w9, w8
Lloh148:
	adrp	x9, _ALX_RXQ0_IDT_TBL_SIZE_DEF@GOTPAGE
Lloh149:
	ldr	x9, [x9, _ALX_RXQ0_IDT_TBL_SIZE_DEF@GOTPAGEOFF]
Lloh150:
	ldr	w9, [x9]
Lloh151:
	adrp	x10, _ALX_RXQ0_IDT_TBL_SIZE_SHIFT@GOTPAGE
Lloh152:
	ldr	x10, [x10, _ALX_RXQ0_IDT_TBL_SIZE_SHIFT@GOTPAGEOFF]
Lloh153:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
Lloh154:
	adrp	x9, _ALX_RXQ0_RSS_HSTYP_ALL@GOTPAGE
Lloh155:
	ldr	x9, [x9, _ALX_RXQ0_RSS_HSTYP_ALL@GOTPAGEOFF]
Lloh156:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh157:
	adrp	x9, _ALX_RXQ0_RSS_HASH_EN@GOTPAGE
Lloh158:
	ldr	x9, [x9, _ALX_RXQ0_RSS_HASH_EN@GOTPAGEOFF]
Lloh159:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh160:
	adrp	x9, _ALX_RXQ0_IPV6_PARSE_EN@GOTPAGE
Lloh161:
	ldr	x9, [x9, _ALX_RXQ0_IPV6_PARSE_EN@GOTPAGEOFF]
Lloh162:
	ldr	w9, [x9]
	orr	w20, w8, w9
	mov	x0, x19
	bl	_alx_hw_giga
	cbz	x0, LBB0_8
; %bb.7:
Lloh163:
	adrp	x8, _ALX_RXQ0_ASPM_THRESH@GOTPAGE
Lloh164:
	ldr	x8, [x8, _ALX_RXQ0_ASPM_THRESH@GOTPAGEOFF]
Lloh165:
	ldr	w1, [x8]
Lloh166:
	adrp	x8, _ALX_RXQ0_ASPM_THRESH_100M@GOTPAGE
Lloh167:
	ldr	x8, [x8, _ALX_RXQ0_ASPM_THRESH_100M@GOTPAGEOFF]
Lloh168:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_ALX_SET_FIELD
LBB0_8:
Lloh169:
	adrp	x8, _ALX_RXQ0@GOTPAGE
Lloh170:
	ldr	x8, [x8, _ALX_RXQ0@GOTPAGEOFF]
Lloh171:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_alx_write_mem32
Lloh172:
	adrp	x20, _ALX_DMA@GOTPAGE
Lloh173:
	ldr	x20, [x20, _ALX_DMA@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_alx_read_mem32
Lloh174:
	adrp	x8, _ALX_DMA_RORDER_MODE_OUT@GOTPAGE
Lloh175:
	ldr	x8, [x8, _ALX_DMA_RORDER_MODE_OUT@GOTPAGEOFF]
Lloh176:
	adrp	x9, _ALX_DMA_RORDER_MODE_SHIFT@GOTPAGE
Lloh177:
	ldr	x9, [x9, _ALX_DMA_RORDER_MODE_SHIFT@GOTPAGEOFF]
Lloh178:
	ldr	w8, [x8]
Lloh179:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh180:
	adrp	x9, _ALX_DMA_RREQ_PRI_DATA@GOTPAGE
Lloh181:
	ldr	x9, [x9, _ALX_DMA_RREQ_PRI_DATA@GOTPAGEOFF]
Lloh182:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh183:
	adrp	x9, _ALX_DMA_RREQ_BLEN_SHIFT@GOTPAGE
Lloh184:
	ldr	x9, [x9, _ALX_DMA_RREQ_BLEN_SHIFT@GOTPAGEOFF]
Lloh185:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	orr	w8, w8, w9
Lloh186:
	adrp	x9, _ALX_DMA_WDLY_CNT_DEF@GOTPAGE
Lloh187:
	ldr	x9, [x9, _ALX_DMA_WDLY_CNT_DEF@GOTPAGEOFF]
Lloh188:
	ldr	w9, [x9]
Lloh189:
	adrp	x10, _ALX_DMA_WDLY_CNT_SHIFT@GOTPAGE
Lloh190:
	ldr	x10, [x10, _ALX_DMA_WDLY_CNT_SHIFT@GOTPAGEOFF]
Lloh191:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
Lloh192:
	adrp	x9, _ALX_DMA_RDLY_CNT_DEF@GOTPAGE
Lloh193:
	ldr	x9, [x9, _ALX_DMA_RDLY_CNT_DEF@GOTPAGEOFF]
Lloh194:
	adrp	x10, _ALX_DMA_RDLY_CNT_SHIFT@GOTPAGE
Lloh195:
	ldr	x10, [x10, _ALX_DMA_RDLY_CNT_SHIFT@GOTPAGEOFF]
Lloh196:
	ldr	w9, [x9]
Lloh197:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
	ldr	w9, [x19, #16]
	sub	w9, w9, #1
Lloh198:
	adrp	x10, _ALX_DMA_RCHNL_SEL_SHIFT@GOTPAGE
Lloh199:
	ldr	x10, [x10, _ALX_DMA_RCHNL_SEL_SHIFT@GOTPAGEOFF]
Lloh200:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w2, w8, w9
	ldr	w1, [x20]
	mov	x0, x19
	bl	_alx_write_mem32
Lloh201:
	adrp	x8, _ALX_WRR_PRI_RESTRICT_NONE@GOTPAGE
Lloh202:
	ldr	x8, [x8, _ALX_WRR_PRI_RESTRICT_NONE@GOTPAGEOFF]
Lloh203:
	adrp	x9, _ALX_WRR_PRI_SHIFT@GOTPAGE
Lloh204:
	ldr	x9, [x9, _ALX_WRR_PRI_SHIFT@GOTPAGEOFF]
Lloh205:
	ldr	w8, [x8]
Lloh206:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh207:
	adrp	x9, _ALX_WRR_PRI0_SHIFT@GOTPAGE
Lloh208:
	ldr	x9, [x9, _ALX_WRR_PRI0_SHIFT@GOTPAGEOFF]
Lloh209:
	ldr	w9, [x9]
	mov	w10, #4
	lsl	w9, w10, w9
	orr	w8, w9, w8
Lloh210:
	adrp	x9, _ALX_WRR_PRI1_SHIFT@GOTPAGE
Lloh211:
	ldr	x9, [x9, _ALX_WRR_PRI1_SHIFT@GOTPAGEOFF]
Lloh212:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w8, w8, w9
Lloh213:
	adrp	x9, _ALX_WRR_PRI2_SHIFT@GOTPAGE
Lloh214:
	ldr	x9, [x9, _ALX_WRR_PRI2_SHIFT@GOTPAGEOFF]
Lloh215:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w8, w8, w9
Lloh216:
	adrp	x9, _ALX_WRR_PRI3_SHIFT@GOTPAGE
Lloh217:
	ldr	x9, [x9, _ALX_WRR_PRI3_SHIFT@GOTPAGEOFF]
Lloh218:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w2, w8, w9
Lloh219:
	adrp	x8, _ALX_WRR@GOTPAGE
Lloh220:
	ldr	x8, [x8, _ALX_WRR@GOTPAGEOFF]
Lloh221:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_alx_write_mem32
	.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	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh27
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh160, Lloh161, Lloh162
	.loh AdrpLdrGotLdr	Lloh157, Lloh158, Lloh159
	.loh AdrpLdrGotLdr	Lloh154, Lloh155, Lloh156
	.loh AdrpLdrGotLdr	Lloh151, Lloh152, Lloh153
	.loh AdrpLdrGotLdr	Lloh148, Lloh149, Lloh150
	.loh AdrpLdrGotLdr	Lloh144, Lloh145, Lloh147
	.loh AdrpLdrGotLdr	Lloh142, Lloh143, Lloh146
	.loh AdrpLdrGotLdr	Lloh139, Lloh140, Lloh141
	.loh AdrpLdrGotLdr	Lloh136, Lloh137, Lloh138
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.loh AdrpLdrGotLdr	Lloh130, Lloh131, Lloh132
	.loh AdrpLdrGotLdr	Lloh127, Lloh128, Lloh129
	.loh AdrpLdrGotLdr	Lloh124, Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh166, Lloh167, Lloh168
	.loh AdrpLdrGotLdr	Lloh163, Lloh164, Lloh165
	.loh AdrpLdrGotLdr	Lloh219, Lloh220, Lloh221
	.loh AdrpLdrGotLdr	Lloh216, Lloh217, Lloh218
	.loh AdrpLdrGotLdr	Lloh213, Lloh214, Lloh215
	.loh AdrpLdrGotLdr	Lloh210, Lloh211, Lloh212
	.loh AdrpLdrGotLdr	Lloh207, Lloh208, Lloh209
	.loh AdrpLdrGotLdr	Lloh203, Lloh204, Lloh206
	.loh AdrpLdrGotLdr	Lloh201, Lloh202, Lloh205
	.loh AdrpLdrGotLdr	Lloh198, Lloh199, Lloh200
	.loh AdrpLdrGotLdr	Lloh194, Lloh195, Lloh197
	.loh AdrpLdrGotLdr	Lloh192, Lloh193, Lloh196
	.loh AdrpLdrGotLdr	Lloh189, Lloh190, Lloh191
	.loh AdrpLdrGotLdr	Lloh186, Lloh187, Lloh188
	.loh AdrpLdrGotLdr	Lloh183, Lloh184, Lloh185
	.loh AdrpLdrGotLdr	Lloh180, Lloh181, Lloh182
	.loh AdrpLdrGotLdr	Lloh176, Lloh177, Lloh179
	.loh AdrpLdrGotLdr	Lloh174, Lloh175, Lloh178
	.loh AdrpLdrGot	Lloh172, Lloh173
	.loh AdrpLdrGotLdr	Lloh169, Lloh170, Lloh171
	.cfi_endproc
                                        ; -- End function
	.comm	_ALX_CLK_GATE,4,2               ; @ALX_CLK_GATE
	.comm	_ALX_CLK_GATE_ALL,4,2           ; @ALX_CLK_GATE_ALL
	.comm	_ALX_REV_B0,8,3                 ; @ALX_REV_B0
	.comm	_ALX_IDLE_DECISN_TIMER,4,2      ; @ALX_IDLE_DECISN_TIMER
	.comm	_ALX_IDLE_DECISN_TIMER_DEF,4,2  ; @ALX_IDLE_DECISN_TIMER_DEF
	.comm	_ALX_SMB_TIMER,4,2              ; @ALX_SMB_TIMER
	.comm	_ALX_MASTER,4,2                 ; @ALX_MASTER
	.comm	_ALX_MASTER_IRQMOD2_EN,4,2      ; @ALX_MASTER_IRQMOD2_EN
	.comm	_ALX_MASTER_IRQMOD1_EN,4,2      ; @ALX_MASTER_IRQMOD1_EN
	.comm	_ALX_MASTER_SYSALVTIMER_EN,4,2  ; @ALX_MASTER_SYSALVTIMER_EN
	.comm	_ALX_IRQ_MODU_TIMER,4,2         ; @ALX_IRQ_MODU_TIMER
	.comm	_ALX_IRQ_MODU_TIMER1_SHIFT,4,2  ; @ALX_IRQ_MODU_TIMER1_SHIFT
	.comm	_ALX_INT_RETRIG,4,2             ; @ALX_INT_RETRIG
	.comm	_ALX_INT_RETRIG_TO,4,2          ; @ALX_INT_RETRIG_TO
	.comm	_ALX_TINT_TPD_THRSHLD,4,2       ; @ALX_TINT_TPD_THRSHLD
	.comm	_ALX_TINT_TIMER,4,2             ; @ALX_TINT_TIMER
	.comm	_ALX_MTU,4,2                    ; @ALX_MTU
	.comm	_ALX_MTU_JUMBO_TH,4,2           ; @ALX_MTU_JUMBO_TH
	.comm	_ETH_FCS_LEN,4,2                ; @ETH_FCS_LEN
	.comm	_VLAN_HLEN,4,2                  ; @VLAN_HLEN
	.comm	_ALX_MAC_CTRL_FAST_PAUSE,4,2    ; @ALX_MAC_CTRL_FAST_PAUSE
	.comm	_ALX_TXQ1_JUMBO_TSO_TH,4,2      ; @ALX_TXQ1_JUMBO_TSO_TH
	.comm	_ALX_TXQ1,4,2                   ; @ALX_TXQ1
	.comm	_ALX_TXQ1_ERRLGPKT_DROP_EN,4,2  ; @ALX_TXQ1_ERRLGPKT_DROP_EN
	.comm	_ALX_DEV_CTRL_MAXRRS_MIN,4,2    ; @ALX_DEV_CTRL_MAXRRS_MIN
	.comm	_ALX_TXQ_TPD_BURSTPREF_DEF,4,2  ; @ALX_TXQ_TPD_BURSTPREF_DEF
	.comm	_ALX_TXQ0_TPD_BURSTPREF_SHIFT,4,2 ; @ALX_TXQ0_TPD_BURSTPREF_SHIFT
	.comm	_ALX_TXQ0_MODE_ENHANCE,4,2      ; @ALX_TXQ0_MODE_ENHANCE
	.comm	_ALX_TXQ0_LSO_8023_EN,4,2       ; @ALX_TXQ0_LSO_8023_EN
	.comm	_ALX_TXQ0_SUPT_IPOPT,4,2        ; @ALX_TXQ0_SUPT_IPOPT
	.comm	_ALX_TXQ_TXF_BURST_PREF_DEF,4,2 ; @ALX_TXQ_TXF_BURST_PREF_DEF
	.comm	_ALX_TXQ0_TXF_BURST_PREF_SHIFT,4,2 ; @ALX_TXQ0_TXF_BURST_PREF_SHIFT
	.comm	_ALX_TXQ0,4,2                   ; @ALX_TXQ0
	.comm	_ALX_HQTPD_Q1_NUMPREF_SHIFT,4,2 ; @ALX_HQTPD_Q1_NUMPREF_SHIFT
	.comm	_ALX_HQTPD_Q2_NUMPREF_SHIFT,4,2 ; @ALX_HQTPD_Q2_NUMPREF_SHIFT
	.comm	_ALX_HQTPD_Q3_NUMPREF_SHIFT,4,2 ; @ALX_HQTPD_Q3_NUMPREF_SHIFT
	.comm	_ALX_HQTPD_BURST_EN,4,2         ; @ALX_HQTPD_BURST_EN
	.comm	_ALX_HQTPD,4,2                  ; @ALX_HQTPD
	.comm	_ALX_SRAM5,4,2                  ; @ALX_SRAM5
	.comm	_ALX_SRAM_RXF_LEN,4,2           ; @ALX_SRAM_RXF_LEN
	.comm	_ALX_SRAM_RXF_LEN_8K,4,2        ; @ALX_SRAM_RXF_LEN_8K
	.comm	_ALX_MTU_STD_ALGN,4,2           ; @ALX_MTU_STD_ALGN
	.comm	_ALX_RXQ2_RXF_FLOW_CTRL_RSVD,4,2 ; @ALX_RXQ2_RXF_FLOW_CTRL_RSVD
	.comm	_ALX_RXQ2,4,2                   ; @ALX_RXQ2
	.comm	_ALX_RXQ2_RXF_XOFF_THRESH_SHIFT,4,2 ; @ALX_RXQ2_RXF_XOFF_THRESH_SHIFT
	.comm	_ALX_RXQ2_RXF_XON_THRESH_SHIFT,4,2 ; @ALX_RXQ2_RXF_XON_THRESH_SHIFT
	.comm	_ALX_RXQ0_NUM_RFD_PREF_DEF,4,2  ; @ALX_RXQ0_NUM_RFD_PREF_DEF
	.comm	_ALX_RXQ0_NUM_RFD_PREF_SHIFT,4,2 ; @ALX_RXQ0_NUM_RFD_PREF_SHIFT
	.comm	_ALX_RXQ0_RSS_MODE_DIS,4,2      ; @ALX_RXQ0_RSS_MODE_DIS
	.comm	_ALX_RXQ0_RSS_MODE_SHIFT,4,2    ; @ALX_RXQ0_RSS_MODE_SHIFT
	.comm	_ALX_RXQ0_IDT_TBL_SIZE_DEF,4,2  ; @ALX_RXQ0_IDT_TBL_SIZE_DEF
	.comm	_ALX_RXQ0_IDT_TBL_SIZE_SHIFT,4,2 ; @ALX_RXQ0_IDT_TBL_SIZE_SHIFT
	.comm	_ALX_RXQ0_RSS_HSTYP_ALL,4,2     ; @ALX_RXQ0_RSS_HSTYP_ALL
	.comm	_ALX_RXQ0_RSS_HASH_EN,4,2       ; @ALX_RXQ0_RSS_HASH_EN
	.comm	_ALX_RXQ0_IPV6_PARSE_EN,4,2     ; @ALX_RXQ0_IPV6_PARSE_EN
	.comm	_ALX_RXQ0_ASPM_THRESH,4,2       ; @ALX_RXQ0_ASPM_THRESH
	.comm	_ALX_RXQ0_ASPM_THRESH_100M,4,2  ; @ALX_RXQ0_ASPM_THRESH_100M
	.comm	_ALX_RXQ0,4,2                   ; @ALX_RXQ0
	.comm	_ALX_DMA,4,2                    ; @ALX_DMA
	.comm	_ALX_DMA_RORDER_MODE_OUT,4,2    ; @ALX_DMA_RORDER_MODE_OUT
	.comm	_ALX_DMA_RORDER_MODE_SHIFT,4,2  ; @ALX_DMA_RORDER_MODE_SHIFT
	.comm	_ALX_DMA_RREQ_PRI_DATA,4,2      ; @ALX_DMA_RREQ_PRI_DATA
	.comm	_ALX_DMA_RREQ_BLEN_SHIFT,4,2    ; @ALX_DMA_RREQ_BLEN_SHIFT
	.comm	_ALX_DMA_WDLY_CNT_DEF,4,2       ; @ALX_DMA_WDLY_CNT_DEF
	.comm	_ALX_DMA_WDLY_CNT_SHIFT,4,2     ; @ALX_DMA_WDLY_CNT_SHIFT
	.comm	_ALX_DMA_RDLY_CNT_DEF,4,2       ; @ALX_DMA_RDLY_CNT_DEF
	.comm	_ALX_DMA_RDLY_CNT_SHIFT,4,2     ; @ALX_DMA_RDLY_CNT_SHIFT
	.comm	_ALX_DMA_RCHNL_SEL_SHIFT,4,2    ; @ALX_DMA_RCHNL_SEL_SHIFT
	.comm	_ALX_WRR_PRI_RESTRICT_NONE,4,2  ; @ALX_WRR_PRI_RESTRICT_NONE
	.comm	_ALX_WRR_PRI_SHIFT,4,2          ; @ALX_WRR_PRI_SHIFT
	.comm	_ALX_WRR_PRI0_SHIFT,4,2         ; @ALX_WRR_PRI0_SHIFT
	.comm	_ALX_WRR_PRI1_SHIFT,4,2         ; @ALX_WRR_PRI1_SHIFT
	.comm	_ALX_WRR_PRI2_SHIFT,4,2         ; @ALX_WRR_PRI2_SHIFT
	.comm	_ALX_WRR_PRI3_SHIFT,4,2         ; @ALX_WRR_PRI3_SHIFT
	.comm	_ALX_WRR,4,2                    ; @ALX_WRR
.subsections_via_symbols
