	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DecodeXLogRecord               ## -- Begin function DecodeXLogRecord
	.p2align	4, 0x90
_DecodeXLogRecord:                      ## @DecodeXLogRecord
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_ResetDecoder
	movq	%rbx, 64(%r15)
	movq	_InvalidRepOriginId@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	_SizeOfXLogRecord@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %r14
	addq	%rax, %rbx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rbx
	subq	%rax, %r14
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
## %bb.2:
	movq	_XLR_BLOCK_ID_DATA_SHORT@GOTPCREL(%rip), %r12
	movq	_XLR_BLOCK_ID_DATA_LONG@GOTPCREL(%rip), %r13
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_64:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rax, %r14
	jle	LBB0_65
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	cmpq	$8, %r14
	jb	LBB0_88
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %r15
	movl	$8, %edx
	leaq	-104(%rbp), %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_memcpy
	movq	%r14, %rax
	leaq	8(%rbx), %rsi
	leaq	-8(%r14), %rax
	movq	-104(%rbp), %rdx
	cmpq	(%r12), %rdx
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	(%r13), %rdx
	je	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_XLR_BLOCK_ID_ORIGIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	movq	%r15, %rbx
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$4, %rax
	jb	LBB0_88
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$4, %edx
	movq	%rbx, %rdi
	callq	_memcpy
	addq	$12, -56(%rbp)                  ## 8-byte Folded Spill
	addq	$-12, %r14
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_64
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_XLR_MAX_BLOCK_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jg	LBB0_62
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	16(%rbx), %rdx
	jle	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdx, 16(%rbx)
	movq	56(%rbx), %r15
	imulq	$112, %rdx, %r12
	movq	$1, (%r15,%r12)
	cmpq	$8, %rax
	jb	LBB0_61
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$8, %edx
	leaq	-88(%rbp), %rdi
	callq	_memcpy
	movq	_BKPBLOCK_FORK_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andq	-88(%rbp), %rax
	movq	%rax, 104(%r15,%r12)
	movq	-88(%rbp), %rax
	movq	%rax, 96(%r15,%r12)
	movq	-88(%rbp), %rax
	xorl	%ecx, %ecx
	movq	_BKPBLOCK_HAS_IMAGE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	andq	%rax, %rdx
	setne	%cl
	movl	%ecx, 8(%r15,%r12)
	xorl	%ecx, %ecx
	movq	_BKPBLOCK_HAS_DATA@GOTPCREL(%rip), %rdx
	andq	(%rdx), %rax
	setne	%cl
	movl	%ecx, 12(%r15,%r12)
	movq	%r14, %r13
	andq	$-4, %r13
	cmpq	$16, %r13
	je	LBB0_61
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r15,%r12), %rbx
	addq	$12, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	16(%rax), %rsi
	leaq	(%r15,%r12), %rdi
	addq	$16, %rdi
	movl	$4, %edx
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
	callq	_memcpy
	cmpl	$0, (%rbx)
	movq	16(%r15,%r12), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_25
	jmp	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_92
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r15,%r12), %rax
	addq	$8, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	20(%rcx), %r9
	movq	%r14, %rcx
	leaq	-20(%r14), %rdi
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	addq	-72(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rax)
	je	LBB0_26
## %bb.30:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$4, %rdi
	jb	LBB0_61
## %bb.31:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r15,%r12), %rdi
	addq	$24, %rdi
	movl	$4, %edx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%r9, %rsi
	callq	_memcpy
	cmpq	$24, %r13
	je	LBB0_61
## %bb.32:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	24(%rax), %rsi
	leaq	(%r15,%r12), %rbx
	addq	$32, %rbx
	movl	$4, %edx
	movq	%rbx, %rdi
	callq	_memcpy
	leaq	-28(%r14), %rax
	cmpq	$8, %rax
	jb	LBB0_61
## %bb.33:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	leaq	(%r15,%r12), %r13
	addq	$4, %r13
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leaq	28(%rbx), %rsi
	leaq	(%r15,%r12), %rdi
	addq	$40, %rdi
	movl	$8, %edx
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	callq	_memcpy
	leaq	36(%rbx), %r9
	movq	%r14, %rax
	leaq	-36(%r14), %rdi
	movq	40(%r15,%r12), %rax
	movq	_BKPIMAGE_APPLY@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	xorl	%edx, %edx
	testq	%rcx, %rax
	setne	%dl
	movl	%edx, (%r13)
	movq	_BKPIMAGE_IS_COMPRESSED@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	testq	%rcx, %rax
	je	LBB0_38
## %bb.34:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_BKPIMAGE_HAS_HOLE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	testq	%rcx, %rax
	je	LBB0_37
## %bb.35:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$4, %rdi
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	jb	LBB0_61
## %bb.36:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r15,%r12), %rdi
	addq	$48, %rdi
	movl	$4, %edx
	movq	%r9, %rsi
	callq	_memcpy
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	addq	$40, %r9
	addq	$-40, %r14
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movq	%r14, %rdi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_40
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_38:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_BLCKSZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	subq	(%rdx), %rcx
	movq	%rcx, 48(%r15,%r12)
	jmp	LBB0_39
