	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ReorderBufferTransferSnapToParent
_ReorderBufferTransferSnapToParent:     ## @ReorderBufferTransferSnapToParent
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rsi), %rax
	xorl	%edi, %edi
	cmpq	8(%rbx), %rax
	sete	%dil
	callq	_Assert
	movq	24(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	16(%r14), %rcx
	cmpq	16(%rbx), %rcx
	jge	LBB0_5
## %bb.3:
	movq	%rax, %rdi
	callq	_SnapBuildSnapDecRefcount
	leaq	32(%rbx), %rdi
	callq	_dlist_delete
	movq	24(%r14), %rdi
LBB0_4:
	movq	%rdi, 24(%rbx)
	movq	16(%r14), %rax
	movq	%rax, 16(%rbx)
	leaq	32(%r14), %r15
	addq	$32, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_dlist_insert_before
	movq	$0, 24(%r14)
	movq	_InvalidXLogRecPtr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dlist_delete                   ## TAILCALL
LBB0_5:
	callq	_SnapBuildSnapDecRefcount
	leaq	32(%r14), %rdi
	callq	_dlist_delete
	movq	$0, 24(%r14)
	movq	_InvalidXLogRecPtr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidXLogRecPtr,8,3          ## @InvalidXLogRecPtr
	.no_dead_strip	_ReorderBufferTransferSnapToParent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ReorderBufferTransferSnapToParent
_ReorderBufferTransferSnapToParent:     ; @ReorderBufferTransferSnapToParent
	.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, x1
	mov	x20, x0
	ldr	x8, [x1]
	ldr	x9, [x0, #8]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x9, [x19, #16]
	ldr	x10, [x20, #16]
	cmp	x9, x10
	b.ge	LBB0_5
; %bb.3:
	mov	x0, x8
	bl	_SnapBuildSnapDecRefcount
	add	x0, x20, #32
	bl	_dlist_delete
	ldr	x0, [x19, #24]
LBB0_4:
	ldr	x8, [x19, #16]
	stp	x8, x0, [x20, #16]
	add	x21, x19, #32
	add	x1, x20, #32
	mov	x0, x21
	bl	_dlist_insert_before
Lloh0:
	adrp	x8, _InvalidXLogRecPtr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stp	x8, xzr, [x19, #16]
	mov	x0, x21
	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	_dlist_delete
LBB0_5:
	bl	_SnapBuildSnapDecRefcount
	add	x0, x19, #32
	bl	_dlist_delete
Lloh3:
	adrp	x8, _InvalidXLogRecPtr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	stp	x8, xzr, [x19, #16]
LBB0_6:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidXLogRecPtr,8,3          ; @InvalidXLogRecPtr
	.no_dead_strip	_ReorderBufferTransferSnapToParent
.subsections_via_symbols
