	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DecodeLogicalMsgOp
_DecodeLogicalMsgOp:                    ## @DecodeLogicalMsgOp
	.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	%rdi, %r13
	movq	24(%rdi), %r15
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %r14
	movq	%r14, %rdi
	callq	_XLogRecGetXid
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_XLogRecGetInfo
	movq	_XLR_INFO_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
	notq	%r12
	andq	%rax, %r12
	movq	%r14, %rdi
	callq	_XLogRecGetOrigin
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_XLOG_LOGICAL_MESSAGE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	callq	_elog
LBB0_2:
	movl	(%r13), %ebx
	movq	%r14, %rdi
	callq	_XLogRecGetXid
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ReorderBufferProcessXid
	movq	%r15, %rdi
	callq	_SnapBuildCurrentState
	movq	_SNAPBUILD_FULL_SNAPSHOT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_12
## %bb.3:
	cmpq	$0, 16(%r13)
	jne	LBB0_12
## %bb.4:
	movq	%r14, %rdi
	callq	_XLogRecGetData
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	8(%r13), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.5:
	movq	%r13, %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_FilterByOrigin
	testq	%rax, %rax
	je	LBB0_6
LBB0_12:
	addq	$24, %rsp
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	cmpq	$0, 24(%r12)
	je	LBB0_9
## %bb.7:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edx
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_SnapBuildProcessChange
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:
	cmpq	$0, 24(%r12)
	jne	LBB0_11
LBB0_9:
	movq	%r15, %rdi
	callq	_SnapBuildCurrentState
	movq	_SNAPBUILD_CONSISTENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.10:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %esi
	movq	%r15, %rdi
	callq	_SnapBuildXactNeedsSkip
	testq	%rax, %rax
	jne	LBB0_12
LBB0_11:
	movq	%r15, %rdi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	callq	_SnapBuildGetOrBuildSnapshot
	movl	(%r13), %edi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	movq	24(%r12), %r8
	movl	12(%r12), %r9d
	movl	16(%r12), %r10d
	movl	8(%r12), %ebx
	addl	%r9d, %ebx
	movl	%r14d, %esi
	movl	%eax, %edx
	pushq	%rbx
	pushq	%r10
	callq	_ReorderBufferQueueMessage
	addq	$40, %rsp
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_XLR_INFO_MASK,8,3              ## @XLR_INFO_MASK
	.comm	_XLOG_LOGICAL_MESSAGE,8,3       ## @XLOG_LOGICAL_MESSAGE
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected RM_LOGICALMSG_ID record type: %u"

	.comm	_SNAPBUILD_FULL_SNAPSHOT,8,3    ## @SNAPBUILD_FULL_SNAPSHOT
	.comm	_SNAPBUILD_CONSISTENT,8,3       ## @SNAPBUILD_CONSISTENT
	.no_dead_strip	_DecodeLogicalMsgOp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DecodeLogicalMsgOp
_DecodeLogicalMsgOp:                    ; @DecodeLogicalMsgOp
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x0
	ldr	x22, [x0, #24]
	ldr	x23, [x1, #8]
	mov	x0, x23
	bl	_XLogRecGetXid
	mov	x21, x0
	mov	x0, x23
	bl	_XLogRecGetInfo
Lloh0:
	adrp	x8, _XLR_INFO_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XLR_INFO_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	bic	x25, x0, x8
	mov	x0, x23
	bl	_XLogRecGetOrigin
	mov	x24, x0
Lloh3:
	adrp	x8, _XLOG_LOGICAL_MESSAGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XLOG_LOGICAL_MESSAGE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x25, x8
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x25
	bl	_elog
LBB0_2:
	ldr	w25, [x20]
	mov	x0, x23
	bl	_XLogRecGetXid
	mov	x1, x0
	ldr	w2, [x19, #4]
	mov	x0, x25
	bl	_ReorderBufferProcessXid
	mov	x0, x22
	bl	_SnapBuildCurrentState
Lloh11:
	adrp	x8, _SNAPBUILD_FULL_SNAPSHOT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SNAPBUILD_FULL_SNAPSHOT@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_6
; %bb.3:
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_6
; %bb.4:
	mov	x0, x23
	bl	_XLogRecGetData
	ldr	x8, [x0]
	ldr	x9, [x20, #8]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	mov	x23, x0
	mov	x0, x20
	mov	x1, x24
	bl	_FilterByOrigin
	cbz	x0, LBB0_7
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x8, [x23, #24]
	cbz	x8, LBB0_10
; %bb.8:
	ldr	w2, [x19, #4]
	mov	x0, x22
	mov	x1, x21
	bl	_SnapBuildProcessChange
	cbz	w0, LBB0_6
; %bb.9:
	ldr	x8, [x23, #24]
	cbnz	x8, LBB0_12
LBB0_10:
	mov	x0, x22
	bl	_SnapBuildCurrentState
Lloh14:
	adrp	x8, _SNAPBUILD_CONSISTENT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SNAPBUILD_CONSISTENT@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.11:
	ldr	w1, [x19, #4]
	mov	x0, x22
	bl	_SnapBuildXactNeedsSkip
	cbnz	x0, LBB0_6
LBB0_12:
	mov	x0, x22
	mov	x1, x21
	bl	_SnapBuildGetOrBuildSnapshot
	mov	x2, x0
	ldr	w0, [x20]
	ldr	w3, [x19]
	ldr	x4, [x23, #24]
	ldp	w5, w6, [x23, #12]
	ldr	w8, [x23, #8]
	add	w7, w8, w5
	mov	x1, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ReorderBufferQueueMessage
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_XLR_INFO_MASK,8,3              ; @XLR_INFO_MASK
	.comm	_XLOG_LOGICAL_MESSAGE,8,3       ; @XLOG_LOGICAL_MESSAGE
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected RM_LOGICALMSG_ID record type: %u"

	.comm	_SNAPBUILD_FULL_SNAPSHOT,8,3    ; @SNAPBUILD_FULL_SNAPSHOT
	.comm	_SNAPBUILD_CONSISTENT,8,3       ; @SNAPBUILD_CONSISTENT
	.no_dead_strip	_DecodeLogicalMsgOp
.subsections_via_symbols
