	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function StreamLogicalLog
_StreamLogicalLog:                      ## @StreamLogicalLog
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -56(%rbp)
	movq	_InvalidXLogRecPtr@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_output_written_lsn@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_output_fsync_lsn@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	callq	_createPQExpBuffer
	movq	%rax, %r15
	movq	_conn@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_GetConnection
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_31
LBB0_2:
	movq	_verbose@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	je	LBB0_4
## %bb.3:
	movq	_startpos@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_replication_slot@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_log_info
LBB0_4:
	movq	_replication_slot@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	movq	_startpos@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
	movq	_noptions@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_16
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_appendPQExpBufferStr
	movl	(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_14
## %bb.6:
	movq	_options@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	(%rax), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
	movq	(%r12), %rax
	movq	8(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.7:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_8:
	movl	(%rbx), %eax
	cmpl	$2, %eax
	jl	LBB0_14
## %bb.9:
	movl	$1, %r15d
	leaq	L_.str.4(%rip), %rbx
	xorl	%r13d, %r13d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%r15
	movq	_noptions@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$16, %r13
	cmpq	%rax, %r15
	jge	LBB0_13
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_appendPQExpBufferStr
	movq	(%r12), %rax
	movq	16(%rax,%r13), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
	movq	(%r12), %rax
	movq	24(%rax,%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
	jmp	LBB0_10
LBB0_13:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	_InvalidXLogRecPtr@GOTPCREL(%rip), %r14
	movq	_verbose@GOTPCREL(%rip), %r13
LBB0_14:
	testl	%eax, %eax
	movq	_conn@GOTPCREL(%rip), %r12
	je	LBB0_16
## %bb.15:
	movq	%r15, %rdi
	movl	$41, %esi
	callq	_appendPQExpBufferChar
LBB0_16:
	movq	(%r12), %rdi
	movl	(%r15), %esi
	callq	_PQexec
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PQresultStatus
	movq	_PGRES_COPY_BOTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.17:
	movq	%rbx, %rdi
	callq	_PQclear
	movq	%r15, %rdi
	callq	_resetPQExpBuffer
	cmpq	$0, (%r13)
	je	LBB0_19
## %bb.18:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_log_info
LBB0_19:
	movq	_time_to_abort@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	je	LBB0_32
LBB0_20:
	movq	(%r12), %rdi
	callq	_PQgetResult
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PQresultStatus
	movq	_PGRES_COPY_OUT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_28
## %bb.21:
	movq	%rbx, %rdi
	callq	_PQresultStatus
	movq	_PGRES_COMMAND_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_93
## %bb.22:
	movq	%rbx, %rdi
	callq	_PQclear
	movq	_outfd@GOTPCREL(%rip), %rbx
	cmpl	$-1, (%rbx)
	je	LBB0_26
## %bb.23:
	movq	_outfile@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_26
## %bb.24:
	xorl	%eax, %eax
	callq	_feGetCurrentTimestamp
	movq	%rax, %rdi
	callq	_OutputFsync
	movl	(%rbx), %edi
	callq	_close
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movl	(%r14), %esi
	leaq	L_.str.20(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_log_error
LBB0_26:
	movl	$-1, (%rbx)
	jmp	LBB0_28
LBB0_27:
	movl	(%r15), %r14d
	movq	%rbx, %rdi
	callq	_PQresultErrorMessage
	leaq	L_.str.6(%rip), %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pg_log_error
	movq	%rbx, %rdi
	callq	_PQclear
LBB0_28:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_30
## %bb.29:
	callq	_PQfreemem
	movq	$0, -56(%rbp)
LBB0_30:
	movq	%r15, %rdi
	callq	_destroyPQExpBuffer
	movq	(%r12), %rdi
	callq	_PQfinish
	movq	$0, (%r12)
LBB0_31:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	movq	$-1, -72(%rbp)                  ## 8-byte Folded Spill
	movq	_outfile@GOTPCREL(%rip), %r13
	xorl	%edi, %edi
	testq	%rdi, %rdi
	je	LBB0_34
LBB0_33:
	callq	_PQfreemem
	movq	$0, -56(%rbp)
LBB0_34:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_80 Depth 2
	xorl	%eax, %eax
	callq	_feGetCurrentTimestamp
	movq	%rax, -48(%rbp)
	movq	_outfd@GOTPCREL(%rip), %rcx
	cmpl	$-1, (%rcx)
	je	LBB0_37
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	_output_last_fsync@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	_fsync_interval@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rsi
	callq	_feTimestampDifferenceExceeds
	testq	%rax, %rax
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	-48(%rbp), %rdi
	callq	_OutputFsync
	testl	%eax, %eax
	je	LBB0_112
LBB0_37:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	_standby_message_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_41
## %bb.38:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	-48(%rbp), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_feTimestampDifferenceExceeds
	testq	%rax, %rax
	je	LBB0_41
## %bb.39:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	(%r12), %rdi
	movq	-48(%rbp), %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_sendFeedback
	testl	%eax, %eax
	je	LBB0_112
## %bb.40:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	-48(%rbp), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_41:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	_outfd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$-1, %eax
	je	LBB0_47
## %bb.42:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	_output_reopen@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_47
## %bb.43:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	(%r13), %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_46
## %bb.44:                              ##   in Loop: Header=BB0_34 Depth=1
	xorl	%eax, %eax
	callq	_feGetCurrentTimestamp
	movq	%rax, -48(%rbp)
	movq	%rax, %rdi
	callq	_OutputFsync
	testl	%eax, %eax
	je	LBB0_112
## %bb.45:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	_outfd@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_close
	movl	$-1, (%rbx)
	movq	_output_reopen@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	jmp	LBB0_48
LBB0_46:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	_outfd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_47:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	_output_reopen@GOTPCREL(%rip), %rcx
	movl	$0, (%rcx)
	cmpl	$-1, %eax
	jne	LBB0_58
LBB0_48:                                ##   in Loop: Header=BB0_34 Depth=1
	movl	(%r13), %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	_O_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_PG_BINARY@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	(%r13), %edi
	movq	_S_IWUSR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_S_IRUSR@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	callq	_open
	jmp	LBB0_51
LBB0_50:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fileno
LBB0_51:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	_outfd@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	cmpl	$-1, %eax
	je	LBB0_96
## %bb.52:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	%eax, %edi
	leaq	-80(%rbp), %rsi
	callq	_fstat
	testq	%rax, %rax
	je	LBB0_54
## %bb.53:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	(%r13), %esi
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_log_error
LBB0_54:                                ##   in Loop: Header=BB0_34 Depth=1
	movl	-80(%rbp), %edi
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_56
## %bb.55:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	_outfd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_isatty
	testl	%eax, %eax
	sete	%al
	jmp	LBB0_57
LBB0_56:                                ##   in Loop: Header=BB0_34 Depth=1
	xorl	%eax, %eax
LBB0_57:                                ##   in Loop: Header=BB0_34 Depth=1
	movzbl	%al, %eax
	movq	_output_isfile@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_58:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	(%r12), %rdi
	leaq	-56(%rbp), %rsi
	movl	$1, %edx
	callq	_PQgetCopyData
	testl	%eax, %eax
	je	LBB0_69
## %bb.59:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	%eax, %r13d
	cmpl	$-2, %eax
	je	LBB0_97
## %bb.60:                              ##   in Loop: Header=BB0_34 Depth=1
	cmpl	$-1, %r13d
	je	LBB0_20
## %bb.61:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	-56(%rbp), %rdi
	movsbl	(%rdi), %esi
	cmpl	$119, %esi
	je	LBB0_76
## %bb.62:                              ##   in Loop: Header=BB0_34 Depth=1
	cmpb	$107, %sil
	jne	LBB0_100
## %bb.63:                              ##   in Loop: Header=BB0_34 Depth=1
	incq	%rdi
	callq	_fe_recvint64
	movq	%rax, %rbx
	movq	_output_written_lsn@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_Max
	movq	_output_written_lsn@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	cmpl	$17, %r13d
	jle	LBB0_99
## %bb.64:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	-56(%rbp), %rax
	movq	_endpos@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	(%r14), %rcx
	setne	%dl
	cmpq	%rcx, %rbx
	setge	%bl
	andb	%dl, %bl
	cmpb	$0, 17(%rax)
	movq	_outfile@GOTPCREL(%rip), %r13
	jne	LBB0_66
## %bb.65:                              ##   in Loop: Header=BB0_34 Depth=1
	testb	%bl, %bl
	je	LBB0_68
LBB0_66:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	(%r12), %rdi
	leaq	-48(%rbp), %rsi
	callq	_flushAndSendFeedback
	testl	%eax, %eax
	je	LBB0_112
## %bb.67:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	-48(%rbp), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_68:                                ##   in Loop: Header=BB0_34 Depth=1
	testb	%bl, %bl
	je	LBB0_91
	jmp	LBB0_101
	.p2align	4, 0x90
LBB0_69:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	(%r12), %rdi
	callq	_PQsocket
	testq	%rax, %rax
	js	LBB0_98
## %bb.70:                              ##   in Loop: Header=BB0_34 Depth=1
	leaq	-88(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_FD_ZERO
	movq	(%r12), %rdi
	callq	_PQsocket
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_FD_SET
	movq	_standby_message_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	imull	$1000, %ecx, %eax               ## imm = 0x3E8
	addl	$-1000, %eax                    ## imm = 0xFC18
	cltq
	addq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	testl	%ecx, %ecx
	movl	$0, %ecx
	cmoveq	%rcx, %rax
	movq	_fsync_interval@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%edx, %edx
	jle	LBB0_85
## %bb.71:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	_output_needs_fsync@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	movl	$0, %ecx
	movq	_outfile@GOTPCREL(%rip), %r13
	je	LBB0_73
## %bb.72:                              ##   in Loop: Header=BB0_34 Depth=1
	imull	$1000, %edx, %ecx               ## imm = 0x3E8
	addl	$-1000, %ecx                    ## imm = 0xFC18
	movslq	%ecx, %rcx
	movq	_output_last_fsync@GOTPCREL(%rip), %rdx
	addq	(%rdx), %rcx
LBB0_73:                                ##   in Loop: Header=BB0_34 Depth=1
	testq	%rax, %rax
	jg	LBB0_86
LBB0_74:                                ##   in Loop: Header=BB0_34 Depth=1
	testq	%rcx, %rcx
	jg	LBB0_86
## %bb.75:                              ##   in Loop: Header=BB0_34 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_87
LBB0_76:                                ##   in Loop: Header=BB0_34 Depth=1
	cmpl	$25, %r13d
	jle	LBB0_99
## %bb.77:                              ##   in Loop: Header=BB0_34 Depth=1
	incq	%rdi
	callq	_fe_recvint64
	movq	%r14, %rcx
	movq	%rax, %rdx
	movq	_endpos@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%r14), %rax
	je	LBB0_79
## %bb.78:                              ##   in Loop: Header=BB0_34 Depth=1
	cmpq	%rax, %rdx
	jg	LBB0_102
LBB0_79:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	_output_written_lsn@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	callq	_Max
	movq	%rax, (%rbx)
	addl	$-25, %r13d
	movq	_output_needs_fsync@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_80:                                ##   Parent Loop BB0_34 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_outfd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rax
	movslq	%ebx, %rcx
	leaq	(%rax,%rcx), %rsi
	addq	$25, %rsi
	movl	%r13d, %edx
	callq	_write
	testl	%eax, %eax
	js	LBB0_94
## %bb.81:                              ##   in Loop: Header=BB0_80 Depth=2
	addl	%eax, %ebx
	subl	%eax, %r13d
	jne	LBB0_80
## %bb.82:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	_outfd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.18(%rip), %rsi
	movl	$1, %edx
	callq	_write
	cmpl	$1, %eax
	jne	LBB0_107
## %bb.83:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	_endpos@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%r14), %rax
	movq	_outfile@GOTPCREL(%rip), %r13
	je	LBB0_91
## %bb.84:                              ##   in Loop: Header=BB0_34 Depth=1
	cmpq	%rax, -96(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_91
	jmp	LBB0_109
LBB0_85:                                ##   in Loop: Header=BB0_34 Depth=1
	xorl	%ecx, %ecx
	movq	_outfile@GOTPCREL(%rip), %r13
	testq	%rax, %rax
	jle	LBB0_74
LBB0_86:                                ##   in Loop: Header=BB0_34 Depth=1
	cmpq	%rax, %rcx
	movq	%rax, %rsi
	cmovlq	%rcx, %rsi
	testq	%rcx, %rcx
	cmovleq	%rax, %rsi
	movq	-48(%rbp), %rdi
	leaq	-104(%rbp), %rdx
	leaq	-84(%rbp), %rcx
	callq	_feTimestampDifference
	movq	-104(%rbp), %rax
	cmpq	$2, %rax
	movl	$1, %ecx
	cmovlq	%rcx, %rax
	movl	%eax, -80(%rbp)
	movl	-84(%rbp), %eax
	movl	%eax, -76(%rbp)
	leaq	-80(%rbp), %rbx
LBB0_87:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	(%r12), %rdi
	callq	_PQsocket
	leaq	1(%rax), %rdi
	leaq	-88(%rbp), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_select
	testl	%eax, %eax
	je	LBB0_91
## %bb.88:                              ##   in Loop: Header=BB0_34 Depth=1
	js	LBB0_90
## %bb.89:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	(%r12), %rdi
	callq	_PQconsumeInput
	testq	%rax, %rax
	jne	LBB0_91
	jmp	LBB0_104
LBB0_90:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EINTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_108
	.p2align	4, 0x90
LBB0_91:                                ##   in Loop: Header=BB0_34 Depth=1
	cmpl	$0, (%r15)
	jne	LBB0_20
## %bb.92:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	jne	LBB0_33
	jmp	LBB0_34
LBB0_93:
	movq	%rbx, %rdi
	callq	_PQresultErrorMessage
	leaq	L_.str.19(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pg_log_error
	jmp	LBB0_28
LBB0_94:
	movq	_outfile@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.17(%rip), %rdi
	movl	%r13d, %esi
LBB0_95:
	xorl	%eax, %eax
	callq	_pg_log_error
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_28
LBB0_96:
	movl	(%r13), %esi
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_106
LBB0_97:
	movq	(%r12), %rdi
	callq	_PQerrorMessage
	leaq	L_.str.14(%rip), %rdi
	jmp	LBB0_105
LBB0_98:
	movq	(%r12), %rdi
	callq	_PQerrorMessage
	leaq	L_.str.11(%rip), %rdi
	jmp	LBB0_105
LBB0_99:
	leaq	L_.str.15(%rip), %rdi
	movl	%r13d, %esi
	jmp	LBB0_106
LBB0_100:
	leaq	L_.str.16(%rip), %rdi
	jmp	LBB0_106
LBB0_101:
	movq	(%r12), %rdi
	movq	_endpos@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%r14), %rcx
	movl	$1, %edx
	jmp	LBB0_111
LBB0_102:
	movq	%rdx, %rbx
	movq	(%r12), %rdi
	leaq	-48(%rbp), %rsi
	callq	_flushAndSendFeedback
	testl	%eax, %eax
	je	LBB0_112
## %bb.103:
	movq	(%r12), %rdi
	movq	_endpos@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	jmp	LBB0_111
LBB0_104:
	movq	(%r12), %rdi
	callq	_PQerrorMessage
	leaq	L_.str.13(%rip), %rdi
LBB0_105:
	movl	%eax, %esi
LBB0_106:
	xorl	%eax, %eax
	callq	_pg_log_error
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_28
LBB0_107:
	movq	_outfile@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.17(%rip), %rdi
	movl	$1, %esi
	jmp	LBB0_95
LBB0_108:
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_log_error
	jmp	LBB0_112
LBB0_109:
	movq	(%r12), %rdi
	leaq	-48(%rbp), %rsi
	callq	_flushAndSendFeedback
	testl	%eax, %eax
	je	LBB0_112
## %bb.110:
	movq	(%r12), %rdi
	movq	_endpos@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edx, %edx
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
LBB0_111:
	callq	_prepareToTerminate
	movl	$1, (%r15)
	jmp	LBB0_20
LBB0_112:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidXLogRecPtr,8,3          ## @InvalidXLogRecPtr
	.comm	_output_written_lsn,8,3         ## @output_written_lsn
	.comm	_output_fsync_lsn,8,3           ## @output_fsync_lsn
	.comm	_conn,8,3                       ## @conn
	.comm	_verbose,8,3                    ## @verbose
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"starting log streaming at %X/%X (slot %s)"

	.comm	_startpos,4,2                   ## @startpos
	.comm	_replication_slot,4,2           ## @replication_slot
L_.str.1:                               ## @.str.1
	.asciz	"START_REPLICATION SLOT \"%s\" LOGICAL %X/%X"

	.comm	_noptions,4,2                   ## @noptions
L_.str.2:                               ## @.str.2
	.asciz	" ("

L_.str.3:                               ## @.str.3
	.asciz	", "

L_.str.4:                               ## @.str.4
	.asciz	"\"%s\""

	.comm	_options,8,3                    ## @options
L_.str.5:                               ## @.str.5
	.asciz	" '%s'"

	.comm	_PGRES_COPY_BOTH,8,3            ## @PGRES_COPY_BOTH
L_.str.6:                               ## @.str.6
	.asciz	"could not send replication command \"%s\": %s"

L_.str.7:                               ## @.str.7
	.asciz	"streaming initiated"

	.comm	_time_to_abort,4,2              ## @time_to_abort
	.comm	_outfd,4,2                      ## @outfd
	.comm	_output_last_fsync,8,3          ## @output_last_fsync
	.comm	_fsync_interval,4,2             ## @fsync_interval
	.comm	_standby_message_timeout,4,2    ## @standby_message_timeout
	.comm	_output_reopen,4,2              ## @output_reopen
	.comm	_outfile,4,2                    ## @outfile
L_.str.8:                               ## @.str.8
	.asciz	"-"

	.comm	_stdout,4,2                     ## @stdout
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_APPEND,4,2                   ## @O_APPEND
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_PG_BINARY,4,2                  ## @PG_BINARY
	.comm	_S_IRUSR,4,2                    ## @S_IRUSR
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
L_.str.9:                               ## @.str.9
	.asciz	"could not open log file \"%s\": %m"

L_.str.10:                              ## @.str.10
	.asciz	"could not stat file \"%s\": %m"

	.comm	_output_isfile,4,2              ## @output_isfile
L_.str.11:                              ## @.str.11
	.asciz	"invalid socket: %s"

	.comm	_output_needs_fsync,4,2         ## @output_needs_fsync
	.comm	_errno,8,3                      ## @errno
	.comm	_EINTR,8,3                      ## @EINTR
L_.str.12:                              ## @.str.12
	.asciz	"select() failed: %m"

L_.str.13:                              ## @.str.13
	.asciz	"could not receive data from WAL stream: %s"

L_.str.14:                              ## @.str.14
	.asciz	"could not read COPY data: %s"

L_.str.15:                              ## @.str.15
	.asciz	"streaming header too small: %d"

	.comm	_endpos,8,3                     ## @endpos
L_.str.16:                              ## @.str.16
	.asciz	"unrecognized streaming header: \"%c\""

L_.str.17:                              ## @.str.17
	.asciz	"could not write %u bytes to log file \"%s\": %m"

L_.str.18:                              ## @.str.18
	.asciz	"\n"

	.comm	_PGRES_COPY_OUT,8,3             ## @PGRES_COPY_OUT
	.comm	_PGRES_COMMAND_OK,8,3           ## @PGRES_COMMAND_OK
L_.str.19:                              ## @.str.19
	.asciz	"unexpected termination of replication stream: %s"

L_.str.20:                              ## @.str.20
	.asciz	"could not close file \"%s\": %m"

	.no_dead_strip	_StreamLogicalLog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function StreamLogicalLog
_StreamLogicalLog:                      ; @StreamLogicalLog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	xzr, [sp, #72]
Lloh0:
	adrp	x8, _InvalidXLogRecPtr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x27, _output_written_lsn@GOTPAGE
Lloh4:
	ldr	x27, [x27, _output_written_lsn@GOTPAGEOFF]
	str	x8, [x27]
Lloh5:
	adrp	x9, _output_fsync_lsn@GOTPAGE
Lloh6:
	ldr	x9, [x9, _output_fsync_lsn@GOTPAGEOFF]
Lloh7:
	str	x8, [x9]
	bl	_createPQExpBuffer
	mov	x19, x0
Lloh8:
	adrp	x26, _conn@GOTPAGE
Lloh9:
	ldr	x26, [x26, _conn@GOTPAGEOFF]
	ldr	x8, [x26]
	cbnz	x8, LBB0_2
; %bb.1:
	bl	_GetConnection
	str	x0, [x26]
	cbz	x0, LBB0_31
LBB0_2:
Lloh10:
	adrp	x23, _verbose@GOTPAGE
Lloh11:
	ldr	x23, [x23, _verbose@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh12:
	adrp	x20, _replication_slot@GOTPAGE
Lloh13:
	ldr	x20, [x20, _replication_slot@GOTPAGEOFF]
Lloh14:
	adrp	x21, _startpos@GOTPAGE
Lloh15:
	ldr	x21, [x21, _startpos@GOTPAGEOFF]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w8, [x21]
	ldr	w9, [x20]
	stp	x8, x9, [sp, #8]
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pg_log_info
LBB0_4:
	ldrsw	x2, [x20]
	ldr	w8, [x21]
	str	x8, [sp, #8]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_appendPQExpBuffer
Lloh20:
	adrp	x24, _noptions@GOTPAGE
Lloh21:
	ldr	x24, [x24, _noptions@GOTPAGEOFF]
	ldr	w8, [x24]
	cbz	w8, LBB0_16
; %bb.5:
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_appendPQExpBufferStr
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.6:
Lloh24:
	adrp	x25, _options@GOTPAGE
Lloh25:
	ldr	x25, [x25, _options@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x2, [x8]
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_appendPQExpBuffer
	ldr	x8, [x25]
	ldr	x2, [x8, #8]
	cbz	x2, LBB0_8
; %bb.7:
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_appendPQExpBuffer
LBB0_8:
	ldr	w8, [x24]
	cmp	w8, #2
	b.lt	LBB0_14
; %bb.9:
	mov	x27, #0
	mov	w28, #1
Lloh30:
	adrp	x20, l_.str.3@PAGE
Lloh31:
	add	x20, x20, l_.str.3@PAGEOFF
Lloh32:
	adrp	x21, l_.str.4@PAGE
Lloh33:
	add	x21, x21, l_.str.4@PAGEOFF
Lloh34:
	adrp	x22, l_.str.5@PAGE
Lloh35:
	add	x22, x22, l_.str.5@PAGEOFF
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x28, x28, #1
	ldrsw	x8, [x24]
	add	x27, x27, #16
	cmp	x28, x8
	b.ge	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_appendPQExpBufferStr
	ldr	x8, [x25]
	add	x8, x8, x27
	ldr	x2, [x8, #16]
	mov	x0, x19
	mov	x1, x21
	bl	_appendPQExpBuffer
	ldr	x8, [x25]
	add	x8, x8, x27
	ldr	x2, [x8, #24]
	cbz	x2, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_appendPQExpBuffer
	b	LBB0_10
LBB0_13:
Lloh36:
	adrp	x27, _output_written_lsn@GOTPAGE
Lloh37:
	ldr	x27, [x27, _output_written_lsn@GOTPAGEOFF]
LBB0_14:
	cbz	w8, LBB0_16
; %bb.15:
	mov	x0, x19
	mov	w1, #41
	bl	_appendPQExpBufferChar
LBB0_16:
	ldr	x0, [x26]
	ldr	w1, [x19]
	bl	_PQexec
	mov	x20, x0
	bl	_PQresultStatus
Lloh38:
	adrp	x8, _PGRES_COPY_BOTH@GOTPAGE
Lloh39:
	ldr	x8, [x8, _PGRES_COPY_BOTH@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_27
; %bb.17:
	mov	x0, x20
	bl	_PQclear
	mov	x0, x19
	bl	_resetPQExpBuffer
	ldr	x8, [x23]
	cbz	x8, LBB0_19
; %bb.18:
Lloh41:
	adrp	x0, l_.str.7@PAGE
Lloh42:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_pg_log_info
LBB0_19:
Lloh43:
	adrp	x20, _time_to_abort@GOTPAGE
Lloh44:
	ldr	x20, [x20, _time_to_abort@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_32
LBB0_20:
	ldr	x0, [x26]
	bl	_PQgetResult
	mov	x20, x0
	bl	_PQresultStatus
Lloh45:
	adrp	x8, _PGRES_COPY_OUT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _PGRES_COPY_OUT@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_28
; %bb.21:
	mov	x0, x20
	bl	_PQresultStatus
Lloh48:
	adrp	x8, _PGRES_COMMAND_OK@GOTPAGE
Lloh49:
	ldr	x8, [x8, _PGRES_COMMAND_OK@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_89
; %bb.22:
	mov	x0, x20
	bl	_PQclear
Lloh51:
	adrp	x20, _outfd@GOTPAGE
Lloh52:
	ldr	x20, [x20, _outfd@GOTPAGEOFF]
	ldr	w8, [x20]
	cmn	w8, #1
	b.eq	LBB0_26
; %bb.23:
Lloh53:
	adrp	x21, _outfile@GOTPAGE
Lloh54:
	ldr	x21, [x21, _outfile@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh55:
	adrp	x1, l_.str.8@PAGE
Lloh56:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_26
; %bb.24:
	bl	_feGetCurrentTimestamp
	bl	_OutputFsync
	ldr	w0, [x20]
	bl	_close
	cbz	x0, LBB0_26
; %bb.25:
	ldr	w8, [x21]
	str	x8, [sp]
Lloh57:
	adrp	x0, l_.str.20@PAGE
Lloh58:
	add	x0, x0, l_.str.20@PAGEOFF
	bl	_pg_log_error
LBB0_26:
	mov	w8, #-1
	str	w8, [x20]
	b	LBB0_28
LBB0_27:
	ldr	w21, [x19]
	mov	x0, x20
	bl	_PQresultErrorMessage
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh59:
	adrp	x0, l_.str.6@PAGE
Lloh60:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pg_log_error
	mov	x0, x20
	bl	_PQclear
LBB0_28:
	ldr	x0, [sp, #72]
	cbz	x0, LBB0_30
; %bb.29:
	bl	_PQfreemem
	str	xzr, [sp, #72]
LBB0_30:
	mov	x0, x19
	bl	_destroyPQExpBuffer
	ldr	x0, [x26]
	bl	_PQfinish
	str	xzr, [x26]
LBB0_31:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_32:
	mov	x0, #0
	mov	x21, #-1
Lloh61:
	adrp	x25, _output_reopen@GOTPAGE
Lloh62:
	ldr	x25, [x25, _output_reopen@GOTPAGEOFF]
Lloh63:
	adrp	x28, _outfile@GOTPAGE
Lloh64:
	ldr	x28, [x28, _outfile@GOTPAGEOFF]
Lloh65:
	adrp	x23, l_.str.8@PAGE
Lloh66:
	add	x23, x23, l_.str.8@PAGEOFF
Lloh67:
	adrp	x22, _fsync_interval@GOTPAGE
Lloh68:
	ldr	x22, [x22, _fsync_interval@GOTPAGEOFF]
	cbz	x0, LBB0_34
LBB0_33:
	bl	_PQfreemem
	str	xzr, [sp, #72]
LBB0_34:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_78 Depth 2
	bl	_feGetCurrentTimestamp
	str	x0, [sp, #64]
Lloh69:
	adrp	x8, _outfd@GOTPAGE
Lloh70:
	ldr	x8, [x8, _outfd@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_37
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=1
	mov	x1, x0
Lloh72:
	adrp	x8, _output_last_fsync@GOTPAGE
Lloh73:
	ldr	x8, [x8, _output_last_fsync@GOTPAGEOFF]
Lloh74:
	ldr	x0, [x8]
	ldr	w2, [x22]
	bl	_feTimestampDifferenceExceeds
	cbz	x0, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x0, [sp, #64]
	bl	_OutputFsync
	cbz	w0, LBB0_28
LBB0_37:                                ;   in Loop: Header=BB0_34 Depth=1
Lloh75:
	adrp	x8, _standby_message_timeout@GOTPAGE
Lloh76:
	ldr	x8, [x8, _standby_message_timeout@GOTPAGEOFF]
Lloh77:
	ldr	w2, [x8]
	cmp	w2, #1
	b.lt	LBB0_41
; %bb.38:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x1, [sp, #64]
	mov	x0, x21
	bl	_feTimestampDifferenceExceeds
	cbz	x0, LBB0_41
; %bb.39:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x0, [x26]
	ldr	x1, [sp, #64]
	mov	w2, #1
	mov	w3, #0
	bl	_sendFeedback
	cbz	w0, LBB0_28
; %bb.40:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x21, [sp, #64]
LBB0_41:                                ;   in Loop: Header=BB0_34 Depth=1
Lloh78:
	adrp	x8, _outfd@GOTPAGE
Lloh79:
	ldr	x8, [x8, _outfd@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
	ldr	w9, [x25]
	cmn	w8, #1
	ccmp	w9, #0, #4, ne
	b.eq	LBB0_46
; %bb.42:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	w0, [x28]
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_45
; %bb.43:                               ;   in Loop: Header=BB0_34 Depth=1
	bl	_feGetCurrentTimestamp
	str	x0, [sp, #64]
	bl	_OutputFsync
	cbz	w0, LBB0_28
; %bb.44:                               ;   in Loop: Header=BB0_34 Depth=1
Lloh81:
	adrp	x8, _outfd@GOTPAGE
Lloh82:
	ldr	x8, [x8, _outfd@GOTPAGEOFF]
	mov	x24, x21
	mov	x21, x8
	ldr	w0, [x8]
	bl	_close
	mov	w8, #-1
	str	w8, [x21]
	mov	x21, x24
	str	wzr, [x25]
	b	LBB0_47
LBB0_45:                                ;   in Loop: Header=BB0_34 Depth=1
Lloh83:
	adrp	x8, _outfd@GOTPAGE
Lloh84:
	ldr	x8, [x8, _outfd@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
LBB0_46:                                ;   in Loop: Header=BB0_34 Depth=1
	str	wzr, [x25]
	cmn	w8, #1
	b.ne	LBB0_57
LBB0_47:                                ;   in Loop: Header=BB0_34 Depth=1
	ldr	w0, [x28]
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_49
; %bb.48:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	w0, [x28]
Lloh86:
	adrp	x8, _O_CREAT@GOTPAGE
Lloh87:
	ldr	x8, [x8, _O_CREAT@GOTPAGEOFF]
Lloh88:
	ldr	w8, [x8]
Lloh89:
	adrp	x9, _O_APPEND@GOTPAGE
Lloh90:
	ldr	x9, [x9, _O_APPEND@GOTPAGEOFF]
Lloh91:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh92:
	adrp	x9, _O_WRONLY@GOTPAGE
Lloh93:
	ldr	x9, [x9, _O_WRONLY@GOTPAGEOFF]
Lloh94:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh95:
	adrp	x9, _PG_BINARY@GOTPAGE
Lloh96:
	ldr	x9, [x9, _PG_BINARY@GOTPAGEOFF]
Lloh97:
	ldr	w9, [x9]
	orr	w1, w8, w9
Lloh98:
	adrp	x8, _S_IRUSR@GOTPAGE
Lloh99:
	ldr	x8, [x8, _S_IRUSR@GOTPAGEOFF]
Lloh100:
	ldr	w8, [x8]
Lloh101:
	adrp	x9, _S_IWUSR@GOTPAGE
Lloh102:
	ldr	x9, [x9, _S_IWUSR@GOTPAGEOFF]
Lloh103:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_open
	b	LBB0_50
LBB0_49:                                ;   in Loop: Header=BB0_34 Depth=1
Lloh104:
	adrp	x8, _stdout@GOTPAGE
Lloh105:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh106:
	ldr	w0, [x8]
	bl	_fileno
LBB0_50:                                ;   in Loop: Header=BB0_34 Depth=1
Lloh107:
	adrp	x8, _outfd@GOTPAGE
Lloh108:
	ldr	x8, [x8, _outfd@GOTPAGEOFF]
Lloh109:
	str	w0, [x8]
	cmn	w0, #1
	b.eq	LBB0_93
; %bb.51:                               ;   in Loop: Header=BB0_34 Depth=1
	add	x1, sp, #48
	bl	_fstat
	cbz	x0, LBB0_53
; %bb.52:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	w8, [x28]
	str	x8, [sp]
Lloh110:
	adrp	x0, l_.str.10@PAGE
Lloh111:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_pg_log_error
LBB0_53:                                ;   in Loop: Header=BB0_34 Depth=1
	ldr	w0, [sp, #48]
	bl	_S_ISREG
	cbz	x0, LBB0_55
; %bb.54:                               ;   in Loop: Header=BB0_34 Depth=1
Lloh112:
	adrp	x8, _outfd@GOTPAGE
Lloh113:
	ldr	x8, [x8, _outfd@GOTPAGEOFF]
Lloh114:
	ldr	w0, [x8]
	bl	_isatty
	cmp	w0, #0
	cset	w8, eq
	b	LBB0_56
LBB0_55:                                ;   in Loop: Header=BB0_34 Depth=1
	mov	w8, #0
LBB0_56:                                ;   in Loop: Header=BB0_34 Depth=1
Lloh115:
	adrp	x9, _output_isfile@GOTPAGE
Lloh116:
	ldr	x9, [x9, _output_isfile@GOTPAGEOFF]
Lloh117:
	str	w8, [x9]
LBB0_57:                                ;   in Loop: Header=BB0_34 Depth=1
	ldr	x0, [x26]
	add	x1, sp, #72
	mov	w2, #1
	bl	_PQgetCopyData
	cbz	w0, LBB0_68
; %bb.58:                               ;   in Loop: Header=BB0_34 Depth=1
	mov	x24, x0
	cmn	w0, #2
	b.eq	LBB0_94
; %bb.59:                               ;   in Loop: Header=BB0_34 Depth=1
	cmn	w24, #1
	b.eq	LBB0_20
; %bb.60:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x8, [sp, #72]
	ldrb	w9, [x8]
	cmp	w9, #119
	b.eq	LBB0_74
; %bb.61:                               ;   in Loop: Header=BB0_34 Depth=1
	cmp	w9, #107
	b.ne	LBB0_96
; %bb.62:                               ;   in Loop: Header=BB0_34 Depth=1
	mov	x26, x23
	mov	x23, x20
	mov	x20, x25
	add	x0, x8, #1
	bl	_fe_recvint64
	mov	x25, x0
	ldr	x1, [x27]
	bl	_Max
	str	x0, [x27]
	cmp	w24, #17
	b.le	LBB0_99
; %bb.63:                               ;   in Loop: Header=BB0_34 Depth=1
	mov	x11, x27
	ldr	x8, [sp, #72]
	ldrb	w8, [x8, #17]
Lloh118:
	adrp	x9, _endpos@GOTPAGE
Lloh119:
	ldr	x9, [x9, _endpos@GOTPAGEOFF]
Lloh120:
	ldr	x9, [x9]
Lloh121:
	adrp	x10, _InvalidXLogRecPtr@GOTPAGE
Lloh122:
	ldr	x10, [x10, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh123:
	ldr	x10, [x10]
	cmp	x25, x9
	ccmp	x9, x10, #4, ge
	cset	w24, ne
	mov	x25, x20
	mov	x20, x23
	mov	x23, x26
Lloh124:
	adrp	x26, _conn@GOTPAGE
Lloh125:
	ldr	x26, [x26, _conn@GOTPAGEOFF]
Lloh126:
	adrp	x28, _outfile@GOTPAGE
Lloh127:
	ldr	x28, [x28, _outfile@GOTPAGEOFF]
	cbnz	w8, LBB0_65
; %bb.64:                               ;   in Loop: Header=BB0_34 Depth=1
	cbz	w24, LBB0_67
LBB0_65:                                ;   in Loop: Header=BB0_34 Depth=1
	ldr	x0, [x26]
	add	x1, sp, #64
	bl	_flushAndSendFeedback
	cbz	w0, LBB0_28
; %bb.66:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x21, [sp, #64]
LBB0_67:                                ;   in Loop: Header=BB0_34 Depth=1
	cbz	w24, LBB0_87
	b	LBB0_97
LBB0_68:                                ;   in Loop: Header=BB0_34 Depth=1
	ldr	x0, [x26]
	bl	_PQsocket
	tbnz	x0, #63, LBB0_95
; %bb.69:                               ;   in Loop: Header=BB0_34 Depth=1
	add	x0, sp, #60
	bl	_FD_ZERO
	ldr	x0, [x26]
	bl	_PQsocket
	add	x1, sp, #60
	bl	_FD_SET
	mov	x8, #0
Lloh128:
	adrp	x9, _standby_message_timeout@GOTPAGE
Lloh129:
	ldr	x9, [x9, _standby_message_timeout@GOTPAGEOFF]
Lloh130:
	ldr	w9, [x9]
	mov	w10, #1000
	mul	w10, w9, w10
	sub	w10, w10, #1000
	add	x10, x21, w10, sxtw
	cmp	w9, #0
	csel	x9, xzr, x10, eq
	ldr	w10, [x22]
	cmp	w10, #1
	b.lt	LBB0_72
; %bb.70:                               ;   in Loop: Header=BB0_34 Depth=1
Lloh131:
	adrp	x11, _output_needs_fsync@GOTPAGE
Lloh132:
	ldr	x11, [x11, _output_needs_fsync@GOTPAGEOFF]
Lloh133:
	ldr	w11, [x11]
	cbz	w11, LBB0_72
; %bb.71:                               ;   in Loop: Header=BB0_34 Depth=1
Lloh134:
	adrp	x8, _output_last_fsync@GOTPAGE
Lloh135:
	ldr	x8, [x8, _output_last_fsync@GOTPAGEOFF]
Lloh136:
	ldr	x8, [x8]
	mov	w11, #1000
	mul	w10, w10, w11
	sub	w10, w10, #1000
	add	x8, x8, w10, sxtw
LBB0_72:                                ;   in Loop: Header=BB0_34 Depth=1
	cmp	x9, #0
	ccmp	x8, #1, #0, le
	b.lt	LBB0_82
; %bb.73:                               ;   in Loop: Header=BB0_34 Depth=1
	cmp	x8, x9
	ccmp	x8, #0, #4, lt
	csel	x1, x8, x9, gt
	ldr	x0, [sp, #64]
	add	x2, sp, #40
	add	x3, sp, #36
	bl	_feTimestampDifference
	ldr	x8, [sp, #40]
	cmp	x8, #1
	csinc	x8, x8, xzr, gt
	ldr	w9, [sp, #36]
	stp	w8, w9, [sp, #48]
	add	x24, sp, #48
	b	LBB0_83
LBB0_74:                                ;   in Loop: Header=BB0_34 Depth=1
	str	x21, [sp, #24]                  ; 8-byte Folded Spill
	mov	x26, x23
	mov	x23, x20
	mov	x20, x25
	subs	w25, w24, #25
	b.le	LBB0_98
; %bb.75:                               ;   in Loop: Header=BB0_34 Depth=1
	add	x0, x8, #1
	bl	_fe_recvint64
	mov	x24, x0
Lloh137:
	adrp	x8, _endpos@GOTPAGE
Lloh138:
	ldr	x8, [x8, _endpos@GOTPAGEOFF]
Lloh139:
	ldr	x8, [x8]
Lloh140:
	adrp	x9, _InvalidXLogRecPtr@GOTPAGE
Lloh141:
	ldr	x9, [x9, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh142:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_77
; %bb.76:                               ;   in Loop: Header=BB0_34 Depth=1
	cmp	x24, x8
	b.gt	LBB0_100
LBB0_77:                                ;   in Loop: Header=BB0_34 Depth=1
	ldr	x1, [x27]
	mov	x0, x24
	bl	_Max
	mov	x8, x27
	mov	w27, #0
	str	x0, [x8]
	mov	w8, #1
Lloh143:
	adrp	x9, _output_needs_fsync@GOTPAGE
Lloh144:
	ldr	x9, [x9, _output_needs_fsync@GOTPAGEOFF]
Lloh145:
	str	w8, [x9]
LBB0_78:                                ;   Parent Loop BB0_34 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
Lloh146:
	adrp	x8, _outfd@GOTPAGE
Lloh147:
	ldr	x8, [x8, _outfd@GOTPAGEOFF]
Lloh148:
	ldr	w0, [x8]
	ldr	x8, [sp, #72]
	add	x8, x8, w27, sxtw
	add	x1, x8, #25
	mov	x2, x25
	bl	_write
	tbnz	w0, #31, LBB0_90
; %bb.79:                               ;   in Loop: Header=BB0_78 Depth=2
	add	w27, w0, w27
	subs	w25, w25, w0
	b.ne	LBB0_78
; %bb.80:                               ;   in Loop: Header=BB0_34 Depth=1
Lloh149:
	adrp	x8, _outfd@GOTPAGE
Lloh150:
	ldr	x8, [x8, _outfd@GOTPAGEOFF]
Lloh151:
	ldr	w0, [x8]
Lloh152:
	adrp	x1, l_.str.18@PAGE
Lloh153:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	w2, #1
	bl	_write
	cmp	w0, #1
	b.ne	LBB0_103
; %bb.81:                               ;   in Loop: Header=BB0_34 Depth=1
Lloh154:
	adrp	x8, _endpos@GOTPAGE
Lloh155:
	ldr	x8, [x8, _endpos@GOTPAGEOFF]
Lloh156:
	ldr	x8, [x8]
Lloh157:
	adrp	x9, _InvalidXLogRecPtr@GOTPAGE
Lloh158:
	ldr	x9, [x9, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh159:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	x24, x8, #0, ne
Lloh160:
	adrp	x27, _output_written_lsn@GOTPAGE
Lloh161:
	ldr	x27, [x27, _output_written_lsn@GOTPAGEOFF]
Lloh162:
	adrp	x8, _time_to_abort@GOTPAGE
Lloh163:
	ldr	x8, [x8, _time_to_abort@GOTPAGEOFF]
	mov	x25, x20
	mov	x20, x8
	mov	x23, x26
Lloh164:
	adrp	x26, _conn@GOTPAGE
Lloh165:
	ldr	x26, [x26, _conn@GOTPAGEOFF]
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
	b.ne	LBB0_87
	b	LBB0_104
LBB0_82:                                ;   in Loop: Header=BB0_34 Depth=1
	mov	x24, #0
LBB0_83:                                ;   in Loop: Header=BB0_34 Depth=1
	ldr	x0, [x26]
	bl	_PQsocket
	add	x0, x0, #1
	add	x1, sp, #60
	mov	x2, #0
	mov	x3, #0
	mov	x4, x24
	bl	_select
	cbz	w0, LBB0_87
; %bb.84:                               ;   in Loop: Header=BB0_34 Depth=1
	tbnz	w0, #31, LBB0_86
; %bb.85:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x0, [x26]
	bl	_PQconsumeInput
	cbnz	x0, LBB0_87
	b	LBB0_102
LBB0_86:                                ;   in Loop: Header=BB0_34 Depth=1
Lloh166:
	adrp	x8, _errno@GOTPAGE
Lloh167:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh168:
	ldr	x8, [x8]
Lloh169:
	adrp	x9, _EINTR@GOTPAGE
Lloh170:
	ldr	x9, [x9, _EINTR@GOTPAGEOFF]
Lloh171:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_107
LBB0_87:                                ;   in Loop: Header=BB0_34 Depth=1
	ldr	w8, [x20]
	cbnz	w8, LBB0_20
; %bb.88:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x0, [sp, #72]
	cbnz	x0, LBB0_33
	b	LBB0_34
LBB0_89:
	mov	x0, x20
	bl	_PQresultErrorMessage
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh172:
	adrp	x0, l_.str.19@PAGE
Lloh173:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_pg_log_error
	b	LBB0_28
LBB0_90:
	ldr	w8, [x28]
	stp	x25, x8, [sp]
LBB0_91:
Lloh174:
	adrp	x0, l_.str.17@PAGE
Lloh175:
	add	x0, x0, l_.str.17@PAGEOFF
LBB0_92:
	bl	_pg_log_error
Lloh176:
	adrp	x26, _conn@GOTPAGE
Lloh177:
	ldr	x26, [x26, _conn@GOTPAGEOFF]
	b	LBB0_28
LBB0_93:
	ldr	w8, [x28]
	str	x8, [sp]
Lloh178:
	adrp	x0, l_.str.9@PAGE
Lloh179:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_pg_log_error
	b	LBB0_28
LBB0_94:
	ldr	x0, [x26]
	bl	_PQerrorMessage
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh180:
	adrp	x0, l_.str.14@PAGE
Lloh181:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_pg_log_error
	b	LBB0_28
LBB0_95:
	ldr	x0, [x26]
	bl	_PQerrorMessage
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh182:
	adrp	x0, l_.str.11@PAGE
Lloh183:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_pg_log_error
	b	LBB0_28
LBB0_96:
	sxtb	w8, w9
	str	x8, [sp]
Lloh184:
	adrp	x0, l_.str.16@PAGE
Lloh185:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_pg_log_error
	b	LBB0_28
LBB0_97:
	ldr	x0, [x26]
Lloh186:
	adrp	x8, _endpos@GOTPAGE
Lloh187:
	ldr	x8, [x8, _endpos@GOTPAGEOFF]
Lloh188:
	ldr	x1, [x8]
Lloh189:
	adrp	x8, _InvalidXLogRecPtr@GOTPAGE
Lloh190:
	ldr	x8, [x8, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh191:
	ldr	x3, [x8]
	mov	w2, #1
	b	LBB0_106
LBB0_98:
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
LBB0_99:
	str	x24, [sp]
Lloh192:
	adrp	x0, l_.str.15@PAGE
Lloh193:
	add	x0, x0, l_.str.15@PAGEOFF
	b	LBB0_92
LBB0_100:
Lloh194:
	adrp	x26, _conn@GOTPAGE
Lloh195:
	ldr	x26, [x26, _conn@GOTPAGEOFF]
	ldr	x0, [x26]
	add	x1, sp, #64
	bl	_flushAndSendFeedback
	cbz	w0, LBB0_28
; %bb.101:
	mov	x20, x23
	b	LBB0_105
LBB0_102:
	ldr	x0, [x26]
	bl	_PQerrorMessage
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh196:
	adrp	x0, l_.str.13@PAGE
Lloh197:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_pg_log_error
	b	LBB0_28
LBB0_103:
	ldr	w8, [x28]
	mov	w9, #1
	stp	x9, x8, [sp]
	b	LBB0_91
LBB0_104:
	ldr	x0, [x26]
	add	x1, sp, #64
	bl	_flushAndSendFeedback
	cbz	w0, LBB0_28
LBB0_105:
	ldr	x0, [x26]
Lloh198:
	adrp	x8, _endpos@GOTPAGE
Lloh199:
	ldr	x8, [x8, _endpos@GOTPAGEOFF]
Lloh200:
	ldr	x1, [x8]
	mov	w2, #0
	mov	x3, x24
LBB0_106:
	bl	_prepareToTerminate
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_20
LBB0_107:
Lloh201:
	adrp	x0, l_.str.12@PAGE
Lloh202:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_pg_log_error
	b	LBB0_28
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotStr	Lloh107, Lloh108, Lloh109
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotStr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGot	Lloh126, Lloh127
	.loh AdrpLdrGot	Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpLdrGotLdr	Lloh134, Lloh135, Lloh136
	.loh AdrpLdrGotLdr	Lloh140, Lloh141, Lloh142
	.loh AdrpLdrGotLdr	Lloh137, Lloh138, Lloh139
	.loh AdrpLdrGotStr	Lloh143, Lloh144, Lloh145
	.loh AdrpLdrGotLdr	Lloh146, Lloh147, Lloh148
	.loh AdrpAdd	Lloh152, Lloh153
	.loh AdrpLdrGotLdr	Lloh149, Lloh150, Lloh151
	.loh AdrpLdrGot	Lloh164, Lloh165
	.loh AdrpLdrGot	Lloh162, Lloh163
	.loh AdrpLdrGot	Lloh160, Lloh161
	.loh AdrpLdrGotLdr	Lloh157, Lloh158, Lloh159
	.loh AdrpLdrGotLdr	Lloh154, Lloh155, Lloh156
	.loh AdrpLdrGotLdr	Lloh169, Lloh170, Lloh171
	.loh AdrpLdrGotLdr	Lloh166, Lloh167, Lloh168
	.loh AdrpAdd	Lloh172, Lloh173
	.loh AdrpAdd	Lloh174, Lloh175
	.loh AdrpLdrGot	Lloh176, Lloh177
	.loh AdrpAdd	Lloh178, Lloh179
	.loh AdrpAdd	Lloh180, Lloh181
	.loh AdrpAdd	Lloh182, Lloh183
	.loh AdrpAdd	Lloh184, Lloh185
	.loh AdrpLdrGotLdr	Lloh189, Lloh190, Lloh191
	.loh AdrpLdrGotLdr	Lloh186, Lloh187, Lloh188
	.loh AdrpAdd	Lloh192, Lloh193
	.loh AdrpLdrGot	Lloh194, Lloh195
	.loh AdrpAdd	Lloh196, Lloh197
	.loh AdrpLdrGotLdr	Lloh198, Lloh199, Lloh200
	.loh AdrpAdd	Lloh201, Lloh202
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidXLogRecPtr,8,3          ; @InvalidXLogRecPtr
	.comm	_output_written_lsn,8,3         ; @output_written_lsn
	.comm	_output_fsync_lsn,8,3           ; @output_fsync_lsn
	.comm	_conn,8,3                       ; @conn
	.comm	_verbose,8,3                    ; @verbose
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"starting log streaming at %X/%X (slot %s)"

	.comm	_startpos,4,2                   ; @startpos
	.comm	_replication_slot,4,2           ; @replication_slot
l_.str.1:                               ; @.str.1
	.asciz	"START_REPLICATION SLOT \"%s\" LOGICAL %X/%X"

	.comm	_noptions,4,2                   ; @noptions
l_.str.2:                               ; @.str.2
	.asciz	" ("

l_.str.3:                               ; @.str.3
	.asciz	", "

l_.str.4:                               ; @.str.4
	.asciz	"\"%s\""

	.comm	_options,8,3                    ; @options
l_.str.5:                               ; @.str.5
	.asciz	" '%s'"

	.comm	_PGRES_COPY_BOTH,8,3            ; @PGRES_COPY_BOTH
l_.str.6:                               ; @.str.6
	.asciz	"could not send replication command \"%s\": %s"

l_.str.7:                               ; @.str.7
	.asciz	"streaming initiated"

	.comm	_time_to_abort,4,2              ; @time_to_abort
	.comm	_outfd,4,2                      ; @outfd
	.comm	_output_last_fsync,8,3          ; @output_last_fsync
	.comm	_fsync_interval,4,2             ; @fsync_interval
	.comm	_standby_message_timeout,4,2    ; @standby_message_timeout
	.comm	_output_reopen,4,2              ; @output_reopen
	.comm	_outfile,4,2                    ; @outfile
l_.str.8:                               ; @.str.8
	.asciz	"-"

	.comm	_stdout,4,2                     ; @stdout
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_APPEND,4,2                   ; @O_APPEND
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_PG_BINARY,4,2                  ; @PG_BINARY
	.comm	_S_IRUSR,4,2                    ; @S_IRUSR
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
l_.str.9:                               ; @.str.9
	.asciz	"could not open log file \"%s\": %m"

l_.str.10:                              ; @.str.10
	.asciz	"could not stat file \"%s\": %m"

	.comm	_output_isfile,4,2              ; @output_isfile
l_.str.11:                              ; @.str.11
	.asciz	"invalid socket: %s"

	.comm	_output_needs_fsync,4,2         ; @output_needs_fsync
	.comm	_errno,8,3                      ; @errno
	.comm	_EINTR,8,3                      ; @EINTR
l_.str.12:                              ; @.str.12
	.asciz	"select() failed: %m"

l_.str.13:                              ; @.str.13
	.asciz	"could not receive data from WAL stream: %s"

l_.str.14:                              ; @.str.14
	.asciz	"could not read COPY data: %s"

l_.str.15:                              ; @.str.15
	.asciz	"streaming header too small: %d"

	.comm	_endpos,8,3                     ; @endpos
l_.str.16:                              ; @.str.16
	.asciz	"unrecognized streaming header: \"%c\""

l_.str.17:                              ; @.str.17
	.asciz	"could not write %u bytes to log file \"%s\": %m"

l_.str.18:                              ; @.str.18
	.asciz	"\n"

	.comm	_PGRES_COPY_OUT,8,3             ; @PGRES_COPY_OUT
	.comm	_PGRES_COMMAND_OK,8,3           ; @PGRES_COMMAND_OK
l_.str.19:                              ; @.str.19
	.asciz	"unexpected termination of replication stream: %s"

l_.str.20:                              ; @.str.20
	.asciz	"could not close file \"%s\": %m"

	.no_dead_strip	_StreamLogicalLog
.subsections_via_symbols
