	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RestoreReindexState            ## -- Begin function RestoreReindexState
	.p2align	4, 0x90
_RestoreReindexState:                   ## @RestoreReindexState
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	20(%rdi), %eax
	movq	_currentlyReindexedHeap@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	16(%rdi), %eax
	movq	_currentlyReindexedIndex@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_pendingReindexedIndexes@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_NIL@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	_TopMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r14d
	cmpl	$0, (%r12)
	jle	LBB0_3
## %bb.1:
	movq	(%r15), %rax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rcx
	movl	(%rcx,%rbx,4), %esi
	movq	%rax, %rdi
	callq	_lappend_oid
	movq	%rax, (%r15)
	incq	%rbx
	movslq	(%r12), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_2
LBB0_3:
	movl	%r14d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MemoryContextSwitchTo          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_currentlyReindexedHeap,4,2     ## @currentlyReindexedHeap
	.comm	_currentlyReindexedIndex,4,2    ## @currentlyReindexedIndex
	.comm	_pendingReindexedIndexes,8,3    ## @pendingReindexedIndexes
	.comm	_NIL,8,3                        ## @NIL
	.comm	_TopMemoryContext,4,2           ## @TopMemoryContext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RestoreReindexState            ; -- Begin function RestoreReindexState
	.p2align	2
_RestoreReindexState:                   ; @RestoreReindexState
	.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	x8, _currentlyReindexedHeap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _currentlyReindexedHeap@GOTPAGEOFF]
	ldp	w10, w9, [x0, #16]
Lloh2:
	str	w9, [x8]
Lloh3:
	adrp	x8, _currentlyReindexedIndex@GOTPAGE
Lloh4:
	ldr	x8, [x8, _currentlyReindexedIndex@GOTPAGEOFF]
Lloh5:
	str	w10, [x8]
Lloh6:
	adrp	x21, _pendingReindexedIndexes@GOTPAGE
Lloh7:
	ldr	x21, [x21, _pendingReindexedIndexes@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh8:
	adrp	x9, _NIL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NIL@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
Lloh11:
	adrp	x8, _TopMemoryContext@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TopMemoryContext@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_MemoryContextSwitchTo
	mov	x20, x0
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
	ldr	x0, [x21]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w1, [x8, x22, lsl #2]
	bl	_lappend_oid
	str	x0, [x21]
	add	x22, x22, #1
	ldrsw	x8, [x19]
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x20
	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	_MemoryContextSwitchTo
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_currentlyReindexedHeap,4,2     ; @currentlyReindexedHeap
	.comm	_currentlyReindexedIndex,4,2    ; @currentlyReindexedIndex
	.comm	_pendingReindexedIndexes,8,3    ; @pendingReindexedIndexes
	.comm	_NIL,8,3                        ; @NIL
	.comm	_TopMemoryContext,4,2           ; @TopMemoryContext
.subsections_via_symbols
