	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function OldSerXidSetActiveSerXmin
_OldSerXidSetActiveSerXmin:             ## @OldSerXidSetActiveSerXmin
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_OldSerXidLock@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	%rbx, %rdi
	callq	_TransactionIdIsValid
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_RecoveryInProgress
	movq	_oldSerXidControl@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	8(%rcx), %rdi
	shrq	$63, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_Assert
	movq	(%r15), %rax
	movq	(%rax), %rdi
	callq	_TransactionIdIsValid
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_TransactionIdPrecedes
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_10
LBB0_1:
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_oldSerXidControl@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	%rcx, (%rsi)
	movq	(%rax), %rax
	movq	(%rdx), %rcx
	movq	%rax, 16(%rcx)
	jmp	LBB0_10
LBB0_5:
	movq	(%rcx), %rdi
	callq	_TransactionIdIsValid
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_TransactionIdFollows
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	jmp	LBB0_8
LBB0_6:
	movl	$1, %edi
LBB0_8:
	callq	_Assert
LBB0_9:
	movq	(%r15), %rax
	movq	%rbx, (%rax)
LBB0_10:
	movl	(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LWLockRelease                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OldSerXidLock,4,2              ## @OldSerXidLock
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_InvalidTransactionId,8,3       ## @InvalidTransactionId
	.comm	_oldSerXidControl,8,3           ## @oldSerXidControl
	.no_dead_strip	_OldSerXidSetActiveSerXmin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function OldSerXidSetActiveSerXmin
_OldSerXidSetActiveSerXmin:             ; @OldSerXidSetActiveSerXmin
	.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	x19, x0
Lloh0:
	adrp	x20, _OldSerXidLock@GOTPAGE
Lloh1:
	ldr	x20, [x20, _OldSerXidLock@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	mov	x0, x19
	bl	_TransactionIdIsValid
	cbz	w0, LBB0_4
; %bb.1:
	bl	_RecoveryInProgress
Lloh5:
	adrp	x21, _oldSerXidControl@GOTPAGE
Lloh6:
	ldr	x21, [x21, _oldSerXidControl@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x8, [x8, #8]
	lsr	x0, x8, #63
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_Assert
	ldr	x8, [x21]
	ldr	x0, [x8]
	bl	_TransactionIdIsValid
	cbz	w0, LBB0_9
; %bb.3:
	ldr	x8, [x21]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_TransactionIdPrecedes
	cbnz	x0, LBB0_9
	b	LBB0_10
LBB0_4:
Lloh7:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh8:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh9:
	adrp	x9, _oldSerXidControl@GOTPAGE
Lloh10:
	ldr	x9, [x9, _oldSerXidControl@GOTPAGEOFF]
	ldr	x10, [x8]
	ldr	x11, [x9]
	str	x10, [x11]
	ldr	x8, [x8]
	ldr	x9, [x9]
	str	x8, [x9, #16]
	b	LBB0_10
LBB0_5:
	ldr	x0, [x8]
	bl	_TransactionIdIsValid
	cbz	w0, LBB0_7
; %bb.6:
	ldr	x8, [x21]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_TransactionIdFollows
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_8
LBB0_7:
	mov	w0, #1
LBB0_8:
	bl	_Assert
LBB0_9:
	ldr	x8, [x21]
	str	x19, [x8]
LBB0_10:
	ldr	w0, [x20]
	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
	b	_LWLockRelease
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_OldSerXidLock,4,2              ; @OldSerXidLock
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_InvalidTransactionId,8,3       ; @InvalidTransactionId
	.comm	_oldSerXidControl,8,3           ; @oldSerXidControl
	.no_dead_strip	_OldSerXidSetActiveSerXmin
.subsections_via_symbols
