	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pltcl_subtransaction
_pltcl_subtransaction:                  ## @pltcl_subtransaction
	.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
	movq	%rcx, %r15
	movq	%rsi, %rbx
	cmpl	$2, %edx
	jne	LBB0_1
## %bb.2:
	movq	_CurrentMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_CurrentResourceOwner@GOTPCREL(%rip), %r12
	movl	(%r12), %r13d
	xorl	%edi, %edi
	callq	_BeginInternalSubTransaction
	movl	%r14d, %edi
	callq	_MemoryContextSwitchTo
	movq	8(%r15), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_Tcl_EvalObjEx
	movl	%eax, %ebx
	movq	_TCL_ERROR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_RollbackAndReleaseCurrentSubTransaction
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	callq	_Tcl_WrongNumArgs
	movq	_TCL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_6
LBB0_4:
	xorl	%eax, %eax
	callq	_ReleaseCurrentSubTransaction
LBB0_5:
	movl	%r14d, %edi
	callq	_MemoryContextSwitchTo
	movl	%r13d, (%r12)
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CurrentMemoryContext,4,2       ## @CurrentMemoryContext
	.comm	_CurrentResourceOwner,4,2       ## @CurrentResourceOwner
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"command"

	.comm	_TCL_ERROR,4,2                  ## @TCL_ERROR
	.no_dead_strip	_pltcl_subtransaction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pltcl_subtransaction
_pltcl_subtransaction:                  ; @pltcl_subtransaction
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x21, x1
	cmp	w2, #2
	b.ne	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _CurrentMemoryContext@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CurrentMemoryContext@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x22, _CurrentResourceOwner@GOTPAGE
Lloh4:
	ldr	x22, [x22, _CurrentResourceOwner@GOTPAGEOFF]
	ldr	w23, [x22]
	mov	x0, #0
	bl	_BeginInternalSubTransaction
	mov	x0, x19
	bl	_MemoryContextSwitchTo
	ldr	x1, [x20, #8]
	mov	x0, x21
	mov	w2, #0
	bl	_Tcl_EvalObjEx
	mov	x20, x0
Lloh5:
	adrp	x8, _TCL_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TCL_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:
	bl	_RollbackAndReleaseCurrentSubTransaction
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x3, l_.str@PAGE
Lloh9:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	mov	w1, #1
	mov	x2, x20
	bl	_Tcl_WrongNumArgs
Lloh10:
	adrp	x8, _TCL_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TCL_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w20, [x8]
	b	LBB0_6
LBB0_4:
	bl	_ReleaseCurrentSubTransaction
LBB0_5:
	mov	x0, x19
	bl	_MemoryContextSwitchTo
	str	w23, [x22]
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_CurrentMemoryContext,4,2       ; @CurrentMemoryContext
	.comm	_CurrentResourceOwner,4,2       ; @CurrentResourceOwner
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"command"

	.comm	_TCL_ERROR,4,2                  ; @TCL_ERROR
	.no_dead_strip	_pltcl_subtransaction
.subsections_via_symbols
