	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_bookmarks                 ## -- Begin function load_bookmarks
	.p2align	4, 0x90
_load_bookmarks:                        ## @load_bookmarks
	.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
	movq	%rdi, %r14
	xorl	%edi, %edi
	callq	_assert
	movl	8(%r14), %eax
	movq	_index_large_data_offset@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%r14), %eax
	movq	_small_users_number@GOTPCREL(%rip), %r13
	movl	%eax, (%r13)
	leal	4(,%rax,4), %edi
	callq	_zmalloc
	movq	_small_users@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	movq	_idx_fd@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%r13), %ecx
	leal	4(,%rcx,4), %edx
	movq	%rax, %rsi
	callq	_read
	cmpl	$0, (%r13)
	jle	LBB0_3
## %bb.1:
	movl	$16, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	leaq	1(%r15), %r12
	movq	(%rax,%rbx), %rcx
	xorl	%edi, %edi
	cmpq	-16(%rax,%rbx), %rcx
	setg	%dil
	callq	_assert
	movq	_small_users@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax,%rbx), %rcx
	cmpq	-8(%rax,%rbx), %rcx
	setg	%al
	movl	(%r13), %ecx
	decl	%ecx
	cmpq	%rcx, %r15
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movslq	(%r13), %rax
	addq	$16, %rbx
	movq	%r12, %r15
	cmpq	%rax, %r12
	movq	_small_users@GOTPCREL(%rip), %r12
	jl	LBB0_2
LBB0_3:
	movq	(%r12), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_assert
	movl	4(%r14), %eax
	movq	_large_users_number@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	leal	4(,%rax,4), %edi
	callq	_zmalloc
	movq	_large_users@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movq	_idx_fd@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%r14), %ecx
	leal	4(,%rcx,4), %edx
	movq	%rax, %rsi
	callq	_read
	cmpl	$0, (%r14)
	jle	LBB0_6
## %bb.4:
	movl	$16, %r12d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	leaq	1(%r15), %r13
	movq	(%rax,%r12), %rcx
	xorl	%edi, %edi
	cmpq	-16(%rax,%r12), %rcx
	setg	%dil
	callq	_assert
	movq	(%rbx), %rax
	movq	8(%rax,%r12), %rcx
	cmpq	-8(%rax,%r12), %rcx
	setg	%al
	movl	(%r14), %ecx
	decl	%ecx
	cmpq	%rcx, %r15
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movslq	(%r14), %rax
	addq	$16, %r12
	movq	%r13, %r15
	cmpq	%rax, %r13
	jl	LBB0_5
LBB0_6:
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_assert
	movq	_small_users@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_small_users_number@GOTPCREL(%rip), %r15
	movslq	(%r15), %rcx
	shlq	$4, %rcx
	movl	(%rax,%rcx), %edi
	shll	$3, %edi
	callq	_zmalloc
	movq	_small_bookmarks@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_idx_fd@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%rbx), %rcx
	movslq	(%r15), %rdx
	shlq	$4, %rdx
	movl	(%rcx,%rdx), %edx
	shll	$3, %edx
	movq	%rax, %rsi
	callq	_read
	movl	(%r14), %eax
	leal	4(,%rax,4), %edi
	callq	_zmalloc
	movq	_large_metafiles@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movq	_verbosity@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movq	(%rbx), %rax
LBB0_8:
	movslq	(%r14), %rcx
	movl	%ecx, (%rax,%rcx,8)
	movslq	(%r14), %rcx
	movl	%ecx, 4(%rax,%rcx,8)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_index_large_data_offset,4,2    ## @index_large_data_offset
	.comm	_small_users_number,4,2         ## @small_users_number
	.comm	_small_users,8,3                ## @small_users
	.comm	_idx_fd,4,2                     ## @idx_fd
	.comm	_large_users_number,4,2         ## @large_users_number
	.comm	_large_users,8,3                ## @large_users
	.comm	_small_bookmarks,8,3            ## @small_bookmarks
	.comm	_large_metafiles,8,3            ## @large_metafiles
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"small_users = %d, large_users = %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_bookmarks                 ; -- Begin function load_bookmarks
	.p2align	2
