	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcArrayInstallRestoredXmin   ## -- Begin function ProcArrayInstallRestoredXmin
	.p2align	4, 0x90
_ProcArrayInstallRestoredXmin:          ## @ProcArrayInstallRestoredXmin
	.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	%rsi, %rbx
	movl	%edi, %r14d
	callq	_TransactionIdIsNormal
	movq	%rax, %rdi
	callq	_Assert
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_Assert
	movq	_ProcArrayLock@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_LW_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	_allPgXact@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_UINT32_ACCESS_ONCE
	movl	%eax, %r15d
	movq	8(%rbx), %rax
	movq	_MyDatabaseId@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movl	%r15d, %edi
	callq	_TransactionIdIsNormal
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_TransactionIdPrecedesOrEquals
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_TransactionXmin@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	movq	_MyPgXact@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r14d, (%rax)
	movl	$1, %ebx
LBB0_4:
	movl	(%r12), %edi
	callq	_LWLockRelease
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ProcArrayLock,4,2              ## @ProcArrayLock
	.comm	_LW_SHARED,4,2                  ## @LW_SHARED
	.comm	_allPgXact,8,3                  ## @allPgXact
	.comm	_MyDatabaseId,8,3               ## @MyDatabaseId
	.comm	_TransactionXmin,4,2            ## @TransactionXmin
	.comm	_MyPgXact,8,3                   ## @MyPgXact
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcArrayInstallRestoredXmin   ; -- Begin function ProcArrayInstallRestoredXmin
	.p2align	2
_ProcArrayInstallRestoredXmin:          ; @ProcArrayInstallRestoredXmin
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_TransactionIdIsNormal
	bl	_Assert
	cmp	x21, #0
	cset	w0, ne
	bl	_Assert
Lloh0:
	adrp	x22, _ProcArrayLock@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ProcArrayLock@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x8, _LW_SHARED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LW_SHARED@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_LWLockAcquire
Lloh5:
	adrp	x8, _allPgXact@GOTPAGE
Lloh6:
	ldr	x8, [x8, _allPgXact@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
	bl	_UINT32_ACCESS_ONCE
	ldr	x8, [x21, #8]
Lloh8:
	adrp	x9, _MyDatabaseId@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MyDatabaseId@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x20, x0
	bl	_TransactionIdIsNormal
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_TransactionIdPrecedesOrEquals
	cbz	x0, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _TransactionXmin@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TransactionXmin@GOTPAGEOFF]
Lloh13:
	str	w19, [x8]
Lloh14:
	adrp	x8, _MyPgXact@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MyPgXact@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	str	w19, [x8]
	mov	w19, #1
	b	LBB0_5
LBB0_4:
	mov	w19, #0
LBB0_5:
	ldr	w0, [x22]
	bl	_LWLockRelease
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ProcArrayLock,4,2              ; @ProcArrayLock
	.comm	_LW_SHARED,4,2                  ; @LW_SHARED
	.comm	_allPgXact,8,3                  ; @allPgXact
	.comm	_MyDatabaseId,8,3               ; @MyDatabaseId
	.comm	_TransactionXmin,4,2            ; @TransactionXmin
	.comm	_MyPgXact,8,3                   ; @MyPgXact
.subsections_via_symbols
