	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function XLogDumpXLogRead
_XLogDumpXLogRead:                      ## @XLogDumpXLogRead
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -68(%rbp)                 ## 4-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%r8, %r8
	jle	LBB0_42
## %bb.1:
	movq	%r8, %r12
	movq	%rcx, %r15
	movl	%edx, %ebx
	movq	_WalSegSz@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, _XLogDumpXLogRead.sendOff(%rip)
LBB0_36:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %r13
	subq	%r14, %r13
	cmpq	%r13, %r12
	cmovlq	%r12, %r13
	movl	_XLogDumpXLogRead.sendFile(%rip), %edi
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_read
	movl	%eax, %r14d
	testl	%eax, %eax
	jle	LBB0_37
LBB0_41:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r14d, %rax
	addq	%rax, _XLogDumpXLogRead.sendOff(%rip)
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	addl	%r14d, %ebx
	addq	%rax, %r15
	subq	%rax, %r12
	movq	_WalSegSz@GOTPCREL(%rip), %r13
	jle	LBB0_42
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rsi
	movl	%ebx, %edi
	callq	_XLogSegmentOffset
	movq	%rax, %r14
	cmpl	$0, _XLogDumpXLogRead.sendFile(%rip)
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	js	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_XLByteInSeg
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_XLogDumpXLogRead.sendOff(%rip), %rax
	movq	_errno@GOTPCREL(%rip), %rbx
	cmpq	%r14, %rax
	je	LBB0_36
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	_MAXPGPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movl	(%rbx), %r15d
	movq	_WalSegSz@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r12, %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	callq	_XLogFileName
	movl	%r15d, (%rbx)
	movq	_XLogDumpXLogRead.sendOff(%rip), %r15
	testl	%r14d, %r14d
	js	LBB0_38
## %bb.39:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r13d, %r8
	leaq	L_.str.3(%rip), %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsp, %r12
	movq	_MAXFNAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsp, %r12
	movl	_XLogDumpXLogRead.sendFile(%rip), %ebx
	movq	_MAXFNAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	testl	%ebx, %ebx
	js	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_close
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_WalSegSz@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	callq	_XLByteToSeg
	movq	(%rbx), %rcx
	movq	%r13, %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	callq	_XLogFileName
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_open_file_in_directory
	movl	%eax, _XLogDumpXLogRead.sendFile(%rip)
	testl	%eax, %eax
	movq	_errno@GOTPCREL(%rip), %rbx
	jns	LBB0_31
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_30
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, %r15d
	movl	$500000, %edi                   ## imm = 0x7A120
	callq	_pg_usleep
	movl	%r15d, (%rbx)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_open_file_in_directory
	movl	%eax, _XLogDumpXLogRead.sendFile(%rip)
	testl	%eax, %eax
	jns	LBB0_31
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_30
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, %r15d
	movl	$500000, %edi                   ## imm = 0x7A120
	callq	_pg_usleep
	movl	%r15d, (%rbx)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_open_file_in_directory
	movl	%eax, _XLogDumpXLogRead.sendFile(%rip)
	testl	%eax, %eax
	jns	LBB0_31
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_30
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, %r15d
	movl	$500000, %edi                   ## imm = 0x7A120
	callq	_pg_usleep
	movl	%r15d, (%rbx)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_open_file_in_directory
	movl	%eax, _XLogDumpXLogRead.sendFile(%rip)
	testl	%eax, %eax
	jns	LBB0_31
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_30
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, %r15d
	movl	$500000, %edi                   ## imm = 0x7A120
	callq	_pg_usleep
	movl	%r15d, (%rbx)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_open_file_in_directory
	movl	%eax, _XLogDumpXLogRead.sendFile(%rip)
	testl	%eax, %eax
	jns	LBB0_31
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_30
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, %r15d
	movl	$500000, %edi                   ## imm = 0x7A120
	callq	_pg_usleep
	movl	%r15d, (%rbx)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_open_file_in_directory
	movl	%eax, _XLogDumpXLogRead.sendFile(%rip)
	testl	%eax, %eax
	jns	LBB0_31
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_30
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, %r15d
	movl	$500000, %edi                   ## imm = 0x7A120
	callq	_pg_usleep
	movl	%r15d, (%rbx)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_open_file_in_directory
	movl	%eax, _XLogDumpXLogRead.sendFile(%rip)
	testl	%eax, %eax
	jns	LBB0_31
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_30
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, %r15d
	movl	$500000, %edi                   ## imm = 0x7A120
	callq	_pg_usleep
	movl	%r15d, (%rbx)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_open_file_in_directory
	movl	%eax, _XLogDumpXLogRead.sendFile(%rip)
	testl	%eax, %eax
	jns	LBB0_31
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %ecx
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	cmpl	(%rax), %ecx
	jne	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$500000, %edi                   ## imm = 0x7A120
	callq	_pg_usleep
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rbx)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_open_file_in_directory
	movl	%eax, _XLogDumpXLogRead.sendFile(%rip)
	testl	%eax, %eax
	jns	LBB0_31
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %ecx
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	cmpl	(%rax), %ecx
	jne	LBB0_24
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$500000, %edi                   ## imm = 0x7A120
	callq	_pg_usleep
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rbx)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_open_file_in_directory
	movl	%eax, _XLogDumpXLogRead.sendFile(%rip)
	testl	%eax, %eax
	jns	LBB0_31
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %ecx
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	cmpl	(%rax), %ecx
	jne	LBB0_24
