	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WalReceiverMain                ## -- Begin function WalReceiverMain
	.p2align	4, 0x90
_WalReceiverMain:                       ## @WalReceiverMain
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MAXCONNINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_NAMEDATALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -120(%rbp)                ## 8-byte Spill
	movq	_WalRcv@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	$0, -112(%rbp)
	movl	$0, -76(%rbp)
	xorl	%edi, %edi
	testq	%r12, %r12
	setne	%dil
	callq	_Assert
	xorl	%eax, %eax
	callq	_GetCurrentTimestamp
	movq	%rax, %r14
	leaq	48(%r12), %r15
	movq	%r15, %rdi
	callq	_SpinLockAcquire
	xorl	%edi, %edi
	cmpq	$0, (%r12)
	sete	%dil
	callq	_Assert
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movl	8(%r12), %eax
	cmpl	$132, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$131, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_5
## %bb.3:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	$131, 8(%rax)
LBB0_4:
	movq	%r15, %rdi
	callq	_SpinLockRelease
	movl	$1, %edi
	callq	_proc_exit
	jmp	LBB0_6
LBB0_5:
	movq	%r15, %rdi
	callq	_SpinLockRelease
	movq	_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_6:
	movq	_MyProcPid@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, (%rbx)
	movq	$129, 8(%rbx)
	movq	64(%rbx), %rsi
	movq	_MAXCONNINFO@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r13, %r12
	movq	%r13, %rdi
	callq	_strlcpy
	movq	96(%rbx), %rsi
	movq	_NAMEDATALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_strlcpy
	movl	16(%rbx), %eax
	movl	%eax, -60(%rbp)
	movq	24(%rbx), %rax
	movq	%rax, -48(%rbp)
	movq	%r14, 72(%rbx)
	movq	%r14, 80(%rbx)
	movq	%r14, 88(%rbx)
	movq	_MyProc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%rbx)
	movq	%r15, %rdi
	callq	_SpinLockRelease
	movq	_WalRcvDie@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_on_shmem_exit
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_WalRcvSigHupHandler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pqsignal
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_pqsignal
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_WalRcvShutdownHandler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pqsignal
	movq	_SIGQUIT@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_WalRcvQuickDieHandler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pqsignal
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_pqsignal
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_pqsignal
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_WalRcvSigUsr1Handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pqsignal
	movq	_SIGUSR2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_pqsignal
	movq	_SIGCHLD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_DFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pqsignal
	movl	(%r13), %esi
	movq	_BlockSig@GOTPCREL(%rip), %rdi
	callq	_sigdelset
	leaq	L_.str.1(%rip), %rdi
	xorl	%esi, %esi
	callq	_load_file
	movq	_WalReceiverFunctions@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_8
## %bb.7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_elog
LBB0_8:
	movq	_UnBlockSig@GOTPCREL(%rip), %rdi
	callq	_PG_SETMASK
	movq	_cluster_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpb	$0, (%rax)
	leaq	L_.str.3(%rip), %rdx
	cmovneq	%rax, %rdx
	leaq	-128(%rbp), %rcx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_walrcv_connect
	movq	_wrconn@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	-128(%rbp), %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
	movl	(%rbx), %eax
LBB0_10:
	movl	%eax, %edi
	callq	_walrcv_get_conninfo
	movq	%rax, %r13
	movl	(%rbx), %edi
	leaq	-112(%rbp), %rsi
	leaq	-76(%rbp), %rdx
	callq	_walrcv_get_senderinfo
	movq	%r15, %rdi
	callq	_SpinLockAcquire
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	64(%rbx), %rdi
	movq	_MAXCONNINFO@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	xorl	%esi, %esi
	callq	_memset
	testq	%r13, %r13
	je	LBB0_12
## %bb.11:
	movq	64(%rbx), %rdi
	movl	(%r14), %edx
	movq	%r13, %rsi
	callq	_strlcpy
