	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReleaseCurrentSubTransaction   ## -- Begin function ReleaseCurrentSubTransaction
	.p2align	4, 0x90
_ReleaseCurrentSubTransaction:          ## @ReleaseCurrentSubTransaction
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_CurrentTransactionState@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	xorl	%eax, %eax
	callq	_IsInParallelMode
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_INVALID_TRANSACTION_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movq	(%rbx), %rdi
	movq	_TBLOCK_SUBINPROGRESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	callq	_BlockStateAsString
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	callq	_elog
LBB0_4:
	movq	8(%rbx), %rax
	movq	_TRANS_INPROGRESS@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_Assert
	movq	_CurTransactionContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MemoryContextSwitchTo
	xorl	%eax, %eax
	callq	_CommitSubTransaction
	movq	(%r14), %rax
	movq	8(%rax), %rax
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Assert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CurrentTransactionState,8,3    ## @CurrentTransactionState
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_TRANSACTION_STATE,4,2 ## @ERRCODE_INVALID_TRANSACTION_STATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot commit subtransactions during a parallel operation"

	.comm	_TBLOCK_SUBINPROGRESS,8,3       ## @TBLOCK_SUBINPROGRESS
L_.str.1:                               ## @.str.1
	.asciz	"ReleaseCurrentSubTransaction: unexpected state %s"

	.comm	_TRANS_INPROGRESS,8,3           ## @TRANS_INPROGRESS
	.comm	_CurTransactionContext,4,2      ## @CurTransactionContext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReleaseCurrentSubTransaction   ; -- Begin function ReleaseCurrentSubTransaction
	.p2align	2
_ReleaseCurrentSubTransaction:          ; @ReleaseCurrentSubTransaction
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x20, _CurrentTransactionState@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CurrentTransactionState@GOTPAGEOFF]
	ldr	x21, [x20]
	bl	_IsInParallelMode
Lloh2:
	adrp	x22, _ERROR@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ERROR@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w19, [x22]
Lloh4:
	adrp	x8, _ERRCODE_INVALID_TRANSACTION_STATE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERRCODE_INVALID_TRANSACTION_STATE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_errcode
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_2:
	ldr	x0, [x21]
Lloh9:
	adrp	x8, _TBLOCK_SUBINPROGRESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TBLOCK_SUBINPROGRESS@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
	ldr	w19, [x22]
	bl	_BlockStateAsString
	mov	x2, x0
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_elog
LBB0_4:
	ldr	x8, [x21, #8]
Lloh14:
	adrp	x19, _TRANS_INPROGRESS@GOTPAGE
Lloh15:
	ldr	x19, [x19, _TRANS_INPROGRESS@GOTPAGEOFF]
	ldr	x9, [x19]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
Lloh16:
	adrp	x8, _CurTransactionContext@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CurTransactionContext@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_MemoryContextSwitchTo
	bl	_CommitSubTransaction
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	ldr	x9, [x19]
	cmp	x8, x9
	cset	w0, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Assert
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_CurrentTransactionState,8,3    ; @CurrentTransactionState
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_TRANSACTION_STATE,4,2 ; @ERRCODE_INVALID_TRANSACTION_STATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot commit subtransactions during a parallel operation"

	.comm	_TBLOCK_SUBINPROGRESS,8,3       ; @TBLOCK_SUBINPROGRESS
l_.str.1:                               ; @.str.1
	.asciz	"ReleaseCurrentSubTransaction: unexpected state %s"

	.comm	_TRANS_INPROGRESS,8,3           ; @TRANS_INPROGRESS
	.comm	_CurTransactionContext,4,2      ; @CurTransactionContext
.subsections_via_symbols
