	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_sm_done                    ## -- Begin function smb_sm_done
	.p2align	4, 0x90
_smb_sm_done:                           ## @smb_sm_done
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_smb_vclist@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	$2, %esi
	jl	LBB0_2
## %bb.1:
	decl	%esi
	leaq	L_.str(%rip), %rdi
	callq	_SMBERROR
	movq	_EBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_smb_vclist@GOTPCREL(%rip), %rdi
	callq	_smb_co_done
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_smb_vclist,4,2                 ## @smb_vclist
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d connections still active\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_sm_done                    ; -- Begin function smb_sm_done
	.p2align	2
_smb_sm_done:                           ; @smb_sm_done
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _smb_vclist@GOTPAGE
Lloh1:
	ldr	x8, [x8, _smb_vclist@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
	sub	w1, w8, #1
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_SMBERROR
Lloh5:
	adrp	x8, _EBUSY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh8:
	adrp	x0, _smb_vclist@GOTPAGE
Lloh9:
	ldr	x0, [x0, _smb_vclist@GOTPAGEOFF]
	bl	_smb_co_done
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_smb_vclist,4,2                 ; @smb_vclist
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d connections still active\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
.subsections_via_symbols