LBB0_37:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, 48(%r15,%r12)
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
LBB0_39:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-112(%rbp), %rbx                ## 8-byte Reload
LBB0_40:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rdx), %r8
	addq	%r8, -80(%rbp)                  ## 8-byte Folded Spill
	movq	_BKPIMAGE_HAS_HOLE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rsi
	movq	(%rbx), %rdx
	movq	48(%r15,%r12), %rcx
	testq	%rsi, %rax
	je	LBB0_47
## %bb.41:                              ##   in Loop: Header=BB0_3 Depth=1
	testq	%rdx, %rdx
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_42
## %bb.43:                              ##   in Loop: Header=BB0_3 Depth=1
	testq	%rcx, %rcx
	je	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r8
	jne	LBB0_27
	jmp	LBB0_45
LBB0_47:                                ##   in Loop: Header=BB0_3 Depth=1
	testq	%rdx, %rdx
	jne	LBB0_48
## %bb.49:                              ##   in Loop: Header=BB0_3 Depth=1
	testq	%rcx, %rcx
	jne	LBB0_50
## %bb.52:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_BKPIMAGE_IS_COMPRESSED@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdx
	movq	_BLCKSZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	testq	%rdx, %rax
	je	LBB0_55
## %bb.53:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rcx, %r8
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	jne	LBB0_27
	jmp	LBB0_54
LBB0_55:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rcx, %r8
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	jne	LBB0_56
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_BKPBLOCK_SAME_REL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, -88(%rbp)
	je	LBB0_28
## %bb.57:                              ##   in Loop: Header=BB0_3 Depth=1
	testq	%rsi, %rsi
	je	LBB0_58
## %bb.59:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rsi), %rax
	movq	%rax, 56(%r15,%r12)
	cmpq	$3, %rdi
	ja	LBB0_63
	jmp	LBB0_61
LBB0_28:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$8, %rdi
	jb	LBB0_61
## %bb.29:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdi, %r13
	leaq	(%r15,%r12), %rdi
	addq	$56, %rdi
	movl	$8, %edx
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	%r9, %rsi
	movq	%r9, %r14
	callq	_memcpy
	movq	%r13, %rdi
	movq	%r14, %r9
	addq	$8, %r9
	addq	$-8, %rdi
	cmpq	$3, %rdi
	jbe	LBB0_61
LBB0_63:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdi, %r14
	leaq	(%r15,%r12), %rdi
	addq	$64, %rdi
	movl	$4, %edx
	movq	%r9, %rsi
	movq	%r9, %rbx
	callq	_memcpy
	addq	$4, %rbx
	addq	$-4, %r14
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	_XLR_BLOCK_ID_DATA_SHORT@GOTPCREL(%rip), %r12
	movq	_XLR_BLOCK_ID_DATA_LONG@GOTPCREL(%rip), %r13
	jmp	LBB0_64
LBB0_1:
	xorl	%eax, %eax
LBB0_65:
	cmpq	%rax, %r14
	jne	LBB0_88
LBB0_66:
	movq	$0, -104(%rbp)
	cmpq	$0, 16(%rbx)
	js	LBB0_67
## %bb.68:
	xorl	%eax, %eax
	movq	_BLCKSZ@GOTPCREL(%rip), %r15
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_69
	.p2align	4, 0x90
LBB0_78:                                ##   in Loop: Header=BB0_69 Depth=1
	leaq	(%r12,%rbx), %r13
	addq	$88, %r13
	movq	16(%r12,%rbx), %rdi
	movl	(%r15), %esi
	callq	_Max
	movl	%eax, %edi
	callq	_MAXALIGN
	movq	%rax, 80(%r12,%rbx)
	movq	%rax, %rdi
	callq	_palloc
	movq	%rax, %rdi
	movq	%rax, (%r13)
	movq	16(%r12,%rbx), %rdx
LBB0_79:                                ##   in Loop: Header=BB0_69 Depth=1
	movq	%r14, %rsi
	callq	_memcpy
	addq	16(%r12,%rbx), %r14
LBB0_80:                                ##   in Loop: Header=BB0_69 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	-104(%rbp), %rcx
	leaq	1(%rcx), %rax
	movq	%rax, -104(%rbp)
	cmpq	16(%rbx), %rcx
	jge	LBB0_81
LBB0_69:                                ## =>This Inner Loop Header: Depth=1
	movq	56(%rbx), %r12
	imulq	$112, %rax, %rbx
	cmpl	$0, (%r12,%rbx)
	je	LBB0_80
## %bb.70:                              ##   in Loop: Header=BB0_69 Depth=1
	movb	$1, %al
	cmpl	$0, 8(%r12,%rbx)
	jne	LBB0_72
## %bb.71:                              ##   in Loop: Header=BB0_69 Depth=1
	cmpl	$0, 4(%r12,%rbx)
	sete	%al
LBB0_72:                                ##   in Loop: Header=BB0_69 Depth=1
	leaq	(%r12,%rbx), %r13
	addq	$8, %r13
	movzbl	%al, %edi
	callq	_Assert
	cmpl	$0, (%r13)
	je	LBB0_74
