	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RecoveryRestartPoint
_RecoveryRestartPoint:                  ## @RecoveryRestartPoint
	.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	%rdi, %rbx
	xorl	%eax, %eax
	callq	_XLogHaveInvalidPages
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_DEBUG2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_trace_recovery
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_elog                           ## TAILCALL
LBB0_2:
	movq	_XLogCtl@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_SpinLockAcquire
	movq	_ReadRecPtr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rdi
	movl	%eax, 12(%rdi)
	movq	_EndRecPtr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	movl	(%rbx), %eax
	movl	%eax, 4(%rdi)
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_SpinLockRelease                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DEBUG2,4,2                     ## @DEBUG2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not record restart point at %X/%X because there are unresolved references to invalid pages"

	.comm	_XLogCtl,8,3                    ## @XLogCtl
	.comm	_ReadRecPtr,4,2                 ## @ReadRecPtr
	.comm	_EndRecPtr,4,2                  ## @EndRecPtr
	.no_dead_strip	_RecoveryRestartPoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RecoveryRestartPoint
_RecoveryRestartPoint:                  ; @RecoveryRestartPoint
	.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
	bl	_XLogHaveInvalidPages
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _DEBUG2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEBUG2@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_trace_recovery
	ldr	w3, [x19]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_elog
LBB0_2:
Lloh5:
	adrp	x20, _XLogCtl@GOTPAGE
Lloh6:
	ldr	x20, [x20, _XLogCtl@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_SpinLockAcquire
Lloh7:
	adrp	x8, _ReadRecPtr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ReadRecPtr@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	x0, [x20]
Lloh10:
	adrp	x9, _EndRecPtr@GOTPAGE
Lloh11:
	ldr	x9, [x9, _EndRecPtr@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
	ldr	w8, [x19]
	str	w8, [x0, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SpinLockRelease
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_DEBUG2,4,2                     ; @DEBUG2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not record restart point at %X/%X because there are unresolved references to invalid pages"

	.comm	_XLogCtl,8,3                    ; @XLogCtl
	.comm	_ReadRecPtr,4,2                 ; @ReadRecPtr
	.comm	_EndRecPtr,4,2                  ; @EndRecPtr
	.no_dead_strip	_RecoveryRestartPoint
.subsections_via_symbols
