	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_processQueryResult             ## -- Begin function processQueryResult
	.p2align	4, 0x90
_processQueryResult:                    ## @processQueryResult
	.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	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_PQresultStatus
	movq	_PGRES_COMMAND_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	_PG_DIAG_SQLSTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_PQresultErrorField
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_PQdb
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_PQerrorMessage
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pg_log_error
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	movq	_ERRCODE_UNDEFINED_TABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_strcmp
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_4
LBB0_3:
	movl	$1, %ebx
LBB0_4:
	movq	%r12, %rdi
	callq	_PQclear
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PGRES_COMMAND_OK,8,3           ## @PGRES_COMMAND_OK
	.comm	_PG_DIAG_SQLSTATE,4,2           ## @PG_DIAG_SQLSTATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"processing of database \"%s\" failed: %s"

	.comm	_ERRCODE_UNDEFINED_TABLE,4,2    ## @ERRCODE_UNDEFINED_TABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_processQueryResult             ; -- Begin function processQueryResult
	.p2align	2
_processQueryResult:                    ; @processQueryResult
	.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	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_PQresultStatus
Lloh0:
	adrp	x8, _PGRES_COMMAND_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PGRES_COMMAND_OK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _PG_DIAG_SQLSTATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PG_DIAG_SQLSTATE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_PQresultErrorField
	mov	x21, x0
	mov	x0, x20
	bl	_PQdb
	mov	x22, x0
	mov	x0, x20
	bl	_PQerrorMessage
	mov	x2, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_pg_log_error
	cbz	x21, LBB0_4
; %bb.2:
Lloh8:
	adrp	x8, _ERRCODE_UNDEFINED_TABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_TABLE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.3:
	mov	w20, #0
	b	LBB0_5
LBB0_4:
	mov	w20, #1
LBB0_5:
	mov	x0, x19
	bl	_PQclear
	mov	x0, x20
	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	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PGRES_COMMAND_OK,8,3           ; @PGRES_COMMAND_OK
	.comm	_PG_DIAG_SQLSTATE,4,2           ; @PG_DIAG_SQLSTATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"processing of database \"%s\" failed: %s"

	.comm	_ERRCODE_UNDEFINED_TABLE,4,2    ; @ERRCODE_UNDEFINED_TABLE
.subsections_via_symbols
