	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DecodeTruncate
_DecodeTruncate:                        ## @DecodeTruncate
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	8(%rsi), %r15
	movq	%r15, %rdi
	callq	_XLogRecGetData
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	8(%r12), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movq	%r15, %rdi
	callq	_XLogRecGetOrigin
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_FilterByOrigin
	testq	%rax, %rax
	je	LBB0_2
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	(%r12), %edi
	callq	_ReorderBufferGetChange
	movq	%rax, %r13
	movq	_REORDER_BUFFER_CHANGE_TRUNCATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r13)
	movq	%r15, %rdi
	callq	_XLogRecGetOrigin
	movl	%eax, 16(%r13)
	movl	8(%rbx), %eax
	movq	_XLH_TRUNCATE_CASCADE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movl	$1, (%r13)
LBB0_4:
	movq	_XLH_TRUNCATE_RESTART_SEQS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movl	$1, 4(%r13)
LBB0_6:
	movl	12(%rbx), %esi
	movl	%esi, 8(%r13)
	movl	(%r12), %edi
	callq	_ReorderBufferGetRelids
	movl	%eax, 12(%r13)
	movl	12(%rbx), %edx
	movl	16(%rbx), %esi
	shll	$2, %edx
	movl	%eax, %edi
	callq	_memcpy
	movl	(%r12), %ebx
	movq	%r15, %rdi
	callq	_XLogRecGetXid
	movl	(%r14), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%r13, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ReorderBufferQueueChange       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REORDER_BUFFER_CHANGE_TRUNCATE,4,2 ## @REORDER_BUFFER_CHANGE_TRUNCATE
	.comm	_XLH_TRUNCATE_CASCADE,4,2       ## @XLH_TRUNCATE_CASCADE
	.comm	_XLH_TRUNCATE_RESTART_SEQS,4,2  ## @XLH_TRUNCATE_RESTART_SEQS
	.no_dead_strip	_DecodeTruncate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DecodeTruncate
_DecodeTruncate:                        ; @DecodeTruncate
	.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
	mov	x19, x1
	mov	x21, x0
	ldr	x20, [x1, #8]
	mov	x0, x20
	bl	_XLogRecGetData
	ldr	x8, [x0]
	ldr	x9, [x21, #8]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x22, x0
	mov	x0, x20
	bl	_XLogRecGetOrigin
	mov	x1, x0
	mov	x0, x21
	bl	_FilterByOrigin
	cbz	x0, LBB0_3
LBB0_2:
	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
	ret
LBB0_3:
	ldr	w0, [x21]
	bl	_ReorderBufferGetChange
	mov	x23, x0
Lloh0:
	adrp	x8, _REORDER_BUFFER_CHANGE_TRUNCATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REORDER_BUFFER_CHANGE_TRUNCATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #20]
	mov	x0, x20
	bl	_XLogRecGetOrigin
	str	w0, [x23, #16]
	ldr	w8, [x22, #8]
Lloh3:
	adrp	x9, _XLH_TRUNCATE_CASCADE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XLH_TRUNCATE_CASCADE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	mov	w9, #1
	str	w9, [x23]
LBB0_5:
Lloh6:
	adrp	x9, _XLH_TRUNCATE_RESTART_SEQS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _XLH_TRUNCATE_RESTART_SEQS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	mov	w8, #1
	str	w8, [x23, #4]
LBB0_7:
	ldr	w1, [x22, #12]
	str	w1, [x23, #8]
	ldr	w0, [x21]
	bl	_ReorderBufferGetRelids
	str	w0, [x23, #12]
	ldp	w8, w1, [x22, #12]
	lsl	w2, w8, #2
	bl	_memcpy
	ldr	w21, [x21]
	mov	x0, x20
	bl	_XLogRecGetXid
	mov	x1, x0
	ldr	w2, [x19]
	mov	x0, x21
	mov	x3, x23
	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	_ReorderBufferQueueChange
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_REORDER_BUFFER_CHANGE_TRUNCATE,4,2 ; @REORDER_BUFFER_CHANGE_TRUNCATE
	.comm	_XLH_TRUNCATE_CASCADE,4,2       ; @XLH_TRUNCATE_CASCADE
	.comm	_XLH_TRUNCATE_RESTART_SEQS,4,2  ; @XLH_TRUNCATE_RESTART_SEQS
	.no_dead_strip	_DecodeTruncate
.subsections_via_symbols
