	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mii_ethtool_get_link_ksettings ## -- Begin function mii_ethtool_get_link_ksettings
	.p2align	4, 0x90
_mii_ethtool_get_link_ksettings:        ## @mii_ethtool_get_link_ksettings
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	16(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_SUPPORTED_10baseT_Half@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_SUPPORTED_10baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_SUPPORTED_100baseT_Half@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movq	_SUPPORTED_100baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	_SUPPORTED_TP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	_SUPPORTED_MII@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	_SUPPORTED_1000baseT_Half@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	_SUPPORTED_1000baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movq	_PORT_MII@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	32(%rdi), %r13
	movl	%eax, 44(%rsi)
	movl	24(%rdi), %esi
	movl	%esi, 40(%r14)
	movq	_ETH_MDIO_SUPPORTS_C22@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r14)
	movq	_ADVERTISED_MII@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ADVERTISED_TP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	_MII_BMCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	*(%r12)
	movl	%eax, %ebx
	movl	24(%r12), %esi
	movq	_MII_BMSR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	*(%r12)
	cmpq	$0, 16(%r12)
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	je	LBB0_1
## %bb.2:
	movl	24(%r12), %esi
	movq	_MII_CTRL1000@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	*(%r12)
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	24(%r12), %esi
	movq	_MII_STAT1000@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	*(%r12)
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
LBB0_3:
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movq	_BMCR_ANENABLE@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_15
## %bb.4:
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	_ADVERTISED_Autoneg@GOTPCREL(%rip), %rax
	movl	%r13d, %ebx
	orl	(%rax), %ebx
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movq	_MII_ADVERTISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_mii_get_an
	movl	%eax, %r13d
	orl	%ebx, %r13d
	cmpq	$0, 16(%r12)
	je	LBB0_6
## %bb.5:
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_mii_ctrl1000_to_ethtool_adv_t
	orl	%eax, %r13d
LBB0_6:
	movq	_BMSR_ANEGCOMPLETE@GOTPCREL(%rip), %rax
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_7
## %bb.8:
	movq	_MII_LPA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_mii_get_an
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movl	%eax, %r13d
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	callq	_mii_stat1000_to_ethtool_lpa_t
	movl	%eax, %ebx
	orl	%r13d, %ebx
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_9
LBB0_15:
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movq	_BMCR_SPEED1000@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	movq	_BMCR_SPEED100@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%ebx, %ecx
	jne	LBB0_16
## %bb.17:
	movq	_SPEED_10@GOTPCREL(%rip), %rcx
	movq	_SPEED_1000@GOTPCREL(%rip), %rdx
	jmp	LBB0_18
LBB0_7:
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %ecx
	andl	%r13d, %ecx
	movq	_ADVERTISED_1000baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ADVERTISED_1000baseT_Half@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%edx, %eax
	testl	%ecx, %eax
	je	LBB0_12
## %bb.10:
	movq	_SPEED_1000@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r14)
	xorl	%eax, %eax
	testl	%edx, %ecx
	jmp	LBB0_11
LBB0_12:
	movq	_ADVERTISED_100baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ADVERTISED_100baseT_Half@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%edx, %eax
	testl	%ecx, %eax
	je	LBB0_14
## %bb.13:
	movq	_SPEED_100@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r14)
	xorl	%eax, %eax
	testl	%ecx, %edx
	jmp	LBB0_11
LBB0_16:
	movq	_SPEED_100@GOTPCREL(%rip), %rcx
	movq	%rcx, %rdx
LBB0_18:
	testl	%eax, %eax
	cmovneq	%rdx, %rcx
	movq	(%rcx), %rax
	movq	%rax, 24(%r14)
	movq	_BMCR_FULLDPLX@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	jne	LBB0_19
## %bb.20:
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_19:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
LBB0_21:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	(%rax), %eax
	xorl	%ebx, %ebx
	jmp	LBB0_22
LBB0_14:
	movq	_SPEED_10@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r14)
	movq	_ADVERTISED_10baseT_Full@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
