	.file	"extr_snapmgr.c_GetNonHistoricCatalogSnapshot.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	GetNonHistoricCatalogSnapshot
	.type	GetNonHistoricCatalogSnapshot, @function
GetNonHistoricCatalogSnapshot:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR CatalogSnapshot[rip], 0
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	je	.L7
	mov	ebp, edi
	call	RelationInvalidatesSnapshotsOnly@PLT
	test	eax, eax
	je	.L13
.L5:
	mov	rax, QWORD PTR CatalogSnapshot[rip]
	test	rax, rax
	je	.L7
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rdi, CatalogSnapshotData[rip]
	call	GetSnapshotData@PLT
	lea	rdi, RegisteredSnapshots[rip]
	mov	rsi, rax
	mov	QWORD PTR CatalogSnapshot[rip], rax
	call	pairingheap_add@PLT
	mov	rax, QWORD PTR CatalogSnapshot[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	edi, ebp
	call	RelationHasSysCache@PLT
	test	eax, eax
	jne	.L5
	call	InvalidateCatalogSnapshot@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	GetNonHistoricCatalogSnapshot, .-GetNonHistoricCatalogSnapshot
	.comm	RegisteredSnapshots,4,4
	.comm	CatalogSnapshotData,4,4
	.comm	CatalogSnapshot,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_snapmgr.c_GetNonHistoricCatalogSnapshot.c"
	.text
	.align	2
	.global	GetNonHistoricCatalogSnapshot
	.syntax unified
	.arm
	.fpu softvfp
	.type	GetNonHistoricCatalogSnapshot, %function
GetNonHistoricCatalogSnapshot:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, .L14
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L7
	mov	r5, r0
	bl	RelationInvalidatesSnapshotsOnly
	cmp	r0, #0
	beq	.L13
.L5:
	ldr	r0, [r4]
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
.L7:
	ldr	r0, .L14+4
	bl	GetSnapshotData
	mov	r1, r0
	ldr	r0, .L14+8
	str	r1, [r4]
	bl	pairingheap_add
	ldr	r0, [r4]
	pop	{r4, r5, r6, pc}
.L13:
	mov	r0, r5
	bl	RelationHasSysCache
	cmp	r0, #0
	bne	.L5
	bl	InvalidateCatalogSnapshot
	b	.L5
.L15:
	.align	2
.L14:
	.word	CatalogSnapshot
	.word	CatalogSnapshotData
	.word	RegisteredSnapshots
	.size	GetNonHistoricCatalogSnapshot, .-GetNonHistoricCatalogSnapshot
	.comm	RegisteredSnapshots,4,4
	.comm	CatalogSnapshotData,4,4
	.comm	CatalogSnapshot,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
