	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recoveryStopsAfter
_recoveryStopsAfter:                    ## @recoveryStopsAfter
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ArchiveRecoveryRequested@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpl	$0, (%rax)
	je	LBB0_36
## %bb.1:
	movq	%rdi, %r15
	callq	_XLogRecGetInfo
	movq	_XLR_INFO_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	notq	%rbx
	andq	%rax, %rbx
	movq	%r15, %rdi
	callq	_XLogRecGetRmid
	movq	%rax, %r13
	movq	_recoveryTarget@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_RECOVERY_TARGET_NAME@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_6
## %bb.2:
	movq	_RM_XLOG_ID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_6
## %bb.3:
	movq	_XLOG_RESTORE_POINT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	callq	_XLogRecGetData
	movq	%rax, %r12
	movl	(%rax), %edi
	movq	_recoveryTargetName@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_37
## %bb.5:
	movq	_recoveryTarget@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
LBB0_6:
	movq	_RECOVERY_TARGET_LSN@GOTPCREL(%rip), %rax
	movq	_recoveryTargetInclusive@GOTPCREL(%rip), %r12
	cmpq	(%rax), %rcx
	jne	LBB0_10
## %bb.7:
	cmpq	$0, (%r12)
	je	LBB0_10
## %bb.8:
	movq	(%r15), %rax
	movq	_recoveryTargetLSN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jge	LBB0_9
LBB0_10:
	movq	_RM_XACT_ID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_36
## %bb.11:
	movq	_XLOG_XACT_OPMASK@GOTPCREL(%rip), %rax
	andq	(%rax), %rbx
	movq	_XLOG_XACT_COMMIT@GOTPCREL(%rip), %rsi
	movq	_XLOG_XACT_COMMIT_PREPARED@GOTPCREL(%rip), %rdx
	movq	_XLOG_XACT_ABORT@GOTPCREL(%rip), %rax
	movq	_XLOG_XACT_ABORT_PREPARED@GOTPCREL(%rip), %r13
	cmpq	(%rsi), %rbx
	je	LBB0_15
## %bb.12:
	cmpq	(%rdx), %rbx
	je	LBB0_15
## %bb.13:
	cmpq	(%rax), %rbx
	je	LBB0_15
## %bb.14:
	cmpq	(%r13), %rbx
	jne	LBB0_32
LBB0_15:
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_getRecordTimestamp
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	-56(%rbp), %rdi
	callq	_SetLatestXTime
LBB0_17:
	movq	_XLOG_XACT_COMMIT_PREPARED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_19
## %bb.18:
	movq	%r15, %rdi
	callq	_XLogRecGetData
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_XLogRecGetInfo
	leaq	-48(%rbp), %rdx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_ParseCommitRecord
	movq	-48(%rbp), %rax
	jmp	LBB0_22
LBB0_9:
	movq	_recoveryStopAfter@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_recoveryStopXid@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%r15), %eax
	movq	_recoveryStopLSN@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_recoveryStopTime@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_recoveryStopName@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	$0, (%rax)
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%rcx), %edx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	jmp	LBB0_28
LBB0_37:
	movq	_recoveryStopAfter@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_recoveryStopXid@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_InvalidXLogRecPtr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_recoveryStopLSN@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_recoveryStopTime@GOTPCREL(%rip), %r14
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_getRecordTimestamp
	movq	_recoveryStopName@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movl	(%r12), %esi
	movq	_MAXFNAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_strlcpy
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	(%rbx), %rbx
	movq	(%r14), %rdi
	callq	_timestamptz_to_str
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r15d, %edi
LBB0_28:
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_35
LBB0_19:
	cmpq	(%r13), %rbx
	jne	LBB0_21
## %bb.20:
	movq	%r15, %rdi
	callq	_XLogRecGetData
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_XLogRecGetInfo
	leaq	-48(%rbp), %rdx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_ParseAbortRecord
	movq	-48(%rbp), %rax
	jmp	LBB0_22
LBB0_21:
	movq	%r15, %rdi
	callq	_XLogRecGetXid