LBB0_11:
	setne	%al
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_22:
	orl	%edx, %r15d
	orl	-92(%rbp), %r15d                ## 4-byte Folded Reload
	orl	-88(%rbp), %r15d                ## 4-byte Folded Reload
	orl	-84(%rbp), %r15d                ## 4-byte Folded Reload
	orl	-80(%rbp), %r15d                ## 4-byte Folded Reload
	orl	-76(%rbp), %r15d                ## 4-byte Folded Reload
	movl	-96(%rbp), %edx                 ## 4-byte Reload
	orl	-72(%rbp), %edx                 ## 4-byte Folded Reload
	xorl	%esi, %esi
	testq	%rcx, %rcx
	cmovnel	%edx, %esi
	movl	%eax, 16(%r14)
	orl	%r15d, %esi
	movl	%eax, 8(%r12)
	movl	8(%r14), %edi
	callq	_ethtool_convert_legacy_u32_to_link_mode
	movl	4(%r14), %edi
	movl	%r13d, %esi
	callq	_ethtool_convert_legacy_u32_to_link_mode
	movl	(%r14), %edi
	movl	%ebx, %esi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ethtool_convert_legacy_u32_to_link_mode ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.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_Autoneg,4,2          ## @SUPPORTED_Autoneg
	.comm	_SUPPORTED_TP,4,2               ## @SUPPORTED_TP
	.comm	_SUPPORTED_MII,4,2              ## @SUPPORTED_MII
	.comm	_SUPPORTED_1000baseT_Half,4,2   ## @SUPPORTED_1000baseT_Half
	.comm	_SUPPORTED_1000baseT_Full,4,2   ## @SUPPORTED_1000baseT_Full
	.comm	_PORT_MII,4,2                   ## @PORT_MII
	.comm	_ETH_MDIO_SUPPORTS_C22,4,2      ## @ETH_MDIO_SUPPORTS_C22
	.comm	_ADVERTISED_TP,4,2              ## @ADVERTISED_TP
	.comm	_ADVERTISED_MII,4,2             ## @ADVERTISED_MII
	.comm	_MII_BMCR,4,2                   ## @MII_BMCR
	.comm	_MII_BMSR,4,2                   ## @MII_BMSR
	.comm	_MII_CTRL1000,4,2               ## @MII_CTRL1000
	.comm	_MII_STAT1000,4,2               ## @MII_STAT1000
	.comm	_BMCR_ANENABLE,4,2              ## @BMCR_ANENABLE
	.comm	_ADVERTISED_Autoneg,4,2         ## @ADVERTISED_Autoneg
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.comm	_MII_ADVERTISE,4,2              ## @MII_ADVERTISE
	.comm	_BMSR_ANEGCOMPLETE,4,2          ## @BMSR_ANEGCOMPLETE
	.comm	_MII_LPA,4,2                    ## @MII_LPA
	.comm	_ADVERTISED_1000baseT_Full,4,2  ## @ADVERTISED_1000baseT_Full
	.comm	_ADVERTISED_1000baseT_Half,4,2  ## @ADVERTISED_1000baseT_Half
	.comm	_SPEED_1000,8,3                 ## @SPEED_1000
	.comm	_ADVERTISED_100baseT_Full,4,2   ## @ADVERTISED_100baseT_Full
	.comm	_ADVERTISED_100baseT_Half,4,2   ## @ADVERTISED_100baseT_Half
	.comm	_SPEED_100,8,3                  ## @SPEED_100
	.comm	_SPEED_10,8,3                   ## @SPEED_10
	.comm	_ADVERTISED_10baseT_Full,4,2    ## @ADVERTISED_10baseT_Full
	.comm	_AUTONEG_DISABLE,4,2            ## @AUTONEG_DISABLE
	.comm	_BMCR_SPEED1000,4,2             ## @BMCR_SPEED1000
	.comm	_BMCR_SPEED100,4,2              ## @BMCR_SPEED100
	.comm	_BMCR_FULLDPLX,4,2              ## @BMCR_FULLDPLX
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.comm	_DUPLEX_HALF,4,2                ## @DUPLEX_HALF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mii_ethtool_get_link_ksettings ; -- Begin function mii_ethtool_get_link_ksettings
	.p2align	2
_mii_ethtool_get_link_ksettings:        ; @mii_ethtool_get_link_ksettings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0, #32]
Lloh0:
	adrp	x8, _SUPPORTED_10baseT_Half@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUPPORTED_10baseT_Half@GOTPAGEOFF]
Lloh2:
	ldr	w28, [x8]
Lloh3:
	adrp	x8, _SUPPORTED_10baseT_Full@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SUPPORTED_10baseT_Full@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
Lloh6:
	adrp	x8, _SUPPORTED_100baseT_Half@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SUPPORTED_100baseT_Half@GOTPAGEOFF]
Lloh8:
	ldr	w25, [x8]
Lloh9:
	adrp	x8, _SUPPORTED_100baseT_Full@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SUPPORTED_100baseT_Full@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
Lloh12:
	adrp	x8, _SUPPORTED_Autoneg@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SUPPORTED_Autoneg@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
