	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rio_get_link_ksettings
_rio_get_link_ksettings:                ## @rio_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	cmpq	$0, 40(%rax)
	je	LBB0_2
## %bb.1:
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rcx
	movq	_SUPPORTED_FIBRE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movq	_ADVERTISED_FIBRE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_PORT_FIBRE@GOTPCREL(%rip), %rdx
	movq	_ADVERTISED_Autoneg@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_SUPPORTED_10baseT_Half@GOTPCREL(%rip), %rcx
	movq	_SUPPORTED_10baseT_Full@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movq	_SUPPORTED_100baseT_Half@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_SUPPORTED_100baseT_Full@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_SUPPORTED_1000baseT_Full@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_SUPPORTED_MII@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_ADVERTISED_10baseT_Half@GOTPCREL(%rip), %rcx
	movq	_ADVERTISED_10baseT_Full@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	movq	_ADVERTISED_100baseT_Half@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_ADVERTISED_100baseT_Full@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_ADVERTISED_1000baseT_Full@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_ADVERTISED_Autoneg@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_PORT_MII@GOTPCREL(%rip), %rdx
	movq	_ADVERTISED_MII@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movl	(%rdx), %edx
	movl	%edx, 24(%r14)
	cmpq	$0, 32(%rax)
	je	LBB0_8
## %bb.4:
	cmpq	$0, 16(%rax)
	jne	LBB0_5
## %bb.6:
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rdx
	jmp	LBB0_7
LBB0_8:
	movq	_DUPLEX_UNKNOWN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_SPEED_UNKNOWN@GOTPCREL(%rip), %rdi
	jmp	LBB0_9
LBB0_5:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rdx
LBB0_7:
	movq	%rax, %rdi
	addq	$24, %rdi
	movl	(%rdx), %edx
LBB0_9:
	orl	%ecx, %ebx
	movl	(%rdi), %ecx
	movl	%ecx, 20(%r14)
	movl	%edx, 16(%r14)
	cmpq	$0, 8(%rax)
	jne	LBB0_10
## %bb.11:
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_10:
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rcx
LBB0_12:
	movl	(%rcx), %ecx
	movl	%ecx, 12(%r14)
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movl	4(%r14), %edi
	callq	_ethtool_convert_legacy_u32_to_link_mode
	movl	(%r14), %edi
	movl	%ebx, %esi
	callq	_ethtool_convert_legacy_u32_to_link_mode
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUPPORTED_Autoneg,4,2          ## @SUPPORTED_Autoneg
	.comm	_SUPPORTED_FIBRE,4,2            ## @SUPPORTED_FIBRE
	.comm	_ADVERTISED_Autoneg,4,2         ## @ADVERTISED_Autoneg
	.comm	_ADVERTISED_FIBRE,4,2           ## @ADVERTISED_FIBRE
	.comm	_PORT_FIBRE,4,2                 ## @PORT_FIBRE
	.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_1000baseT_Full,4,2   ## @SUPPORTED_1000baseT_Full
	.comm	_SUPPORTED_MII,4,2              ## @SUPPORTED_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	_ADVERTISED_1000baseT_Full,4,2  ## @ADVERTISED_1000baseT_Full
	.comm	_ADVERTISED_MII,4,2             ## @ADVERTISED_MII
	.comm	_PORT_MII,4,2                   ## @PORT_MII
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.comm	_DUPLEX_HALF,4,2                ## @DUPLEX_HALF
	.comm	_SPEED_UNKNOWN,4,2              ## @SPEED_UNKNOWN
	.comm	_DUPLEX_UNKNOWN,4,2             ## @DUPLEX_UNKNOWN
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.comm	_AUTONEG_DISABLE,4,2            ## @AUTONEG_DISABLE
	.no_dead_strip	_rio_get_link_ksettings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rio_get_link_ksettings
_rio_get_link_ksettings:                ; @rio_get_link_ksettings
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_netdev_priv
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SUPPORTED_Autoneg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUPPORTED_Autoneg@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SUPPORTED_FIBRE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SUPPORTED_FIBRE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _ADVERTISED_FIBRE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ADVERTISED_FIBRE@GOTPAGEOFF]
	orr	w1, w9, w8
Lloh8:
	ldr	w8, [x10]
Lloh9:
	adrp	x10, _PORT_FIBRE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PORT_FIBRE@GOTPAGEOFF]
Lloh11:
	adrp	x9, _ADVERTISED_Autoneg@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ADVERTISED_Autoneg@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh13:
	adrp	x8, _SUPPORTED_10baseT_Half@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SUPPORTED_10baseT_Half@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _SUPPORTED_10baseT_Full@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SUPPORTED_10baseT_Full@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh19:
	adrp	x9, _SUPPORTED_100baseT_Half@GOTPAGE
