	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SetNewSxactGlobalXmin
_SetNewSxactGlobalXmin:                 ## @SetNewSxactGlobalXmin
	.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	_SerializableXactHashLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWLockHeldByMe
	movl	%eax, %edi
	callq	_Assert
	movq	_InvalidTransactionId@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_PredXact@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movq	%rax, (%rcx)
	movl	$0, 8(%rcx)
	xorl	%eax, %eax
	callq	_FirstPredXact
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %rbx
	movq	_OldCommittedSxact@GOTPCREL(%rip), %r12
	jmp	LBB0_2
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	movq	(%r15), %rcx
	movq	%rax, (%rcx)
	movl	$1, 8(%rcx)
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_NextPredXact
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_SxactIsRolledBack
	testl	%eax, %eax
	jne	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_SxactIsCommitted
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r12), %rbx
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	setne	%dil
	callq	_Assert
	movq	(%r15), %rax
	movq	(%rax), %rdi
	callq	_TransactionIdIsValid
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rdi
	movq	(%r15), %rax
	movq	(%rax), %rsi
	callq	_TransactionIdPrecedes
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rdi
	movq	(%r15), %rax
	movq	(%rax), %rsi
	callq	_TransactionIdEquals
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	incl	8(%rax)
	jmp	LBB0_10
LBB0_11:
	movq	(%r15), %rax
	movq	(%rax), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_OldSerXidSetActiveSerXmin      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SerializableXactHashLock,4,2   ## @SerializableXactHashLock
	.comm	_InvalidTransactionId,8,3       ## @InvalidTransactionId
	.comm	_PredXact,8,3                   ## @PredXact
	.comm	_OldCommittedSxact,8,3          ## @OldCommittedSxact
	.no_dead_strip	_SetNewSxactGlobalXmin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SetNewSxactGlobalXmin
_SetNewSxactGlobalXmin:                 ; @SetNewSxactGlobalXmin
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _SerializableXactHashLock@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SerializableXactHashLock@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_LWLockHeldByMe
	bl	_Assert
Lloh3:
	adrp	x20, _InvalidTransactionId@GOTPAGE
Lloh4:
	ldr	x20, [x20, _InvalidTransactionId@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh5:
	adrp	x21, _PredXact@GOTPAGE
Lloh6:
	ldr	x21, [x21, _PredXact@GOTPAGEOFF]
	ldr	x9, [x21]
	str	x8, [x9]
	str	wzr, [x9, #8]
	bl	_FirstPredXact
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x0
Lloh7:
	adrp	x22, _OldCommittedSxact@GOTPAGE
Lloh8:
	ldr	x22, [x22, _OldCommittedSxact@GOTPAGEOFF]
	mov	w23, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x21]
	str	x8, [x9]
	str	w23, [x9, #8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_NextPredXact
	mov	x19, x0
	cbz	x0, LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_SxactIsRolledBack
	cbnz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_SxactIsCommitted
	cbnz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22]
	cmp	x19, x8
	b.eq	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	cset	w0, ne
	bl	_Assert
	ldr	x8, [x21]
	ldr	x0, [x8]
	bl	_TransactionIdIsValid
	cbz	w0, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19]
	ldr	x8, [x21]
	ldr	x1, [x8]
	bl	_TransactionIdPrecedes
	cbnz	x0, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19]
	ldr	x8, [x21]
	ldr	x1, [x8]
	bl	_TransactionIdEquals
	cbz	x0, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21]
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
	b	LBB0_3
LBB0_11:
	ldr	x8, [x21]
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_OldSerXidSetActiveSerXmin
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SerializableXactHashLock,4,2   ; @SerializableXactHashLock
	.comm	_InvalidTransactionId,8,3       ; @InvalidTransactionId
	.comm	_PredXact,8,3                   ; @PredXact
	.comm	_OldCommittedSxact,8,3          ; @OldCommittedSxact
	.no_dead_strip	_SetNewSxactGlobalXmin
.subsections_via_symbols
