	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_revlist_iterator          ## -- Begin function init_revlist_iterator
	.p2align	4, 0x90
_init_revlist_iterator:                 ## @init_revlist_iterator
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movl	%edi, %r15d
	movq	_tot_revlist_metafiles@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movl	%r15d, %edx
	callq	_vkprintf
	xorl	%ecx, %ecx
	cmpl	$-1, %r15d
	sete	%al
	cmovel	%ecx, %ebx
	movq	_revlist_iterator@GOTPCREL(%rip), %r12
	movl	%r15d, (%r12)
	movl	$0, 4(%r12)
	movl	%ebx, 8(%r12)
	cmpl	%r15d, (%r13)
	jle	LBB0_5
## %bb.1:
	incl	%r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testb	$1, %al
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_RData@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
	movq	_idx_list_entries@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%edx, %edx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	-1(%r15), %r13d
	movl	%r13d, %edi
	movl	$-1, %esi
	callq	_check_revlist_metafile_loaded
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edi
	movl	$-1, %esi
	callq	_prepare_object_metafile_num
	shrq	$63, %rax
	xorl	$1, %eax
	movl	%eax, %edi
	callq	_assert
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edi
	callq	_get_revlist_metafile_ptr
	movl	%eax, 20(%r12)
	movl	%r15d, %edi
	callq	_get_revlist_metafile_offset
	movl	%eax, %r14d
	movl	%r13d, %edi
	callq	_get_revlist_metafile_offset
	subl	%eax, %r14d
	sarl	$3, %r14d
	movl	4(%r12), %edx
	movq	_tot_revlist_metafiles@GOTPCREL(%rip), %r13
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, 16(%r12)
	xorl	%ecx, %ecx
	cmpl	%edx, %r14d
	setle	%cl
	movl	%ecx, 12(%r12)
	testl	%ebx, %ebx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edx, %r14d
	jg	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %ecx
	movl	$2, %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	_vkprintf
	movl	%r15d, (%r12)
                                        ## kill: def $r15d killed $r15d killed $r15 def $r15
	incl	%r15d
	sete	%al
	movl	$0, %ecx
	cmovel	%ecx, %ebx
	movl	$0, 4(%r12)
	movl	%ebx, 8(%r12)
	leal	-1(%r15), %ecx
                                        ## kill: def $r15d killed $r15d killed $r15 def $r15
	cmpl	%ecx, (%r13)
	jg	LBB0_2
LBB0_5:
	movl	$1, 12(%r12)
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_11:
	xorl	%eax, %eax
	cmpl	%edx, %r14d
	setg	%al
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Loading revlist iterator at metafile %d of %d\n"

	.comm	_tot_revlist_metafiles,4,2      ## @tot_revlist_metafiles
	.comm	_revlist_iterator,24,2          ## @revlist_iterator
	.comm	_RData,4,2                      ## @RData
	.comm	_idx_list_entries,4,2           ## @idx_list_entries
	.comm	_object_list_bytes,4,2          ## @object_list_bytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_revlist_iterator          ; -- Begin function init_revlist_iterator
	.p2align	2
_init_revlist_iterator:                 ; @init_revlist_iterator
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _tot_revlist_metafiles@GOTPAGE
Lloh1:
	ldr	x23, [x23, _tot_revlist_metafiles@GOTPAGEOFF]
	ldr	w3, [x23]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x2, x19
	bl	_vkprintf
	cmn	w19, #1
	cset	w8, eq
Lloh4:
	adrp	x24, _revlist_iterator@GOTPAGE
Lloh5:
	ldr	x24, [x24, _revlist_iterator@GOTPAGEOFF]
	csel	w25, wzr, w20, eq
	stp	w19, wzr, [x24]
	str	w25, [x24, #8]
	ldr	w9, [x23]
	cmp	w9, w19
	b.le	LBB0_10
; %bb.1:
	add	w20, w19, #1
Lloh6:
	adrp	x26, _RData@GOTPAGE
Lloh7:
	ldr	x26, [x26, _RData@GOTPAGEOFF]
Lloh8:
	adrp	x27, _idx_list_entries@GOTPAGE
Lloh9:
	ldr	x27, [x27, _idx_list_entries@GOTPAGEOFF]
Lloh10:
	adrp	x19, l_.str@PAGE
Lloh11:
	add	x19, x19, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	tbz	w8, #0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #0
	ldr	w9, [x26]
	str	w9, [x24, #20]
	ldr	w9, [x27]
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	sub	w21, w20, #1
	mov	x0, x21
	mov	w1, #-1
	bl	_check_revlist_metafile_loaded
	cbnz	w0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	mov	w1, #-1
	bl	_prepare_object_metafile_num
	lsr	x8, x0, #63
	eor	w0, w8, #0x1
	bl	_assert
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_get_revlist_metafile_ptr
	str	w0, [x24, #20]
	mov	x0, x20
	bl	_get_revlist_metafile_offset
	mov	x22, x0
	mov	x0, x21
	bl	_get_revlist_metafile_offset
	sub	w8, w22, w0
	asr	w9, w8, #3
	ldr	w8, [x24, #4]
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w9, w8
	cset	w10, le
	stp	w10, w9, [x24, #12]
	cbz	w25, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	b.gt	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w3, [x23]
	mov	w0, #2
	mov	x1, x19
	mov	x2, x20
	bl	_vkprintf
	adds	w9, w20, #1
	cset	w8, hs
	csel	w25, wzr, w25, hs
	stp	w20, wzr, [x24]
	str	w25, [x24, #8]
	ldr	w10, [x23]
	sub	w11, w9, #1
	mov	x20, x9
	cmp	w10, w11
	b.gt	LBB0_2
LBB0_10:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x24, #12]
	b	LBB0_12
LBB0_11:
	cmp	w9, w8
	cset	w0, gt
LBB0_12:
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Loading revlist iterator at metafile %d of %d\n"

	.comm	_tot_revlist_metafiles,4,2      ; @tot_revlist_metafiles
	.comm	_revlist_iterator,24,2          ; @revlist_iterator
	.comm	_RData,4,2                      ; @RData
	.comm	_idx_list_entries,4,2           ; @idx_list_entries
	.comm	_object_list_bytes,4,2          ; @object_list_bytes
.subsections_via_symbols
