	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_get_link_ksettings
_i40e_get_link_ksettings:               ## @i40e_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, %r15
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	(%rax), %rax
	movq	(%rax), %r14
	movq	_I40E_AQ_LINK_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	8(%r14), %ebx
	movq	_supported@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ethtool_link_ksettings_zero_link_mode
	movq	_advertising@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ethtool_link_ksettings_zero_link_mode
	movq	%r14, %rdi
	movq	%r15, %rsi
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_i40e_get_settings_link_up
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdx
	callq	_i40e_get_settings_link_down
LBB0_3:
	movq	_I40E_AQ_AN_COMPLETED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	12(%r14), %eax
	jne	LBB0_4
## %bb.5:
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movl	$-129, %eax
	addl	4(%r14), %eax
	cmpl	$4, %eax
	ja	LBB0_7
## %bb.8:
	movq	_PORT_TP@GOTPCREL(%rip), %rbx
	movq	_TP@GOTPCREL(%rip), %r12
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movq	%r12, %r13
	movq	_supported@GOTPCREL(%rip), %rcx
	jmpq	*%rax
LBB0_10:
	movq	_PORT_DA@GOTPCREL(%rip), %rbx
	jmp	LBB0_12
LBB0_7:
	movq	_PORT_OTHER@GOTPCREL(%rip), %rbx
	jmp	LBB0_14
LBB0_11:
	movq	_PORT_FIBRE@GOTPCREL(%rip), %rbx
LBB0_12:
	movq	_FIBRE@GOTPCREL(%rip), %r12
	movq	%r12, %r13
	jmp	LBB0_13
LBB0_9:
	movq	_supported@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_Autoneg@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_ethtool_link_ksettings_add_link_mode
	movl	(%rbx), %esi
	movq	_Backplane@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r15, %rdi
	callq	_ethtool_link_ksettings_add_link_mode
	movq	_PORT_NONE@GOTPCREL(%rip), %rbx
	movq	_advertising@GOTPCREL(%rip), %rcx
LBB0_13:
	movl	(%rcx), %esi
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_ethtool_link_ksettings_add_link_mode
	movq	_advertising@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r15, %rdi
	callq	_ethtool_link_ksettings_add_link_mode
LBB0_14:
	movl	(%rbx), %eax
	movl	%eax, (%r15)
	movq	_supported@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_Pause@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_ethtool_link_ksettings_add_link_mode
	movl	(%r14), %eax
	cmpl	$134, %eax
	je	LBB0_18
## %bb.15:
	cmpl	$135, %eax
	je	LBB0_21
## %bb.16:
	cmpl	$136, %eax
	jne	LBB0_22
## %bb.17:
	movq	_advertising@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	jmp	LBB0_20
LBB0_18:
	movq	_advertising@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_19
LBB0_21:
	movq	_advertising@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_ethtool_link_ksettings_add_link_mode
	movl	(%r14), %esi
LBB0_19:
	movq	_Asym_Pause@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_20:
	movq	%r15, %rdi
	callq	_ethtool_link_ksettings_add_link_mode
	jmp	LBB0_23
LBB0_22:
	movq	_advertising@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_ethtool_link_ksettings_del_link_mode
	movl	(%r14), %esi
	movq	_Asym_Pause@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_ethtool_link_ksettings_del_link_mode
LBB0_23:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_I40E_AQ_LINK_UP,4,2            ## @I40E_AQ_LINK_UP
	.comm	_supported,4,2                  ## @supported
	.comm	_advertising,4,2                ## @advertising
	.comm	_I40E_AQ_AN_COMPLETED,4,2       ## @I40E_AQ_AN_COMPLETED
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.comm	_AUTONEG_DISABLE,4,2            ## @AUTONEG_DISABLE
	.comm	_Autoneg,4,2                    ## @Autoneg
	.comm	_Backplane,4,2                  ## @Backplane
	.comm	_PORT_NONE,4,2                  ## @PORT_NONE
	.comm	_TP,4,2                         ## @TP
	.comm	_PORT_TP,4,2                    ## @PORT_TP
	.comm	_FIBRE,4,2                      ## @FIBRE
	.comm	_PORT_DA,4,2                    ## @PORT_DA
	.comm	_PORT_FIBRE,4,2                 ## @PORT_FIBRE
	.comm	_PORT_OTHER,4,2                 ## @PORT_OTHER
	.comm	_Pause,4,2                      ## @Pause
	.comm	_Asym_Pause,4,2                 ## @Asym_Pause
	.no_dead_strip	_i40e_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 i40e_get_link_ksettings
