	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_message_to_frontend
_send_message_to_frontend:              ## @send_message_to_frontend
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	(%rdi), %rax
	movq	_ERROR@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	setl	%dl
	leal	(%rdx,%rdx,8), %esi
	addl	$69, %esi
	leaq	-56(%rbp), %rdi
	callq	_pq_beginmessage
	movq	_FrontendProtocol@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PG_PROTOCOL_MAJOR
	cmpl	$3, %eax
	jl	LBB0_33
## %bb.1:
	movq	(%r15), %rdi
	callq	_error_severity
	movq	%rax, %rbx
	movq	_PG_DIAG_SEVERITY@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	callq	_pq_sendbyte
	movq	%rbx, %rdi
	callq	__
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_err_sendstring
	movq	_PG_DIAG_SEVERITY_NONLOCALIZED@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pq_sendbyte
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_err_sendstring
	movl	8(%r15), %ebx
	movl	%ebx, %edi
	callq	_PGUNSIXBIT
	movb	%al, -48(%rbp)
	movl	%ebx, %edi
	sarl	$6, %edi
	callq	_PGUNSIXBIT
	movb	%al, -47(%rbp)
	movl	%ebx, %edi
	sarl	$12, %edi
	callq	_PGUNSIXBIT
	movb	%al, -46(%rbp)
	movl	%ebx, %edi
	sarl	$18, %edi
	callq	_PGUNSIXBIT
	movb	%al, -45(%rbp)
	sarl	$24, %ebx
	movl	%ebx, %edi
	callq	_PGUNSIXBIT
	movb	%al, -44(%rbp)
	movb	$0, -43(%rbp)
	movq	_PG_DIAG_SQLSTATE@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pq_sendbyte
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_err_sendstring
	movq	_PG_DIAG_MESSAGE_PRIMARY@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pq_sendbyte
	movq	16(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	leaq	-56(%rbp), %rdi
	jmp	LBB0_4
LBB0_33:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_initStringInfo
	movq	(%r15), %rdi
	callq	_error_severity
	movq	%rax, %rdi
	callq	__
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_appendStringInfo
	cmpq	$0, 128(%r15)
	je	LBB0_36
## %bb.34:
	movq	120(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_36
## %bb.35:
	leaq	L_.str.3(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_appendStringInfo
LBB0_36:
	movq	16(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_38
## %bb.37:
	leaq	-48(%rbp), %rdi
	jmp	LBB0_39
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	__
	leaq	-56(%rbp), %rdi
	movq	%rax, %rsi
LBB0_4:
	callq	_err_sendstring
	cmpq	$0, 24(%r15)
	je	LBB0_6
## %bb.5:
	movq	_PG_DIAG_MESSAGE_DETAIL@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pq_sendbyte
	movq	24(%r15), %rsi
	movq	%rbx, %rdi
	callq	_err_sendstring
LBB0_6:
	cmpq	$0, 32(%r15)
	je	LBB0_8
## %bb.7:
	movq	_PG_DIAG_MESSAGE_HINT@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pq_sendbyte
	movq	32(%r15), %rsi
	movq	%rbx, %rdi
	callq	_err_sendstring
LBB0_8:
	cmpq	$0, 40(%r15)
	je	LBB0_10
## %bb.9:
	movq	_PG_DIAG_CONTEXT@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pq_sendbyte
	movq	40(%r15), %rsi
	movq	%rbx, %rdi
	callq	_err_sendstring
LBB0_10:
	cmpq	$0, 48(%r15)
	je	LBB0_12
## %bb.11:
	movq	_PG_DIAG_SCHEMA_NAME@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pq_sendbyte
	movq	48(%r15), %rsi
	movq	%rbx, %rdi
	callq	_err_sendstring
LBB0_12:
	cmpq	$0, 56(%r15)
	je	LBB0_14
## %bb.13:
	movq	_PG_DIAG_TABLE_NAME@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pq_sendbyte
	movq	56(%r15), %rsi
	movq	%rbx, %rdi
	callq	_err_sendstring
LBB0_14:
	cmpq	$0, 64(%r15)
	je	LBB0_16
## %bb.15:
	movq	_PG_DIAG_COLUMN_NAME@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pq_sendbyte
	movq	64(%r15), %rsi
	movq	%rbx, %rdi
	callq	_err_sendstring
LBB0_16:
	cmpq	$0, 72(%r15)
	je	LBB0_18
## %bb.17:
	movq	_PG_DIAG_DATATYPE_NAME@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pq_sendbyte
	movq	72(%r15), %rsi
	movq	%rbx, %rdi
	callq	_err_sendstring
LBB0_18:
	cmpq	$0, 80(%r15)
	je	LBB0_20
## %bb.19:
	movq	_PG_DIAG_CONSTRAINT_NAME@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pq_sendbyte
	movq	80(%r15), %rsi
	movq	%rbx, %rdi
	callq	_err_sendstring
LBB0_20:
	movl	88(%r15), %ecx
	testl	%ecx, %ecx
	jle	LBB0_22
## %bb.21:
	leaq	L_.str.1(%rip), %rdx
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	movl	$12, %esi
	callq	_snprintf
	movq	_PG_DIAG_STATEMENT_POSITION@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pq_sendbyte
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_err_sendstring
LBB0_22:
	movl	92(%r15), %ecx
	testl	%ecx, %ecx
	jle	LBB0_24
## %bb.23:
	leaq	L_.str.1(%rip), %rdx
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	movl	$12, %esi
	callq	_snprintf
	movq	_PG_DIAG_INTERNAL_POSITION@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pq_sendbyte
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_err_sendstring
LBB0_24:
	cmpq	$0, 96(%r15)
	je	LBB0_26
## %bb.25:
	movq	_PG_DIAG_INTERNAL_QUERY@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pq_sendbyte
	movq	96(%r15), %rsi
	movq	%rbx, %rdi
	callq	_err_sendstring
LBB0_26:
	cmpq	$0, 104(%r15)
	je	LBB0_28
## %bb.27:
	movq	_PG_DIAG_SOURCE_FILE@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pq_sendbyte
	movq	104(%r15), %rsi
	movq	%rbx, %rdi
	callq	_err_sendstring
LBB0_28:
	movl	112(%r15), %ecx
	testl	%ecx, %ecx
	jle	LBB0_30
## %bb.29:
	leaq	L_.str.1(%rip), %rdx
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	movl	$12, %esi
	callq	_snprintf
	movq	_PG_DIAG_SOURCE_LINE@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pq_sendbyte
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_err_sendstring
LBB0_30:
	cmpq	$0, 120(%r15)
	je	LBB0_32
## %bb.31:
	movq	_PG_DIAG_SOURCE_FUNCTION@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pq_sendbyte
	movq	120(%r15), %rsi
	movq	%rbx, %rdi
	callq	_err_sendstring
LBB0_32:
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	callq	_pq_sendbyte
	jmp	LBB0_45
LBB0_38:
	leaq	L_.str(%rip), %rdi
	callq	__
	leaq	-48(%rbp), %rdi
	movq	%rax, %rsi
LBB0_39:
	callq	_appendStringInfoString
	cmpl	$0, 88(%r15)
	jle	LBB0_41
## %bb.40:
	addq	$88, %r15
	jmp	LBB0_43
LBB0_41:
	cmpl	$0, 92(%r15)
	jle	LBB0_44
## %bb.42:
	addq	$92, %r15
LBB0_43:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movslq	(%r15), %rdx
	leaq	-48(%rbp), %rdi
	movq	%rax, %rsi
	callq	_appendStringInfo
LBB0_44:
	leaq	-48(%rbp), %rdi
	movl	$10, %esi
	callq	_appendStringInfoChar
	movq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdi
	callq	_err_sendstring
	movq	-48(%rbp), %rdi
	callq	_pfree
LBB0_45:
	leaq	-56(%rbp), %rdi
	callq	_pq_endmessage
	xorl	%eax, %eax
	callq	_pq_flush
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_47
## %bb.46:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_47:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,8,3                      ## @ERROR
	.comm	_FrontendProtocol,4,2           ## @FrontendProtocol
	.comm	_PG_DIAG_SEVERITY,1,0           ## @PG_DIAG_SEVERITY
	.comm	_PG_DIAG_SEVERITY_NONLOCALIZED,1,0 ## @PG_DIAG_SEVERITY_NONLOCALIZED
	.comm	_PG_DIAG_SQLSTATE,1,0           ## @PG_DIAG_SQLSTATE
	.comm	_PG_DIAG_MESSAGE_PRIMARY,1,0    ## @PG_DIAG_MESSAGE_PRIMARY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"missing error text"

	.comm	_PG_DIAG_MESSAGE_DETAIL,1,0     ## @PG_DIAG_MESSAGE_DETAIL
	.comm	_PG_DIAG_MESSAGE_HINT,1,0       ## @PG_DIAG_MESSAGE_HINT
	.comm	_PG_DIAG_CONTEXT,1,0            ## @PG_DIAG_CONTEXT
	.comm	_PG_DIAG_SCHEMA_NAME,1,0        ## @PG_DIAG_SCHEMA_NAME
	.comm	_PG_DIAG_TABLE_NAME,1,0         ## @PG_DIAG_TABLE_NAME
	.comm	_PG_DIAG_COLUMN_NAME,1,0        ## @PG_DIAG_COLUMN_NAME
	.comm	_PG_DIAG_DATATYPE_NAME,1,0      ## @PG_DIAG_DATATYPE_NAME
	.comm	_PG_DIAG_CONSTRAINT_NAME,1,0    ## @PG_DIAG_CONSTRAINT_NAME
L_.str.1:                               ## @.str.1
	.asciz	"%d"

	.comm	_PG_DIAG_STATEMENT_POSITION,1,0 ## @PG_DIAG_STATEMENT_POSITION
	.comm	_PG_DIAG_INTERNAL_POSITION,1,0  ## @PG_DIAG_INTERNAL_POSITION
	.comm	_PG_DIAG_INTERNAL_QUERY,1,0     ## @PG_DIAG_INTERNAL_QUERY
	.comm	_PG_DIAG_SOURCE_FILE,1,0        ## @PG_DIAG_SOURCE_FILE
	.comm	_PG_DIAG_SOURCE_LINE,1,0        ## @PG_DIAG_SOURCE_LINE
	.comm	_PG_DIAG_SOURCE_FUNCTION,1,0    ## @PG_DIAG_SOURCE_FUNCTION
L_.str.2:                               ## @.str.2
	.asciz	"%s:  "

L_.str.3:                               ## @.str.3
	.asciz	"%s: "

L_.str.4:                               ## @.str.4
	.asciz	" at character %d"

	.no_dead_strip	_send_message_to_frontend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_message_to_frontend
_send_message_to_frontend:              ; @send_message_to_frontend
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh5:
	ldr	x8, [x8]
	cmp	x9, x8
	mov	w8, #69
	mov	w9, #78
	csel	w1, w9, w8, lt
	mov	x0, sp
	bl	_pq_beginmessage
Lloh6:
	adrp	x8, _FrontendProtocol@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FrontendProtocol@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_PG_PROTOCOL_MAJOR
	cmp	w0, #3
	b.lt	LBB0_32
; %bb.1:
	ldr	x0, [x19]
	bl	_error_severity
	mov	x20, x0
Lloh9:
	adrp	x8, _PG_DIAG_SEVERITY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PG_DIAG_SEVERITY@GOTPAGEOFF]
Lloh11:
	ldrsb	w1, [x8]
	mov	x0, sp
	bl	_pq_sendbyte
	mov	x0, x20
	bl	__
	mov	x1, x0
	mov	x0, sp
	bl	_err_sendstring
Lloh12:
	adrp	x8, _PG_DIAG_SEVERITY_NONLOCALIZED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PG_DIAG_SEVERITY_NONLOCALIZED@GOTPAGEOFF]
Lloh14:
	ldrsb	w1, [x8]
	mov	x0, sp
	bl	_pq_sendbyte
	mov	x0, sp
	mov	x1, x20
	bl	_err_sendstring
	ldr	w20, [x19, #8]
	mov	x0, x20
	bl	_PGUNSIXBIT
	strb	w0, [sp, #8]
	asr	w0, w20, #6
	bl	_PGUNSIXBIT
	strb	w0, [sp, #9]
	asr	w0, w20, #12
	bl	_PGUNSIXBIT
	strb	w0, [sp, #10]
	asr	w0, w20, #18
	bl	_PGUNSIXBIT
	strb	w0, [sp, #11]
	asr	w0, w20, #24
	bl	_PGUNSIXBIT
	strb	w0, [sp, #12]
	strb	wzr, [sp, #13]
Lloh15:
	adrp	x8, _PG_DIAG_SQLSTATE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PG_DIAG_SQLSTATE@GOTPAGEOFF]
Lloh17:
	ldrsb	w1, [x8]
	mov	x0, sp
	bl	_pq_sendbyte
	mov	x0, sp
	add	x1, sp, #8
	bl	_err_sendstring
Lloh18:
	adrp	x8, _PG_DIAG_MESSAGE_PRIMARY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PG_DIAG_MESSAGE_PRIMARY@GOTPAGEOFF]
Lloh20:
	ldrsb	w1, [x8]
	mov	x0, sp
	bl	_pq_sendbyte
	ldr	x1, [x19, #16]
	cbnz	x1, LBB0_3
; %bb.2:
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
LBB0_3:
	mov	x0, sp
	bl	_err_sendstring
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_5
; %bb.4:
Lloh23:
	adrp	x8, _PG_DIAG_MESSAGE_DETAIL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PG_DIAG_MESSAGE_DETAIL@GOTPAGEOFF]
Lloh25:
	ldrsb	w1, [x8]
	mov	x0, sp
	bl	_pq_sendbyte
	ldr	x1, [x19, #24]
	mov	x0, sp
	bl	_err_sendstring
LBB0_5:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_7
; %bb.6:
Lloh26:
	adrp	x8, _PG_DIAG_MESSAGE_HINT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _PG_DIAG_MESSAGE_HINT@GOTPAGEOFF]
Lloh28:
	ldrsb	w1, [x8]
	mov	x0, sp
	bl	_pq_sendbyte
	ldr	x1, [x19, #32]
	mov	x0, sp
	bl	_err_sendstring
LBB0_7:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_9
; %bb.8:
Lloh29:
	adrp	x8, _PG_DIAG_CONTEXT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PG_DIAG_CONTEXT@GOTPAGEOFF]
Lloh31:
	ldrsb	w1, [x8]
	mov	x0, sp
	bl	_pq_sendbyte
	ldr	x1, [x19, #40]
	mov	x0, sp
	bl	_err_sendstring
LBB0_9:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_11
; %bb.10:
Lloh32:
	adrp	x8, _PG_DIAG_SCHEMA_NAME@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PG_DIAG_SCHEMA_NAME@GOTPAGEOFF]
Lloh34:
	ldrsb	w1, [x8]
	mov	x0, sp
	bl	_pq_sendbyte
	ldr	x1, [x19, #48]
	mov	x0, sp
	bl	_err_sendstring
LBB0_11:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_13
; %bb.12:
Lloh35:
	adrp	x8, _PG_DIAG_TABLE_NAME@GOTPAGE
Lloh36:
	ldr	x8, [x8, _PG_DIAG_TABLE_NAME@GOTPAGEOFF]
Lloh37:
	ldrsb	w1, [x8]
	mov	x0, sp
	bl	_pq_sendbyte
	ldr	x1, [x19, #56]
	mov	x0, sp
	bl	_err_sendstring
LBB0_13:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_15
; %bb.14:
Lloh38:
	adrp	x8, _PG_DIAG_COLUMN_NAME@GOTPAGE
Lloh39:
	ldr	x8, [x8, _PG_DIAG_COLUMN_NAME@GOTPAGEOFF]
Lloh40:
	ldrsb	w1, [x8]
	mov	x0, sp
	bl	_pq_sendbyte
	ldr	x1, [x19, #64]
	mov	x0, sp
	bl	_err_sendstring
LBB0_15:
	ldr	x8, [x19, #72]
	cbz	x8, LBB0_17
; %bb.16:
Lloh41:
	adrp	x8, _PG_DIAG_DATATYPE_NAME@GOTPAGE
Lloh42:
	ldr	x8, [x8, _PG_DIAG_DATATYPE_NAME@GOTPAGEOFF]
Lloh43:
	ldrsb	w1, [x8]
	mov	x0, sp
	bl	_pq_sendbyte
	ldr	x1, [x19, #72]
	mov	x0, sp
	bl	_err_sendstring
LBB0_17:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_19
; %bb.18:
Lloh44:
	adrp	x8, _PG_DIAG_CONSTRAINT_NAME@GOTPAGE
Lloh45:
	ldr	x8, [x8, _PG_DIAG_CONSTRAINT_NAME@GOTPAGEOFF]
Lloh46:
	ldrsb	w1, [x8]
	mov	x0, sp
	bl	_pq_sendbyte
	ldr	x1, [x19, #80]
	mov	x0, sp
	bl	_err_sendstring
LBB0_19:
	ldr	w3, [x19, #88]
	cmp	w3, #1
	b.lt	LBB0_21
; %bb.20:
Lloh47:
	adrp	x2, l_.str.1@PAGE
Lloh48:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	w1, #12
	bl	_snprintf
Lloh49:
	adrp	x8, _PG_DIAG_STATEMENT_POSITION@GOTPAGE
Lloh50:
	ldr	x8, [x8, _PG_DIAG_STATEMENT_POSITION@GOTPAGEOFF]
Lloh51:
	ldrsb	w1, [x8]
	mov	x0, sp
	bl	_pq_sendbyte
	mov	x0, sp
	add	x1, sp, #8
	bl	_err_sendstring
LBB0_21:
	ldr	w3, [x19, #92]
	cmp	w3, #1
	b.lt	LBB0_23
; %bb.22:
Lloh52:
	adrp	x2, l_.str.1@PAGE
Lloh53:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	w1, #12
	bl	_snprintf
Lloh54:
	adrp	x8, _PG_DIAG_INTERNAL_POSITION@GOTPAGE
Lloh55:
	ldr	x8, [x8, _PG_DIAG_INTERNAL_POSITION@GOTPAGEOFF]
Lloh56:
	ldrsb	w1, [x8]
	mov	x0, sp
	bl	_pq_sendbyte
	mov	x0, sp
	add	x1, sp, #8
	bl	_err_sendstring
LBB0_23:
	ldr	x8, [x19, #96]
	cbz	x8, LBB0_25
; %bb.24:
Lloh57:
	adrp	x8, _PG_DIAG_INTERNAL_QUERY@GOTPAGE
Lloh58:
	ldr	x8, [x8, _PG_DIAG_INTERNAL_QUERY@GOTPAGEOFF]
Lloh59:
	ldrsb	w1, [x8]
	mov	x0, sp
	bl	_pq_sendbyte
	ldr	x1, [x19, #96]
	mov	x0, sp
	bl	_err_sendstring
LBB0_25:
	ldr	x8, [x19, #104]
	cbz	x8, LBB0_27
; %bb.26:
Lloh60:
	adrp	x8, _PG_DIAG_SOURCE_FILE@GOTPAGE
Lloh61:
	ldr	x8, [x8, _PG_DIAG_SOURCE_FILE@GOTPAGEOFF]
Lloh62:
	ldrsb	w1, [x8]
	mov	x0, sp
	bl	_pq_sendbyte
	ldr	x1, [x19, #104]
	mov	x0, sp
	bl	_err_sendstring
LBB0_27:
	ldr	w3, [x19, #112]
	cmp	w3, #1
	b.lt	LBB0_29
; %bb.28:
Lloh63:
	adrp	x2, l_.str.1@PAGE
Lloh64:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	w1, #12
	bl	_snprintf
Lloh65:
	adrp	x8, _PG_DIAG_SOURCE_LINE@GOTPAGE
Lloh66:
	ldr	x8, [x8, _PG_DIAG_SOURCE_LINE@GOTPAGEOFF]
Lloh67:
	ldrsb	w1, [x8]
	mov	x0, sp
	bl	_pq_sendbyte
	mov	x0, sp
	add	x1, sp, #8
	bl	_err_sendstring
LBB0_29:
	ldr	x8, [x19, #120]
	cbz	x8, LBB0_31
; %bb.30:
Lloh68:
	adrp	x8, _PG_DIAG_SOURCE_FUNCTION@GOTPAGE
Lloh69:
	ldr	x8, [x8, _PG_DIAG_SOURCE_FUNCTION@GOTPAGEOFF]
Lloh70:
	ldrsb	w1, [x8]
	mov	x0, sp
	bl	_pq_sendbyte
	ldr	x1, [x19, #120]
	mov	x0, sp
	bl	_err_sendstring
LBB0_31:
	mov	x0, sp
	mov	w1, #0
	bl	_pq_sendbyte
	b	LBB0_42
LBB0_32:
	add	x0, sp, #8
	bl	_initStringInfo
	ldr	x0, [x19]
	bl	_error_severity
	bl	__
	mov	x2, x0
Lloh71:
	adrp	x1, l_.str.2@PAGE
Lloh72:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #8
	bl	_appendStringInfo
	ldr	x8, [x19, #128]
	cbz	x8, LBB0_35
; %bb.33:
	ldr	x2, [x19, #120]
	cbz	x2, LBB0_35
; %bb.34:
Lloh73:
	adrp	x1, l_.str.3@PAGE
Lloh74:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #8
	bl	_appendStringInfo
LBB0_35:
	ldr	x1, [x19, #16]
	cbnz	x1, LBB0_37
; %bb.36:
Lloh75:
	adrp	x0, l_.str@PAGE
Lloh76:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
LBB0_37:
	add	x0, sp, #8
	bl	_appendStringInfoString
	mov	x20, x19
	ldr	w8, [x20, #88]!
	cmp	w8, #0
	b.gt	LBB0_40
; %bb.38:
	ldr	w8, [x19, #92]!
	cmp	w8, #1
	b.lt	LBB0_41
; %bb.39:
	mov	x20, x19
LBB0_40:
Lloh77:
	adrp	x0, l_.str.4@PAGE
Lloh78:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	mov	x1, x0
	ldrsw	x2, [x20]
	add	x0, sp, #8
	bl	_appendStringInfo
LBB0_41:
	add	x0, sp, #8
	mov	w1, #10
	bl	_appendStringInfoChar
	ldr	x1, [sp, #8]
	mov	x0, sp
	bl	_err_sendstring
	ldr	x0, [sp, #8]
	bl	_pfree
LBB0_42:
	mov	x0, sp
	bl	_pq_endmessage
	bl	_pq_flush
	ldr	x8, [sp, #24]
Lloh79:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh80:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh81:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_44
; %bb.43:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_44:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,8,3                      ; @ERROR
	.comm	_FrontendProtocol,4,2           ; @FrontendProtocol
	.comm	_PG_DIAG_SEVERITY,1,0           ; @PG_DIAG_SEVERITY
	.comm	_PG_DIAG_SEVERITY_NONLOCALIZED,1,0 ; @PG_DIAG_SEVERITY_NONLOCALIZED
	.comm	_PG_DIAG_SQLSTATE,1,0           ; @PG_DIAG_SQLSTATE
	.comm	_PG_DIAG_MESSAGE_PRIMARY,1,0    ; @PG_DIAG_MESSAGE_PRIMARY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"missing error text"

	.comm	_PG_DIAG_MESSAGE_DETAIL,1,0     ; @PG_DIAG_MESSAGE_DETAIL
	.comm	_PG_DIAG_MESSAGE_HINT,1,0       ; @PG_DIAG_MESSAGE_HINT
	.comm	_PG_DIAG_CONTEXT,1,0            ; @PG_DIAG_CONTEXT
	.comm	_PG_DIAG_SCHEMA_NAME,1,0        ; @PG_DIAG_SCHEMA_NAME
	.comm	_PG_DIAG_TABLE_NAME,1,0         ; @PG_DIAG_TABLE_NAME
	.comm	_PG_DIAG_COLUMN_NAME,1,0        ; @PG_DIAG_COLUMN_NAME
	.comm	_PG_DIAG_DATATYPE_NAME,1,0      ; @PG_DIAG_DATATYPE_NAME
	.comm	_PG_DIAG_CONSTRAINT_NAME,1,0    ; @PG_DIAG_CONSTRAINT_NAME
l_.str.1:                               ; @.str.1
	.asciz	"%d"

	.comm	_PG_DIAG_STATEMENT_POSITION,1,0 ; @PG_DIAG_STATEMENT_POSITION
	.comm	_PG_DIAG_INTERNAL_POSITION,1,0  ; @PG_DIAG_INTERNAL_POSITION
	.comm	_PG_DIAG_INTERNAL_QUERY,1,0     ; @PG_DIAG_INTERNAL_QUERY
	.comm	_PG_DIAG_SOURCE_FILE,1,0        ; @PG_DIAG_SOURCE_FILE
	.comm	_PG_DIAG_SOURCE_LINE,1,0        ; @PG_DIAG_SOURCE_LINE
	.comm	_PG_DIAG_SOURCE_FUNCTION,1,0    ; @PG_DIAG_SOURCE_FUNCTION
l_.str.2:                               ; @.str.2
	.asciz	"%s:  "

l_.str.3:                               ; @.str.3
	.asciz	"%s: "

l_.str.4:                               ; @.str.4
	.asciz	" at character %d"

	.no_dead_strip	_send_message_to_frontend
.subsections_via_symbols
