	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqPutMsgStart                  ## -- Begin function pqPutMsgStart
	.p2align	4, 0x90
_pqPutMsgStart:                         ## @pqPutMsgStart
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%edi, %r14d
	movl	(%rdx), %ebx
	cmpb	$1, %r14b
	sbbl	$-1, %ebx
	testl	%esi, %esi
	jne	LBB0_2
## %bb.1:
	movl	32(%r15), %edi
	callq	_PG_PROTOCOL_MAJOR
	movl	$-1, %r12d
	cmpl	$3, %eax
	jl	LBB0_3
LBB0_2:
	movl	%ebx, %r12d
	leal	4(%rbx), %eax
	movl	%eax, %ebx
LBB0_3:
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_pqCheckOutBufferSpace
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_9
LBB0_5:
	testb	%r14b, %r14b
	je	LBB0_7
## %bb.6:
	movq	8(%r15), %rax
	movslq	(%r15), %rcx
	movb	%r14b, (%rax,%rcx)
LBB0_7:
	movl	%r12d, 16(%r15)
	movl	%ebx, 20(%r15)
	movq	24(%r15), %rdi
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	testb	%r14b, %r14b
	movzbl	%r14b, %eax
	movl	$32, %ecx
	cmovnel	%eax, %ecx
	movsbl	%cl, %edx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"To backend> Msg %c\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqPutMsgStart                  ; -- Begin function pqPutMsgStart
	.p2align	2
_pqPutMsgStart:                         ; @pqPutMsgStart
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x0
	cmp	w0, #0
	ldr	w8, [x2]
	cinc	w21, w8, ne
	cbnz	w1, LBB0_2
; %bb.1:
	ldr	w0, [x20, #32]
	bl	_PG_PROTOCOL_MAJOR
	cmp	w0, #3
	b.lt	LBB0_3
LBB0_2:
	mov	x22, x21
	add	w21, w21, #4
	b	LBB0_4
LBB0_3:
	mov	w22, #-1
LBB0_4:
	mov	x0, x21
	mov	x1, x20
	bl	_pqCheckOutBufferSpace
	cbz	x0, LBB0_6
; %bb.5:
Lloh0:
	adrp	x8, _EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_10
LBB0_6:
	cbz	w19, LBB0_8
; %bb.7:
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20]
	strb	w19, [x8, x9]
LBB0_8:
	stp	w22, w21, [x20, #16]
	ldr	x0, [x20, #24]
	cbz	x0, LBB0_10
; %bb.9:
	mov	w8, #32
	cmp	w19, #0
	csel	w2, w8, w19, eq
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"To backend> Msg %c\n"

.subsections_via_symbols
