	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_watchdog_update_host_state
_fm10k_watchdog_update_host_state:      ## @fm10k_watchdog_update_host_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	___FM10K_LINK_DOWN@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	12(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	$0, (%rbx)
	movl	16(%rbx), %edi
	callq	_time_is_after_jiffies
	testq	%rax, %rax
	je	LBB0_2
## %bb.10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movl	(%r14), %edi
	movl	12(%rbx), %esi
	callq	_clear_bit
LBB0_3:
	leaq	24(%rbx), %r14
	movq	_FM10K_FLAG_SWPRI_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	xorl	%eax, %eax
	callq	_rtnl_trylock
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_fm10k_configure_swpri_map
	xorl	%eax, %eax
	callq	_rtnl_unlock
LBB0_6:
	movq	%rbx, %rdi
	callq	_fm10k_mbx_lock
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	*24(%rbx)
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movl	8(%rbx), %edi
	callq	_time_is_before_jiffies
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_FM10K_FLAG_RESET_REQUESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	_set_bit
LBB0_9:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_fm10k_mbx_unlock               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___FM10K_LINK_DOWN,4,2          ## @__FM10K_LINK_DOWN
	.comm	_FM10K_FLAG_SWPRI_CONFIG,4,2    ## @FM10K_FLAG_SWPRI_CONFIG
	.comm	_FM10K_FLAG_RESET_REQUESTED,4,2 ## @FM10K_FLAG_RESET_REQUESTED
	.no_dead_strip	_fm10k_watchdog_update_host_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_watchdog_update_host_state
_fm10k_watchdog_update_host_state:      ; @fm10k_watchdog_update_host_state
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, ___FM10K_LINK_DOWN@GOTPAGE
Lloh1:
	ldr	x20, [x20, ___FM10K_LINK_DOWN@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	w1, [x19, #12]
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.1:
	str	wzr, [x19]
	ldr	w0, [x19, #16]
	bl	_time_is_after_jiffies
	cbz	x0, LBB0_3
; %bb.2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w0, [x20]
	ldr	w1, [x19, #12]
	bl	_clear_bit
LBB0_4:
	add	x20, x19, #24
Lloh2:
	adrp	x8, _FM10K_FLAG_SWPRI_CONFIG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FM10K_FLAG_SWPRI_CONFIG@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	bl	_test_bit
	cbz	x0, LBB0_7
; %bb.5:
	bl	_rtnl_trylock
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_fm10k_configure_swpri_map
	bl	_rtnl_unlock
LBB0_7:
	mov	x0, x19
	bl	_fm10k_mbx_lock
	ldr	x8, [x19, #24]
	mov	x0, x20
	mov	x1, x19
	blr	x8
	cbz	x0, LBB0_10
; %bb.8:
	ldr	w0, [x19, #8]
	bl	_time_is_before_jiffies
	cbz	x0, LBB0_10
; %bb.9:
Lloh5:
	adrp	x8, _FM10K_FLAG_RESET_REQUESTED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FM10K_FLAG_RESET_REQUESTED@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	bl	_set_bit
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_fm10k_mbx_unlock
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	___FM10K_LINK_DOWN,4,2          ; @__FM10K_LINK_DOWN
	.comm	_FM10K_FLAG_SWPRI_CONFIG,4,2    ; @FM10K_FLAG_SWPRI_CONFIG
	.comm	_FM10K_FLAG_RESET_REQUESTED,4,2 ; @FM10K_FLAG_RESET_REQUESTED
	.no_dead_strip	_fm10k_watchdog_update_host_state
.subsections_via_symbols
