	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqBuildErrorMessage3           ## -- Begin function pqBuildErrorMessage3
	.p2align	4, 0x90
_pqBuildErrorMessage3:                  ## @pqBuildErrorMessage3
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.3:
	movq	%rsi, %r15
	cmpq	$0, 32(%rsi)
	je	LBB0_4
## %bb.9:
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movq	_PG_DIAG_SEVERITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_11:
	movq	_PQERRORS_SQLSTATE@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_14
## %bb.12:
	movq	_PG_DIAG_SQLSTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	testq	%rax, %rax
	je	LBB0_13
## %bb.66:
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_appendPQExpBuffer              ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	movq	(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.5:
	cmpb	$0, (%rsi)
	je	LBB0_8
## %bb.6:
	movl	%r14d, %edi
	jmp	LBB0_7
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	callq	_libpq_gettext
	movl	%r14d, %edi
	movq	%rax, %rsi
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_appendPQExpBufferStr           ## TAILCALL
LBB0_13:
	movq	_PQERRORS_TERSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_14:
	movq	_PQERRORS_VERBOSE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_17
## %bb.15:
	movq	_PG_DIAG_SQLSTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_17:
	movq	_PG_DIAG_MESSAGE_PRIMARY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_appendPQExpBufferStr
LBB0_19:
	movq	_PG_DIAG_STATEMENT_POSITION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	testq	%rax, %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_24
## %bb.20:
	movq	%rax, %r12
	movq	_PQERRORS_TERSE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_23
## %bb.21:
	movq	8(%r15), %r13
	testq	%r13, %r13
	jne	LBB0_22
LBB0_23:
	leaq	L_.str.5(%rip), %rdi
	callq	_libpq_gettext
	xorl	%r13d, %r13d
	movl	%r14d, %edi
	movq	%rax, %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
	xorl	%r12d, %r12d
	jmp	LBB0_29
LBB0_24:
	movq	_PG_DIAG_INTERNAL_POSITION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	testq	%rax, %rax
	je	LBB0_25
## %bb.26:
	movq	%rax, %r12
	movq	_PG_DIAG_INTERNAL_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	movq	%rax, %r13
	movq	_PQERRORS_TERSE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_28
## %bb.27:
	testq	%r13, %r13
	je	LBB0_28
LBB0_22:
	movq	%r12, %rdi
	callq	_atoi
	movl	%eax, %r12d
	jmp	LBB0_29
LBB0_25:
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	jmp	LBB0_29
LBB0_28:
	leaq	L_.str.5(%rip), %rdi
	callq	_libpq_gettext
	movq	%r12, %rdx
	xorl	%r12d, %r12d
	movl	%r14d, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_29:
	movl	%r14d, %edi
	movl	$10, %esi
	callq	_appendPQExpBufferChar
	movq	_PQERRORS_TERSE@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rax), %rcx
	je	LBB0_44
## %bb.30:
	testq	%r13, %r13
	je	LBB0_33
## %bb.31:
	testl	%r12d, %r12d
	jle	LBB0_33
## %bb.32:
	movl	24(%r15), %ecx
	movl	%r14d, %edi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_reportErrorPosition
LBB0_33:
	movq	_PG_DIAG_MESSAGE_DETAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	testq	%rax, %rax
	je	LBB0_35
## %bb.34:
	movq	%rax, %rbx
	leaq	L_.str.6(%rip), %rdi
	callq	_libpq_gettext
	movl	%r14d, %edi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_35:
	movq	_PG_DIAG_MESSAGE_HINT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	testq	%rax, %rax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_37
## %bb.36:
	movq	%rax, %rbx
	leaq	L_.str.7(%rip), %rdi
	callq	_libpq_gettext
	movl	%r14d, %edi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_37:
	movq	_PG_DIAG_INTERNAL_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	testq	%rax, %rax
	je	LBB0_39
## %bb.38:
	movq	%rax, %rbx
	leaq	L_.str.8(%rip), %rdi
	callq	_libpq_gettext
	movl	%r14d, %edi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_39:
	movq	_PQSHOW_CONTEXT_ALWAYS@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	je	LBB0_42
