	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function plpgsql_estate_setup
_plpgsql_estate_setup:                  ## @plpgsql_estate_setup
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdi, 24(%rsi)
	movq	%rsi, 240(%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 216(%rdi)
	movq	$0, 232(%rdi)
	movl	$1, (%rdi)
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 208(%rdi)
	movups	8(%rsi), %xmm1
	movups	%xmm1, 192(%rdi)
	movl	$1, 4(%rdi)
	movups	%xmm0, 160(%rdi)
	movups	%xmm0, 176(%rdi)
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	(%rdx), %rax
	movq	(%rax), %rax
	movq	_CurrentResourceOwner@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
LBB0_3:
	movq	%rax, 152(%rbx)
	movq	%rcx, 144(%rbx)
	movq	%rdx, 136(%rbx)
	movl	4(%r14), %eax
	movl	%eax, 128(%rbx)
	movl	(%r14), %eax
	movl	%eax, 96(%rbx)
	movq	$0, 120(%rbx)
	movq	_CurrentMemoryContext@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, 112(%rbx)
	xorl	%edi, %edi
	callq	_makeParamList
	movq	%rax, 104(%rbx)
	movq	_plpgsql_param_fetch@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 48(%rax)
	movq	%rbx, 40(%rax)
	movq	_plpgsql_param_compile@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rax)
	movq	$0, 24(%rax)
	movq	_plpgsql_parser_setup@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 16(%rax)
	movq	$0, 8(%rax)
	movl	96(%rbx), %ecx
	movl	%ecx, (%rax)
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movq	%r15, 88(%rbx)
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movabsq	$17179869188, %rax              ## imm = 0x400000004
	movq	%rax, -56(%rbp)
	movq	_HASH_ELEM@GOTPCREL(%rip), %rax
	movq	_HASH_BLOBS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	(%r12), %rax
	movq	%rax, -48(%rbp)
	movq	_HASH_CONTEXT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	leaq	L_.str(%rip), %rdi
	movl	$16, %esi
	movq	%r15, %rdx
	callq	_hash_create
	movq	%rax, 80(%rbx)
	movq	(%r12), %rax
	movq	%rax, 72(%rbx)
	jmp	LBB0_8
LBB0_5:
	movq	_shared_simple_eval_estate@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 88(%rbx)
	movq	_shared_cast_hash@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_TopMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ALLOCSET_DEFAULT_SIZES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_AllocSetContextCreate
	movq	_shared_cast_context@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movabsq	$17179869188, %rax              ## imm = 0x400000004
	movq	%rax, -56(%rbp)
	movq	_HASH_ELEM@GOTPCREL(%rip), %rax
	movq	_HASH_BLOBS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	(%r15), %rax
	movq	%rax, -48(%rbp)
	movq	_HASH_CONTEXT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rdi
	movl	$16, %esi
	leaq	-56(%rbp), %rdx
	callq	_hash_create
	movq	%rax, (%r13)
LBB0_7:
	movq	%rax, 80(%rbx)
	movq	_shared_cast_context@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%rbx)
	movq	(%r12), %rax
