	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CommitSubTransaction
_CommitSubTransaction:                  ## @CommitSubTransaction
	.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	_CurrentTransactionState@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leaq	L_.str(%rip), %rdi
	callq	_ShowTransactionState
	movq	(%rbx), %rdi
	movq	_TRANS_INPROGRESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_2
## %bb.1:
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_TransStateAsString
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_elog
LBB0_2:
	movq	_SUBXACT_EVENT_PRE_COMMIT_SUB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	32(%rbx), %esi
	movq	16(%rbx), %rax
	movl	8(%rax), %edx
	callq	_CallSubXactCallbacks
	xorl	%eax, %eax
	callq	_IsInParallelMode
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	32(%rbx), %esi
	movl	$1, %edi
	callq	_AtEOSubXact_Parallel
	movq	$0, 48(%rbx)
LBB0_4:
	movq	_TRANS_COMMIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	callq	_CommandCounterIncrement
	movl	40(%rbx), %edi
	callq	_FullTransactionIdIsValid
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_AtSubCommit_childXids
LBB0_6:
	movl	$1, %edi
	callq	_AfterTriggerEndSubXact
	movl	32(%rbx), %edi
	movq	16(%rbx), %rax
	movl	8(%rax), %esi
	movq	(%rax), %rdx
	callq	_AtSubCommit_Portals
	movl	32(%rbx), %esi
	movq	16(%rbx), %rax
	movl	8(%rax), %edx
	movl	$1, %edi
	callq	_AtEOSubXact_LargeObject
	xorl	%eax, %eax
	callq	_AtSubCommit_Notify
	movq	_SUBXACT_EVENT_COMMIT_SUB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	32(%rbx), %esi
	movq	16(%rbx), %rax
	movl	8(%rax), %edx
	callq	_CallSubXactCallbacks
	movq	8(%rbx), %rdi
	movq	_RESOURCE_RELEASE_BEFORE_LOCKS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_ResourceOwnerRelease
	movl	32(%rbx), %esi
	movq	16(%rbx), %rax
	movl	8(%rax), %edx
	movl	$1, %edi
	callq	_AtEOSubXact_RelationCache
	movl	$1, %edi
	callq	_AtEOSubXact_Inval
	xorl	%eax, %eax
	callq	_AtSubCommit_smgr
	movq	8(%rbx), %rax
	movq	_CurrentResourceOwner@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	movl	40(%rbx), %edi
	callq	_FullTransactionIdIsValid
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	40(%rbx), %edi
	callq	_XidFromFullTransactionId
	movl	%eax, %edi
	callq	_XactLockTableDelete
LBB0_8:
	movq	8(%rbx), %rdi
	movq	_RESOURCE_RELEASE_LOCKS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_ResourceOwnerRelease
	movq	8(%rbx), %rdi
	movq	_RESOURCE_RELEASE_AFTER_LOCKS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_ResourceOwnerRelease
	movl	36(%rbx), %esi
	movl	$1, %edi
	callq	_AtEOXact_GUC
	movl	32(%rbx), %esi
	movl	$1, %edi
	callq	_AtEOSubXact_SPI
	movl	32(%rbx), %esi
	movq	16(%rbx), %rax
	movl	8(%rax), %edx
	movl	$1, %edi
	callq	_AtEOSubXact_on_commit_actions
	movl	32(%rbx), %esi
	movq	16(%rbx), %rax
	movl	8(%rax), %edx
	movl	$1, %edi
	callq	_AtEOSubXact_Namespace
	movl	32(%rbx), %esi
	movq	16(%rbx), %rax
	movl	8(%rax), %edx
	movl	$1, %edi
	callq	_AtEOSubXact_Files
	movl	28(%rbx), %esi
	movl	$1, %edi
	callq	_AtEOSubXact_HashTables
	movl	28(%rbx), %esi
	movl	$1, %edi
	callq	_AtEOSubXact_PgStat
	movl	28(%rbx), %edi
	callq	_AtSubCommit_Snapshot
	movl	28(%rbx), %esi
	movl	$1, %edi
	callq	_AtEOSubXact_ApplyLauncher
	movl	24(%rbx), %eax
	movq	_XactReadOnly@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	16(%rbx), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%r14)
	movq	(%rax), %rax
	movq	_CurTransactionResourceOwner@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	8(%rbx), %rdi
	callq	_ResourceOwnerDelete
	movq	$0, 8(%rbx)
	xorl	%eax, %eax
	callq	_AtSubCommit_Memory
	movq	_TRANS_DEFAULT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_PopTransaction                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CurrentTransactionState,8,3    ## @CurrentTransactionState
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CommitSubTransaction"

	.comm	_TRANS_INPROGRESS,8,3           ## @TRANS_INPROGRESS
	.comm	_WARNING,4,2                    ## @WARNING
