	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_set_link_ksettings
_mlx4_en_set_link_ksettings:            ## @mlx4_en_set_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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	movl	24(%r14), %edi
	movq	_ADVERTISED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ethtool2ptys_link_modes
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%r14), %r13d
	movq	_DRV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___ETHTOOL_LINK_MODE_MASK_NBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	24(%r14), %r9d
	movups	8(%r14), %xmm0
	movups	%xmm0, (%rsp)
	leaq	L_.str(%rip), %rdx
	xorl	%r12d, %r12d
	movq	%r15, %rsi
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_en_dbg
	movq	(%r15), %rax
	movq	8(%rax), %rax
	movq	_MLX4_DEV_CAP_FLAG2_ETH_PROT_CTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	16(%r14), %rax
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	leaq	-72(%rbp), %rbx
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	movl	8(%r15), %eax
	movl	%eax, -56(%rbp)
	movq	_MLX4_PTYS_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	(%r15), %rax
	movq	8(%rax), %rdi
	movq	_MLX4_ACCESS_REG_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_mlx4_ACCESS_PTYS_REG
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_en_warn
LBB0_5:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_MLX4_PTYS_AN_DISABLE_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rbx
	testl	%ecx, -72(%rbp)
	jne	LBB0_8
## %bb.7:
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
LBB0_8:
	cmpq	%rax, 8(%r14)
	jne	LBB0_12