## %bb.29:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$500000, %edi                   ## imm = 0x7A120
	callq	_pg_usleep
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, (%rbx)
	cmpl	$0, _XLogDumpXLogRead.sendFile(%rip)
	jns	LBB0_31
	jmp	LBB0_30
LBB0_38:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	callq	_strerror
	leaq	L_.str.2(%rip), %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	%r13d, %ecx
	movq	%rax, %r8
LBB0_40:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_fatal_error
	movq	-56(%rbp), %rsp                 ## 8-byte Reload
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_41
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	-56(%rbp), %edi                 ## 4-byte Reload
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_strerror
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fatal_error
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, _XLogDumpXLogRead.sendOff(%rip)
	movq	%r12, %rsp
	xorl	%eax, %eax
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	_WalSegSz@GOTPCREL(%rip), %r13
	cmpq	%r14, %rax
	je	LBB0_36
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	_XLogDumpXLogRead.sendFile(%rip), %edi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %esi
	callq	_lseek
	testq	%rax, %rax
	jns	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r13d
	movq	_MAXPGPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_WalSegSz@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rbx, %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	callq	_XLogFileName
	movl	%r13d, %edi
	movq	_WalSegSz@GOTPCREL(%rip), %r13
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movq	_errno@GOTPCREL(%rip), %rbx
	movq	%r14, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_fatal_error
	movq	-56(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_35
LBB0_42:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_44
## %bb.43:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_44:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	2                               ## @XLogDumpXLogRead.sendFile
_XLogDumpXLogRead.sendFile:
	.long	4294967295                      ## 0xffffffff

.zerofill __DATA,__bss,_XLogDumpXLogRead.sendOff,8,3 ## @XLogDumpXLogRead.sendOff
	.comm	_WalSegSz,8,3                   ## @WalSegSz
	.comm	_MAXFNAMELEN,4,2                ## @MAXFNAMELEN
	.comm	_errno,4,2                      ## @errno
	.comm	_ENOENT,4,2                     ## @ENOENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not find file \"%s\": %s"

	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_MAXPGPATH,4,2                  ## @MAXPGPATH
L_.str.1:                               ## @.str.1
	.asciz	"could not seek in log file %s to offset %u: %s"

L_.str.2:                               ## @.str.2
	.asciz	"could not read from log file %s, offset %u, length %d: %s"

L_.str.3:                               ## @.str.3
	.asciz	"could not read from log file %s, offset %u: read %d of %zu"

	.no_dead_strip	_XLogDumpXLogRead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function XLogDumpXLogRead
_XLogDumpXLogRead:                      ; @XLogDumpXLogRead
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	stur	w1, [x29, #-92]                 ; 4-byte Folded Spill
	stur	x0, [x29, #-104]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	cmp	x4, #1
	b.lt	LBB0_41
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
Lloh3:
	adrp	x23, _WalSegSz@GOTPAGE
Lloh4:
	ldr	x23, [x23, _WalSegSz@GOTPAGEOFF]
	adrp	x22, _XLogDumpXLogRead.sendFile@PAGE
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	adrp	x8, _XLogDumpXLogRead.sendOff@PAGE
	str	x28, [x8, _XLogDumpXLogRead.sendOff@PAGEOFF]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	sub	x8, x8, x28
	cmp	x19, x8
	csel	x25, x19, x8, lt
	ldr	w0, [x22, _XLogDumpXLogRead.sendFile@PAGEOFF]
	mov	x1, x20
	mov	x2, x25
	bl	_read
	mov	x24, x0
	cmp	w0, #0
	b.le	LBB0_8
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w21, w24, w21
	sxtw	x8, w24
	adrp	x10, _XLogDumpXLogRead.sendOff@PAGE
	ldr	x9, [x10, _XLogDumpXLogRead.sendOff@PAGEOFF]
	add	x9, x9, x8
	str	x9, [x10, _XLogDumpXLogRead.sendOff@PAGEOFF]
	sub	x19, x19, x8
	add	x20, x20, x8
	cmp	x19, #0
	b.le	LBB0_41
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x23]
	mov	x0, x21
	bl	_XLogSegmentOffset
	mov	x28, x0
	ldr	w8, [x22, _XLogDumpXLogRead.sendFile@PAGEOFF]
	tbnz	w8, #31, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x2, [x23]
	mov	x0, x21
	mov	w1, #0
	bl	_XLByteInSeg
	cbz	w0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh5:
	adrp	x8, _XLogDumpXLogRead.sendOff@PAGE
Lloh6:
	ldr	x8, [x8, _XLogDumpXLogRead.sendOff@PAGEOFF]
	cmp	x8, x28
	b.eq	LBB0_3
	b	LBB0_39
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, sp
	stur	x8, [x29, #-112]                ; 8-byte Folded Spill
Lloh7:
	adrp	x8, _errno@GOTPAGE
Lloh8:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
	mov	x12, x23
	mov	x23, x8
	ldr	w22, [x8]
Lloh9:
	adrp	x8, _MAXPGPATH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAXPGPATH@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	mov	x9, x8
Lloh12:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh13:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x28, x9, x8
	mov	sp, x28
	ldr	w26, [x23]
	mov	x27, x12
	ldr	x3, [x12]
	mov	x0, x28
	ldur	w1, [x29, #-92]                 ; 4-byte Folded Reload
	mov	w2, #0
	bl	_XLogFileName
	str	w26, [x23]
Lloh14:
	adrp	x8, _XLogDumpXLogRead.sendOff@PAGE
Lloh15:
	ldr	x26, [x8, _XLogDumpXLogRead.sendOff@PAGEOFF]
	tbnz	w24, #31, LBB0_34
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x8, w25
	stp	xzr, x8, [sp, #-16]!
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_35
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, sp
Lloh18:
	adrp	x8, _MAXFNAMELEN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MAXFNAMELEN@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	mov	x9, x8
Lloh21:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh22:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, sp
	ldr	w0, [x22, _XLogDumpXLogRead.sendFile@PAGEOFF]
Lloh23:
	adrp	x8, _MAXFNAMELEN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MAXFNAMELEN@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	mov	x9, x8
Lloh26:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh27:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	tbnz	w0, #31, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_close
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x2, [x23]
	mov	x0, x21
	mov	w1, #0
	bl	_XLByteToSeg
	ldr	x3, [x23]
	mov	x0, x24
	ldur	w1, [x29, #-92]                 ; 4-byte Folded Reload
	mov	w2, #0
	bl	_XLogFileName
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	mov	x1, x24
	bl	_open_file_in_directory
	str	w0, [x22, _XLogDumpXLogRead.sendFile@PAGEOFF]
	tbz	w0, #31, LBB0_38
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh28:
	adrp	x9, _errno@GOTPAGE
Lloh29:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
	ldr	w25, [x9]
Lloh30:
	adrp	x8, _ENOENT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmp	w25, w8
	b.ne	LBB0_37
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #41248
	movk	w0, #7, lsl #16
	mov	x27, x9
	bl	_pg_usleep
	str	w25, [x27]
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	mov	x1, x24
	bl	_open_file_in_directory
	str	w0, [x22, _XLogDumpXLogRead.sendFile@PAGEOFF]
	tbz	w0, #31, LBB0_38
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh33:
	adrp	x9, _errno@GOTPAGE
Lloh34:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
	ldr	w25, [x9]
Lloh35:
	adrp	x8, _ENOENT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	cmp	w25, w8
	b.ne	LBB0_37
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #41248
	movk	w0, #7, lsl #16
	mov	x27, x9
	bl	_pg_usleep
	str	w25, [x27]
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	mov	x1, x24
	bl	_open_file_in_directory
	str	w0, [x22, _XLogDumpXLogRead.sendFile@PAGEOFF]
	tbz	w0, #31, LBB0_38
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh38:
	adrp	x9, _errno@GOTPAGE
Lloh39:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
	ldr	w25, [x9]
Lloh40:
	adrp	x8, _ENOENT@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	cmp	w25, w8
	b.ne	LBB0_37
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #41248
	movk	w0, #7, lsl #16
	mov	x27, x9
	bl	_pg_usleep
	str	w25, [x27]
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	mov	x1, x24
	bl	_open_file_in_directory
	str	w0, [x22, _XLogDumpXLogRead.sendFile@PAGEOFF]
	tbz	w0, #31, LBB0_38
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh43:
	adrp	x9, _errno@GOTPAGE
Lloh44:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
	ldr	w25, [x9]
Lloh45:
	adrp	x8, _ENOENT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	cmp	w25, w8
	b.ne	LBB0_37
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #41248
	movk	w0, #7, lsl #16
	mov	x27, x9
	bl	_pg_usleep
	str	w25, [x27]
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	mov	x1, x24
	bl	_open_file_in_directory
	str	w0, [x22, _XLogDumpXLogRead.sendFile@PAGEOFF]
	tbz	w0, #31, LBB0_38
; %bb.22:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh48:
	adrp	x9, _errno@GOTPAGE
Lloh49:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
	ldr	w25, [x9]
Lloh50:
	adrp	x8, _ENOENT@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	cmp	w25, w8
	b.ne	LBB0_37
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #41248
	movk	w0, #7, lsl #16
	mov	x27, x9
	bl	_pg_usleep
	str	w25, [x27]
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	mov	x1, x24
	bl	_open_file_in_directory
	str	w0, [x22, _XLogDumpXLogRead.sendFile@PAGEOFF]
	tbz	w0, #31, LBB0_38
; %bb.24:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh53:
	adrp	x9, _errno@GOTPAGE
Lloh54:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
	ldr	w25, [x9]
Lloh55:
	adrp	x8, _ENOENT@GOTPAGE
Lloh56:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	cmp	w25, w8
	b.ne	LBB0_37
; %bb.25:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #41248
	movk	w0, #7, lsl #16
	mov	x27, x9
	bl	_pg_usleep
	str	w25, [x27]
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	mov	x1, x24
	bl	_open_file_in_directory
	str	w0, [x22, _XLogDumpXLogRead.sendFile@PAGEOFF]
	tbz	w0, #31, LBB0_38
; %bb.26:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh58:
	adrp	x8, _errno@GOTPAGE
Lloh59:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh60:
	ldr	w25, [x8]
Lloh61:
	adrp	x8, _ENOENT@GOTPAGE
Lloh62:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	cmp	w25, w8
	b.ne	LBB0_37
; %bb.27:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #41248
	movk	w0, #7, lsl #16
	bl	_pg_usleep
Lloh64:
	adrp	x8, _errno@GOTPAGE
Lloh65:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh66:
	str	w25, [x8]
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	mov	x1, x24
	bl	_open_file_in_directory
	str	w0, [x22, _XLogDumpXLogRead.sendFile@PAGEOFF]
	tbz	w0, #31, LBB0_38
; %bb.28:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x27, x23
Lloh67:
	adrp	x8, _errno@GOTPAGE
Lloh68:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh69:
	ldr	w25, [x8]
Lloh70:
	adrp	x8, _ENOENT@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	cmp	w25, w8
	b.ne	LBB0_36
; %bb.29:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #41248
	movk	w0, #7, lsl #16
	bl	_pg_usleep
Lloh73:
	adrp	x8, _errno@GOTPAGE
Lloh74:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh75:
	str	w25, [x8]
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	mov	x1, x24
	bl	_open_file_in_directory
	adrp	x22, _XLogDumpXLogRead.sendFile@PAGE
	str	w0, [x22, _XLogDumpXLogRead.sendFile@PAGEOFF]
	mov	x23, x27
	tbz	w0, #31, LBB0_38
; %bb.30:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh76:
	adrp	x8, _errno@GOTPAGE
Lloh77:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh78:
	ldr	w25, [x8]
Lloh79:
	adrp	x8, _ENOENT@GOTPAGE
Lloh80:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
	cmp	w25, w8
	b.ne	LBB0_36
; %bb.31:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #41248
	movk	w0, #7, lsl #16
	bl	_pg_usleep
Lloh82:
	adrp	x8, _errno@GOTPAGE
Lloh83:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh84:
	str	w25, [x8]
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	mov	x1, x24
	bl	_open_file_in_directory
	adrp	x22, _XLogDumpXLogRead.sendFile@PAGE
	str	w0, [x22, _XLogDumpXLogRead.sendFile@PAGEOFF]
	mov	x23, x27
	tbz	w0, #31, LBB0_38
; %bb.32:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh85:
	adrp	x8, _errno@GOTPAGE
Lloh86:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh87:
	ldr	w25, [x8]
Lloh88:
	adrp	x8, _ENOENT@GOTPAGE
Lloh89:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh90:
	ldr	w8, [x8]
	cmp	w25, w8
	b.ne	LBB0_36
; %bb.33:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #41248
	movk	w0, #7, lsl #16
	bl	_pg_usleep
Lloh91:
	adrp	x8, _errno@GOTPAGE
Lloh92:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh93:
	str	w25, [x8]
	adrp	x22, _XLogDumpXLogRead.sendFile@PAGE
	ldr	w8, [x22, _XLogDumpXLogRead.sendFile@PAGEOFF]
	mov	x23, x27
	tbz	w8, #31, LBB0_38
	b	LBB0_37
LBB0_34:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_strerror
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	stp	x25, x0, [sp, #-16]!
Lloh94:
	adrp	x0, l_.str.2@PAGE
Lloh95:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_35:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x28
	mov	x2, x26
	bl	_fatal_error
	add	sp, sp, #16
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	mov	sp, x8
	adrp	x22, _XLogDumpXLogRead.sendFile@PAGE
	mov	x23, x27
	b	LBB0_4
LBB0_36:                                ;   in Loop: Header=BB0_5 Depth=1
	adrp	x22, _XLogDumpXLogRead.sendFile@PAGE
	mov	x23, x27
LBB0_37:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	bl	_strerror
	mov	x2, x0
Lloh96:
	adrp	x0, l_.str@PAGE
Lloh97:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x24
	bl	_fatal_error
LBB0_38:                                ;   in Loop: Header=BB0_5 Depth=1
	adrp	x8, _XLogDumpXLogRead.sendOff@PAGE
	str	xzr, [x8, _XLogDumpXLogRead.sendOff@PAGEOFF]
	mov	sp, x26
	mov	x8, #0
	cmp	x8, x28
	b.eq	LBB0_3
LBB0_39:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x22, _XLogDumpXLogRead.sendFile@PAGEOFF]
Lloh98:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh99:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh100:
	ldr	w2, [x8]
	mov	x1, x28
	bl	_lseek
	tbz	x0, #63, LBB0_2
; %bb.40:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, sp
Lloh101:
	adrp	x8, _errno@GOTPAGE
Lloh102:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh103:
	ldr	w24, [x8]
Lloh104:
	adrp	x8, _MAXPGPATH@GOTPAGE
Lloh105:
	ldr	x8, [x8, _MAXPGPATH@GOTPAGEOFF]
Lloh106:
	ldr	w8, [x8]
	mov	x9, x8
Lloh107:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh108:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x25, x9, x8
	mov	sp, x25
	ldr	x3, [x23]
	mov	x0, x25
	ldur	w1, [x29, #-92]                 ; 4-byte Folded Reload
	mov	w2, #0
	bl	_XLogFileName
	mov	x0, x24
	bl	_strerror
	str	x0, [sp, #-16]!
Lloh109:
	adrp	x0, l_.str.1@PAGE
Lloh110:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x25
	mov	x2, x28
	bl	_fatal_error
	add	sp, sp, #16
	mov	sp, x22
	adrp	x22, _XLogDumpXLogRead.sendFile@PAGE
	b	LBB0_2
LBB0_41:
	ldur	x8, [x29, #-88]
Lloh111:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh112:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh113:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_43
; %bb.42:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_43:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotStr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotStr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotStr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotStr	Lloh91, Lloh92, Lloh93
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpAdd	Lloh109, Lloh110
	.loh AdrpLdrGot	Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @XLogDumpXLogRead.sendFile
_XLogDumpXLogRead.sendFile:
	.long	4294967295                      ; 0xffffffff

.zerofill __DATA,__bss,_XLogDumpXLogRead.sendOff,8,3 ; @XLogDumpXLogRead.sendOff
	.comm	_WalSegSz,8,3                   ; @WalSegSz
	.comm	_MAXFNAMELEN,4,2                ; @MAXFNAMELEN
	.comm	_errno,4,2                      ; @errno
	.comm	_ENOENT,4,2                     ; @ENOENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not find file \"%s\": %s"

	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_MAXPGPATH,4,2                  ; @MAXPGPATH
l_.str.1:                               ; @.str.1
	.asciz	"could not seek in log file %s to offset %u: %s"

l_.str.2:                               ; @.str.2
	.asciz	"could not read from log file %s, offset %u, length %d: %s"

l_.str.3:                               ; @.str.3
	.asciz	"could not read from log file %s, offset %u: read %d of %zu"

	.no_dead_strip	_XLogDumpXLogRead
.subsections_via_symbols
