	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function OldSerXidInit
_OldSerXidInit:                         ## @OldSerXidInit
	.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	_OldSerXidPagePrecedesLogically@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_OldSerXidSlruCtl@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movl	%eax, 4(%rdi)
	movq	_NUM_OLDSERXID_BUFFERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_OldSerXidLock@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_LWTRANCHE_OLDSERXID_BUFFERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %r9
	xorl	%ecx, %ecx
	callq	_SimpleLruInit
	movq	(%rbx), %rax
	movl	$0, (%rax)
	leaq	L_.str.2(%rip), %rdi
	leaq	-12(%rbp), %rdx
	movl	$4, %esi
	callq	_ShmemInitStruct
	movq	_oldSerXidControl@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movl	-12(%rbp), %eax
	movq	_IsUnderPostmaster@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_Assert
	cmpl	$0, -12(%rbp)
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movl	$-1, (%rax)
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 16(%rax)
	movq	%rcx, 8(%rax)
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OldSerXidPagePrecedesLogically,4,2 ## @OldSerXidPagePrecedesLogically
	.comm	_OldSerXidSlruCtl,8,3           ## @OldSerXidSlruCtl
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"oldserxid"

	.comm	_NUM_OLDSERXID_BUFFERS,4,2      ## @NUM_OLDSERXID_BUFFERS
	.comm	_OldSerXidLock,4,2              ## @OldSerXidLock
L_.str.1:                               ## @.str.1
	.asciz	"pg_serial"

	.comm	_LWTRANCHE_OLDSERXID_BUFFERS,4,2 ## @LWTRANCHE_OLDSERXID_BUFFERS
L_.str.2:                               ## @.str.2
	.asciz	"OldSerXidControlData"

	.comm	_oldSerXidControl,8,3           ## @oldSerXidControl
	.comm	_IsUnderPostmaster,4,2          ## @IsUnderPostmaster
	.comm	_InvalidTransactionId,8,3       ## @InvalidTransactionId
	.no_dead_strip	_OldSerXidInit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function OldSerXidInit
_OldSerXidInit:                         ; @OldSerXidInit
	.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, _OldSerXidPagePrecedesLogically@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OldSerXidPagePrecedesLogically@GOTPAGEOFF]
Lloh2:
	adrp	x19, _OldSerXidSlruCtl@GOTPAGE
Lloh3:
	ldr	x19, [x19, _OldSerXidSlruCtl@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	x0, [x19]
	str	w8, [x0, #4]
Lloh5:
	adrp	x8, _NUM_OLDSERXID_BUFFERS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NUM_OLDSERXID_BUFFERS@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _OldSerXidLock@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OldSerXidLock@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
Lloh11:
	adrp	x8, _LWTRANCHE_OLDSERXID_BUFFERS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LWTRANCHE_OLDSERXID_BUFFERS@GOTPAGEOFF]
Lloh13:
	ldr	w6, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
Lloh16:
	adrp	x5, l_.str.1@PAGE
Lloh17:
	add	x5, x5, l_.str.1@PAGEOFF
	mov	w3, #0
	bl	_SimpleLruInit
	ldr	x8, [x19]
	str	wzr, [x8]
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	add	x2, sp, #12
	mov	w1, #4
	bl	_ShmemInitStruct
Lloh20:
	adrp	x19, _oldSerXidControl@GOTPAGE
Lloh21:
	ldr	x19, [x19, _oldSerXidControl@GOTPAGEOFF]
	str	x0, [x19]
	ldr	w8, [sp, #12]
Lloh22:
	adrp	x9, _IsUnderPostmaster@GOTPAGE
Lloh23:
	ldr	x9, [x9, _IsUnderPostmaster@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	bl	_Assert
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	mov	w9, #-1
	str	w9, [x8]
Lloh25:
	adrp	x9, _InvalidTransactionId@GOTPAGE
Lloh26:
	ldr	x9, [x9, _InvalidTransactionId@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	stp	x9, x9, [x8, #8]
LBB0_2:
	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	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_OldSerXidPagePrecedesLogically,4,2 ; @OldSerXidPagePrecedesLogically
	.comm	_OldSerXidSlruCtl,8,3           ; @OldSerXidSlruCtl
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"oldserxid"

	.comm	_NUM_OLDSERXID_BUFFERS,4,2      ; @NUM_OLDSERXID_BUFFERS
	.comm	_OldSerXidLock,4,2              ; @OldSerXidLock
l_.str.1:                               ; @.str.1
	.asciz	"pg_serial"

	.comm	_LWTRANCHE_OLDSERXID_BUFFERS,4,2 ; @LWTRANCHE_OLDSERXID_BUFFERS
l_.str.2:                               ; @.str.2
	.asciz	"OldSerXidControlData"

	.comm	_oldSerXidControl,8,3           ; @oldSerXidControl
	.comm	_IsUnderPostmaster,4,2          ; @IsUnderPostmaster
	.comm	_InvalidTransactionId,8,3       ; @InvalidTransactionId
	.no_dead_strip	_OldSerXidInit
.subsections_via_symbols
