	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PQresultVerboseErrorMessage    ## -- Begin function PQresultVerboseErrorMessage
	.p2align	4, 0x90
_PQresultVerboseErrorMessage:           ## @PQresultVerboseErrorMessage
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_PGRES_FATAL_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_PGRES_NONFATAL_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
LBB0_7:
	leaq	L_.str(%rip), %rdi
	callq	_libpq_gettext
	movl	%eax, %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strdup                         ## TAILCALL
LBB0_3:
	leaq	-40(%rbp), %r12
	movq	%r12, %rdi
	callq	_initPQExpBuffer
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_pqBuildErrorMessage3
	movq	-40(%rbp), %rdi
	callq	_PQExpBufferDataBroken
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rdi
	callq	_termPQExpBuffer
	leaq	L_.str.1(%rip), %rdi
	callq	_libpq_gettext
	movl	%eax, %edi
	callq	_strdup
	jmp	LBB0_6
LBB0_5:
	movq	-40(%rbp), %rax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PGRES_FATAL_ERROR,8,3          ## @PGRES_FATAL_ERROR
	.comm	_PGRES_NONFATAL_ERROR,8,3       ## @PGRES_NONFATAL_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PGresult is not an error result\n"

L_.str.1:                               ## @.str.1
	.asciz	"out of memory\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PQresultVerboseErrorMessage    ; -- Begin function PQresultVerboseErrorMessage
	.p2align	2
_PQresultVerboseErrorMessage:           ; @PQresultVerboseErrorMessage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PGRES_FATAL_ERROR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PGRES_FATAL_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _PGRES_NONFATAL_ERROR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PGRES_NONFATAL_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
; %bb.2:
	mov	x19, x2
	mov	x20, x1
	add	x0, sp, #8
	bl	_initPQExpBuffer
	add	x0, sp, #8
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_pqBuildErrorMessage3
	ldr	x0, [sp, #8]
	bl	_PQExpBufferDataBroken
	cbz	x0, LBB0_5
; %bb.3:
	add	x0, sp, #8
	bl	_termPQExpBuffer
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_libpq_gettext
	bl	_strdup
	b	LBB0_6
LBB0_4:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_libpq_gettext
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_strdup
LBB0_5:
	ldr	x0, [sp, #8]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PGRES_FATAL_ERROR,8,3          ; @PGRES_FATAL_ERROR
	.comm	_PGRES_NONFATAL_ERROR,8,3       ; @PGRES_NONFATAL_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PGresult is not an error result\n"

l_.str.1:                               ; @.str.1
	.asciz	"out of memory\n"

.subsections_via_symbols
