	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PLy_subtransaction_exit
_PLy_subtransaction_exit:               ## @PLy_subtransaction_exit
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rax
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-24(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	leaq	-32(%rbp), %r8
	movq	%rax, %rdi
	callq	_PyArg_ParseTuple
	testl	%eax, %eax
	je	LBB0_11
## %bb.1:
	cmpl	$0, 4(%rbx)
	je	LBB0_2
## %bb.3:
	cmpl	$0, (%rbx)
	je	LBB0_5
## %bb.4:
	movq	_PyExc_ValueError@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_PLy_exception_set
	jmp	LBB0_11
LBB0_2:
	movq	_PyExc_ValueError@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_PLy_exception_set
	jmp	LBB0_11
LBB0_5:
	movq	_explicit_subtransactions@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_NIL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_PyExc_ValueError@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_PLy_exception_set
	jmp	LBB0_11
LBB0_7:
	movl	$1, (%rbx)
	movq	-24(%rbp), %rax
	movq	_Py_None@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_RollbackAndReleaseCurrentSubTransaction
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
	callq	_ReleaseCurrentSubTransaction
LBB0_10:
	movq	(%r14), %rdi
	callq	_linitial
	movq	%rax, %rbx
	movq	(%r14), %rdi
	callq	_list_delete_first
	movq	%rax, (%r14)
	movl	4(%rbx), %edi
	callq	_MemoryContextSwitchTo
	movl	(%rbx), %eax
	movq	_CurrentResourceOwner@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	%rbx, %rdi
	callq	_pfree
LBB0_11:
	xorl	%eax, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OOO"

	.comm	_PyExc_ValueError,4,2           ## @PyExc_ValueError
L_.str.1:                               ## @.str.1
	.asciz	"this subtransaction has not been entered"

L_.str.2:                               ## @.str.2
	.asciz	"this subtransaction has already been exited"

	.comm	_explicit_subtransactions,8,3   ## @explicit_subtransactions
	.comm	_NIL,8,3                        ## @NIL
L_.str.3:                               ## @.str.3
	.asciz	"there is no subtransaction to exit from"

	.comm	_Py_None,8,3                    ## @Py_None
	.comm	_CurrentResourceOwner,4,2       ## @CurrentResourceOwner
	.comm	_Py_RETURN_NONE,4,2             ## @Py_RETURN_NONE
	.no_dead_strip	_PLy_subtransaction_exit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PLy_subtransaction_exit
_PLy_subtransaction_exit:               ; @PLy_subtransaction_exit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #24
	add	x3, sp, #16
	add	x4, sp, #8
	mov	x0, x8
	bl	_PyArg_ParseTuple
	cbz	w0, LBB0_11
; %bb.1:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_4
; %bb.2:
	ldr	w8, [x19]
	cbz	w8, LBB0_5
; %bb.3:
Lloh2:
	adrp	x8, _PyExc_ValueError@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PyExc_ValueError@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_PLy_exception_set
	b	LBB0_11
LBB0_4:
Lloh7:
	adrp	x8, _PyExc_ValueError@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PyExc_ValueError@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_PLy_exception_set
	b	LBB0_11
LBB0_5:
Lloh12:
	adrp	x20, _explicit_subtransactions@GOTPAGE
Lloh13:
	ldr	x20, [x20, _explicit_subtransactions@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh14:
	adrp	x9, _NIL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _NIL@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
Lloh17:
	adrp	x8, _PyExc_ValueError@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PyExc_ValueError@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_PLy_exception_set
	b	LBB0_11
LBB0_7:
	mov	w8, #1
	str	w8, [x19]
	ldr	x8, [sp, #24]
Lloh22:
	adrp	x9, _Py_None@GOTPAGE
Lloh23:
	ldr	x9, [x9, _Py_None@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.8:
	bl	_RollbackAndReleaseCurrentSubTransaction
	b	LBB0_10
LBB0_9:
	bl	_ReleaseCurrentSubTransaction
LBB0_10:
	ldr	x0, [x20]
	bl	_linitial
	mov	x19, x0
	ldr	x0, [x20]
	bl	_list_delete_first
	str	x0, [x20]
	ldr	w0, [x19, #4]
	bl	_MemoryContextSwitchTo
	ldr	w8, [x19]
Lloh25:
	adrp	x9, _CurrentResourceOwner@GOTPAGE
Lloh26:
	ldr	x9, [x9, _CurrentResourceOwner@GOTPAGEOFF]
Lloh27:
	str	w8, [x9]
	mov	x0, x19
	bl	_pfree
LBB0_11:
	mov	x0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OOO"

	.comm	_PyExc_ValueError,4,2           ; @PyExc_ValueError
l_.str.1:                               ; @.str.1
	.asciz	"this subtransaction has not been entered"

l_.str.2:                               ; @.str.2
	.asciz	"this subtransaction has already been exited"

	.comm	_explicit_subtransactions,8,3   ; @explicit_subtransactions
	.comm	_NIL,8,3                        ; @NIL
l_.str.3:                               ; @.str.3
	.asciz	"there is no subtransaction to exit from"

	.comm	_Py_None,8,3                    ; @Py_None
	.comm	_CurrentResourceOwner,4,2       ; @CurrentResourceOwner
	.comm	_Py_RETURN_NONE,4,2             ; @Py_RETURN_NONE
	.no_dead_strip	_PLy_subtransaction_exit
.subsections_via_symbols