## %bb.40:
	movq	%r12, %rcx
	movq	_PQSHOW_CONTEXT_ERRORS@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_44
## %bb.41:
	movq	16(%r15), %rax
	movq	_PGRES_FATAL_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_44
LBB0_42:
	movq	_PG_DIAG_CONTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	testq	%rax, %rax
	je	LBB0_44
## %bb.43:
	movq	%rax, %rbx
	leaq	L_.str.9(%rip), %rdi
	callq	_libpq_gettext
	movl	%r14d, %edi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_44:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	_PQERRORS_VERBOSE@GOTPCREL(%rip), %r13
	cmpq	(%r13), %r12
	jne	LBB0_55
## %bb.45:
	movq	_PG_DIAG_SCHEMA_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	testq	%rax, %rax
	je	LBB0_47
## %bb.46:
	movq	%rax, %rbx
	leaq	L_.str.10(%rip), %rdi
	callq	_libpq_gettext
	movl	%r14d, %edi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_47:
	movq	_PG_DIAG_TABLE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	testq	%rax, %rax
	je	LBB0_49
## %bb.48:
	movq	%rax, %rbx
	leaq	L_.str.11(%rip), %rdi
	callq	_libpq_gettext
	movl	%r14d, %edi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_49:
	movq	_PG_DIAG_COLUMN_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	testq	%rax, %rax
	je	LBB0_51
## %bb.50:
	movq	%rax, %rbx
	leaq	L_.str.12(%rip), %rdi
	callq	_libpq_gettext
	movl	%r14d, %edi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_51:
	movq	_PG_DIAG_DATATYPE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	testq	%rax, %rax
	je	LBB0_53
## %bb.52:
	movq	%rax, %rbx
	leaq	L_.str.13(%rip), %rdi
	callq	_libpq_gettext
	movl	%r14d, %edi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_53:
	movq	_PG_DIAG_CONSTRAINT_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	testq	%rax, %rax
	je	LBB0_55
## %bb.54:
	movq	%rax, %rbx
	leaq	L_.str.14(%rip), %rdi
	callq	_libpq_gettext
	movl	%r14d, %edi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_55:
	cmpq	(%r13), %r12
	jne	LBB0_65
## %bb.56:
	movq	_PG_DIAG_SOURCE_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	movq	%rax, %r13
	movq	_PG_DIAG_SOURCE_LINE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	movq	%rax, %r12
	movq	_PG_DIAG_SOURCE_FUNCTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_PQresultErrorField
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_59
## %bb.57:
	testq	%r13, %r13
	jne	LBB0_59
## %bb.58:
	testq	%r12, %r12
	jne	LBB0_59
LBB0_65:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_59:
	leaq	L_.str.15(%rip), %rdi
	callq	_libpq_gettext
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_appendPQExpBufferStr
	testq	%rbx, %rbx
	je	LBB0_61
## %bb.60:
	leaq	L_.str.16(%rip), %rdi
	callq	_libpq_gettext
	movl	%r14d, %edi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_61:
	testq	%r13, %r13
	je	LBB0_64
## %bb.62:
	testq	%r12, %r12
	je	LBB0_64
## %bb.63:
	leaq	L_.str.17(%rip), %rdi
	callq	_libpq_gettext
	movl	%r14d, %edi
	movq	%rax, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_appendPQExpBuffer
LBB0_64:
	movl	%r14d, %edi
	movl	$10, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_appendPQExpBufferChar          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory\n"

L_.str.1:                               ## @.str.1
	.asciz	"no error message available\n"

	.comm	_PG_DIAG_SEVERITY,4,2           ## @PG_DIAG_SEVERITY
L_.str.2:                               ## @.str.2
	.asciz	"%s:  "

	.comm	_PQERRORS_SQLSTATE,8,3          ## @PQERRORS_SQLSTATE
	.comm	_PG_DIAG_SQLSTATE,4,2           ## @PG_DIAG_SQLSTATE
