	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function try_free_snapdata
_try_free_snapdata:                     ## @try_free_snapdata
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_ASSERT_VI_LOCKED
	movq	8(%rbx), %rax
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_6
## %bb.1:
	leaq	24(%r14), %rdi
	callq	_TAILQ_FIRST
	testq	%rax, %rax
	je	LBB0_2
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_VI_UNLOCK                      ## TAILCALL
LBB0_2:
	movl	(%rbx), %eax
	movq	_VV_COPYONWRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_6
## %bb.3:
	movq	8(%rbx), %rdx
	movq	$0, (%rdx)
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rbx)
	movq	_LK_DRAIN@GOTPCREL(%rip), %rax
	movq	_LK_INTERLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	orl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_VI_MTX
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_lockmgr
	movq	16(%r14), %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r14)
	movq	_LK_RELEASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_lockmgr
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	movq	_M_UFSMNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_free
LBB0_5:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ffs_snapdata_free              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"try_free_snapdata"

	.comm	_VV_COPYONWRITE,4,2             ## @VV_COPYONWRITE
	.comm	_LK_DRAIN,4,2                   ## @LK_DRAIN
	.comm	_LK_INTERLOCK,4,2               ## @LK_INTERLOCK
	.comm	_LK_RELEASE,4,2                 ## @LK_RELEASE
	.comm	_M_UFSMNT,4,2                   ## @M_UFSMNT
	.no_dead_strip	_try_free_snapdata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function try_free_snapdata
_try_free_snapdata:                     ; @try_free_snapdata
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ASSERT_VI_LOCKED
	ldr	x8, [x20, #8]
	ldr	x19, [x8]
	cbz	x19, LBB0_2
; %bb.1:
	add	x0, x19, #24
	bl	_TAILQ_FIRST
	cbz	x0, LBB0_3
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_VI_UNLOCK
LBB0_3:
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _VV_COPYONWRITE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _VV_COPYONWRITE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.4:
	ldr	x10, [x20, #8]
	str	xzr, [x10]
	bic	w8, w8, w9
Lloh5:
	adrp	x9, _LK_DRAIN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _LK_DRAIN@GOTPAGEOFF]
	str	w8, [x20]
Lloh7:
	ldr	w8, [x9]
Lloh8:
	adrp	x9, _LK_INTERLOCK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LK_INTERLOCK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w21, w9, w8
	mov	x0, x20
	bl	_VI_MTX
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_lockmgr
	ldr	x20, [x19, #16]
	stp	xzr, xzr, [x19, #8]
Lloh11:
	adrp	x8, _LK_RELEASE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LK_RELEASE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_lockmgr
	cbz	x20, LBB0_6
; %bb.5:
Lloh14:
	adrp	x8, _M_UFSMNT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _M_UFSMNT@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_free
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ffs_snapdata_free
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"try_free_snapdata"

	.comm	_VV_COPYONWRITE,4,2             ; @VV_COPYONWRITE
	.comm	_LK_DRAIN,4,2                   ; @LK_DRAIN
	.comm	_LK_INTERLOCK,4,2               ; @LK_INTERLOCK
	.comm	_LK_RELEASE,4,2                 ; @LK_RELEASE
	.comm	_M_UFSMNT,4,2                   ; @M_UFSMNT
	.no_dead_strip	_try_free_snapdata
.subsections_via_symbols
