	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smb_nbst_done
_smb_nbst_done:                         ## @smb_nbst_done
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	callq	_smb_nbst_disconnect
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	movq	_M_SONAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
LBB0_4:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	movq	_M_SONAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
LBB0_6:
	movq	_M_NBDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_free
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_1:
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_M_SONAME,4,2                   ## @M_SONAME
	.comm	_M_NBDATA,4,2                   ## @M_NBDATA
	.no_dead_strip	_smb_nbst_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smb_nbst_done
_smb_nbst_done:                         ; @smb_nbst_done
	.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	x19, [x0]
	cbz	x19, LBB0_6
; %bb.1:
	bl	_smb_nbst_disconnect
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x20, _M_SONAME@GOTPAGE
Lloh1:
	ldr	x20, [x20, _M_SONAME@GOTPAGEOFF]
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w1, [x20]
	bl	_free
LBB0_3:
	ldr	x0, [x19]
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w1, [x20]
	bl	_free
LBB0_5:
Lloh2:
	adrp	x8, _M_NBDATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_NBDATA@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_free
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh5:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_M_SONAME,4,2                   ; @M_SONAME
	.comm	_M_NBDATA,4,2                   ; @M_NBDATA
	.no_dead_strip	_smb_nbst_done
.subsections_via_symbols
