	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resolve_undo_read              ## -- Begin function resolve_undo_read
	.p2align	4, 0x90
_resolve_undo_read:                     ## @resolve_undo_read
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %edi
	movl	$4, %esi
	callq	_xcalloc
	movq	%rax, %r12
	movl	$1, (%rax)
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.1:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_strlen
	incl	%eax
	movslq	%eax, %r14
	subq	%r14, %rbx
	jbe	LBB0_27
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_string_list_insert
	movq	(%rax), %r13
	testq	%r13, %r13
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	movl	$1, %edi
	movl	$16, %esi
	callq	_xcalloc
	movq	%rax, %r13
	movq	%rax, (%r12)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	%r14, %r15
	movq	%r15, %rdi
	leaq	-56(%rbp), %rsi
	movl	$8, %edx
	callq	_strtoul
	movq	8(%r13), %rcx
	movl	%eax, (%rcx)
	movq	-56(%rbp), %rcx
	testq	%rcx, %rcx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_27
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rax
	subq	%r15, %rax
	je	LBB0_27
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, (%rcx)
	jne	LBB0_27
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	subq	%rax, %rbx
	jbe	LBB0_27
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%rax, %r15
	movq	%r15, %rdi
	leaq	-56(%rbp), %rsi
	movl	$8, %edx
	callq	_strtoul
	movq	8(%r13), %rcx
	movl	%eax, 4(%rcx)
	movq	-56(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_27
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rax
	subq	%r15, %rax
	je	LBB0_27
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, (%rcx)
	jne	LBB0_27
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	subq	%rax, %rbx
	jbe	LBB0_27
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	%rax, %r15
	movq	%r15, %rdi
	leaq	-56(%rbp), %rsi
	movl	$8, %edx
	callq	_strtoul
	movq	8(%r13), %rcx
	movl	%eax, 8(%rcx)
	movq	-56(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_27
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdx, %rax
	subq	%r15, %rax
	je	LBB0_27
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, (%rdx)
	jne	LBB0_27
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	subq	%rax, %rbx
	jbe	LBB0_27
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	%rax, %r15
	cmpl	$0, (%rcx)
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	subq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	jb	LBB0_27
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdi
	movq	%r15, %rsi
	callq	_oidread
	addq	-48(%rbp), %r15                 ## 8-byte Folded Reload
	movq	8(%r13), %rcx
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 4(%rcx)
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	subq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	jb	LBB0_27
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdi
	addq	$4, %rdi
	movq	%r15, %rsi
	callq	_oidread
	addq	-48(%rbp), %r15                 ## 8-byte Folded Reload
	movq	8(%r13), %rcx
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 8(%rcx)
	je	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	subq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	jb	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdi
	addq	$8, %rdi
	movq	%r15, %rsi
	callq	_oidread
	addq	-48(%rbp), %r15                 ## 8-byte Folded Reload
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%rbx, %rbx
	jne	LBB0_2
	jmp	LBB0_28
LBB0_27:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_string_list_clear
	leaq	L_.str(%rip), %rdi
	callq	_error
	xorl	%r12d, %r12d
LBB0_28:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Index records invalid resolve-undo information"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resolve_undo_read              ; -- Begin function resolve_undo_read
	.p2align	2
_resolve_undo_read:                     ; @resolve_undo_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _the_hash_algo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _the_hash_algo@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w23, [x8]
	mov	w20, #1
	mov	w0, #1
	mov	w1, #4
	bl	_xcalloc
	mov	x19, x0
	str	w20, [x0]
	cbz	x22, LBB0_27
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_strlen
	add	w8, w0, #1
	sxtw	x25, w8
	subs	x24, x22, x25
	b.ls	LBB0_26
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_string_list_insert
	ldr	x20, [x0]
	cbnz	x20, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x22, x0
	mov	w0, #1
	mov	w1, #16
	bl	_xcalloc
	mov	x20, x0
	str	x0, [x22]
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	x21, x21, x25
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #8
	bl	_strtoul
	ldr	x8, [x20, #8]
	str	w0, [x8]
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_26
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	subs	x9, x8, x21
	b.eq	LBB0_26
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [x8]
	cbnz	w8, LBB0_26
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x8, x9, #1
	subs	x22, x24, x8
	b.ls	LBB0_26
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x21, x21, x8
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #8
	bl	_strtoul
	ldr	x8, [x20, #8]
	str	w0, [x8, #4]
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_26
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	subs	x9, x8, x21
	b.eq	LBB0_26
; %bb.10:                               ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [x8]
	cbnz	w8, LBB0_26
; %bb.11:                               ;   in Loop: Header=BB0_1 Depth=1
	add	x8, x9, #1
	subs	x22, x22, x8
	b.ls	LBB0_26
; %bb.12:                               ;   in Loop: Header=BB0_1 Depth=1
	add	x21, x21, x8
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #8
	bl	_strtoul
	ldr	x8, [x20, #8]
	str	w0, [x8, #8]
	ldr	x9, [sp, #8]
	cbz	x9, LBB0_26
; %bb.13:                               ;   in Loop: Header=BB0_1 Depth=1
	subs	x10, x9, x21
	b.eq	LBB0_26
; %bb.14:                               ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w9, [x9]
	cbnz	w9, LBB0_26
; %bb.15:                               ;   in Loop: Header=BB0_1 Depth=1
	add	x9, x10, #1
	subs	x22, x22, x9
	b.ls	LBB0_26
; %bb.16:                               ;   in Loop: Header=BB0_1 Depth=1
	add	x21, x21, x9
	ldr	w9, [x8]
	cbz	w9, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_1 Depth=1
	subs	x22, x22, x23
	b.lo	LBB0_26
; %bb.18:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x20]
	mov	x1, x21
	bl	_oidread
	add	x21, x21, x23
	ldr	x8, [x20, #8]
LBB0_19:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_1 Depth=1
	subs	x22, x22, x23
	b.lo	LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x20]
	add	x0, x8, #4
	mov	x1, x21
	bl	_oidread
	add	x21, x21, x23
	ldr	x8, [x20, #8]
LBB0_22:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x8, #8]
	cbz	w8, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_1 Depth=1
	subs	x22, x22, x23
	b.lo	LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x20]
	add	x0, x8, #8
	mov	x1, x21
	bl	_oidread
	add	x21, x21, x23
LBB0_25:                                ;   in Loop: Header=BB0_1 Depth=1
	cbnz	x22, LBB0_1
	b	LBB0_27
LBB0_26:
	mov	x0, x19
	mov	w1, #1
	bl	_string_list_clear
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
	mov	x19, #0
LBB0_27:
	mov	x0, x19
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Index records invalid resolve-undo information"

.subsections_via_symbols
