	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfs_keepalive_timeout
_nfs_keepalive_timeout:                 ## @nfs_keepalive_timeout
	.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
	movq	%rdi, %r13
	movq	8(%rdi), %r14
	movl	(%r14), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%r14)
	testl	%eax, %eax
	jle	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_srvrlog
LBB0_2:
	movq	%r13, %rdi
	callq	_FSRV_ISUP
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_FSF_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r13)
LBB0_4:
	movq	8(%r14), %rbx
	xorl	%edi, %edi
	callq	_clocktime
	cmpq	%rax, %rbx
	jge	LBB0_14
## %bb.5:
	movl	(%r13), %r15d
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_dlog
	movl	(%r13), %eax
	movq	_FSF_DOWN@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_6
## %bb.7:
	movq	_FSF_VALID@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	testl	%eax, %ecx
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_srvrlog
	movl	(%r12), %ecx
	movl	(%r13), %eax
LBB0_9:
	orl	%ecx, %eax
	movl	%eax, (%r13)
	cmpl	%eax, %r15d
	jne	LBB0_11
	jmp	LBB0_13
LBB0_14:
	movl	(%r14), %esi
	cmpl	$2, %esi
	jl	LBB0_16
## %bb.15:
	movl	4(%r13), %edx
	movq	_MAX_ALLOWED_PINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_dlog
	jmp	LBB0_16
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_srvrlog
	movq	_FSF_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r12), %eax
	orl	%eax, (%r13)
	movq	%r13, %rdi
	callq	_flush_nfs_fhandle_cache
	movl	$-1, 16(%r14)
	movq	%r13, %rdi
	callq	_check_fs_addr_change
	movl	(%r13), %eax
	cmpl	%eax, %r15d
	je	LBB0_13
LBB0_11:
	movq	_FSF_WANT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.12:
	movq	%r13, %rdi
	callq	_wakeup_srvr
LBB0_13:
	movl	$0, (%r14)
LBB0_16:
	xorl	%eax, %eax
	callq	_XID_ALLOC
	movl	%eax, 20(%r14)
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfs_keepalive                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"not responding"

	.comm	_FSF_VALID,4,2                  ## @FSF_VALID
L_.str.1:                               ## @.str.1
	.asciz	"ttl has expired"

	.comm	_FSF_DOWN,4,2                   ## @FSF_DOWN
L_.str.2:                               ## @.str.2
	.asciz	"is down"

L_.str.3:                               ## @.str.3
	.asciz	"starts down"

	.comm	_FSF_WANT,4,2                   ## @FSF_WANT
L_.str.4:                               ## @.str.4
	.asciz	"%d pings to %s failed - at most %d allowed"

	.comm	_MAX_ALLOWED_PINGS,4,2          ## @MAX_ALLOWED_PINGS
	.no_dead_strip	_nfs_keepalive_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfs_keepalive_timeout
_nfs_keepalive_timeout:                 ; @nfs_keepalive_timeout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	ldr	x20, [x0, #8]
	ldr	w8, [x20]
	add	w9, w8, #1
	str	w9, [x20]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_srvrlog
LBB0_2:
	mov	x0, x19
	bl	_FSRV_ISUP
	cbz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _FSF_VALID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FSF_VALID@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
LBB0_4:
	ldr	x21, [x20, #8]
	mov	x0, #0
	bl	_clocktime
	cmp	x21, x0
	b.ge	LBB0_9
; %bb.5:
	ldr	w21, [x19]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dlog
	ldr	w8, [x19]
Lloh7:
	adrp	x22, _FSF_DOWN@GOTPAGE
Lloh8:
	ldr	x22, [x22, _FSF_DOWN@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.6:
Lloh9:
	adrp	x22, _FSF_VALID@GOTPAGE
Lloh10:
	ldr	x22, [x22, _FSF_VALID@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.ne	LBB0_8
; %bb.7:
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_srvrlog
	ldr	w9, [x22]
	ldr	w8, [x19]
LBB0_8:
	orr	w8, w8, w9
	str	w8, [x19]
	cmp	w21, w8
	b.ne	LBB0_12
	b	LBB0_14
LBB0_9:
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_15
; %bb.10:
Lloh13:
	adrp	x9, _MAX_ALLOWED_PINGS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MAX_ALLOWED_PINGS@GOTPAGEOFF]
	ldr	w10, [x19, #4]
Lloh15:
	ldr	w9, [x9]
	stp	x10, x9, [sp, #8]
	str	x8, [sp]
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_dlog
	b	LBB0_15
LBB0_11:
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_srvrlog
Lloh20:
	adrp	x8, _FSF_VALID@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FSF_VALID@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh22:
	ldr	w8, [x8]
	orr	w8, w8, w9
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	mov	x0, x19
	bl	_flush_nfs_fhandle_cache
	mov	w8, #-1
	str	w8, [x20, #16]
	mov	x0, x19
	bl	_check_fs_addr_change
	ldr	w8, [x19]
	cmp	w21, w8
	b.eq	LBB0_14
LBB0_12:
Lloh23:
	adrp	x9, _FSF_WANT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _FSF_WANT@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	mov	x0, x19
	bl	_wakeup_srvr
LBB0_14:
	str	wzr, [x20]
LBB0_15:
	bl	_XID_ALLOC
	str	w0, [x20, #20]
	mov	x0, x19
	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
	add	sp, sp, #80
	b	_nfs_keepalive
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"not responding"

	.comm	_FSF_VALID,4,2                  ; @FSF_VALID
l_.str.1:                               ; @.str.1
	.asciz	"ttl has expired"

	.comm	_FSF_DOWN,4,2                   ; @FSF_DOWN
l_.str.2:                               ; @.str.2
	.asciz	"is down"

l_.str.3:                               ; @.str.3
	.asciz	"starts down"

	.comm	_FSF_WANT,4,2                   ; @FSF_WANT
l_.str.4:                               ; @.str.4
	.asciz	"%d pings to %s failed - at most %d allowed"

	.comm	_MAX_ALLOWED_PINGS,4,2          ; @MAX_ALLOWED_PINGS
	.no_dead_strip	_nfs_keepalive_timeout
.subsections_via_symbols
