	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ntb_get_link_ksettings
_ntb_get_link_ksettings:                ## @ntb_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	_supported@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_ethtool_link_ksettings_zero_link_mode
	movl	(%r14), %esi
	movq	_Backplane@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_ethtool_link_ksettings_add_link_mode
	movq	_advertising@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_ethtool_link_ksettings_zero_link_mode
	movl	(%r15), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_ethtool_link_ksettings_add_link_mode
	movq	_SPEED_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_PORT_OTHER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	$0, 8(%rbx)
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_supported,4,2                  ## @supported
	.comm	_Backplane,4,2                  ## @Backplane
	.comm	_advertising,4,2                ## @advertising
	.comm	_SPEED_UNKNOWN,4,2              ## @SPEED_UNKNOWN
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.comm	_PORT_OTHER,4,2                 ## @PORT_OTHER
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.no_dead_strip	_ntb_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 ntb_get_link_ksettings
_ntb_get_link_ksettings:                ; @ntb_get_link_ksettings
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
Lloh0:
	adrp	x20, _supported@GOTPAGE
Lloh1:
	ldr	x20, [x20, _supported@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ethtool_link_ksettings_zero_link_mode
	ldr	w1, [x20]
Lloh2:
	adrp	x20, _Backplane@GOTPAGE
Lloh3:
	ldr	x20, [x20, _Backplane@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_ethtool_link_ksettings_add_link_mode
Lloh4:
	adrp	x21, _advertising@GOTPAGE
Lloh5:
	ldr	x21, [x21, _advertising@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_ethtool_link_ksettings_zero_link_mode
	ldr	w1, [x21]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_ethtool_link_ksettings_add_link_mode
Lloh6:
	adrp	x8, _SPEED_UNKNOWN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SPEED_UNKNOWN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh9:
	adrp	x8, _DUPLEX_FULL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _PORT_OTHER@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PORT_OTHER@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	str	xzr, [x19, #8]
Lloh15:
	adrp	x8, _AUTONEG_ENABLE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_supported,4,2                  ; @supported
	.comm	_Backplane,4,2                  ; @Backplane
	.comm	_advertising,4,2                ; @advertising
	.comm	_SPEED_UNKNOWN,4,2              ; @SPEED_UNKNOWN
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.comm	_PORT_OTHER,4,2                 ; @PORT_OTHER
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.no_dead_strip	_ntb_get_link_ksettings
.subsections_via_symbols