L_.str.1:                               ## @.str.1
	.asciz	"CommitSubTransaction while in %s state"

	.comm	_SUBXACT_EVENT_PRE_COMMIT_SUB,4,2 ## @SUBXACT_EVENT_PRE_COMMIT_SUB
	.comm	_TRANS_COMMIT,8,3               ## @TRANS_COMMIT
	.comm	_SUBXACT_EVENT_COMMIT_SUB,4,2   ## @SUBXACT_EVENT_COMMIT_SUB
	.comm	_RESOURCE_RELEASE_BEFORE_LOCKS,4,2 ## @RESOURCE_RELEASE_BEFORE_LOCKS
	.comm	_CurrentResourceOwner,8,3       ## @CurrentResourceOwner
	.comm	_RESOURCE_RELEASE_LOCKS,4,2     ## @RESOURCE_RELEASE_LOCKS
	.comm	_RESOURCE_RELEASE_AFTER_LOCKS,4,2 ## @RESOURCE_RELEASE_AFTER_LOCKS
	.comm	_XactReadOnly,4,2               ## @XactReadOnly
	.comm	_CurTransactionResourceOwner,8,3 ## @CurTransactionResourceOwner
	.comm	_TRANS_DEFAULT,8,3              ## @TRANS_DEFAULT
	.no_dead_strip	_CommitSubTransaction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CommitSubTransaction
_CommitSubTransaction:                  ; @CommitSubTransaction
	.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
Lloh0:
	adrp	x8, _CurrentTransactionState@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CurrentTransactionState@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ShowTransactionState
	ldr	x0, [x20]