L_.str.3:                               ## @.str.3
	.asciz	"%s\n"

	.comm	_PQERRORS_TERSE,8,3             ## @PQERRORS_TERSE
	.comm	_PQERRORS_VERBOSE,8,3           ## @PQERRORS_VERBOSE
L_.str.4:                               ## @.str.4
	.asciz	"%s: "

	.comm	_PG_DIAG_MESSAGE_PRIMARY,4,2    ## @PG_DIAG_MESSAGE_PRIMARY
	.comm	_PG_DIAG_STATEMENT_POSITION,4,2 ## @PG_DIAG_STATEMENT_POSITION
L_.str.5:                               ## @.str.5
	.asciz	" at character %s"

	.comm	_PG_DIAG_INTERNAL_POSITION,4,2  ## @PG_DIAG_INTERNAL_POSITION
	.comm	_PG_DIAG_INTERNAL_QUERY,4,2     ## @PG_DIAG_INTERNAL_QUERY
	.comm	_PG_DIAG_MESSAGE_DETAIL,4,2     ## @PG_DIAG_MESSAGE_DETAIL
L_.str.6:                               ## @.str.6
	.asciz	"DETAIL:  %s\n"

	.comm	_PG_DIAG_MESSAGE_HINT,4,2       ## @PG_DIAG_MESSAGE_HINT
L_.str.7:                               ## @.str.7
	.asciz	"HINT:  %s\n"

L_.str.8:                               ## @.str.8
	.asciz	"QUERY:  %s\n"

	.comm	_PQSHOW_CONTEXT_ALWAYS,8,3      ## @PQSHOW_CONTEXT_ALWAYS
	.comm	_PQSHOW_CONTEXT_ERRORS,8,3      ## @PQSHOW_CONTEXT_ERRORS
	.comm	_PGRES_FATAL_ERROR,8,3          ## @PGRES_FATAL_ERROR
	.comm	_PG_DIAG_CONTEXT,4,2            ## @PG_DIAG_CONTEXT
L_.str.9:                               ## @.str.9
	.asciz	"CONTEXT:  %s\n"

	.comm	_PG_DIAG_SCHEMA_NAME,4,2        ## @PG_DIAG_SCHEMA_NAME
L_.str.10:                              ## @.str.10
	.asciz	"SCHEMA NAME:  %s\n"

	.comm	_PG_DIAG_TABLE_NAME,4,2         ## @PG_DIAG_TABLE_NAME
L_.str.11:                              ## @.str.11
	.asciz	"TABLE NAME:  %s\n"

	.comm	_PG_DIAG_COLUMN_NAME,4,2        ## @PG_DIAG_COLUMN_NAME
L_.str.12:                              ## @.str.12
	.asciz	"COLUMN NAME:  %s\n"

	.comm	_PG_DIAG_DATATYPE_NAME,4,2      ## @PG_DIAG_DATATYPE_NAME
L_.str.13:                              ## @.str.13
	.asciz	"DATATYPE NAME:  %s\n"

	.comm	_PG_DIAG_CONSTRAINT_NAME,4,2    ## @PG_DIAG_CONSTRAINT_NAME
L_.str.14:                              ## @.str.14
	.asciz	"CONSTRAINT NAME:  %s\n"

	.comm	_PG_DIAG_SOURCE_FILE,4,2        ## @PG_DIAG_SOURCE_FILE
	.comm	_PG_DIAG_SOURCE_LINE,4,2        ## @PG_DIAG_SOURCE_LINE
	.comm	_PG_DIAG_SOURCE_FUNCTION,4,2    ## @PG_DIAG_SOURCE_FUNCTION
L_.str.15:                              ## @.str.15
	.asciz	"LOCATION:  "

L_.str.16:                              ## @.str.16
	.asciz	"%s, "

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqBuildErrorMessage3           ; -- Begin function pqBuildErrorMessage3
	.p2align	2
