	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cas_get_settings
_cas_get_settings:                      ## @cas_get_settings
	.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	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%rax, %r14
	movl	$0, (%rbx)
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_CAS_FLAG_1000MB_CAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r15)
	je	LBB0_2
## %bb.1:
	movq	_SUPPORTED_1000baseT_Full@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%rbx)
	movq	_ADVERTISED_1000baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_2:
	addq	$12, %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movl	4(%r14), %r13d
	movl	36(%r14), %edi
	callq	_CAS_PHY_MII
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_PORT_MII@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_CAS_FLAG_SATURN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14), %eax
	jne	LBB0_7
## %bb.4:
	movq	_XCVR_EXTERNAL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_PORT_FIBRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_XCVR_INTERNAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movl	$0, 28(%rbx)
	movq	_SUPPORTED_FIBRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
	movq	_ADVERTISED_FIBRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	cmpq	$0, 24(%r14)
	je	LBB0_11
## %bb.6:
	movq	_REG_PCS_MII_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%r14), %rdi
	callq	_readl
	movl	%eax, %r12d
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	movq	%r14, %rdi
	callq	_cas_read_pcs_link_mode
	jmp	LBB0_12
LBB0_7:
	movq	_XCVR_INTERNAL@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movl	32(%r14), %eax
	movl	%eax, 28(%rbx)
	movq	_ADVERTISED_TP@GOTPCREL(%rip), %rax
	movq	_ADVERTISED_MII@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_ADVERTISED_10baseT_Half@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_ADVERTISED_10baseT_Full@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_ADVERTISED_100baseT_Half@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_ADVERTISED_100baseT_Full@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, (%rbx)
	movq	_SUPPORTED_10baseT_Half@GOTPCREL(%rip), %rax
	movq	_SUPPORTED_10baseT_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_SUPPORTED_100baseT_Half@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_SUPPORTED_100baseT_Full@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_SUPPORTED_TP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_SUPPORTED_MII@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, 4(%rbx)
	cmpq	$0, 24(%r14)
	je	LBB0_11
## %bb.9:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_cas_mif_poll
	movq	_MII_BMCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_cas_phy_read
	movl	%eax, %r12d
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	movq	%r14, %rdi
	callq	_cas_read_mii_link_mode
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_cas_mif_poll
	jmp	LBB0_12
LBB0_11:
	xorl	%r12d, %r12d
LBB0_12:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	_BMCR_ANENABLE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_15
## %bb.13:
	movq	_ADVERTISED_Autoneg@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rbx)
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rbx)
	movl	-44(%rbp), %ecx
	cmpl	$10, %ecx
	jne	LBB0_17
## %bb.14:
	movq	_SPEED_10@GOTPCREL(%rip), %rcx
	jmp	LBB0_20
LBB0_15:
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rbx)
	movq	_CAS_BMCR_SPEED1000@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	je	LBB0_21
## %bb.16:
	movq	_SPEED_1000@GOTPCREL(%rip), %rcx
	jmp	LBB0_24
LBB0_17:
	cmpl	$1000, %ecx                     ## imm = 0x3E8
	jne	LBB0_19
## %bb.18:
	movq	_SPEED_1000@GOTPCREL(%rip), %rcx
	jmp	LBB0_20
LBB0_19:
	movq	_SPEED_100@GOTPCREL(%rip), %rcx
LBB0_20:
	movq	(%rcx), %rcx
	movq	%rcx, 16(%rbx)
	cmpl	$0, -48(%rbp)
	jmp	LBB0_25
LBB0_21:
	movq	_BMCR_SPEED100@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	jne	LBB0_23
## %bb.22:
	movq	_SPEED_10@GOTPCREL(%rip), %rcx
	jmp	LBB0_24
LBB0_23:
	movq	_SPEED_100@GOTPCREL(%rip), %rcx
LBB0_24:
	movq	(%rcx), %rcx
	movq	%rcx, 16(%rbx)
	movq	_BMCR_FULLDPLX@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
LBB0_25:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rcx, %rsi
	cmoveq	%rdx, %rsi
	movl	%esi, 8(%rbx)
	movq	_link_up@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %r13d
	je	LBB0_35
