	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SnapBuildFreeSnapshot
_SnapBuildFreeSnapshot:                 ## @SnapBuildFreeSnapshot
	.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
	movq	(%rdi), %rax
	movq	_SNAPSHOT_HISTORIC_MVCC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	8(%rbx), %rax
	movq	_FirstCommandId@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	xorl	%edi, %edi
	cmpl	$0, 44(%rbx)
	sete	%dil
	callq	_Assert
	xorl	%edi, %edi
	cmpl	$0, 40(%rbx)
	sete	%dil
	callq	_Assert
	xorl	%edi, %edi
	cmpq	$0, 16(%rbx)
	sete	%dil
	callq	_Assert
	cmpq	$0, 32(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_2:
	cmpq	$0, 24(%rbx)
	je	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SNAPSHOT_HISTORIC_MVCC,8,3     ## @SNAPSHOT_HISTORIC_MVCC
	.comm	_FirstCommandId,8,3             ## @FirstCommandId
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot free a copied snapshot"

L_.str.1:                               ## @.str.1
	.asciz	"cannot free an active snapshot"

	.no_dead_strip	_SnapBuildFreeSnapshot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SnapBuildFreeSnapshot
_SnapBuildFreeSnapshot:                 ; @SnapBuildFreeSnapshot
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SNAPSHOT_HISTORIC_MVCC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SNAPSHOT_HISTORIC_MVCC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _FirstCommandId@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FirstCommandId@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	ldr	w8, [x19, #44]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	ldr	w8, [x19, #40]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x19, #16]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x19, #32]
Lloh6:
	adrp	x20, _ERROR@GOTPAGE
Lloh7:
	ldr	x20, [x20, _ERROR@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x20]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_2:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x20]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pfree
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SNAPSHOT_HISTORIC_MVCC,8,3     ; @SNAPSHOT_HISTORIC_MVCC
	.comm	_FirstCommandId,8,3             ; @FirstCommandId
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot free a copied snapshot"

l_.str.1:                               ; @.str.1
	.asciz	"cannot free an active snapshot"

	.no_dead_strip	_SnapBuildFreeSnapshot
.subsections_via_symbols
