	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tfuncFetchRows
_tfuncFetchRows:                        ## @tfuncFetchRows
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	40(%rdi), %r12
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	sete	%dil
	callq	_Assert
	movl	(%r15), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r14d
	movq	_work_mem@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_tuplestore_begin_heap
	movl	%eax, 32(%rbx)
	movl	4(%rbx), %edi
	callq	_MemoryContextSwitchTo
	xorl	%eax, %eax
	callq	_PG_TRY
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*8(%r12)
	movl	16(%rbx), %edi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rsi
	callq	_ExecEvalExpr
	cmpl	$0, -36(%rbp)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_tfuncInitialize
	movl	$1, (%rbx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_tfuncLoadRows
LBB0_2:
	xorl	%eax, %eax
	callq	_PG_CATCH
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	*(%r12)
LBB0_4:
	xorl	%eax, %eax
	callq	_PG_RE_THROW
	xorl	%eax, %eax
	callq	_PG_END_TRY
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	*(%r12)
	movq	$0, 8(%rbx)
LBB0_6:
	movl	%r14d, %edi
	callq	_MemoryContextSwitchTo
	movl	4(%rbx), %edi
	callq	_MemoryContextReset
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_work_mem,4,2                   ## @work_mem
	.no_dead_strip	_tfuncFetchRows
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tfuncFetchRows
_tfuncFetchRows:                        ; @tfuncFetchRows
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x22, [x0, #40]
	ldr	x8, [x0, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	ldr	w0, [x21]
	bl	_MemoryContextSwitchTo
	mov	x20, x0
Lloh0:
	adrp	x8, _work_mem@GOTPAGE
Lloh1:
	ldr	x8, [x8, _work_mem@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w0, #0
	mov	w1, #0
	bl	_tuplestore_begin_heap
	str	w0, [x19, #32]
	ldr	w0, [x19, #4]
	bl	_MemoryContextSwitchTo
	bl	_PG_TRY
	ldr	x8, [x22, #8]
	ldr	x9, [x19, #24]
	ldr	x9, [x9]
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
	ldr	w0, [x19, #16]
	add	x2, sp, #12
	mov	x1, x21
	bl	_ExecEvalExpr
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_tfuncInitialize
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x19
	mov	x1, x21
	bl	_tfuncLoadRows
LBB0_2:
	bl	_PG_CATCH
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x22]
	mov	x0, x19
	blr	x8
LBB0_4:
	bl	_PG_RE_THROW
	bl	_PG_END_TRY
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	x8, [x22]
	mov	x0, x19
	blr	x8
	str	xzr, [x19, #8]
LBB0_6:
	mov	x0, x20
	bl	_MemoryContextSwitchTo
	ldr	w0, [x19, #4]
	bl	_MemoryContextReset
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_work_mem,4,2                   ; @work_mem
	.no_dead_strip	_tfuncFetchRows
.subsections_via_symbols