_pqBuildErrorMessage3:                  ; @pqBuildErrorMessage3
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	cbz	x1, LBB0_7
; %bb.1:
	mov	x20, x1
	ldr	x8, [x1, #32]
	cbz	x8, LBB0_8
; %bb.2:
	mov	x22, x3
	mov	x21, x2
Lloh0:
	adrp	x8, _PG_DIAG_SEVERITY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PG_DIAG_SEVERITY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
	cbz	x0, LBB0_4
; %bb.3:
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str.2@PAGE
Lloh4:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_appendPQExpBuffer
LBB0_4:
Lloh5:
	adrp	x8, _PQERRORS_SQLSTATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PQERRORS_SQLSTATE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_14
; %bb.5:
Lloh8:
	adrp	x8, _PG_DIAG_SQLSTATE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PG_DIAG_SQLSTATE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
	cbz	x0, LBB0_13
; %bb.6:
	mov	x2, x0
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_appendPQExpBuffer
LBB0_7:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_11
LBB0_8:
	ldr	x1, [x20]
	cbz	x1, LBB0_10
; %bb.9:
	ldrb	w8, [x1]
	cbnz	w8, LBB0_12
LBB0_10:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_11:
	bl	_libpq_gettext
	mov	x1, x0
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_appendPQExpBufferStr
LBB0_13:
Lloh17:
	adrp	x8, _PQERRORS_TERSE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PQERRORS_TERSE@GOTPAGEOFF]
Lloh19:
	ldr	x21, [x8]
LBB0_14:
Lloh20:
	adrp	x25, _PQERRORS_VERBOSE@GOTPAGE
