	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pltcl_init_interp
_pltcl_init_interp:                     ## @pltcl_init_interp
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	(%rdi), %ecx
	leaq	L_.str(%rip), %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_snprintf
	movq	_pltcl_hold_interp@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%edx, %edx
	testl	%r14d, %r14d
	setne	%dl
	movq	%rbx, %rsi
	callq	_Tcl_CreateSlave
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
LBB0_2:
	leaq	16(%r12), %rdi
	movq	_TCL_STRING_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_Tcl_InitHashTable
	movq	_pltcl_elog@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_Tcl_CreateObjCommand
	movq	_pltcl_quote@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_Tcl_CreateObjCommand
	movq	_pltcl_argisnull@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_Tcl_CreateObjCommand
	movq	_pltcl_returnnull@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_Tcl_CreateObjCommand
	movq	_pltcl_returnnext@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_Tcl_CreateObjCommand
	movq	_pltcl_SPI_execute@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_Tcl_CreateObjCommand
	movq	_pltcl_SPI_prepare@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_Tcl_CreateObjCommand
	movq	_pltcl_SPI_execute_plan@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_Tcl_CreateObjCommand
	movq	_pltcl_subtransaction@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_Tcl_CreateObjCommand
	movq	_pltcl_commit@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_Tcl_CreateObjCommand
	movq	_pltcl_rollback@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.12(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_Tcl_CreateObjCommand
	xorl	%eax, %eax
	callq	_PG_TRY
	movq	%rbx, 8(%r12)
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_call_pltcl_start_proc
	xorl	%eax, %eax
	callq	_PG_CATCH
	movq	$0, 8(%r12)
	movq	%rbx, %rdi
	callq	_Tcl_DeleteInterp
	xorl	%eax, %eax
	callq	_PG_RE_THROW
	xorl	%eax, %eax
	callq	_PG_END_TRY
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"slave_%u"

	.comm	_pltcl_hold_interp,4,2          ## @pltcl_hold_interp
	.comm	_ERROR,4,2                      ## @ERROR
L_.str.1:                               ## @.str.1
	.asciz	"could not create slave Tcl interpreter"

	.comm	_TCL_STRING_KEYS,4,2            ## @TCL_STRING_KEYS
L_.str.2:                               ## @.str.2
	.asciz	"elog"

	.comm	_pltcl_elog,4,2                 ## @pltcl_elog
L_.str.3:                               ## @.str.3
	.asciz	"quote"

	.comm	_pltcl_quote,4,2                ## @pltcl_quote
L_.str.4:                               ## @.str.4
	.asciz	"argisnull"

	.comm	_pltcl_argisnull,4,2            ## @pltcl_argisnull
L_.str.5:                               ## @.str.5
	.asciz	"return_null"

	.comm	_pltcl_returnnull,4,2           ## @pltcl_returnnull
L_.str.6:                               ## @.str.6
	.asciz	"return_next"

	.comm	_pltcl_returnnext,4,2           ## @pltcl_returnnext
L_.str.7:                               ## @.str.7
	.asciz	"spi_exec"

	.comm	_pltcl_SPI_execute,4,2          ## @pltcl_SPI_execute
L_.str.8:                               ## @.str.8
	.asciz	"spi_prepare"

	.comm	_pltcl_SPI_prepare,4,2          ## @pltcl_SPI_prepare
L_.str.9:                               ## @.str.9
	.asciz	"spi_execp"

	.comm	_pltcl_SPI_execute_plan,4,2     ## @pltcl_SPI_execute_plan
L_.str.10:                              ## @.str.10
	.asciz	"subtransaction"

	.comm	_pltcl_subtransaction,4,2       ## @pltcl_subtransaction
L_.str.11:                              ## @.str.11
	.asciz	"commit"

	.comm	_pltcl_commit,4,2               ## @pltcl_commit
L_.str.12:                              ## @.str.12
	.asciz	"rollback"

	.comm	_pltcl_rollback,4,2             ## @pltcl_rollback
	.no_dead_strip	_pltcl_init_interp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pltcl_init_interp
_pltcl_init_interp:                     ; @pltcl_init_interp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	w3, [x0]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #32
	bl	_snprintf
Lloh5:
	adrp	x8, _pltcl_hold_interp@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pltcl_hold_interp@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	cmp	w20, #0
	cset	w2, ne
	add	x1, sp, #8
	bl	_Tcl_CreateSlave
	mov	x22, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_2:
	add	x0, x19, #16
Lloh13:
	adrp	x8, _TCL_STRING_KEYS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TCL_STRING_KEYS@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_Tcl_InitHashTable
Lloh16:
	adrp	x8, _pltcl_elog@GOTPAGE
Lloh17:
	ldr	x8, [x8, _pltcl_elog@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	x3, #0
	mov	x4, #0
	bl	_Tcl_CreateObjCommand
Lloh21:
	adrp	x8, _pltcl_quote@GOTPAGE
Lloh22:
	ldr	x8, [x8, _pltcl_quote@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	mov	x3, #0
	mov	x4, #0
	bl	_Tcl_CreateObjCommand
Lloh26:
	adrp	x8, _pltcl_argisnull@GOTPAGE
Lloh27:
	ldr	x8, [x8, _pltcl_argisnull@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	mov	x3, #0
	mov	x4, #0
	bl	_Tcl_CreateObjCommand
Lloh31:
	adrp	x8, _pltcl_returnnull@GOTPAGE
Lloh32:
	ldr	x8, [x8, _pltcl_returnnull@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
Lloh34:
	adrp	x1, l_.str.5@PAGE
Lloh35:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	mov	x3, #0
	mov	x4, #0
	bl	_Tcl_CreateObjCommand
Lloh36:
	adrp	x8, _pltcl_returnnext@GOTPAGE
Lloh37:
	ldr	x8, [x8, _pltcl_returnnext@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
Lloh39:
	adrp	x1, l_.str.6@PAGE
Lloh40:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	mov	x3, #0
	mov	x4, #0
	bl	_Tcl_CreateObjCommand
Lloh41:
	adrp	x8, _pltcl_SPI_execute@GOTPAGE
Lloh42:
	ldr	x8, [x8, _pltcl_SPI_execute@GOTPAGEOFF]
Lloh43:
	ldr	w2, [x8]
Lloh44:
	adrp	x1, l_.str.7@PAGE
Lloh45:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	mov	x3, #0
	mov	x4, #0
	bl	_Tcl_CreateObjCommand
Lloh46:
	adrp	x8, _pltcl_SPI_prepare@GOTPAGE
Lloh47:
	ldr	x8, [x8, _pltcl_SPI_prepare@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
Lloh49:
	adrp	x1, l_.str.8@PAGE
Lloh50:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x22
	mov	x3, #0
	mov	x4, #0
	bl	_Tcl_CreateObjCommand
Lloh51:
	adrp	x8, _pltcl_SPI_execute_plan@GOTPAGE
Lloh52:
	ldr	x8, [x8, _pltcl_SPI_execute_plan@GOTPAGEOFF]
Lloh53:
	ldr	w2, [x8]
Lloh54:
	adrp	x1, l_.str.9@PAGE
Lloh55:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x22
	mov	x3, #0
	mov	x4, #0
	bl	_Tcl_CreateObjCommand
Lloh56:
	adrp	x8, _pltcl_subtransaction@GOTPAGE
Lloh57:
	ldr	x8, [x8, _pltcl_subtransaction@GOTPAGEOFF]
Lloh58:
	ldr	w2, [x8]
Lloh59:
	adrp	x1, l_.str.10@PAGE
Lloh60:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x22
	mov	x3, #0
	mov	x4, #0
	bl	_Tcl_CreateObjCommand
Lloh61:
	adrp	x8, _pltcl_commit@GOTPAGE
Lloh62:
	ldr	x8, [x8, _pltcl_commit@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
Lloh64:
	adrp	x1, l_.str.11@PAGE
Lloh65:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x22
	mov	x3, #0
	mov	x4, #0
	bl	_Tcl_CreateObjCommand
Lloh66:
	adrp	x8, _pltcl_rollback@GOTPAGE
Lloh67:
	ldr	x8, [x8, _pltcl_rollback@GOTPAGEOFF]
Lloh68:
	ldr	w2, [x8]
Lloh69:
	adrp	x1, l_.str.12@PAGE
Lloh70:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x22
	mov	x3, #0
	mov	x4, #0
	bl	_Tcl_CreateObjCommand
	bl	_PG_TRY
	str	x22, [x19, #8]
	mov	x0, x21
	mov	x1, x20
	bl	_call_pltcl_start_proc
	bl	_PG_CATCH
	str	xzr, [x19, #8]
	mov	x0, x22
	bl	_Tcl_DeleteInterp
	bl	_PG_RE_THROW
	bl	_PG_END_TRY
	ldr	x8, [sp, #40]
Lloh71:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh72:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh73:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	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
	add	sp, sp, #96
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"slave_%u"

	.comm	_pltcl_hold_interp,4,2          ; @pltcl_hold_interp
	.comm	_ERROR,4,2                      ; @ERROR
l_.str.1:                               ; @.str.1
	.asciz	"could not create slave Tcl interpreter"

	.comm	_TCL_STRING_KEYS,4,2            ; @TCL_STRING_KEYS
l_.str.2:                               ; @.str.2
	.asciz	"elog"

	.comm	_pltcl_elog,4,2                 ; @pltcl_elog
l_.str.3:                               ; @.str.3
	.asciz	"quote"

	.comm	_pltcl_quote,4,2                ; @pltcl_quote
l_.str.4:                               ; @.str.4
	.asciz	"argisnull"

	.comm	_pltcl_argisnull,4,2            ; @pltcl_argisnull
l_.str.5:                               ; @.str.5
	.asciz	"return_null"

	.comm	_pltcl_returnnull,4,2           ; @pltcl_returnnull
l_.str.6:                               ; @.str.6
	.asciz	"return_next"

	.comm	_pltcl_returnnext,4,2           ; @pltcl_returnnext
l_.str.7:                               ; @.str.7
	.asciz	"spi_exec"

	.comm	_pltcl_SPI_execute,4,2          ; @pltcl_SPI_execute
l_.str.8:                               ; @.str.8
	.asciz	"spi_prepare"

	.comm	_pltcl_SPI_prepare,4,2          ; @pltcl_SPI_prepare
l_.str.9:                               ; @.str.9
	.asciz	"spi_execp"

	.comm	_pltcl_SPI_execute_plan,4,2     ; @pltcl_SPI_execute_plan
l_.str.10:                              ; @.str.10
	.asciz	"subtransaction"

	.comm	_pltcl_subtransaction,4,2       ; @pltcl_subtransaction
l_.str.11:                              ; @.str.11
	.asciz	"commit"

	.comm	_pltcl_commit,4,2               ; @pltcl_commit
l_.str.12:                              ; @.str.12
	.asciz	"rollback"

	.comm	_pltcl_rollback,4,2             ; @pltcl_rollback
	.no_dead_strip	_pltcl_init_interp
.subsections_via_symbols
