	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pq_startmsgread                ## -- Begin function pq_startmsgread
	.p2align	4, 0x90
_pq_startmsgread:                       ## @pq_startmsgread
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_PqCommReadingMsg@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_2
## %bb.1:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_PROTOCOL_VIOLATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movl	$1, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PqCommReadingMsg,4,2           ## @PqCommReadingMsg
	.comm	_FATAL,4,2                      ## @FATAL
	.comm	_ERRCODE_PROTOCOL_VIOLATION,4,2 ## @ERRCODE_PROTOCOL_VIOLATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"terminating connection because protocol synchronization was lost"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pq_startmsgread                ; -- Begin function pq_startmsgread
	.p2align	2
_pq_startmsgread:                       ; @pq_startmsgread
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _PqCommReadingMsg@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PqCommReadingMsg@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _FATAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
Lloh5:
	adrp	x8, _ERRCODE_PROTOCOL_VIOLATION@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERRCODE_PROTOCOL_VIOLATION@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_errcode
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_2:
	mov	w8, #1
	str	w8, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PqCommReadingMsg,4,2           ; @PqCommReadingMsg
	.comm	_FATAL,4,2                      ; @FATAL
	.comm	_ERRCODE_PROTOCOL_VIOLATION,4,2 ; @ERRCODE_PROTOCOL_VIOLATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"terminating connection because protocol synchronization was lost"

.subsections_via_symbols
