	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function StoreQueryTuple
_StoreQueryTuple:                       ## @StoreQueryTuple
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_PQntuples
	testl	%eax, %eax
	jle	LBB0_1
## %bb.4:
	movq	%r15, %rdi
	callq	_PQntuples
	cmpl	$1, %eax
	jle	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rdi
LBB0_2:
	callq	_pg_log_error
LBB0_3:
	xorl	%ecx, %ecx
LBB0_14:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r15, %rdi
	callq	_PQnfields
	movl	$1, %ecx
	testl	%eax, %eax
	jle	LBB0_14
## %bb.7:
	xorl	%ebx, %ebx
	movq	_pset@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_PQfname
	movl	4(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rdx
	callq	_psprintf
	movq	%rax, %r13
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_PQgetisnull
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_PQgetvalue
	movq	%rax, %rdx
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r14), %edi
	movq	%r13, %rsi
	callq	_SetVariable
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_free
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	incl	%ebx
	movq	%r15, %rdi
	callq	_PQnfields
	cmpl	%eax, %ebx
	jl	LBB0_8
## %bb.13:
	movl	$1, %ecx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no rows returned for \\gset"

L_.str.1:                               ## @.str.1
	.asciz	"more than one row returned for \\gset"

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

	.comm	_pset,8,2                       ## @pset
	.no_dead_strip	_StoreQueryTuple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function StoreQueryTuple
_StoreQueryTuple:                       ; @StoreQueryTuple
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	bl	_PQntuples
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_PQntuples
	cmp	w0, #1
	b.le	LBB0_6
; %bb.2:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
LBB0_4:
	bl	_pg_log_error
LBB0_5:
	mov	w0, #0
	b	LBB0_14
LBB0_6:
	mov	x0, x19
	bl	_PQnfields
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.7:
	mov	w20, #0
Lloh4:
	adrp	x24, _pset@GOTPAGE
Lloh5:
	ldr	x24, [x24, _pset@GOTPAGEOFF]
Lloh6:
	adrp	x21, l_.str.2@PAGE
Lloh7:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_PQfname
	mov	x2, x0
	ldr	w1, [x24, #4]
	mov	x0, x21
	bl	_psprintf
	mov	x22, x0
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_PQgetisnull
	cbz	w0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x2, #0
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_PQgetvalue
	mov	x2, x0
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x24]
	mov	x1, x22
	bl	_SetVariable
	mov	x23, x0
	mov	x0, x22
	bl	_free
	cbz	w23, LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w20, w20, #1
	mov	x0, x19
	bl	_PQnfields
	cmp	w20, w0
	b.lt	LBB0_8
LBB0_13:
	mov	w0, #1
LBB0_14:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no rows returned for \\gset"

l_.str.1:                               ; @.str.1
	.asciz	"more than one row returned for \\gset"

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

	.comm	_pset,8,2                       ; @pset
	.no_dead_strip	_StoreQueryTuple
.subsections_via_symbols
