	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReorderBufferSetBaseSnapshot   ## -- Begin function ReorderBufferSetBaseSnapshot
	.p2align	4, 0x90
_ReorderBufferSetBaseSnapshot:          ## @ReorderBufferSetBaseSnapshot
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r12
	xorl	%edi, %edi
	testq	%rcx, %rcx
	setne	%dil
	callq	_AssertArg
	leaq	-36(%rbp), %rcx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	movl	%r14d, %r8d
	movl	$1, %r9d
	callq	_ReorderBufferTXNByXid
	movq	%rax, %rbx
	cmpq	$0, 24(%rax)
	je	LBB0_2
## %bb.1:
	movl	16(%rbx), %esi
	movq	_InvalidXLogRecPtr@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	callq	_ReorderBufferTXNByXid
	movq	%rax, %rbx
LBB0_2:
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	sete	%dil
	callq	_Assert
	movq	%r15, 8(%rbx)
	movl	%r14d, 4(%rbx)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_dlist_push_tail
	movq	%r12, %rdi
	callq	_AssertTXNLsnOrder
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidXLogRecPtr,4,2          ## @InvalidXLogRecPtr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReorderBufferSetBaseSnapshot   ; -- Begin function ReorderBufferSetBaseSnapshot
	.p2align	2
_ReorderBufferSetBaseSnapshot:          ; @ReorderBufferSetBaseSnapshot
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	cmp	x3, #0
	cset	w0, ne
	bl	_AssertArg
	add	x3, sp, #12
	mov	x0, x19
	mov	x1, x22
	mov	w2, #1
	mov	x4, x20
	mov	w5, #1
	bl	_ReorderBufferTXNByXid
	mov	x22, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w1, [x22, #16]
Lloh0:
	adrp	x8, _InvalidXLogRecPtr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x3, #0
	mov	w5, #0
	bl	_ReorderBufferTXNByXid
	mov	x22, x0
LBB0_2:
	ldr	x8, [x22, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	str	x21, [x22, #8]
	str	w20, [x22, #4]
	mov	x0, x19
	mov	x1, x22
	bl	_dlist_push_tail
	mov	x0, x19
	bl	_AssertTXNLsnOrder
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidXLogRecPtr,4,2          ; @InvalidXLogRecPtr
.subsections_via_symbols
