	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_register_on_commit_action      ## -- Begin function register_on_commit_action
	.p2align	4, 0x90
_register_on_commit_action:             ## @register_on_commit_action
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ONCOMMIT_NOOP@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r12
	movq	_ONCOMMIT_PRESERVE_ROWS@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_2
## %bb.3:
	movl	%edi, %r15d
	movq	_CacheMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r14d
	movl	$24, %edi
	callq	_palloc
	movq	%rax, %rbx
	movl	%r15d, 16(%rax)
	movq	%r12, 8(%rax)
	xorl	%eax, %eax
	callq	_GetCurrentSubTransactionId
	movl	%eax, 4(%rbx)
	movq	_InvalidSubTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_on_commits@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_lcons
	movl	%eax, (%r15)
	movl	%r14d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MemoryContextSwitchTo          ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ONCOMMIT_NOOP,8,3              ## @ONCOMMIT_NOOP
	.comm	_ONCOMMIT_PRESERVE_ROWS,8,3     ## @ONCOMMIT_PRESERVE_ROWS
	.comm	_CacheMemoryContext,4,2         ## @CacheMemoryContext
	.comm	_InvalidSubTransactionId,4,2    ## @InvalidSubTransactionId
	.comm	_on_commits,4,2                 ## @on_commits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_register_on_commit_action      ; -- Begin function register_on_commit_action
	.p2align	2
_register_on_commit_action:             ; @register_on_commit_action
	.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	x8, _ONCOMMIT_NOOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ONCOMMIT_NOOP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _ONCOMMIT_PRESERVE_ROWS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ONCOMMIT_PRESERVE_ROWS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x1
	ccmp	x9, x1, #4, ne
	b.ne	LBB0_2
; %bb.1:
	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
	ret
LBB0_2:
	mov	x19, x1
	mov	x20, x0
Lloh6:
	adrp	x8, _CacheMemoryContext@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CacheMemoryContext@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_MemoryContextSwitchTo
	mov	x21, x0
	mov	w0, #24
	bl	_palloc
	mov	x22, x0
	str	w20, [x0, #16]
	str	x19, [x0, #8]
	bl	_GetCurrentSubTransactionId
Lloh9:
	adrp	x8, _InvalidSubTransactionId@GOTPAGE
Lloh10:
	ldr	x8, [x8, _InvalidSubTransactionId@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w8, w0, [x22]
Lloh12:
	adrp	x19, _on_commits@GOTPAGE
Lloh13:
	ldr	x19, [x19, _on_commits@GOTPAGEOFF]
	ldr	w1, [x19]
	mov	x0, x22
	bl	_lcons
	str	w0, [x19]
	mov	x0, x21
	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	_MemoryContextSwitchTo
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ONCOMMIT_NOOP,8,3              ; @ONCOMMIT_NOOP
	.comm	_ONCOMMIT_PRESERVE_ROWS,8,3     ; @ONCOMMIT_PRESERVE_ROWS
	.comm	_CacheMemoryContext,4,2         ; @CacheMemoryContext
	.comm	_InvalidSubTransactionId,4,2    ; @InvalidSubTransactionId
	.comm	_on_commits,4,2                 ; @on_commits
.subsections_via_symbols
