	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exec_eval_simple_expr
_exec_eval_simple_expr:                 ## @exec_eval_simple_expr
	.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
	xorl	%r13d, %r13d
	cmpq	$0, 40(%rsi)
	je	LBB0_13
## %bb.1:
	movq	%r8, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	24(%rdi), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_MyProc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rsi)
	je	LBB0_3
## %bb.2:
	cmpq	%rax, 8(%rbx)
	je	LBB0_13
LBB0_3:
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_get_eval_mcontext
	movl	%eax, %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r13d
	movl	56(%rbx), %edi
	callq	_SPI_plan_get_cached_plan
	movq	%rax, %r12
	movl	%r13d, %edi
	callq	_MemoryContextSwitchTo
	xorl	%edi, %edi
	testq	%r12, %r12
	setne	%dil
	callq	_Assert
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rax
	cmpq	16(%rbx), %rax
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_exec_save_simple_expr
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	js	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_exec_check_rw_parameter
LBB0_6:
	movl	52(%rbx), %eax
	movl	%eax, (%r15)
	movl	48(%rbx), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	8(%r14), %rax
	movq	(%rax), %r12
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_setup_param_list
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, (%r13)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, 8(%rbx)
	je	LBB0_8
## %bb.7:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %r12
	movq	16(%r14), %rax
	movl	(%rax), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r15d
	movq	40(%rbx), %rdi
	movq	(%r13), %rsi
	callq	_ExecInitExprWithParams
	movl	%eax, 32(%rbx)
	movl	$0, (%rbx)
	movq	%r12, 8(%rbx)
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	%r15d, %edi
	callq	_MemoryContextSwitchTo
LBB0_8:
	movq	%r14, %rdi
	callq	_get_eval_mcontext
	movl	%eax, %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r15d
	cmpl	$0, (%r14)
	jne	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	callq	_CommandCounterIncrement
	xorl	%eax, %eax
	callq	_GetTransactionSnapshot
	movl	%eax, %edi
	callq	_PushActiveSnapshot
LBB0_10:
	movl	$1, (%rbx)
	movl	32(%rbx), %edi
	movq	%r13, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_ExecEvalExpr
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	$0, (%rbx)
	movq	$0, (%r13)
	movq	8(%r14), %rax
	movq	%r12, (%rax)
	cmpl	$0, (%r14)
	jne	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	callq	_PopActiveSnapshot
LBB0_12:
	movl	%r15d, %edi
	callq	_MemoryContextSwitchTo
	movl	$1, %r13d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	callq	_ReleaseCachedPlan
LBB0_13:
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MyProc,8,3                     ## @MyProc
	.no_dead_strip	_exec_eval_simple_expr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exec_eval_simple_expr
_exec_eval_simple_expr:                 ; @exec_eval_simple_expr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x1, #40]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x25, x5
	mov	x26, x4
	mov	x23, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x22, [x0, #24]
Lloh0:
	adrp	x8, _MyProc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MyProc@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x28, [x8]
	ldr	w8, [x1]
	cbz	w8, LBB0_4
; %bb.2:
	ldr	x8, [x20, #8]
	cmp	x8, x28
	b.ne	LBB0_4
LBB0_3:
	mov	w19, #0
	b	LBB0_14
LBB0_4:
	mov	x0, x19
	bl	_get_eval_mcontext
	bl	_MemoryContextSwitchTo
	mov	x27, x0
	ldr	w0, [x20, #56]
	bl	_SPI_plan_get_cached_plan
	mov	x24, x0
	mov	x0, x27
	bl	_MemoryContextSwitchTo
	cmp	x24, #0
	cset	w0, ne
	bl	_Assert
	ldr	x8, [x24]
	ldr	x9, [x20, #16]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.5:
	mov	x0, x20
	mov	x1, x24
	bl	_exec_save_simple_expr
	ldr	x1, [x20, #24]
	tbnz	x1, #63, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_exec_check_rw_parameter
LBB0_7:
	ldr	w8, [x20, #52]
	str	w8, [x26]
	ldr	w8, [x20, #48]
	str	w8, [x25]
	ldr	x8, [x19, #8]
	ldr	x26, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_setup_param_list
	str	x0, [x22]
	ldr	x8, [x20, #8]
	cmp	x8, x28
	b.eq	LBB0_9
; %bb.8:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	bl	_MemoryContextSwitchTo
	mov	x25, x0
	ldr	x0, [x20, #40]
	ldr	x1, [x22]
	bl	_ExecInitExprWithParams
	str	w0, [x20, #32]
	str	wzr, [x20]
	str	x28, [x20, #8]
	mov	x0, x25
	bl	_MemoryContextSwitchTo
LBB0_9:
	mov	x0, x19
	bl	_get_eval_mcontext
	bl	_MemoryContextSwitchTo
	mov	x25, x0
	ldr	w8, [x19]
	cbnz	w8, LBB0_11
; %bb.10:
	bl	_CommandCounterIncrement
	bl	_GetTransactionSnapshot
	bl	_PushActiveSnapshot
LBB0_11:
	mov	w8, #1
	str	w8, [x20]
	ldr	w0, [x20, #32]
	mov	x1, x22
	mov	x2, x23
	bl	_ExecEvalExpr
	str	w0, [x21]
	str	wzr, [x20]
	str	xzr, [x22]
	ldr	x8, [x19, #8]
	str	x26, [x8]
	ldr	w8, [x19]
	cbnz	w8, LBB0_13
; %bb.12:
	bl	_PopActiveSnapshot
LBB0_13:
	mov	x0, x25
	bl	_MemoryContextSwitchTo
	mov	w19, #1
	mov	x0, x24
	mov	w1, #1
	bl	_ReleaseCachedPlan
LBB0_14:
	mov	x0, x19
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MyProc,8,3                     ; @MyProc
	.no_dead_strip	_exec_eval_simple_expr
.subsections_via_symbols
