	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exec_dynquery_with_params
_exec_dynquery_with_params:             ## @exec_dynquery_with_params
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movq	%rcx, %r14
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	callq	_get_stmt_mcontext
	movl	%eax, %r12d
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	leaq	-68(%rbp), %r8
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_exec_eval_expr
	movl	%eax, %r13d
	cmpl	$0, -48(%rbp)
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %r14d
	movq	%r15, %r12
	movl	(%rax), %r15d
	movq	_ERRCODE_NULL_VALUE_NOT_ALLOWED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r15d, %edi
	movq	%r12, %r15
	movl	%r14d, %r12d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movl	-44(%rbp), %edx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_convert_value_to_string
	movl	%r12d, %edi
	movq	%rax, %rsi
	callq	_MemoryContextStrdup
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_exec_eval_cleanup
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_exec_eval_using_params
	movl	24(%rax), %edx
	movq	16(%rax), %rcx
	movq	(%rax), %r9
	movq	8(%rax), %r8
	movl	(%rbx), %eax
	movq	%r14, %rdi
	movq	%r13, %rsi
	jmp	LBB0_5
LBB0_4:
	movl	(%rbx), %eax
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
LBB0_5:
	pushq	%r15
	pushq	%rax
	callq	_SPI_cursor_open_with_args
	addq	$16, %rsp
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_SPI_result@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SPI_result_code_string
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_elog
LBB0_7:
	movl	%r12d, %edi
	callq	_MemoryContextReset
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_NULL_VALUE_NOT_ALLOWED,4,2 ## @ERRCODE_NULL_VALUE_NOT_ALLOWED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"query string argument of EXECUTE is null"

L_.str.1:                               ## @.str.1
	.asciz	"could not open implicit cursor for query \"%s\": %s"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exec_dynquery_with_params
_exec_dynquery_with_params:             ; @exec_dynquery_with_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x4
	mov	x21, x3
	mov	x24, x2
	mov	x23, x1
	mov	x22, x0
	bl	_get_stmt_mcontext
	mov	x19, x0
	add	x2, sp, #12
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x0, x22
	mov	x1, x23
	bl	_exec_eval_expr
	mov	x23, x0
	ldr	w8, [sp, #12]
Lloh0:
	adrp	x26, _ERROR@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ERROR@GOTPAGEOFF]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	w25, [x26]
Lloh2:
	adrp	x8, _ERRCODE_NULL_VALUE_NOT_ALLOWED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERRCODE_NULL_VALUE_NOT_ALLOWED@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_errcode
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_2:
	ldr	w2, [sp, #8]
	mov	x0, x22
	mov	x1, x23
	bl	_convert_value_to_string
	mov	x1, x0
	mov	x0, x19
	bl	_MemoryContextStrdup
	mov	x23, x0
	mov	x0, x22
	bl	_exec_eval_cleanup
	cbz	x24, LBB0_4
; %bb.3:
	mov	x0, x22
	mov	x1, x24
	bl	_exec_eval_using_params
	ldr	w2, [x0, #24]
	ldp	x4, x3, [x0, #8]
	ldr	x5, [x0]
	ldr	w6, [x22]
	mov	x0, x21
	mov	x1, x23
	b	LBB0_5
LBB0_4:
	ldr	w6, [x22]
	mov	x0, x21
	mov	x1, x23
	mov	w2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
LBB0_5:
	mov	x7, x20
	bl	_SPI_cursor_open_with_args
	mov	x20, x0
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	w21, [x26]
Lloh7:
	adrp	x8, _SPI_result@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SPI_result@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_SPI_result_code_string
	mov	x3, x0
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x23
	bl	_elog
LBB0_7:
	mov	x0, x19
	bl	_MemoryContextReset
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_NULL_VALUE_NOT_ALLOWED,4,2 ; @ERRCODE_NULL_VALUE_NOT_ALLOWED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"query string argument of EXECUTE is null"

l_.str.1:                               ; @.str.1
	.asciz	"could not open implicit cursor for query \"%s\": %s"

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