Lloh20:
	ldr	x9, [x9, _SUPPORTED_100baseT_Half@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
Lloh22:
	adrp	x10, _SUPPORTED_100baseT_Full@GOTPAGE
Lloh23:
	ldr	x10, [x10, _SUPPORTED_100baseT_Full@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh24:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh25:
	adrp	x9, _SUPPORTED_1000baseT_Full@GOTPAGE
Lloh26:
	ldr	x9, [x9, _SUPPORTED_1000baseT_Full@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh28:
	adrp	x9, _SUPPORTED_Autoneg@GOTPAGE
Lloh29:
	ldr	x9, [x9, _SUPPORTED_Autoneg@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
Lloh31:
	adrp	x10, _SUPPORTED_MII@GOTPAGE
Lloh32:
	ldr	x10, [x10, _SUPPORTED_MII@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh33:
	ldr	w9, [x10]
	orr	w1, w8, w9
Lloh34:
	adrp	x8, _ADVERTISED_10baseT_Half@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ADVERTISED_10baseT_Half@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
Lloh37:
	adrp	x9, _ADVERTISED_10baseT_Full@GOTPAGE
Lloh38:
	ldr	x9, [x9, _ADVERTISED_10baseT_Full@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh40:
	adrp	x9, _ADVERTISED_100baseT_Half@GOTPAGE
Lloh41:
	ldr	x9, [x9, _ADVERTISED_100baseT_Half@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh43:
	adrp	x9, _ADVERTISED_100baseT_Full@GOTPAGE
Lloh44:
	ldr	x9, [x9, _ADVERTISED_100baseT_Full@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh46:
	adrp	x9, _ADVERTISED_1000baseT_Full@GOTPAGE
Lloh47:
	ldr	x9, [x9, _ADVERTISED_1000baseT_Full@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh49:
	adrp	x9, _ADVERTISED_Autoneg@GOTPAGE
Lloh50:
	ldr	x9, [x9, _ADVERTISED_Autoneg@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh52:
	adrp	x10, _PORT_MII@GOTPAGE
Lloh53:
	ldr	x10, [x10, _PORT_MII@GOTPAGEOFF]
Lloh54:
	adrp	x9, _ADVERTISED_MII@GOTPAGE
Lloh55:
	ldr	x9, [x9, _ADVERTISED_MII@GOTPAGEOFF]
LBB0_3:
	ldr	w9, [x9]
	ldr	w10, [x10]
	str	w10, [x19, #24]
	ldr	x10, [x0, #32]
	cbz	x10, LBB0_5
; %bb.4:
	add	x10, x0, #24
Lloh56:
	adrp	x11, _DUPLEX_FULL@GOTPAGE
Lloh57:
	ldr	x11, [x11, _DUPLEX_FULL@GOTPAGEOFF]
	ldr	x12, [x0, #16]
Lloh58:
	adrp	x13, _DUPLEX_HALF@GOTPAGE
Lloh59:
	ldr	x13, [x13, _DUPLEX_HALF@GOTPAGEOFF]
	cmp	x12, #0
	csel	x11, x13, x11, eq
	ldr	w11, [x11]
	b	LBB0_6
LBB0_5:
Lloh60:
	adrp	x10, _DUPLEX_UNKNOWN@GOTPAGE
Lloh61:
	ldr	x10, [x10, _DUPLEX_UNKNOWN@GOTPAGEOFF]
Lloh62:
	ldr	w11, [x10]
Lloh63:
	adrp	x10, _SPEED_UNKNOWN@GOTPAGE
Lloh64:
	ldr	x10, [x10, _SPEED_UNKNOWN@GOTPAGEOFF]
LBB0_6:
	orr	w20, w8, w9
	ldr	w8, [x10]
	stp	w11, w8, [x19, #16]
	ldr	x8, [x0, #8]
Lloh65:
	adrp	x9, _AUTONEG_DISABLE@GOTPAGE
Lloh66:
	ldr	x9, [x9, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh67:
	adrp	x10, _AUTONEG_ENABLE@GOTPAGE
Lloh68:
	ldr	x10, [x10, _AUTONEG_ENABLE@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	str	w8, [x19, #12]
	ldr	w8, [x0]
	str	w8, [x19, #8]
	ldr	w0, [x19, #4]
	bl	_ethtool_convert_legacy_u32_to_link_mode
	ldr	w0, [x19]
	mov	x1, x20
	bl	_ethtool_convert_legacy_u32_to_link_mode
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.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 AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.cfi_endproc
                                        ; -- End function
	.comm	_SUPPORTED_Autoneg,4,2          ; @SUPPORTED_Autoneg
	.comm	_SUPPORTED_FIBRE,4,2            ; @SUPPORTED_FIBRE
	.comm	_ADVERTISED_Autoneg,4,2         ; @ADVERTISED_Autoneg
	.comm	_ADVERTISED_FIBRE,4,2           ; @ADVERTISED_FIBRE
	.comm	_PORT_FIBRE,4,2                 ; @PORT_FIBRE
	.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_1000baseT_Full,4,2   ; @SUPPORTED_1000baseT_Full
	.comm	_SUPPORTED_MII,4,2              ; @SUPPORTED_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	_ADVERTISED_1000baseT_Full,4,2  ; @ADVERTISED_1000baseT_Full
	.comm	_ADVERTISED_MII,4,2             ; @ADVERTISED_MII
	.comm	_PORT_MII,4,2                   ; @PORT_MII
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.comm	_DUPLEX_HALF,4,2                ; @DUPLEX_HALF
	.comm	_SPEED_UNKNOWN,4,2              ; @SPEED_UNKNOWN
	.comm	_DUPLEX_UNKNOWN,4,2             ; @DUPLEX_UNKNOWN
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.comm	_AUTONEG_DISABLE,4,2            ; @AUTONEG_DISABLE
	.no_dead_strip	_rio_get_link_ksettings
.subsections_via_symbols
