	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetNonHistoricCatalogSnapshot  ## -- Begin function GetNonHistoricCatalogSnapshot
	.p2align	4, 0x90
_GetNonHistoricCatalogSnapshot:         ## @GetNonHistoricCatalogSnapshot
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_CatalogSnapshot@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_5
## %bb.1:
	movl	%edi, %ebx
	callq	_RelationInvalidatesSnapshotsOnly
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movl	%ebx, %edi
	callq	_RelationHasSysCache
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_InvalidateCatalogSnapshot
LBB0_4:
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_6
LBB0_5:
	movq	_CatalogSnapshotData@GOTPCREL(%rip), %rdi
	callq	_GetSnapshotData
	movq	%rax, (%r14)
	movq	_RegisteredSnapshots@GOTPCREL(%rip), %rdi
	movq	%rax, %rsi
	callq	_pairingheap_add
	movq	(%r14), %rax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CatalogSnapshot,8,3            ## @CatalogSnapshot
	.comm	_CatalogSnapshotData,4,2        ## @CatalogSnapshotData
	.comm	_RegisteredSnapshots,4,2        ## @RegisteredSnapshots
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetNonHistoricCatalogSnapshot  ; -- Begin function GetNonHistoricCatalogSnapshot
	.p2align	2
_GetNonHistoricCatalogSnapshot:         ; @GetNonHistoricCatalogSnapshot
	.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
Lloh0:
	adrp	x20, _CatalogSnapshot@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CatalogSnapshot@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_RelationInvalidatesSnapshotsOnly
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_RelationHasSysCache
	cbz	w0, LBB0_6
LBB0_3:
	ldr	x0, [x20]
	cbnz	x0, LBB0_5
LBB0_4:
Lloh2:
	adrp	x0, _CatalogSnapshotData@GOTPAGE
Lloh3:
	ldr	x0, [x0, _CatalogSnapshotData@GOTPAGEOFF]
	bl	_GetSnapshotData
	mov	x1, x0
	str	x0, [x20]
Lloh4:
	adrp	x0, _RegisteredSnapshots@GOTPAGE
Lloh5:
	ldr	x0, [x0, _RegisteredSnapshots@GOTPAGEOFF]
	bl	_pairingheap_add
	ldr	x0, [x20]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	_InvalidateCatalogSnapshot
	ldr	x0, [x20]
	cbnz	x0, LBB0_5
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_CatalogSnapshot,8,3            ; @CatalogSnapshot
	.comm	_CatalogSnapshotData,4,2        ; @CatalogSnapshotData
	.comm	_RegisteredSnapshots,4,2        ; @RegisteredSnapshots
.subsections_via_symbols
