	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_watchdog_update_link
_ixgbe_watchdog_update_link:            ## @ixgbe_watchdog_update_link
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	8(%rdi), %eax
	movl	%eax, -40(%rbp)
	movl	(%rdi), %eax
	movl	%eax, -36(%rbp)
	movq	_IXGBE_FLAG_NEED_LINK_UPDATE@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, 4(%rdi)
	je	LBB0_13
## %bb.1:
	movq	%rdi, %rbx
	leaq	40(%rdi), %r14
	movl	32(%rdi), %r12d
	movq	48(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	-40(%rbp), %rsi
	leaq	-36(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	*%rax
	jmp	LBB0_4
LBB0_3:
	movq	_IXGBE_LINK_SPEED_10GB_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movl	$1, -36(%rbp)
LBB0_4:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	setne	%cl
	orl	%ecx, %r12d
LBB0_6:
	cmpl	$0, -36(%rbp)
	je	LBB0_10
## %bb.7:
	movq	_IXGBE_FLAG_DCB_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_9
## %bb.8:
	testl	%r12d, %r12d
	jne	LBB0_11
LBB0_9:
	movq	%r14, %rdi
	callq	*40(%rbx)
	movq	%rbx, %rdi
	callq	_ixgbe_set_rx_drop_en
	cmpl	$0, -36(%rbp)
	jne	LBB0_11
LBB0_10:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IXGBE_TRY_LINK_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%rbx), %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_12
LBB0_11:
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, 4(%rbx)
	movq	_IXGBE_EIMS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IXGBE_EIMC_LSC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_IXGBE_WRITE_REG
	movq	%r14, %rdi
	callq	_IXGBE_WRITE_FLUSH
LBB0_12:
	movl	-36(%rbp), %eax
	movl	%eax, (%rbx)
	movl	-40(%rbp), %eax
	movl	%eax, 8(%rbx)
LBB0_13:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_FLAG_NEED_LINK_UPDATE,4,2 ## @IXGBE_FLAG_NEED_LINK_UPDATE
	.comm	_IXGBE_LINK_SPEED_10GB_FULL,4,2 ## @IXGBE_LINK_SPEED_10GB_FULL
	.comm	_IXGBE_FLAG_DCB_ENABLED,4,2     ## @IXGBE_FLAG_DCB_ENABLED
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_IXGBE_TRY_LINK_TIMEOUT,8,3     ## @IXGBE_TRY_LINK_TIMEOUT
	.comm	_IXGBE_EIMS,4,2                 ## @IXGBE_EIMS
	.comm	_IXGBE_EIMC_LSC,4,2             ## @IXGBE_EIMC_LSC
	.no_dead_strip	_ixgbe_watchdog_update_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_watchdog_update_link
_ixgbe_watchdog_update_link:            ; @ixgbe_watchdog_update_link
	.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
	ldp	w9, w10, [x0, #4]
	ldr	w8, [x0]
	stp	w8, w10, [sp, #8]
Lloh0:
	adrp	x21, _IXGBE_FLAG_NEED_LINK_UPDATE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IXGBE_FLAG_NEED_LINK_UPDATE@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w9
	b.eq	LBB0_10
; %bb.1:
	mov	x19, x0
	add	x20, x0, #40
	ldr	w22, [x0, #32]
	ldr	x8, [x0, #48]
	cbz	x8, LBB0_11
; %bb.2:
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #0
	blr	x8
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_4
LBB0_3:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w8, ne
	orr	w22, w22, w8
LBB0_4:
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_7
; %bb.5:
	ldr	w8, [x19, #4]
Lloh2:
	adrp	x9, _IXGBE_FLAG_DCB_ENABLED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IXGBE_FLAG_DCB_ENABLED@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w8, #0
	ccmp	w22, #0, #4, ne
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x19, #40]
	mov	x0, x20
	blr	x8
	mov	x0, x19
	bl	_ixgbe_set_rx_drop_en
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_8
LBB0_7:
Lloh5:
	adrp	x8, _jiffies@GOTPAGE
Lloh6:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
Lloh8:
	adrp	x9, _IXGBE_TRY_LINK_TIMEOUT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IXGBE_TRY_LINK_TIMEOUT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_time_after
	cbz	x0, LBB0_9
LBB0_8:
	ldr	w8, [x21]
	ldr	w9, [x19, #4]
	bic	w8, w9, w8
	str	w8, [x19, #4]
Lloh11:
	adrp	x8, _IXGBE_EIMS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IXGBE_EIMS@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _IXGBE_EIMC_LSC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IXGBE_EIMC_LSC@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
	mov	x0, x20
	bl	_IXGBE_WRITE_FLUSH
LBB0_9:
	ldr	w8, [sp, #8]
	str	w8, [x19]
	ldr	w8, [sp, #12]
	str	w8, [x19, #8]
LBB0_10:
	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_11:
Lloh17:
	adrp	x8, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x8]
	mov	w8, #1
	stp	w8, w9, [sp, #8]
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_3
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_FLAG_NEED_LINK_UPDATE,4,2 ; @IXGBE_FLAG_NEED_LINK_UPDATE
	.comm	_IXGBE_LINK_SPEED_10GB_FULL,4,2 ; @IXGBE_LINK_SPEED_10GB_FULL
	.comm	_IXGBE_FLAG_DCB_ENABLED,4,2     ; @IXGBE_FLAG_DCB_ENABLED
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_IXGBE_TRY_LINK_TIMEOUT,8,3     ; @IXGBE_TRY_LINK_TIMEOUT
	.comm	_IXGBE_EIMS,4,2                 ; @IXGBE_EIMS
	.comm	_IXGBE_EIMC_LSC,4,2             ; @IXGBE_EIMC_LSC
	.no_dead_strip	_ixgbe_watchdog_update_link
.subsections_via_symbols
