	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TransactionIdGetCommitTsData   ## -- Begin function TransactionIdGetCommitTsData
	.p2align	4, 0x90
_TransactionIdGetCommitTsData:          ## @TransactionIdGetCommitTsData
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movl	%edi, %r13d
	callq	_TransactionIdToCTsPage
	movl	%eax, %ebx
	movl	%r13d, %edi
	callq	_TransactionIdToCTsEntry
	movl	%eax, %r12d
	movl	%r13d, %edi
	callq	_TransactionIdIsValid
	testq	%rax, %rax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	je	LBB0_4
## %bb.1:
	movl	%r13d, %edi
	callq	_TransactionIdIsNormal
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	testq	%r15, %r15
	je	LBB0_18
## %bb.3:
	movl	$0, (%r15)
	jmp	LBB0_18
LBB0_4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movq	%r15, %r14
	movl	(%rax), %r15d
	movq	_ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	callq	_errmsg
	movl	%r15d, %edi
	movq	%r14, %r15
	movl	%eax, %esi
	callq	_ereport
LBB0_5:
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movq	_CommitTsLock@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_LW_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	_commitTsShared@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpl	$0, 12(%rax)
	je	LBB0_11
## %bb.6:
	cmpl	%r13d, 8(%rax)
	jne	LBB0_12
LBB0_7:
	movl	4(%rax), %ecx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%ecx, (%rbx)
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_9:
	movl	(%r12), %edi
LBB0_10:
	callq	_LWLockRelease
	cmpl	$0, (%rbx)
	setne	%al
	jmp	LBB0_19
LBB0_11:
	xorl	%eax, %eax
	callq	_error_commit_ts_disabled
	movq	(%r14), %rax
	cmpl	%r13d, 8(%rax)
	je	LBB0_7
LBB0_12:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	_ShmemVariableCache@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %ebx
	movl	4(%rax), %r15d
	movl	%r15d, %edi
	callq	_TransactionIdIsValid
	movq	%rax, %r14
	movl	%ebx, %edi
	callq	_TransactionIdIsValid
	xorl	%edi, %edi
	cmpq	%rax, %r14
	sete	%dil
	callq	_Assert
	movl	(%r12), %edi
	callq	_LWLockRelease
	movl	%r15d, %edi
	callq	_TransactionIdIsValid
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movl	%r13d, %edi
	movl	%r15d, %esi
	callq	_TransactionIdPrecedes
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_TransactionIdPrecedes
	testq	%rax, %rax
	je	LBB0_20
LBB0_15:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_18
## %bb.16:
	movq	_InvalidRepOriginId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
LBB0_18:
	xorl	%eax, %eax
