	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mii_ethtool_gset               ## -- Begin function mii_ethtool_gset
	.p2align	4, 0x90
_mii_ethtool_gset:                      ## @mii_ethtool_gset
	.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	_SUPPORTED_10baseT_Half@GOTPCREL(%rip), %rcx
	movq	_SUPPORTED_10baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_SUPPORTED_100baseT_Half@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SUPPORTED_100baseT_Full@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SUPPORTED_TP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_SUPPORTED_MII@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	32(%rdi), %r13
	movl	%eax, (%rsi)
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_SUPPORTED_1000baseT_Half@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SUPPORTED_1000baseT_Full@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r12)
LBB0_2:
	movq	_PORT_MII@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r12)
	movq	_XCVR_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r12)
	movl	24(%r14), %esi
	movl	%esi, 24(%r12)
	movq	_ETH_MDIO_SUPPORTS_C22@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
	movq	_ADVERTISED_TP@GOTPCREL(%rip), %rax
	movq	_ADVERTISED_MII@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 4(%r12)
	movq	_MII_BMCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	*(%r14)
	movl	%eax, %r15d
	movl	24(%r14), %esi
	movq	_MII_BMSR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	*(%r14)
	cmpq	$0, 16(%r14)
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_4
## %bb.3:
	movl	24(%r14), %esi
	movq	_MII_CTRL1000@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	*(%r14)
	movl	%eax, %ebx
	movl	24(%r14), %esi
	movq	_MII_STAT1000@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	*(%r14)
	movl	%eax, %r13d
	jmp	LBB0_5
LBB0_4:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
LBB0_5:
	movq	_BMCR_ANENABLE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_10
## %bb.6:
	movq	_ADVERTISED_Autoneg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r12)
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	_MII_ADVERTISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_mii_get_an
	orl	4(%r12), %eax
	movl	%eax, 4(%r12)
	cmpq	$0, 16(%r14)
	je	LBB0_8
## %bb.7:
	movl	%ebx, %edi
	callq	_mii_ctrl1000_to_ethtool_adv_t
	orl	4(%r12), %eax
	movl	%eax, 4(%r12)
LBB0_8:
	movq	_BMSR_ANEGCOMPLETE@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, (%rcx)
	je	LBB0_12
## %bb.9:
	movq	_MII_LPA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_mii_get_an
	movl	%eax, 8(%r12)
	movl	%r13d, %edi
	callq	_mii_stat1000_to_ethtool_lpa_t
	movl	%eax, %ebx
	orl	8(%r12), %ebx
	movl	%ebx, 8(%r12)
	movl	4(%r12), %eax
	jmp	LBB0_13
LBB0_10:
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	_BMCR_SPEED1000@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r15d, %eax
	movq	_BMCR_SPEED100@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%r15d, %ecx
	jne	LBB0_18
## %bb.11:
	movq	_SPEED_10@GOTPCREL(%rip), %rcx
	movq	_SPEED_1000@GOTPCREL(%rip), %rdx
	jmp	LBB0_19
LBB0_12:
	movl	$0, 8(%r12)
	xorl	%ebx, %ebx
LBB0_13:
	andl	%eax, %ebx
	movq	_ADVERTISED_1000baseT_Full@GOTPCREL(%rip), %r15
	movq	_ADVERTISED_1000baseT_Half@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r15), %eax
	testl	%ebx, %eax
	je	LBB0_15
## %bb.14:
	movq	_SPEED_1000@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_15:
	movq	_ADVERTISED_100baseT_Full@GOTPCREL(%rip), %r15
	movq	_ADVERTISED_100baseT_Half@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r15), %eax
	testl	%ebx, %eax
	je	LBB0_23
## %bb.16:
	movq	_SPEED_100@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ethtool_cmd_speed_set
	xorl	%eax, %eax
	testl	%ebx, (%r15)
LBB0_24:
	setne	%al
	jmp	LBB0_25
