	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function XLogDumpReadPage
_XLogDumpReadPage:                      ## @XLogDumpReadPage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rax
	movq	8(%rdi), %r9
	movq	_XLOG_BLCKSZ@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rbx
	movq	(%r9), %rsi
	movq	_InvalidXLogRecPtr@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rcx
	addq	%rax, %rcx
	cmpq	%rsi, %rcx
	jle	LBB0_4
## %bb.2:
	movslq	%edx, %rcx
	addq	%rax, %rcx
	cmpq	%rsi, %rcx
	jle	LBB0_3
## %bb.6:
	movl	$1, 8(%r9)
	movl	$-1, %ebx
	jmp	LBB0_5
LBB0_3:
	subl	%eax, %esi
	movl	%esi, %ebx
LBB0_4:
	movl	(%rdi), %edi
	movl	12(%r9), %esi
	movq	%rax, %rdx
	movq	%r8, %rcx
	movl	%ebx, %r8d
	callq	_XLogDumpXLogRead
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XLOG_BLCKSZ,4,2                ## @XLOG_BLCKSZ
	.comm	_InvalidXLogRecPtr,8,3          ## @InvalidXLogRecPtr
	.no_dead_strip	_XLogDumpReadPage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function XLogDumpReadPage
_XLogDumpReadPage:                      ; @XLogDumpReadPage
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x1
	ldr	x9, [x0, #8]
Lloh0:
	adrp	x10, _XLOG_BLCKSZ@GOTPAGE
Lloh1:
	ldr	x10, [x10, _XLOG_BLCKSZ@GOTPAGEOFF]
Lloh2:
	ldrsw	x19, [x10]
	ldr	x10, [x9]
Lloh3:
	adrp	x11, _InvalidXLogRecPtr@GOTPAGE
Lloh4:
	ldr	x11, [x11, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	add	x12, x19, x1
	cmp	x10, x11
	ccmp	x12, x10, #4, ne
	b.le	LBB0_4
; %bb.1:
	add	x11, x8, w2, sxtw
	cmp	x11, x10
	b.le	LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x9, #8]
	mov	w19, #-1
	b	LBB0_5
LBB0_3:
	sub	w19, w10, w8
LBB0_4:
	ldr	w0, [x0]
	ldr	w1, [x9, #12]
	mov	x2, x8
	mov	x3, x4
	mov	x4, x19
	bl	_XLogDumpXLogRead
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XLOG_BLCKSZ,4,2                ; @XLOG_BLCKSZ
	.comm	_InvalidXLogRecPtr,8,3          ; @InvalidXLogRecPtr
	.no_dead_strip	_XLogDumpReadPage
.subsections_via_symbols