_i40e_get_link_ksettings:               ; @i40e_get_link_ksettings
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x21, x0
	bl	_netdev_priv
	ldr	x8, [x0]
	ldr	x20, [x8]
Lloh0:
	adrp	x8, _I40E_AQ_LINK_UP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_AQ_LINK_UP@GOTPAGEOFF]
	ldr	w9, [x20, #8]
Lloh2:
	ldr	w8, [x8]
	and	w23, w8, w9
Lloh3:
	adrp	x8, _supported@GOTPAGE
Lloh4:
	ldr	x8, [x8, _supported@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ethtool_link_ksettings_zero_link_mode
Lloh6:
	adrp	x22, _advertising@GOTPAGE
Lloh7:
	ldr	x22, [x22, _advertising@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_ethtool_link_ksettings_zero_link_mode
	mov	x0, x20
	mov	x1, x19
	cbz	w23, LBB0_2
; %bb.1:
	mov	x2, x21
	mov	x3, x20
	bl	_i40e_get_settings_link_up
	b	LBB0_3
LBB0_2:
	mov	x2, x20
	bl	_i40e_get_settings_link_down
LBB0_3:
	ldr	w8, [x20, #12]
Lloh8:
	adrp	x9, _I40E_AQ_AN_COMPLETED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _I40E_AQ_AN_COMPLETED@GOTPAGEOFF]
Lloh10:
	adrp	x10, _AUTONEG_ENABLE@GOTPAGE
Lloh11:
	ldr	x10, [x10, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x11, _AUTONEG_DISABLE@GOTPAGE
Lloh14:
	ldr	x11, [x11, _AUTONEG_DISABLE@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
	ldr	w8, [x8]
	str	w8, [x19, #4]
	ldr	w8, [x20, #4]
Lloh15:
	adrp	x21, _supported@GOTPAGE
Lloh16:
	ldr	x21, [x21, _supported@GOTPAGEOFF]
	sub	w8, w8, #129
	cmp	w8, #4
	b.hi	LBB0_6
; %bb.4:
Lloh17:
	adrp	x23, _PORT_TP@GOTPAGE
Lloh18:
	ldr	x23, [x23, _PORT_TP@GOTPAGEOFF]
Lloh19:
	adrp	x24, _TP@GOTPAGE
Lloh20:
	ldr	x24, [x24, _TP@GOTPAGEOFF]
Lloh21:
	adrp	x9, lJTI0_0@PAGE
Lloh22:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	mov	x8, x21
	mov	x25, x24
	br	x10
LBB0_5:
Lloh23:
	adrp	x23, _PORT_DA@GOTPAGE
Lloh24:
	ldr	x23, [x23, _PORT_DA@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh25:
	adrp	x23, _PORT_OTHER@GOTPAGE
Lloh26:
	ldr	x23, [x23, _PORT_OTHER@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
Lloh27:
	adrp	x23, _PORT_FIBRE@GOTPAGE
Lloh28:
	ldr	x23, [x23, _PORT_FIBRE@GOTPAGEOFF]
LBB0_8:
Lloh29:
	adrp	x24, _FIBRE@GOTPAGE
Lloh30:
	ldr	x24, [x24, _FIBRE@GOTPAGEOFF]
Lloh31:
	adrp	x8, _supported@GOTPAGE
Lloh32:
	ldr	x8, [x8, _supported@GOTPAGEOFF]
	mov	x25, x24
	b	LBB0_10
LBB0_9:
	ldr	w1, [x21]
Lloh33:
	adrp	x24, _Autoneg@GOTPAGE
Lloh34:
	ldr	x24, [x24, _Autoneg@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x19
	bl	_ethtool_link_ksettings_add_link_mode
	ldr	w1, [x21]
Lloh35:
	adrp	x25, _Backplane@GOTPAGE
Lloh36:
	ldr	x25, [x25, _Backplane@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x0, x19
	bl	_ethtool_link_ksettings_add_link_mode
Lloh37:
	adrp	x23, _PORT_NONE@GOTPAGE
Lloh38:
	ldr	x23, [x23, _PORT_NONE@GOTPAGEOFF]
Lloh39:
	adrp	x8, _advertising@GOTPAGE
Lloh40:
	ldr	x8, [x8, _advertising@GOTPAGEOFF]
LBB0_10:
	ldr	w1, [x8]
	ldr	w2, [x24]
	mov	x0, x19
	bl	_ethtool_link_ksettings_add_link_mode
	ldr	w1, [x22]
	ldr	w2, [x25]
	mov	x0, x19
	bl	_ethtool_link_ksettings_add_link_mode
LBB0_11:
	ldr	w8, [x23]
	str	w8, [x19]
	ldr	w1, [x21]
Lloh41:
	adrp	x21, _Pause@GOTPAGE
Lloh42:
	ldr	x21, [x21, _Pause@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_ethtool_link_ksettings_add_link_mode
	ldr	w8, [x20]
	cmp	w8, #134
	b.eq	LBB0_16
; %bb.12:
	cmp	w8, #135
	b.eq	LBB0_15
; %bb.13:
	cmp	w8, #136
	b.ne	LBB0_18
; %bb.14:
	ldr	w1, [x22]
	ldr	w2, [x21]
	b	LBB0_17
LBB0_15:
	ldr	w1, [x22]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_ethtool_link_ksettings_add_link_mode
LBB0_16:
	ldr	w1, [x22]
Lloh43:
	adrp	x8, _Asym_Pause@GOTPAGE
Lloh44:
	ldr	x8, [x8, _Asym_Pause@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
LBB0_17:
	mov	x0, x19
	bl	_ethtool_link_ksettings_add_link_mode
	b	LBB0_19
LBB0_18:
	ldr	w1, [x22]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_ethtool_link_ksettings_del_link_mode
	ldr	w1, [x22]
Lloh46:
	adrp	x8, _Asym_Pause@GOTPAGE
Lloh47:
	ldr	x8, [x8, _Asym_Pause@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ethtool_link_ksettings_del_link_mode
LBB0_19:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
                                        ; -- End function
	.comm	_I40E_AQ_LINK_UP,4,2            ; @I40E_AQ_LINK_UP
	.comm	_supported,4,2                  ; @supported
	.comm	_advertising,4,2                ; @advertising
	.comm	_I40E_AQ_AN_COMPLETED,4,2       ; @I40E_AQ_AN_COMPLETED
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.comm	_AUTONEG_DISABLE,4,2            ; @AUTONEG_DISABLE
	.comm	_Autoneg,4,2                    ; @Autoneg
	.comm	_Backplane,4,2                  ; @Backplane
	.comm	_PORT_NONE,4,2                  ; @PORT_NONE
	.comm	_TP,4,2                         ; @TP
	.comm	_PORT_TP,4,2                    ; @PORT_TP
	.comm	_FIBRE,4,2                      ; @FIBRE
	.comm	_PORT_DA,4,2                    ; @PORT_DA
	.comm	_PORT_FIBRE,4,2                 ; @PORT_FIBRE
	.comm	_PORT_OTHER,4,2                 ; @PORT_OTHER
	.comm	_Pause,4,2                      ; @Pause
	.comm	_Asym_Pause,4,2                 ; @Asym_Pause
	.no_dead_strip	_i40e_get_link_ksettings
.subsections_via_symbols