LBB0_8:
	movq	$0, 64(%rbx)
	movq	%rax, 56(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movups	%xmm0, 24(%rbx)
	movups	%xmm0, 40(%rbx)
	movq	%rbx, %rdi
	callq	_plpgsql_create_econtext
	movq	_plpgsql_plugin_ptr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	_plpgsql_exec_error_callback@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_exec_assign_expr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*%rax
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_CurrentResourceOwner,8,3       ## @CurrentResourceOwner
	.comm	_CurrentMemoryContext,8,3       ## @CurrentMemoryContext
	.comm	_plpgsql_param_fetch,4,2        ## @plpgsql_param_fetch
	.comm	_plpgsql_param_compile,4,2      ## @plpgsql_param_compile
	.comm	_plpgsql_parser_setup,8,3       ## @plpgsql_parser_setup
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PLpgSQL private cast cache"

	.comm	_HASH_ELEM,4,2                  ## @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ## @HASH_BLOBS
	.comm	_HASH_CONTEXT,4,2               ## @HASH_CONTEXT
	.comm	_shared_simple_eval_estate,8,3  ## @shared_simple_eval_estate
	.comm	_shared_cast_hash,8,3           ## @shared_cast_hash
	.comm	_TopMemoryContext,4,2           ## @TopMemoryContext
L_.str.1:                               ## @.str.1
	.asciz	"PLpgSQL cast info"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ## @ALLOCSET_DEFAULT_SIZES
	.comm	_shared_cast_context,8,3        ## @shared_cast_context
L_.str.2:                               ## @.str.2
	.asciz	"PLpgSQL cast cache"

	.comm	_plpgsql_plugin_ptr,8,3         ## @plpgsql_plugin_ptr
	.comm	_plpgsql_exec_error_callback,4,2 ## @plpgsql_exec_error_callback
	.comm	_exec_assign_expr,4,2           ## @exec_assign_expr
	.no_dead_strip	_plpgsql_estate_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function plpgsql_estate_setup
_plpgsql_estate_setup:                  ; @plpgsql_estate_setup
	.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	x21, x3
	mov	x19, x1
	mov	x20, x0
	str	x0, [x1, #24]
	stp	xzr, x1, [x0, #232]
	stp	xzr, xzr, [x0, #216]
	ldur	q0, [x1, #8]
	str	q0, [x0, #192]
	movi.2s	v0, #1
Lloh0:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
	str	d0, [x0]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #208]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x0, #160]
	cbz	x2, LBB0_2
; %bb.1:
	ldr	x8, [x2]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _CurrentResourceOwner@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CurrentResourceOwner@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	b	LBB0_3
LBB0_2:
	mov	x8, #0
	mov	x9, #0
LBB0_3:
	stp	x9, x8, [x20, #144]
	str	x2, [x20, #136]
	ldr	w8, [x19, #4]
	str	w8, [x20, #128]
	ldr	w8, [x19]
	str	w8, [x20, #96]
Lloh6:
	adrp	x22, _CurrentMemoryContext@GOTPAGE
Lloh7:
	ldr	x22, [x22, _CurrentMemoryContext@GOTPAGEOFF]
	ldr	x8, [x22]
	stp	x8, xzr, [x20, #112]
	mov	w0, #0
	bl	_makeParamList
	str	x0, [x20, #104]
Lloh8:
	adrp	x8, _plpgsql_param_fetch@GOTPAGE
Lloh9:
	ldr	x8, [x8, _plpgsql_param_fetch@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x0, #48]
	str	x20, [x0, #40]
Lloh11:
	adrp	x8, _plpgsql_param_compile@GOTPAGE
Lloh12:
	ldr	x8, [x8, _plpgsql_param_compile@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x0, #32]
Lloh14:
	adrp	x8, _plpgsql_parser_setup@GOTPAGE
Lloh15:
	ldr	x8, [x8, _plpgsql_parser_setup@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	stp	x8, xzr, [x0, #16]
	str	xzr, [x0, #8]
	ldr	w8, [x20, #96]
	str	w8, [x0]
	cbz	x21, LBB0_5
; %bb.4:
	str	x21, [x20, #88]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	movi.2s	v0, #4
	str	d0, [sp]
	ldr	x8, [x22]
	str	x8, [sp, #8]
Lloh17:
	adrp	x8, _HASH_ELEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _HASH_ELEM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _HASH_BLOBS@GOTPAGE
Lloh21:
	ldr	x9, [x9, _HASH_BLOBS@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _HASH_CONTEXT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _HASH_CONTEXT@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w3, w8, w9
Lloh26:
	adrp	x0, l_.str@PAGE
Lloh27:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, sp
	mov	w1, #16
	bl	_hash_create
	ldr	x8, [x22]
	stp	x8, x0, [x20, #72]
	b	LBB0_8
LBB0_5:
Lloh28:
	adrp	x8, _shared_simple_eval_estate@GOTPAGE
Lloh29:
	ldr	x8, [x8, _shared_simple_eval_estate@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	str	x8, [x20, #88]
Lloh31:
	adrp	x23, _shared_cast_hash@GOTPAGE
Lloh32:
	ldr	x23, [x23, _shared_cast_hash@GOTPAGEOFF]
	ldr	x0, [x23]
Lloh33:
	adrp	x21, _shared_cast_context@GOTPAGE
Lloh34:
	ldr	x21, [x21, _shared_cast_context@GOTPAGEOFF]
	cbnz	x0, LBB0_7
; %bb.6:
Lloh35:
	adrp	x8, _TopMemoryContext@GOTPAGE
Lloh36:
	ldr	x8, [x8, _TopMemoryContext@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
Lloh41:
	adrp	x1, l_.str.1@PAGE
Lloh42:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_AllocSetContextCreate
	str	x0, [x21]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	movi.2s	v0, #4
	str	d0, [sp]
	ldr	x8, [x21]
	str	x8, [sp, #8]
Lloh43:
	adrp	x8, _HASH_ELEM@GOTPAGE
Lloh44:
	ldr	x8, [x8, _HASH_ELEM@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
Lloh46:
	adrp	x9, _HASH_BLOBS@GOTPAGE
Lloh47:
	ldr	x9, [x9, _HASH_BLOBS@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh49:
	adrp	x9, _HASH_CONTEXT@GOTPAGE
Lloh50:
	ldr	x9, [x9, _HASH_CONTEXT@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	orr	w3, w8, w9
Lloh52:
	adrp	x0, l_.str.2@PAGE
Lloh53:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, sp
	mov	w1, #16
	bl	_hash_create
	str	x0, [x23]
LBB0_7:
	ldr	x8, [x21]
	stp	x8, x0, [x20, #72]
	ldr	x8, [x22]
LBB0_8:
	stp	x8, xzr, [x20, #56]
	movi.2d	v0, #0000000000000000
	stur	q0, [x20, #8]
	stur	q0, [x20, #24]
	stur	q0, [x20, #40]
	mov	x0, x20
	bl	_plpgsql_create_econtext
Lloh54:
	adrp	x8, _plpgsql_plugin_ptr@GOTPAGE
Lloh55:
	ldr	x8, [x8, _plpgsql_plugin_ptr@GOTPAGEOFF]
Lloh56:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.9:
Lloh57:
	adrp	x9, _plpgsql_exec_error_callback@GOTPAGE
Lloh58:
	ldr	x9, [x9, _plpgsql_exec_error_callback@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
Lloh60:
	adrp	x10, _exec_assign_expr@GOTPAGE
Lloh61:
	ldr	x10, [x10, _exec_assign_expr@GOTPAGEOFF]
Lloh62:
	ldr	w10, [x10]
	stp	w10, w9, [x8, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.10:
	mov	x0, x20
	mov	x1, x19
	blr	x8
LBB0_11:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_CurrentResourceOwner,8,3       ; @CurrentResourceOwner
	.comm	_CurrentMemoryContext,8,3       ; @CurrentMemoryContext
	.comm	_plpgsql_param_fetch,4,2        ; @plpgsql_param_fetch
	.comm	_plpgsql_param_compile,4,2      ; @plpgsql_param_compile
	.comm	_plpgsql_parser_setup,8,3       ; @plpgsql_parser_setup
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PLpgSQL private cast cache"

	.comm	_HASH_ELEM,4,2                  ; @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ; @HASH_BLOBS
	.comm	_HASH_CONTEXT,4,2               ; @HASH_CONTEXT
	.comm	_shared_simple_eval_estate,8,3  ; @shared_simple_eval_estate
	.comm	_shared_cast_hash,8,3           ; @shared_cast_hash
	.comm	_TopMemoryContext,4,2           ; @TopMemoryContext
l_.str.1:                               ; @.str.1
	.asciz	"PLpgSQL cast info"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ; @ALLOCSET_DEFAULT_SIZES
	.comm	_shared_cast_context,8,3        ; @shared_cast_context
l_.str.2:                               ; @.str.2
	.asciz	"PLpgSQL cast cache"

	.comm	_plpgsql_plugin_ptr,8,3         ; @plpgsql_plugin_ptr
	.comm	_plpgsql_exec_error_callback,4,2 ; @plpgsql_exec_error_callback
	.comm	_exec_assign_expr,4,2           ; @exec_assign_expr
	.no_dead_strip	_plpgsql_estate_setup
.subsections_via_symbols