LBB0_22:
	movq	_recoveryTarget@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_RECOVERY_TARGET_XID@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	movq	_XLOG_XACT_ABORT@GOTPCREL(%rip), %r8
	movq	_XLOG_XACT_COMMIT@GOTPCREL(%rip), %r10
	jne	LBB0_32
## %bb.23:
	cmpq	$0, (%r12)
	je	LBB0_32
## %bb.24:
	movq	_recoveryTargetXid@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	movq	_XLOG_XACT_ABORT_PREPARED@GOTPCREL(%rip), %rdi
	movq	_XLOG_XACT_COMMIT_PREPARED@GOTPCREL(%rip), %r9
	jne	LBB0_32
## %bb.25:
	movq	_recoveryStopAfter@GOTPCREL(%rip), %rcx
	movl	$1, (%rcx)
	movq	_recoveryStopXid@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	-56(%rbp), %rdx
	movq	_recoveryStopTime@GOTPCREL(%rip), %rax
	movq	%rdx, (%rax)
	movq	_InvalidXLogRecPtr@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_recoveryStopLSN@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
	movq	_recoveryStopName@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movb	$0, (%rdx)
	cmpq	(%r10), %rbx
	je	LBB0_27
## %bb.26:
	cmpq	(%r9), %rbx
	je	LBB0_27
## %bb.29:
	movl	$1, %r14d
	cmpq	(%r8), %rbx
	je	LBB0_31
## %bb.30:
	cmpq	(%rdi), %rbx
	jne	LBB0_36
LBB0_31:
	movq	_LOG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	movq	(%rcx), %rbx
	movq	(%rax), %rdi
	callq	_timestamptz_to_str
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_36
LBB0_32:
	movq	_RECOVERY_TARGET_IMMEDIATE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_36
## %bb.33:
	movq	_reachedConsistency@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_36
## %bb.34:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	_recoveryStopAfter@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_recoveryStopXid@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_recoveryStopTime@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_InvalidXLogRecPtr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_recoveryStopLSN@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_recoveryStopName@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	$0, (%rax)
LBB0_35:
	movl	$1, %r14d
LBB0_36:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movq	_LOG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r14d
	movq	(%rcx), %rbx
	movq	(%rax), %rdi
	callq	_timestamptz_to_str
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_ArchiveRecoveryRequested,4,2   ## @ArchiveRecoveryRequested
	.comm	_XLR_INFO_MASK,8,3              ## @XLR_INFO_MASK
	.comm	_recoveryTarget,8,3             ## @recoveryTarget
	.comm	_RECOVERY_TARGET_NAME,8,3       ## @RECOVERY_TARGET_NAME
	.comm	_RM_XLOG_ID,8,3                 ## @RM_XLOG_ID
	.comm	_XLOG_RESTORE_POINT,8,3         ## @XLOG_RESTORE_POINT
	.comm	_recoveryTargetName,4,2         ## @recoveryTargetName
	.comm	_recoveryStopAfter,4,2          ## @recoveryStopAfter
	.comm	_InvalidTransactionId,8,3       ## @InvalidTransactionId
	.comm	_recoveryStopXid,8,3            ## @recoveryStopXid
	.comm	_InvalidXLogRecPtr,4,2          ## @InvalidXLogRecPtr
	.comm	_recoveryStopLSN,4,2            ## @recoveryStopLSN
	.comm	_recoveryStopTime,8,3           ## @recoveryStopTime
	.comm	_recoveryStopName,8,3           ## @recoveryStopName
	.comm	_MAXFNAMELEN,4,2                ## @MAXFNAMELEN
	.comm	_LOG,4,2                        ## @LOG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"recovery stopping at restore point \"%s\", time %s"

	.comm	_RECOVERY_TARGET_LSN,8,3        ## @RECOVERY_TARGET_LSN
	.comm	_recoveryTargetInclusive,8,3    ## @recoveryTargetInclusive
	.comm	_recoveryTargetLSN,8,3          ## @recoveryTargetLSN
