	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FetchPreparedStatement         ## -- Begin function FetchPreparedStatement
	.p2align	4, 0x90
_FetchPreparedStatement:                ## @FetchPreparedStatement
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_prepared_queries@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	_HASH_FIND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_hash_search
	movq	%rax, %rbx
	testl	%r15d, %r15d
	jne	LBB0_4
	jmp	LBB0_6
LBB0_1:
	xorl	%ebx, %ebx
	testl	%r15d, %r15d
	je	LBB0_6
LBB0_4:
	testq	%rbx, %rbx
	jne	LBB0_6
## %bb.5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_UNDEFINED_PSTATEMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_prepared_queries,8,3           ## @prepared_queries
	.comm	_HASH_FIND,4,2                  ## @HASH_FIND
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_UNDEFINED_PSTATEMENT,4,2 ## @ERRCODE_UNDEFINED_PSTATEMENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"prepared statement \"%s\" does not exist"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FetchPreparedStatement         ; -- Begin function FetchPreparedStatement
	.p2align	2
_FetchPreparedStatement:                ; @FetchPreparedStatement
	.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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _prepared_queries@GOTPAGE
Lloh1:
	ldr	x8, [x8, _prepared_queries@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _HASH_FIND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HASH_FIND@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x19
	mov	x3, #0
	bl	_hash_search
	mov	x20, x0
	cbnz	w21, LBB0_3
	b	LBB0_5
LBB0_2:
	mov	x20, #0
	cbz	w21, LBB0_5
LBB0_3:
	cbnz	x20, LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
Lloh9:
	adrp	x8, _ERRCODE_UNDEFINED_PSTATEMENT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_PSTATEMENT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_errcode
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_5:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_prepared_queries,8,3           ; @prepared_queries
	.comm	_HASH_FIND,4,2                  ; @HASH_FIND
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_UNDEFINED_PSTATEMENT,4,2 ; @ERRCODE_UNDEFINED_PSTATEMENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"prepared statement \"%s\" does not exist"

.subsections_via_symbols
