	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PortalCreateHoldStore          ## -- Begin function PortalCreateHoldStore
	.p2align	4, 0x90
_PortalCreateHoldStore:                 ## @PortalCreateHoldStore
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpq	$0, 16(%rbx)
	sete	%dil
	callq	_Assert
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	sete	%dil
	callq	_Assert
	xorl	%edi, %edi
	cmpq	$0, 24(%rbx)
	sete	%dil
	callq	_Assert
	movq	_TopPortalContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ALLOCSET_DEFAULT_SIZES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_AllocSetContextCreate
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_MemoryContextSwitchTo
	movq	%rax, %r14
	movq	_CURSOR_OPT_SCROLL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%rbx), %edi
	movq	_work_mem@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %esi
	callq	_tuplestore_begin_heap
	movq	%rax, 8(%rbx)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_MemoryContextSwitchTo          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TopPortalContext,4,2           ## @TopPortalContext
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PortalHoldContext"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ## @ALLOCSET_DEFAULT_SIZES
	.comm	_CURSOR_OPT_SCROLL,4,2          ## @CURSOR_OPT_SCROLL
	.comm	_work_mem,4,2                   ## @work_mem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PortalCreateHoldStore          ; -- Begin function PortalCreateHoldStore
	.p2align	2
_PortalCreateHoldStore:                 ; @PortalCreateHoldStore
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #16]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x19, #24]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
Lloh0:
	adrp	x8, _TopPortalContext@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TopPortalContext@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_AllocSetContextCreate
	str	x0, [x19, #16]
	bl	_MemoryContextSwitchTo
	mov	x20, x0
Lloh8:
	adrp	x8, _CURSOR_OPT_SCROLL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CURSOR_OPT_SCROLL@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh10:
	ldr	w8, [x8]
	and	w0, w8, w9
Lloh11:
	adrp	x8, _work_mem@GOTPAGE
Lloh12:
	ldr	x8, [x8, _work_mem@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	w1, #1
	bl	_tuplestore_begin_heap
	str	x0, [x19, #8]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_MemoryContextSwitchTo
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TopPortalContext,4,2           ; @TopPortalContext
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PortalHoldContext"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ; @ALLOCSET_DEFAULT_SIZES
	.comm	_CURSOR_OPT_SCROLL,4,2          ; @CURSOR_OPT_SCROLL
	.comm	_work_mem,4,2                   ; @work_mem
.subsections_via_symbols
