	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_setup_mac_link_multispeed_fiber
_ixgbe_setup_mac_link_multispeed_fiber: ## @ixgbe_setup_mac_link_multispeed_fiber
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_IXGBE_LINK_SPEED_UNKNOWN@GOTPCREL(%rip), %r13
	movl	(%r13), %r15d
	movl	%r15d, -48(%rbp)
	movq	_IXGBE_ESDP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_IXGBE_READ_REG
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	$0, -44(%rbp)
	movl	$0, -64(%rbp)
	leaq	-48(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*16(%rbx)
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	andl	-48(%rbp), %r14d
	movq	_IXGBE_LINK_SPEED_10GB_FULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	testl	%r12d, %r14d
	je	LBB0_24
## %bb.3:
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	*24(%rbx)
	testq	%rax, %rax
	jne	LBB0_1
## %bb.4:
	movq	_IXGBE_LINK_SPEED_10GB_FULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cmpl	%esi, -48(%rbp)
	jne	LBB0_7
## %bb.5:
	cmpl	$0, -44(%rbp)
	jne	LBB0_30
LBB0_7:
	movq	(%rbx), %rax
	movq	_ixgbe_media_type_fiber_fixed@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_ixgbe_set_fiber_fixed_speed
	jmp	LBB0_10
LBB0_9:
	movq	_IXGBE_ESDP_SDP5_DIR@GOTPCREL(%rip), %rax
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	orl	(%rax), %edx
	movq	_IXGBE_ESDP_SDP5@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_IXGBE_ESDP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	callq	_IXGBE_WRITE_REG
	movq	%rbx, %rdi
	callq	_IXGBE_WRITE_FLUSH
LBB0_10:
	movl	$40, %edi
	callq	_msleep
	movq	_IXGBE_LINK_SPEED_10GB_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_ixgbe_setup_mac_link_82599
	testq	%rax, %rax
	jne	LBB0_1
## %bb.11:
	movq	32(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	*%rax
LBB0_13:
	movl	$100, %edi
	callq	_msleep
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	*24(%rbx)
	testq	%rax, %rax
	jne	LBB0_1
## %bb.14:
	cmpl	$0, -44(%rbp)
	jne	LBB0_28
## %bb.15:
	movl	$100, %edi
	callq	_msleep
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	*24(%rbx)
	testq	%rax, %rax
	jne	LBB0_1
## %bb.16:
	cmpl	$0, -44(%rbp)
	jne	LBB0_28
## %bb.17:
	movl	$100, %edi
	callq	_msleep
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	*24(%rbx)
	testq	%rax, %rax
	jne	LBB0_1
## %bb.18:
	cmpl	$0, -44(%rbp)
	jne	LBB0_28
## %bb.19:
	movl	$100, %edi
	callq	_msleep
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	*24(%rbx)
	testq	%rax, %rax
	jne	LBB0_1
## %bb.20:
	cmpl	$0, -44(%rbp)
	jne	LBB0_28
## %bb.21:
	movl	$100, %edi
	callq	_msleep
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	*24(%rbx)
	testq	%rax, %rax
	jne	LBB0_1
## %bb.22:
	cmpl	$0, -44(%rbp)
	movl	%r12d, %r15d
	movq	_IXGBE_LINK_SPEED_10GB_FULL@GOTPCREL(%rip), %rcx
	jne	LBB0_30
LBB0_24:
	testl	%r12d, %r14d
	setne	%dl
	movq	_IXGBE_LINK_SPEED_1GB_FULL@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%r14d, %eax
	je	LBB0_30
## %bb.25:
	movb	%dl, -49(%rbp)                  ## 1-byte Spill
	cmpl	(%r13), %r15d
	cmovnel	%r15d, %eax
	movl	%eax, %r15d
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	*24(%rbx)
	testq	%rax, %rax
	jne	LBB0_1
## %bb.26:
	movl	(%r12), %esi
	cmpl	%esi, -48(%rbp)
	jne	LBB0_33
## %bb.27:
	cmpl	$0, -44(%rbp)
	je	LBB0_33
LBB0_28:
	xorl	%eax, %eax
LBB0_29:
	movq	_IXGBE_LINK_SPEED_10GB_FULL@GOTPCREL(%rip), %rcx
	jmp	LBB0_31
LBB0_30:
	xorl	%eax, %eax
LBB0_31:
	movl	(%rcx), %edx
	movl	%edx, %ecx
	andl	%r14d, %ecx
	cmovnel	%edx, %ecx
	movl	%ecx, 8(%rbx)
	movq	_IXGBE_LINK_SPEED_1GB_FULL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%r14d, %edx
	je	LBB0_1
## %bb.32:
	orl	%edx, %ecx
	movl	%ecx, 8(%rbx)
	jmp	LBB0_1
LBB0_33:
	movq	(%rbx), %rax
	movq	_ixgbe_media_type_fiber_fixed@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_35
## %bb.34:
	movq	%rbx, %rdi
	callq	_ixgbe_set_fiber_fixed_speed
	jmp	LBB0_36
LBB0_35:
	movq	_IXGBE_ESDP_SDP5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	andl	%eax, %edx
	movq	_IXGBE_ESDP_SDP5_DIR@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_IXGBE_ESDP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_IXGBE_WRITE_REG
	movq	%rbx, %rdi
	callq	_IXGBE_WRITE_FLUSH
LBB0_36:
	movl	$40, %edi
	callq	_msleep
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_ixgbe_setup_mac_link_82599
	testq	%rax, %rax
	jne	LBB0_1
## %bb.37:
	movq	32(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_39
## %bb.38:
	movq	%rbx, %rdi
	callq	*%rax
LBB0_39:
	movl	$100, %edi
	callq	_msleep
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	*24(%rbx)
	testq	%rax, %rax
	jne	LBB0_1
## %bb.40:
	cmpl	$0, -44(%rbp)
	sete	%al
	andb	-49(%rbp), %al                  ## 1-byte Folded Reload
	cmpb	$1, %al
	jne	LBB0_28
## %bb.41:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_ixgbe_setup_mac_link_multispeed_fiber
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_LINK_SPEED_UNKNOWN,4,2   ## @IXGBE_LINK_SPEED_UNKNOWN
	.comm	_IXGBE_ESDP,4,2                 ## @IXGBE_ESDP
	.comm	_IXGBE_LINK_SPEED_10GB_FULL,4,2 ## @IXGBE_LINK_SPEED_10GB_FULL
	.comm	_ixgbe_media_type_fiber_fixed,8,3 ## @ixgbe_media_type_fiber_fixed
	.comm	_IXGBE_ESDP_SDP5_DIR,4,2        ## @IXGBE_ESDP_SDP5_DIR
	.comm	_IXGBE_ESDP_SDP5,4,2            ## @IXGBE_ESDP_SDP5
	.comm	_IXGBE_LINK_SPEED_1GB_FULL,4,2  ## @IXGBE_LINK_SPEED_1GB_FULL
	.no_dead_strip	_ixgbe_setup_mac_link_multispeed_fiber
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_setup_mac_link_multispeed_fiber
_ixgbe_setup_mac_link_multispeed_fiber: ; @ixgbe_setup_mac_link_multispeed_fiber
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x26, _IXGBE_LINK_SPEED_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x26, [x26, _IXGBE_LINK_SPEED_UNKNOWN@GOTPAGEOFF]
	ldr	w27, [x26]
	str	w27, [sp, #12]
Lloh2:
	adrp	x25, _IXGBE_ESDP@GOTPAGE
Lloh3:
	ldr	x25, [x25, _IXGBE_ESDP@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_IXGBE_READ_REG
	mov	x21, x0
	stp	wzr, wzr, [sp, #4]
	ldr	x8, [x19, #16]
	add	x1, sp, #12
	add	x2, sp, #4
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
	ldr	w8, [sp, #12]
	and	w23, w8, w22
Lloh4:
	adrp	x24, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGE
Lloh5:
	ldr	x24, [x24, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGEOFF]
	ldr	w28, [x24]
	ands	w22, w23, w28
	b.eq	LBB0_22
; %bb.3:
	ldr	x8, [x19, #24]
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #0
	blr	x8
	cbnz	x0, LBB0_1
; %bb.4:
	ldp	w9, w8, [sp, #8]
	ldr	w1, [x24]
	cmp	w8, w1
	ccmp	w9, #0, #4, eq
	b.ne	LBB0_34
; %bb.5:
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _ixgbe_media_type_fiber_fixed@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ixgbe_media_type_fiber_fixed@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_ixgbe_set_fiber_fixed_speed
	b	LBB0_8
LBB0_7:
Lloh9:
	adrp	x8, _IXGBE_ESDP_SDP5_DIR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IXGBE_ESDP_SDP5_DIR@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _IXGBE_ESDP_SDP5@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IXGBE_ESDP_SDP5@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w21
	orr	w21, w8, w9
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x21
	bl	_IXGBE_WRITE_REG
	mov	x0, x19
	bl	_IXGBE_WRITE_FLUSH
LBB0_8:
	mov	w0, #40
	bl	_msleep
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x20
	bl	_ixgbe_setup_mac_link_82599
	cbnz	x0, LBB0_1
; %bb.9:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_11
; %bb.10:
	mov	x0, x19
	blr	x8
LBB0_11:
	mov	w0, #100
	bl	_msleep
	ldr	x8, [x19, #24]
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #0
	blr	x8
	cbnz	x0, LBB0_1
; %bb.12:
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_34
; %bb.13:
	mov	w0, #100
	bl	_msleep
	ldr	x8, [x19, #24]
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #0
	blr	x8
	cbnz	x0, LBB0_1
; %bb.14:
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_34
; %bb.15:
	mov	w0, #100
	bl	_msleep
	ldr	x8, [x19, #24]
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #0
	blr	x8
	cbnz	x0, LBB0_1
; %bb.16:
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_34
; %bb.17:
	mov	w0, #100
	bl	_msleep
	ldr	x8, [x19, #24]
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #0
	blr	x8
	cbnz	x0, LBB0_1
; %bb.18:
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_34
; %bb.19:
	mov	w0, #100
	bl	_msleep
	ldr	x8, [x19, #24]
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #0
	blr	x8
	cbnz	x0, LBB0_1
; %bb.20:
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_34
; %bb.21:
	mov	x27, x28
LBB0_22:
	cmp	w22, #0
	cset	w22, ne
Lloh15:
	adrp	x28, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGE
Lloh16:
	ldr	x28, [x28, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGEOFF]
	ldr	w8, [x28]
	tst	w8, w23
	b.eq	LBB0_34
; %bb.23:
	ldr	w9, [x26]
	cmp	w27, w9
	csel	w26, w8, w27, eq
	ldr	x8, [x19, #24]
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #0
	blr	x8
	cbnz	x0, LBB0_1
; %bb.24:
	ldp	w9, w8, [sp, #8]
	ldr	w1, [x28]
	cmp	w8, w1
	ccmp	w9, #0, #4, eq
	b.ne	LBB0_34
; %bb.25:
	ldr	x8, [x19]
Lloh17:
	adrp	x9, _ixgbe_media_type_fiber_fixed@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ixgbe_media_type_fiber_fixed@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_27
; %bb.26:
	mov	x0, x19
	bl	_ixgbe_set_fiber_fixed_speed
	b	LBB0_28
LBB0_27:
Lloh20:
	adrp	x8, _IXGBE_ESDP_SDP5@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IXGBE_ESDP_SDP5@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	bic	w8, w21, w8
Lloh23:
	adrp	x9, _IXGBE_ESDP_SDP5_DIR@GOTPAGE
Lloh24:
	ldr	x9, [x9, _IXGBE_ESDP_SDP5_DIR@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w2, w8, w9
	ldr	w1, [x25]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	mov	x0, x19
	bl	_IXGBE_WRITE_FLUSH
LBB0_28:
	mov	w0, #40
	bl	_msleep
	ldr	w1, [x28]
	mov	x0, x19
	mov	x2, x20
	bl	_ixgbe_setup_mac_link_82599
	cbnz	x0, LBB0_1
; %bb.29:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_31
; %bb.30:
	mov	x0, x19
	blr	x8
LBB0_31:
	mov	w0, #100
	bl	_msleep
	ldr	x8, [x19, #24]
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #0
	blr	x8
	cbnz	x0, LBB0_1
; %bb.32:
	ldr	w8, [sp, #8]
	cmp	w8, #0
	cset	w8, eq
	and	w8, w8, w22
	cmp	w8, #1
	b.ne	LBB0_34
; %bb.33:
	mov	x0, x19
	mov	x1, x26
	mov	x2, x20
	bl	_ixgbe_setup_mac_link_multispeed_fiber
	b	LBB0_35
LBB0_34:
	mov	x0, #0
LBB0_35:
	ldr	w8, [x24]
	tst	w8, w23
	csel	w8, wzr, w8, eq
	str	w8, [x19, #8]
Lloh26:
	adrp	x9, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGE
Lloh27:
	ldr	x9, [x9, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w23
	b.eq	LBB0_1
; %bb.36:
	orr	w8, w8, w9
	str	w8, [x19, #8]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_LINK_SPEED_UNKNOWN,4,2   ; @IXGBE_LINK_SPEED_UNKNOWN
	.comm	_IXGBE_ESDP,4,2                 ; @IXGBE_ESDP
	.comm	_IXGBE_LINK_SPEED_10GB_FULL,4,2 ; @IXGBE_LINK_SPEED_10GB_FULL
	.comm	_ixgbe_media_type_fiber_fixed,8,3 ; @ixgbe_media_type_fiber_fixed
	.comm	_IXGBE_ESDP_SDP5_DIR,4,2        ; @IXGBE_ESDP_SDP5_DIR
	.comm	_IXGBE_ESDP_SDP5,4,2            ; @IXGBE_ESDP_SDP5
	.comm	_IXGBE_LINK_SPEED_1GB_FULL,4,2  ; @IXGBE_LINK_SPEED_1GB_FULL
	.no_dead_strip	_ixgbe_setup_mac_link_multispeed_fiber
.subsections_via_symbols
