	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SetResultVariables
_SetResultVariables:                    ## @SetResultVariables
	.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	%rdi, %rbx
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_PQcmdTuples
	movq	%rax, %rbx
	movq	_pset@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	callq	_SetVariable
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	callq	_SetVariable
	movl	(%r14), %edi
	cmpb	$0, (%rbx)
	leaq	L_.str.5(%rip), %rdx
	cmovneq	%rbx, %rdx
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	movq	_PG_DIAG_SQLSTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_PQresultErrorField
	movq	%rax, %r15
	movq	_PG_DIAG_MESSAGE_PRIMARY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_PQresultErrorField
	movq	%rax, %r14
	movq	_pset@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.6(%rip), %rdx
	callq	_SetVariable
	testq	%r15, %r15
	leaq	L_.str.7(%rip), %r12
	cmoveq	%r12, %r15
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdx
	callq	_SetVariable
	movl	(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	leaq	L_.str.5(%rip), %rdx
	callq	_SetVariable
	movl	(%rbx), %edi
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdx
	callq	_SetVariable
	movl	(%rbx), %edi
	testq	%r14, %r14
	cmoveq	%r12, %r14
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdx
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SetVariable                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pset,4,2                       ## @pset
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR"

L_.str.1:                               ## @.str.1
	.asciz	"false"

L_.str.2:                               ## @.str.2
	.asciz	"SQLSTATE"

L_.str.3:                               ## @.str.3
	.asciz	"00000"

L_.str.4:                               ## @.str.4
	.asciz	"ROW_COUNT"

L_.str.5:                               ## @.str.5
	.asciz	"0"

	.comm	_PG_DIAG_SQLSTATE,4,2           ## @PG_DIAG_SQLSTATE
	.comm	_PG_DIAG_MESSAGE_PRIMARY,4,2    ## @PG_DIAG_MESSAGE_PRIMARY
L_.str.6:                               ## @.str.6
	.asciz	"true"

L_.str.7:                               ## @.str.7
	.space	1

L_.str.8:                               ## @.str.8
	.asciz	"LAST_ERROR_SQLSTATE"

L_.str.9:                               ## @.str.9
	.asciz	"LAST_ERROR_MESSAGE"

	.no_dead_strip	_SetResultVariables
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SetResultVariables
_SetResultVariables:                    ; @SetResultVariables
	.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, x0
	cbz	w1, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_PQcmdTuples
	mov	x19, x0
Lloh0:
	adrp	x20, _pset@GOTPAGE
Lloh1:
	ldr	x20, [x20, _pset@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_SetVariable
	ldr	w0, [x20]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh8:
	adrp	x2, l_.str.3@PAGE
Lloh9:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_SetVariable
	ldr	w0, [x20]
	ldrb	w8, [x19]
Lloh10:
	adrp	x9, l_.str.5@PAGE
Lloh11:
	add	x9, x9, l_.str.5@PAGEOFF
	cmp	w8, #0
	csel	x2, x9, x19, eq
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_3
LBB0_2:
Lloh14:
	adrp	x8, _PG_DIAG_SQLSTATE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PG_DIAG_SQLSTATE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_PQresultErrorField
	mov	x20, x0
Lloh17:
	adrp	x8, _PG_DIAG_MESSAGE_PRIMARY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PG_DIAG_MESSAGE_PRIMARY@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_PQresultErrorField
	mov	x19, x0
Lloh20:
	adrp	x21, _pset@GOTPAGE
Lloh21:
	ldr	x21, [x21, _pset@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
Lloh24:
	adrp	x2, l_.str.6@PAGE
Lloh25:
	add	x2, x2, l_.str.6@PAGEOFF
	bl	_SetVariable
Lloh26:
	adrp	x22, l_.str.7@PAGE
Lloh27:
	add	x22, x22, l_.str.7@PAGEOFF
	cmp	x20, #0
	csel	x20, x22, x20, eq
	ldr	w0, [x21]
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_SetVariable
	ldr	w0, [x21]
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
Lloh32:
	adrp	x2, l_.str.5@PAGE
Lloh33:
	add	x2, x2, l_.str.5@PAGEOFF
	bl	_SetVariable
	ldr	w0, [x21]
Lloh34:
	adrp	x1, l_.str.8@PAGE
Lloh35:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x20
	bl	_SetVariable
	ldr	w0, [x21]
	cmp	x19, #0
	csel	x2, x22, x19, eq
Lloh36:
	adrp	x1, l_.str.9@PAGE
Lloh37:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_3:
	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
	b	_SetVariable
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_pset,4,2                       ; @pset
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR"

l_.str.1:                               ; @.str.1
	.asciz	"false"

l_.str.2:                               ; @.str.2
	.asciz	"SQLSTATE"

l_.str.3:                               ; @.str.3
	.asciz	"00000"

l_.str.4:                               ; @.str.4
	.asciz	"ROW_COUNT"

l_.str.5:                               ; @.str.5
	.asciz	"0"

	.comm	_PG_DIAG_SQLSTATE,4,2           ; @PG_DIAG_SQLSTATE
	.comm	_PG_DIAG_MESSAGE_PRIMARY,4,2    ; @PG_DIAG_MESSAGE_PRIMARY
l_.str.6:                               ; @.str.6
	.asciz	"true"

l_.str.7:                               ; @.str.7
	.space	1

l_.str.8:                               ; @.str.8
	.asciz	"LAST_ERROR_SQLSTATE"

l_.str.9:                               ; @.str.9
	.asciz	"LAST_ERROR_MESSAGE"

	.no_dead_strip	_SetResultVariables
.subsections_via_symbols
