	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FreeVfd
_FreeVfd:                               ## @FreeVfd
	.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, %r14
	movq	_VfdCache@GOTPCREL(%rip), %r15
	movq	(%r15), %r12
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	(%r14,%r14,2), %rbx
	movq	(%r12,%rbx,8), %rax
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rcx
	cmovneq	%rax, %rcx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_elog
	movl	%eax, %edi
	callq	_DO_DB
	movq	(%r12,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	leaq	(%r12,%rbx,8), %r13
	callq	_free
	movq	$0, (%r13)
LBB0_2:
	movl	$0, 8(%r12,%rbx,8)
	movq	(%r15), %rax
	movq	16(%rax), %rcx
	movq	%rcx, 16(%r12,%rbx,8)
	movq	%r14, 16(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VfdCache,8,3                   ## @VfdCache
	.comm	_LOG,4,2                        ## @LOG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FreeVfd: %d (%s)"

L_.str.1:                               ## @.str.1
	.space	1

	.no_dead_strip	_FreeVfd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FreeVfd
_FreeVfd:                               ; @FreeVfd
	.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	x19, x0
Lloh0:
	adrp	x20, _VfdCache@GOTPAGE
Lloh1:
	ldr	x20, [x20, _VfdCache@GOTPAGEOFF]
	ldr	x21, [x20]
Lloh2:
	adrp	x8, _LOG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	w8, #24
	madd	x22, x19, x8, x21
	ldr	x8, [x22]
Lloh5:
	adrp	x9, l_.str.1@PAGE
Lloh6:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x8, #0
	csel	x3, x9, x8, eq
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_elog
	bl	_DO_DB
	ldr	x0, [x22]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_free
	str	xzr, [x22]
LBB0_2:
	mov	w8, #24
	madd	x8, x19, x8, x21
	str	wzr, [x8, #8]
	ldr	x9, [x20]
	ldr	x10, [x9, #16]
	str	x10, [x8, #16]
	str	x19, [x9, #16]
	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
	ret
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VfdCache,8,3                   ; @VfdCache
	.comm	_LOG,4,2                        ; @LOG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FreeVfd: %d (%s)"

l_.str.1:                               ; @.str.1
	.space	1

	.no_dead_strip	_FreeVfd
.subsections_via_symbols
