	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ExecPrepareTuplestoreResult
_ExecPrepareTuplestoreResult:           ## @ExecPrepareTuplestoreResult
	.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	%rcx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdx, 32(%rdi)
	cmpq	$0, 16(%rdi)
	jne	LBB0_6
## %bb.1:
	movl	24(%rbx), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r12d
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_5
## %bb.2:
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_CreateTupleDescCopy
	movq	%rax, %rdi
	jmp	LBB0_5
LBB0_4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_ereport
	xorl	%edi, %edi
LBB0_5:
	movq	_TTSOpsMinimalTuple@GOTPCREL(%rip), %rsi
	callq	_MakeSingleTupleTableSlot
	movq	%rax, 16(%rbx)
	movl	%r12d, %edi
	callq	_MemoryContextSwitchTo
LBB0_6:
	testq	%r15, %r15
	je	LBB0_11
## %bb.7:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	movq	%r15, %rsi
	callq	_tupledesc_match
LBB0_9:
	cmpl	$-1, (%r15)
	je	LBB0_10
LBB0_11:
	cmpl	$0, (%rbx)
	jne	LBB0_13
LBB0_12:
	movq	_ShutdownSetExpr@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_PointerGetDatum
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_RegisterExprContextCallback
	movl	$1, (%rbx)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r15, %rdi
	callq	_FreeTupleDesc
	cmpl	$0, (%rbx)
	jne	LBB0_13
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ## @ERRCODE_FEATURE_NOT_SUPPORTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"function returning setof record called in context that cannot accept type record"

	.comm	_TTSOpsMinimalTuple,4,2         ## @TTSOpsMinimalTuple
	.comm	_ShutdownSetExpr,4,2            ## @ShutdownSetExpr
	.no_dead_strip	_ExecPrepareTuplestoreResult
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ExecPrepareTuplestoreResult
_ExecPrepareTuplestoreResult:           ; @ExecPrepareTuplestoreResult
	.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	x21, x3
	mov	x20, x1
	mov	x19, x0
	str	x2, [x0, #32]
	ldr	x8, [x0, #16]
	cbnz	x8, LBB0_6
; %bb.1:
	ldr	w0, [x19, #24]
	bl	_MemoryContextSwitchTo
	mov	x22, x0
	ldr	x0, [x19, #8]
	cbnz	x0, LBB0_5
; %bb.2:
	cbz	x21, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_CreateTupleDescCopy
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_errcode
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
	mov	x0, #0
LBB0_5:
Lloh8:
	adrp	x1, _TTSOpsMinimalTuple@GOTPAGE
Lloh9:
	ldr	x1, [x1, _TTSOpsMinimalTuple@GOTPAGEOFF]
	bl	_MakeSingleTupleTableSlot
	str	x0, [x19, #16]
	mov	x0, x22
	bl	_MemoryContextSwitchTo
LBB0_6:
	cbz	x21, LBB0_10
; %bb.7:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_9
; %bb.8:
	mov	x1, x21
	bl	_tupledesc_match
LBB0_9:
	ldr	w8, [x21]
	cmn	w8, #1
	b.eq	LBB0_13
LBB0_10:
	ldr	w8, [x19]
	cbnz	w8, LBB0_12
LBB0_11:
Lloh10:
	adrp	x8, _ShutdownSetExpr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ShutdownSetExpr@GOTPAGEOFF]
Lloh12:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_PointerGetDatum
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_RegisterExprContextCallback
	mov	w8, #1
	str	w8, [x19]
LBB0_12:
	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
LBB0_13:
	mov	x0, x21
	bl	_FreeTupleDesc
	ldr	w8, [x19]
	cbnz	w8, LBB0_12
	b	LBB0_11
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ; @ERRCODE_FEATURE_NOT_SUPPORTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"function returning setof record called in context that cannot accept type record"

	.comm	_TTSOpsMinimalTuple,4,2         ; @TTSOpsMinimalTuple
	.comm	_ShutdownSetExpr,4,2            ; @ShutdownSetExpr
	.no_dead_strip	_ExecPrepareTuplestoreResult
.subsections_via_symbols
