	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FillPortalStore
_FillPortalStore:                       ## @FillPortalStore
	.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
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_COMPLETION_TAG_BUFSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, %rdi
	callq	_PortalCreateHoldStore
	movq	_DestTuplestore@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CreateDestReceiver
	movq	%rax, %r15
	movl	12(%rbx), %edx
	movl	16(%rbx), %esi
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_SetTuplestoreDestReceiverParams
	movb	$0, (%r14)
	movl	(%rbx), %edx
	leal	-129(%rdx), %eax
	cmpl	$2, %eax
	jae	LBB0_1
## %bb.8:
	movq	_None_Receiver@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	$1, %edx
	movq	%r15, %rcx
	movq	%r14, %r9
	callq	_PortalRunMulti
	cmpb	$0, (%r14)
	jne	LBB0_5
	jmp	LBB0_6
LBB0_1:
	cmpl	$128, %edx
	jne	LBB0_3
## %bb.2:
	movq	_PlannedStmt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	_linitial_node
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	movl	$1, %ecx
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_PortalRunUtility
	cmpb	$0, (%r14)
	jne	LBB0_5
	jmp	LBB0_6
LBB0_3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_elog
	cmpb	$0, (%r14)
	je	LBB0_6
LBB0_5:
	movq	%r14, %rdi
	callq	_pstrdup
	movl	%eax, 4(%rbx)
LBB0_6:
	movq	%r15, %rdi
	callq	*(%r15)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_9
## %bb.7:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_COMPLETION_TAG_BUFSIZE,4,2     ## @COMPLETION_TAG_BUFSIZE
	.comm	_DestTuplestore,4,2             ## @DestTuplestore
	.comm	_None_Receiver,4,2              ## @None_Receiver
	.comm	_PlannedStmt,4,2                ## @PlannedStmt
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported portal strategy: %d"

	.no_dead_strip	_FillPortalStore
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FillPortalStore
_FillPortalStore:                       ; @FillPortalStore
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #16
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _COMPLETION_TAG_BUFSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COMPLETION_TAG_BUFSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	bl	_PortalCreateHoldStore
Lloh8:
	adrp	x8, _DestTuplestore@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DestTuplestore@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_CreateDestReceiver
	mov	x21, x0
	ldp	w2, w1, [x19, #12]
	mov	w3, #0
	bl	_SetTuplestoreDestReceiverParams
	strb	wzr, [x20]
	ldr	w2, [x19]
	sub	w8, w2, #129
	cmp	w8, #2
	b.hs	LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _None_Receiver@GOTPAGE
Lloh12:
	ldr	x8, [x8, _None_Receiver@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	w2, #1
	mov	x3, x21
	mov	x5, x20
	bl	_PortalRunMulti
	ldrb	w8, [x20]
	cbnz	w8, LBB0_5
	b	LBB0_6
LBB0_2:
	cmp	w2, #128
	b.ne	LBB0_4
; %bb.3:
Lloh14:
	adrp	x8, _PlannedStmt@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PlannedStmt@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	_linitial_node
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	mov	w3, #1
	mov	x4, x21
	mov	x5, x20
	bl	_PortalRunUtility
	ldrb	w8, [x20]
	cbnz	w8, LBB0_5
	b	LBB0_6
LBB0_4:
Lloh17:
	adrp	x8, _ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	ldrb	w8, [x20]
	cbz	w8, LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_pstrdup
	str	w0, [x19, #4]
LBB0_6:
	ldr	x8, [x21]
	mov	x0, x21
	blr	x8
	ldur	x8, [x29, #-40]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_COMPLETION_TAG_BUFSIZE,4,2     ; @COMPLETION_TAG_BUFSIZE
	.comm	_DestTuplestore,4,2             ; @DestTuplestore
	.comm	_None_Receiver,4,2              ; @None_Receiver
	.comm	_PlannedStmt,4,2                ; @PlannedStmt
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported portal strategy: %d"

	.no_dead_strip	_FillPortalStore
.subsections_via_symbols
