	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function WaitForWALToBecomeAvailable
_WaitForWALToBecomeAvailable:           ## @WaitForWALToBecomeAvailable
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	_InArchiveRecovery@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_currentSource@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	testl	%r15d, %r15d
	jne	LBB0_5
## %bb.2:
	movl	$130, %r15d
	jmp	LBB0_4
LBB0_3:
	movl	$129, %r15d
LBB0_4:
	movq	_currentSource@GOTPCREL(%rip), %rax
	movl	%r15d, (%rax)
LBB0_5:
	movq	_lastSourceFailed@GOTPCREL(%rip), %r12
	movq	_currentSource@GOTPCREL(%rip), %r14
	movq	_readFile@GOTPCREL(%rip), %rbx
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_elog
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	xorl	%eax, %eax
	callq	_HandleStartupProcInterrupts
	movl	(%r14), %r15d
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r12)
	je	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	leal	-129(%r15), %eax
	cmpl	$2, %eax
	jae	LBB0_20
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%ebx, %ebx
	movq	_StandbyMode@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_68
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%eax, %eax
	callq	_CheckForStandbyTrigger
	testl	%eax, %eax
	jne	LBB0_65
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_StandbyMode@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_68
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_PrimaryConnInfo@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%edi, %edi
	je	LBB0_35
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_35
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r13d, %ebx
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_30
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_RedoStartLSN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ControlFile@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %r13d
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$129, %r15d
	jne	LBB0_39
## %bb.18:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_InArchiveRecovery@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_39
## %bb.19:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	$130, (%r14)
	movl	$130, %eax
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$128, %r15d
	jne	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r13d, %r14d
	movq	_StandbyMode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_Assert
	xorl	%eax, %eax
	callq	_WalRcvStreaming
	testl	%eax, %eax
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%eax, %eax
	callq	_ShutdownWalRcv
LBB0_23:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_recoveryTargetTimeLineGoal@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_RECOVERY_TARGET_TIMELINE_LATEST@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%eax, %eax
	callq	_rescanLatestTimeLine
	testl	%eax, %eax
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_currentSource@GOTPCREL(%rip), %rcx
	movl	$130, (%rcx)
	movl	$130, %eax
	movl	%r14d, %r13d
	movq	%rcx, %r14
	jmp	LBB0_37
LBB0_26:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_elog
	movl	(%r14), %eax
	jmp	LBB0_37
