	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exec_stmt_forc
_exec_stmt_forc:                        ## @exec_stmt_forc
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rsi), %rcx
	movq	(%rax,%rcx,8), %r13
	xorl	%r12d, %r12d
	cmpl	$0, 28(%r13)
	movl	$0, %eax
	jne	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	_get_stmt_mcontext
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_MemoryContextSwitchTo
	movq	%rax, %rbx
	movl	24(%r13), %edi
	callq	_TextDatumGetCString
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_MemoryContextSwitchTo
	movq	%r12, %rdi
	callq	_SPI_cursor_find
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_DUPLICATE_CURSOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_4:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	$0, 8(%r15)
	je	LBB0_7
## %bb.5:
	leaq	-88(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_PLPGSQL_STMT_EXECSQL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movl	16(%r15), %eax
	movl	%eax, -64(%rbp)
	movq	8(%r15), %rax
	movq	%rax, -72(%rbp)
	movl	$1, -88(%rbp)
	movq	8(%r14), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -80(%rbp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_exec_stmt_execsql
	movq	_PLPGSQL_RC_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
	jmp	LBB0_8
LBB0_7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_SYNTAX_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_8:
	movq	16(%r13), %rbx
	movq	%rbx, %rdi
	callq	_Assert
	cmpq	$0, (%rbx)
	jne	LBB0_10
## %bb.9:
	movl	8(%r13), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %ecx
	callq	_exec_prepare_plan
LBB0_10:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_setup_param_list
	movq	(%rbx), %rsi
	movl	(%r14), %ecx
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_SPI_cursor_open_with_paramlist
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	testq	%r12, %r12
	je	LBB0_13
LBB0_14:
	movq	%r14, %rdi
	callq	_exec_eval_cleanup
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	callq	_MemoryContextReset
LBB0_16:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_exec_for_query
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_SPI_cursor_close
	testq	%r12, %r12
	jne	LBB0_18
## %bb.17:
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_assign_simple_var
LBB0_18:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_SPI_result@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SPI_result_code_string
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_elog
	testq	%r12, %r12
	jne	LBB0_14
LBB0_13:
	movl	(%r13), %edx
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_assign_text_var
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_DUPLICATE_CURSOR,4,2   ## @ERRCODE_DUPLICATE_CURSOR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cursor \"%s\" already in use"

	.comm	_ERRCODE_SYNTAX_ERROR,4,2       ## @ERRCODE_SYNTAX_ERROR
	.comm	_PLPGSQL_STMT_EXECSQL,4,2       ## @PLPGSQL_STMT_EXECSQL
	.comm	_PLPGSQL_RC_OK,8,3              ## @PLPGSQL_RC_OK
L_.str.2:                               ## @.str.2
	.asciz	"open cursor failed during argument processing"

L_.str.3:                               ## @.str.3
	.asciz	"arguments required for cursor"

L_.str.4:                               ## @.str.4
	.asciz	"could not open cursor: %s"

	.comm	_SPI_result,4,2                 ## @SPI_result
	.no_dead_strip	_exec_stmt_forc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exec_stmt_forc
_exec_stmt_forc:                        ; @exec_stmt_forc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x9, [x1]
	ldr	x20, [x8, x9, lsl #3]
	ldr	w8, [x20, #28]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x22, #0
	mov	x23, #0
	b	LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_get_stmt_mcontext
	mov	x23, x0
	bl	_MemoryContextSwitchTo
	mov	x24, x0
	ldr	w0, [x20, #24]
	bl	_TextDatumGetCString
	mov	x22, x0
	mov	x0, x24
	bl	_MemoryContextSwitchTo
	mov	x0, x22
	bl	_SPI_cursor_find
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
Lloh3:
	adrp	x8, _ERRCODE_DUPLICATE_CURSOR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERRCODE_DUPLICATE_CURSOR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_errcode
	str	x22, [sp]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_4:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_7
; %bb.5:
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh8:
	adrp	x8, _PLPGSQL_STMT_EXECSQL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PLPGSQL_STMT_EXECSQL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x21, #16]
	stp	w9, w8, [sp, #40]
	ldr	x8, [x21, #8]
	str	x8, [sp, #32]
	mov	w8, #1
	str	w8, [sp, #16]
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	str	x8, [sp, #24]
	add	x1, sp, #16
	mov	x0, x19
	bl	_exec_stmt_execsql
Lloh11:
	adrp	x8, _PLPGSQL_RC_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PLPGSQL_RC_OK@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.6:
Lloh14:
	adrp	x8, _ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_elog
	b	LBB0_8
LBB0_7:
Lloh19:
	adrp	x8, _ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w24, [x8]
Lloh22:
	adrp	x8, _ERRCODE_SYNTAX_ERROR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ERRCODE_SYNTAX_ERROR@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_errcode
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_8:
	ldr	x24, [x20, #16]
	mov	x0, x24
	bl	_Assert
	ldr	x8, [x24]
	cbnz	x8, LBB0_10
; %bb.9:
	ldr	w2, [x20, #8]
	mov	x0, x19
	mov	x1, x24
	mov	w3, #1
	bl	_exec_prepare_plan
LBB0_10:
	mov	x0, x19
	mov	x1, x24
	bl	_setup_param_list
	mov	x2, x0
	ldr	x1, [x24]
	ldr	w3, [x19]
	mov	x0, x22
	bl	_SPI_cursor_open_with_paramlist
	mov	x24, x0
	cbz	x0, LBB0_17
; %bb.11:
	cbz	x22, LBB0_18
LBB0_12:
	mov	x0, x19
	bl	_exec_eval_cleanup
	cbz	x23, LBB0_14
; %bb.13:
	mov	x0, x23
	bl	_MemoryContextReset
LBB0_14:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x24
	mov	w3, #0
	bl	_exec_for_query
	mov	x21, x0
	mov	x0, x24
	bl	_SPI_cursor_close
	cbnz	x22, LBB0_16
; %bb.15:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	bl	_assign_simple_var
LBB0_16:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_17:
Lloh27:
	adrp	x8, _ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh29:
	ldr	w25, [x8]
Lloh30:
	adrp	x8, _SPI_result@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SPI_result@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	bl	_SPI_result_code_string
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh33:
	adrp	x1, l_.str.4@PAGE
Lloh34:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x25
	bl	_elog
	cbnz	x22, LBB0_12
LBB0_18:
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x20
	bl	_assign_text_var
	b	LBB0_12
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_DUPLICATE_CURSOR,4,2   ; @ERRCODE_DUPLICATE_CURSOR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cursor \"%s\" already in use"

	.comm	_ERRCODE_SYNTAX_ERROR,4,2       ; @ERRCODE_SYNTAX_ERROR
	.comm	_PLPGSQL_STMT_EXECSQL,4,2       ; @PLPGSQL_STMT_EXECSQL
	.comm	_PLPGSQL_RC_OK,8,3              ; @PLPGSQL_RC_OK
l_.str.2:                               ; @.str.2
	.asciz	"open cursor failed during argument processing"

l_.str.3:                               ; @.str.3
	.asciz	"arguments required for cursor"

l_.str.4:                               ; @.str.4
	.asciz	"could not open cursor: %s"

	.comm	_SPI_result,4,2                 ; @SPI_result
	.no_dead_strip	_exec_stmt_forc
.subsections_via_symbols
