	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function myri10ge_get_link_ksettings
_myri10ge_get_link_ksettings:           ## @myri10ge_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, %r15
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%r15)
	movq	_SPEED_10000@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r15)
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%r15)
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.1:
	movq	%rbx, %rdi
	movl	$45, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	incq	%rax
	movq	%rax, %rdi
	movl	$45, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	incq	%rax
	movq	%rax, %rdi
	movl	$45, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	xorl	%ecx, %ecx
	cmpb	$50, 1(%rax)
	sete	%cl
	movb	1(%rax,%rcx), %al
	addb	$-81, %al
	cmpb	$2, %al
	ja	LBB0_7
## %bb.6:
	movq	_PORT_FIBRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_supported@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FIBRE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_ethtool_link_ksettings_add_link_mode
	movq	_advertising@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_ethtool_link_ksettings_add_link_mode
	jmp	LBB0_8
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_8
LBB0_9:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_PORT_OTHER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTONEG_DISABLE,4,2            ## @AUTONEG_DISABLE
	.comm	_SPEED_10000,4,2                ## @SPEED_10000
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Missing product code\n"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid product code %s\n"

	.comm	_PORT_FIBRE,4,2                 ## @PORT_FIBRE
	.comm	_supported,4,2                  ## @supported
	.comm	_FIBRE,4,2                      ## @FIBRE
	.comm	_advertising,4,2                ## @advertising
	.comm	_PORT_OTHER,4,2                 ## @PORT_OTHER
	.no_dead_strip	_myri10ge_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 myri10ge_get_link_ksettings
_myri10ge_get_link_ksettings:           ; @myri10ge_get_link_ksettings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_netdev_priv
Lloh0:
	adrp	x8, _AUTONEG_DISABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #12]
Lloh3:
	adrp	x8, _SPEED_10000@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SPEED_10000@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #4]
	ldr	x21, [x0]
	cbz	x21, LBB0_7
; %bb.1:
	mov	x0, x21
	mov	w1, #45
	bl	_strchr
	cbz	x0, LBB0_6
; %bb.2:
	add	x0, x0, #1
	mov	w1, #45
	bl	_strchr
	cbz	x0, LBB0_6
; %bb.3:
	add	x0, x0, #1
	mov	w1, #45
	bl	_strchr
	cbz	x0, LBB0_6
; %bb.4:
	ldrb	w8, [x0, #1]!
	cmp	w8, #50
	cinc	x8, x0, eq
	ldrb	w8, [x8]
	sub	w8, w8, #81
	cmp	w8, #2
	b.hi	LBB0_10
; %bb.5:
Lloh9:
	adrp	x8, _PORT_FIBRE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PORT_FIBRE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh12:
	adrp	x8, _supported@GOTPAGE
Lloh13:
	ldr	x8, [x8, _supported@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x20, _FIBRE@GOTPAGE
Lloh16:
	ldr	x20, [x20, _FIBRE@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_ethtool_link_ksettings_add_link_mode
Lloh17:
	adrp	x8, _advertising@GOTPAGE
Lloh18:
	ldr	x8, [x8, _advertising@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_ethtool_link_ksettings_add_link_mode
	b	LBB0_9
LBB0_6:
	str	x21, [sp]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
LBB0_8:
	mov	x0, x20
	bl	_netdev_err
LBB0_9:
	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
	add	sp, sp, #64
	ret
LBB0_10:
Lloh24:
	adrp	x8, _PORT_OTHER@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PORT_OTHER@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTONEG_DISABLE,4,2            ; @AUTONEG_DISABLE
	.comm	_SPEED_10000,4,2                ; @SPEED_10000
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Missing product code\n"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid product code %s\n"

	.comm	_PORT_FIBRE,4,2                 ; @PORT_FIBRE
	.comm	_supported,4,2                  ; @supported
	.comm	_FIBRE,4,2                      ; @FIBRE
	.comm	_advertising,4,2                ; @advertising
	.comm	_PORT_OTHER,4,2                 ; @PORT_OTHER
	.no_dead_strip	_myri10ge_get_link_ksettings
.subsections_via_symbols
