	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pltcl_rollback
_pltcl_rollback:                        ## @pltcl_rollback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	_CurrentMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_PG_TRY
	xorl	%eax, %eax
	callq	_SPI_rollback
	xorl	%eax, %eax
	callq	_SPI_start_transaction
	xorl	%eax, %eax
	callq	_PG_CATCH
	movl	%ebx, %edi
	callq	_MemoryContextSwitchTo
	xorl	%eax, %eax
	callq	_CopyErrorData
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_FlushErrorState
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_pltcl_construct_errorCode
	movl	(%rbx), %edi
	callq	_UTF_E2U
	movl	%eax, %edi
	movl	$-1, %esi
	callq	_Tcl_NewStringObj
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_Tcl_SetObjResult
	movq	%rbx, %rdi
	callq	_FreeErrorData
	movq	_TCL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CurrentMemoryContext,4,2       ## @CurrentMemoryContext
	.comm	_UTF_BEGIN,4,2                  ## @UTF_BEGIN
	.comm	_UTF_END,4,2                    ## @UTF_END
	.comm	_TCL_ERROR,4,2                  ## @TCL_ERROR
	.comm	_TCL_OK,4,2                     ## @TCL_OK
	.no_dead_strip	_pltcl_rollback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pltcl_rollback
_pltcl_rollback:                        ; @pltcl_rollback
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _CurrentMemoryContext@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CurrentMemoryContext@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	bl	_PG_TRY
	bl	_SPI_rollback
	bl	_SPI_start_transaction
	bl	_PG_CATCH
	mov	x0, x20
	bl	_MemoryContextSwitchTo
	bl	_CopyErrorData
	mov	x20, x0
	bl	_FlushErrorState
	mov	x0, x19
	mov	x1, x20
	bl	_pltcl_construct_errorCode
	ldr	w0, [x20]
	bl	_UTF_E2U
	mov	w1, #-1
	bl	_Tcl_NewStringObj
	mov	x1, x0
	mov	x0, x19
	bl	_Tcl_SetObjResult
	mov	x0, x20
	bl	_FreeErrorData
Lloh3:
	adrp	x8, _TCL_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TCL_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CurrentMemoryContext,4,2       ; @CurrentMemoryContext
	.comm	_UTF_BEGIN,4,2                  ; @UTF_BEGIN
	.comm	_UTF_END,4,2                    ; @UTF_END
	.comm	_TCL_ERROR,4,2                  ; @TCL_ERROR
	.comm	_TCL_OK,4,2                     ; @TCL_OK
	.no_dead_strip	_pltcl_rollback
.subsections_via_symbols