## %bb.26:
	movl	8(%r14), %esi
	testl	%esi, (%rax)
	je	LBB0_28
## %bb.27:
	movq	$0, 16(%rbx)
	movl	$255, %ecx
	jmp	LBB0_34
LBB0_28:
	movq	_SPEED_10@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	_BMCR_SPEED100@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_30
## %bb.29:
	movq	_SPEED_100@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_30:
	movq	_CAS_BMCR_SPEED1000@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_33
## %bb.31:
	movq	_SPEED_1000@GOTPCREL(%rip), %rax
LBB0_32:
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
LBB0_33:
	movq	_BMCR_FULLDPLX@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	cmovel	%edx, %ecx
LBB0_34:
	movl	%ecx, 8(%rbx)
LBB0_35:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_link_up,4,2                    ## @link_up
	.comm	_SUPPORTED_Autoneg,4,2          ## @SUPPORTED_Autoneg
	.comm	_CAS_FLAG_1000MB_CAP,4,2        ## @CAS_FLAG_1000MB_CAP
	.comm	_SUPPORTED_1000baseT_Full,4,2   ## @SUPPORTED_1000baseT_Full
	.comm	_ADVERTISED_1000baseT_Full,4,2  ## @ADVERTISED_1000baseT_Full
	.comm	_PORT_MII,4,2                   ## @PORT_MII
	.comm	_CAS_FLAG_SATURN,4,2            ## @CAS_FLAG_SATURN
	.comm	_XCVR_INTERNAL,8,3              ## @XCVR_INTERNAL
	.comm	_XCVR_EXTERNAL,8,3              ## @XCVR_EXTERNAL
	.comm	_ADVERTISED_TP,4,2              ## @ADVERTISED_TP
	.comm	_ADVERTISED_MII,4,2             ## @ADVERTISED_MII
	.comm	_ADVERTISED_10baseT_Half,4,2    ## @ADVERTISED_10baseT_Half
	.comm	_ADVERTISED_10baseT_Full,4,2    ## @ADVERTISED_10baseT_Full
	.comm	_ADVERTISED_100baseT_Half,4,2   ## @ADVERTISED_100baseT_Half
	.comm	_ADVERTISED_100baseT_Full,4,2   ## @ADVERTISED_100baseT_Full
	.comm	_SUPPORTED_10baseT_Half,4,2     ## @SUPPORTED_10baseT_Half
	.comm	_SUPPORTED_10baseT_Full,4,2     ## @SUPPORTED_10baseT_Full
	.comm	_SUPPORTED_100baseT_Half,4,2    ## @SUPPORTED_100baseT_Half
	.comm	_SUPPORTED_100baseT_Full,4,2    ## @SUPPORTED_100baseT_Full
	.comm	_SUPPORTED_TP,4,2               ## @SUPPORTED_TP
	.comm	_SUPPORTED_MII,4,2              ## @SUPPORTED_MII
	.comm	_MII_BMCR,4,2                   ## @MII_BMCR
	.comm	_PORT_FIBRE,4,2                 ## @PORT_FIBRE
	.comm	_SUPPORTED_FIBRE,4,2            ## @SUPPORTED_FIBRE
	.comm	_ADVERTISED_FIBRE,4,2           ## @ADVERTISED_FIBRE
	.comm	_REG_PCS_MII_CTRL,8,3           ## @REG_PCS_MII_CTRL
	.comm	_BMCR_ANENABLE,4,2              ## @BMCR_ANENABLE
	.comm	_ADVERTISED_Autoneg,4,2         ## @ADVERTISED_Autoneg
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.comm	_SPEED_10,8,3                   ## @SPEED_10
	.comm	_SPEED_1000,8,3                 ## @SPEED_1000
	.comm	_SPEED_100,8,3                  ## @SPEED_100
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
	.comm	_DUPLEX_HALF,8,3                ## @DUPLEX_HALF
	.comm	_AUTONEG_DISABLE,4,2            ## @AUTONEG_DISABLE
	.comm	_CAS_BMCR_SPEED1000,4,2         ## @CAS_BMCR_SPEED1000
	.comm	_BMCR_SPEED100,4,2              ## @BMCR_SPEED100
	.comm	_BMCR_FULLDPLX,4,2              ## @BMCR_FULLDPLX
	.no_dead_strip	_cas_get_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cas_get_settings
