	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_readTimeLineHistory            ## -- Begin function readTimeLineHistory
	.p2align	4, 0x90
_readTimeLineHistory:                   ## @readTimeLineHistory
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPGPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_MAXFNAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	cmpl	$1, %ebx
	jne	LBB0_3
## %bb.1:
	movl	$12, %edi
	callq	_palloc
	movl	$1, (%rax)
	movq	_InvalidXLogRecPtr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movl	%ecx, 4(%rax)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_35
## %bb.2:
	movq	%rax, %rdi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_list_make1                     ## TAILCALL
LBB0_3:
	movq	_ArchiveRecoveryRequested@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	je	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_TLHistoryFileName
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_RestoreArchivedFile
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	jmp	LBB0_6
LBB0_5:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_TLHistoryFilePath
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_AllocateFile
	testq	%rax, %rax
	je	LBB0_7
## %bb.10:
	movq	%rax, %r14
	movq	_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_InvalidXLogRecPtr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%r13, %rax
	incq	%rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_13
LBB0_26:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	$12, %edi
	callq	_palloc
	movl	-56(%rbp), %ecx
	movl	%ecx, (%rax)
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, 4(%rax)
	movq	%rax, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_lcons
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r13, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_28
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
	movb	(%r13), %al
	testb	%al, %al
	je	LBB0_27
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	%al, %edi
	callq	_isspace
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_15
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=1
	movb	-1(%rbx), %al
	testb	%al, %al
	je	LBB0_27
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpb	$35, %al
	je	LBB0_27
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-120(%rbp), %rcx
	leaq	-112(%rbp), %r8
	callq	_sscanf
	testl	%eax, %eax
	jle	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$3, %eax
	jne	LBB0_22
	jmp	LBB0_23
LBB0_20:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	L_.str.4(%rip), %rdi
	movq	%r13, %rsi
	callq	_errmsg
	leaq	L_.str.5(%rip), %rdi
	callq	_errhint
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_22:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	L_.str.4(%rip), %rdi
	movq	%r13, %rsi
	callq	_errmsg
	leaq	L_.str.6(%rip), %rdi
	callq	_errhint
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_23:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	-56(%rbp), %ebx
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	-52(%rbp), %ebx                 ## 4-byte Folded Reload
	jg	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	L_.str.7(%rip), %rdi
	movq	%r13, %rsi
	callq	_errmsg
	leaq	L_.str.8(%rip), %rdi
	callq	_errhint
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
	movl	-56(%rbp), %ebx
	jmp	LBB0_26
LBB0_7:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.8:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	leaq	L_.str.2(%rip), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_9:
	movl	$12, %edi
	callq	_palloc
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movq	_InvalidXLogRecPtr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movl	%ecx, 4(%rax)
	movq	%rax, %rdi
	callq	_list_make1
	movq	%rax, %rbx
	jmp	LBB0_33
LBB0_11:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
LBB0_28:
	movq	%r14, %rdi
	callq	_FreeFile
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_31
## %bb.29:
	cmpl	%ebx, -52(%rbp)                 ## 4-byte Folded Reload
	jl	LBB0_31
## %bb.30:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.9(%rip), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_errmsg
	leaq	L_.str.10(%rip), %rdi
	callq	_errhint
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_31:
	movl	$12, %edi
	callq	_palloc
	movl	%ebx, (%rax)
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, 4(%rax)
	movq	_InvalidXLogRecPtr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	%rax, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_lcons
	movq	%rax, %rbx
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_33
## %bb.32:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_KeepFileRestoredFromArchive
LBB0_33:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_35
## %bb.34:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPGPATH,4,2                  ## @MAXPGPATH
	.comm	_MAXFNAMELEN,4,2                ## @MAXFNAMELEN
	.comm	_InvalidXLogRecPtr,8,3          ## @InvalidXLogRecPtr
	.comm	_ArchiveRecoveryRequested,8,3   ## @ArchiveRecoveryRequested
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RECOVERYHISTORY"

L_.str.1:                               ## @.str.1
	.asciz	"r"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_FATAL,4,2                      ## @FATAL
L_.str.2:                               ## @.str.2
	.asciz	"could not open file \"%s\": %m"

	.comm	_NIL,8,3                        ## @NIL
L_.str.3:                               ## @.str.3
	.asciz	"%u\t%X/%X"

L_.str.4:                               ## @.str.4
	.asciz	"syntax error in history file: %s"

L_.str.5:                               ## @.str.5
	.asciz	"Expected a numeric timeline ID."