## %bb.9:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	-64(%rbp), %edx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_speed_set_ptys_admin
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_be32_to_cpu
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	_MLX4_1000BASE_CX_SGMII@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX4_PROT_MASK
	movl	%eax, %ebx
	movq	_MLX4_1000BASE_KX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX4_PROT_MASK
	orl	%ebx, %eax
	testl	%eax, -84(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_13
## %bb.10:
	movl	-72(%rbp), %eax
	movq	_MLX4_PTYS_AN_DISABLE_CAP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_14
## %bb.11:
	movq	_MLX4_PTYS_AN_DISABLE_ADMIN@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, -72(%rbp)
	jmp	LBB0_14
LBB0_12:
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_be32
	movl	%eax, %r13d
	movq	_MLX4_PTYS_AN_DISABLE_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, -72(%rbp)
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	andl	-64(%rbp), %r13d
	je	LBB0_21
LBB0_16:
	cmpl	-68(%rbp), %r13d
	jne	LBB0_19
## %bb.17:
	movq	_MLX4_PTYS_AN_DISABLE_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -72(%rbp)
	je	LBB0_19
## %bb.18:
	cmpq	%rbx, 8(%r14)
	je	LBB0_5
LBB0_19:
	movq	%rcx, %r14
	movq	_DRV@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r13d, %edi
	callq	_be32_to_cpu
	leaq	L_.str.3(%rip), %rdx
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_en_dbg
	movl	%r13d, -68(%rbp)
	movq	(%r15), %rax
	movq	8(%rax), %rdi
	movq	_MLX4_ACCESS_REG_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdx
	callq	_mlx4_ACCESS_PTYS_REG
	testl	%eax, %eax
	je	LBB0_22
## %bb.20:
	movl	%eax, %r12d
	movl	-68(%rbp), %edi
	callq	_be32_to_cpu
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_en_warn
	jmp	LBB0_5
LBB0_22:
	movq	(%r15), %rdi
	callq	_mutex_lock
	cmpq	$0, 16(%r15)
	je	LBB0_25
## %bb.23:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_en_warn
	movq	%r14, %rbx
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_mlx4_en_stop_port
	movq	%r14, %rdi
	callq	_mlx4_en_start_port
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	movl	8(%r15), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_en_err
LBB0_25:
	movq	(%r15), %rdi
	callq	_mutex_unlock
	xorl	%r12d, %r12d
	jmp	LBB0_5
LBB0_13:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
LBB0_14:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	andl	-64(%rbp), %r13d
	jne	LBB0_16
LBB0_21:
	leaq	L_.str.2(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_en_warn
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_ADVERTISED,4,2                 ## @ADVERTISED
	.comm	_DRV,4,2                        ## @DRV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Set Speed=%d adv={%*pbl} autoneg=%d duplex=%d\n"

	.comm	___ETHTOOL_LINK_MODE_MASK_NBITS,4,2 ## @__ETHTOOL_LINK_MODE_MASK_NBITS
	.comm	_MLX4_DEV_CAP_FLAG2_ETH_PROT_CTRL,4,2 ## @MLX4_DEV_CAP_FLAG2_ETH_PROT_CTRL
	.comm	_DUPLEX_HALF,8,3                ## @DUPLEX_HALF
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MLX4_PTYS_EN,4,2               ## @MLX4_PTYS_EN
	.comm	_MLX4_ACCESS_REG_QUERY,4,2      ## @MLX4_ACCESS_REG_QUERY
L_.str.1:                               ## @.str.1
	.asciz	"Failed to QUERY mlx4_ACCESS_PTYS_REG status(%x)\n"

	.comm	_MLX4_PTYS_AN_DISABLE_ADMIN,4,2 ## @MLX4_PTYS_AN_DISABLE_ADMIN
	.comm	_AUTONEG_DISABLE,8,3            ## @AUTONEG_DISABLE
	.comm	_AUTONEG_ENABLE,8,3             ## @AUTONEG_ENABLE
	.comm	_MLX4_1000BASE_CX_SGMII,4,2     ## @MLX4_1000BASE_CX_SGMII
	.comm	_MLX4_1000BASE_KX,4,2           ## @MLX4_1000BASE_KX
	.comm	_MLX4_PTYS_AN_DISABLE_CAP,4,2   ## @MLX4_PTYS_AN_DISABLE_CAP
L_.str.2:                               ## @.str.2
	.asciz	"Not supported link mode(s) requested, check supported link modes.\n"

L_.str.3:                               ## @.str.3
	.asciz	"mlx4_ACCESS_PTYS_REG SET: ptys_reg.eth_proto_admin = 0x%x\n"

	.comm	_MLX4_ACCESS_REG_WRITE,4,2      ## @MLX4_ACCESS_REG_WRITE
L_.str.4:                               ## @.str.4
	.asciz	"Failed to write mlx4_ACCESS_PTYS_REG eth_proto_admin(0x%x) status(0x%x)"

L_.str.5:                               ## @.str.5
	.asciz	"Port link mode changed, restarting port...\n"

L_.str.6:                               ## @.str.6
	.asciz	"Failed restarting port %d\n"

	.no_dead_strip	_mlx4_en_set_link_ksettings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_set_link_ksettings
_mlx4_en_set_link_ksettings:            ; @mlx4_en_set_link_ksettings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	w0, [x21, #24]
Lloh0:
	adrp	x8, _ADVERTISED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADVERTISED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ethtool2ptys_link_modes
	mov	x23, x0
	ldr	w22, [x21]
Lloh3:
	adrp	x25, _DRV@GOTPAGE
Lloh4:
	ldr	x25, [x25, _DRV@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh5:
	adrp	x8, ___ETHTOOL_LINK_MODE_MASK_NBITS@GOTPAGE
Lloh6:
	ldr	x8, [x8, ___ETHTOOL_LINK_MODE_MASK_NBITS@GOTPAGEOFF]
	ldp	x9, x10, [x21, #8]
Lloh7:
	ldr	w8, [x8]
	ldr	w11, [x21, #24]
	stp	x9, x10, [sp, #16]
	stp	x8, x11, [sp]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x19
	mov	x3, x22
	bl	_en_dbg
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _MLX4_DEV_CAP_FLAG2_ETH_PROT_CTRL@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MLX4_DEV_CAP_FLAG2_ETH_PROT_CTRL@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x21, #16]
Lloh13:
	adrp	x9, _DUPLEX_HALF@GOTPAGE
Lloh14:
	ldr	x9, [x9, _DUPLEX_HALF@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_6
LBB0_3:
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	ldr	w8, [x19, #8]
Lloh19:
	adrp	x9, _MLX4_PTYS_EN@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MLX4_PTYS_EN@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #52]
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
Lloh22:
	adrp	x8, _MLX4_ACCESS_REG_QUERY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MLX4_ACCESS_REG_QUERY@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	add	x2, sp, #40
	bl	_mlx4_ACCESS_PTYS_REG
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_7
; %bb.4:
	str	x0, [sp]
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_en_warn
LBB0_5:
	mov	w21, #0
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_7:
Lloh27:
	adrp	x27, _MLX4_PTYS_AN_DISABLE_ADMIN@GOTPAGE
Lloh28:
	ldr	x27, [x27, _MLX4_PTYS_AN_DISABLE_ADMIN@GOTPAGEOFF]
	ldr	w8, [sp, #40]
	ldr	w9, [x27]
Lloh29:
	adrp	x10, _AUTONEG_DISABLE@GOTPAGE
Lloh30:
	ldr	x10, [x10, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh31:
	adrp	x11, _AUTONEG_ENABLE@GOTPAGE
Lloh32:
	ldr	x11, [x11, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh33:
	ldr	x10, [x10]
Lloh34:
	ldr	x11, [x11]
	tst	w9, w8
	csel	x26, x11, x10, eq
	ldr	x8, [x21, #8]
	cmp	x8, x10
	b.ne	LBB0_11
; %bb.8:
	ldr	w2, [sp, #48]
	mov	x0, x19
	mov	x1, x22
	bl	_speed_set_ptys_admin
	mov	x22, x0
	bl	_be32_to_cpu
	mov	x23, x0
Lloh35:
	adrp	x8, _MLX4_1000BASE_CX_SGMII@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MLX4_1000BASE_CX_SGMII@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_MLX4_PROT_MASK
	mov	x24, x0
Lloh38:
	adrp	x8, _MLX4_1000BASE_KX@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MLX4_1000BASE_KX@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	bl	_MLX4_PROT_MASK
	orr	w8, w0, w24
	tst	w8, w23
	b.eq	LBB0_13
; %bb.9:
	ldr	w8, [sp, #40]
Lloh41:
	adrp	x9, _MLX4_PTYS_AN_DISABLE_CAP@GOTPAGE
Lloh42:
	ldr	x9, [x9, _MLX4_PTYS_AN_DISABLE_CAP@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.10:
	ldr	w9, [x27]
	orr	w8, w9, w8
	b	LBB0_12
LBB0_11:
	mov	x0, x23
	bl	_cpu_to_be32
	mov	x22, x0
	ldr	w8, [x27]
	ldr	w9, [sp, #40]
	bic	w8, w9, w8
LBB0_12:
	str	w8, [sp, #40]
LBB0_13:
	ldr	w8, [sp, #48]
	ands	w22, w8, w22
	b.eq	LBB0_19
; %bb.14:
	ldr	w8, [sp, #44]
	cmp	w22, w8
	b.ne	LBB0_17
; %bb.15:
	ldr	w8, [sp, #40]
Lloh44:
	adrp	x9, _MLX4_PTYS_AN_DISABLE_CAP@GOTPAGE
Lloh45:
	ldr	x9, [x9, _MLX4_PTYS_AN_DISABLE_CAP@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.16:
	ldr	x8, [x21, #8]
	cmp	x8, x26
	b.eq	LBB0_5
LBB0_17:
	ldr	w21, [x25]
	mov	x0, x22
	bl	_be32_to_cpu
	mov	x3, x0
Lloh47:
	adrp	x2, l_.str.3@PAGE
Lloh48:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x1, x19
	bl	_en_dbg
	str	w22, [sp, #44]
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
Lloh49:
	adrp	x8, _MLX4_ACCESS_REG_WRITE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _MLX4_ACCESS_REG_WRITE@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	add	x2, sp, #40
	bl	_mlx4_ACCESS_PTYS_REG
	cbz	w0, LBB0_20
; %bb.18:
	mov	x21, x0
	ldr	w0, [sp, #44]
	bl	_be32_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x0, x21, [sp]
Lloh52:
	adrp	x1, l_.str.4@PAGE
Lloh53:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_en_warn
	b	LBB0_6
LBB0_19:
Lloh54:
	adrp	x1, l_.str.2@PAGE
Lloh55:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_en_warn
	b	LBB0_2
LBB0_20:
	ldr	x0, [x19]
	bl	_mutex_lock
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_23
; %bb.21:
Lloh56:
	adrp	x1, l_.str.5@PAGE
Lloh57:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_en_warn
	mov	x0, x20
	mov	w1, #1
	bl	_mlx4_en_stop_port
	mov	x0, x20
	bl	_mlx4_en_start_port
	cbz	x0, LBB0_23
; %bb.22:
	ldr	w2, [x19, #8]
Lloh58:
	adrp	x1, l_.str.6@PAGE
Lloh59:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_en_err
LBB0_23:
	ldr	x0, [x19]
	bl	_mutex_unlock
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh33
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_ADVERTISED,4,2                 ; @ADVERTISED
	.comm	_DRV,4,2                        ; @DRV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Set Speed=%d adv={%*pbl} autoneg=%d duplex=%d\n"

	.comm	___ETHTOOL_LINK_MODE_MASK_NBITS,4,2 ; @__ETHTOOL_LINK_MODE_MASK_NBITS
	.comm	_MLX4_DEV_CAP_FLAG2_ETH_PROT_CTRL,4,2 ; @MLX4_DEV_CAP_FLAG2_ETH_PROT_CTRL
	.comm	_DUPLEX_HALF,8,3                ; @DUPLEX_HALF
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MLX4_PTYS_EN,4,2               ; @MLX4_PTYS_EN
	.comm	_MLX4_ACCESS_REG_QUERY,4,2      ; @MLX4_ACCESS_REG_QUERY
l_.str.1:                               ; @.str.1
	.asciz	"Failed to QUERY mlx4_ACCESS_PTYS_REG status(%x)\n"

	.comm	_MLX4_PTYS_AN_DISABLE_ADMIN,4,2 ; @MLX4_PTYS_AN_DISABLE_ADMIN
	.comm	_AUTONEG_DISABLE,8,3            ; @AUTONEG_DISABLE
	.comm	_AUTONEG_ENABLE,8,3             ; @AUTONEG_ENABLE
	.comm	_MLX4_1000BASE_CX_SGMII,4,2     ; @MLX4_1000BASE_CX_SGMII
	.comm	_MLX4_1000BASE_KX,4,2           ; @MLX4_1000BASE_KX
	.comm	_MLX4_PTYS_AN_DISABLE_CAP,4,2   ; @MLX4_PTYS_AN_DISABLE_CAP
l_.str.2:                               ; @.str.2
	.asciz	"Not supported link mode(s) requested, check supported link modes.\n"

l_.str.3:                               ; @.str.3
	.asciz	"mlx4_ACCESS_PTYS_REG SET: ptys_reg.eth_proto_admin = 0x%x\n"

	.comm	_MLX4_ACCESS_REG_WRITE,4,2      ; @MLX4_ACCESS_REG_WRITE
l_.str.4:                               ; @.str.4
	.asciz	"Failed to write mlx4_ACCESS_PTYS_REG eth_proto_admin(0x%x) status(0x%x)"

l_.str.5:                               ; @.str.5
	.asciz	"Port link mode changed, restarting port...\n"

l_.str.6:                               ; @.str.6
	.asciz	"Failed restarting port %d\n"

	.no_dead_strip	_mlx4_en_set_link_ksettings
.subsections_via_symbols