Lloh5:
	adrp	x8, _TRANS_INPROGRESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRANS_INPROGRESS@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _WARNING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
	bl	_TransStateAsString
	mov	x2, x0
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_elog
LBB0_2:
Lloh13:
	adrp	x8, _SUBXACT_EVENT_PRE_COMMIT_SUB@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SUBXACT_EVENT_PRE_COMMIT_SUB@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	w1, [x20, #32]
	ldr	x8, [x20, #16]
	ldr	w2, [x8, #8]
	bl	_CallSubXactCallbacks
	bl	_IsInParallelMode
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w1, [x20, #32]
	mov	w0, #1
	bl	_AtEOSubXact_Parallel
	str	xzr, [x20, #48]
LBB0_4:
Lloh16:
	adrp	x8, _TRANS_COMMIT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TRANS_COMMIT@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	x8, [x20]
	bl	_CommandCounterIncrement
	ldr	w0, [x20, #40]
	bl	_FullTransactionIdIsValid
	cbz	x0, LBB0_6
; %bb.5:
	bl	_AtSubCommit_childXids
LBB0_6:
	mov	w0, #1
	bl	_AfterTriggerEndSubXact
	ldr	w0, [x20, #32]
	ldr	x8, [x20, #16]
	ldr	w1, [x8, #8]
	ldr	x2, [x8]
	bl	_AtSubCommit_Portals
	ldr	w1, [x20, #32]
	ldr	x8, [x20, #16]
	ldr	w2, [x8, #8]
	mov	w0, #1
	bl	_AtEOSubXact_LargeObject
	bl	_AtSubCommit_Notify
Lloh19:
	adrp	x8, _SUBXACT_EVENT_COMMIT_SUB@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SUBXACT_EVENT_COMMIT_SUB@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldr	w1, [x20, #32]
	ldr	x8, [x20, #16]
	ldr	w2, [x8, #8]
	bl	_CallSubXactCallbacks
	ldr	x0, [x20, #8]
Lloh22:
	adrp	x8, _RESOURCE_RELEASE_BEFORE_LOCKS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RESOURCE_RELEASE_BEFORE_LOCKS@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	w2, #1
	mov	w3, #0
	bl	_ResourceOwnerRelease
	ldr	w1, [x20, #32]
	ldr	x8, [x20, #16]
	ldr	w2, [x8, #8]
	mov	w0, #1
	bl	_AtEOSubXact_RelationCache
	mov	w0, #1
	bl	_AtEOSubXact_Inval
	bl	_AtSubCommit_smgr
	ldr	x8, [x20, #8]
Lloh25:
	adrp	x19, _CurrentResourceOwner@GOTPAGE
Lloh26:
	ldr	x19, [x19, _CurrentResourceOwner@GOTPAGEOFF]
	str	x8, [x19]
	ldr	w0, [x20, #40]
	bl	_FullTransactionIdIsValid
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x20, #40]
	bl	_XidFromFullTransactionId
	bl	_XactLockTableDelete
LBB0_8:
	ldr	x0, [x20, #8]
Lloh27:
	adrp	x8, _RESOURCE_RELEASE_LOCKS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RESOURCE_RELEASE_LOCKS@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	w2, #1
	mov	w3, #0
	bl	_ResourceOwnerRelease
	ldr	x0, [x20, #8]
Lloh30:
	adrp	x8, _RESOURCE_RELEASE_AFTER_LOCKS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RESOURCE_RELEASE_AFTER_LOCKS@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	w2, #1
	mov	w3, #0
	bl	_ResourceOwnerRelease
	ldr	w1, [x20, #36]
	mov	w0, #1
	bl	_AtEOXact_GUC
	ldr	w1, [x20, #32]
	mov	w0, #1
	bl	_AtEOSubXact_SPI
	ldr	w1, [x20, #32]
	ldr	x8, [x20, #16]
	ldr	w2, [x8, #8]
	mov	w0, #1
	bl	_AtEOSubXact_on_commit_actions
	ldr	w1, [x20, #32]
	ldr	x8, [x20, #16]
	ldr	w2, [x8, #8]
	mov	w0, #1
	bl	_AtEOSubXact_Namespace
	ldr	w1, [x20, #32]
	ldr	x8, [x20, #16]
	ldr	w2, [x8, #8]
	mov	w0, #1
	bl	_AtEOSubXact_Files
	ldr	w1, [x20, #28]
	mov	w0, #1
	bl	_AtEOSubXact_HashTables
	ldr	w1, [x20, #28]
	mov	w0, #1
	bl	_AtEOSubXact_PgStat
	ldr	w0, [x20, #28]
	bl	_AtSubCommit_Snapshot
	ldr	w1, [x20, #28]
	mov	w0, #1
	bl	_AtEOSubXact_ApplyLauncher
	ldr	w8, [x20, #24]
Lloh33:
	adrp	x9, _XactReadOnly@GOTPAGE
Lloh34:
	ldr	x9, [x9, _XactReadOnly@GOTPAGEOFF]
Lloh35:
	str	w8, [x9]
	ldp	x0, x8, [x20, #8]
	ldr	x9, [x8]
	str	x9, [x19]
	ldr	x8, [x8]
Lloh36:
	adrp	x9, _CurTransactionResourceOwner@GOTPAGE
Lloh37:
	ldr	x9, [x9, _CurTransactionResourceOwner@GOTPAGEOFF]
Lloh38:
	str	x8, [x9]
	bl	_ResourceOwnerDelete
	str	xzr, [x20, #8]
	bl	_AtSubCommit_Memory
Lloh39:
	adrp	x8, _TRANS_DEFAULT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _TRANS_DEFAULT@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	str	x8, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PopTransaction
	.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	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotStr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotStr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_CurrentTransactionState,8,3    ; @CurrentTransactionState
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CommitSubTransaction"

	.comm	_TRANS_INPROGRESS,8,3           ; @TRANS_INPROGRESS
	.comm	_WARNING,4,2                    ; @WARNING
l_.str.1:                               ; @.str.1
	.asciz	"CommitSubTransaction while in %s state"

	.comm	_SUBXACT_EVENT_PRE_COMMIT_SUB,4,2 ; @SUBXACT_EVENT_PRE_COMMIT_SUB
	.comm	_TRANS_COMMIT,8,3               ; @TRANS_COMMIT
	.comm	_SUBXACT_EVENT_COMMIT_SUB,4,2   ; @SUBXACT_EVENT_COMMIT_SUB
	.comm	_RESOURCE_RELEASE_BEFORE_LOCKS,4,2 ; @RESOURCE_RELEASE_BEFORE_LOCKS
	.comm	_CurrentResourceOwner,8,3       ; @CurrentResourceOwner
	.comm	_RESOURCE_RELEASE_LOCKS,4,2     ; @RESOURCE_RELEASE_LOCKS
	.comm	_RESOURCE_RELEASE_AFTER_LOCKS,4,2 ; @RESOURCE_RELEASE_AFTER_LOCKS
	.comm	_XactReadOnly,4,2               ; @XactReadOnly
	.comm	_CurTransactionResourceOwner,8,3 ; @CurTransactionResourceOwner
	.comm	_TRANS_DEFAULT,8,3              ; @TRANS_DEFAULT
	.no_dead_strip	_CommitSubTransaction
.subsections_via_symbols
