	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_sfp_link_config_subtask
_ixgbe_sfp_link_config_subtask:         ## @ixgbe_sfp_link_config_subtask
	.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
	movl	$0, -44(%rbp)
	movq	_IXGBE_FLAG_NEED_LINK_CONFIG@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, (%rdi)
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movq	___IXGBE_IN_SFP_INIT@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	4(%rbx), %r14
	movq	%r14, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	leaq	16(%rbx), %r15
	movl	(%r13), %eax
	notl	%eax
	andl	%eax, (%rbx)
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	callq	*24(%rbx)
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_IXGBE_LINK_SPEED_10GB_FULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	-48(%rbp), %ecx
	movq	_IXGBE_LINK_SPEED_1GB_FULL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%esi, %edx
	andl	%ecx, %edx
	testl	%ecx, %esi
	cmovel	%edx, %esi
	cmpl	$0, -44(%rbp)
	cmovnel	%edx, %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	*%rax
LBB0_4:
	movq	_IXGBE_FLAG_NEED_LINK_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	(%r12), %edi
	movq	%r14, %rsi
	callq	_clear_bit
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_FLAG_NEED_LINK_CONFIG,4,2 ## @IXGBE_FLAG_NEED_LINK_CONFIG
	.comm	___IXGBE_IN_SFP_INIT,4,2        ## @__IXGBE_IN_SFP_INIT
	.comm	_IXGBE_LINK_SPEED_10GB_FULL,4,2 ## @IXGBE_LINK_SPEED_10GB_FULL
	.comm	_IXGBE_LINK_SPEED_1GB_FULL,4,2  ## @IXGBE_LINK_SPEED_1GB_FULL
	.comm	_IXGBE_FLAG_NEED_LINK_UPDATE,4,2 ## @IXGBE_FLAG_NEED_LINK_UPDATE
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_ixgbe_sfp_link_config_subtask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_sfp_link_config_subtask
_ixgbe_sfp_link_config_subtask:         ; @ixgbe_sfp_link_config_subtask
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x0
	ldr	w8, [x21], #16
	str	wzr, [sp, #8]
Lloh0:
	adrp	x23, _IXGBE_FLAG_NEED_LINK_CONFIG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IXGBE_FLAG_NEED_LINK_CONFIG@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x22, ___IXGBE_IN_SFP_INIT@GOTPAGE
Lloh3:
	ldr	x22, [x22, ___IXGBE_IN_SFP_INIT@GOTPAGEOFF]
	ldr	w0, [x22]
	add	x20, x19, #4
	mov	x1, x20
	bl	_test_and_set_bit
	cbnz	x0, LBB0_5
; %bb.2:
	ldr	w8, [x23]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	ldr	x8, [x19, #24]
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x21
	blr	x8
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.3:
	ldp	w9, w11, [sp, #8]
Lloh4:
	adrp	x10, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGE
Lloh5:
	ldr	x10, [x10, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x10]
	tst	w10, w11
	ccmp	w9, #0, #0, ne
Lloh7:
	adrp	x9, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w9, w9, w10
	and	w9, w9, w11
	csel	w1, w9, w10, ne
	mov	x0, x21
	mov	w2, #1
	blr	x8
LBB0_4:
Lloh10:
	adrp	x8, _IXGBE_FLAG_NEED_LINK_UPDATE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IXGBE_FLAG_NEED_LINK_UPDATE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh13:
	adrp	x8, _jiffies@GOTPAGE
Lloh14:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	w0, [x22]
	mov	x1, x20
	bl	_clear_bit
LBB0_5:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_FLAG_NEED_LINK_CONFIG,4,2 ; @IXGBE_FLAG_NEED_LINK_CONFIG
	.comm	___IXGBE_IN_SFP_INIT,4,2        ; @__IXGBE_IN_SFP_INIT
	.comm	_IXGBE_LINK_SPEED_10GB_FULL,4,2 ; @IXGBE_LINK_SPEED_10GB_FULL
	.comm	_IXGBE_LINK_SPEED_1GB_FULL,4,2  ; @IXGBE_LINK_SPEED_1GB_FULL
	.comm	_IXGBE_FLAG_NEED_LINK_UPDATE,4,2 ; @IXGBE_FLAG_NEED_LINK_UPDATE
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_ixgbe_sfp_link_config_subtask
.subsections_via_symbols