Lloh21:
	ldr	x25, [x25, _PQERRORS_VERBOSE@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x21, x8
	b.ne	LBB0_17
; %bb.15:
Lloh22:
	adrp	x8, _PG_DIAG_SQLSTATE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PG_DIAG_SQLSTATE@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
	cbz	x0, LBB0_17
; %bb.16:
	mov	x2, x0
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_appendPQExpBuffer
LBB0_17:
Lloh27:
	adrp	x8, _PG_DIAG_MESSAGE_PRIMARY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PG_DIAG_MESSAGE_PRIMARY@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
	cbz	x0, LBB0_19
; %bb.18:
	mov	x1, x0
	mov	x0, x19
	bl	_appendPQExpBufferStr
LBB0_19:
Lloh30:
	adrp	x8, _PG_DIAG_STATEMENT_POSITION@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PG_DIAG_STATEMENT_POSITION@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
Lloh33:
	adrp	x26, _PQERRORS_TERSE@GOTPAGE
Lloh34:
	ldr	x26, [x26, _PQERRORS_TERSE@GOTPAGEOFF]
	cbz	x0, LBB0_23
; %bb.20:
	mov	x24, x0
	ldr	x8, [x26]
	cmp	x21, x8
	b.eq	LBB0_22
; %bb.21:
	ldr	x23, [x20, #8]
	cbnz	x23, LBB0_26
LBB0_22:
Lloh35:
	adrp	x0, l_.str.5@PAGE
Lloh36:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	mov	x2, x24
	bl	_appendPQExpBuffer
	mov	x23, #0
	b	LBB0_29
LBB0_23:
Lloh37:
	adrp	x8, _PG_DIAG_INTERNAL_POSITION@GOTPAGE
Lloh38:
	ldr	x8, [x8, _PG_DIAG_INTERNAL_POSITION@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
	mov	x24, x0
	cbz	x0, LBB0_27
; %bb.24:
Lloh40:
	adrp	x8, _PG_DIAG_INTERNAL_QUERY@GOTPAGE
Lloh41:
	ldr	x8, [x8, _PG_DIAG_INTERNAL_QUERY@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
	mov	x23, x0
	ldr	x8, [x26]
	cmp	x21, x8
	b.eq	LBB0_28
; %bb.25:
	cbz	x23, LBB0_28
LBB0_26:
	mov	x0, x24
	bl	_atoi
	mov	x24, x0
	b	LBB0_30
LBB0_27:
	mov	x23, #0
	b	LBB0_30
LBB0_28:
Lloh43:
	adrp	x0, l_.str.5@PAGE
Lloh44:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	mov	x2, x24
	bl	_appendPQExpBuffer
LBB0_29:
	mov	w24, #0
LBB0_30:
	mov	x0, x19
	mov	w1, #10
	bl	_appendPQExpBufferChar
	ldr	x8, [x26]
	cmp	x21, x8
	b.eq	LBB0_45
; %bb.31:
	cbz	x23, LBB0_34
; %bb.32:
	cmp	w24, #1
	b.lt	LBB0_34
; %bb.33:
	ldr	w3, [x20, #24]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	bl	_reportErrorPosition
LBB0_34:
Lloh45:
	adrp	x8, _PG_DIAG_MESSAGE_DETAIL@GOTPAGE
Lloh46:
	ldr	x8, [x8, _PG_DIAG_MESSAGE_DETAIL@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
	cbz	x0, LBB0_36
; %bb.35:
	mov	x23, x0
Lloh48:
	adrp	x0, l_.str.6@PAGE
Lloh49:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	mov	x2, x23
	bl	_appendPQExpBuffer
LBB0_36:
Lloh50:
	adrp	x8, _PG_DIAG_MESSAGE_HINT@GOTPAGE
Lloh51:
	ldr	x8, [x8, _PG_DIAG_MESSAGE_HINT@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
	cbz	x0, LBB0_38
; %bb.37:
	mov	x23, x0
Lloh53:
	adrp	x0, l_.str.7@PAGE
Lloh54:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	mov	x2, x23
	bl	_appendPQExpBuffer
LBB0_38:
Lloh55:
	adrp	x8, _PG_DIAG_INTERNAL_QUERY@GOTPAGE
Lloh56:
	ldr	x8, [x8, _PG_DIAG_INTERNAL_QUERY@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
	cbz	x0, LBB0_40
; %bb.39:
	mov	x23, x0
Lloh58:
	adrp	x0, l_.str.8@PAGE
Lloh59:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	mov	x2, x23
	bl	_appendPQExpBuffer
LBB0_40:
Lloh60:
	adrp	x8, _PQSHOW_CONTEXT_ALWAYS@GOTPAGE
Lloh61:
	ldr	x8, [x8, _PQSHOW_CONTEXT_ALWAYS@GOTPAGEOFF]
Lloh62:
	ldr	x8, [x8]
	cmp	x8, x22
	b.eq	LBB0_43
; %bb.41:
Lloh63:
	adrp	x8, _PQSHOW_CONTEXT_ERRORS@GOTPAGE
Lloh64:
	ldr	x8, [x8, _PQSHOW_CONTEXT_ERRORS@GOTPAGEOFF]
Lloh65:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_45
; %bb.42:
	ldr	x8, [x20, #16]
Lloh66:
	adrp	x9, _PGRES_FATAL_ERROR@GOTPAGE
Lloh67:
	ldr	x9, [x9, _PGRES_FATAL_ERROR@GOTPAGEOFF]
Lloh68:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_45
LBB0_43:
Lloh69:
	adrp	x8, _PG_DIAG_CONTEXT@GOTPAGE
Lloh70:
	ldr	x8, [x8, _PG_DIAG_CONTEXT@GOTPAGEOFF]
Lloh71:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
	cbz	x0, LBB0_45
; %bb.44:
	mov	x22, x0
Lloh72:
	adrp	x0, l_.str.9@PAGE
Lloh73:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_appendPQExpBuffer
LBB0_45:
	ldr	x8, [x25]
	cmp	x21, x8
	b.ne	LBB0_56
; %bb.46:
Lloh74:
	adrp	x8, _PG_DIAG_SCHEMA_NAME@GOTPAGE
Lloh75:
	ldr	x8, [x8, _PG_DIAG_SCHEMA_NAME@GOTPAGEOFF]
Lloh76:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
	cbz	x0, LBB0_48
; %bb.47:
	mov	x22, x0
Lloh77:
	adrp	x0, l_.str.10@PAGE
Lloh78:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_appendPQExpBuffer
LBB0_48:
Lloh79:
	adrp	x8, _PG_DIAG_TABLE_NAME@GOTPAGE
Lloh80:
	ldr	x8, [x8, _PG_DIAG_TABLE_NAME@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
	cbz	x0, LBB0_50
; %bb.49:
	mov	x22, x0
Lloh82:
	adrp	x0, l_.str.11@PAGE
Lloh83:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_appendPQExpBuffer
LBB0_50:
Lloh84:
	adrp	x8, _PG_DIAG_COLUMN_NAME@GOTPAGE
Lloh85:
	ldr	x8, [x8, _PG_DIAG_COLUMN_NAME@GOTPAGEOFF]
Lloh86:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
	cbz	x0, LBB0_52
; %bb.51:
	mov	x22, x0
Lloh87:
	adrp	x0, l_.str.12@PAGE
Lloh88:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_appendPQExpBuffer
LBB0_52:
Lloh89:
	adrp	x8, _PG_DIAG_DATATYPE_NAME@GOTPAGE
Lloh90:
	ldr	x8, [x8, _PG_DIAG_DATATYPE_NAME@GOTPAGEOFF]
Lloh91:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
	cbz	x0, LBB0_54
; %bb.53:
	mov	x22, x0
Lloh92:
	adrp	x0, l_.str.13@PAGE
Lloh93:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_appendPQExpBuffer
LBB0_54:
Lloh94:
	adrp	x8, _PG_DIAG_CONSTRAINT_NAME@GOTPAGE
Lloh95:
	ldr	x8, [x8, _PG_DIAG_CONSTRAINT_NAME@GOTPAGEOFF]
Lloh96:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
	cbz	x0, LBB0_56
; %bb.55:
	mov	x22, x0
Lloh97:
	adrp	x0, l_.str.14@PAGE
Lloh98:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_appendPQExpBuffer
LBB0_56:
	ldr	x8, [x25]
	cmp	x21, x8
	b.ne	LBB0_60
; %bb.57:
Lloh99:
	adrp	x8, _PG_DIAG_SOURCE_FILE@GOTPAGE
Lloh100:
	ldr	x8, [x8, _PG_DIAG_SOURCE_FILE@GOTPAGEOFF]
Lloh101:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
	mov	x21, x0
Lloh102:
	adrp	x8, _PG_DIAG_SOURCE_LINE@GOTPAGE
Lloh103:
	ldr	x8, [x8, _PG_DIAG_SOURCE_LINE@GOTPAGEOFF]
Lloh104:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
	mov	x22, x0
Lloh105:
	adrp	x8, _PG_DIAG_SOURCE_FUNCTION@GOTPAGE
Lloh106:
	ldr	x8, [x8, _PG_DIAG_SOURCE_FUNCTION@GOTPAGEOFF]
Lloh107:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PQresultErrorField
	mov	x20, x0
	cbnz	x0, LBB0_61
; %bb.58:
	cbnz	x21, LBB0_61
; %bb.59:
	cbnz	x22, LBB0_61
LBB0_60:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_61:
Lloh108:
	adrp	x0, l_.str.15@PAGE
Lloh109:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	bl	_appendPQExpBufferStr
	cbz	x20, LBB0_63
; %bb.62:
Lloh110:
	adrp	x0, l_.str.16@PAGE
Lloh111:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_appendPQExpBuffer
LBB0_63:
	cbz	x21, LBB0_66
; %bb.64:
	cbz	x22, LBB0_66
; %bb.65:
Lloh112:
	adrp	x0, l_.str.17@PAGE
Lloh113:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	str	x22, [sp]
	mov	x0, x19
	mov	x2, x21
	bl	_appendPQExpBuffer
LBB0_66:
	mov	x0, x19
	mov	w1, #10
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_appendPQExpBufferChar
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpAdd	Lloh108, Lloh109
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpAdd	Lloh112, Lloh113
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory\n"

l_.str.1:                               ; @.str.1
	.asciz	"no error message available\n"

	.comm	_PG_DIAG_SEVERITY,4,2           ; @PG_DIAG_SEVERITY
l_.str.2:                               ; @.str.2
	.asciz	"%s:  "

	.comm	_PQERRORS_SQLSTATE,8,3          ; @PQERRORS_SQLSTATE
	.comm	_PG_DIAG_SQLSTATE,4,2           ; @PG_DIAG_SQLSTATE
l_.str.3:                               ; @.str.3
	.asciz	"%s\n"

	.comm	_PQERRORS_TERSE,8,3             ; @PQERRORS_TERSE
	.comm	_PQERRORS_VERBOSE,8,3           ; @PQERRORS_VERBOSE
l_.str.4:                               ; @.str.4
	.asciz	"%s: "

	.comm	_PG_DIAG_MESSAGE_PRIMARY,4,2    ; @PG_DIAG_MESSAGE_PRIMARY
	.comm	_PG_DIAG_STATEMENT_POSITION,4,2 ; @PG_DIAG_STATEMENT_POSITION
l_.str.5:                               ; @.str.5
	.asciz	" at character %s"

	.comm	_PG_DIAG_INTERNAL_POSITION,4,2  ; @PG_DIAG_INTERNAL_POSITION
	.comm	_PG_DIAG_INTERNAL_QUERY,4,2     ; @PG_DIAG_INTERNAL_QUERY
	.comm	_PG_DIAG_MESSAGE_DETAIL,4,2     ; @PG_DIAG_MESSAGE_DETAIL
l_.str.6:                               ; @.str.6
	.asciz	"DETAIL:  %s\n"

	.comm	_PG_DIAG_MESSAGE_HINT,4,2       ; @PG_DIAG_MESSAGE_HINT
l_.str.7:                               ; @.str.7
	.asciz	"HINT:  %s\n"

l_.str.8:                               ; @.str.8
	.asciz	"QUERY:  %s\n"

	.comm	_PQSHOW_CONTEXT_ALWAYS,8,3      ; @PQSHOW_CONTEXT_ALWAYS
	.comm	_PQSHOW_CONTEXT_ERRORS,8,3      ; @PQSHOW_CONTEXT_ERRORS
	.comm	_PGRES_FATAL_ERROR,8,3          ; @PGRES_FATAL_ERROR
	.comm	_PG_DIAG_CONTEXT,4,2            ; @PG_DIAG_CONTEXT
l_.str.9:                               ; @.str.9
	.asciz	"CONTEXT:  %s\n"

	.comm	_PG_DIAG_SCHEMA_NAME,4,2        ; @PG_DIAG_SCHEMA_NAME
l_.str.10:                              ; @.str.10
	.asciz	"SCHEMA NAME:  %s\n"

	.comm	_PG_DIAG_TABLE_NAME,4,2         ; @PG_DIAG_TABLE_NAME
l_.str.11:                              ; @.str.11
	.asciz	"TABLE NAME:  %s\n"

	.comm	_PG_DIAG_COLUMN_NAME,4,2        ; @PG_DIAG_COLUMN_NAME
l_.str.12:                              ; @.str.12
	.asciz	"COLUMN NAME:  %s\n"

	.comm	_PG_DIAG_DATATYPE_NAME,4,2      ; @PG_DIAG_DATATYPE_NAME
l_.str.13:                              ; @.str.13
	.asciz	"DATATYPE NAME:  %s\n"

	.comm	_PG_DIAG_CONSTRAINT_NAME,4,2    ; @PG_DIAG_CONSTRAINT_NAME
l_.str.14:                              ; @.str.14
	.asciz	"CONSTRAINT NAME:  %s\n"

	.comm	_PG_DIAG_SOURCE_FILE,4,2        ; @PG_DIAG_SOURCE_FILE
	.comm	_PG_DIAG_SOURCE_LINE,4,2        ; @PG_DIAG_SOURCE_LINE
	.comm	_PG_DIAG_SOURCE_FUNCTION,4,2    ; @PG_DIAG_SOURCE_FUNCTION
l_.str.15:                              ; @.str.15
	.asciz	"LOCATION:  "

l_.str.16:                              ; @.str.16
	.asciz	"%s, "

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

.subsections_via_symbols
