	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StorePreparedStatement         ## -- Begin function StorePreparedStatement
	.p2align	4, 0x90
_StorePreparedStatement:                ## @StorePreparedStatement
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r13
	xorl	%eax, %eax
	callq	_GetCurrentStatementStartTimestamp
	movl	%eax, %r15d
	movq	_prepared_queries@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	testl	%edi, %edi
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_InitQueryHashTable
	movl	(%rbx), %edi
LBB0_2:
	movq	_HASH_ENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	movq	%r13, %rsi
	callq	_hash_search
	movq	%rax, %rbx
	cmpl	$0, -48(%rbp)
	je	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	%r14d, %r15d
	movl	(%rax), %r14d
	movq	_ERRCODE_DUPLICATE_PSTATEMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	callq	_errmsg
	movl	%r14d, %edi
	movl	%r15d, %r14d
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	movq	%r12, 8(%rbx)
	movl	%r14d, (%rbx)
	movl	%r15d, 4(%rbx)
	movq	%r12, %rdi
	callq	_SaveCachedPlan
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_prepared_queries,4,2           ## @prepared_queries
	.comm	_HASH_ENTER,4,2                 ## @HASH_ENTER
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_DUPLICATE_PSTATEMENT,4,2 ## @ERRCODE_DUPLICATE_PSTATEMENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"prepared statement \"%s\" already exists"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StorePreparedStatement         ; -- Begin function StorePreparedStatement
	.p2align	2
_StorePreparedStatement:                ; @StorePreparedStatement
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	bl	_GetCurrentStatementStartTimestamp
	mov	x21, x0
Lloh0:
	adrp	x23, _prepared_queries@GOTPAGE
Lloh1:
	ldr	x23, [x23, _prepared_queries@GOTPAGEOFF]
	ldr	w0, [x23]
	cbnz	w0, LBB0_2
; %bb.1:
	bl	_InitQueryHashTable
	ldr	w0, [x23]
LBB0_2:
Lloh2:
	adrp	x8, _HASH_ENTER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HASH_ENTER@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x1, x22
	bl	_hash_search
	mov	x23, x0
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w24, [x8]
Lloh8:
	adrp	x8, _ERRCODE_DUPLICATE_PSTATEMENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERRCODE_DUPLICATE_PSTATEMENT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_errcode
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_errmsg
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_4:
	str	x19, [x23, #8]
	stp	w20, w21, [x23]
	mov	x0, x19
	bl	_SaveCachedPlan
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_prepared_queries,4,2           ; @prepared_queries
	.comm	_HASH_ENTER,4,2                 ; @HASH_ENTER
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_DUPLICATE_PSTATEMENT,4,2 ; @ERRCODE_DUPLICATE_PSTATEMENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"prepared statement \"%s\" already exists"

.subsections_via_symbols