L_.str.1:                               ## @.str.1
	.asciz	"recovery stopping after WAL location (LSN) \"%X/%X\""

	.comm	_RM_XACT_ID,8,3                 ## @RM_XACT_ID
	.comm	_XLOG_XACT_OPMASK,8,3           ## @XLOG_XACT_OPMASK
	.comm	_XLOG_XACT_COMMIT,8,3           ## @XLOG_XACT_COMMIT
	.comm	_XLOG_XACT_COMMIT_PREPARED,8,3  ## @XLOG_XACT_COMMIT_PREPARED
	.comm	_XLOG_XACT_ABORT,8,3            ## @XLOG_XACT_ABORT
	.comm	_XLOG_XACT_ABORT_PREPARED,8,3   ## @XLOG_XACT_ABORT_PREPARED
	.comm	_RECOVERY_TARGET_XID,8,3        ## @RECOVERY_TARGET_XID
	.comm	_recoveryTargetXid,8,3          ## @recoveryTargetXid
L_.str.2:                               ## @.str.2
	.asciz	"recovery stopping after commit of transaction %u, time %s"

L_.str.3:                               ## @.str.3
	.asciz	"recovery stopping after abort of transaction %u, time %s"

	.comm	_RECOVERY_TARGET_IMMEDIATE,8,3  ## @RECOVERY_TARGET_IMMEDIATE
	.comm	_reachedConsistency,8,3         ## @reachedConsistency
L_.str.4:                               ## @.str.4
	.asciz	"recovery stopping after reaching consistency"

	.no_dead_strip	_recoveryStopsAfter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recoveryStopsAfter
_recoveryStopsAfter:                    ; @recoveryStopsAfter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _ArchiveRecoveryRequested@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ArchiveRecoveryRequested@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_15
; %bb.1:
	mov	x19, x0
	bl	_XLogRecGetInfo
Lloh3:
	adrp	x8, _XLR_INFO_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XLR_INFO_MASK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	bic	x23, x0, x8
	mov	x0, x19
	bl	_XLogRecGetRmid
	mov	x20, x0
Lloh6:
	adrp	x22, _recoveryTarget@GOTPAGE
