	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spi_dest_startup               ## -- Begin function spi_dest_startup
	.p2align	4, 0x90
_spi_dest_startup:                      ## @spi_dest_startup
	.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
	movl	%edx, %r14d
	movq	__SPI_current@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	cmpq	$0, 8(%rax)
	je	LBB0_4
LBB0_3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
LBB0_4:
	xorl	%eax, %eax
	callq	__SPI_procmem
	movl	%eax, %r15d
	movq	_CurrentMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ALLOCSET_DEFAULT_SIZES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	callq	_AllocSetContextCreate
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_MemoryContextSwitchTo
	movl	$40, %edi
	callq	_palloc0
	movq	%rax, %rbx
	movq	(%r13), %rax
	movq	%rbx, 8(%rax)
	movl	%r12d, 32(%rbx)
	xorl	%eax, %eax
	callq	_GetCurrentSubTransactionId
	movl	%eax, 28(%rbx)
	movq	(%r13), %rdi
	leaq	24(%rbx), %rsi
	callq	_slist_push_head
	movl	$128, (%rbx)
	movl	$512, %edi                      ## imm = 0x200
	callq	_palloc
	movq	%rax, 16(%rbx)
	movq	$0, 8(%rbx)
	movl	%r14d, %edi
	callq	_CreateTupleDescCopy
	movl	%eax, 4(%rbx)
	movl	%r15d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MemoryContextSwitchTo          ## TAILCALL
LBB0_1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	movq	(%r13), %rax
	cmpq	$0, 8(%rax)
	jne	LBB0_3
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	__SPI_current,8,3               ## @_SPI_current
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"spi_dest_startup called while not connected to SPI"

L_.str.1:                               ## @.str.1
	.asciz	"improper call to spi_dest_startup"

	.comm	_CurrentMemoryContext,4,2       ## @CurrentMemoryContext
L_.str.2:                               ## @.str.2
	.asciz	"SPI TupTable"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ## @ALLOCSET_DEFAULT_SIZES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spi_dest_startup               ; -- Begin function spi_dest_startup
	.p2align	2
_spi_dest_startup:                      ; @spi_dest_startup
	.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, x2
Lloh0:
	adrp	x23, __SPI_current@GOTPAGE
Lloh1:
	ldr	x23, [x23, __SPI_current@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh2:
	adrp	x20, _ERROR@GOTPAGE
Lloh3:
	ldr	x20, [x20, _ERROR@GOTPAGEOFF]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_3
LBB0_2:
	ldr	w0, [x20]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_3:
	bl	__SPI_procmem
	mov	x20, x0
Lloh6:
	adrp	x8, _CurrentMemoryContext@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CurrentMemoryContext@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_AllocSetContextCreate
	mov	x21, x0
	bl	_MemoryContextSwitchTo
	mov	w0, #40
	bl	_palloc0
	mov	x22, x0
	ldr	x8, [x23]
	str	x0, [x8, #8]
	str	w21, [x0, #32]
	bl	_GetCurrentSubTransactionId
	str	w0, [x22, #28]
	ldr	x0, [x23]
	add	x1, x22, #24
	bl	_slist_push_head
	mov	w8, #128
	str	w8, [x22]
	mov	w0, #512
	bl	_palloc
	stp	xzr, x0, [x22, #8]
	mov	x0, x19
	bl	_CreateTupleDescCopy
	str	w0, [x22, #4]
	mov	x0, x20
	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
	b	_MemoryContextSwitchTo
LBB0_4:
	ldr	w0, [x20]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	__SPI_current,8,3               ; @_SPI_current
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"spi_dest_startup called while not connected to SPI"

l_.str.1:                               ; @.str.1
	.asciz	"improper call to spi_dest_startup"

	.comm	_CurrentMemoryContext,4,2       ; @CurrentMemoryContext
l_.str.2:                               ; @.str.2
	.asciz	"SPI TupTable"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ; @ALLOCSET_DEFAULT_SIZES
.subsections_via_symbols
