	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1e_get_link_ksettings
_atl1e_get_link_ksettings:              ## @atl1e_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
	pushq	%rax
	.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	_SUPPORTED_10baseT_Half@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	_SUPPORTED_10baseT_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_SUPPORTED_100baseT_Half@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	movq	_SUPPORTED_100baseT_Full@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r13d
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r11d
	movq	_SUPPORTED_TP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	movq	16(%rax), %r10
	movq	_athr_l1e@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r9
	movq	_SUPPORTED_1000baseT_Full@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movq	_ADVERTISED_TP@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	_ADVERTISED_Autoneg@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r14d
	movq	_PORT_TP@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edx
	movl	24(%rax), %edi
	movl	%edx, 32(%rbx)
	movq	$0, 24(%rbx)
	movq	(%rax), %r8
	movq	_SPEED_0@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %r8
	jne	LBB0_1
## %bb.4:
	movq	_SPEED_UNKNOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	_DUPLEX_UNKNOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	%r8, 8(%rbx)
	movq	8(%rax), %rax
	movq	_FULL_DUPLEX@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_2
## %bb.3:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rax
LBB0_5:
	orl	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	orl	%r12d, %ecx
	orl	%r13d, %ecx
	orl	%r11d, %ecx
	orl	%r15d, %ecx
	xorl	%edx, %edx
	cmpq	%r9, %r10
	cmovnel	%edx, %esi
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	orl	%ecx, %esi
	orl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	orl	%edi, %r14d
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	4(%rbx), %edi
	callq	_ethtool_convert_legacy_u32_to_link_mode
	movl	(%rbx), %edi
	movl	%r14d, %esi
	callq	_ethtool_convert_legacy_u32_to_link_mode
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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	_athr_l1e,8,3                   ## @athr_l1e
	.comm	_SUPPORTED_1000baseT_Full,4,2   ## @SUPPORTED_1000baseT_Full
	.comm	_ADVERTISED_TP,4,2              ## @ADVERTISED_TP
	.comm	_ADVERTISED_Autoneg,4,2         ## @ADVERTISED_Autoneg
	.comm	_PORT_TP,4,2                    ## @PORT_TP
	.comm	_SPEED_0,8,3                    ## @SPEED_0
	.comm	_FULL_DUPLEX,8,3                ## @FULL_DUPLEX
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.comm	_DUPLEX_HALF,4,2                ## @DUPLEX_HALF
	.comm	_SPEED_UNKNOWN,8,3              ## @SPEED_UNKNOWN
	.comm	_DUPLEX_UNKNOWN,4,2             ## @DUPLEX_UNKNOWN
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.no_dead_strip	_atl1e_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 atl1e_get_link_ksettings
_atl1e_get_link_ksettings:              ; @atl1e_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
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]
Lloh6:
	adrp	x10, _SUPPORTED_100baseT_Half@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SUPPORTED_100baseT_Half@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _SUPPORTED_100baseT_Full@GOTPAGE