LBB0_18:
	movq	_SPEED_100@GOTPCREL(%rip), %rcx
	movq	%rcx, %rdx
LBB0_19:
	testl	%eax, %eax
	cmovneq	%rdx, %rcx
	movl	(%rcx), %esi
	movq	%r12, %rdi
	callq	_ethtool_cmd_speed_set
	movq	_BMCR_FULLDPLX@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	jne	LBB0_21
## %bb.20:
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_21:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %eax
LBB0_25:
	movl	%eax, 12(%r12)
	movl	%eax, 8(%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	_SPEED_10@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ethtool_cmd_speed_set
	movq	_ADVERTISED_10baseT_Full@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	testl	%ebx, (%rcx)
	jmp	LBB0_24
	.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	_XCVR_INTERNAL,4,2              ## @XCVR_INTERNAL
	.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,4,2                 ## @SPEED_1000
	.comm	_ADVERTISED_100baseT_Full,4,2   ## @ADVERTISED_100baseT_Full
	.comm	_ADVERTISED_100baseT_Half,4,2   ## @ADVERTISED_100baseT_Half
	.comm	_SPEED_100,4,2                  ## @SPEED_100
	.comm	_SPEED_10,4,2                   ## @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_gset               ; -- Begin function mii_ethtool_gset
	.p2align	2
_mii_ethtool_gset:                      ; @mii_ethtool_gset
	.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	x20, x1
	mov	x19, x0
	ldr	x21, [x0, #32]
Lloh0:
	adrp	x8, _SUPPORTED_10baseT_Half@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUPPORTED_10baseT_Half@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SUPPORTED_10baseT_Full@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SUPPORTED_10baseT_Full@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _SUPPORTED_100baseT_Half@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SUPPORTED_100baseT_Half@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _SUPPORTED_100baseT_Full@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SUPPORTED_100baseT_Full@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _SUPPORTED_Autoneg@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SUPPORTED_Autoneg@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _SUPPORTED_TP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SUPPORTED_TP@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _SUPPORTED_MII@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SUPPORTED_MII@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x1]
	ldr	x9, [x0, #16]
	cbz	x9, LBB0_2
; %bb.1:
Lloh21:
	adrp	x9, _SUPPORTED_1000baseT_Half@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SUPPORTED_1000baseT_Half@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _SUPPORTED_1000baseT_Full@GOTPAGE
Lloh25:
	ldr	x10, [x10, _SUPPORTED_1000baseT_Full@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	orr	w8, w9, w8
	orr	w8, w8, w10
	str	w8, [x20]
LBB0_2:
Lloh27:
	adrp	x8, _PORT_MII@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PORT_MII@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _XCVR_INTERNAL@GOTPAGE
Lloh31:
	ldr	x9, [x9, _XCVR_INTERNAL@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #28]
	ldr	w1, [x19, #24]
Lloh33:
	adrp	x8, _ETH_MDIO_SUPPORTS_C22@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ETH_MDIO_SUPPORTS_C22@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	stp	w8, w1, [x20, #20]
Lloh36:
	adrp	x8, _ADVERTISED_TP@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ADVERTISED_TP@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _ADVERTISED_MII@GOTPAGE
Lloh40:
	ldr	x9, [x9, _ADVERTISED_MII@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20, #4]
	ldr	x8, [x19]
Lloh42:
	adrp	x9, _MII_BMCR@GOTPAGE
Lloh43:
	ldr	x9, [x9, _MII_BMCR@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x9]
	mov	x0, x21
	blr	x8
	mov	x23, x0
	ldr	x8, [x19]
	ldr	w1, [x19, #24]
Lloh45:
	adrp	x9, _MII_BMSR@GOTPAGE
Lloh46:
	ldr	x9, [x9, _MII_BMSR@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x9]
	mov	x0, x21
	blr	x8
	mov	x22, x0
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x19]
	ldr	w1, [x19, #24]
Lloh48:
	adrp	x9, _MII_CTRL1000@GOTPAGE
Lloh49:
	ldr	x9, [x9, _MII_CTRL1000@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x9]
	mov	x0, x21
	blr	x8
	mov	x24, x0
	ldr	x8, [x19]
	ldr	w1, [x19, #24]
Lloh51:
	adrp	x9, _MII_STAT1000@GOTPAGE
Lloh52:
	ldr	x9, [x9, _MII_STAT1000@GOTPAGEOFF]
Lloh53:
	ldr	w2, [x9]
	mov	x0, x21
	blr	x8
	mov	x21, x0
	b	LBB0_5
LBB0_4:
	mov	w21, #0
	mov	w24, #0
LBB0_5:
Lloh54:
	adrp	x8, _BMCR_ANENABLE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _BMCR_ANENABLE@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_10
; %bb.6:
Lloh57:
	adrp	x8, _ADVERTISED_Autoneg@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ADVERTISED_Autoneg@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
Lloh60:
	adrp	x9, _AUTONEG_ENABLE@GOTPAGE
Lloh61:
	ldr	x9, [x9, _AUTONEG_ENABLE@GOTPAGEOFF]
	str	w8, [x20, #4]
Lloh62:
	ldr	w8, [x9]
	str	w8, [x20, #16]
Lloh63:
	adrp	x8, _MII_ADVERTISE@GOTPAGE
Lloh64:
	ldr	x8, [x8, _MII_ADVERTISE@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mii_get_an
	ldr	w8, [x20, #4]
	orr	w8, w8, w0
	str	w8, [x20, #4]
	ldr	x9, [x19, #16]
	cbz	x9, LBB0_8
; %bb.7:
	mov	x0, x24
	bl	_mii_ctrl1000_to_ethtool_adv_t
	ldr	w8, [x20, #4]
	orr	w8, w8, w0
	str	w8, [x20, #4]
LBB0_8:
Lloh66:
	adrp	x9, _BMSR_ANEGCOMPLETE@GOTPAGE
Lloh67:
	ldr	x9, [x9, _BMSR_ANEGCOMPLETE@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	tst	w9, w22
	b.eq	LBB0_11
; %bb.9:
Lloh69:
	adrp	x8, _MII_LPA@GOTPAGE
Lloh70:
	ldr	x8, [x8, _MII_LPA@GOTPAGEOFF]
Lloh71:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mii_get_an
	str	w0, [x20, #8]
	mov	x0, x21
	bl	_mii_stat1000_to_ethtool_lpa_t
	ldp	w8, w9, [x20, #4]
	orr	w9, w9, w0
	str	w9, [x20, #8]
	b	LBB0_12
LBB0_10:
Lloh72:
	adrp	x8, _BMCR_SPEED100@GOTPAGE
Lloh73:
	ldr	x8, [x8, _BMCR_SPEED100@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	tst	w8, w23
Lloh75:
	adrp	x8, _SPEED_100@GOTPAGE
Lloh76:
	ldr	x8, [x8, _SPEED_100@GOTPAGEOFF]
Lloh77:
	adrp	x9, _SPEED_10@GOTPAGE
Lloh78:
	ldr	x9, [x9, _SPEED_10@GOTPAGEOFF]
Lloh79:
	adrp	x10, _AUTONEG_DISABLE@GOTPAGE
Lloh80:
	ldr	x10, [x10, _AUTONEG_DISABLE@GOTPAGEOFF]
	csel	x8, x9, x8, eq
Lloh81:
	ldr	w9, [x10]
	str	w9, [x20, #16]
Lloh82:
	adrp	x9, _BMCR_SPEED1000@GOTPAGE
Lloh83:
	ldr	x9, [x9, _BMCR_SPEED1000@GOTPAGEOFF]
Lloh84:
	ldr	w9, [x9]
	and	w9, w9, w23
	ccmp	w9, #0, #4, eq
Lloh85:
	adrp	x9, _SPEED_1000@GOTPAGE
Lloh86:
	ldr	x9, [x9, _SPEED_1000@GOTPAGEOFF]
	csel	x8, x9, x8, ne
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ethtool_cmd_speed_set
Lloh87:
	adrp	x8, _BMCR_FULLDPLX@GOTPAGE
Lloh88:
	ldr	x8, [x8, _BMCR_FULLDPLX@GOTPAGEOFF]
Lloh89:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh90:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh91:
	ldr	w8, [x8]
Lloh92:
	adrp	x10, _DUPLEX_HALF@GOTPAGE
Lloh93:
	ldr	x10, [x10, _DUPLEX_HALF@GOTPAGEOFF]
	tst	w8, w23
	csel	x8, x10, x9, eq
	ldr	w8, [x8]
	b	LBB0_18
LBB0_11:
	mov	w9, #0
	str	wzr, [x20, #8]
LBB0_12:
	and	w21, w9, w8
Lloh94:
	adrp	x22, _ADVERTISED_1000baseT_Full@GOTPAGE
Lloh95:
	ldr	x22, [x22, _ADVERTISED_1000baseT_Full@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh96:
	adrp	x9, _ADVERTISED_1000baseT_Half@GOTPAGE
Lloh97:
	ldr	x9, [x9, _ADVERTISED_1000baseT_Half@GOTPAGEOFF]
Lloh98:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w21
	b.eq	LBB0_14
; %bb.13:
Lloh99:
	adrp	x8, _SPEED_1000@GOTPAGE
Lloh100:
	ldr	x8, [x8, _SPEED_1000@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
Lloh101:
	adrp	x22, _ADVERTISED_100baseT_Full@GOTPAGE
Lloh102:
	ldr	x22, [x22, _ADVERTISED_100baseT_Full@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh103:
	adrp	x9, _ADVERTISED_100baseT_Half@GOTPAGE
Lloh104:
	ldr	x9, [x9, _ADVERTISED_100baseT_Half@GOTPAGEOFF]
Lloh105:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w21
	b.eq	LBB0_19
; %bb.15:
Lloh106:
	adrp	x8, _SPEED_100@GOTPAGE
Lloh107:
	ldr	x8, [x8, _SPEED_100@GOTPAGEOFF]
LBB0_16:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ethtool_cmd_speed_set
	ldr	w8, [x22]
LBB0_17:
	tst	w8, w21
	cset	w8, ne
LBB0_18:
	str	w8, [x20, #12]
	str	w8, [x19, #8]
	mov	w0, #0
	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
LBB0_19:
Lloh108:
	adrp	x8, _SPEED_10@GOTPAGE
Lloh109:
	ldr	x8, [x8, _SPEED_10@GOTPAGEOFF]
Lloh110:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ethtool_cmd_speed_set
Lloh111:
	adrp	x8, _ADVERTISED_10baseT_Full@GOTPAGE
Lloh112:
	ldr	x8, [x8, _ADVERTISED_10baseT_Full@GOTPAGEOFF]
Lloh113:
	ldr	w8, [x8]
	b	LBB0_17
	.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	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.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	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh91
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGot	Lloh94, Lloh95
	.loh AdrpLdrGot	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGot	Lloh101, Lloh102
	.loh AdrpLdrGot	Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.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	_XCVR_INTERNAL,4,2              ; @XCVR_INTERNAL
	.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,4,2                 ; @SPEED_1000
	.comm	_ADVERTISED_100baseT_Full,4,2   ; @ADVERTISED_100baseT_Full
	.comm	_ADVERTISED_100baseT_Half,4,2   ; @ADVERTISED_100baseT_Half
	.comm	_SPEED_100,4,2                  ; @SPEED_100
	.comm	_SPEED_10,4,2                   ; @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