LBB0_27:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%eax, %eax
	callq	_GetCurrentTimestamp
	movq	%rax, %rbx
	movq	_WaitForWALToBecomeAvailable.last_fail_time(%rip), %rdi
	movq	_wal_retrieve_retry_interval@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%rax, %rsi
	callq	_TimestampDifferenceExceeds
	testl	%eax, %eax
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_WaitForWALToBecomeAvailable.last_fail_time(%rip), %rdi
	movq	%rbx, %rsi
	leaq	-64(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	callq	_TimestampDifference
	movslq	(%r13), %rax
	movslq	-72(%rbp), %rcx
	imulq	$-274877907, %rcx, %rcx         ## imm = 0xEF9DB22D
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	imulq	$-1000, -64(%rbp), %rsi         ## imm = 0xFC18
	addq	%rax, %rsi
	movslq	%ecx, %rdx
	addq	%rsi, %rdx
	movq	_WL_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WL_LATCH_SET@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_XLogCtl@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_WL_EXIT_ON_PM_DEATH@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_WAIT_EVENT_RECOVERY_WAL_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_WaitLatch
	movq	(%rbx), %rdi
	callq	_ResetLatch
	xorl	%eax, %eax
	callq	_GetCurrentTimestamp
	movq	%rax, %rbx
LBB0_29:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%r14d, %r13d
	movq	%rbx, _WaitForWALToBecomeAvailable.last_fail_time(%rip)
	movq	_currentSource@GOTPCREL(%rip), %r14
	movl	$130, (%r14)
	movl	$130, %eax
	jmp	LBB0_36
LBB0_30:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_expectedTLEs@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_tliOfPointInHistory
	movl	%eax, %r13d
	movq	_curFileTLI@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testl	%r9d, %r9d
	jle	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpl	%r9d, %r13d
	jge	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_elog
LBB0_33:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	-44(%rbp), %esi                 ## 4-byte Reload
LBB0_34:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_curFileTLI@GOTPCREL(%rip), %rax
	movl	%r13d, (%rax)
	movq	_PrimaryConnInfo@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PrimarySlotName@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r13d, %edi
	callq	_RequestXLogStreaming
	movq	_receivedUpto@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movl	%ebx, %r13d
LBB0_35:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	$128, (%r14)
	movl	$128, %eax
LBB0_36:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_readFile@GOTPCREL(%rip), %rbx
LBB0_37:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpl	%r15d, %eax
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_DEBUG2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_xlogSourceNames@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%r15d, %rdx
	movl	(%rcx,%rdx,4), %edx
	cltq
	movl	(%rcx,%rax,4), %ecx
	cmpl	$0, (%r12)
	leaq	L_.str.4(%rip), %r8
	leaq	L_.str.5(%rip), %rax
	cmoveq	%rax, %r8
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
	movl	(%r14), %r15d
LBB0_39:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	$0, (%r12)
	leal	-129(%r15), %eax
	cmpl	$2, %eax
	jae	LBB0_48
## %bb.40:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	(%rbx), %edi
	testl	%edi, %edi
	js	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_8 Depth=1
	callq	_close
	movl	$-1, (%rbx)
LBB0_42:                                ##   in Loop: Header=BB0_8 Depth=1
	testl	%r13d, %r13d
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_curFileTLI@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_44:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_readSegNo@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DEBUG2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	cmpl	$130, %edx
	jne	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_XLOG_FROM_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_46:                                ##   in Loop: Header=BB0_8 Depth=1
	callq	_XLogFileReadAnyTLI
	movl	%eax, (%rbx)
	testl	%eax, %eax
	jns	LBB0_67
LBB0_55:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, (%r12)
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$128, %r15d
	jne	LBB0_6
## %bb.49:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_StandbyMode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_Assert
	xorl	%eax, %eax
	callq	_WalRcvStreaming
	testl	%eax, %eax
	je	LBB0_55
## %bb.50:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movq	_receivedUpto@GOTPCREL(%rip), %r15
	cmpl	%ebx, (%r15)
	jle	LBB0_56
LBB0_51:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_readFile@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jns	LBB0_66
## %bb.52:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_expectedTLEs@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_54
## %bb.53:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_receiveTLI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_readTimeLineHistory
	movq	_expectedTLEs@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_54:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_readSegNo@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_receiveTLI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$128, %ecx
	xorl	%r8d, %r8d
	callq	_XLogFileRead
	movl	%eax, (%rbx)
	notl	%eax
	shrl	$31, %eax
	movl	%eax, %edi
	callq	_Assert
	jmp	LBB0_7
LBB0_56:                                ##   in Loop: Header=BB0_8 Depth=1
	leaq	-64(%rbp), %rdi
	movq	_receiveTLI@GOTPCREL(%rip), %rsi
	callq	_GetWalRcvWriteRecPtr
	movl	%eax, (%r15)
	cmpl	%ebx, %eax
	jle	LBB0_60
## %bb.57:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_receiveTLI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_curFileTLI@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_60
## %bb.58:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpl	%ebx, -64(%rbp)
	jg	LBB0_51
## %bb.59:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%eax, %eax
	callq	_GetCurrentTimestamp
	movq	_XLogReceiptTime@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%rax, %rdi
	callq	_SetCurrentChunkStartTime
	jmp	LBB0_51
LBB0_60:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%eax, %eax
	callq	_CheckForStandbyTrigger
	testl	%eax, %eax
	je	LBB0_62
## %bb.61:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, (%r12)
	movq	_readFile@GOTPCREL(%rip), %rbx
	jmp	LBB0_7
LBB0_62:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_64
## %bb.63:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%eax, %eax
	callq	_WalRcvForceReply
LBB0_64:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_WL_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WL_LATCH_SET@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_XLogCtl@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_WL_EXIT_ON_PM_DEATH@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_WAIT_EVENT_RECOVERY_WAL_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$5000, %edx                     ## imm = 0x1388
	callq	_WaitLatch
	movq	(%rbx), %rdi
	callq	_ResetLatch
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movq	_readFile@GOTPCREL(%rip), %rbx
	jmp	LBB0_7
LBB0_65:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ShutdownWalRcv
	jmp	LBB0_68
LBB0_66:
	movq	_readSource@GOTPCREL(%rip), %rax
	movl	$128, (%rax)
	movq	_XLogReceiptSource@GOTPCREL(%rip), %rax
	movl	$128, (%rax)
LBB0_67:
	movl	$1, %ebx
LBB0_68:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_WaitForWALToBecomeAvailable.last_fail_time,8,3 ## @WaitForWALToBecomeAvailable.last_fail_time
	.comm	_InArchiveRecovery,8,3          ## @InArchiveRecovery
	.comm	_currentSource,4,2              ## @currentSource
	.comm	_lastSourceFailed,4,2           ## @lastSourceFailed
	.comm	_StandbyMode,4,2                ## @StandbyMode
	.comm	_PrimaryConnInfo,4,2            ## @PrimaryConnInfo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_RedoStartLSN,4,2               ## @RedoStartLSN
	.comm	_ControlFile,8,3                ## @ControlFile
	.comm	_expectedTLEs,4,2               ## @expectedTLEs
	.comm	_curFileTLI,4,2                 ## @curFileTLI
	.comm	_ERROR,4,2                      ## @ERROR
L_.str.1:                               ## @.str.1
	.asciz	"according to history file, WAL location %X/%X belongs to timeline %u, but previous recovered WAL file came from timeline %u"

	.comm	_PrimarySlotName,4,2            ## @PrimarySlotName
	.comm	_receivedUpto,4,2               ## @receivedUpto
	.comm	_recoveryTargetTimeLineGoal,4,2 ## @recoveryTargetTimeLineGoal
	.comm	_RECOVERY_TARGET_TIMELINE_LATEST,4,2 ## @RECOVERY_TARGET_TIMELINE_LATEST
	.comm	_wal_retrieve_retry_interval,4,2 ## @wal_retrieve_retry_interval
	.comm	_XLogCtl,8,3                    ## @XLogCtl
	.comm	_WL_LATCH_SET,4,2               ## @WL_LATCH_SET
	.comm	_WL_TIMEOUT,4,2                 ## @WL_TIMEOUT
	.comm	_WL_EXIT_ON_PM_DEATH,4,2        ## @WL_EXIT_ON_PM_DEATH
	.comm	_WAIT_EVENT_RECOVERY_WAL_STREAM,4,2 ## @WAIT_EVENT_RECOVERY_WAL_STREAM
L_.str.2:                               ## @.str.2
	.asciz	"unexpected WAL source %d"

	.comm	_DEBUG2,4,2                     ## @DEBUG2
L_.str.3:                               ## @.str.3
	.asciz	"switched WAL source from %s to %s after %s"

	.comm	_xlogSourceNames,8,3            ## @xlogSourceNames
L_.str.4:                               ## @.str.4
	.asciz	"failure"

L_.str.5:                               ## @.str.5
	.asciz	"success"

	.comm	_readFile,4,2                   ## @readFile
	.comm	_readSegNo,4,2                  ## @readSegNo
	.comm	_XLOG_FROM_ANY,4,2              ## @XLOG_FROM_ANY
	.comm	_receiveTLI,4,2                 ## @receiveTLI
	.comm	_XLogReceiptTime,8,3            ## @XLogReceiptTime
	.comm	_PANIC,4,2                      ## @PANIC
	.comm	_readSource,4,2                 ## @readSource
	.comm	_XLogReceiptSource,4,2          ## @XLogReceiptSource
	.comm	_WAIT_EVENT_RECOVERY_WAL_ALL,4,2 ## @WAIT_EVENT_RECOVERY_WAL_ALL
	.no_dead_strip	_WaitForWALToBecomeAvailable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function WaitForWALToBecomeAvailable
_WaitForWALToBecomeAvailable:           ; @WaitForWALToBecomeAvailable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	str	x3, [sp, #32]                   ; 8-byte Folded Spill
	str	w2, [sp, #48]                   ; 4-byte Folded Spill
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _InArchiveRecovery@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InArchiveRecovery@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x26, _currentSource@GOTPAGE
Lloh4:
	ldr	x26, [x26, _currentSource@GOTPAGEOFF]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w28, [x26]
	cbnz	w28, LBB0_5
; %bb.2:
	mov	w28, #130
	b	LBB0_4
LBB0_3:
	mov	w28, #129
LBB0_4:
	str	w28, [x26]
LBB0_5:
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
Lloh5:
	adrp	x24, _lastSourceFailed@GOTPAGE
Lloh6:
	ldr	x24, [x24, _lastSourceFailed@GOTPAGEOFF]
Lloh7:
	adrp	x20, _DEBUG2@GOTPAGE
Lloh8:
	ldr	x20, [x20, _DEBUG2@GOTPAGEOFF]
Lloh9:
	adrp	x19, _readFile@GOTPAGE
Lloh10:
	ldr	x19, [x19, _readFile@GOTPAGEOFF]
Lloh11:
	adrp	x27, _readSegNo@GOTPAGE
Lloh12:
	ldr	x27, [x27, _readSegNo@GOTPAGEOFF]
Lloh13:
	adrp	x25, _StandbyMode@GOTPAGE
Lloh14:
	ldr	x25, [x25, _StandbyMode@GOTPAGEOFF]
	mov	w22, #1
	str	w23, [sp, #44]                  ; 4-byte Folded Spill
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
Lloh15:
	adrp	x8, _ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x28
	bl	_elog
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	bl	_HandleStartupProcInterrupts
	ldr	w28, [x26]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24]
	cbz	w8, LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	sub	w8, w28, #129
	cmp	w8, #2
	b.hs	LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x25]
	cbz	w8, LBB0_63
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	bl	_CheckForStandbyTrigger
	cbnz	w0, LBB0_62
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x25]
	cbz	w8, LBB0_63
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh20:
	adrp	x8, _PrimaryConnInfo@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PrimaryConnInfo@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	cbz	w0, LBB0_36
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_36
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #48]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_31
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh25:
	adrp	x8, _RedoStartLSN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _RedoStartLSN@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x8, _ControlFile@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ControlFile@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	ldr	w27, [x8]
	b	LBB0_35
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w28, #129
	b.ne	LBB0_40
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh31:
	adrp	x8, _InArchiveRecovery@GOTPAGE
Lloh32:
	ldr	x8, [x8, _InArchiveRecovery@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cbz	x8, LBB0_40
; %bb.19:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #130
	b	LBB0_37
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w28, #128
	b.ne	LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x19, x21
	mov	x21, x20
	ldr	w0, [x25]
	bl	_Assert
	bl	_WalRcvStreaming
	cbz	w0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_8 Depth=1
	bl	_ShutdownWalRcv
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh34:
	adrp	x8, _recoveryTargetTimeLineGoal@GOTPAGE
Lloh35:
	ldr	x8, [x8, _recoveryTargetTimeLineGoal@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
Lloh37:
	adrp	x9, _RECOVERY_TARGET_TIMELINE_LATEST@GOTPAGE
Lloh38:
	ldr	x9, [x9, _RECOVERY_TARGET_TIMELINE_LATEST@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_8 Depth=1
	bl	_rescanLatestTimeLine
	cbz	w0, LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #130
	str	w8, [x26]
	mov	x20, x21
	b	LBB0_30
LBB0_26:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh40:
	adrp	x8, _ERROR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
Lloh43:
	adrp	x1, l_.str.2@PAGE
Lloh44:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x28
	bl	_elog
	ldr	w8, [x26]
	b	LBB0_38
LBB0_27:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_GetCurrentTimestamp
	mov	x27, x0
	adrp	x22, _WaitForWALToBecomeAvailable.last_fail_time@PAGE
	ldr	x0, [x22, _WaitForWALToBecomeAvailable.last_fail_time@PAGEOFF]
Lloh45:
	adrp	x20, _wal_retrieve_retry_interval@GOTPAGE
Lloh46:
	ldr	x20, [x20, _wal_retrieve_retry_interval@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x1, x27
	bl	_TimestampDifferenceExceeds
	cbnz	w0, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x22, _WaitForWALToBecomeAvailable.last_fail_time@PAGEOFF]
	add	x2, sp, #56
	add	x3, sp, #52
	mov	x1, x27
	bl	_TimestampDifference
	ldrsw	x8, [x20]
	ldr	x9, [sp, #56]
	ldrsw	x10, [sp, #52]
	mov	x11, #-19923
	movk	x11, #61341, lsl #16
	mul	x10, x10, x11
	lsr	x11, x10, #63
	asr	x10, x10, #38
	add	w10, w10, w11
	mov	x11, #-1000
	madd	x8, x9, x11, x8
	add	x2, x8, w10, sxtw
Lloh47:
	adrp	x27, _XLogCtl@GOTPAGE
Lloh48:
	ldr	x27, [x27, _XLogCtl@GOTPAGEOFF]
	ldr	x0, [x27]
Lloh49:
	adrp	x8, _WL_LATCH_SET@GOTPAGE
Lloh50:
	ldr	x8, [x8, _WL_LATCH_SET@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
Lloh52:
	adrp	x9, _WL_TIMEOUT@GOTPAGE
Lloh53:
	ldr	x9, [x9, _WL_TIMEOUT@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh55:
	adrp	x9, _WL_EXIT_ON_PM_DEATH@GOTPAGE
Lloh56:
	ldr	x9, [x9, _WL_EXIT_ON_PM_DEATH@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w1, w8, w9
Lloh58:
	adrp	x8, _WAIT_EVENT_RECOVERY_WAL_STREAM@GOTPAGE
Lloh59:
	ldr	x8, [x8, _WAIT_EVENT_RECOVERY_WAL_STREAM@GOTPAGEOFF]
Lloh60:
	ldr	w3, [x8]
	bl	_WaitLatch
	ldr	x0, [x27]
	bl	_ResetLatch
	bl	_GetCurrentTimestamp
	mov	x27, x0
LBB0_29:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x20, x21
	str	x27, [x22, _WaitForWALToBecomeAvailable.last_fail_time@PAGEOFF]
	mov	w8, #130
	str	w8, [x26]
Lloh61:
	adrp	x27, _readSegNo@GOTPAGE
Lloh62:
	ldr	x27, [x27, _readSegNo@GOTPAGEOFF]
	ldr	w23, [sp, #44]                  ; 4-byte Folded Reload
	mov	w22, #1
LBB0_30:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x21, x19
Lloh63:
	adrp	x19, _readFile@GOTPAGE
Lloh64:
	ldr	x19, [x19, _readFile@GOTPAGEOFF]
	b	LBB0_38
LBB0_31:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh65:
	adrp	x8, _expectedTLEs@GOTPAGE
Lloh66:
	ldr	x8, [x8, _expectedTLEs@GOTPAGEOFF]
Lloh67:
	ldr	w1, [x8]
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_tliOfPointInHistory
	mov	x27, x0
Lloh68:
	adrp	x8, _curFileTLI@GOTPAGE
Lloh69:
	ldr	x8, [x8, _curFileTLI@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_34
; %bb.32:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w27, w8
	b.ge	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh71:
	adrp	x9, _ERROR@GOTPAGE
Lloh72:
	ldr	x9, [x9, _ERROR@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x9]
	stp	x27, x8, [sp, #8]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	str	x8, [sp]
Lloh74:
	adrp	x1, l_.str.1@PAGE
Lloh75:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_34:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x1, x23
LBB0_35:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh76:
	adrp	x8, _curFileTLI@GOTPAGE
Lloh77:
	ldr	x8, [x8, _curFileTLI@GOTPAGEOFF]
Lloh78:
	str	w27, [x8]
Lloh79:
	adrp	x8, _PrimaryConnInfo@GOTPAGE
Lloh80:
	ldr	x8, [x8, _PrimaryConnInfo@GOTPAGEOFF]
Lloh81:
	ldr	w2, [x8]
Lloh82:
	adrp	x8, _PrimarySlotName@GOTPAGE
Lloh83:
	ldr	x8, [x8, _PrimarySlotName@GOTPAGEOFF]
Lloh84:
	ldr	w3, [x8]
	mov	x0, x27
	bl	_RequestXLogStreaming
Lloh85:
	adrp	x8, _receivedUpto@GOTPAGE
Lloh86:
	ldr	x8, [x8, _receivedUpto@GOTPAGEOFF]
Lloh87:
	str	wzr, [x8]
Lloh88:
	adrp	x27, _readSegNo@GOTPAGE
Lloh89:
	ldr	x27, [x27, _readSegNo@GOTPAGEOFF]
LBB0_36:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #128
LBB0_37:                                ;   in Loop: Header=BB0_8 Depth=1
	str	w8, [x26]
LBB0_38:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, w28
	b.eq	LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh90:
	adrp	x9, _xlogSourceNames@GOTPAGE
Lloh91:
	ldr	x9, [x9, _xlogSourceNames@GOTPAGEOFF]
Lloh92:
	ldr	x9, [x9]
	ldr	w2, [x9, w28, sxtw #2]
	ldr	w0, [x20]
	ldr	w10, [x24]
	cmp	w10, #0
Lloh93:
	adrp	x10, l_.str.4@PAGE
Lloh94:
	add	x10, x10, l_.str.4@PAGEOFF
Lloh95:
	adrp	x11, l_.str.5@PAGE
Lloh96:
	add	x11, x11, l_.str.5@PAGEOFF
	csel	x10, x11, x10, eq
	ldr	w8, [x9, w8, sxtw #2]
	stp	x8, x10, [sp]
Lloh97:
	adrp	x1, l_.str.3@PAGE
Lloh98:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_elog
	ldr	w28, [x26]
LBB0_40:                                ;   in Loop: Header=BB0_8 Depth=1
	str	wzr, [x24]
	sub	w8, w28, #129
	cmp	w8, #2
	b.hs	LBB0_47
; %bb.41:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x19]
	tbnz	w0, #31, LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_8 Depth=1
	bl	_close
	mov	w8, #-1
	str	w8, [x19]
LBB0_43:                                ;   in Loop: Header=BB0_8 Depth=1
	cbz	w21, LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh99:
	adrp	x8, _curFileTLI@GOTPAGE
Lloh100:
	ldr	x8, [x8, _curFileTLI@GOTPAGEOFF]
Lloh101:
	str	wzr, [x8]
LBB0_45:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x27]
	ldr	w1, [x20]
	ldr	w8, [x26]
Lloh102:
	adrp	x9, _XLOG_FROM_ANY@GOTPAGE
Lloh103:
	ldr	x9, [x9, _XLOG_FROM_ANY@GOTPAGEOFF]
Lloh104:
	ldr	w9, [x9]
	cmp	w8, #130
	csel	w2, w9, w8, eq
	bl	_XLogFileReadAnyTLI
	str	w0, [x19]
	tbz	w0, #31, LBB0_65
LBB0_46:                                ;   in Loop: Header=BB0_8 Depth=1
	str	w22, [x24]
	b	LBB0_7
LBB0_47:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w28, #128
	b.ne	LBB0_6
; %bb.48:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x25]
	bl	_Assert
	bl	_WalRcvStreaming
	cbz	w0, LBB0_46
; %bb.49:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh105:
	adrp	x8, _receivedUpto@GOTPAGE
Lloh106:
	ldr	x8, [x8, _receivedUpto@GOTPAGEOFF]
Lloh107:
	ldr	w8, [x8]
	cmp	w8, w23
	b.le	LBB0_54
LBB0_50:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x19]
	tbz	w8, #31, LBB0_64
; %bb.51:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh108:
	adrp	x8, _expectedTLEs@GOTPAGE
Lloh109:
	ldr	x8, [x8, _expectedTLEs@GOTPAGEOFF]
Lloh110:
	ldr	w8, [x8]
	cbnz	w8, LBB0_53
; %bb.52:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh111:
	adrp	x8, _receiveTLI@GOTPAGE
Lloh112:
	ldr	x8, [x8, _receiveTLI@GOTPAGEOFF]
Lloh113:
	ldr	w0, [x8]
	bl	_readTimeLineHistory
Lloh114:
	adrp	x8, _expectedTLEs@GOTPAGE
Lloh115:
	ldr	x8, [x8, _expectedTLEs@GOTPAGEOFF]
Lloh116:
	str	w0, [x8]
LBB0_53:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x27]
Lloh117:
	adrp	x8, _PANIC@GOTPAGE
Lloh118:
	ldr	x8, [x8, _PANIC@GOTPAGEOFF]
Lloh119:
	ldr	w1, [x8]
Lloh120:
	adrp	x8, _receiveTLI@GOTPAGE
Lloh121:
	ldr	x8, [x8, _receiveTLI@GOTPAGEOFF]
Lloh122:
	ldr	w2, [x8]
	mov	w3, #128
	mov	w4, #0
	bl	_XLogFileRead
	str	w0, [x19]
	mvn	w8, w0
	lsr	w0, w8, #31
	bl	_Assert
	b	LBB0_7
LBB0_54:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #56
Lloh123:
	adrp	x1, _receiveTLI@GOTPAGE
Lloh124:
	ldr	x1, [x1, _receiveTLI@GOTPAGEOFF]
	bl	_GetWalRcvWriteRecPtr
Lloh125:
	adrp	x8, _receivedUpto@GOTPAGE
Lloh126:
	ldr	x8, [x8, _receivedUpto@GOTPAGEOFF]
Lloh127:
	str	w0, [x8]
	cmp	w0, w23
	b.le	LBB0_58
; %bb.55:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh128:
	adrp	x8, _receiveTLI@GOTPAGE
Lloh129:
	ldr	x8, [x8, _receiveTLI@GOTPAGEOFF]
Lloh130:
	ldr	w8, [x8]
Lloh131:
	adrp	x9, _curFileTLI@GOTPAGE
Lloh132:
	ldr	x9, [x9, _curFileTLI@GOTPAGEOFF]
Lloh133:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_58
; %bb.56:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #56]
	cmp	w8, w23
	b.gt	LBB0_50
; %bb.57:                               ;   in Loop: Header=BB0_8 Depth=1
	bl	_GetCurrentTimestamp
Lloh134:
	adrp	x8, _XLogReceiptTime@GOTPAGE
Lloh135:
	ldr	x8, [x8, _XLogReceiptTime@GOTPAGEOFF]
Lloh136:
	str	x0, [x8]
	bl	_SetCurrentChunkStartTime
	b	LBB0_50
LBB0_58:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_CheckForStandbyTrigger
	cbnz	w0, LBB0_46
; %bb.59:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_61
; %bb.60:                               ;   in Loop: Header=BB0_8 Depth=1
	bl	_WalRcvForceReply
LBB0_61:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh137:
	adrp	x28, _XLogCtl@GOTPAGE
Lloh138:
	ldr	x28, [x28, _XLogCtl@GOTPAGEOFF]
	ldr	x0, [x28]
Lloh139:
	adrp	x8, _WL_LATCH_SET@GOTPAGE
Lloh140:
	ldr	x8, [x8, _WL_LATCH_SET@GOTPAGEOFF]
Lloh141:
	ldr	w8, [x8]
Lloh142:
	adrp	x9, _WL_TIMEOUT@GOTPAGE
Lloh143:
	ldr	x9, [x9, _WL_TIMEOUT@GOTPAGEOFF]
Lloh144:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh145:
	adrp	x9, _WL_EXIT_ON_PM_DEATH@GOTPAGE
Lloh146:
	ldr	x9, [x9, _WL_EXIT_ON_PM_DEATH@GOTPAGEOFF]
Lloh147:
	ldr	w9, [x9]
	orr	w1, w8, w9
Lloh148:
	adrp	x8, _WAIT_EVENT_RECOVERY_WAL_ALL@GOTPAGE
Lloh149:
	ldr	x8, [x8, _WAIT_EVENT_RECOVERY_WAL_ALL@GOTPAGEOFF]
Lloh150:
	ldr	w3, [x8]
	mov	w2, #5000
	bl	_WaitLatch
	ldr	x0, [x28]
	bl	_ResetLatch
	mov	w8, #1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	b	LBB0_7
LBB0_62:
	bl	_ShutdownWalRcv
LBB0_63:
	mov	w0, #0
	b	LBB0_66
LBB0_64:
Lloh151:
	adrp	x8, _readSource@GOTPAGE
Lloh152:
	ldr	x8, [x8, _readSource@GOTPAGEOFF]
	mov	w9, #128
Lloh153:
	str	w9, [x8]
Lloh154:
	adrp	x8, _XLogReceiptSource@GOTPAGE
Lloh155:
	ldr	x8, [x8, _XLogReceiptSource@GOTPAGEOFF]
Lloh156:
	str	w9, [x8]
LBB0_65:
	mov	w0, #1
LBB0_66:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGotStr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotStr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotStr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotStr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotStr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGot	Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGotStr	Lloh134, Lloh135, Lloh136
	.loh AdrpLdrGotLdr	Lloh148, Lloh149, Lloh150
	.loh AdrpLdrGotLdr	Lloh145, Lloh146, Lloh147
	.loh AdrpLdrGotLdr	Lloh142, Lloh143, Lloh144
	.loh AdrpLdrGotLdr	Lloh139, Lloh140, Lloh141
	.loh AdrpLdrGot	Lloh137, Lloh138
	.loh AdrpLdrGotStr	Lloh154, Lloh155, Lloh156
	.loh AdrpLdrGotStr	Lloh151, Lloh152, Lloh153
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_WaitForWALToBecomeAvailable.last_fail_time,8,3 ; @WaitForWALToBecomeAvailable.last_fail_time
	.comm	_InArchiveRecovery,8,3          ; @InArchiveRecovery
	.comm	_currentSource,4,2              ; @currentSource
	.comm	_lastSourceFailed,4,2           ; @lastSourceFailed
	.comm	_StandbyMode,4,2                ; @StandbyMode
	.comm	_PrimaryConnInfo,4,2            ; @PrimaryConnInfo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_RedoStartLSN,4,2               ; @RedoStartLSN
	.comm	_ControlFile,8,3                ; @ControlFile
	.comm	_expectedTLEs,4,2               ; @expectedTLEs
	.comm	_curFileTLI,4,2                 ; @curFileTLI
	.comm	_ERROR,4,2                      ; @ERROR
l_.str.1:                               ; @.str.1
	.asciz	"according to history file, WAL location %X/%X belongs to timeline %u, but previous recovered WAL file came from timeline %u"

	.comm	_PrimarySlotName,4,2            ; @PrimarySlotName
	.comm	_receivedUpto,4,2               ; @receivedUpto
	.comm	_recoveryTargetTimeLineGoal,4,2 ; @recoveryTargetTimeLineGoal
	.comm	_RECOVERY_TARGET_TIMELINE_LATEST,4,2 ; @RECOVERY_TARGET_TIMELINE_LATEST
	.comm	_wal_retrieve_retry_interval,4,2 ; @wal_retrieve_retry_interval
	.comm	_XLogCtl,8,3                    ; @XLogCtl
	.comm	_WL_LATCH_SET,4,2               ; @WL_LATCH_SET
	.comm	_WL_TIMEOUT,4,2                 ; @WL_TIMEOUT
	.comm	_WL_EXIT_ON_PM_DEATH,4,2        ; @WL_EXIT_ON_PM_DEATH
	.comm	_WAIT_EVENT_RECOVERY_WAL_STREAM,4,2 ; @WAIT_EVENT_RECOVERY_WAL_STREAM
l_.str.2:                               ; @.str.2
	.asciz	"unexpected WAL source %d"

	.comm	_DEBUG2,4,2                     ; @DEBUG2
l_.str.3:                               ; @.str.3
	.asciz	"switched WAL source from %s to %s after %s"

	.comm	_xlogSourceNames,8,3            ; @xlogSourceNames
l_.str.4:                               ; @.str.4
	.asciz	"failure"

l_.str.5:                               ; @.str.5
	.asciz	"success"

	.comm	_readFile,4,2                   ; @readFile
	.comm	_readSegNo,4,2                  ; @readSegNo
	.comm	_XLOG_FROM_ANY,4,2              ; @XLOG_FROM_ANY
	.comm	_receiveTLI,4,2                 ; @receiveTLI
	.comm	_XLogReceiptTime,8,3            ; @XLogReceiptTime
	.comm	_PANIC,4,2                      ; @PANIC
	.comm	_readSource,4,2                 ; @readSource
	.comm	_XLogReceiptSource,4,2          ; @XLogReceiptSource
	.comm	_WAIT_EVENT_RECOVERY_WAL_ALL,4,2 ; @WAIT_EVENT_RECOVERY_WAL_ALL
	.no_dead_strip	_WaitForWALToBecomeAvailable
.subsections_via_symbols
