	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rewind_parseTimeLineHistory    ## -- Begin function rewind_parseTimeLineHistory
	.p2align	4, 0x90
_rewind_parseTimeLineHistory:           ## @rewind_parseTimeLineHistory
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	_InvalidXLogRecPtr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	leal	1(%rbx), %r12d
	leal	8(,%rbx,8), %eax
	leal	(%rax,%rax,2), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_pg_realloc
	movslq	%ebx, %rdx
	movq	-72(%rbp), %rcx
	leaq	(%rdx,%rdx,2), %rsi
	movq	%rcx, 16(%rax,%rsi,8)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, %rdx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, 8(%rax,%rsi,8)
	movl	%r12d, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_1 Depth=1
	testb	%r15b, %r15b
	je	LBB0_22
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
	movq	%r14, %r12
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r14), %eax
	testb	%al, %al
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpb	$10, %al
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	incq	%r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	$0, (%r14)
	incq	%r14
	movb	$1, %r15b
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	(%r12), %al
	testb	%al, %al
	je	LBB0_21
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	1(%r12), %rbx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	%al, %edi
	callq	_isspace
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_9
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movb	-1(%rbx), %al
	testb	%al, %al
	je	LBB0_21
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$35, %al
	je	LBB0_21
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-72(%rbp), %rdx
	leaq	-104(%rbp), %rcx
	leaq	-96(%rbp), %r8
	callq	_sscanf
	testl	%eax, %eax
	jle	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$3, %eax
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rcx
	movq	-72(%rbp), %r13
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rcx, %r13
	jg	LBB0_20
## %bb.19:
	leaq	L_.str.4(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_pg_log_error
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_25
LBB0_22:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_26
## %bb.23:
	cmpq	%r14, %r13
	jge	LBB0_24
LBB0_26:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	1(%rax), %ebx
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.27:
	leal	(,%rbx,8), %eax
	leal	(%rax,%rax,2), %esi
	callq	_pg_realloc
	jmp	LBB0_29
LBB0_28:
	movl	$24, %edi
	callq	_pg_malloc
LBB0_29:
	movslq	-48(%rbp), %rcx                 ## 4-byte Folded Reload
	leaq	(%rcx,%rcx,2), %rcx
	movq	%r14, 16(%rax,%rcx,8)
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, 8(%rax,%rcx,8)
	movq	_InvalidXLogRecPtr@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, (%rax,%rcx,8)
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%ebx, (%rcx)
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_pg_log_error
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_25
LBB0_16:
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_pg_log_error
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_25
LBB0_24:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_log_error
	leaq	L_.str.7(%rip), %rdi
LBB0_25:
	xorl	%eax, %eax
	callq	_pg_log_error
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidXLogRecPtr,8,3          ## @InvalidXLogRecPtr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u\t%X/%X"

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

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

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

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

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

L_.str.6:                               ## @.str.6
	.asciz	"invalid data in history file"

L_.str.7:                               ## @.str.7
	.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	_rewind_parseTimeLineHistory    ; -- Begin function rewind_parseTimeLineHistory
	.p2align	2
_rewind_parseTimeLineHistory:           ; @rewind_parseTimeLineHistory
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	stp	x2, x1, [sp, #8]                ; 16-byte Folded Spill
	mov	x22, x0
	mov	x20, #0
	mov	w27, #0
	mov	x21, #0
Lloh0:
	adrp	x8, _InvalidXLogRecPtr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh2:
	ldr	x26, [x8]
Lloh3:
	adrp	x23, l_.str@PAGE
Lloh4:
	add	x23, x23, l_.str@PAGEOFF
	mov	w28, #24
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w20, w27, #1
	add	w8, w20, w20, lsl #1
	lsl	w1, w8, #3
	mov	x0, x21
	bl	_pg_realloc
	mov	x21, x0
	ldr	x8, [sp, #40]
	smaddl	x9, w27, w28, x0
	stp	x26, x8, [x9, #8]
	mov	x27, x20
	mov	x20, x25
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	tbz	w19, #0, LBB0_18
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	mov	x24, x22
	ldrb	w8, [x22]
	cbz	w8, LBB0_6
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w8, #10
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	add	x22, x22, #1
	ldrb	w8, [x22]
	cbnz	w8, LBB0_4
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w19, #0
	ldrb	w8, [x24]
	cbnz	w8, LBB0_8
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	strb	wzr, [x22], #1
	mov	w19, #1
	ldrb	w8, [x24]
	cbz	w8, LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x24, #1
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	w0, w8, #0xff
	bl	_isspace
	cbz	w0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldrb	w8, [x25], #1
	cbnz	w8, LBB0_9
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldurb	w8, [x25, #-1]
	cbz	w8, LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #35
	b.eq	LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x2, sp, #40
	add	x3, sp, #32
	add	x4, sp, #24
	mov	x0, x24
	mov	x1, x23
	bl	_sscanf
	cmp	w0, #0
	b.le	LBB0_24
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #3
	b.ne	LBB0_25
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x25, [sp, #40]
	cbz	x21, LBB0_1
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	x25, x20
	b.gt	LBB0_1
; %bb.17:
	str	x24, [sp]
Lloh5:
	adrp	x0, l_.str.4@PAGE
Lloh6:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pg_log_error
Lloh7:
	adrp	x0, l_.str.5@PAGE
Lloh8:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_27
LBB0_18:
	ldr	x22, [sp, #16]                  ; 8-byte Folded Reload
	cbz	x21, LBB0_20
; %bb.19:
	cmp	x20, x22
	b.ge	LBB0_26
LBB0_20:
	add	w19, w27, #1
	cbz	x21, LBB0_22
; %bb.21:
	add	w8, w19, w19, lsl #1
	lsl	w1, w8, #3
	mov	x0, x21
	bl	_pg_realloc
	b	LBB0_23
LBB0_22:
	mov	w0, #24
	bl	_pg_malloc
LBB0_23:
	mov	w8, #24
	smaddl	x8, w27, w8, x0
	stp	x26, x22, [x8, #8]
Lloh9:
	adrp	x9, _InvalidXLogRecPtr@GOTPAGE
Lloh10:
	ldr	x9, [x9, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	str	w9, [x8]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	w19, [x8]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_24:
	str	x24, [sp]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pg_log_error
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_27
LBB0_25:
	str	x24, [sp]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pg_log_error
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_27
LBB0_26:
Lloh20:
	adrp	x0, l_.str.6@PAGE
Lloh21:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pg_log_error
Lloh22:
	adrp	x0, l_.str.7@PAGE
Lloh23:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_27:
	bl	_pg_log_error
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidXLogRecPtr,8,3          ; @InvalidXLogRecPtr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u\t%X/%X"

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

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

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

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

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

l_.str.6:                               ; @.str.6
	.asciz	"invalid data in history file"

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

.subsections_via_symbols
