	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AtSubAbort_Snapshot            ## -- Begin function AtSubAbort_Snapshot
	.p2align	4, 0x90
_AtSubAbort_Snapshot:                   ## @AtSubAbort_Snapshot
	.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	_ActiveSnapshot@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.1:
	movl	%edi, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_pfree
	movq	%rbx, (%r15)
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r14d, (%rbx)
	jl	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	movq	16(%rbx), %rbx
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	setg	%dil
	callq	_Assert
	movq	(%r15), %rdi
	movq	8(%rdi), %rax
	decl	(%rax)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%rax)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	callq	_FreeSnapshot
	movq	(%r15), %rdi
	jmp	LBB0_6
LBB0_7:
	movq	_OldestActiveSnapshot@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SnapshotResetXmin              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ActiveSnapshot,8,3             ## @ActiveSnapshot
	.comm	_OldestActiveSnapshot,8,3       ## @OldestActiveSnapshot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AtSubAbort_Snapshot            ; -- Begin function AtSubAbort_Snapshot
	.p2align	2
_AtSubAbort_Snapshot:                   ; @AtSubAbort_Snapshot
	.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
Lloh0:
	adrp	x20, _ActiveSnapshot@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ActiveSnapshot@GOTPAGEOFF]
	ldr	x21, [x20]
	cbz	x21, LBB0_8
; %bb.1:
	mov	x19, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_pfree
	str	x21, [x20]
	cbz	x21, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21]
	cmp	w9, w19
	b.lt	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x21
	ldr	x21, [x21, #16]
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, gt
	bl	_Assert
	ldr	x0, [x20]
	ldr	x8, [x0, #8]
	ldr	w9, [x8]
	subs	w9, w9, #1
	str	w9, [x8]
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x8
	bl	_FreeSnapshot
	ldr	x0, [x20]
	b	LBB0_2
LBB0_7:
Lloh2:
	adrp	x8, _OldestActiveSnapshot@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OldestActiveSnapshot@GOTPAGEOFF]
Lloh4:
	str	xzr, [x8]
LBB0_8:
	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	_SnapshotResetXmin
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ActiveSnapshot,8,3             ; @ActiveSnapshot
	.comm	_OldestActiveSnapshot,8,3       ; @OldestActiveSnapshot
.subsections_via_symbols