Lloh10:
	ldr	x11, [x11, _SUPPORTED_100baseT_Full@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
Lloh12:
	adrp	x12, _SUPPORTED_Autoneg@GOTPAGE
Lloh13:
	ldr	x12, [x12, _SUPPORTED_Autoneg@GOTPAGEOFF]
Lloh14:
	ldr	w12, [x12]
Lloh15:
	adrp	x13, _SUPPORTED_TP@GOTPAGE
Lloh16:
	ldr	x13, [x13, _SUPPORTED_TP@GOTPAGEOFF]
Lloh17:
	ldr	w13, [x13]
	ldr	x14, [x0, #16]
Lloh18:
	adrp	x15, _athr_l1e@GOTPAGE
Lloh19:
	ldr	x15, [x15, _athr_l1e@GOTPAGEOFF]
Lloh20:
	ldr	x15, [x15]
Lloh21:
	adrp	x16, _SUPPORTED_1000baseT_Full@GOTPAGE
Lloh22:
	ldr	x16, [x16, _SUPPORTED_1000baseT_Full@GOTPAGEOFF]
Lloh23:
	ldr	w16, [x16]
Lloh24:
	adrp	x17, _ADVERTISED_TP@GOTPAGE
Lloh25:
	ldr	x17, [x17, _ADVERTISED_TP@GOTPAGEOFF]
Lloh26:
	ldr	w17, [x17]
Lloh27:
	adrp	x1, _ADVERTISED_Autoneg@GOTPAGE
Lloh28:
	ldr	x1, [x1, _ADVERTISED_Autoneg@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x1]
	ldr	w3, [x0, #24]
Lloh30:
	adrp	x1, _PORT_TP@GOTPAGE
Lloh31:
	ldr	x1, [x1, _PORT_TP@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x1]
	str	w1, [x19, #32]
	str	xzr, [x19, #24]
	ldr	x1, [x0]
Lloh33:
	adrp	x4, _SPEED_0@GOTPAGE
Lloh34:
	ldr	x4, [x4, _SPEED_0@GOTPAGEOFF]
Lloh35:
	ldr	x4, [x4]
	cmp	x1, x4
	b.ne	LBB0_2
; %bb.1:
Lloh36:
	adrp	x0, _SPEED_UNKNOWN@GOTPAGE
Lloh37:
	ldr	x0, [x0, _SPEED_UNKNOWN@GOTPAGEOFF]
Lloh38:
	ldr	x0, [x0]
	str	x0, [x19, #8]
Lloh39:
	adrp	x0, _DUPLEX_UNKNOWN@GOTPAGE
Lloh40:
	ldr	x0, [x0, _DUPLEX_UNKNOWN@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	str	x1, [x19, #8]
	ldr	x0, [x0, #8]
Lloh41:
	adrp	x1, _FULL_DUPLEX@GOTPAGE
Lloh42:
	ldr	x1, [x1, _FULL_DUPLEX@GOTPAGEOFF]
Lloh43:
	ldr	x1, [x1]
Lloh44:
	adrp	x4, _DUPLEX_HALF@GOTPAGE
Lloh45:
	ldr	x4, [x4, _DUPLEX_HALF@GOTPAGEOFF]
Lloh46:
	adrp	x5, _DUPLEX_FULL@GOTPAGE
Lloh47:
	ldr	x5, [x5, _DUPLEX_FULL@GOTPAGEOFF]
	cmp	x0, x1
	csel	x0, x5, x4, eq
LBB0_3:
	ldr	w0, [x0]
	orr	w8, w9, w8
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w8, w8, w12
	orr	w8, w8, w13
	cmp	x14, x15
	csel	w9, w16, wzr, eq
	orr	w1, w8, w9
	orr	w8, w2, w17
	orr	w20, w8, w3
Lloh48:
	adrp	x8, _AUTONEG_ENABLE@GOTPAGE
Lloh49:
	ldr	x8, [x8, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	stp	w8, w0, [x19, #16]
	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 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 AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.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	_athr_l1e,8,3                   ; @athr_l1e
	.comm	_SUPPORTED_1000baseT_Full,4,2   ; @SUPPORTED_1000baseT_Full
	.comm	_ADVERTISED_TP,4,2              ; @ADVERTISED_TP
	.comm	_ADVERTISED_Autoneg,4,2         ; @ADVERTISED_Autoneg
	.comm	_PORT_TP,4,2                    ; @PORT_TP
	.comm	_SPEED_0,8,3                    ; @SPEED_0
	.comm	_FULL_DUPLEX,8,3                ; @FULL_DUPLEX
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.comm	_DUPLEX_HALF,4,2                ; @DUPLEX_HALF
	.comm	_SPEED_UNKNOWN,8,3              ; @SPEED_UNKNOWN
	.comm	_DUPLEX_UNKNOWN,4,2             ; @DUPLEX_UNKNOWN
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.no_dead_strip	_atl1e_get_link_ksettings
.subsections_via_symbols