LBB0_12:
	movq	56(%rbx), %rdi
	movq	_NI_MAXHOST@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	-112(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.13:
	movq	56(%rbx), %rdi
	movl	(%r14), %edx
	callq	_strlcpy
LBB0_14:
	movl	-76(%rbp), %eax
	movl	%eax, 32(%rbx)
	movl	$1, 12(%rbx)
	movq	%r15, %rdi
	callq	_SpinLockRelease
	testq	%r13, %r13
	je	LBB0_16
## %bb.15:
	movq	%r13, %rdi
	callq	_pfree
LBB0_16:
	movq	-112(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:
	callq	_pfree
LBB0_18:
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	leaq	-104(%rbp), %r12
	leaq	-72(%rbp), %r14
	movq	_wrconn@GOTPCREL(%rip), %r13
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_54:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%r13, %rdi
	callq	_XLogArchiveNotify
LBB0_55:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%r15, %rsp
	movq	_wrconn@GOTPCREL(%rip), %r13
	movq	_recvFile@GOTPCREL(%rip), %rbx
LBB0_56:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	$-1, (%rbx)
	movq	_DEBUG1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.16(%rip), %rsi
	callq	_elog
	leaq	-60(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_WalRcvWaitForStartPosition
LBB0_19:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_25 Depth 2
                                        ##       Child Loop BB0_32 Depth 3
	movl	(%r13), %edi
	leaq	-96(%rbp), %rsi
	callq	_walrcv_identify_system
	movq	%rax, %r15
	movq	_UINT64_FORMAT@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	xorl	%eax, %eax
	callq	_GetSystemIdentifier
	leaq	-192(%rbp), %r13
	movq	%r13, %rdi
	movl	$32, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_snprintf
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	leaq	L_.str.6(%rip), %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_errdetail
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	-96(%rbp), %rsi
	movq	-48(%rbp), %rdx
	cmpq	%rdx, %rsi
	jae	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	-48(%rbp), %rdx
	movq	-96(%rbp), %rsi
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	_got_SIGHUP@GOTPCREL(%rip), %r15
	movq	_wrconn@GOTPCREL(%rip), %r13
	movq	%rdx, %rdi
	callq	_WalRcvFetchTimeLineHistoryFiles
	movl	$0, -152(%rbp)
	movl	-60(%rbp), %eax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	cmpb	$0, (%rcx)
	movl	%eax, -148(%rbp)
	movq	%rcx, %rax
	movl	$0, %ecx
	cmoveq	%rcx, %rax
	movq	%rax, -144(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, -136(%rbp)
	movq	_ThisTimeLineID@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%r13), %edi
	leaq	-152(%rbp), %rsi
	callq	_walrcv_startstreaming
	testq	%rax, %rax
	je	LBB0_48
## %bb.24:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-60(%rbp), %edx
	movq	-48(%rbp), %rcx
	leaq	L_.str.8(%rip), %rdi
	leaq	L_.str.9(%rip), %rax
	cmoveq	%rax, %rdi
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	xorl	%edi, %edi
	callq	_GetXLogReplayRecPtr
	movq	_LogstreamResult@GOTPCREL(%rip), %rcx
	movl	%eax, 4(%rcx)
	movl	%eax, (%rcx)
	movq	_reply_message@GOTPCREL(%rip), %rdi
	callq	_initStringInfo
	movq	_incoming_message@GOTPCREL(%rip), %rdi
	callq	_initStringInfo
	xorl	%eax, %eax
	callq	_GetCurrentTimestamp
	movq	%rax, %r13
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_25 Depth=2
	leaq	-72(%rbp), %r14
LBB0_47:                                ##   in Loop: Header=BB0_25 Depth=2
	movl	%r15d, %edi
	movl	%r15d, %esi
	callq	_XLogWalRcvSendReply
	xorl	%edi, %edi
	callq	_XLogWalRcvSendHSFeedback
	movq	_got_SIGHUP@GOTPCREL(%rip), %r15
LBB0_25:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_32 Depth 3
	movq	_PGINVALID_SOCKET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	xorl	%eax, %eax
	callq	_RecoveryInProgress
	testl	%eax, %eax
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=2
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_27:                                ##   in Loop: Header=BB0_25 Depth=2
	xorl	%eax, %eax
	callq	_ProcessWalRcvInterrupts
	cmpl	$0, (%r15)
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_25 Depth=2
	movl	$0, (%r15)
	movq	_PGC_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ProcessConfigFile
	movl	$1, %edi
	callq	_XLogWalRcvSendHSFeedback
LBB0_29:                                ##   in Loop: Header=BB0_25 Depth=2
	movq	_wrconn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_walrcv_receive
	testl	%eax, %eax
	je	LBB0_36
## %bb.30:                              ##   in Loop: Header=BB0_25 Depth=2
	jle	LBB0_34
## %bb.31:                              ##   in Loop: Header=BB0_25 Depth=2
	movl	%eax, %ebx
	movq	_wrconn@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_32:                                ##   Parent Loop BB0_19 Depth=1
                                        ##     Parent Loop BB0_25 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	xorl	%eax, %eax
	callq	_GetCurrentTimestamp
	movq	%rax, %r13
	movq	-104(%rbp), %rsi
	movsbl	(%rsi), %edi
	incq	%rsi
	decl	%ebx
	movl	%ebx, %edx
	callq	_XLogWalRcvProcessMsg
	movl	(%r15), %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_walrcv_receive
	movl	%eax, %ebx
	testl	%eax, %eax
	jg	LBB0_32
## %bb.33:                              ##   in Loop: Header=BB0_25 Depth=2
	movq	_got_SIGHUP@GOTPCREL(%rip), %r15
	jne	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_25 Depth=2
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_XLogWalRcvSendReply
	xorl	%edi, %edi
	callq	_XLogWalRcvFlush
LBB0_36:                                ##   in Loop: Header=BB0_25 Depth=2
	movq	-72(%rbp), %rax
	xorl	%edi, %edi
	movq	_PGINVALID_SOCKET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_Assert
	movq	_WL_SOCKET_READABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WL_EXIT_ON_PM_DEATH@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_WL_TIMEOUT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_WL_LATCH_SET@GOTPCREL(%rip), %r12
	orl	(%r12), %esi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	40(%rbx), %rdi
	movq	-72(%rbp), %rdx
	movq	_NAPTIME_PER_CYCLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_WAIT_EVENT_WAL_RECEIVER_MAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_WaitLatchOrSocket
	movl	%eax, %r14d
	testl	%eax, (%r12)
	je	LBB0_39
## %bb.37:                              ##   in Loop: Header=BB0_25 Depth=2
	movq	40(%rbx), %rdi
	callq	_ResetLatch
	xorl	%eax, %eax
	callq	_ProcessWalRcvInterrupts
	cmpl	$0, 36(%rbx)
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_25 Depth=2
	movl	$0, 36(%rbx)
	xorl	%eax, %eax
	callq	_pg_memory_barrier
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_XLogWalRcvSendReply
LBB0_39:                                ##   in Loop: Header=BB0_25 Depth=2
	movq	_WL_TIMEOUT@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_40
## %bb.41:                              ##   in Loop: Header=BB0_25 Depth=2
	xorl	%r15d, %r15d
	movq	_wal_receiver_timeout@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	leaq	-104(%rbp), %r12
	jle	LBB0_42
## %bb.43:                              ##   in Loop: Header=BB0_25 Depth=2
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_GetCurrentTimestamp
	movl	(%rbx), %esi
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_TimestampTzPlusMilliseconds
	cmpq	%rax, %rbx
	jl	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_25 Depth=2
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.13(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_45:                                ##   in Loop: Header=BB0_25 Depth=2
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	movl	$1, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	-72(%rbp), %r14
	jne	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_25 Depth=2
	movq	_wal_receiver_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	movq	%r13, %rdi
	callq	_TimestampTzPlusMilliseconds
	xorl	%r15d, %r15d
	cmpq	%rax, %rbx
	setge	%r15b
	movl	%r15d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_25 Depth=2
	leaq	-104(%rbp), %r12
	leaq	-72(%rbp), %r14
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movq	-48(%rbp), %rsi
	movq	_LogstreamResult@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_errdetail
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_XLogWalRcvSendReply
	xorl	%edi, %edi
	callq	_XLogWalRcvFlush
	movq	_wrconn@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	-96(%rbp), %rsi
	callq	_walrcv_endstreaming
	movq	-48(%rbp), %rdi
	movq	-96(%rbp), %rsi
	callq	_WalRcvFetchTimeLineHistoryFiles
	jmp	LBB0_49
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-48(%rbp), %rsi
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_49:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	_recvFile@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	js	LBB0_56
## %bb.50:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%rsp, %r15
	movq	_MAXFNAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	xorl	%edi, %edi
	callq	_XLogWalRcvFlush
	movl	(%rbx), %edi
	callq	_close
	testq	%rax, %rax
	movq	_recvFileTLI@GOTPCREL(%rip), %rbx
	movq	_recvSegNo@GOTPCREL(%rip), %rax
	je	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	_PANIC@GOTPCREL(%rip), %rax
	movq	%r15, %rbx
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	movq	_recvFileTLI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_recvSegNo@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_XLogFileNameP
	leaq	L_.str.15(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r15d, %edi
	movq	%rbx, %r15
	movl	%eax, %esi
	callq	_ereport
	movq	_recvSegNo@GOTPCREL(%rip), %rax
	movq	_recvFileTLI@GOTPCREL(%rip), %rbx
LBB0_52:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	(%rbx), %esi
	movl	(%rax), %edx
	movq	_wal_segment_size@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_XLogFileName
	movq	_XLogArchiveMode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ARCHIVE_MODE_ALWAYS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_54
## %bb.53:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r13, %rdi
	callq	_XLogArchiveForceDone
	jmp	LBB0_55
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXCONNINFO,4,2                ## @MAXCONNINFO
	.comm	_NAMEDATALEN,4,2                ## @NAMEDATALEN
	.comm	_WalRcv,8,3                     ## @WalRcv
	.comm	_PANIC,4,2                      ## @PANIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"walreceiver still running according to shared memory state"

	.comm	_MyProcPid,8,3                  ## @MyProcPid
	.comm	_MyProc,8,3                     ## @MyProc
	.comm	_WalRcvDie,4,2                  ## @WalRcvDie
	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_WalRcvSigHupHandler,4,2        ## @WalRcvSigHupHandler
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_WalRcvShutdownHandler,4,2      ## @WalRcvShutdownHandler
	.comm	_SIGQUIT,4,2                    ## @SIGQUIT
	.comm	_WalRcvQuickDieHandler,4,2      ## @WalRcvQuickDieHandler
	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIGUSR1,4,2                    ## @SIGUSR1
	.comm	_WalRcvSigUsr1Handler,4,2       ## @WalRcvSigUsr1Handler
	.comm	_SIGUSR2,4,2                    ## @SIGUSR2
	.comm	_SIGCHLD,4,2                    ## @SIGCHLD
	.comm	_SIG_DFL,4,2                    ## @SIG_DFL
	.comm	_BlockSig,4,2                   ## @BlockSig
L_.str.1:                               ## @.str.1
	.asciz	"libpqwalreceiver"

	.comm	_WalReceiverFunctions,8,3       ## @WalReceiverFunctions
	.comm	_ERROR,4,2                      ## @ERROR
L_.str.2:                               ## @.str.2
	.asciz	"libpqwalreceiver didn't initialize correctly"

	.comm	_UnBlockSig,4,2                 ## @UnBlockSig
	.comm	_cluster_name,8,3               ## @cluster_name
L_.str.3:                               ## @.str.3
	.asciz	"walreceiver"

	.comm	_wrconn,4,2                     ## @wrconn
L_.str.4:                               ## @.str.4
	.asciz	"could not connect to the primary server: %s"

	.comm	_NI_MAXHOST,4,2                 ## @NI_MAXHOST
	.comm	_UINT64_FORMAT,8,3              ## @UINT64_FORMAT
L_.str.5:                               ## @.str.5
	.asciz	"database system identifier differs between the primary and standby"

L_.str.6:                               ## @.str.6
	.asciz	"The primary's identifier is %s, the standby's identifier is %s."

L_.str.7:                               ## @.str.7
	.asciz	"highest timeline %u of the primary is behind recovery timeline %u"

	.comm	_ThisTimeLineID,8,3             ## @ThisTimeLineID
	.comm	_LOG,4,2                        ## @LOG
L_.str.8:                               ## @.str.8
	.asciz	"started streaming WAL from primary at %X/%X on timeline %u"

L_.str.9:                               ## @.str.9
	.asciz	"restarted WAL streaming at %X/%X on timeline %u"

	.comm	_LogstreamResult,8,2            ## @LogstreamResult
	.comm	_reply_message,4,2              ## @reply_message
	.comm	_incoming_message,4,2           ## @incoming_message
	.comm	_PGINVALID_SOCKET,8,3           ## @PGINVALID_SOCKET
	.comm	_FATAL,4,2                      ## @FATAL
L_.str.10:                              ## @.str.10
	.asciz	"cannot continue WAL streaming, recovery has already ended"

	.comm	_got_SIGHUP,4,2                 ## @got_SIGHUP
	.comm	_PGC_SIGHUP,4,2                 ## @PGC_SIGHUP
L_.str.11:                              ## @.str.11
	.asciz	"replication terminated by primary server"

L_.str.12:                              ## @.str.12
	.asciz	"End of WAL reached on timeline %u at %X/%X."

	.comm	_WL_EXIT_ON_PM_DEATH,4,2        ## @WL_EXIT_ON_PM_DEATH
	.comm	_WL_SOCKET_READABLE,4,2         ## @WL_SOCKET_READABLE
	.comm	_WL_TIMEOUT,4,2                 ## @WL_TIMEOUT
	.comm	_WL_LATCH_SET,4,2               ## @WL_LATCH_SET
	.comm	_NAPTIME_PER_CYCLE,4,2          ## @NAPTIME_PER_CYCLE
	.comm	_WAIT_EVENT_WAL_RECEIVER_MAIN,4,2 ## @WAIT_EVENT_WAL_RECEIVER_MAIN
	.comm	_wal_receiver_timeout,4,2       ## @wal_receiver_timeout
L_.str.13:                              ## @.str.13
	.asciz	"terminating walreceiver due to timeout"

L_.str.14:                              ## @.str.14
	.asciz	"primary server contains no more WAL on requested timeline %u"

	.comm	_recvFile,4,2                   ## @recvFile
	.comm	_MAXFNAMELEN,4,2                ## @MAXFNAMELEN
L_.str.15:                              ## @.str.15
	.asciz	"could not close log segment %s: %m"

	.comm	_recvFileTLI,4,2                ## @recvFileTLI
	.comm	_recvSegNo,4,2                  ## @recvSegNo
	.comm	_wal_segment_size,4,2           ## @wal_segment_size
	.comm	_XLogArchiveMode,8,3            ## @XLogArchiveMode
	.comm	_ARCHIVE_MODE_ALWAYS,8,3        ## @ARCHIVE_MODE_ALWAYS
	.comm	_DEBUG1,4,2                     ## @DEBUG1
L_.str.16:                              ## @.str.16
	.asciz	"walreceiver ended streaming and awaits new instructions"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function WalReceiverMain
lCPI0_0:
	.long	129                             ; 0x81
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_WalReceiverMain
	.p2align	2
_WalReceiverMain:                       ; @WalReceiverMain
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #144
Lloh0:
	adrp	x19, _MAXCONNINFO@GOTPAGE
Lloh1:
	ldr	x19, [x19, _MAXCONNINFO@GOTPAGEOFF]
	ldr	w8, [x19]
	mov	x9, x8
Lloh2:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh3:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x23, x9, x8
	mov	sp, x23
Lloh4:
	adrp	x20, _NAMEDATALEN@GOTPAGE
Lloh5:
	ldr	x20, [x20, _NAMEDATALEN@GOTPAGEOFF]
	ldr	w8, [x20]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x8, x9, x8
	stur	x8, [x29, #-224]                ; 8-byte Folded Spill
	mov	sp, x8
Lloh8:
	adrp	x8, _WalRcv@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WalRcv@GOTPAGEOFF]
Lloh10:
	ldr	x21, [x8]
	stur	xzr, [x29, #-120]
	stur	wzr, [x29, #-124]
	cmp	x21, #0
	cset	w0, ne
	bl	_Assert
	bl	_GetCurrentTimestamp
	mov	x22, x0
	add	x24, x21, #48
	mov	x0, x24
	bl	_SpinLockAcquire
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	ldr	w8, [x21, #8]
	cmp	w8, #132
	b.eq	LBB0_6
; %bb.1:
	cmp	w8, #131
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_5
; %bb.3:
	mov	w8, #131
	str	w8, [x21, #8]
LBB0_4:
	mov	x0, x24
	bl	_SpinLockRelease
	mov	w0, #1
	bl	_proc_exit
	b	LBB0_6
LBB0_5:
	mov	x0, x24
	bl	_SpinLockRelease
Lloh11:
	adrp	x8, _PANIC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PANIC@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_6:
Lloh16:
	adrp	x8, _MyProcPid@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MyProcPid@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	x8, [x21]
Lloh19:
	adrp	x8, lCPI0_0@PAGE
Lloh20:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x21, #8]
	ldr	x1, [x21, #64]
	ldr	w2, [x19]
	mov	x0, x23
	bl	_strlcpy
	ldr	x1, [x21, #96]
	ldr	w2, [x20]
	ldur	x0, [x29, #-224]                ; 8-byte Folded Reload
	bl	_strlcpy
	ldr	w8, [x21, #16]
	stur	w8, [x29, #-84]
	ldr	x8, [x21, #24]
	stur	x8, [x29, #-96]
	stp	x22, x22, [x21, #72]
	str	x22, [x21, #88]
Lloh21:
	adrp	x8, _MyProc@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MyProc@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	str	x8, [x21, #40]
	mov	x0, x24
	bl	_SpinLockRelease
Lloh24:
	adrp	x8, _WalRcvDie@GOTPAGE
Lloh25:
	ldr	x8, [x8, _WalRcvDie@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_on_shmem_exit
Lloh27:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x8, _WalRcvSigHupHandler@GOTPAGE
Lloh31:
	ldr	x8, [x8, _WalRcvSigHupHandler@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	bl	_pqsignal
Lloh33:
	adrp	x8, _SIGINT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x20, _SIG_IGN@GOTPAGE
Lloh37:
	ldr	x20, [x20, _SIG_IGN@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_pqsignal
Lloh38:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x8, _WalRcvShutdownHandler@GOTPAGE
Lloh42:
	ldr	x8, [x8, _WalRcvShutdownHandler@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	bl	_pqsignal
Lloh44:
	adrp	x22, _SIGQUIT@GOTPAGE
Lloh45:
	ldr	x22, [x22, _SIGQUIT@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh46:
	adrp	x8, _WalRcvQuickDieHandler@GOTPAGE
Lloh47:
	ldr	x8, [x8, _WalRcvQuickDieHandler@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	bl	_pqsignal
Lloh49:
	adrp	x8, _SIGALRM@GOTPAGE
Lloh50:
	ldr	x8, [x8, _SIGALRM@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_pqsignal
Lloh52:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_pqsignal
Lloh55:
	adrp	x8, _SIGUSR1@GOTPAGE
Lloh56:
	ldr	x8, [x8, _SIGUSR1@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
Lloh58:
	adrp	x8, _WalRcvSigUsr1Handler@GOTPAGE
Lloh59:
	ldr	x8, [x8, _WalRcvSigUsr1Handler@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	bl	_pqsignal
Lloh61:
	adrp	x8, _SIGUSR2@GOTPAGE
Lloh62:
	ldr	x8, [x8, _SIGUSR2@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_pqsignal
Lloh64:
	adrp	x8, _SIGCHLD@GOTPAGE
Lloh65:
	ldr	x8, [x8, _SIGCHLD@GOTPAGEOFF]
Lloh66:
	ldr	w0, [x8]
Lloh67:
	adrp	x8, _SIG_DFL@GOTPAGE
Lloh68:
	ldr	x8, [x8, _SIG_DFL@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x8]
	bl	_pqsignal
	ldr	w1, [x22]
Lloh70:
	adrp	x0, _BlockSig@GOTPAGE
Lloh71:
	ldr	x0, [x0, _BlockSig@GOTPAGEOFF]
	bl	_sigdelset
Lloh72:
	adrp	x0, l_.str.1@PAGE
Lloh73:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #0
	bl	_load_file
Lloh74:
	adrp	x8, _WalReceiverFunctions@GOTPAGE
Lloh75:
	ldr	x8, [x8, _WalReceiverFunctions@GOTPAGEOFF]
Lloh76:
	ldr	x8, [x8]
	cbnz	x8, LBB0_8
; %bb.7:
Lloh77:
	adrp	x8, _ERROR@GOTPAGE
Lloh78:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh79:
	ldr	w0, [x8]
Lloh80:
	adrp	x1, l_.str.2@PAGE
Lloh81:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_elog
LBB0_8:
Lloh82:
	adrp	x0, _UnBlockSig@GOTPAGE
Lloh83:
	ldr	x0, [x0, _UnBlockSig@GOTPAGEOFF]
	bl	_PG_SETMASK
Lloh84:
	adrp	x8, _cluster_name@GOTPAGE
Lloh85:
	ldr	x8, [x8, _cluster_name@GOTPAGEOFF]
Lloh86:
	ldr	x8, [x8]
	ldrb	w9, [x8]
Lloh87:
	adrp	x10, l_.str.3@PAGE
Lloh88:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	w9, #0
	csel	x2, x10, x8, eq
	sub	x3, x29, #112
	mov	x0, x23
	mov	w1, #0
	bl	_walrcv_connect
Lloh89:
	adrp	x20, _wrconn@GOTPAGE
Lloh90:
	ldr	x20, [x20, _wrconn@GOTPAGEOFF]
	str	w0, [x20]
	cbnz	w0, LBB0_10
; %bb.9:
Lloh91:
	adrp	x8, _ERROR@GOTPAGE
Lloh92:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh93:
	ldr	w23, [x8]
	ldur	x8, [x29, #-112]
	str	x8, [sp, #-16]!
Lloh94:
	adrp	x0, l_.str.4@PAGE
Lloh95:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
	ldr	w0, [x20]
LBB0_10:
	bl	_walrcv_get_conninfo
	mov	x23, x0
	ldr	w0, [x20]
	sub	x1, x29, #120
	sub	x2, x29, #124
	bl	_walrcv_get_senderinfo
	mov	x0, x24
	bl	_SpinLockAcquire
	ldr	x0, [x21, #64]
	ldr	w2, [x19]
	mov	w1, #0
	bl	_memset
	cbz	x23, LBB0_12
; %bb.11:
	ldr	x0, [x21, #64]
	ldr	w2, [x19]
	mov	x1, x23
	bl	_strlcpy
LBB0_12:
	ldr	x0, [x21, #56]
Lloh96:
	adrp	x19, _NI_MAXHOST@GOTPAGE
Lloh97:
	ldr	x19, [x19, _NI_MAXHOST@GOTPAGEOFF]
	ldr	w2, [x19]
	mov	w1, #0
	bl	_memset
	ldur	x1, [x29, #-120]
	cbz	x1, LBB0_14
; %bb.13:
	ldr	x0, [x21, #56]
	ldr	w2, [x19]
	bl	_strlcpy
LBB0_14:
	ldur	w8, [x29, #-124]
	str	w8, [x21, #32]
	mov	w8, #1
	str	w8, [x21, #12]
	mov	x0, x24
	bl	_SpinLockRelease
	cbz	x23, LBB0_16
; %bb.15:
	mov	x0, x23
	bl	_pfree
LBB0_16:
	ldur	x0, [x29, #-120]
	cbz	x0, LBB0_18
; %bb.17:
	bl	_pfree
LBB0_18:
	mov	w8, #1
	stur	w8, [x29, #-204]                ; 4-byte Folded Spill
Lloh98:
	adrp	x19, _PGINVALID_SOCKET@GOTPAGE
Lloh99:
	ldr	x19, [x19, _PGINVALID_SOCKET@GOTPAGEOFF]
Lloh100:
	adrp	x27, _got_SIGHUP@GOTPAGE
Lloh101:
	ldr	x27, [x27, _got_SIGHUP@GOTPAGEOFF]
Lloh102:
	adrp	x28, _WL_EXIT_ON_PM_DEATH@GOTPAGE
Lloh103:
	ldr	x28, [x28, _WL_EXIT_ON_PM_DEATH@GOTPAGEOFF]
Lloh104:
	adrp	x26, _WL_TIMEOUT@GOTPAGE
Lloh105:
	ldr	x26, [x26, _WL_TIMEOUT@GOTPAGEOFF]
Lloh106:
	adrp	x22, _WL_LATCH_SET@GOTPAGE
Lloh107:
	ldr	x22, [x22, _WL_LATCH_SET@GOTPAGEOFF]
	b	LBB0_22
LBB0_19:                                ;   in Loop: Header=BB0_22 Depth=1
	bl	_XLogArchiveNotify
LBB0_20:                                ;   in Loop: Header=BB0_22 Depth=1
	ldur	x8, [x29, #-216]                ; 8-byte Folded Reload
	mov	sp, x8
Lloh108:
	adrp	x12, _recvFile@GOTPAGE
Lloh109:
	ldr	x12, [x12, _recvFile@GOTPAGEOFF]
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	w8, #-1
	str	w8, [x12]
Lloh110:
	adrp	x8, _DEBUG1@GOTPAGE
Lloh111:
	ldr	x8, [x8, _DEBUG1@GOTPAGEOFF]
Lloh112:
	ldr	w0, [x8]
Lloh113:
	adrp	x1, l_.str.16@PAGE
Lloh114:
	add	x1, x1, l_.str.16@PAGEOFF
	bl	_elog
	sub	x0, x29, #84
	sub	x1, x29, #96
	bl	_WalRcvWaitForStartPosition
Lloh115:
	adrp	x28, _WL_EXIT_ON_PM_DEATH@GOTPAGE
Lloh116:
	ldr	x28, [x28, _WL_EXIT_ON_PM_DEATH@GOTPAGEOFF]
LBB0_22:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_30 Depth 2
                                        ;       Child Loop BB0_36 Depth 3
	ldr	w0, [x20]
	sub	x1, x29, #104
	bl	_walrcv_identify_system
	mov	x24, x0
Lloh117:
	adrp	x8, _UINT64_FORMAT@GOTPAGE
Lloh118:
	ldr	x8, [x8, _UINT64_FORMAT@GOTPAGEOFF]
Lloh119:
	ldr	x25, [x8]
	bl	_GetSystemIdentifier
	mov	x3, x0
	sub	x0, x29, #156
	mov	w1, #32
	mov	x2, x25
	bl	_snprintf
	sub	x1, x29, #156
	mov	x0, x24
	bl	_strcmp
	cbz	x0, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
Lloh120:
	adrp	x8, _ERROR@GOTPAGE
Lloh121:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh122:
	ldr	w25, [x8]
Lloh123:
	adrp	x0, l_.str.5@PAGE
Lloh124:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_errmsg
	sub	x2, x29, #156
Lloh125:
	adrp	x0, l_.str.6@PAGE
Lloh126:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x24
	bl	_errdetail
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_24:                                ;   in Loop: Header=BB0_22 Depth=1
	ldp	x1, x0, [x29, #-104]
	cmp	x1, x0
	b.hs	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_22 Depth=1
Lloh127:
	adrp	x8, _ERROR@GOTPAGE
Lloh128:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh129:
	ldr	w24, [x8]
	stp	x1, x0, [sp, #-16]!
Lloh130:
	adrp	x0, l_.str.7@PAGE
Lloh131:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
	ldp	x1, x0, [x29, #-104]
LBB0_26:                                ;   in Loop: Header=BB0_22 Depth=1
	bl	_WalRcvFetchTimeLineHistoryFiles
	ldur	w8, [x29, #-84]
	stp	wzr, w8, [x29, #-184]
	ldur	x9, [x29, #-224]                ; 8-byte Folded Reload
	ldrb	w8, [x9]
	cmp	w8, #0
	csel	x8, xzr, x9, eq
	ldur	x9, [x29, #-96]
	stp	x8, x9, [x29, #-176]
Lloh132:
	adrp	x8, _ThisTimeLineID@GOTPAGE
Lloh133:
	ldr	x8, [x8, _ThisTimeLineID@GOTPAGEOFF]
Lloh134:
	str	x9, [x8]
	ldr	w0, [x20]
	sub	x1, x29, #184
	bl	_walrcv_startstreaming
Lloh135:
	adrp	x8, _LOG@GOTPAGE
Lloh136:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
	cbz	x0, LBB0_51
; %bb.27:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w24, [x8]
	ldur	x8, [x29, #-96]
	ldur	w9, [x29, #-204]                ; 4-byte Folded Reload
	cmp	w9, #0
Lloh137:
	adrp	x9, l_.str.8@PAGE
Lloh138:
	add	x9, x9, l_.str.8@PAGEOFF
Lloh139:
	adrp	x10, l_.str.9@PAGE
Lloh140:
	add	x10, x10, l_.str.9@PAGEOFF
	csel	x0, x10, x9, eq
	ldur	w9, [x29, #-84]
	sub	sp, sp, #32
	stp	x9, x8, [sp, #8]
	bl	_errmsg
	add	sp, sp, #32
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
	mov	x0, #0
	bl	_GetXLogReplayRecPtr
Lloh141:
	adrp	x8, _LogstreamResult@GOTPAGE
Lloh142:
	ldr	x8, [x8, _LogstreamResult@GOTPAGEOFF]
	stp	w0, w0, [x8]
Lloh143:
	adrp	x0, _reply_message@GOTPAGE
Lloh144:
	ldr	x0, [x0, _reply_message@GOTPAGEOFF]
	bl	_initStringInfo
Lloh145:
	adrp	x0, _incoming_message@GOTPAGE
Lloh146:
	ldr	x0, [x0, _incoming_message@GOTPAGEOFF]
	bl	_initStringInfo
	bl	_GetCurrentTimestamp
	mov	x24, x0
	stur	wzr, [x29, #-204]               ; 4-byte Folded Spill
	b	LBB0_30
LBB0_28:                                ;   in Loop: Header=BB0_30 Depth=2
	mov	w0, #0
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=2
	mov	x1, x0
	bl	_XLogWalRcvSendReply
	mov	w0, #0
	bl	_XLogWalRcvSendHSFeedback
LBB0_30:                                ;   Parent Loop BB0_22 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_36 Depth 3
	ldr	x8, [x19]
	stur	x8, [x29, #-200]
	bl	_RecoveryInProgress
	cbnz	w0, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=2
Lloh147:
	adrp	x8, _FATAL@GOTPAGE
Lloh148:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh149:
	ldr	w25, [x8]
Lloh150:
	adrp	x0, l_.str.10@PAGE
Lloh151:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_32:                                ;   in Loop: Header=BB0_30 Depth=2
	bl	_ProcessWalRcvInterrupts
	ldr	w8, [x27]
	cbz	w8, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_30 Depth=2
	str	wzr, [x27]
Lloh152:
	adrp	x8, _PGC_SIGHUP@GOTPAGE
Lloh153:
	ldr	x8, [x8, _PGC_SIGHUP@GOTPAGEOFF]
Lloh154:
	ldr	w0, [x8]
	bl	_ProcessConfigFile
	mov	w0, #1
	bl	_XLogWalRcvSendHSFeedback
LBB0_34:                                ;   in Loop: Header=BB0_30 Depth=2
	ldr	w0, [x20]
	sub	x1, x29, #192
	sub	x2, x29, #200
	bl	_walrcv_receive
	cbz	w0, LBB0_39
; %bb.35:                               ;   in Loop: Header=BB0_30 Depth=2
	mov	x25, x0
	cmp	w0, #1
	b.lt	LBB0_50
LBB0_36:                                ;   Parent Loop BB0_22 Depth=1
                                        ;     Parent Loop BB0_30 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	bl	_GetCurrentTimestamp
	mov	x24, x0
	ldur	x1, [x29, #-192]
	ldrsb	w0, [x1], #1
	sub	w2, w25, #1
	bl	_XLogWalRcvProcessMsg
	ldr	w0, [x20]
	sub	x1, x29, #192
	sub	x2, x29, #200
	bl	_walrcv_receive
	mov	x25, x0
	cmp	w0, #0
	b.gt	LBB0_36
; %bb.37:                               ;   in Loop: Header=BB0_30 Depth=2
	cbnz	w25, LBB0_50
; %bb.38:                               ;   in Loop: Header=BB0_30 Depth=2
	mov	w0, #0
	mov	w1, #0
	bl	_XLogWalRcvSendReply
	mov	w0, #0
	bl	_XLogWalRcvFlush
	stur	wzr, [x29, #-204]               ; 4-byte Folded Spill
LBB0_39:                                ;   in Loop: Header=BB0_30 Depth=2
	ldur	x8, [x29, #-200]
	ldr	x9, [x19]
	cmp	x8, x9
	cset	w0, ne
	bl	_Assert
	ldr	x0, [x21, #40]
	ldr	w8, [x28]
Lloh155:
	adrp	x9, _WL_SOCKET_READABLE@GOTPAGE
Lloh156:
	ldr	x9, [x9, _WL_SOCKET_READABLE@GOTPAGEOFF]
Lloh157:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x26]
	orr	w8, w8, w9
	ldr	w9, [x22]
	orr	w1, w8, w9
	ldur	x2, [x29, #-200]
Lloh158:
	adrp	x8, _NAPTIME_PER_CYCLE@GOTPAGE
Lloh159:
	ldr	x8, [x8, _NAPTIME_PER_CYCLE@GOTPAGEOFF]
Lloh160:
	ldr	w3, [x8]
Lloh161:
	adrp	x8, _WAIT_EVENT_WAL_RECEIVER_MAIN@GOTPAGE
Lloh162:
	ldr	x8, [x8, _WAIT_EVENT_WAL_RECEIVER_MAIN@GOTPAGEOFF]
Lloh163:
	ldr	w4, [x8]
	bl	_WaitLatchOrSocket
	mov	x25, x0
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_42
; %bb.40:                               ;   in Loop: Header=BB0_30 Depth=2
	ldr	x0, [x21, #40]
	bl	_ResetLatch
	bl	_ProcessWalRcvInterrupts
	ldr	w8, [x21, #36]
	cbz	w8, LBB0_42
; %bb.41:                               ;   in Loop: Header=BB0_30 Depth=2
	str	wzr, [x21, #36]
	bl	_pg_memory_barrier
	mov	w0, #1
	mov	w1, #0
	bl	_XLogWalRcvSendReply
LBB0_42:                                ;   in Loop: Header=BB0_30 Depth=2
	ldr	w8, [x26]
	tst	w8, w25
	b.eq	LBB0_30
; %bb.43:                               ;   in Loop: Header=BB0_30 Depth=2
Lloh164:
	adrp	x9, _wal_receiver_timeout@GOTPAGE
Lloh165:
	ldr	x9, [x9, _wal_receiver_timeout@GOTPAGEOFF]
	ldr	w8, [x9]
	cmp	w8, #1
	b.lt	LBB0_28
; %bb.44:                               ;   in Loop: Header=BB0_30 Depth=2
	mov	x23, x21
	mov	x21, x22
	mov	x22, x26
	mov	x26, x19
	mov	x19, x9
	bl	_GetCurrentTimestamp
	mov	x25, x0
	ldr	w1, [x19]
	mov	x0, x24
	bl	_TimestampTzPlusMilliseconds
	cmp	x25, x0
	b.lt	LBB0_46
; %bb.45:                               ;   in Loop: Header=BB0_30 Depth=2
Lloh166:
	adrp	x8, _ERROR@GOTPAGE
Lloh167:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh168:
	ldr	w28, [x8]
Lloh169:
	adrp	x0, l_.str.13@PAGE
Lloh170:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x28
Lloh171:
	adrp	x28, _WL_EXIT_ON_PM_DEATH@GOTPAGE
Lloh172:
	ldr	x28, [x28, _WL_EXIT_ON_PM_DEATH@GOTPAGEOFF]
	bl	_ereport
LBB0_46:                                ;   in Loop: Header=BB0_30 Depth=2
	ldur	w8, [x29, #-204]                ; 4-byte Folded Reload
	cbz	w8, LBB0_48
; %bb.47:                               ;   in Loop: Header=BB0_30 Depth=2
	mov	w0, #0
	mov	w8, #1
	stur	w8, [x29, #-204]                ; 4-byte Folded Spill
	b	LBB0_49
LBB0_48:                                ;   in Loop: Header=BB0_30 Depth=2
Lloh173:
	adrp	x8, _wal_receiver_timeout@GOTPAGE
Lloh174:
	ldr	x8, [x8, _wal_receiver_timeout@GOTPAGEOFF]
Lloh175:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w1, w8, #1
	mov	x0, x24
	bl	_TimestampTzPlusMilliseconds
	cmp	x25, x0
	cset	w0, ge
	stur	w0, [x29, #-204]                ; 4-byte Folded Spill
LBB0_49:                                ;   in Loop: Header=BB0_30 Depth=2
	mov	x19, x26
	mov	x26, x22
	mov	x22, x21
	mov	x21, x23
	b	LBB0_29
LBB0_50:                                ;   in Loop: Header=BB0_22 Depth=1
Lloh176:
	adrp	x8, _LOG@GOTPAGE
Lloh177:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh178:
	ldr	w24, [x8]
Lloh179:
	adrp	x0, l_.str.11@PAGE
Lloh180:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_errmsg
	ldur	x1, [x29, #-96]
Lloh181:
	adrp	x8, _LogstreamResult@GOTPAGE
Lloh182:
	ldr	x8, [x8, _LogstreamResult@GOTPAGEOFF]
Lloh183:
	ldr	w8, [x8]
	str	x8, [sp, #-16]!
Lloh184:
	adrp	x0, l_.str.12@PAGE
Lloh185:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_errdetail
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
	mov	w0, #0
	mov	w1, #0
	bl	_XLogWalRcvSendReply
	mov	w0, #0
	bl	_XLogWalRcvFlush
	ldr	w0, [x20]
	sub	x1, x29, #104
	bl	_walrcv_endstreaming
	ldp	x1, x0, [x29, #-104]
	bl	_WalRcvFetchTimeLineHistoryFiles
	stur	wzr, [x29, #-204]               ; 4-byte Folded Spill
	b	LBB0_52
LBB0_51:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	w24, [x8]
	ldur	x8, [x29, #-96]
	str	x8, [sp, #-16]!
Lloh186:
	adrp	x0, l_.str.14@PAGE
Lloh187:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_52:                                ;   in Loop: Header=BB0_22 Depth=1
Lloh188:
	adrp	x12, _recvFile@GOTPAGE
Lloh189:
	ldr	x12, [x12, _recvFile@GOTPAGEOFF]
	ldr	w8, [x12]
Lloh190:
	adrp	x28, _recvFileTLI@GOTPAGE
Lloh191:
	ldr	x28, [x28, _recvFileTLI@GOTPAGEOFF]
Lloh192:
	adrp	x23, _recvSegNo@GOTPAGE
Lloh193:
	ldr	x23, [x23, _recvSegNo@GOTPAGEOFF]
	tbnz	w8, #31, LBB0_21
; %bb.53:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x8, sp
	stur	x8, [x29, #-216]                ; 8-byte Folded Spill
Lloh194:
	adrp	x8, _MAXFNAMELEN@GOTPAGE
Lloh195:
	ldr	x8, [x8, _MAXFNAMELEN@GOTPAGEOFF]
Lloh196:
	ldr	w8, [x8]
	mov	x9, x8
Lloh197:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh198:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	mov	x25, x12
	sub	x24, x9, x8
	mov	sp, x24
	mov	w0, #0
	bl	_XLogWalRcvFlush
	ldr	w0, [x25]
	bl	_close
	cbz	x0, LBB0_55
; %bb.54:                               ;   in Loop: Header=BB0_22 Depth=1
Lloh199:
	adrp	x8, _PANIC@GOTPAGE
Lloh200:
	ldr	x8, [x8, _PANIC@GOTPAGEOFF]
Lloh201:
	ldr	w25, [x8]
	bl	_errcode_for_file_access
	ldr	w0, [x28]
	ldr	w1, [x23]
	bl	_XLogFileNameP
	str	x0, [sp, #-16]!
Lloh202:
	adrp	x0, l_.str.15@PAGE
Lloh203:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_55:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	w1, [x28]
	ldr	w2, [x23]
Lloh204:
	adrp	x8, _wal_segment_size@GOTPAGE
Lloh205:
	ldr	x8, [x8, _wal_segment_size@GOTPAGEOFF]
Lloh206:
	ldr	w3, [x8]
	mov	x0, x24
	bl	_XLogFileName
Lloh207:
	adrp	x8, _XLogArchiveMode@GOTPAGE
Lloh208:
	ldr	x8, [x8, _XLogArchiveMode@GOTPAGEOFF]
Lloh209:
	ldr	x8, [x8]
Lloh210:
	adrp	x9, _ARCHIVE_MODE_ALWAYS@GOTPAGE
Lloh211:
	ldr	x9, [x9, _ARCHIVE_MODE_ALWAYS@GOTPAGEOFF]
Lloh212:
	ldr	x9, [x9]
	mov	x0, x24
	cmp	x8, x9
	b.eq	LBB0_19
; %bb.56:                               ;   in Loop: Header=BB0_22 Depth=1
	bl	_XLogArchiveForceDone
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdr	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh106, Lloh107
	.loh AdrpLdrGot	Lloh104, Lloh105
	.loh AdrpLdrGot	Lloh102, Lloh103
	.loh AdrpLdrGot	Lloh100, Lloh101
	.loh AdrpLdrGot	Lloh98, Lloh99
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh115, Lloh116
	.loh AdrpAdd	Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpAdd	Lloh125, Lloh126
	.loh AdrpAdd	Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpAdd	Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh127, Lloh128, Lloh129
	.loh AdrpLdrGot	Lloh135, Lloh136
	.loh AdrpLdrGotStr	Lloh132, Lloh133, Lloh134
	.loh AdrpLdrGot	Lloh145, Lloh146
	.loh AdrpLdrGot	Lloh143, Lloh144
	.loh AdrpLdrGot	Lloh141, Lloh142
	.loh AdrpAdd	Lloh139, Lloh140
	.loh AdrpAdd	Lloh137, Lloh138
	.loh AdrpAdd	Lloh150, Lloh151
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh149
	.loh AdrpLdrGotLdr	Lloh152, Lloh153, Lloh154
	.loh AdrpLdrGotLdr	Lloh161, Lloh162, Lloh163
	.loh AdrpLdrGotLdr	Lloh158, Lloh159, Lloh160
	.loh AdrpLdrGotLdr	Lloh155, Lloh156, Lloh157
	.loh AdrpLdrGot	Lloh164, Lloh165
	.loh AdrpLdrGot	Lloh171, Lloh172
	.loh AdrpAdd	Lloh169, Lloh170
	.loh AdrpLdrGotLdr	Lloh166, Lloh167, Lloh168
	.loh AdrpLdrGotLdr	Lloh173, Lloh174, Lloh175
	.loh AdrpAdd	Lloh184, Lloh185
	.loh AdrpLdrGotLdr	Lloh181, Lloh182, Lloh183
	.loh AdrpAdd	Lloh179, Lloh180
	.loh AdrpLdrGotLdr	Lloh176, Lloh177, Lloh178
	.loh AdrpAdd	Lloh186, Lloh187
	.loh AdrpLdrGot	Lloh192, Lloh193
	.loh AdrpLdrGot	Lloh190, Lloh191
	.loh AdrpLdrGot	Lloh188, Lloh189
	.loh AdrpLdrGot	Lloh197, Lloh198
	.loh AdrpLdrGotLdr	Lloh194, Lloh195, Lloh196
	.loh AdrpAdd	Lloh202, Lloh203
	.loh AdrpLdrGotLdr	Lloh199, Lloh200, Lloh201
	.loh AdrpLdrGotLdr	Lloh210, Lloh211, Lloh212
	.loh AdrpLdrGotLdr	Lloh207, Lloh208, Lloh209
	.loh AdrpLdrGotLdr	Lloh204, Lloh205, Lloh206
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXCONNINFO,4,2                ; @MAXCONNINFO
	.comm	_NAMEDATALEN,4,2                ; @NAMEDATALEN
	.comm	_WalRcv,8,3                     ; @WalRcv
	.comm	_PANIC,4,2                      ; @PANIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"walreceiver still running according to shared memory state"

	.comm	_MyProcPid,8,3                  ; @MyProcPid
	.comm	_MyProc,8,3                     ; @MyProc
	.comm	_WalRcvDie,4,2                  ; @WalRcvDie
	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_WalRcvSigHupHandler,4,2        ; @WalRcvSigHupHandler
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_WalRcvShutdownHandler,4,2      ; @WalRcvShutdownHandler
	.comm	_SIGQUIT,4,2                    ; @SIGQUIT
	.comm	_WalRcvQuickDieHandler,4,2      ; @WalRcvQuickDieHandler
	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIGUSR1,4,2                    ; @SIGUSR1
	.comm	_WalRcvSigUsr1Handler,4,2       ; @WalRcvSigUsr1Handler
	.comm	_SIGUSR2,4,2                    ; @SIGUSR2
	.comm	_SIGCHLD,4,2                    ; @SIGCHLD
	.comm	_SIG_DFL,4,2                    ; @SIG_DFL
	.comm	_BlockSig,4,2                   ; @BlockSig
l_.str.1:                               ; @.str.1
	.asciz	"libpqwalreceiver"

	.comm	_WalReceiverFunctions,8,3       ; @WalReceiverFunctions
	.comm	_ERROR,4,2                      ; @ERROR
l_.str.2:                               ; @.str.2
	.asciz	"libpqwalreceiver didn't initialize correctly"

	.comm	_UnBlockSig,4,2                 ; @UnBlockSig
	.comm	_cluster_name,8,3               ; @cluster_name
l_.str.3:                               ; @.str.3
	.asciz	"walreceiver"

	.comm	_wrconn,4,2                     ; @wrconn
l_.str.4:                               ; @.str.4
	.asciz	"could not connect to the primary server: %s"

	.comm	_NI_MAXHOST,4,2                 ; @NI_MAXHOST
	.comm	_UINT64_FORMAT,8,3              ; @UINT64_FORMAT
l_.str.5:                               ; @.str.5
	.asciz	"database system identifier differs between the primary and standby"

l_.str.6:                               ; @.str.6
	.asciz	"The primary's identifier is %s, the standby's identifier is %s."

l_.str.7:                               ; @.str.7
	.asciz	"highest timeline %u of the primary is behind recovery timeline %u"

	.comm	_ThisTimeLineID,8,3             ; @ThisTimeLineID
	.comm	_LOG,4,2                        ; @LOG
l_.str.8:                               ; @.str.8
	.asciz	"started streaming WAL from primary at %X/%X on timeline %u"

l_.str.9:                               ; @.str.9
	.asciz	"restarted WAL streaming at %X/%X on timeline %u"

	.comm	_LogstreamResult,8,2            ; @LogstreamResult
	.comm	_reply_message,4,2              ; @reply_message
	.comm	_incoming_message,4,2           ; @incoming_message
	.comm	_PGINVALID_SOCKET,8,3           ; @PGINVALID_SOCKET
	.comm	_FATAL,4,2                      ; @FATAL
l_.str.10:                              ; @.str.10
	.asciz	"cannot continue WAL streaming, recovery has already ended"

	.comm	_got_SIGHUP,4,2                 ; @got_SIGHUP
	.comm	_PGC_SIGHUP,4,2                 ; @PGC_SIGHUP
l_.str.11:                              ; @.str.11
	.asciz	"replication terminated by primary server"

l_.str.12:                              ; @.str.12
	.asciz	"End of WAL reached on timeline %u at %X/%X."

	.comm	_WL_EXIT_ON_PM_DEATH,4,2        ; @WL_EXIT_ON_PM_DEATH
	.comm	_WL_SOCKET_READABLE,4,2         ; @WL_SOCKET_READABLE
	.comm	_WL_TIMEOUT,4,2                 ; @WL_TIMEOUT
	.comm	_WL_LATCH_SET,4,2               ; @WL_LATCH_SET
	.comm	_NAPTIME_PER_CYCLE,4,2          ; @NAPTIME_PER_CYCLE
	.comm	_WAIT_EVENT_WAL_RECEIVER_MAIN,4,2 ; @WAIT_EVENT_WAL_RECEIVER_MAIN
	.comm	_wal_receiver_timeout,4,2       ; @wal_receiver_timeout
l_.str.13:                              ; @.str.13
	.asciz	"terminating walreceiver due to timeout"

l_.str.14:                              ; @.str.14
	.asciz	"primary server contains no more WAL on requested timeline %u"

	.comm	_recvFile,4,2                   ; @recvFile
	.comm	_MAXFNAMELEN,4,2                ; @MAXFNAMELEN
l_.str.15:                              ; @.str.15
	.asciz	"could not close log segment %s: %m"

	.comm	_recvFileTLI,4,2                ; @recvFileTLI
	.comm	_recvSegNo,4,2                  ; @recvSegNo
	.comm	_wal_segment_size,4,2           ; @wal_segment_size
	.comm	_XLogArchiveMode,8,3            ; @XLogArchiveMode
	.comm	_ARCHIVE_MODE_ALWAYS,8,3        ; @ARCHIVE_MODE_ALWAYS
	.comm	_DEBUG1,4,2                     ; @DEBUG1
l_.str.16:                              ; @.str.16
	.asciz	"walreceiver ended streaming and awaits new instructions"

.subsections_via_symbols