## %bb.73:                              ##   in Loop: Header=BB0_69 Depth=1
	movq	%r14, 72(%r12,%rbx)
	addq	24(%r12,%rbx), %r14
LBB0_74:                                ##   in Loop: Header=BB0_69 Depth=1
	cmpl	$0, 12(%r12,%rbx)
	je	LBB0_80
## %bb.75:                              ##   in Loop: Header=BB0_69 Depth=1
	movq	88(%r12,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_78
## %bb.76:                              ##   in Loop: Header=BB0_69 Depth=1
	movq	16(%r12,%rbx), %rdx
	cmpq	80(%r12,%rbx), %rdx
	jle	LBB0_79
## %bb.77:                              ##   in Loop: Header=BB0_69 Depth=1
	callq	_pfree
	jmp	LBB0_78
LBB0_61:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_88:
	movslq	24(%rbx), %rcx
	leaq	L_.str.9(%rip), %rsi
LBB0_89:
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_report_invalid_record
LBB0_90:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	40(%rbx), %rax
	movq	%rax, (%rcx)
	xorl	%r15d, %r15d
LBB0_91:
	movl	%r15d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_67:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_81:
	movq	8(%rbx), %rdx
	movl	$1, %r15d
	testq	%rdx, %rdx
	jle	LBB0_91
## %bb.82:
	movq	48(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_85
## %bb.83:
	cmpq	32(%rbx), %rdx
	jle	LBB0_86
## %bb.84:
	callq	_pfree
	movq	8(%rbx), %rdx
LBB0_85:
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	movq	%rdx, %rdi
	callq	_Max
	movl	%eax, %edi
	callq	_MAXALIGN
	movq	%rax, 32(%rbx)
	movq	%rax, %rdi
	callq	_palloc
	movq	%rax, %rdi
	movq	%rax, 48(%rbx)
	movq	8(%rbx), %rdx
LBB0_86:
	movq	%r14, %rsi
	callq	_memcpy
	jmp	LBB0_91
LBB0_5:
	cmpq	$8, %rax
	jae	LBB0_6
## %bb.87:
	movq	%r15, %rbx
	jmp	LBB0_88
LBB0_8:
	cmpq	$8, %rax
	movq	%r15, %rbx
	jb	LBB0_88
## %bb.9:
	leaq	-88(%rbp), %rdi
	movl	$8, %edx
	callq	_memcpy
	addq	$16, -56(%rbp)                  ## 8-byte Folded Spill
	addq	$-16, %r14
	movq	-88(%rbp), %rax
	movq	%rax, 8(%rbx)
	jmp	LBB0_10
LBB0_6:
	leaq	-88(%rbp), %rdi
	movl	$8, %edx
	callq	_memcpy
	addq	$16, -56(%rbp)                  ## 8-byte Folded Spill
	addq	$-16, %r14
	movq	-88(%rbp), %rax
	movq	%r15, %rbx
	movq	%rax, 8(%r15)
LBB0_10:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addq	%rax, %rcx
	movq	%rcx, %rax
	cmpq	%rax, %r14
	je	LBB0_66
	jmp	LBB0_88
LBB0_62:
	movslq	24(%rbx), %r8
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_17
LBB0_16:
	movslq	24(%rbx), %r8
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_17
LBB0_22:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movslq	24(%rbx), %rcx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_89
LBB0_58:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movslq	24(%rbx), %rcx
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_89
LBB0_92:
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movslq	24(%rbx), %r8
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_17
LBB0_42:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	xorl	%edx, %edx
	jmp	LBB0_46
LBB0_45:
	movl	%edx, %edx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_46:
	movl	%ecx, %ecx
	movslq	24(%rbx), %rax
	movq	%rax, (%rsp)
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_report_invalid_record
	jmp	LBB0_90
LBB0_48:
	movl	%edx, %edx
	jmp	LBB0_51
LBB0_50:
	xorl	%edx, %edx
LBB0_51:
	movl	%ecx, %ecx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movslq	24(%rbx), %r9
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_report_invalid_record
	jmp	LBB0_90
LBB0_54:
	movl	%r8d, %edx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movslq	24(%rbx), %r8
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_17
LBB0_56:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movslq	24(%rbx), %r8
	leaq	L_.str.6(%rip), %rsi
LBB0_17:
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_report_invalid_record
	jmp	LBB0_90
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidRepOriginId,8,3         ## @InvalidRepOriginId
	.comm	_SizeOfXLogRecord,8,3           ## @SizeOfXLogRecord
	.comm	_XLR_BLOCK_ID_DATA_SHORT,8,3    ## @XLR_BLOCK_ID_DATA_SHORT
	.comm	_XLR_BLOCK_ID_DATA_LONG,8,3     ## @XLR_BLOCK_ID_DATA_LONG
	.comm	_XLR_BLOCK_ID_ORIGIN,8,3        ## @XLR_BLOCK_ID_ORIGIN
	.comm	_XLR_MAX_BLOCK_ID,8,3           ## @XLR_MAX_BLOCK_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out-of-order block_id %u at %X/%X"

	.comm	_BKPBLOCK_FORK_MASK,8,3         ## @BKPBLOCK_FORK_MASK
	.comm	_BKPBLOCK_HAS_IMAGE,8,3         ## @BKPBLOCK_HAS_IMAGE
	.comm	_BKPBLOCK_HAS_DATA,8,3          ## @BKPBLOCK_HAS_DATA
L_.str.1:                               ## @.str.1
	.asciz	"BKPBLOCK_HAS_DATA set, but no data included at %X/%X"

L_.str.2:                               ## @.str.2
	.asciz	"BKPBLOCK_HAS_DATA not set, but data length is %u at %X/%X"

	.comm	_BKPIMAGE_APPLY,4,2             ## @BKPIMAGE_APPLY
	.comm	_BKPIMAGE_IS_COMPRESSED,4,2     ## @BKPIMAGE_IS_COMPRESSED
	.comm	_BKPIMAGE_HAS_HOLE,4,2          ## @BKPIMAGE_HAS_HOLE
	.comm	_BLCKSZ,4,2                     ## @BLCKSZ
L_.str.3:                               ## @.str.3
	.asciz	"BKPIMAGE_HAS_HOLE set, but hole offset %u length %u block image length %u at %X/%X"

L_.str.4:                               ## @.str.4
	.asciz	"BKPIMAGE_HAS_HOLE not set, but hole offset %u length %u at %X/%X"

L_.str.5:                               ## @.str.5
	.asciz	"BKPIMAGE_IS_COMPRESSED set, but block image length %u at %X/%X"

L_.str.6:                               ## @.str.6
	.asciz	"neither BKPIMAGE_HAS_HOLE nor BKPIMAGE_IS_COMPRESSED set, but block image length is %u at %X/%X"

	.comm	_BKPBLOCK_SAME_REL,8,3          ## @BKPBLOCK_SAME_REL
L_.str.7:                               ## @.str.7
	.asciz	"BKPBLOCK_SAME_REL set but no previous rel at %X/%X"

L_.str.8:                               ## @.str.8
	.asciz	"invalid block_id %u at %X/%X"

L_.str.9:                               ## @.str.9
	.asciz	"record with invalid length at %X/%X"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function DecodeXLogRecord
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_DecodeXLogRecord
	.p2align	2
_DecodeXLogRecord:                      ; @DecodeXLogRecord
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	d9, d8, [sp, #96]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	str	x2, [sp, #64]                   ; 8-byte Folded Spill
	mov	x22, x1
	mov	x19, x0
	bl	_ResetDecoder
	str	x22, [x19, #64]
Lloh0:
	adrp	x8, _InvalidRepOriginId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidRepOriginId@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _SizeOfXLogRecord@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SizeOfXLogRecord@GOTPAGEOFF]
	str	x8, [x19]
Lloh5:
	ldr	x8, [x9]
	add	x21, x22, x8
	ldr	x9, [x22]
	sub	x22, x9, x8
	cmp	x22, #1
	b.lt	LBB0_44
; %bb.1:
	str	xzr, [sp, #48]                  ; 8-byte Folded Spill
	mov	x24, #0
Lloh6:
	adrp	x25, _XLR_BLOCK_ID_DATA_SHORT@GOTPAGE
Lloh7:
	ldr	x25, [x25, _XLR_BLOCK_ID_DATA_SHORT@GOTPAGEOFF]
Lloh8:
	adrp	x26, _XLR_BLOCK_ID_DATA_LONG@GOTPAGE
Lloh9:
	ldr	x26, [x26, _XLR_BLOCK_ID_DATA_LONG@GOTPAGEOFF]
Lloh10:
	adrp	x27, _XLR_BLOCK_ID_ORIGIN@GOTPAGE
Lloh11:
	ldr	x27, [x27, _XLR_BLOCK_ID_ORIGIN@GOTPAGEOFF]
Lloh12:
	adrp	x8, lCPI0_0@PAGE
Lloh13:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
	str	x19, [sp, #56]                  ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x22, x24
	b.le	LBB0_45
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	subs	x20, x22, #8
	b.lo	LBB0_70
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #88
	mov	x1, x21
	mov	w2, #8
	bl	_memcpy
	add	x1, x21, #8
	ldr	x23, [sp, #88]
	ldr	x8, [x25]
	cmp	x23, x8
	b.eq	LBB0_68
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x26]
	cmp	x23, x8
	b.eq	LBB0_68
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x27]
	cmp	x23, x8
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x20, #4
	b.lo	LBB0_70
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
	add	x21, x21, #12
	sub	x22, x22, #12
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh14:
	adrp	x8, _XLR_MAX_BLOCK_ID@GOTPAGE
Lloh15:
	ldr	x8, [x8, _XLR_MAX_BLOCK_ID@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x23, x8
	b.gt	LBB0_75
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	cmp	x23, x8
	b.le	LBB0_76
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	str	x23, [x19, #16]
	ldr	x8, [x19, #56]
	mov	w25, #112
	madd	x28, x23, x25, x8
	str	d8, [x28], #4
	cmp	x20, #8
	b.lo	LBB0_70
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #80
	mov	w2, #8
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	bl	_memcpy
	ldp	x11, x8, [sp, #72]              ; 8-byte Folded Reload
Lloh17:
	adrp	x9, _BKPBLOCK_FORK_MASK@GOTPAGE
Lloh18:
	ldr	x9, [x9, _BKPBLOCK_FORK_MASK@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	and	x8, x9, x8
	madd	x20, x23, x25, x11
	str	x8, [x20, #104]
	ldr	x8, [sp, #80]
	str	x8, [x20, #96]
	ldr	x8, [sp, #80]
Lloh20:
	adrp	x9, _BKPBLOCK_HAS_IMAGE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _BKPBLOCK_HAS_IMAGE@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	tst	x9, x8
	cset	w9, ne
Lloh23:
	adrp	x10, _BKPBLOCK_HAS_DATA@GOTPAGE
Lloh24:
	ldr	x10, [x10, _BKPBLOCK_HAS_DATA@GOTPAGEOFF]
Lloh25:
	ldr	x10, [x10]
	tst	x10, x8
	cset	w8, ne
	str	w8, [x20, #12]!
	mov	x26, x20
	str	w9, [x26, #-4]!
	and	x27, x22, #0xfffffffffffffffc
	cmp	x27, #16
	b.eq	LBB0_70
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x19, x24
	add	x1, x21, #16
	madd	x24, x23, x25, x11
	add	x25, x24, #16
	mov	x0, x25
	mov	w2, #4
	bl	_memcpy
	ldr	w9, [x20]
	ldr	x8, [x24, #16]
	cbz	w9, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	cbnz	x8, LBB0_16
	b	LBB0_78
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	x8, LBB0_80
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x25, [sp, #32]                  ; 8-byte Folded Spill
	add	x25, x21, #20
	sub	x20, x22, #20
	mov	x24, x19
	add	x24, x8, x19
	ldr	w8, [x26]
	cbz	w8, LBB0_24
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	x20, #4
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	mov	w20, #112
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	b.lo	LBB0_70
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	madd	x8, x23, x20, x8
	add	x26, x8, #24
	mov	x0, x26
	mov	x1, x25
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	cmp	x27, #24
	b.eq	LBB0_70
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x1, x21, #24
	madd	x8, x23, x20, x8
	add	x27, x8, #32
	mov	x0, x27
	mov	w2, #4
	bl	_memcpy
	ldr	x25, [sp, #72]                  ; 8-byte Folded Reload
	sub	x8, x22, #28
	cmp	x8, #8
	b.lo	LBB0_70
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	str	x24, [sp, #40]                  ; 8-byte Folded Spill
	add	x1, x21, #28
	madd	x24, x23, x20, x25
	add	x0, x24, #40
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	mov	w2, #8
	bl	_memcpy
	add	x1, x21, #36
	sub	x20, x22, #36
	ldr	x8, [x24, #40]
Lloh26:
	adrp	x9, _BKPIMAGE_APPLY@GOTPAGE
Lloh27:
	ldr	x9, [x9, _BKPIMAGE_APPLY@GOTPAGEOFF]
Lloh28:
	ldrsw	x9, [x9]
	tst	x8, x9
	cset	w9, ne
	str	w9, [x28]
Lloh29:
	adrp	x9, _BKPIMAGE_IS_COMPRESSED@GOTPAGE
Lloh30:
	ldr	x9, [x9, _BKPIMAGE_IS_COMPRESSED@GOTPAGEOFF]
Lloh31:
	ldrsw	x9, [x9]
	tst	x8, x9
	b.eq	LBB0_25
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh32:
	adrp	x9, _BKPIMAGE_HAS_HOLE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _BKPIMAGE_HAS_HOLE@GOTPAGEOFF]
Lloh34:
	ldrsw	x9, [x9]
	tst	x8, x9
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	b.eq	LBB0_26
; %bb.22:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	x20, #4
	mov	w8, #112
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	b.lo	LBB0_70
; %bb.23:                               ;   in Loop: Header=BB0_3 Depth=1
	madd	x8, x23, x8, x9
	add	x0, x8, #48
	mov	w2, #4
	bl	_memcpy
	ldr	x15, [sp, #72]                  ; 8-byte Folded Reload
	add	x25, x21, #40
	sub	x20, x22, #40
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	mov	w13, #112
	b	LBB0_28
LBB0_24:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	mov	w13, #112
	ldr	x15, [sp, #72]                  ; 8-byte Folded Reload
	b	LBB0_37
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh35:
	adrp	x9, _BLCKSZ@GOTPAGE
Lloh36:
	ldr	x9, [x9, _BLCKSZ@GOTPAGEOFF]
Lloh37:
	ldrsw	x9, [x9]
	ldr	x10, [x26]
	sub	x9, x9, x10
	mov	w10, #112
	madd	x10, x23, x10, x25
	str	x9, [x10, #48]
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	mov	w13, #112
	mov	x15, x25
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w13, #112
	ldr	x15, [sp, #72]                  ; 8-byte Folded Reload
	madd	x9, x23, x13, x15
	str	xzr, [x9, #48]
LBB0_27:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x1
LBB0_28:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x26]
	add	x24, x9, x24
Lloh38:
	adrp	x10, _BKPIMAGE_HAS_HOLE@GOTPAGE
Lloh39:
	ldr	x10, [x10, _BKPIMAGE_HAS_HOLE@GOTPAGEOFF]
Lloh40:
	ldrsw	x12, [x10]
	ldr	x11, [x27]
	madd	x10, x23, x13, x15
	ldr	x10, [x10, #48]
	tst	x8, x12
	b.eq	LBB0_32
; %bb.29:                               ;   in Loop: Header=BB0_3 Depth=1
	cbz	x11, LBB0_81
; %bb.30:                               ;   in Loop: Header=BB0_3 Depth=1
	cbz	x10, LBB0_82
; %bb.31:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh41:
	adrp	x8, _BLCKSZ@GOTPAGE
Lloh42:
	ldr	x8, [x8, _BLCKSZ@GOTPAGEOFF]
Lloh43:
	ldrsw	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_37
	b	LBB0_82
LBB0_32:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	x11, LBB0_84
; %bb.33:                               ;   in Loop: Header=BB0_3 Depth=1
	cbnz	x10, LBB0_85
; %bb.34:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh44:
	adrp	x10, _BKPIMAGE_IS_COMPRESSED@GOTPAGE
Lloh45:
	ldr	x10, [x10, _BKPIMAGE_IS_COMPRESSED@GOTPAGEOFF]
Lloh46:
	ldrsw	x11, [x10]
Lloh47:
	adrp	x10, _BLCKSZ@GOTPAGE
Lloh48:
	ldr	x10, [x10, _BLCKSZ@GOTPAGEOFF]
Lloh49:
	ldrsw	x10, [x10]
	tst	x8, x11
	b.eq	LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	x9, x10
	b.ne	LBB0_37
	b	LBB0_87
LBB0_36:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x9, x10
	b.ne	LBB0_88
LBB0_37:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #80]
Lloh50:
	adrp	x9, _BKPBLOCK_SAME_REL@GOTPAGE
Lloh51:
	ldr	x9, [x9, _BKPBLOCK_SAME_REL@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	tst	x9, x8
	b.eq	LBB0_40
; %bb.38:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_79
; %bb.39:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8]
	madd	x9, x23, x13, x15
	str	x8, [x9, #56]
	b	LBB0_42
LBB0_40:                                ;   in Loop: Header=BB0_3 Depth=1
	subs	x20, x20, #8
	mov	w8, #112
	b.lo	LBB0_70
; %bb.41:                               ;   in Loop: Header=BB0_3 Depth=1
	madd	x8, x23, x8, x15
	add	x0, x8, #56
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	mov	x1, x25
	mov	w2, #8
	bl	_memcpy
	ldr	x15, [sp, #72]                  ; 8-byte Folded Reload
	add	x25, x25, #8
LBB0_42:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x20, #3
	mov	w8, #112
	b.ls	LBB0_70
; %bb.43:                               ;   in Loop: Header=BB0_3 Depth=1
	madd	x8, x23, x8, x15
	add	x0, x8, #64
	mov	x1, x25
	mov	w2, #4
	bl	_memcpy
	add	x21, x25, #4
	sub	x22, x20, #4
Lloh53:
	adrp	x25, _XLR_BLOCK_ID_DATA_SHORT@GOTPAGE
Lloh54:
	ldr	x25, [x25, _XLR_BLOCK_ID_DATA_SHORT@GOTPAGEOFF]
Lloh55:
	adrp	x26, _XLR_BLOCK_ID_DATA_LONG@GOTPAGE
Lloh56:
	ldr	x26, [x26, _XLR_BLOCK_ID_DATA_LONG@GOTPAGEOFF]
Lloh57:
	adrp	x27, _XLR_BLOCK_ID_ORIGIN@GOTPAGE
Lloh58:
	ldr	x27, [x27, _XLR_BLOCK_ID_ORIGIN@GOTPAGEOFF]
	b	LBB0_2
LBB0_44:
	mov	x24, #0
LBB0_45:
	cmp	x22, x24
	b.ne	LBB0_70
LBB0_46:
	str	xzr, [sp, #88]
	ldr	x8, [x19, #16]
Lloh59:
	adrp	x20, _BLCKSZ@GOTPAGE
Lloh60:
	ldr	x20, [x20, _BLCKSZ@GOTPAGEOFF]
	tbnz	x8, #63, LBB0_61
; %bb.47:
	mov	x23, #0
	mov	w22, #112
	b	LBB0_51
LBB0_48:                                ;   in Loop: Header=BB0_51 Depth=1
	madd	x26, x23, x22, x24
	ldr	x0, [x26, #16]
	ldr	w1, [x20]
	bl	_Max
	bl	_MAXALIGN
	str	x0, [x26, #80]
	bl	_palloc
	str	x0, [x25]
	ldr	x2, [x26, #16]
LBB0_49:                                ;   in Loop: Header=BB0_51 Depth=1
	madd	x23, x23, x22, x24
	mov	x1, x21
	bl	_memcpy
	ldr	x8, [x23, #16]
	add	x21, x21, x8
LBB0_50:                                ;   in Loop: Header=BB0_51 Depth=1
	ldr	x8, [sp, #88]
	add	x23, x8, #1
	str	x23, [sp, #88]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.ge	LBB0_61
LBB0_51:                                ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x19, #56]
	mul	x8, x23, x22
	ldr	w8, [x24, x8]
	cbz	w8, LBB0_50
; %bb.52:                               ;   in Loop: Header=BB0_51 Depth=1
	madd	x25, x23, x22, x24
	ldr	w8, [x25, #8]!
	cbz	w8, LBB0_54
; %bb.53:                               ;   in Loop: Header=BB0_51 Depth=1
	mov	w0, #1
	b	LBB0_55
LBB0_54:                                ;   in Loop: Header=BB0_51 Depth=1
	madd	x8, x23, x22, x24
	ldr	w8, [x8, #4]
	cmp	w8, #0
	cset	w0, eq
LBB0_55:                                ;   in Loop: Header=BB0_51 Depth=1
	bl	_Assert
	ldr	w8, [x25]
	cbz	w8, LBB0_57
; %bb.56:                               ;   in Loop: Header=BB0_51 Depth=1
	madd	x8, x23, x22, x24
	str	x21, [x8, #72]
	ldr	x8, [x8, #24]
	add	x21, x21, x8
LBB0_57:                                ;   in Loop: Header=BB0_51 Depth=1
	madd	x8, x23, x22, x24
	ldr	w8, [x8, #12]
	cbz	w8, LBB0_50
; %bb.58:                               ;   in Loop: Header=BB0_51 Depth=1
	madd	x25, x23, x22, x24
	ldr	x0, [x25, #88]!
	cbz	x0, LBB0_48
; %bb.59:                               ;   in Loop: Header=BB0_51 Depth=1
	madd	x8, x23, x22, x24
	ldr	x2, [x8, #16]
	ldr	x8, [x8, #80]
	cmp	x2, x8
	b.le	LBB0_49
; %bb.60:                               ;   in Loop: Header=BB0_51 Depth=1
	bl	_pfree
	b	LBB0_48
LBB0_61:
	ldr	x2, [x19, #8]
	cmp	x2, #1
	b.lt	LBB0_67
; %bb.62:
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_65
; %bb.63:
	ldr	x8, [x19, #32]
	cmp	x2, x8
	b.le	LBB0_66
; %bb.64:
	bl	_pfree
	ldr	x2, [x19, #8]
LBB0_65:
	ldr	w8, [x20]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w1, w8, #1
	mov	x0, x2
	bl	_Max
	bl	_MAXALIGN
	str	x0, [x19, #32]
	bl	_palloc
	str	x0, [x19, #48]
	ldr	x2, [x19, #8]
LBB0_66:
	mov	x1, x21
	bl	_memcpy
LBB0_67:
	mov	w0, #1
	b	LBB0_74
LBB0_68:
	cmp	x20, #8
	b.lo	LBB0_70
; %bb.69:
	add	x0, sp, #80
	mov	w2, #8
	bl	_memcpy
	add	x21, x21, #16
	sub	x22, x22, #16
	ldr	x8, [sp, #80]
	str	x8, [x19, #8]
	add	x24, x8, x24
	cmp	x22, x24
	b.eq	LBB0_46
LBB0_70:
	ldrsw	x3, [x19, #24]
Lloh61:
	adrp	x1, l_.str.9@PAGE
Lloh62:
	add	x1, x1, l_.str.9@PAGEOFF
                                        ; implicit-def: $x2
                                        ; implicit-def: $w2
LBB0_71:
	mov	x0, x19
LBB0_72:
	bl	_report_invalid_record
	ldr	x20, [sp, #64]                  ; 8-byte Folded Reload
LBB0_73:
	mov	w0, #0
	ldr	x8, [x19, #40]
	str	x8, [x20]
LBB0_74:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #96]               ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_75:
	ldrsw	x8, [x19, #24]
	str	x8, [sp]
Lloh63:
	adrp	x1, l_.str.8@PAGE
Lloh64:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_77
LBB0_76:
	ldrsw	x8, [x19, #24]
	str	x8, [sp]
Lloh65:
	adrp	x1, l_.str@PAGE
Lloh66:
	add	x1, x1, l_.str@PAGEOFF
LBB0_77:
	mov	x0, x19
	mov	x2, x23
                                        ; implicit-def: $x3
	b	LBB0_72
LBB0_78:
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	ldrsw	x3, [x19, #24]
Lloh67:
	adrp	x1, l_.str.1@PAGE
Lloh68:
	add	x1, x1, l_.str.1@PAGEOFF
                                        ; implicit-def: $x2
	b	LBB0_71
LBB0_79:
	ldrsw	x3, [x19, #24]
Lloh69:
	adrp	x1, l_.str.7@PAGE
Lloh70:
	add	x1, x1, l_.str.7@PAGEOFF
                                        ; implicit-def: $x2
	b	LBB0_71
LBB0_80:
	and	x2, x8, #0xffffffff
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	ldrsw	x8, [x19, #24]
	str	x8, [sp]
Lloh71:
	adrp	x1, l_.str.2@PAGE
Lloh72:
	add	x1, x1, l_.str.2@PAGEOFF
                                        ; implicit-def: $x3
	b	LBB0_71
LBB0_81:
	mov	x2, #0
	b	LBB0_83
LBB0_82:
	and	x2, x11, #0xffffffff
LBB0_83:
	ldr	x20, [sp, #64]                  ; 8-byte Folded Reload
	and	x3, x10, #0xffffffff
	ldrsw	x8, [x19, #24]
	str	x8, [sp, #16]
	str	x9, [sp]
Lloh73:
	adrp	x1, l_.str.3@PAGE
Lloh74:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_report_invalid_record
	b	LBB0_73
LBB0_84:
	and	x2, x11, #0xffffffff
	b	LBB0_86
LBB0_85:
	mov	x2, #0
LBB0_86:
	and	x3, x10, #0xffffffff
	ldrsw	x8, [x19, #24]
	str	x8, [sp, #8]
Lloh75:
	adrp	x1, l_.str.4@PAGE
Lloh76:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_71
LBB0_87:
	and	x2, x9, #0xffffffff
	ldrsw	x8, [x19, #24]
	str	x8, [sp]
Lloh77:
	adrp	x1, l_.str.5@PAGE
Lloh78:
	add	x1, x1, l_.str.5@PAGEOFF
                                        ; implicit-def: $x3
	b	LBB0_71
LBB0_88:
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w2, [x8]
	ldrsw	x8, [x19, #24]
	str	x8, [sp]
Lloh79:
	adrp	x1, l_.str.6@PAGE
Lloh80:
	add	x1, x1, l_.str.6@PAGEOFF
                                        ; implicit-def: $x3
	b	LBB0_71
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh79, Lloh80
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidRepOriginId,8,3         ; @InvalidRepOriginId
	.comm	_SizeOfXLogRecord,8,3           ; @SizeOfXLogRecord
	.comm	_XLR_BLOCK_ID_DATA_SHORT,8,3    ; @XLR_BLOCK_ID_DATA_SHORT
	.comm	_XLR_BLOCK_ID_DATA_LONG,8,3     ; @XLR_BLOCK_ID_DATA_LONG
	.comm	_XLR_BLOCK_ID_ORIGIN,8,3        ; @XLR_BLOCK_ID_ORIGIN
	.comm	_XLR_MAX_BLOCK_ID,8,3           ; @XLR_MAX_BLOCK_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out-of-order block_id %u at %X/%X"

	.comm	_BKPBLOCK_FORK_MASK,8,3         ; @BKPBLOCK_FORK_MASK
	.comm	_BKPBLOCK_HAS_IMAGE,8,3         ; @BKPBLOCK_HAS_IMAGE
	.comm	_BKPBLOCK_HAS_DATA,8,3          ; @BKPBLOCK_HAS_DATA
l_.str.1:                               ; @.str.1
	.asciz	"BKPBLOCK_HAS_DATA set, but no data included at %X/%X"

l_.str.2:                               ; @.str.2
	.asciz	"BKPBLOCK_HAS_DATA not set, but data length is %u at %X/%X"

	.comm	_BKPIMAGE_APPLY,4,2             ; @BKPIMAGE_APPLY
	.comm	_BKPIMAGE_IS_COMPRESSED,4,2     ; @BKPIMAGE_IS_COMPRESSED
	.comm	_BKPIMAGE_HAS_HOLE,4,2          ; @BKPIMAGE_HAS_HOLE
	.comm	_BLCKSZ,4,2                     ; @BLCKSZ
l_.str.3:                               ; @.str.3
	.asciz	"BKPIMAGE_HAS_HOLE set, but hole offset %u length %u block image length %u at %X/%X"

l_.str.4:                               ; @.str.4
	.asciz	"BKPIMAGE_HAS_HOLE not set, but hole offset %u length %u at %X/%X"

l_.str.5:                               ; @.str.5
	.asciz	"BKPIMAGE_IS_COMPRESSED set, but block image length %u at %X/%X"

l_.str.6:                               ; @.str.6
	.asciz	"neither BKPIMAGE_HAS_HOLE nor BKPIMAGE_IS_COMPRESSED set, but block image length is %u at %X/%X"

	.comm	_BKPBLOCK_SAME_REL,8,3          ; @BKPBLOCK_SAME_REL
l_.str.7:                               ; @.str.7
	.asciz	"BKPBLOCK_SAME_REL set but no previous rel at %X/%X"

l_.str.8:                               ; @.str.8
	.asciz	"invalid block_id %u at %X/%X"

l_.str.9:                               ; @.str.9
	.asciz	"record with invalid length at %X/%X"

.subsections_via_symbols
