	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_srvr                      ## -- Begin function free_srvr
	.p2align	4, 0x90
_free_srvr:                             ## @free_srvr
	.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
	decq	(%rdi)
	jne	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	callq	_FSRV_ERROR
	movl	$19, %r14d
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_FSRV_ISDOWN
	movl	$19, %r14d
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_AM_TTL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_4:
	movl	24(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %edx
	callq	_dlog
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_untimeout
	movq	_FSF_PINGING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%rbx)
LBB0_6:
	movq	_timeout_srvr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	movl	%ebx, %edx
	callq	_timeout
	movq	%rax, 16(%rbx)
	movq	_FSF_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	8(%rbx), %eax
	movq	_FSF_DOWN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 8(%rbx)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AM_TTL,4,2                     ## @AM_TTL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Last hard reference to file server %s - will timeout in %ds"

	.comm	_FSF_PINGING,4,2                ## @FSF_PINGING
	.comm	_timeout_srvr,4,2               ## @timeout_srvr
	.comm	_FSF_VALID,4,2                  ## @FSF_VALID
	.comm	_FSF_DOWN,4,2                   ## @FSF_DOWN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_srvr                      ; -- Begin function free_srvr
	.p2align	2
_free_srvr:                             ; @free_srvr
	.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
	ldr	x8, [x0]
	subs	x8, x8, #1
	str	x8, [x0]
	b.ne	LBB0_6
; %bb.1:
	mov	x19, x0
	bl	_FSRV_ERROR
	mov	w20, #19
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_FSRV_ISDOWN
Lloh0:
	adrp	x8, _AM_TTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AM_TTL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w20, w8, w20, eq
LBB0_3:
	ldr	w1, [x19, #24]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dlog
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_untimeout
Lloh5:
	adrp	x8, _FSF_PINGING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FSF_PINGING@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
	str	w8, [x19, #8]
LBB0_5:
Lloh8:
	adrp	x8, _timeout_srvr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _timeout_srvr@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_timeout
	str	x0, [x19, #16]
Lloh11:
	adrp	x8, _FSF_VALID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FSF_VALID@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
Lloh14:
	adrp	x9, _FSF_DOWN@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FSF_DOWN@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AM_TTL,4,2                     ; @AM_TTL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Last hard reference to file server %s - will timeout in %ds"

	.comm	_FSF_PINGING,4,2                ; @FSF_PINGING
	.comm	_timeout_srvr,4,2               ; @timeout_srvr
	.comm	_FSF_VALID,4,2                  ; @FSF_VALID
	.comm	_FSF_DOWN,4,2                   ; @FSF_DOWN
.subsections_via_symbols
