	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ProcessRepliesIfAny
_ProcessRepliesIfAny:                   ## @ProcessRepliesIfAny
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_GetCurrentTimestamp
	movq	_last_processing@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movb	$1, %al
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	-41(%rbp), %r12
	movq	_ERRCODE_PROTOCOL_VIOLATION@GOTPCREL(%rip), %r14
	movq	_reply_message@GOTPCREL(%rip), %r13
	movq	_FATAL@GOTPCREL(%rip), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edi, %edi
	callq	_proc_exit
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %ebx
	movl	(%r14), %edi
	callq	_errcode
	movzbl	-41(%rbp), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_pq_startmsgread
	movq	%r12, %rdi
	callq	_pq_getbyte_if_available
	testl	%eax, %eax
	js	LBB0_2
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	jne	LBB0_3
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rbx
	movq	_COMMERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%r14), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r12d, %edi
	movq	%rbx, %r12
	movl	%eax, %esi
	callq	_ereport
	xorl	%edi, %edi
	callq	_proc_exit
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_resetStringInfo
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_pq_getmessage
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_COMMERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r14), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	xorl	%edi, %edi
	callq	_proc_exit
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_streamingDoneReceiving@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movzbl	-41(%rbp), %eax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$88, %al
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %ebx
	movl	(%r14), %edi
	callq	_errcode
	movzbl	-41(%rbp), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movzbl	-41(%rbp), %eax
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$88, %al
	je	LBB0_19
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$99, %al
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$100, %al
	jne	LBB0_20
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_ProcessStandbyMessage
	jmp	LBB0_1
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_streamingDoneSending@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$99, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_pq_putmessage_noblock
	movq	_streamingDoneSending@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_streamingDoneReceiving@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_13:
	xorl	%eax, %eax
	callq	_pq_endmsgread
	testb	$1, -48(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_15
## %bb.14:
	movq	_last_processing@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_last_reply_timestamp@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_waiting_for_ping_response@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_last_processing,4,2            ## @last_processing
	.comm	_COMMERROR,4,2                  ## @COMMERROR
	.comm	_ERRCODE_PROTOCOL_VIOLATION,4,2 ## @ERRCODE_PROTOCOL_VIOLATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected EOF on standby connection"

	.comm	_reply_message,4,2              ## @reply_message
	.comm	_streamingDoneReceiving,4,2     ## @streamingDoneReceiving
	.comm	_FATAL,4,2                      ## @FATAL
L_.str.1:                               ## @.str.1
	.asciz	"unexpected standby message type \"%c\", after receiving CopyDone"

	.comm	_streamingDoneSending,4,2       ## @streamingDoneSending
L_.str.2:                               ## @.str.2
	.asciz	"invalid standby message type \"%c\""

	.comm	_last_reply_timestamp,4,2       ## @last_reply_timestamp
	.comm	_waiting_for_ping_response,4,2  ## @waiting_for_ping_response
	.no_dead_strip	_ProcessRepliesIfAny
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ProcessRepliesIfAny
_ProcessRepliesIfAny:                   ; @ProcessRepliesIfAny
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	bl	_GetCurrentTimestamp
Lloh0:
	adrp	x8, _last_processing@GOTPAGE
Lloh1:
	ldr	x8, [x8, _last_processing@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
Lloh3:
	adrp	x25, _COMMERROR@GOTPAGE
Lloh4:
	ldr	x25, [x25, _COMMERROR@GOTPAGEOFF]
Lloh5:
	adrp	x26, _ERRCODE_PROTOCOL_VIOLATION@GOTPAGE
Lloh6:
	ldr	x26, [x26, _ERRCODE_PROTOCOL_VIOLATION@GOTPAGEOFF]
Lloh7:
	adrp	x19, l_.str@PAGE
Lloh8:
	add	x19, x19, l_.str@PAGEOFF
Lloh9:
	adrp	x20, _reply_message@GOTPAGE
Lloh10:
	ldr	x20, [x20, _reply_message@GOTPAGEOFF]
Lloh11:
	adrp	x27, _streamingDoneReceiving@GOTPAGE
Lloh12:
	ldr	x27, [x27, _streamingDoneReceiving@GOTPAGEOFF]
Lloh13:
	adrp	x28, _FATAL@GOTPAGE
Lloh14:
	ldr	x28, [x28, _FATAL@GOTPAGEOFF]
Lloh15:
	adrp	x21, l_.str.1@PAGE
Lloh16:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh17:
	adrp	x22, l_.str.2@PAGE
Lloh18:
	add	x22, x22, l_.str.2@PAGEOFF
	mov	w24, #1
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #0
	bl	_proc_exit
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w23, [x28]
	ldr	w0, [x26]
	bl	_errcode
	ldrb	w8, [sp, #15]
	str	x8, [sp]
	mov	x0, x22
	bl	_errmsg
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_pq_startmsgread
	add	x0, sp, #15
	bl	_pq_getbyte_if_available
	tbnz	w0, #31, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w0, LBB0_6
	b	LBB0_18
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w23, [x25]
	ldr	w0, [x26]
	bl	_errcode
	mov	x0, x19
	bl	_errmsg
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
	mov	w0, #0
	bl	_proc_exit
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_resetStringInfo
	mov	x0, x20
	mov	w1, #0
	bl	_pq_getmessage
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w23, [x25]
	ldr	w0, [x26]
	bl	_errcode
	mov	x0, x19
	bl	_errmsg
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
	mov	w0, #0
	bl	_proc_exit
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x27]
	ldrb	w8, [sp, #15]
	cbz	w9, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #88
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w23, [x28]
	ldr	w0, [x26]
	bl	_errcode
	ldrb	w8, [sp, #15]
	str	x8, [sp]
	mov	x0, x21
	bl	_errmsg
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
	ldrb	w8, [sp, #15]
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #88
	b.eq	LBB0_1
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #99
	b.eq	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #100
	b.ne	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_ProcessStandbyMessage
	mov	w24, #0
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh19:
	adrp	x8, _streamingDoneSending@GOTPAGE
Lloh20:
	ldr	x8, [x8, _streamingDoneSending@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cbnz	w8, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #99
	mov	x1, #0
	mov	w2, #0
	bl	_pq_putmessage_noblock
	mov	w8, #1
Lloh22:
	adrp	x9, _streamingDoneSending@GOTPAGE
Lloh23:
	ldr	x9, [x9, _streamingDoneSending@GOTPAGEOFF]
Lloh24:
	str	w8, [x9]
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w24, #0
	mov	w8, #1
	str	w8, [x27]
	b	LBB0_3
LBB0_18:
	bl	_pq_endmsgread
	tbnz	w24, #0, LBB0_20
; %bb.19:
Lloh25:
	adrp	x8, _last_processing@GOTPAGE
Lloh26:
	ldr	x8, [x8, _last_processing@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _last_reply_timestamp@GOTPAGE
Lloh29:
	ldr	x9, [x9, _last_reply_timestamp@GOTPAGEOFF]
Lloh30:
	str	w8, [x9]
Lloh31:
	adrp	x8, _waiting_for_ping_response@GOTPAGE
Lloh32:
	ldr	x8, [x8, _waiting_for_ping_response@GOTPAGEOFF]
Lloh33:
	str	wzr, [x8]
LBB0_20:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotStr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_last_processing,4,2            ; @last_processing
	.comm	_COMMERROR,4,2                  ; @COMMERROR
	.comm	_ERRCODE_PROTOCOL_VIOLATION,4,2 ; @ERRCODE_PROTOCOL_VIOLATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected EOF on standby connection"

	.comm	_reply_message,4,2              ; @reply_message
	.comm	_streamingDoneReceiving,4,2     ; @streamingDoneReceiving
	.comm	_FATAL,4,2                      ; @FATAL
l_.str.1:                               ; @.str.1
	.asciz	"unexpected standby message type \"%c\", after receiving CopyDone"

	.comm	_streamingDoneSending,4,2       ; @streamingDoneSending
l_.str.2:                               ; @.str.2
	.asciz	"invalid standby message type \"%c\""

	.comm	_last_reply_timestamp,4,2       ; @last_reply_timestamp
	.comm	_waiting_for_ping_response,4,2  ; @waiting_for_ping_response
	.no_dead_strip	_ProcessRepliesIfAny
.subsections_via_symbols
