	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CommitTsShmemInit              ## -- Begin function CommitTsShmemInit
	.p2align	4, 0x90
_CommitTsShmemInit:                     ## @CommitTsShmemInit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	_CommitTsPagePrecedes@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_CommitTsCtl@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	callq	_CommitTsShmemBuffers
	movq	_CommitTsControlLock@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_LWTRANCHE_COMMITTS_BUFFERS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %r9
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_SimpleLruInit
	leaq	L_.str.2(%rip), %rdi
	leaq	-12(%rbp), %rdx
	movl	$4, %esi
	callq	_ShmemInitStruct
	movq	_commitTsShared@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movq	_IsUnderPostmaster@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movl	-12(%rbp), %edi
	je	LBB0_1
## %bb.2:
	callq	_Assert
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
	testl	%edi, %edi
	sete	%al
	movl	%eax, %edi
	callq	_Assert
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, 12(%rcx)
	movl	8(%rcx), %edi
	callq	_TIMESTAMP_NOBEGIN
	movq	_InvalidRepOriginId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, 4(%rcx)
	movl	$0, (%rcx)
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CommitTsPagePrecedes,4,2       ## @CommitTsPagePrecedes
	.comm	_CommitTsCtl,8,3                ## @CommitTsCtl
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"commit_timestamp"

	.comm	_CommitTsControlLock,4,2        ## @CommitTsControlLock
L_.str.1:                               ## @.str.1
	.asciz	"pg_commit_ts"

	.comm	_LWTRANCHE_COMMITTS_BUFFERS,4,2 ## @LWTRANCHE_COMMITTS_BUFFERS
L_.str.2:                               ## @.str.2
	.asciz	"CommitTs shared"

	.comm	_commitTsShared,8,3             ## @commitTsShared
	.comm	_IsUnderPostmaster,4,2          ## @IsUnderPostmaster
	.comm	_InvalidTransactionId,4,2       ## @InvalidTransactionId
	.comm	_InvalidRepOriginId,4,2         ## @InvalidRepOriginId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CommitTsShmemInit              ; -- Begin function CommitTsShmemInit
	.p2align	2
_CommitTsShmemInit:                     ; @CommitTsShmemInit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _CommitTsPagePrecedes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CommitTsPagePrecedes@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CommitTsCtl@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CommitTsCtl@GOTPAGEOFF]
Lloh5:
	ldr	x19, [x9]
	str	w8, [x19]
	bl	_CommitTsShmemBuffers
	mov	x2, x0
Lloh6:
	adrp	x8, _CommitTsControlLock@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CommitTsControlLock@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
Lloh9:
	adrp	x8, _LWTRANCHE_COMMITTS_BUFFERS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LWTRANCHE_COMMITTS_BUFFERS@GOTPAGEOFF]
Lloh11:
	ldr	w6, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
Lloh14:
	adrp	x5, l_.str.1@PAGE
Lloh15:
	add	x5, x5, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_SimpleLruInit
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	add	x2, sp, #12
	mov	w1, #4
	bl	_ShmemInitStruct
Lloh18:
	adrp	x19, _commitTsShared@GOTPAGE
Lloh19:
	ldr	x19, [x19, _commitTsShared@GOTPAGEOFF]
	str	x0, [x19]
Lloh20:
	adrp	x8, _IsUnderPostmaster@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IsUnderPostmaster@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w0, [sp, #12]
	cbz	w8, LBB0_2
; %bb.1:
	bl	_Assert
	b	LBB0_3
LBB0_2:
	cmp	w0, #0
	cset	w0, eq
	bl	_Assert
Lloh23:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh24:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	x9, [x19]
	str	w8, [x9, #12]
	ldr	w0, [x9, #8]
	bl	_TIMESTAMP_NOBEGIN
Lloh26:
	adrp	x8, _InvalidRepOriginId@GOTPAGE
Lloh27:
	ldr	x8, [x8, _InvalidRepOriginId@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	ldr	x9, [x19]
	stp	wzr, w8, [x9]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_CommitTsPagePrecedes,4,2       ; @CommitTsPagePrecedes
	.comm	_CommitTsCtl,8,3                ; @CommitTsCtl
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"commit_timestamp"

	.comm	_CommitTsControlLock,4,2        ; @CommitTsControlLock
l_.str.1:                               ; @.str.1
	.asciz	"pg_commit_ts"

	.comm	_LWTRANCHE_COMMITTS_BUFFERS,4,2 ; @LWTRANCHE_COMMITTS_BUFFERS
l_.str.2:                               ; @.str.2
	.asciz	"CommitTs shared"

	.comm	_commitTsShared,8,3             ; @commitTsShared
	.comm	_IsUnderPostmaster,4,2          ; @IsUnderPostmaster
	.comm	_InvalidTransactionId,4,2       ; @InvalidTransactionId
	.comm	_InvalidRepOriginId,4,2         ; @InvalidRepOriginId
.subsections_via_symbols
