	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_firstcall
_setup_firstcall:                       ## @setup_firstcall
	.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	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	movl	16(%rdi), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_VARSIZE
	movl	%eax, %edi
	callq	_palloc
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_VARSIZE
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movq	%rbx, 8(%r12)
	testq	%r15, %r15
	je	LBB0_4
## %bb.1:
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_get_call_result_type
	movq	_TYPEFUNC_COMPOSITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_3:
	movl	-44(%rbp), %edi
	callq	_BlessTupleDesc
	movl	%eax, (%r12)
LBB0_4:
	movl	%r14d, %edi
	callq	_MemoryContextSwitchTo
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPEFUNC_COMPOSITE,8,3         ## @TYPEFUNC_COMPOSITE
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"return type must be a row type"

	.no_dead_strip	_setup_firstcall
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_firstcall
_setup_firstcall:                       ; @setup_firstcall
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_MemoryContextSwitchTo
	mov	x20, x0
	mov	x0, x22
	bl	_VARSIZE
	bl	_palloc
	mov	x23, x0
	mov	x0, x22
	bl	_VARSIZE
	mov	x2, x0
	mov	x0, x23
	mov	x1, x22
	bl	_memcpy
	str	x23, [x19, #8]
	cbz	x21, LBB0_4
; %bb.1:
	add	x2, sp, #12
	mov	x0, x21
	mov	x1, #0
	bl	_get_call_result_type
Lloh0:
	adrp	x8, _TYPEFUNC_COMPOSITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPEFUNC_COMPOSITE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_3:
	ldr	w0, [sp, #12]
	bl	_BlessTupleDesc
	str	w0, [x19]
LBB0_4:
	mov	x0, x20
	bl	_MemoryContextSwitchTo
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPEFUNC_COMPOSITE,8,3         ; @TYPEFUNC_COMPOSITE
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"return type must be a row type"

	.no_dead_strip	_setup_firstcall
.subsections_via_symbols