Lloh7:
	ldr	x22, [x22, _recoveryTarget@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh8:
	adrp	x9, _RECOVERY_TARGET_NAME@GOTPAGE
Lloh9:
	ldr	x9, [x9, _RECOVERY_TARGET_NAME@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _RM_XLOG_ID@GOTPAGE
Lloh12:
	ldr	x10, [x10, _RM_XLOG_ID@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
Lloh14:
	adrp	x11, _XLOG_RESTORE_POINT@GOTPAGE
Lloh15:
	ldr	x11, [x11, _XLOG_RESTORE_POINT@GOTPAGEOFF]
Lloh16:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x0, x10, #0, eq
	ccmp	x23, x11, #0, eq
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_XLogRecGetData
	mov	x21, x0
	ldr	w0, [x0]
Lloh17:
	adrp	x8, _recoveryTargetName@GOTPAGE
Lloh18:
	ldr	x8, [x8, _recoveryTargetName@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	x0, LBB0_17
; %bb.3:
	ldr	x8, [x22]
LBB0_4:
Lloh20:
	adrp	x9, _RECOVERY_TARGET_LSN@GOTPAGE
Lloh21:
	ldr	x9, [x9, _RECOVERY_TARGET_LSN@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
Lloh23:
	adrp	x27, _recoveryTargetInclusive@GOTPAGE
Lloh24:
	ldr	x27, [x27, _recoveryTargetInclusive@GOTPAGEOFF]
	ldr	x10, [x27]
	cmp	x8, x9
	ccmp	x10, #0, #4, eq
	b.eq	LBB0_6
; %bb.5:
	ldr	x9, [x19]
Lloh25:
	adrp	x10, _recoveryTargetLSN@GOTPAGE
Lloh26:
	ldr	x10, [x10, _recoveryTargetLSN@GOTPAGEOFF]
Lloh27:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ge	LBB0_16
LBB0_6:
Lloh28:
	adrp	x9, _RM_XACT_ID@GOTPAGE
Lloh29:
	ldr	x9, [x9, _RM_XACT_ID@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x20, x9
	b.ne	LBB0_15
; %bb.7:
Lloh31:
	adrp	x9, _XLOG_XACT_OPMASK@GOTPAGE
Lloh32:
	ldr	x9, [x9, _XLOG_XACT_OPMASK@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	and	x21, x9, x23
Lloh34:
	adrp	x26, _XLOG_XACT_COMMIT@GOTPAGE
Lloh35:
	ldr	x26, [x26, _XLOG_XACT_COMMIT@GOTPAGEOFF]
Lloh36:
	adrp	x25, _XLOG_XACT_COMMIT_PREPARED@GOTPAGE
Lloh37:
	ldr	x25, [x25, _XLOG_XACT_COMMIT_PREPARED@GOTPAGEOFF]
	ldr	x9, [x26]
Lloh38:
	adrp	x24, _XLOG_XACT_ABORT@GOTPAGE
Lloh39:
	ldr	x24, [x24, _XLOG_XACT_ABORT@GOTPAGEOFF]
Lloh40:
	adrp	x23, _XLOG_XACT_ABORT_PREPARED@GOTPAGE
Lloh41:
	ldr	x23, [x23, _XLOG_XACT_ABORT_PREPARED@GOTPAGEOFF]
	cmp	x21, x9
	b.eq	LBB0_11
; %bb.8:
	ldr	x9, [x25]
	cmp	x21, x9
	b.eq	LBB0_11
; %bb.9:
	ldr	x9, [x24]
	cmp	x21, x9
	b.eq	LBB0_11
; %bb.10:
	ldr	x9, [x23]
	cmp	x21, x9
	b.ne	LBB0_30
LBB0_11:
	add	x1, sp, #24
	mov	x0, x19
	bl	_getRecordTimestamp
	cbz	x0, LBB0_13
; %bb.12:
	ldr	x0, [sp, #24]
	bl	_SetLatestXTime
LBB0_13:
	ldr	x8, [x25]
	cmp	x21, x8
	b.ne	LBB0_19
; %bb.14:
	mov	x0, x19
	bl	_XLogRecGetData
	mov	x20, x0
	mov	x0, x19
	bl	_XLogRecGetInfo
	add	x2, sp, #16
	mov	x1, x20
	bl	_ParseCommitRecord
	ldr	x0, [sp, #16]
	b	LBB0_22
LBB0_15:
	mov	w20, #0
	b	LBB0_36
LBB0_16:
Lloh42:
	adrp	x8, _recoveryStopAfter@GOTPAGE
Lloh43:
	ldr	x8, [x8, _recoveryStopAfter@GOTPAGEOFF]
	mov	w20, #1
Lloh44:
	str	w20, [x8]
Lloh45:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh46:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
Lloh48:
	adrp	x9, _recoveryStopXid@GOTPAGE
Lloh49:
	ldr	x9, [x9, _recoveryStopXid@GOTPAGEOFF]
Lloh50:
	str	x8, [x9]
	ldr	x8, [x19]
Lloh51:
	adrp	x9, _recoveryStopLSN@GOTPAGE
Lloh52:
	ldr	x9, [x9, _recoveryStopLSN@GOTPAGEOFF]
	str	w8, [x9]
Lloh53:
	adrp	x8, _recoveryStopTime@GOTPAGE
Lloh54:
	ldr	x8, [x8, _recoveryStopTime@GOTPAGEOFF]
Lloh55:
	str	xzr, [x8]
Lloh56:
	adrp	x8, _recoveryStopName@GOTPAGE
Lloh57:
	ldr	x8, [x8, _recoveryStopName@GOTPAGEOFF]
Lloh58:
	ldr	x8, [x8]
	strb	wzr, [x8]
Lloh59:
	adrp	x8, _LOG@GOTPAGE
Lloh60:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh61:
	ldr	w19, [x8]
	ldr	w8, [x9]
	str	x8, [sp, #8]
Lloh62:
	adrp	x0, l_.str.1@PAGE
Lloh63:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_17:
Lloh64:
	adrp	x8, _recoveryStopAfter@GOTPAGE
Lloh65:
	ldr	x8, [x8, _recoveryStopAfter@GOTPAGEOFF]
	mov	w20, #1
Lloh66:
	str	w20, [x8]
Lloh67:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh68:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh69:
	ldr	x8, [x8]
Lloh70:
	adrp	x9, _recoveryStopXid@GOTPAGE
Lloh71:
	ldr	x9, [x9, _recoveryStopXid@GOTPAGEOFF]
Lloh72:
	str	x8, [x9]
Lloh73:
	adrp	x8, _InvalidXLogRecPtr@GOTPAGE
Lloh74:
	ldr	x8, [x8, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
Lloh76:
	adrp	x9, _recoveryStopLSN@GOTPAGE
Lloh77:
	ldr	x9, [x9, _recoveryStopLSN@GOTPAGEOFF]
Lloh78:
	str	w8, [x9]
Lloh79:
	adrp	x22, _recoveryStopTime@GOTPAGE
Lloh80:
	ldr	x22, [x22, _recoveryStopTime@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x22
	bl	_getRecordTimestamp
Lloh81:
	adrp	x23, _recoveryStopName@GOTPAGE
Lloh82:
	ldr	x23, [x23, _recoveryStopName@GOTPAGEOFF]
	ldr	x0, [x23]
	ldr	w1, [x21]
Lloh83:
	adrp	x8, _MAXFNAMELEN@GOTPAGE
Lloh84:
	ldr	x8, [x8, _MAXFNAMELEN@GOTPAGEOFF]
Lloh85:
	ldr	w2, [x8]
	bl	_strlcpy
Lloh86:
	adrp	x8, _LOG@GOTPAGE
Lloh87:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh88:
	ldr	w19, [x8]
	ldr	x21, [x23]
	ldr	x0, [x22]
	bl	_timestamptz_to_str
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh89:
	adrp	x0, l_.str@PAGE
Lloh90:
	add	x0, x0, l_.str@PAGEOFF
LBB0_18:
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
	b	LBB0_36
LBB0_19:
	ldr	x8, [x23]
	cmp	x21, x8
	b.ne	LBB0_21
; %bb.20:
	mov	x0, x19
	bl	_XLogRecGetData
	mov	x20, x0
	mov	x0, x19
	bl	_XLogRecGetInfo
	add	x2, sp, #16
	mov	x1, x20
	bl	_ParseAbortRecord
	ldr	x0, [sp, #16]
	b	LBB0_22
LBB0_21:
	mov	x0, x19
	bl	_XLogRecGetXid
LBB0_22:
	ldr	x8, [x22]
Lloh91:
	adrp	x9, _RECOVERY_TARGET_XID@GOTPAGE
Lloh92:
	ldr	x9, [x9, _RECOVERY_TARGET_XID@GOTPAGEOFF]
Lloh93:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_30
; %bb.23:
	ldr	x9, [x27]
	cbz	x9, LBB0_30
; %bb.24:
Lloh94:
	adrp	x9, _recoveryTargetXid@GOTPAGE
Lloh95:
	ldr	x9, [x9, _recoveryTargetXid@GOTPAGEOFF]
Lloh96:
	ldr	x9, [x9]
	cmp	x0, x9
	b.ne	LBB0_30
; %bb.25:
Lloh97:
	adrp	x9, _recoveryStopAfter@GOTPAGE
Lloh98:
	ldr	x9, [x9, _recoveryStopAfter@GOTPAGEOFF]
	mov	w10, #1
Lloh99:
	adrp	x8, _recoveryStopXid@GOTPAGE
Lloh100:
	ldr	x8, [x8, _recoveryStopXid@GOTPAGEOFF]
Lloh101:
	str	w10, [x9]
	str	x0, [x8]
	ldr	x10, [sp, #24]
Lloh102:
	adrp	x9, _recoveryStopTime@GOTPAGE
Lloh103:
	ldr	x9, [x9, _recoveryStopTime@GOTPAGEOFF]
	str	x10, [x9]
Lloh104:
	adrp	x10, _InvalidXLogRecPtr@GOTPAGE
Lloh105:
	ldr	x10, [x10, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh106:
	ldr	w10, [x10]
Lloh107:
	adrp	x11, _recoveryStopLSN@GOTPAGE
Lloh108:
	ldr	x11, [x11, _recoveryStopLSN@GOTPAGEOFF]
Lloh109:
	str	w10, [x11]
Lloh110:
	adrp	x10, _recoveryStopName@GOTPAGE
Lloh111:
	ldr	x10, [x10, _recoveryStopName@GOTPAGEOFF]
Lloh112:
	ldr	x10, [x10]
	strb	wzr, [x10]
	ldr	x10, [x26]
	cmp	x21, x10
	b.eq	LBB0_33
; %bb.26:
	ldr	x10, [x25]
	cmp	x21, x10
	b.eq	LBB0_33
; %bb.27:
	ldr	x10, [x24]
	cmp	x21, x10
	b.eq	LBB0_29
; %bb.28:
	ldr	x10, [x23]
	cmp	x21, x10
	b.ne	LBB0_35
LBB0_29:
Lloh113:
	adrp	x10, _LOG@GOTPAGE
Lloh114:
	ldr	x10, [x10, _LOG@GOTPAGEOFF]
Lloh115:
	ldr	w19, [x10]
	ldr	x20, [x8]
	ldr	x0, [x9]
	bl	_timestamptz_to_str
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh116:
	adrp	x0, l_.str.3@PAGE
Lloh117:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_34
LBB0_30:
	mov	w20, #0
Lloh118:
	adrp	x9, _RECOVERY_TARGET_IMMEDIATE@GOTPAGE
Lloh119:
	ldr	x9, [x9, _RECOVERY_TARGET_IMMEDIATE@GOTPAGEOFF]
Lloh120:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_36
; %bb.31:
Lloh121:
	adrp	x8, _reachedConsistency@GOTPAGE
Lloh122:
	ldr	x8, [x8, _reachedConsistency@GOTPAGEOFF]
Lloh123:
	ldr	x8, [x8]
	cbz	x8, LBB0_36
; %bb.32:
Lloh124:
	adrp	x8, _LOG@GOTPAGE
Lloh125:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh126:
	ldr	w19, [x8]
Lloh127:
	adrp	x0, l_.str.4@PAGE
Lloh128:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
Lloh129:
	adrp	x8, _recoveryStopAfter@GOTPAGE
Lloh130:
	ldr	x8, [x8, _recoveryStopAfter@GOTPAGEOFF]
Lloh131:
	adrp	x9, _InvalidTransactionId@GOTPAGE
Lloh132:
	ldr	x9, [x9, _InvalidTransactionId@GOTPAGEOFF]
Lloh133:
	ldr	x9, [x9]
Lloh134:
	adrp	x10, _recoveryStopXid@GOTPAGE
Lloh135:
	ldr	x10, [x10, _recoveryStopXid@GOTPAGEOFF]
Lloh136:
	str	x9, [x10]
	mov	w20, #1
Lloh137:
	adrp	x9, _recoveryStopTime@GOTPAGE
Lloh138:
	ldr	x9, [x9, _recoveryStopTime@GOTPAGEOFF]
Lloh139:
	str	w20, [x8]
Lloh140:
	str	xzr, [x9]
Lloh141:
	adrp	x8, _InvalidXLogRecPtr@GOTPAGE
Lloh142:
	ldr	x8, [x8, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh143:
	adrp	x9, _recoveryStopLSN@GOTPAGE
Lloh144:
	ldr	x9, [x9, _recoveryStopLSN@GOTPAGEOFF]
Lloh145:
	ldr	w8, [x8]
Lloh146:
	str	w8, [x9]
Lloh147:
	adrp	x8, _recoveryStopName@GOTPAGE
Lloh148:
	ldr	x8, [x8, _recoveryStopName@GOTPAGEOFF]
Lloh149:
	ldr	x8, [x8]
	strb	wzr, [x8]
	b	LBB0_36
LBB0_33:
Lloh150:
	adrp	x10, _LOG@GOTPAGE
Lloh151:
	ldr	x10, [x10, _LOG@GOTPAGEOFF]
Lloh152:
	ldr	w19, [x10]
	ldr	x20, [x8]
	ldr	x0, [x9]
	bl	_timestamptz_to_str
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh153:
	adrp	x0, l_.str.2@PAGE
Lloh154:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_34:
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_35:
	mov	w20, #1
LBB0_36:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotStr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotStr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotStr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGotStr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotStr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotStr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotStr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGot	Lloh102, Lloh103
	.loh AdrpLdrGot	Lloh99, Lloh100
	.loh AdrpLdrGotStr	Lloh97, Lloh98, Lloh101
	.loh AdrpAdd	Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh149
	.loh AdrpLdrGotStr	Lloh143, Lloh144, Lloh146
	.loh AdrpLdrGotLdr	Lloh141, Lloh142, Lloh145
	.loh AdrpLdrGotStr	Lloh137, Lloh138, Lloh140
	.loh AdrpLdrGotStr	Lloh134, Lloh135, Lloh136
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpLdrGotStr	Lloh129, Lloh130, Lloh139
	.loh AdrpAdd	Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh124, Lloh125, Lloh126
	.loh AdrpAdd	Lloh153, Lloh154
	.loh AdrpLdrGotLdr	Lloh150, Lloh151, Lloh152
	.cfi_endproc
                                        ; -- End function
	.comm	_ArchiveRecoveryRequested,4,2   ; @ArchiveRecoveryRequested
	.comm	_XLR_INFO_MASK,8,3              ; @XLR_INFO_MASK
	.comm	_recoveryTarget,8,3             ; @recoveryTarget
	.comm	_RECOVERY_TARGET_NAME,8,3       ; @RECOVERY_TARGET_NAME
	.comm	_RM_XLOG_ID,8,3                 ; @RM_XLOG_ID
	.comm	_XLOG_RESTORE_POINT,8,3         ; @XLOG_RESTORE_POINT
	.comm	_recoveryTargetName,4,2         ; @recoveryTargetName
	.comm	_recoveryStopAfter,4,2          ; @recoveryStopAfter
	.comm	_InvalidTransactionId,8,3       ; @InvalidTransactionId
	.comm	_recoveryStopXid,8,3            ; @recoveryStopXid
	.comm	_InvalidXLogRecPtr,4,2          ; @InvalidXLogRecPtr
	.comm	_recoveryStopLSN,4,2            ; @recoveryStopLSN
	.comm	_recoveryStopTime,8,3           ; @recoveryStopTime
	.comm	_recoveryStopName,8,3           ; @recoveryStopName
	.comm	_MAXFNAMELEN,4,2                ; @MAXFNAMELEN
	.comm	_LOG,4,2                        ; @LOG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"recovery stopping at restore point \"%s\", time %s"

	.comm	_RECOVERY_TARGET_LSN,8,3        ; @RECOVERY_TARGET_LSN
	.comm	_recoveryTargetInclusive,8,3    ; @recoveryTargetInclusive
	.comm	_recoveryTargetLSN,8,3          ; @recoveryTargetLSN
l_.str.1:                               ; @.str.1
	.asciz	"recovery stopping after WAL location (LSN) \"%X/%X\""

	.comm	_RM_XACT_ID,8,3                 ; @RM_XACT_ID
	.comm	_XLOG_XACT_OPMASK,8,3           ; @XLOG_XACT_OPMASK
	.comm	_XLOG_XACT_COMMIT,8,3           ; @XLOG_XACT_COMMIT
	.comm	_XLOG_XACT_COMMIT_PREPARED,8,3  ; @XLOG_XACT_COMMIT_PREPARED
	.comm	_XLOG_XACT_ABORT,8,3            ; @XLOG_XACT_ABORT
	.comm	_XLOG_XACT_ABORT_PREPARED,8,3   ; @XLOG_XACT_ABORT_PREPARED
	.comm	_RECOVERY_TARGET_XID,8,3        ; @RECOVERY_TARGET_XID
	.comm	_recoveryTargetXid,8,3          ; @recoveryTargetXid
l_.str.2:                               ; @.str.2
	.asciz	"recovery stopping after commit of transaction %u, time %s"

l_.str.3:                               ; @.str.3
	.asciz	"recovery stopping after abort of transaction %u, time %s"

	.comm	_RECOVERY_TARGET_IMMEDIATE,8,3  ; @RECOVERY_TARGET_IMMEDIATE
	.comm	_reachedConsistency,8,3         ; @reachedConsistency
l_.str.4:                               ; @.str.4
	.asciz	"recovery stopping after reaching consistency"

	.no_dead_strip	_recoveryStopsAfter
.subsections_via_symbols
