	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DecodeUpdate
_DecodeUpdate:                          ## @DecodeUpdate
	.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
	subq	$24, %rsp
	.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, %r15
	movq	8(%rsi), %rbx
	movq	%rbx, %rdi
	callq	_XLogRecGetData
	movq	%rax, %r13
	leaq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_XLogRecGetBlockTag
	movq	-64(%rbp), %rax
	movq	8(%r15), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movq	%rbx, %rdi
	callq	_XLogRecGetOrigin
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_FilterByOrigin
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movl	(%r15), %edi
	callq	_ReorderBufferGetChange
	movq	%rax, %r12
	movq	_REORDER_BUFFER_CHANGE_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r12)
	movq	%rbx, %rdi
	callq	_XLogRecGetOrigin
	movl	%eax, 32(%r12)
	movq	%r12, %rdi
	addq	$24, %rdi
	leaq	-64(%rbp), %rsi
	movl	$8, %edx
	callq	_memcpy
	movl	(%r13), %eax
	movq	_XLH_UPDATE_CONTAINS_NEW_TUPLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_XLogRecGetBlockData
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %esi
	movq	_SizeOfHeapHeader@GOTPCREL(%rip), %rax
	subl	(%rax), %esi
	movl	(%r15), %edi
	callq	_ReorderBufferGetTupleBuf
	movq	%rax, 16(%r12)
	movl	-44(%rbp), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_DecodeXLogTuple
	movl	(%r13), %eax
LBB0_4:
	movq	_XLH_UPDATE_CONTAINS_OLD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_XLogRecGetData
	movq	_SizeOfHeapUpdate@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %r13
	addq	%rax, %r13
	movq	%rbx, %rdi
	callq	_XLogRecGetDataLen
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %r12d
	movq	_SizeOfHeapUpdate@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	movq	_SizeOfHeapHeader@GOTPCREL(%rip), %rax
	movl	%r12d, %esi
	subl	(%rax), %esi
	movl	(%r15), %edi
	callq	_ReorderBufferGetTupleBuf
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_DecodeXLogTuple
LBB0_6:
	movl	$1, (%r12)
	movl	(%r15), %r15d
	movq	%rbx, %rdi
	callq	_XLogRecGetXid
	movl	(%r14), %edx
	movl	%r15d, %edi
	movl	%eax, %esi
	movq	%r12, %rcx
	callq	_ReorderBufferQueueChange
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REORDER_BUFFER_CHANGE_UPDATE,4,2 ## @REORDER_BUFFER_CHANGE_UPDATE
	.comm	_XLH_UPDATE_CONTAINS_NEW_TUPLE,4,2 ## @XLH_UPDATE_CONTAINS_NEW_TUPLE
	.comm	_SizeOfHeapHeader,4,2           ## @SizeOfHeapHeader
	.comm	_XLH_UPDATE_CONTAINS_OLD,4,2    ## @XLH_UPDATE_CONTAINS_OLD
	.comm	_SizeOfHeapUpdate,4,2           ## @SizeOfHeapUpdate
	.no_dead_strip	_DecodeUpdate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DecodeUpdate
_DecodeUpdate:                          ; @DecodeUpdate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x21, x0
	ldr	x20, [x1, #8]
	mov	x0, x20
	bl	_XLogRecGetData
	mov	x23, x0
	add	x2, sp, #8
	mov	x0, x20
	mov	w1, #0
	mov	x3, #0
	mov	x4, #0
	bl	_XLogRecGetBlockTag
	ldr	x8, [sp, #8]
	ldr	x9, [x21, #8]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	mov	x0, x20
	bl	_XLogRecGetOrigin
	mov	x1, x0
	mov	x0, x21
	bl	_FilterByOrigin
	cbnz	x0, LBB0_7
; %bb.2:
	ldr	w0, [x21]
	bl	_ReorderBufferGetChange
	mov	x22, x0
Lloh0:
	adrp	x8, _REORDER_BUFFER_CHANGE_UPDATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REORDER_BUFFER_CHANGE_UPDATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #36]
	mov	x0, x20
	bl	_XLogRecGetOrigin
	str	w0, [x22, #32]
	add	x0, x22, #24
	add	x1, sp, #8
	mov	w2, #8
	bl	_memcpy
	ldr	w8, [x23]
Lloh3:
	adrp	x9, _XLH_UPDATE_CONTAINS_NEW_TUPLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XLH_UPDATE_CONTAINS_NEW_TUPLE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x25, _SizeOfHeapHeader@GOTPAGE
Lloh7:
	ldr	x25, [x25, _SizeOfHeapHeader@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	add	x2, sp, #4
	mov	x0, x20
	mov	w1, #0
	bl	_XLogRecGetBlockData
	mov	x24, x0
	ldr	w8, [sp, #4]
	ldr	w9, [x25]
	sub	w1, w8, w9
	ldr	w0, [x21]
	bl	_ReorderBufferGetTupleBuf
	mov	x2, x0
	str	x0, [x22, #16]
	ldr	w1, [sp, #4]
	mov	x0, x24
	bl	_DecodeXLogTuple
	ldr	w8, [x23]
LBB0_4:
Lloh8:
	adrp	x9, _XLH_UPDATE_CONTAINS_OLD@GOTPAGE
Lloh9:
	ldr	x9, [x9, _XLH_UPDATE_CONTAINS_OLD@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_XLogRecGetData
Lloh11:
	adrp	x24, _SizeOfHeapUpdate@GOTPAGE
Lloh12:
	ldr	x24, [x24, _SizeOfHeapUpdate@GOTPAGEOFF]
	ldrsw	x8, [x24]
	add	x23, x0, x8
	mov	x0, x20
	bl	_XLogRecGetDataLen
	ldr	w8, [x24]
	ldr	w9, [x25]
	sub	w24, w0, w8
	sub	w1, w24, w9
	ldr	w0, [x21]
	bl	_ReorderBufferGetTupleBuf
	mov	x2, x0
	str	x0, [x22, #8]
	mov	x0, x23
	mov	x1, x24
	bl	_DecodeXLogTuple
LBB0_6:
	mov	w8, #1
	str	w8, [x22]
	ldr	w21, [x21]
	mov	x0, x20
	bl	_XLogRecGetXid
	mov	x1, x0
	ldr	w2, [x19]
	mov	x0, x21
	mov	x3, x22
	bl	_ReorderBufferQueueChange
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_REORDER_BUFFER_CHANGE_UPDATE,4,2 ; @REORDER_BUFFER_CHANGE_UPDATE
	.comm	_XLH_UPDATE_CONTAINS_NEW_TUPLE,4,2 ; @XLH_UPDATE_CONTAINS_NEW_TUPLE
	.comm	_SizeOfHeapHeader,4,2           ; @SizeOfHeapHeader
	.comm	_XLH_UPDATE_CONTAINS_OLD,4,2    ; @XLH_UPDATE_CONTAINS_OLD
	.comm	_SizeOfHeapUpdate,4,2           ; @SizeOfHeapUpdate
	.no_dead_strip	_DecodeUpdate
.subsections_via_symbols
