	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xlgmac_get_all_hw_features     ## -- Begin function xlgmac_get_all_hw_features
	.p2align	4, 0x90
_xlgmac_get_all_hw_features:            ## @xlgmac_get_all_hw_features
	.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
	leaq	8(%rdi), %r13
	movq	_MAC_HWF0R@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	%rax, %r12
	movq	_MAC_HWF1R@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	%rax, %r15
	movq	_MAC_HWF2R@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	%rax, %r14
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	_MAC_VR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	%rax, 256(%rbx)
	movq	_MAC_HWF0R_PHYIFSEL_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF0R_PHYIFSEL_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 248(%rbx)
	movq	_MAC_HWF0R_VLHASH_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF0R_VLHASH_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 240(%rbx)
	movq	_MAC_HWF0R_SMASEL_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF0R_SMASEL_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 232(%rbx)
	movq	_MAC_HWF0R_RWKSEL_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF0R_RWKSEL_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 224(%rbx)
	movq	_MAC_HWF0R_MGKSEL_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF0R_MGKSEL_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 216(%rbx)
	movq	_MAC_HWF0R_MMCSEL_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF0R_MMCSEL_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 208(%rbx)
	movq	_MAC_HWF0R_ARPOFFSEL_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF0R_ARPOFFSEL_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 200(%rbx)
	movq	_MAC_HWF0R_TSSEL_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF0R_TSSEL_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 192(%rbx)
	movq	_MAC_HWF0R_EEESEL_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF0R_EEESEL_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 184(%rbx)
	movq	_MAC_HWF0R_TXCOESEL_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF0R_TXCOESEL_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 176(%rbx)
	movq	_MAC_HWF0R_RXCOESEL_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF0R_RXCOESEL_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 168(%rbx)
	movq	_MAC_HWF0R_ADDMACADRSEL_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF0R_ADDMACADRSEL_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 160(%rbx)
	movq	_MAC_HWF0R_TSSTSSEL_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF0R_TSSTSSEL_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 152(%rbx)
	movq	_MAC_HWF0R_SAVLANINS_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF0R_SAVLANINS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 144(%rbx)
	movq	_MAC_HWF1R_RXFIFOSIZE_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF1R_RXFIFOSIZE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 136(%rbx)
	movq	_MAC_HWF1R_TXFIFOSIZE_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF1R_TXFIFOSIZE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 128(%rbx)
	movq	_MAC_HWF1R_ADVTHWORD_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF1R_ADVTHWORD_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 120(%rbx)
	movq	_MAC_HWF1R_ADDR64_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF1R_ADDR64_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movl	%eax, 8(%rbx)
	movq	_MAC_HWF1R_DCBEN_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF1R_DCBEN_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 112(%rbx)
	movq	_MAC_HWF1R_SPHEN_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF1R_SPHEN_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 104(%rbx)
	movq	_MAC_HWF1R_TSOEN_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF1R_TSOEN_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 96(%rbx)
	movq	_MAC_HWF1R_DBGMEMA_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF1R_DBGMEMA_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 88(%rbx)
	movq	_MAC_HWF1R_RSSEN_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF1R_RSSEN_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 80(%rbx)
	movq	_MAC_HWF1R_NUMTC_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF1R_NUMTC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 16(%rbx)
	movq	_MAC_HWF1R_HASHTBLSZ_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF1R_HASHTBLSZ_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movl	%eax, 12(%rbx)
	movq	_MAC_HWF1R_L3L4FNUM_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF1R_L3L4FNUM_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 72(%rbx)
	movq	_MAC_HWF2R_RXQCNT_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF2R_RXQCNT_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 48(%rbx)
	movq	_MAC_HWF2R_TXQCNT_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF2R_TXQCNT_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 40(%rbx)
	movq	_MAC_HWF2R_RXCHCNT_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF2R_RXCHCNT_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 32(%rbx)
	movq	_MAC_HWF2R_TXCHCNT_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF2R_TXCHCNT_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 24(%rbx)
	movq	_MAC_HWF2R_PPSOUTNUM_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF2R_PPSOUTNUM_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 64(%rbx)
	movq	_MAC_HWF2R_AUXSNAPNUM_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAC_HWF2R_AUXSNAPNUM_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	callq	_XLGMAC_GET_REG_BITS
	movq	%rax, 56(%rbx)
	movl	12(%rbx), %eax
	decl	%eax
	cmpl	$2, %eax
	ja	LBB0_2