LBB0_19:
	movzbl	%al, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_CommitTsCtl@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	callq	_SimpleLruReadPage_ReadOnly
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	cltq
	movq	_SizeOfCommitTimestampEntry@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	imull	%edx, %esi
	movslq	%esi, %rsi
	addq	(%rcx,%rax,8), %rsi
	leaq	-72(%rbp), %rdi
	callq	_memcpy
	movl	-68(%rbp), %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, (%rbx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_22
## %bb.21:
	movl	-72(%rbp), %eax
	movl	%eax, (%rcx)
LBB0_22:
	movq	_CommitTsControlLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ## @ERRCODE_INVALID_PARAMETER_VALUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot retrieve commit timestamp for transaction %u"

	.comm	_CommitTsLock,4,2               ## @CommitTsLock
	.comm	_LW_SHARED,4,2                  ## @LW_SHARED
	.comm	_commitTsShared,8,3             ## @commitTsShared
	.comm	_ShmemVariableCache,8,3         ## @ShmemVariableCache
	.comm	_InvalidRepOriginId,4,2         ## @InvalidRepOriginId
	.comm	_CommitTsCtl,8,3                ## @CommitTsCtl
	.comm	_SizeOfCommitTimestampEntry,4,2 ## @SizeOfCommitTimestampEntry
	.comm	_CommitTsControlLock,4,2        ## @CommitTsControlLock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TransactionIdGetCommitTsData   ; -- Begin function TransactionIdGetCommitTsData
	.p2align	2
_TransactionIdGetCommitTsData:          ; @TransactionIdGetCommitTsData
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	bl	_TransactionIdToCTsPage
	mov	x23, x0
	mov	x0, x21
	bl	_TransactionIdToCTsEntry
	mov	x22, x0
	mov	x0, x21
	bl	_TransactionIdIsValid
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x21
	bl	_TransactionIdIsNormal
	cbnz	w0, LBB0_5
; %bb.2:
	str	wzr, [x19]
	mov	w0, #0
	cbz	x20, LBB0_17
; %bb.3:
	str	wzr, [x20]
	b	LBB0_17
LBB0_4:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
Lloh3:
	adrp	x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_errcode
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_errmsg
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_5:
Lloh8:
	adrp	x27, _CommitTsLock@GOTPAGE
Lloh9:
	ldr	x27, [x27, _CommitTsLock@GOTPAGEOFF]
	ldr	w0, [x27]
Lloh10:
	adrp	x8, _LW_SHARED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LW_SHARED@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_LWLockAcquire
Lloh13:
	adrp	x24, _commitTsShared@GOTPAGE
Lloh14:
	ldr	x24, [x24, _commitTsShared@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	w9, [x8, #12]
	cbnz	w9, LBB0_7
; %bb.6:
	bl	_error_commit_ts_disabled
	ldr	x8, [x24]
LBB0_7:
	ldr	w9, [x8, #8]
	cmp	w9, w21
	b.ne	LBB0_12
; %bb.8:
	ldr	w9, [x8, #4]
	str	w9, [x19]
	cbz	x20, LBB0_10
; %bb.9:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_10:
	ldr	w0, [x27]
LBB0_11:
	bl	_LWLockRelease
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, ne
	b	LBB0_17
LBB0_12:
Lloh15:
	adrp	x8, _ShmemVariableCache@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ShmemVariableCache@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldp	w24, w25, [x8]
	mov	x0, x25
	bl	_TransactionIdIsValid
	mov	x26, x0
	mov	x0, x24
	bl	_TransactionIdIsValid
	cmp	x26, x0
	cset	w0, eq
	bl	_Assert
	ldr	w0, [x27]
	bl	_LWLockRelease
	mov	x0, x25
	bl	_TransactionIdIsValid
	cbz	x0, LBB0_15
; %bb.13:
	mov	x0, x21
	mov	x1, x25
	bl	_TransactionIdPrecedes
	cbnz	x0, LBB0_15
; %bb.14:
	mov	x0, x24
	mov	x1, x21
	bl	_TransactionIdPrecedes
	cbz	x0, LBB0_18
LBB0_15:
	str	wzr, [x19]
	mov	w0, #0
	cbz	x20, LBB0_17
; %bb.16:
Lloh18:
	adrp	x8, _InvalidRepOriginId@GOTPAGE
Lloh19:
	ldr	x8, [x8, _InvalidRepOriginId@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_17:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_18:
Lloh21:
	adrp	x24, _CommitTsCtl@GOTPAGE
Lloh22:
	ldr	x24, [x24, _CommitTsCtl@GOTPAGEOFF]
	ldr	x0, [x24]
	mov	x1, x23
	mov	x2, x21
	bl	_SimpleLruReadPage_ReadOnly
	ldr	x8, [x24]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8, w0, sxtw #3]
Lloh23:
	adrp	x9, _SizeOfCommitTimestampEntry@GOTPAGE
Lloh24:
	ldr	x9, [x9, _SizeOfCommitTimestampEntry@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x9]
	mul	w9, w2, w22
	add	x1, x8, w9, sxtw
	add	x0, sp, #8
	bl	_memcpy
	ldr	w8, [sp, #12]
	str	w8, [x19]
	cbz	x20, LBB0_20
; %bb.19:
	ldr	w8, [sp, #8]
	str	w8, [x20]
LBB0_20:
Lloh26:
	adrp	x8, _CommitTsControlLock@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CommitTsControlLock@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	b	LBB0_11
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ; @ERRCODE_INVALID_PARAMETER_VALUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot retrieve commit timestamp for transaction %u"

	.comm	_CommitTsLock,4,2               ; @CommitTsLock
	.comm	_LW_SHARED,4,2                  ; @LW_SHARED
	.comm	_commitTsShared,8,3             ; @commitTsShared
	.comm	_ShmemVariableCache,8,3         ; @ShmemVariableCache
	.comm	_InvalidRepOriginId,4,2         ; @InvalidRepOriginId
	.comm	_CommitTsCtl,8,3                ; @CommitTsCtl
	.comm	_SizeOfCommitTimestampEntry,4,2 ; @SizeOfCommitTimestampEntry
	.comm	_CommitTsControlLock,4,2        ; @CommitTsControlLock
.subsections_via_symbols