_cas_get_settings:                      ; @cas_get_settings
	.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, x1
	bl	_netdev_priv
	mov	x20, x0
	str	wzr, [x19]
Lloh0:
	adrp	x8, _SUPPORTED_Autoneg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUPPORTED_Autoneg@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	ldr	w9, [x0]
Lloh3:
	adrp	x10, _CAS_FLAG_1000MB_CAP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CAS_FLAG_1000MB_CAP@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, _SUPPORTED_1000baseT_Full@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SUPPORTED_1000baseT_Full@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _ADVERTISED_1000baseT_Full@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ADVERTISED_1000baseT_Full@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
LBB0_2:
	add	x21, x20, #12
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	w23, [x20, #4]
	ldr	w0, [x20, #36]
	bl	_CAS_PHY_MII
	cbz	x0, LBB0_5
; %bb.3:
Lloh12:
	adrp	x8, _PORT_MII@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PORT_MII@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	ldr	w8, [x20]
Lloh15:
	adrp	x9, _CAS_FLAG_SATURN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CAS_FLAG_SATURN@GOTPAGEOFF]
Lloh17:
	adrp	x10, _XCVR_INTERNAL@GOTPAGE
Lloh18:
	ldr	x10, [x10, _XCVR_INTERNAL@GOTPAGEOFF]
Lloh19:
	adrp	x11, _XCVR_EXTERNAL@GOTPAGE
Lloh20:
	ldr	x11, [x11, _XCVR_EXTERNAL@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	csel	x8, x11, x10, eq
	ldr	x8, [x8]
	str	x8, [x19, #32]
	ldr	w8, [x20, #32]
	str	w8, [x19, #28]
Lloh22:
	adrp	x8, _ADVERTISED_TP@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ADVERTISED_TP@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _ADVERTISED_MII@GOTPAGE
Lloh26:
	ldr	x9, [x9, _ADVERTISED_MII@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh28:
	adrp	x9, _ADVERTISED_10baseT_Half@GOTPAGE
Lloh29:
	ldr	x9, [x9, _ADVERTISED_10baseT_Half@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh31:
	adrp	x9, _ADVERTISED_10baseT_Full@GOTPAGE
Lloh32:
	ldr	x9, [x9, _ADVERTISED_10baseT_Full@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh34:
	adrp	x9, _ADVERTISED_100baseT_Half@GOTPAGE
Lloh35:
	ldr	x9, [x9, _ADVERTISED_100baseT_Half@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh37:
	adrp	x9, _ADVERTISED_100baseT_Full@GOTPAGE
Lloh38:
	ldr	x9, [x9, _ADVERTISED_100baseT_Full@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldp	w9, w10, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
Lloh40:
	adrp	x8, _SUPPORTED_10baseT_Half@GOTPAGE
Lloh41:
	ldr	x8, [x8, _SUPPORTED_10baseT_Half@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
Lloh43:
	adrp	x9, _SUPPORTED_10baseT_Full@GOTPAGE
Lloh44:
	ldr	x9, [x9, _SUPPORTED_10baseT_Full@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
Lloh46:
	adrp	x11, _SUPPORTED_100baseT_Half@GOTPAGE
Lloh47:
	ldr	x11, [x11, _SUPPORTED_100baseT_Half@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh48:
	ldr	w9, [x11]
	orr	w8, w8, w9
Lloh49:
	adrp	x9, _SUPPORTED_100baseT_Full@GOTPAGE
Lloh50:
	ldr	x9, [x9, _SUPPORTED_100baseT_Full@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh52:
	adrp	x9, _SUPPORTED_TP@GOTPAGE
Lloh53:
	ldr	x9, [x9, _SUPPORTED_TP@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
Lloh55:
	adrp	x11, _SUPPORTED_MII@GOTPAGE
Lloh56:
	ldr	x11, [x11, _SUPPORTED_MII@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh57:
	ldr	w9, [x11]
	orr	w8, w8, w9
	orr	w8, w8, w10
	str	w8, [x19, #4]
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_7
; %bb.4:
	mov	x0, x20
	mov	w1, #0
	bl	_cas_mif_poll
Lloh58:
	adrp	x8, _MII_BMCR@GOTPAGE
Lloh59:
	ldr	x8, [x8, _MII_BMCR@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_cas_phy_read
	mov	x22, x0
	add	x1, sp, #12
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x20
	bl	_cas_read_mii_link_mode
	mov	x0, x20
	mov	w1, #1
	bl	_cas_mif_poll
	b	LBB0_8
LBB0_5:
Lloh61:
	adrp	x8, _PORT_FIBRE@GOTPAGE
Lloh62:
	ldr	x8, [x8, _PORT_FIBRE@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	str	w8, [x19, #40]
Lloh64:
	adrp	x8, _XCVR_INTERNAL@GOTPAGE
Lloh65:
	ldr	x8, [x8, _XCVR_INTERNAL@GOTPAGEOFF]
Lloh66:
	ldr	x8, [x8]
	str	x8, [x19, #32]
Lloh67:
	adrp	x8, _SUPPORTED_FIBRE@GOTPAGE
Lloh68:
	ldr	x8, [x8, _SUPPORTED_FIBRE@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	ldp	w10, w9, [x19]
	orr	w8, w9, w8
Lloh70:
	adrp	x9, _ADVERTISED_FIBRE@GOTPAGE
Lloh71:
	ldr	x9, [x9, _ADVERTISED_FIBRE@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
	orr	w9, w10, w9
	str	wzr, [x19, #28]
	stp	w9, w8, [x19]
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	x8, [x20, #16]
Lloh73:
	adrp	x9, _REG_PCS_MII_CTRL@GOTPAGE
Lloh74:
	ldr	x9, [x9, _REG_PCS_MII_CTRL@GOTPAGEOFF]
Lloh75:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x22, x0
	add	x1, sp, #12
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x20
	bl	_cas_read_pcs_link_mode
	b	LBB0_8
LBB0_7:
	mov	w22, #0
LBB0_8:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
Lloh76:
	adrp	x8, _BMCR_ANENABLE@GOTPAGE
Lloh77:
	ldr	x8, [x8, _BMCR_ANENABLE@GOTPAGEOFF]
	ldr	w9, [x8]
	tst	w9, w22
	b.eq	LBB0_11
; %bb.9:
Lloh78:
	adrp	x9, _ADVERTISED_Autoneg@GOTPAGE
Lloh79:
	ldr	x9, [x9, _ADVERTISED_Autoneg@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	ldr	w10, [x19]
	orr	w9, w10, w9
	str	w9, [x19]
Lloh81:
	adrp	x9, _AUTONEG_ENABLE@GOTPAGE
Lloh82:
	ldr	x9, [x9, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh83:
	ldr	w9, [x9]
	str	w9, [x19, #24]
	ldr	w9, [sp, #8]
	cmp	w9, #10
	b.ne	LBB0_13
; %bb.10:
Lloh84:
	adrp	x9, _SPEED_10@GOTPAGE
Lloh85:
	ldr	x9, [x9, _SPEED_10@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
Lloh86:
	adrp	x9, _AUTONEG_DISABLE@GOTPAGE
Lloh87:
	ldr	x9, [x9, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh88:
	ldr	w9, [x9]
	str	w9, [x19, #24]
Lloh89:
	adrp	x9, _CAS_BMCR_SPEED1000@GOTPAGE
Lloh90:
	ldr	x9, [x9, _CAS_BMCR_SPEED1000@GOTPAGEOFF]
Lloh91:
	ldr	w9, [x9]
	tst	w9, w22
	b.eq	LBB0_15
; %bb.12:
Lloh92:
	adrp	x9, _SPEED_1000@GOTPAGE
Lloh93:
	ldr	x9, [x9, _SPEED_1000@GOTPAGEOFF]
	b	LBB0_16
LBB0_13:
Lloh94:
	adrp	x10, _SPEED_1000@GOTPAGE
Lloh95:
	ldr	x10, [x10, _SPEED_1000@GOTPAGEOFF]
Lloh96:
	adrp	x11, _SPEED_100@GOTPAGE
Lloh97:
	ldr	x11, [x11, _SPEED_100@GOTPAGEOFF]
	cmp	w9, #1000
	csel	x9, x10, x11, eq
LBB0_14:
	ldr	x9, [x9]
	str	x9, [x19, #16]
	ldr	w11, [sp, #12]
Lloh98:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh99:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh100:
	ldr	x9, [x9]
Lloh101:
	adrp	x10, _DUPLEX_HALF@GOTPAGE
Lloh102:
	ldr	x10, [x10, _DUPLEX_HALF@GOTPAGEOFF]
Lloh103:
	ldr	x10, [x10]
	cmp	w11, #0
	b	LBB0_17
LBB0_15:
Lloh104:
	adrp	x9, _BMCR_SPEED100@GOTPAGE
Lloh105:
	ldr	x9, [x9, _BMCR_SPEED100@GOTPAGEOFF]
Lloh106:
	adrp	x10, _SPEED_100@GOTPAGE
Lloh107:
	ldr	x10, [x10, _SPEED_100@GOTPAGEOFF]
Lloh108:
	ldr	w9, [x9]
Lloh109:
	adrp	x11, _SPEED_10@GOTPAGE
Lloh110:
	ldr	x11, [x11, _SPEED_10@GOTPAGEOFF]
	tst	w9, w22
	csel	x9, x11, x10, eq
LBB0_16:
	ldr	x9, [x9]
	str	x9, [x19, #16]
Lloh111:
	adrp	x9, _BMCR_FULLDPLX@GOTPAGE
Lloh112:
	ldr	x9, [x9, _BMCR_FULLDPLX@GOTPAGEOFF]
Lloh113:
	ldr	w11, [x9]
Lloh114:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh115:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh116:
	ldr	x9, [x9]
Lloh117:
	adrp	x10, _DUPLEX_HALF@GOTPAGE
Lloh118:
	ldr	x10, [x10, _DUPLEX_HALF@GOTPAGEOFF]
Lloh119:
	ldr	x10, [x10]
	tst	w11, w22
LBB0_17:
	csel	x11, x10, x9, eq
	str	w11, [x19, #8]
Lloh120:
	adrp	x11, _link_up@GOTPAGE
Lloh121:
	ldr	x11, [x11, _link_up@GOTPAGEOFF]
Lloh122:
	ldr	w11, [x11]
	cmp	w23, w11
	b.eq	LBB0_27
; %bb.18:
	ldr	w11, [x20, #8]
	ldr	w8, [x8]
	tst	w8, w11
	b.eq	LBB0_20
; %bb.19:
	str	xzr, [x19, #16]
	mov	w8, #255
	b	LBB0_26
LBB0_20:
Lloh123:
	adrp	x8, _SPEED_10@GOTPAGE
Lloh124:
	ldr	x8, [x8, _SPEED_10@GOTPAGEOFF]
Lloh125:
	ldr	x8, [x8]
	str	x8, [x19, #16]
Lloh126:
	adrp	x8, _BMCR_SPEED100@GOTPAGE
Lloh127:
	ldr	x8, [x8, _BMCR_SPEED100@GOTPAGEOFF]
Lloh128:
	ldr	w8, [x8]
	tst	w8, w11
	b.eq	LBB0_22
; %bb.21:
Lloh129:
	adrp	x8, _SPEED_100@GOTPAGE
Lloh130:
	ldr	x8, [x8, _SPEED_100@GOTPAGEOFF]
	b	LBB0_24
LBB0_22:
Lloh131:
	adrp	x8, _CAS_BMCR_SPEED1000@GOTPAGE
Lloh132:
	ldr	x8, [x8, _CAS_BMCR_SPEED1000@GOTPAGEOFF]
Lloh133:
	ldr	w8, [x8]
	tst	w8, w11
	b.eq	LBB0_25
; %bb.23:
Lloh134:
	adrp	x8, _SPEED_1000@GOTPAGE
Lloh135:
	ldr	x8, [x8, _SPEED_1000@GOTPAGEOFF]
LBB0_24:
	ldr	x8, [x8]
	str	x8, [x19, #16]
LBB0_25:
Lloh136:
	adrp	x8, _BMCR_FULLDPLX@GOTPAGE
Lloh137:
	ldr	x8, [x8, _BMCR_FULLDPLX@GOTPAGEOFF]
Lloh138:
	ldr	w8, [x8]
	tst	w8, w11
	csel	w8, w10, w9, eq
LBB0_26:
	str	w8, [x19, #8]
LBB0_27:
	mov	w0, #0
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh21
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh109, Lloh110
	.loh AdrpLdrGot	Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh108
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpLdrGot	Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpLdrGot	Lloh134, Lloh135
	.loh AdrpLdrGotLdr	Lloh136, Lloh137, Lloh138
	.cfi_endproc
                                        ; -- End function
	.comm	_link_up,4,2                    ; @link_up
	.comm	_SUPPORTED_Autoneg,4,2          ; @SUPPORTED_Autoneg
	.comm	_CAS_FLAG_1000MB_CAP,4,2        ; @CAS_FLAG_1000MB_CAP
	.comm	_SUPPORTED_1000baseT_Full,4,2   ; @SUPPORTED_1000baseT_Full
	.comm	_ADVERTISED_1000baseT_Full,4,2  ; @ADVERTISED_1000baseT_Full
	.comm	_PORT_MII,4,2                   ; @PORT_MII
	.comm	_CAS_FLAG_SATURN,4,2            ; @CAS_FLAG_SATURN
	.comm	_XCVR_INTERNAL,8,3              ; @XCVR_INTERNAL
	.comm	_XCVR_EXTERNAL,8,3              ; @XCVR_EXTERNAL
	.comm	_ADVERTISED_TP,4,2              ; @ADVERTISED_TP
	.comm	_ADVERTISED_MII,4,2             ; @ADVERTISED_MII
	.comm	_ADVERTISED_10baseT_Half,4,2    ; @ADVERTISED_10baseT_Half
	.comm	_ADVERTISED_10baseT_Full,4,2    ; @ADVERTISED_10baseT_Full
	.comm	_ADVERTISED_100baseT_Half,4,2   ; @ADVERTISED_100baseT_Half
	.comm	_ADVERTISED_100baseT_Full,4,2   ; @ADVERTISED_100baseT_Full
	.comm	_SUPPORTED_10baseT_Half,4,2     ; @SUPPORTED_10baseT_Half
	.comm	_SUPPORTED_10baseT_Full,4,2     ; @SUPPORTED_10baseT_Full
	.comm	_SUPPORTED_100baseT_Half,4,2    ; @SUPPORTED_100baseT_Half
	.comm	_SUPPORTED_100baseT_Full,4,2    ; @SUPPORTED_100baseT_Full
	.comm	_SUPPORTED_TP,4,2               ; @SUPPORTED_TP
	.comm	_SUPPORTED_MII,4,2              ; @SUPPORTED_MII
	.comm	_MII_BMCR,4,2                   ; @MII_BMCR
	.comm	_PORT_FIBRE,4,2                 ; @PORT_FIBRE
	.comm	_SUPPORTED_FIBRE,4,2            ; @SUPPORTED_FIBRE
	.comm	_ADVERTISED_FIBRE,4,2           ; @ADVERTISED_FIBRE
	.comm	_REG_PCS_MII_CTRL,8,3           ; @REG_PCS_MII_CTRL
	.comm	_BMCR_ANENABLE,4,2              ; @BMCR_ANENABLE
	.comm	_ADVERTISED_Autoneg,4,2         ; @ADVERTISED_Autoneg
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.comm	_SPEED_10,8,3                   ; @SPEED_10
	.comm	_SPEED_1000,8,3                 ; @SPEED_1000
	.comm	_SPEED_100,8,3                  ; @SPEED_100
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
	.comm	_DUPLEX_HALF,8,3                ; @DUPLEX_HALF
	.comm	_AUTONEG_DISABLE,4,2            ; @AUTONEG_DISABLE
	.comm	_CAS_BMCR_SPEED1000,4,2         ; @CAS_BMCR_SPEED1000
	.comm	_BMCR_SPEED100,4,2              ; @BMCR_SPEED100
	.comm	_BMCR_FULLDPLX,4,2              ; @BMCR_FULLDPLX
	.no_dead_strip	_cas_get_settings
.subsections_via_symbols