## %bb.1:
	cltq
	leaq	l_switch.table.xlgmac_get_all_hw_features(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, 12(%rbx)
LBB0_2:
	movl	8(%rbx), %eax
	xorl	%ecx, %ecx
	cmpl	$1, %eax
	sete	%cl
	leal	32(,%rcx,8), %ecx
	cmpl	$2, %eax
	movl	$48, %eax
	cmovnel	%ecx, %eax
	movl	%eax, 8(%rbx)
	incq	48(%rbx)
	movdqu	32(%rbx), %xmm0
	pcmpeqd	%xmm1, %xmm1
	psubq	%xmm1, %xmm0
	movdqu	%xmm0, 32(%rbx)
	movdqu	16(%rbx), %xmm0
	psubq	%xmm1, %xmm0
	movdqu	%xmm0, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_HWF0R,8,3                  ## @MAC_HWF0R
	.comm	_MAC_HWF1R,8,3                  ## @MAC_HWF1R
	.comm	_MAC_HWF2R,8,3                  ## @MAC_HWF2R
	.comm	_MAC_VR,8,3                     ## @MAC_VR
	.comm	_MAC_HWF0R_PHYIFSEL_POS,4,2     ## @MAC_HWF0R_PHYIFSEL_POS
	.comm	_MAC_HWF0R_PHYIFSEL_LEN,4,2     ## @MAC_HWF0R_PHYIFSEL_LEN
	.comm	_MAC_HWF0R_VLHASH_POS,4,2       ## @MAC_HWF0R_VLHASH_POS
	.comm	_MAC_HWF0R_VLHASH_LEN,4,2       ## @MAC_HWF0R_VLHASH_LEN
	.comm	_MAC_HWF0R_SMASEL_POS,4,2       ## @MAC_HWF0R_SMASEL_POS
	.comm	_MAC_HWF0R_SMASEL_LEN,4,2       ## @MAC_HWF0R_SMASEL_LEN
	.comm	_MAC_HWF0R_RWKSEL_POS,4,2       ## @MAC_HWF0R_RWKSEL_POS
	.comm	_MAC_HWF0R_RWKSEL_LEN,4,2       ## @MAC_HWF0R_RWKSEL_LEN
	.comm	_MAC_HWF0R_MGKSEL_POS,4,2       ## @MAC_HWF0R_MGKSEL_POS
	.comm	_MAC_HWF0R_MGKSEL_LEN,4,2       ## @MAC_HWF0R_MGKSEL_LEN
	.comm	_MAC_HWF0R_MMCSEL_POS,4,2       ## @MAC_HWF0R_MMCSEL_POS
	.comm	_MAC_HWF0R_MMCSEL_LEN,4,2       ## @MAC_HWF0R_MMCSEL_LEN
	.comm	_MAC_HWF0R_ARPOFFSEL_POS,4,2    ## @MAC_HWF0R_ARPOFFSEL_POS
	.comm	_MAC_HWF0R_ARPOFFSEL_LEN,4,2    ## @MAC_HWF0R_ARPOFFSEL_LEN
	.comm	_MAC_HWF0R_TSSEL_POS,4,2        ## @MAC_HWF0R_TSSEL_POS
	.comm	_MAC_HWF0R_TSSEL_LEN,4,2        ## @MAC_HWF0R_TSSEL_LEN
	.comm	_MAC_HWF0R_EEESEL_POS,4,2       ## @MAC_HWF0R_EEESEL_POS
	.comm	_MAC_HWF0R_EEESEL_LEN,4,2       ## @MAC_HWF0R_EEESEL_LEN
	.comm	_MAC_HWF0R_TXCOESEL_POS,4,2     ## @MAC_HWF0R_TXCOESEL_POS
	.comm	_MAC_HWF0R_TXCOESEL_LEN,4,2     ## @MAC_HWF0R_TXCOESEL_LEN
	.comm	_MAC_HWF0R_RXCOESEL_POS,4,2     ## @MAC_HWF0R_RXCOESEL_POS
	.comm	_MAC_HWF0R_RXCOESEL_LEN,4,2     ## @MAC_HWF0R_RXCOESEL_LEN
	.comm	_MAC_HWF0R_ADDMACADRSEL_POS,4,2 ## @MAC_HWF0R_ADDMACADRSEL_POS
	.comm	_MAC_HWF0R_ADDMACADRSEL_LEN,4,2 ## @MAC_HWF0R_ADDMACADRSEL_LEN
	.comm	_MAC_HWF0R_TSSTSSEL_POS,4,2     ## @MAC_HWF0R_TSSTSSEL_POS
	.comm	_MAC_HWF0R_TSSTSSEL_LEN,4,2     ## @MAC_HWF0R_TSSTSSEL_LEN
	.comm	_MAC_HWF0R_SAVLANINS_POS,4,2    ## @MAC_HWF0R_SAVLANINS_POS
	.comm	_MAC_HWF0R_SAVLANINS_LEN,4,2    ## @MAC_HWF0R_SAVLANINS_LEN
	.comm	_MAC_HWF1R_RXFIFOSIZE_POS,4,2   ## @MAC_HWF1R_RXFIFOSIZE_POS
	.comm	_MAC_HWF1R_RXFIFOSIZE_LEN,4,2   ## @MAC_HWF1R_RXFIFOSIZE_LEN
	.comm	_MAC_HWF1R_TXFIFOSIZE_POS,4,2   ## @MAC_HWF1R_TXFIFOSIZE_POS
	.comm	_MAC_HWF1R_TXFIFOSIZE_LEN,4,2   ## @MAC_HWF1R_TXFIFOSIZE_LEN
	.comm	_MAC_HWF1R_ADVTHWORD_POS,4,2    ## @MAC_HWF1R_ADVTHWORD_POS
	.comm	_MAC_HWF1R_ADVTHWORD_LEN,4,2    ## @MAC_HWF1R_ADVTHWORD_LEN
	.comm	_MAC_HWF1R_ADDR64_POS,4,2       ## @MAC_HWF1R_ADDR64_POS
	.comm	_MAC_HWF1R_ADDR64_LEN,4,2       ## @MAC_HWF1R_ADDR64_LEN
	.comm	_MAC_HWF1R_DCBEN_POS,4,2        ## @MAC_HWF1R_DCBEN_POS
	.comm	_MAC_HWF1R_DCBEN_LEN,4,2        ## @MAC_HWF1R_DCBEN_LEN
	.comm	_MAC_HWF1R_SPHEN_POS,4,2        ## @MAC_HWF1R_SPHEN_POS
	.comm	_MAC_HWF1R_SPHEN_LEN,4,2        ## @MAC_HWF1R_SPHEN_LEN
	.comm	_MAC_HWF1R_TSOEN_POS,4,2        ## @MAC_HWF1R_TSOEN_POS
	.comm	_MAC_HWF1R_TSOEN_LEN,4,2        ## @MAC_HWF1R_TSOEN_LEN
	.comm	_MAC_HWF1R_DBGMEMA_POS,4,2      ## @MAC_HWF1R_DBGMEMA_POS
	.comm	_MAC_HWF1R_DBGMEMA_LEN,4,2      ## @MAC_HWF1R_DBGMEMA_LEN
	.comm	_MAC_HWF1R_RSSEN_POS,4,2        ## @MAC_HWF1R_RSSEN_POS
	.comm	_MAC_HWF1R_RSSEN_LEN,4,2        ## @MAC_HWF1R_RSSEN_LEN
	.comm	_MAC_HWF1R_NUMTC_POS,4,2        ## @MAC_HWF1R_NUMTC_POS
	.comm	_MAC_HWF1R_NUMTC_LEN,4,2        ## @MAC_HWF1R_NUMTC_LEN
	.comm	_MAC_HWF1R_HASHTBLSZ_POS,4,2    ## @MAC_HWF1R_HASHTBLSZ_POS
	.comm	_MAC_HWF1R_HASHTBLSZ_LEN,4,2    ## @MAC_HWF1R_HASHTBLSZ_LEN
	.comm	_MAC_HWF1R_L3L4FNUM_POS,4,2     ## @MAC_HWF1R_L3L4FNUM_POS
	.comm	_MAC_HWF1R_L3L4FNUM_LEN,4,2     ## @MAC_HWF1R_L3L4FNUM_LEN
	.comm	_MAC_HWF2R_RXQCNT_POS,4,2       ## @MAC_HWF2R_RXQCNT_POS
	.comm	_MAC_HWF2R_RXQCNT_LEN,4,2       ## @MAC_HWF2R_RXQCNT_LEN
	.comm	_MAC_HWF2R_TXQCNT_POS,4,2       ## @MAC_HWF2R_TXQCNT_POS
	.comm	_MAC_HWF2R_TXQCNT_LEN,4,2       ## @MAC_HWF2R_TXQCNT_LEN
	.comm	_MAC_HWF2R_RXCHCNT_POS,4,2      ## @MAC_HWF2R_RXCHCNT_POS
	.comm	_MAC_HWF2R_RXCHCNT_LEN,4,2      ## @MAC_HWF2R_RXCHCNT_LEN
	.comm	_MAC_HWF2R_TXCHCNT_POS,4,2      ## @MAC_HWF2R_TXCHCNT_POS
	.comm	_MAC_HWF2R_TXCHCNT_LEN,4,2      ## @MAC_HWF2R_TXCHCNT_LEN
	.comm	_MAC_HWF2R_PPSOUTNUM_POS,4,2    ## @MAC_HWF2R_PPSOUTNUM_POS
	.comm	_MAC_HWF2R_PPSOUTNUM_LEN,4,2    ## @MAC_HWF2R_PPSOUTNUM_LEN
	.comm	_MAC_HWF2R_AUXSNAPNUM_POS,4,2   ## @MAC_HWF2R_AUXSNAPNUM_POS
	.comm	_MAC_HWF2R_AUXSNAPNUM_LEN,4,2   ## @MAC_HWF2R_AUXSNAPNUM_LEN
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.xlgmac_get_all_hw_features
l_switch.table.xlgmac_get_all_hw_features:
	.long	64                              ## 0x40
	.long	128                             ## 0x80
	.long	256                             ## 0x100

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xlgmac_get_all_hw_features     ; -- Begin function xlgmac_get_all_hw_features
	.p2align	2
_xlgmac_get_all_hw_features:            ; @xlgmac_get_all_hw_features
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	add	x23, x0, #8
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MAC_HWF0R@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAC_HWF0R@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x22, x0
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _MAC_HWF1R@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAC_HWF1R@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x21, x0
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _MAC_HWF2R@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAC_HWF2R@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x20, x0
	mov	x0, x23
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _MAC_VR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MAC_VR@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	str	x0, [x19, #256]
Lloh12:
	adrp	x8, _MAC_HWF0R_PHYIFSEL_POS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAC_HWF0R_PHYIFSEL_POS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _MAC_HWF0R_PHYIFSEL_LEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MAC_HWF0R_PHYIFSEL_LEN@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #248]
Lloh18:
	adrp	x8, _MAC_HWF0R_VLHASH_POS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MAC_HWF0R_VLHASH_POS@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _MAC_HWF0R_VLHASH_LEN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MAC_HWF0R_VLHASH_LEN@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #240]
Lloh24:
	adrp	x8, _MAC_HWF0R_SMASEL_POS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MAC_HWF0R_SMASEL_POS@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _MAC_HWF0R_SMASEL_LEN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MAC_HWF0R_SMASEL_LEN@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #232]
Lloh30:
	adrp	x8, _MAC_HWF0R_RWKSEL_POS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MAC_HWF0R_RWKSEL_POS@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x8, _MAC_HWF0R_RWKSEL_LEN@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MAC_HWF0R_RWKSEL_LEN@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #224]
Lloh36:
	adrp	x8, _MAC_HWF0R_MGKSEL_POS@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MAC_HWF0R_MGKSEL_POS@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
Lloh39:
	adrp	x8, _MAC_HWF0R_MGKSEL_LEN@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MAC_HWF0R_MGKSEL_LEN@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #216]
Lloh42:
	adrp	x8, _MAC_HWF0R_MMCSEL_POS@GOTPAGE
Lloh43:
	ldr	x8, [x8, _MAC_HWF0R_MMCSEL_POS@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
Lloh45:
	adrp	x8, _MAC_HWF0R_MMCSEL_LEN@GOTPAGE
Lloh46:
	ldr	x8, [x8, _MAC_HWF0R_MMCSEL_LEN@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #208]
Lloh48:
	adrp	x8, _MAC_HWF0R_ARPOFFSEL_POS@GOTPAGE
Lloh49:
	ldr	x8, [x8, _MAC_HWF0R_ARPOFFSEL_POS@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
Lloh51:
	adrp	x8, _MAC_HWF0R_ARPOFFSEL_LEN@GOTPAGE
Lloh52:
	ldr	x8, [x8, _MAC_HWF0R_ARPOFFSEL_LEN@GOTPAGEOFF]
Lloh53:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #200]
Lloh54:
	adrp	x8, _MAC_HWF0R_TSSEL_POS@GOTPAGE
Lloh55:
	ldr	x8, [x8, _MAC_HWF0R_TSSEL_POS@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
Lloh57:
	adrp	x8, _MAC_HWF0R_TSSEL_LEN@GOTPAGE
Lloh58:
	ldr	x8, [x8, _MAC_HWF0R_TSSEL_LEN@GOTPAGEOFF]
Lloh59:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #192]
Lloh60:
	adrp	x8, _MAC_HWF0R_EEESEL_POS@GOTPAGE
Lloh61:
	ldr	x8, [x8, _MAC_HWF0R_EEESEL_POS@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
Lloh63:
	adrp	x8, _MAC_HWF0R_EEESEL_LEN@GOTPAGE
Lloh64:
	ldr	x8, [x8, _MAC_HWF0R_EEESEL_LEN@GOTPAGEOFF]
Lloh65:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #184]
Lloh66:
	adrp	x8, _MAC_HWF0R_TXCOESEL_POS@GOTPAGE
Lloh67:
	ldr	x8, [x8, _MAC_HWF0R_TXCOESEL_POS@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
Lloh69:
	adrp	x8, _MAC_HWF0R_TXCOESEL_LEN@GOTPAGE
Lloh70:
	ldr	x8, [x8, _MAC_HWF0R_TXCOESEL_LEN@GOTPAGEOFF]
Lloh71:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #176]
Lloh72:
	adrp	x8, _MAC_HWF0R_RXCOESEL_POS@GOTPAGE
Lloh73:
	ldr	x8, [x8, _MAC_HWF0R_RXCOESEL_POS@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
Lloh75:
	adrp	x8, _MAC_HWF0R_RXCOESEL_LEN@GOTPAGE
Lloh76:
	ldr	x8, [x8, _MAC_HWF0R_RXCOESEL_LEN@GOTPAGEOFF]
Lloh77:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #168]
Lloh78:
	adrp	x8, _MAC_HWF0R_ADDMACADRSEL_POS@GOTPAGE
Lloh79:
	ldr	x8, [x8, _MAC_HWF0R_ADDMACADRSEL_POS@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
Lloh81:
	adrp	x8, _MAC_HWF0R_ADDMACADRSEL_LEN@GOTPAGE
Lloh82:
	ldr	x8, [x8, _MAC_HWF0R_ADDMACADRSEL_LEN@GOTPAGEOFF]
Lloh83:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #160]
Lloh84:
	adrp	x8, _MAC_HWF0R_TSSTSSEL_POS@GOTPAGE
Lloh85:
	ldr	x8, [x8, _MAC_HWF0R_TSSTSSEL_POS@GOTPAGEOFF]
Lloh86:
	ldr	w1, [x8]
Lloh87:
	adrp	x8, _MAC_HWF0R_TSSTSSEL_LEN@GOTPAGE
Lloh88:
	ldr	x8, [x8, _MAC_HWF0R_TSSTSSEL_LEN@GOTPAGEOFF]
Lloh89:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #152]
Lloh90:
	adrp	x8, _MAC_HWF0R_SAVLANINS_POS@GOTPAGE
Lloh91:
	ldr	x8, [x8, _MAC_HWF0R_SAVLANINS_POS@GOTPAGEOFF]
Lloh92:
	ldr	w1, [x8]
Lloh93:
	adrp	x8, _MAC_HWF0R_SAVLANINS_LEN@GOTPAGE
Lloh94:
	ldr	x8, [x8, _MAC_HWF0R_SAVLANINS_LEN@GOTPAGEOFF]
Lloh95:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #144]
Lloh96:
	adrp	x8, _MAC_HWF1R_RXFIFOSIZE_POS@GOTPAGE
Lloh97:
	ldr	x8, [x8, _MAC_HWF1R_RXFIFOSIZE_POS@GOTPAGEOFF]
Lloh98:
	ldr	w1, [x8]
Lloh99:
	adrp	x8, _MAC_HWF1R_RXFIFOSIZE_LEN@GOTPAGE
Lloh100:
	ldr	x8, [x8, _MAC_HWF1R_RXFIFOSIZE_LEN@GOTPAGEOFF]
Lloh101:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #136]
Lloh102:
	adrp	x8, _MAC_HWF1R_TXFIFOSIZE_POS@GOTPAGE
Lloh103:
	ldr	x8, [x8, _MAC_HWF1R_TXFIFOSIZE_POS@GOTPAGEOFF]
Lloh104:
	ldr	w1, [x8]
Lloh105:
	adrp	x8, _MAC_HWF1R_TXFIFOSIZE_LEN@GOTPAGE
Lloh106:
	ldr	x8, [x8, _MAC_HWF1R_TXFIFOSIZE_LEN@GOTPAGEOFF]
Lloh107:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #128]
Lloh108:
	adrp	x8, _MAC_HWF1R_ADVTHWORD_POS@GOTPAGE
Lloh109:
	ldr	x8, [x8, _MAC_HWF1R_ADVTHWORD_POS@GOTPAGEOFF]
Lloh110:
	ldr	w1, [x8]
Lloh111:
	adrp	x8, _MAC_HWF1R_ADVTHWORD_LEN@GOTPAGE
Lloh112:
	ldr	x8, [x8, _MAC_HWF1R_ADVTHWORD_LEN@GOTPAGEOFF]
Lloh113:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #120]
Lloh114:
	adrp	x8, _MAC_HWF1R_ADDR64_POS@GOTPAGE
Lloh115:
	ldr	x8, [x8, _MAC_HWF1R_ADDR64_POS@GOTPAGEOFF]
Lloh116:
	ldr	w1, [x8]
Lloh117:
	adrp	x8, _MAC_HWF1R_ADDR64_LEN@GOTPAGE
Lloh118:
	ldr	x8, [x8, _MAC_HWF1R_ADDR64_LEN@GOTPAGEOFF]
Lloh119:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_XLGMAC_GET_REG_BITS
	str	w0, [x19, #8]
Lloh120:
	adrp	x8, _MAC_HWF1R_DCBEN_POS@GOTPAGE
Lloh121:
	ldr	x8, [x8, _MAC_HWF1R_DCBEN_POS@GOTPAGEOFF]
Lloh122:
	ldr	w1, [x8]
Lloh123:
	adrp	x8, _MAC_HWF1R_DCBEN_LEN@GOTPAGE
Lloh124:
	ldr	x8, [x8, _MAC_HWF1R_DCBEN_LEN@GOTPAGEOFF]
Lloh125:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #112]
Lloh126:
	adrp	x8, _MAC_HWF1R_SPHEN_POS@GOTPAGE
Lloh127:
	ldr	x8, [x8, _MAC_HWF1R_SPHEN_POS@GOTPAGEOFF]
Lloh128:
	ldr	w1, [x8]
Lloh129:
	adrp	x8, _MAC_HWF1R_SPHEN_LEN@GOTPAGE
Lloh130:
	ldr	x8, [x8, _MAC_HWF1R_SPHEN_LEN@GOTPAGEOFF]
Lloh131:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #104]
Lloh132:
	adrp	x8, _MAC_HWF1R_TSOEN_POS@GOTPAGE
Lloh133:
	ldr	x8, [x8, _MAC_HWF1R_TSOEN_POS@GOTPAGEOFF]
Lloh134:
	ldr	w1, [x8]
Lloh135:
	adrp	x8, _MAC_HWF1R_TSOEN_LEN@GOTPAGE
Lloh136:
	ldr	x8, [x8, _MAC_HWF1R_TSOEN_LEN@GOTPAGEOFF]
Lloh137:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #96]
Lloh138:
	adrp	x8, _MAC_HWF1R_DBGMEMA_POS@GOTPAGE
Lloh139:
	ldr	x8, [x8, _MAC_HWF1R_DBGMEMA_POS@GOTPAGEOFF]
Lloh140:
	ldr	w1, [x8]
Lloh141:
	adrp	x8, _MAC_HWF1R_DBGMEMA_LEN@GOTPAGE
Lloh142:
	ldr	x8, [x8, _MAC_HWF1R_DBGMEMA_LEN@GOTPAGEOFF]
Lloh143:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #88]
Lloh144:
	adrp	x8, _MAC_HWF1R_RSSEN_POS@GOTPAGE
Lloh145:
	ldr	x8, [x8, _MAC_HWF1R_RSSEN_POS@GOTPAGEOFF]
Lloh146:
	ldr	w1, [x8]
Lloh147:
	adrp	x8, _MAC_HWF1R_RSSEN_LEN@GOTPAGE
Lloh148:
	ldr	x8, [x8, _MAC_HWF1R_RSSEN_LEN@GOTPAGEOFF]
Lloh149:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #80]
Lloh150:
	adrp	x8, _MAC_HWF1R_NUMTC_POS@GOTPAGE
Lloh151:
	ldr	x8, [x8, _MAC_HWF1R_NUMTC_POS@GOTPAGEOFF]
Lloh152:
	ldr	w1, [x8]
Lloh153:
	adrp	x8, _MAC_HWF1R_NUMTC_LEN@GOTPAGE
Lloh154:
	ldr	x8, [x8, _MAC_HWF1R_NUMTC_LEN@GOTPAGEOFF]
Lloh155:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #16]
Lloh156:
	adrp	x8, _MAC_HWF1R_HASHTBLSZ_POS@GOTPAGE
Lloh157:
	ldr	x8, [x8, _MAC_HWF1R_HASHTBLSZ_POS@GOTPAGEOFF]
Lloh158:
	ldr	w1, [x8]
Lloh159:
	adrp	x8, _MAC_HWF1R_HASHTBLSZ_LEN@GOTPAGE
Lloh160:
	ldr	x8, [x8, _MAC_HWF1R_HASHTBLSZ_LEN@GOTPAGEOFF]
Lloh161:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_XLGMAC_GET_REG_BITS
	str	w0, [x19, #12]
Lloh162:
	adrp	x8, _MAC_HWF1R_L3L4FNUM_POS@GOTPAGE
Lloh163:
	ldr	x8, [x8, _MAC_HWF1R_L3L4FNUM_POS@GOTPAGEOFF]
Lloh164:
	ldr	w1, [x8]
Lloh165:
	adrp	x8, _MAC_HWF1R_L3L4FNUM_LEN@GOTPAGE
Lloh166:
	ldr	x8, [x8, _MAC_HWF1R_L3L4FNUM_LEN@GOTPAGEOFF]
Lloh167:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #72]
Lloh168:
	adrp	x8, _MAC_HWF2R_RXQCNT_POS@GOTPAGE
Lloh169:
	ldr	x8, [x8, _MAC_HWF2R_RXQCNT_POS@GOTPAGEOFF]
Lloh170:
	ldr	w1, [x8]
Lloh171:
	adrp	x8, _MAC_HWF2R_RXQCNT_LEN@GOTPAGE
Lloh172:
	ldr	x8, [x8, _MAC_HWF2R_RXQCNT_LEN@GOTPAGEOFF]
Lloh173:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #48]
Lloh174:
	adrp	x8, _MAC_HWF2R_TXQCNT_POS@GOTPAGE
Lloh175:
	ldr	x8, [x8, _MAC_HWF2R_TXQCNT_POS@GOTPAGEOFF]
Lloh176:
	ldr	w1, [x8]
Lloh177:
	adrp	x8, _MAC_HWF2R_TXQCNT_LEN@GOTPAGE
Lloh178:
	ldr	x8, [x8, _MAC_HWF2R_TXQCNT_LEN@GOTPAGEOFF]
Lloh179:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #40]
Lloh180:
	adrp	x8, _MAC_HWF2R_RXCHCNT_POS@GOTPAGE
Lloh181:
	ldr	x8, [x8, _MAC_HWF2R_RXCHCNT_POS@GOTPAGEOFF]
Lloh182:
	ldr	w1, [x8]
Lloh183:
	adrp	x8, _MAC_HWF2R_RXCHCNT_LEN@GOTPAGE
Lloh184:
	ldr	x8, [x8, _MAC_HWF2R_RXCHCNT_LEN@GOTPAGEOFF]
Lloh185:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #32]
Lloh186:
	adrp	x8, _MAC_HWF2R_TXCHCNT_POS@GOTPAGE
Lloh187:
	ldr	x8, [x8, _MAC_HWF2R_TXCHCNT_POS@GOTPAGEOFF]
Lloh188:
	ldr	w1, [x8]
Lloh189:
	adrp	x8, _MAC_HWF2R_TXCHCNT_LEN@GOTPAGE
Lloh190:
	ldr	x8, [x8, _MAC_HWF2R_TXCHCNT_LEN@GOTPAGEOFF]
Lloh191:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #24]
Lloh192:
	adrp	x8, _MAC_HWF2R_PPSOUTNUM_POS@GOTPAGE
Lloh193:
	ldr	x8, [x8, _MAC_HWF2R_PPSOUTNUM_POS@GOTPAGEOFF]
Lloh194:
	ldr	w1, [x8]
Lloh195:
	adrp	x8, _MAC_HWF2R_PPSOUTNUM_LEN@GOTPAGE
Lloh196:
	ldr	x8, [x8, _MAC_HWF2R_PPSOUTNUM_LEN@GOTPAGEOFF]
Lloh197:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #64]
Lloh198:
	adrp	x8, _MAC_HWF2R_AUXSNAPNUM_POS@GOTPAGE
Lloh199:
	ldr	x8, [x8, _MAC_HWF2R_AUXSNAPNUM_POS@GOTPAGEOFF]
Lloh200:
	ldr	w1, [x8]
Lloh201:
	adrp	x8, _MAC_HWF2R_AUXSNAPNUM_LEN@GOTPAGE
Lloh202:
	ldr	x8, [x8, _MAC_HWF2R_AUXSNAPNUM_LEN@GOTPAGEOFF]
Lloh203:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_XLGMAC_GET_REG_BITS
	str	x0, [x19, #56]
	ldr	w8, [x19, #12]
	sub	w8, w8, #1
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh204:
	adrp	x9, l_switch.table.xlgmac_get_all_hw_features@PAGE
Lloh205:
	add	x9, x9, l_switch.table.xlgmac_get_all_hw_features@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	str	w8, [x19, #12]
LBB0_2:
	ldr	w8, [x19, #8]
	mov	w9, #32
	mov	w10, #40
	cmp	w8, #1
	csel	w9, w10, w9, eq
	mov	w10, #48
	cmp	w8, #2
	csel	w8, w10, w9, eq
	str	w8, [x19, #8]
	ldr	x8, [x19, #48]
	add	x10, x8, #1
	ldp	x9, x8, [x19, #32]
	add	x8, x8, #1
	add	x11, x9, #1
	stp	x8, x10, [x19, #40]
	ldp	x9, x8, [x19, #16]
	add	x8, x8, #1
	add	x9, x9, #1
	stp	x8, x11, [x19, #24]
	str	x9, [x19, #16]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh201, Lloh202, Lloh203
	.loh AdrpLdrGotLdr	Lloh198, Lloh199, Lloh200
	.loh AdrpLdrGotLdr	Lloh195, Lloh196, Lloh197
	.loh AdrpLdrGotLdr	Lloh192, Lloh193, Lloh194
	.loh AdrpLdrGotLdr	Lloh189, Lloh190, Lloh191
	.loh AdrpLdrGotLdr	Lloh186, Lloh187, Lloh188
	.loh AdrpLdrGotLdr	Lloh183, Lloh184, Lloh185
	.loh AdrpLdrGotLdr	Lloh180, Lloh181, Lloh182
	.loh AdrpLdrGotLdr	Lloh177, Lloh178, Lloh179
	.loh AdrpLdrGotLdr	Lloh174, Lloh175, Lloh176
	.loh AdrpLdrGotLdr	Lloh171, Lloh172, Lloh173
	.loh AdrpLdrGotLdr	Lloh168, Lloh169, Lloh170
	.loh AdrpLdrGotLdr	Lloh165, Lloh166, Lloh167
	.loh AdrpLdrGotLdr	Lloh162, Lloh163, Lloh164
	.loh AdrpLdrGotLdr	Lloh159, Lloh160, Lloh161
	.loh AdrpLdrGotLdr	Lloh156, Lloh157, Lloh158
	.loh AdrpLdrGotLdr	Lloh153, Lloh154, Lloh155
	.loh AdrpLdrGotLdr	Lloh150, Lloh151, Lloh152
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh149
	.loh AdrpLdrGotLdr	Lloh144, Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh141, Lloh142, Lloh143
	.loh AdrpLdrGotLdr	Lloh138, Lloh139, Lloh140
	.loh AdrpLdrGotLdr	Lloh135, Lloh136, Lloh137
	.loh AdrpLdrGotLdr	Lloh132, Lloh133, Lloh134
	.loh AdrpLdrGotLdr	Lloh129, Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh204, Lloh205
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_HWF0R,8,3                  ; @MAC_HWF0R
	.comm	_MAC_HWF1R,8,3                  ; @MAC_HWF1R
	.comm	_MAC_HWF2R,8,3                  ; @MAC_HWF2R
	.comm	_MAC_VR,8,3                     ; @MAC_VR
	.comm	_MAC_HWF0R_PHYIFSEL_POS,4,2     ; @MAC_HWF0R_PHYIFSEL_POS
	.comm	_MAC_HWF0R_PHYIFSEL_LEN,4,2     ; @MAC_HWF0R_PHYIFSEL_LEN
	.comm	_MAC_HWF0R_VLHASH_POS,4,2       ; @MAC_HWF0R_VLHASH_POS
	.comm	_MAC_HWF0R_VLHASH_LEN,4,2       ; @MAC_HWF0R_VLHASH_LEN
	.comm	_MAC_HWF0R_SMASEL_POS,4,2       ; @MAC_HWF0R_SMASEL_POS
	.comm	_MAC_HWF0R_SMASEL_LEN,4,2       ; @MAC_HWF0R_SMASEL_LEN
	.comm	_MAC_HWF0R_RWKSEL_POS,4,2       ; @MAC_HWF0R_RWKSEL_POS
	.comm	_MAC_HWF0R_RWKSEL_LEN,4,2       ; @MAC_HWF0R_RWKSEL_LEN
	.comm	_MAC_HWF0R_MGKSEL_POS,4,2       ; @MAC_HWF0R_MGKSEL_POS
	.comm	_MAC_HWF0R_MGKSEL_LEN,4,2       ; @MAC_HWF0R_MGKSEL_LEN
	.comm	_MAC_HWF0R_MMCSEL_POS,4,2       ; @MAC_HWF0R_MMCSEL_POS
	.comm	_MAC_HWF0R_MMCSEL_LEN,4,2       ; @MAC_HWF0R_MMCSEL_LEN
	.comm	_MAC_HWF0R_ARPOFFSEL_POS,4,2    ; @MAC_HWF0R_ARPOFFSEL_POS
	.comm	_MAC_HWF0R_ARPOFFSEL_LEN,4,2    ; @MAC_HWF0R_ARPOFFSEL_LEN
	.comm	_MAC_HWF0R_TSSEL_POS,4,2        ; @MAC_HWF0R_TSSEL_POS
	.comm	_MAC_HWF0R_TSSEL_LEN,4,2        ; @MAC_HWF0R_TSSEL_LEN
	.comm	_MAC_HWF0R_EEESEL_POS,4,2       ; @MAC_HWF0R_EEESEL_POS
	.comm	_MAC_HWF0R_EEESEL_LEN,4,2       ; @MAC_HWF0R_EEESEL_LEN
	.comm	_MAC_HWF0R_TXCOESEL_POS,4,2     ; @MAC_HWF0R_TXCOESEL_POS
	.comm	_MAC_HWF0R_TXCOESEL_LEN,4,2     ; @MAC_HWF0R_TXCOESEL_LEN
	.comm	_MAC_HWF0R_RXCOESEL_POS,4,2     ; @MAC_HWF0R_RXCOESEL_POS
	.comm	_MAC_HWF0R_RXCOESEL_LEN,4,2     ; @MAC_HWF0R_RXCOESEL_LEN
	.comm	_MAC_HWF0R_ADDMACADRSEL_POS,4,2 ; @MAC_HWF0R_ADDMACADRSEL_POS
	.comm	_MAC_HWF0R_ADDMACADRSEL_LEN,4,2 ; @MAC_HWF0R_ADDMACADRSEL_LEN
	.comm	_MAC_HWF0R_TSSTSSEL_POS,4,2     ; @MAC_HWF0R_TSSTSSEL_POS
	.comm	_MAC_HWF0R_TSSTSSEL_LEN,4,2     ; @MAC_HWF0R_TSSTSSEL_LEN
	.comm	_MAC_HWF0R_SAVLANINS_POS,4,2    ; @MAC_HWF0R_SAVLANINS_POS
	.comm	_MAC_HWF0R_SAVLANINS_LEN,4,2    ; @MAC_HWF0R_SAVLANINS_LEN
	.comm	_MAC_HWF1R_RXFIFOSIZE_POS,4,2   ; @MAC_HWF1R_RXFIFOSIZE_POS
	.comm	_MAC_HWF1R_RXFIFOSIZE_LEN,4,2   ; @MAC_HWF1R_RXFIFOSIZE_LEN
	.comm	_MAC_HWF1R_TXFIFOSIZE_POS,4,2   ; @MAC_HWF1R_TXFIFOSIZE_POS
	.comm	_MAC_HWF1R_TXFIFOSIZE_LEN,4,2   ; @MAC_HWF1R_TXFIFOSIZE_LEN
	.comm	_MAC_HWF1R_ADVTHWORD_POS,4,2    ; @MAC_HWF1R_ADVTHWORD_POS
	.comm	_MAC_HWF1R_ADVTHWORD_LEN,4,2    ; @MAC_HWF1R_ADVTHWORD_LEN
	.comm	_MAC_HWF1R_ADDR64_POS,4,2       ; @MAC_HWF1R_ADDR64_POS
	.comm	_MAC_HWF1R_ADDR64_LEN,4,2       ; @MAC_HWF1R_ADDR64_LEN
	.comm	_MAC_HWF1R_DCBEN_POS,4,2        ; @MAC_HWF1R_DCBEN_POS
	.comm	_MAC_HWF1R_DCBEN_LEN,4,2        ; @MAC_HWF1R_DCBEN_LEN
	.comm	_MAC_HWF1R_SPHEN_POS,4,2        ; @MAC_HWF1R_SPHEN_POS
	.comm	_MAC_HWF1R_SPHEN_LEN,4,2        ; @MAC_HWF1R_SPHEN_LEN
	.comm	_MAC_HWF1R_TSOEN_POS,4,2        ; @MAC_HWF1R_TSOEN_POS
	.comm	_MAC_HWF1R_TSOEN_LEN,4,2        ; @MAC_HWF1R_TSOEN_LEN
	.comm	_MAC_HWF1R_DBGMEMA_POS,4,2      ; @MAC_HWF1R_DBGMEMA_POS
	.comm	_MAC_HWF1R_DBGMEMA_LEN,4,2      ; @MAC_HWF1R_DBGMEMA_LEN
	.comm	_MAC_HWF1R_RSSEN_POS,4,2        ; @MAC_HWF1R_RSSEN_POS
	.comm	_MAC_HWF1R_RSSEN_LEN,4,2        ; @MAC_HWF1R_RSSEN_LEN
	.comm	_MAC_HWF1R_NUMTC_POS,4,2        ; @MAC_HWF1R_NUMTC_POS
	.comm	_MAC_HWF1R_NUMTC_LEN,4,2        ; @MAC_HWF1R_NUMTC_LEN
	.comm	_MAC_HWF1R_HASHTBLSZ_POS,4,2    ; @MAC_HWF1R_HASHTBLSZ_POS
	.comm	_MAC_HWF1R_HASHTBLSZ_LEN,4,2    ; @MAC_HWF1R_HASHTBLSZ_LEN
	.comm	_MAC_HWF1R_L3L4FNUM_POS,4,2     ; @MAC_HWF1R_L3L4FNUM_POS
	.comm	_MAC_HWF1R_L3L4FNUM_LEN,4,2     ; @MAC_HWF1R_L3L4FNUM_LEN
	.comm	_MAC_HWF2R_RXQCNT_POS,4,2       ; @MAC_HWF2R_RXQCNT_POS
	.comm	_MAC_HWF2R_RXQCNT_LEN,4,2       ; @MAC_HWF2R_RXQCNT_LEN
	.comm	_MAC_HWF2R_TXQCNT_POS,4,2       ; @MAC_HWF2R_TXQCNT_POS
	.comm	_MAC_HWF2R_TXQCNT_LEN,4,2       ; @MAC_HWF2R_TXQCNT_LEN
	.comm	_MAC_HWF2R_RXCHCNT_POS,4,2      ; @MAC_HWF2R_RXCHCNT_POS
	.comm	_MAC_HWF2R_RXCHCNT_LEN,4,2      ; @MAC_HWF2R_RXCHCNT_LEN
	.comm	_MAC_HWF2R_TXCHCNT_POS,4,2      ; @MAC_HWF2R_TXCHCNT_POS
	.comm	_MAC_HWF2R_TXCHCNT_LEN,4,2      ; @MAC_HWF2R_TXCHCNT_LEN
	.comm	_MAC_HWF2R_PPSOUTNUM_POS,4,2    ; @MAC_HWF2R_PPSOUTNUM_POS
	.comm	_MAC_HWF2R_PPSOUTNUM_LEN,4,2    ; @MAC_HWF2R_PPSOUTNUM_LEN
	.comm	_MAC_HWF2R_AUXSNAPNUM_POS,4,2   ; @MAC_HWF2R_AUXSNAPNUM_POS
	.comm	_MAC_HWF2R_AUXSNAPNUM_LEN,4,2   ; @MAC_HWF2R_AUXSNAPNUM_LEN
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.xlgmac_get_all_hw_features
l_switch.table.xlgmac_get_all_hw_features:
	.long	64                              ; 0x40
	.long	128                             ; 0x80
	.long	256                             ; 0x100

.subsections_via_symbols