_load_bookmarks:                        ; @load_bookmarks
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	mov	w0, #0
	bl	_assert
	ldr	w8, [x19, #8]
Lloh0:
	adrp	x9, _index_large_data_offset@GOTPAGE
Lloh1:
	ldr	x9, [x9, _index_large_data_offset@GOTPAGEOFF]
Lloh2:
	str	w8, [x9]
	ldr	w8, [x19]
Lloh3:
	adrp	x20, _small_users_number@GOTPAGE
Lloh4:
	ldr	x20, [x20, _small_users_number@GOTPAGEOFF]
	str	w8, [x20]
	lsl	w8, w8, #2
	add	w0, w8, #4
	bl	_zmalloc
	mov	x1, x0
Lloh5:
	adrp	x21, _small_users@GOTPAGE
Lloh6:
	ldr	x21, [x21, _small_users@GOTPAGEOFF]
	str	x0, [x21]
Lloh7:
	adrp	x22, _idx_fd@GOTPAGE
Lloh8:
	ldr	x22, [x22, _idx_fd@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	w8, [x20]
	lsl	w8, w8, #2
	add	w2, w8, #4
	bl	_read
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
	mov	x24, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x25, x24, #1
	add	x8, x8, x23
	ldr	x9, [x8, #16]
	ldr	x8, [x8]
	cmp	x9, x8
	cset	w0, gt
	bl	_assert
	ldr	x8, [x21]
	add	x8, x8, x23
	ldr	x9, [x8, #24]
	ldr	x8, [x8, #8]
	ldr	w10, [x20]
	sub	w10, w10, #1
	cmp	x9, x8
	ccmp	x24, x10, #4, le
	cset	w0, eq
	bl	_assert
	ldrsw	x8, [x20]
	add	x23, x23, #16
	mov	x24, x25
	cmp	x25, x8
	b.lt	LBB0_2
LBB0_3:
	ldr	x8, [x21]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	w8, [x19, #4]
Lloh9:
	adrp	x19, _large_users_number@GOTPAGE
Lloh10:
	ldr	x19, [x19, _large_users_number@GOTPAGEOFF]
	str	w8, [x19]
	lsl	w8, w8, #2
	add	w0, w8, #4
	bl	_zmalloc
	mov	x1, x0
Lloh11:
	adrp	x23, _large_users@GOTPAGE
Lloh12:
	ldr	x23, [x23, _large_users@GOTPAGEOFF]
	str	x0, [x23]
	ldr	w0, [x22]
	ldr	w8, [x19]
	lsl	w8, w8, #2
	add	w2, w8, #4
	bl	_read
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x24, #0
	mov	x25, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x26, x25, #1
	add	x8, x8, x24
	ldr	x9, [x8, #16]
	ldr	x8, [x8]
	cmp	x9, x8
	cset	w0, gt
	bl	_assert
	ldr	x8, [x23]
	add	x8, x8, x24
	ldr	x9, [x8, #24]
	ldr	x8, [x8, #8]
	ldr	w10, [x19]
	sub	w10, w10, #1
	cmp	x9, x8
	ccmp	x25, x10, #4, le
	cset	w0, eq
	bl	_assert
	ldrsw	x8, [x19]
	add	x24, x24, #16
	mov	x25, x26
	cmp	x26, x8
	b.lt	LBB0_5
LBB0_6:
	ldr	x8, [x23]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x21]
	ldrsw	x9, [x20]
	lsl	x9, x9, #4
	ldr	w8, [x8, x9]
	lsl	w0, w8, #3
	bl	_zmalloc
	mov	x1, x0
Lloh13:
	adrp	x8, _small_bookmarks@GOTPAGE
Lloh14:
	ldr	x8, [x8, _small_bookmarks@GOTPAGEOFF]
Lloh15:
	str	x0, [x8]
	ldr	w0, [x22]
	ldr	x8, [x21]
	ldrsw	x9, [x20]
	lsl	x9, x9, #4
	ldr	w8, [x8, x9]
	lsl	w2, w8, #3
	bl	_read
	ldr	w8, [x19]
	lsl	w8, w8, #2
	add	w0, w8, #4
	bl	_zmalloc
Lloh16:
	adrp	x21, _large_metafiles@GOTPAGE
Lloh17:
	ldr	x21, [x21, _large_metafiles@GOTPAGEOFF]
	str	x0, [x21]
Lloh18:
	adrp	x8, _verbosity@GOTPAGE
Lloh19:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
Lloh21:
	adrp	x8, _stderr@GOTPAGE
Lloh22:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	w2, [x20]
	ldr	w3, [x19]
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	x0, [x21]
LBB0_8:
	ldrsw	x8, [x19]
	lsl	x9, x8, #3
	str	w8, [x0, x9]
	ldrsw	x8, [x19]
	add	x9, x0, x8, lsl #3
	str	w8, [x9, #4]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_index_large_data_offset,4,2    ; @index_large_data_offset
	.comm	_small_users_number,4,2         ; @small_users_number
	.comm	_small_users,8,3                ; @small_users
	.comm	_idx_fd,4,2                     ; @idx_fd
	.comm	_large_users_number,4,2         ; @large_users_number
	.comm	_large_users,8,3                ; @large_users
	.comm	_small_bookmarks,8,3            ; @small_bookmarks
	.comm	_large_metafiles,8,3            ; @large_metafiles
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"small_users = %d, large_users = %d\n"

.subsections_via_symbols