Lloh15:
	adrp	x8, _SUPPORTED_TP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SUPPORTED_TP@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [sp, #32]                   ; 4-byte Folded Spill
Lloh18:
	adrp	x8, _SUPPORTED_MII@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SUPPORTED_MII@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	ldr	x8, [x0, #16]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
Lloh21:
	adrp	x8, _SUPPORTED_1000baseT_Half@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SUPPORTED_1000baseT_Half@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
Lloh24:
	adrp	x8, _SUPPORTED_1000baseT_Full@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SUPPORTED_1000baseT_Full@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
Lloh27:
	adrp	x8, _PORT_MII@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PORT_MII@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x1, #44]
	ldr	w1, [x0, #24]
Lloh30:
	adrp	x8, _ETH_MDIO_SUPPORTS_C22@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ETH_MDIO_SUPPORTS_C22@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	stp	w8, w1, [x19, #36]
Lloh33:
	adrp	x8, _ADVERTISED_TP@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ADVERTISED_TP@GOTPAGEOFF]
Lloh35:
	adrp	x9, _ADVERTISED_MII@GOTPAGE
Lloh36:
	ldr	x9, [x9, _ADVERTISED_MII@GOTPAGEOFF]
Lloh37:
	ldr	w27, [x8]
Lloh38:
	ldr	w26, [x9]
	ldr	x8, [x0]
Lloh39:
	adrp	x9, _MII_BMCR@GOTPAGE
Lloh40:
	ldr	x9, [x9, _MII_BMCR@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x9]
	mov	x0, x21
	blr	x8
	mov	x23, x0
	ldr	x8, [x20]
	ldr	w1, [x20, #24]
Lloh42:
	adrp	x9, _MII_BMSR@GOTPAGE
Lloh43:
	ldr	x9, [x9, _MII_BMSR@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x9]
	mov	x0, x21
	blr	x8
	mov	x22, x0
	ldr	x8, [x20, #16]
	str	w24, [sp, #44]                  ; 4-byte Folded Spill
	str	w25, [sp, #8]                   ; 4-byte Folded Spill
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	w1, [x20, #24]
Lloh45:
	adrp	x9, _MII_CTRL1000@GOTPAGE
Lloh46:
	ldr	x9, [x9, _MII_CTRL1000@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x9]
	mov	x0, x21
	blr	x8
	mov	x25, x0
	ldr	x8, [x20]
	ldr	w1, [x20, #24]
Lloh48:
	adrp	x9, _MII_STAT1000@GOTPAGE
Lloh49:
	ldr	x9, [x9, _MII_STAT1000@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x9]
	mov	x0, x21
	blr	x8
	mov	x24, x0
	b	LBB0_3
LBB0_2:
	mov	w24, #0
	mov	w25, #0
LBB0_3:
	orr	w21, w26, w27
Lloh51:
	adrp	x8, _BMCR_ANENABLE@GOTPAGE
Lloh52:
	ldr	x8, [x8, _BMCR_ANENABLE@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_8
; %bb.4:
Lloh54:
	adrp	x8, _ADVERTISED_Autoneg@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ADVERTISED_Autoneg@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
Lloh57:
	adrp	x9, _AUTONEG_ENABLE@GOTPAGE
Lloh58:
	ldr	x9, [x9, _AUTONEG_ENABLE@GOTPAGEOFF]
	orr	w21, w8, w21
Lloh59:
	ldr	w8, [x9]
	str	w8, [x19, #32]
Lloh60:
	adrp	x8, _MII_ADVERTISE@GOTPAGE
Lloh61:
	ldr	x8, [x8, _MII_ADVERTISE@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mii_get_an
	orr	w21, w21, w0
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x25
	bl	_mii_ctrl1000_to_ethtool_adv_t
	orr	w21, w0, w21
LBB0_6:
Lloh63:
	adrp	x8, _BMSR_ANEGCOMPLETE@GOTPAGE
Lloh64:
	ldr	x8, [x8, _BMSR_ANEGCOMPLETE@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	tst	w8, w22
	ldr	w23, [sp, #8]                   ; 4-byte Folded Reload
	b.eq	LBB0_9
; %bb.7:
Lloh66:
	adrp	x8, _MII_LPA@GOTPAGE
Lloh67:
	ldr	x8, [x8, _MII_LPA@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mii_get_an
	mov	x22, x0
	mov	x0, x24
	bl	_mii_stat1000_to_ethtool_lpa_t
	orr	w22, w0, w22
	b	LBB0_10
LBB0_8:
	mov	w22, #0
Lloh69:
	adrp	x8, _BMCR_SPEED100@GOTPAGE
Lloh70:
	ldr	x8, [x8, _BMCR_SPEED100@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	tst	w8, w23
Lloh72:
	adrp	x8, _SPEED_100@GOTPAGE
Lloh73:
	ldr	x8, [x8, _SPEED_100@GOTPAGEOFF]
Lloh74:
	adrp	x9, _SPEED_10@GOTPAGE
Lloh75:
	ldr	x9, [x9, _SPEED_10@GOTPAGEOFF]
	csel	x8, x9, x8, eq
Lloh76:
	adrp	x9, _AUTONEG_DISABLE@GOTPAGE
Lloh77:
	ldr	x9, [x9, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh78:
	ldr	w9, [x9]
	str	w9, [x19, #32]
Lloh79:
	adrp	x9, _BMCR_SPEED1000@GOTPAGE
Lloh80:
	ldr	x9, [x9, _BMCR_SPEED1000@GOTPAGEOFF]
Lloh81:
	ldr	w9, [x9]
	and	w9, w9, w23
	ccmp	w9, #0, #4, eq
Lloh82:
	adrp	x9, _SPEED_1000@GOTPAGE
Lloh83:
	ldr	x9, [x9, _SPEED_1000@GOTPAGEOFF]
	csel	x8, x9, x8, ne
	ldr	x8, [x8]
	str	x8, [x19, #24]
Lloh84:
	adrp	x8, _BMCR_FULLDPLX@GOTPAGE
Lloh85:
	ldr	x8, [x8, _BMCR_FULLDPLX@GOTPAGEOFF]
Lloh86:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh87:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh88:
	ldr	w8, [x8]
	tst	w8, w23
Lloh89:
	adrp	x8, _DUPLEX_HALF@GOTPAGE
Lloh90:
	ldr	x8, [x8, _DUPLEX_HALF@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	ldp	w12, w11, [sp, #40]             ; 8-byte Folded Reload
	ldp	w23, w0, [sp, #8]               ; 8-byte Folded Reload
	ldp	w14, w13, [sp, #32]             ; 8-byte Folded Reload
	ldr	x15, [sp, #24]                  ; 8-byte Folded Reload
	ldp	w17, w16, [sp, #16]             ; 8-byte Folded Reload
	b	LBB0_17
LBB0_9:
	mov	w22, #0
LBB0_10:
	ldp	w12, w11, [sp, #40]             ; 8-byte Folded Reload
	ldp	w14, w13, [sp, #32]             ; 8-byte Folded Reload
	ldr	x15, [sp, #24]                  ; 8-byte Folded Reload
	ldp	w17, w16, [sp, #16]             ; 8-byte Folded Reload
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	and	w8, w22, w21
Lloh91:
	adrp	x9, _ADVERTISED_1000baseT_Full@GOTPAGE
Lloh92:
	ldr	x9, [x9, _ADVERTISED_1000baseT_Full@GOTPAGEOFF]
Lloh93:
	ldr	w9, [x9]
Lloh94:
	adrp	x10, _ADVERTISED_1000baseT_Half@GOTPAGE
Lloh95:
	ldr	x10, [x10, _ADVERTISED_1000baseT_Half@GOTPAGEOFF]
Lloh96:
	ldr	w10, [x10]
	orr	w10, w10, w9
	tst	w10, w8
	b.eq	LBB0_12
; %bb.11:
Lloh97:
	adrp	x10, _SPEED_1000@GOTPAGE
Lloh98:
	ldr	x10, [x10, _SPEED_1000@GOTPAGEOFF]
Lloh99:
	ldr	x10, [x10]
	str	x10, [x19, #24]
	tst	w8, w9
	b	LBB0_16
LBB0_12:
Lloh100:
	adrp	x9, _ADVERTISED_100baseT_Full@GOTPAGE
Lloh101:
	ldr	x9, [x9, _ADVERTISED_100baseT_Full@GOTPAGEOFF]
Lloh102:
	ldr	w9, [x9]
Lloh103:
	adrp	x10, _ADVERTISED_100baseT_Half@GOTPAGE
Lloh104:
	ldr	x10, [x10, _ADVERTISED_100baseT_Half@GOTPAGEOFF]
Lloh105:
	ldr	w10, [x10]
	orr	w10, w10, w9
	tst	w10, w8
	b.eq	LBB0_14
; %bb.13:
Lloh106:
	adrp	x10, _SPEED_100@GOTPAGE
Lloh107:
	ldr	x10, [x10, _SPEED_100@GOTPAGEOFF]
Lloh108:
	ldr	x10, [x10]
	str	x10, [x19, #24]
	b	LBB0_15
LBB0_14:
Lloh109:
	adrp	x9, _SPEED_10@GOTPAGE
Lloh110:
	ldr	x9, [x9, _SPEED_10@GOTPAGEOFF]
Lloh111:
	ldr	x9, [x9]
	str	x9, [x19, #24]
Lloh112:
	adrp	x9, _ADVERTISED_10baseT_Full@GOTPAGE
Lloh113:
	ldr	x9, [x9, _ADVERTISED_10baseT_Full@GOTPAGEOFF]
Lloh114:
	ldr	w9, [x9]
LBB0_15:
	tst	w9, w8
LBB0_16:
	cset	w8, ne
LBB0_17:
	str	w8, [x19, #16]
	orr	w9, w11, w28
	orr	w9, w9, w23
	orr	w9, w9, w12
	orr	w9, w9, w13
	orr	w9, w9, w14
	orr	w9, w9, w16
	orr	w10, w0, w17
	cmp	x15, #0
	csel	w10, wzr, w10, eq
	orr	w1, w9, w10
	str	w8, [x20, #8]
	ldr	w0, [x19, #8]
	bl	_ethtool_convert_legacy_u32_to_link_mode
	ldr	w0, [x19, #4]
	mov	x1, x21
	bl	_ethtool_convert_legacy_u32_to_link_mode
	ldr	w0, [x19]
	mov	x1, x22
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_ethtool_convert_legacy_u32_to_link_mode
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh37
	.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 AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh88
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.cfi_endproc
                                        ; -- End function
	.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_Autoneg,4,2          ; @SUPPORTED_Autoneg
	.comm	_SUPPORTED_TP,4,2               ; @SUPPORTED_TP
	.comm	_SUPPORTED_MII,4,2              ; @SUPPORTED_MII
	.comm	_SUPPORTED_1000baseT_Half,4,2   ; @SUPPORTED_1000baseT_Half
	.comm	_SUPPORTED_1000baseT_Full,4,2   ; @SUPPORTED_1000baseT_Full
	.comm	_PORT_MII,4,2                   ; @PORT_MII
	.comm	_ETH_MDIO_SUPPORTS_C22,4,2      ; @ETH_MDIO_SUPPORTS_C22
	.comm	_ADVERTISED_TP,4,2              ; @ADVERTISED_TP
	.comm	_ADVERTISED_MII,4,2             ; @ADVERTISED_MII
	.comm	_MII_BMCR,4,2                   ; @MII_BMCR
	.comm	_MII_BMSR,4,2                   ; @MII_BMSR
	.comm	_MII_CTRL1000,4,2               ; @MII_CTRL1000
	.comm	_MII_STAT1000,4,2               ; @MII_STAT1000
	.comm	_BMCR_ANENABLE,4,2              ; @BMCR_ANENABLE
	.comm	_ADVERTISED_Autoneg,4,2         ; @ADVERTISED_Autoneg
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.comm	_MII_ADVERTISE,4,2              ; @MII_ADVERTISE
	.comm	_BMSR_ANEGCOMPLETE,4,2          ; @BMSR_ANEGCOMPLETE
	.comm	_MII_LPA,4,2                    ; @MII_LPA
	.comm	_ADVERTISED_1000baseT_Full,4,2  ; @ADVERTISED_1000baseT_Full
	.comm	_ADVERTISED_1000baseT_Half,4,2  ; @ADVERTISED_1000baseT_Half
	.comm	_SPEED_1000,8,3                 ; @SPEED_1000
	.comm	_ADVERTISED_100baseT_Full,4,2   ; @ADVERTISED_100baseT_Full
	.comm	_ADVERTISED_100baseT_Half,4,2   ; @ADVERTISED_100baseT_Half
	.comm	_SPEED_100,8,3                  ; @SPEED_100
	.comm	_SPEED_10,8,3                   ; @SPEED_10
	.comm	_ADVERTISED_10baseT_Full,4,2    ; @ADVERTISED_10baseT_Full
	.comm	_AUTONEG_DISABLE,4,2            ; @AUTONEG_DISABLE
	.comm	_BMCR_SPEED1000,4,2             ; @BMCR_SPEED1000
	.comm	_BMCR_SPEED100,4,2              ; @BMCR_SPEED100
	.comm	_BMCR_FULLDPLX,4,2              ; @BMCR_FULLDPLX
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.comm	_DUPLEX_HALF,4,2                ; @DUPLEX_HALF
.subsections_via_symbols