L_.str.6:                               ## @.str.6
	.asciz	"Expected a write-ahead log switchpoint location."

L_.str.7:                               ## @.str.7
	.asciz	"invalid data in history file: %s"

L_.str.8:                               ## @.str.8
	.asciz	"Timeline IDs must be in increasing sequence."

L_.str.9:                               ## @.str.9
	.asciz	"invalid data in history file \"%s\""

L_.str.10:                              ## @.str.10
	.asciz	"Timeline IDs must be less than child timeline's ID."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_readTimeLineHistory            ; -- Begin function readTimeLineHistory
	.p2align	2
_readTimeLineHistory:                   ; @readTimeLineHistory
	.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, #48
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXPGPATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPGPATH@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x12, x9, #0x1fffffff0
	sub	x20, x8, x12
	mov	sp, x20
Lloh8:
	adrp	x8, _MAXFNAMELEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAXFNAMELEN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	mov	x9, x22
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x24, x8, x12
	mov	sp, x24
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.1:
	mov	w0, #12
	bl	_palloc
	mov	w8, #1
	str	w8, [x0]
Lloh15:
	adrp	x8, _InvalidXLogRecPtr@GOTPAGE
Lloh16:
	ldr	x8, [x8, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	stp	w8, w8, [x0, #4]
	ldur	x8, [x29, #-88]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.2:
	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
	b	_list_make1
LBB0_3:
Lloh21:
	adrp	x8, _ArchiveRecoveryRequested@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ArchiveRecoveryRequested@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x21
	mov	x1, x19
	bl	_TLHistoryFileName
Lloh24:
	adrp	x2, l_.str@PAGE
Lloh25:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #0
	bl	_RestoreArchivedFile
	mov	x23, x0
	b	LBB0_6
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	bl	_TLHistoryFilePath
	mov	w23, #0
LBB0_6:
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_AllocateFile
	cbz	x0, LBB0_29
; %bb.7:
	mov	x26, x0
	stur	w23, [x29, #-124]               ; 4-byte Folded Spill
Lloh28:
	adrp	x8, _NIL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh30:
	ldr	x25, [x8]
Lloh31:
	adrp	x8, _InvalidXLogRecPtr@GOTPAGE
Lloh32:
	ldr	x8, [x8, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
	mov	x0, x24
	mov	x1, x22
	mov	x2, x26
	bl	_fgets
	mov	w28, #0
	cbz	x0, LBB0_24
; %bb.8:
	add	x23, x24, #1
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	w0, #12
	bl	_palloc
	ldur	w9, [x29, #-92]
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	stp	w9, w8, [x0]
	mov	x1, x25
	bl	_lcons
	mov	x25, x0
	mov	x28, x27
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x24
	mov	x1, x22
	mov	x2, x26
	bl	_fgets
	cbz	x0, LBB0_24
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldrb	w8, [x24]
	cbz	w8, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x27, x23
LBB0_13:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	w0, w8, #0xff
	bl	_isspace
	cbz	w0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	ldrb	w8, [x27], #1
	cbnz	w8, LBB0_13
	b	LBB0_10
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	ldurb	w8, [x27, #-1]
	cbz	w8, LBB0_10
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w8, #35
	b.eq	LBB0_10
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	x2, x29, #92
	sub	x3, x29, #104
	sub	x4, x29, #112
	mov	x0, x24
Lloh34:
	adrp	x1, l_.str.3@PAGE
Lloh35:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_sscanf
	cmp	w0, #0
	b.le	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w0, #3
	b.ne	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_11 Depth=1
	ldur	w27, [x29, #-92]
	cbnz	x25, LBB0_22
	b	LBB0_9
LBB0_20:                                ;   in Loop: Header=BB0_11 Depth=1
Lloh36:
	adrp	x8, _FATAL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh38:
	ldr	w27, [x8]
Lloh39:
	adrp	x0, l_.str.4@PAGE
Lloh40:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x24
	bl	_errmsg
Lloh41:
	adrp	x0, l_.str.5@PAGE
Lloh42:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x27
	bl	_ereport
LBB0_21:                                ;   in Loop: Header=BB0_11 Depth=1
Lloh43:
	adrp	x8, _FATAL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh45:
	ldr	w27, [x8]
Lloh46:
	adrp	x0, l_.str.4@PAGE
Lloh47:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x24
	bl	_errmsg
Lloh48:
	adrp	x0, l_.str.6@PAGE
Lloh49:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x27
	bl	_ereport
	ldur	w27, [x29, #-92]
	cbz	x25, LBB0_9
LBB0_22:                                ;   in Loop: Header=BB0_11 Depth=1
	cmp	w27, w28
	b.gt	LBB0_9
; %bb.23:                               ;   in Loop: Header=BB0_11 Depth=1
Lloh50:
	adrp	x8, _FATAL@GOTPAGE
Lloh51:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh52:
	ldr	w27, [x8]
Lloh53:
	adrp	x0, l_.str.7@PAGE
Lloh54:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x24
	bl	_errmsg
Lloh55:
	adrp	x0, l_.str.8@PAGE
Lloh56:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x27
	bl	_ereport
	ldur	w27, [x29, #-92]
	b	LBB0_9
LBB0_24:
	mov	x0, x26
	bl	_FreeFile
	cbz	x25, LBB0_27
; %bb.25:
	cmp	w28, w19
	b.lt	LBB0_27
; %bb.26:
Lloh57:
	adrp	x8, _FATAL@GOTPAGE
Lloh58:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh59:
	ldr	w22, [x8]
Lloh60:
	adrp	x0, l_.str.9@PAGE
Lloh61:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	x1, x20
	bl	_errmsg
Lloh62:
	adrp	x0, l_.str.10@PAGE
Lloh63:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_27:
	mov	w0, #12
	bl	_palloc
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	stp	w19, w8, [x0]
Lloh64:
	adrp	x8, _InvalidXLogRecPtr@GOTPAGE
Lloh65:
	ldr	x8, [x8, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh66:
	ldr	x8, [x8]
	str	w8, [x0, #8]
	mov	x1, x25
	bl	_lcons
	mov	x19, x0
	ldur	w8, [x29, #-124]                ; 4-byte Folded Reload
	cbz	w8, LBB0_32
; %bb.28:
	mov	x0, x20
	mov	x1, x21
	bl	_KeepFileRestoredFromArchive
	b	LBB0_32
LBB0_29:
Lloh67:
	adrp	x8, _errno@GOTPAGE
Lloh68:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh69:
	ldr	x8, [x8]
Lloh70:
	adrp	x9, _ENOENT@GOTPAGE
Lloh71:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh72:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_31
; %bb.30:
Lloh73:
	adrp	x8, _FATAL@GOTPAGE
Lloh74:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh75:
	ldr	w21, [x8]
	bl	_errcode_for_file_access
Lloh76:
	adrp	x0, l_.str.2@PAGE
Lloh77:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_31:
	mov	w0, #12
	bl	_palloc
	str	w19, [x0]
Lloh78:
	adrp	x8, _InvalidXLogRecPtr@GOTPAGE
Lloh79:
	ldr	x8, [x8, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
	stp	w8, w8, [x0, #4]
	bl	_list_make1
	mov	x19, x0
LBB0_32:
	ldur	x8, [x29, #-88]
Lloh81:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh82:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh83:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.33:
	mov	x0, x19
	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_34:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPGPATH,4,2                  ; @MAXPGPATH
	.comm	_MAXFNAMELEN,4,2                ; @MAXFNAMELEN
	.comm	_InvalidXLogRecPtr,8,3          ; @InvalidXLogRecPtr
	.comm	_ArchiveRecoveryRequested,8,3   ; @ArchiveRecoveryRequested
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RECOVERYHISTORY"

l_.str.1:                               ; @.str.1
	.asciz	"r"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_FATAL,4,2                      ; @FATAL
l_.str.2:                               ; @.str.2
	.asciz	"could not open file \"%s\": %m"

	.comm	_NIL,8,3                        ; @NIL
l_.str.3:                               ; @.str.3
	.asciz	"%u\t%X/%X"

l_.str.4:                               ; @.str.4
	.asciz	"syntax error in history file: %s"

l_.str.5:                               ; @.str.5
	.asciz	"Expected a numeric timeline ID."

l_.str.6:                               ; @.str.6
	.asciz	"Expected a write-ahead log switchpoint location."

l_.str.7:                               ; @.str.7
	.asciz	"invalid data in history file: %s"

l_.str.8:                               ; @.str.8
	.asciz	"Timeline IDs must be in increasing sequence."

l_.str.9:                               ; @.str.9
	.asciz	"invalid data in history file \"%s\""

l_.str.10:                              ; @.str.10
	.asciz	"Timeline IDs must be less than child timeline's ID."

.subsections_via_symbols
