	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function init_all
LCPI0_0:
	.quad	0x3ff199999999999a              ## double 1.1000000000000001
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_init_all
	.p2align	4, 0x90
_init_all:                              ## @init_all
	.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	%edi, %ebx
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_2:
	movq	_log_ts_exact_interval@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_volumes@GOTPCREL(%rip), %rdi
	callq	_map_int_int_init
	movq	_h_users@GOTPCREL(%rip), %rdi
	callq	_set_intp_init
	xorl	%eax, %eax
	callq	_init_types
	movl	%ebx, %edi
	callq	_load_header
	movl	%eax, %r15d
	movq	_header@GOTPCREL(%rip), %rax
	movl	16(%rax), %ecx
	movq	_jump_log_ts@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	12(%rax), %ecx
	movq	_jump_log_pos@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	8(%rax), %ecx
	movq	_jump_log_crc32@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movq	_index_users@GOTPCREL(%rip), %rcx
	movl	(%rax), %edx
	movl	4(%rax), %eax
	movl	%edx, (%rcx)
	movq	_user_cnt@GOTPCREL(%rip), %r12
	movl	%edx, (%r12)
	movq	_total_photos@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	cmpl	$199999, %edx                   ## imm = 0x30D3F
	jg	LBB0_4
## %bb.3:
	movl	$200000, (%r12)                 ## imm = 0x30D40
LBB0_4:
	movl	$1, %edi
	callq	_assert
	cvtsi2sdl	(%r12), %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %eax
	leal	-4(,%rax,4), %edi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %edx
	cltq
	imulq	$1717986919, %rax, %rcx         ## imm = 0x66666667
	movq	%rcx, %rsi
	shrq	$63, %rsi
	sarq	$33, %rcx
	addl	%esi, %ecx
	leal	(%rcx,%rcx,4), %esi
	movl	%eax, %ecx
	subl	%esi, %ecx
	incl	%eax
	addl	$4, %edi
	testb	$1, %dl
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.7:
	decl	%eax
	movl	%eax, (%r12)
	callq	_dl_malloc
	movq	%rax, %rdi
	movq	_users@GOTPCREL(%rip), %r13
	movq	%rax, (%r13)
	cmpl	$0, (%r12)
	jle	LBB0_10
## %bb.8:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	addq	%rbx, %rdi
	callq	_user_init
	incq	%r14
	movslq	(%r12), %rax
	movq	(%r13), %rdi
	addq	$16, %rbx
	cmpq	%rax, %r14
	jl	LBB0_9
LBB0_10:
	movq	_LRU_head@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	movq	%rdi, (%rdi)
	movq	(%rax), %rax
	movq	%rdi, 8(%rax)
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	callq	_try_init_local_uid
LBB0_12:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_14
## %bb.13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
LBB0_14:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Init_all started\n"

	.comm	_log_ts_exact_interval,4,2      ## @log_ts_exact_interval
	.comm	_volumes,4,2                    ## @volumes
	.comm	_h_users,4,2                    ## @h_users
	.comm	_header,20,2                    ## @header
	.comm	_jump_log_ts,4,2                ## @jump_log_ts
	.comm	_jump_log_pos,4,2               ## @jump_log_pos
	.comm	_jump_log_crc32,4,2             ## @jump_log_crc32
	.comm	_index_users,4,2                ## @index_users
	.comm	_user_cnt,4,2                   ## @user_cnt
	.comm	_total_photos,4,2               ## @total_photos
	.comm	_users,8,3                      ## @users
	.comm	_LRU_head,8,3                   ## @LRU_head
L_.str.1:                               ## @.str.1
	.asciz	"Init_all finished\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_all                       ; -- Begin function init_all
	.p2align	2
_init_all:                              ; @init_all
	.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
Lloh0:
	adrp	x21, _verbosity@GOTPAGE
Lloh1:
	ldr	x21, [x21, _verbosity@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh2:
	adrp	x20, _stderr@GOTPAGE
Lloh3:
	ldr	x20, [x20, _stderr@GOTPAGEOFF]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
	ldr	w0, [x20]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
	mov	w23, #3392
	movk	w23, #3, lsl #16
Lloh6:
	adrp	x8, _log_ts_exact_interval@GOTPAGE
Lloh7:
	ldr	x8, [x8, _log_ts_exact_interval@GOTPAGEOFF]
	mov	w9, #1
Lloh8:
	str	w9, [x8]
Lloh9:
	adrp	x0, _volumes@GOTPAGE
Lloh10:
	ldr	x0, [x0, _volumes@GOTPAGEOFF]
	bl	_map_int_int_init
Lloh11:
	adrp	x0, _h_users@GOTPAGE
Lloh12:
	ldr	x0, [x0, _h_users@GOTPAGEOFF]
	bl	_set_intp_init
	bl	_init_types
	mov	x0, x19
	bl	_load_header
	mov	x19, x0
Lloh13:
	adrp	x8, _header@GOTPAGE
Lloh14:
	ldr	x8, [x8, _header@GOTPAGEOFF]
	ldr	w9, [x8, #16]
Lloh15:
	adrp	x10, _jump_log_ts@GOTPAGE
Lloh16:
	ldr	x10, [x10, _jump_log_ts@GOTPAGEOFF]
Lloh17:
	str	w9, [x10]
Lloh18:
	adrp	x9, _jump_log_pos@GOTPAGE
Lloh19:
	ldr	x9, [x9, _jump_log_pos@GOTPAGEOFF]
	ldp	w11, w10, [x8, #8]
Lloh20:
	str	w10, [x9]
Lloh21:
	adrp	x9, _jump_log_crc32@GOTPAGE
Lloh22:
	ldr	x9, [x9, _jump_log_crc32@GOTPAGEOFF]
Lloh23:
	str	w11, [x9]
Lloh24:
	adrp	x9, _index_users@GOTPAGE
Lloh25:
	ldr	x9, [x9, _index_users@GOTPAGEOFF]
Lloh26:
	adrp	x22, _user_cnt@GOTPAGE
Lloh27:
	ldr	x22, [x22, _user_cnt@GOTPAGEOFF]
	ldp	w10, w8, [x8]
Lloh28:
	str	w10, [x9]
	str	w10, [x22]
Lloh29:
	adrp	x9, _total_photos@GOTPAGE
Lloh30:
	ldr	x9, [x9, _total_photos@GOTPAGEOFF]
Lloh31:
	str	w8, [x9]
	cmp	w10, w23
	b.ge	LBB0_4
; %bb.3:
	str	w23, [x22]
LBB0_4:
	mov	w0, #1
	bl	_assert
	ldr	s0, [x22]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16369, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	fcvtzs	w9, d0
	lsl	w8, w9, #2
	sub	w0, w8, #4
	mov	w8, #26215
	movk	w8, #26214, lsl #16
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x11, x9
	smull	x9, w9, w8
	lsr	x10, x9, #63
	asr	x9, x9, #33
	add	w9, w9, w10
	add	w9, w9, w9, lsl #2
	sub	w10, w11, w9
	add	w9, w11, #1
	add	w0, w0, #4
	tbz	w11, #0, LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w10, LBB0_5
; %bb.7:
	sub	w8, w9, #1
	str	w8, [x22]
	bl	_dl_malloc
Lloh32:
	adrp	x23, _users@GOTPAGE
Lloh33:
	ldr	x23, [x23, _users@GOTPAGEOFF]
	str	x0, [x23]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.8:
	mov	x24, #0
	mov	x25, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x0, x24
	bl	_user_init
	add	x25, x25, #1
	ldrsw	x8, [x22]
	ldr	x0, [x23]
	add	x24, x24, #16
	cmp	x25, x8
	b.lt	LBB0_9
LBB0_10:
Lloh34:
	adrp	x8, _LRU_head@GOTPAGE
Lloh35:
	ldr	x8, [x8, _LRU_head@GOTPAGEOFF]
	str	x0, [x8]
	str	x0, [x0]
	ldr	x8, [x8]
	str	x0, [x8, #8]
	cbz	w19, LBB0_12
; %bb.11:
	bl	_try_init_local_uid
LBB0_12:
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_14
; %bb.13:
	ldr	w0, [x20]
Lloh36:
	adrp	x1, l_.str.1@PAGE
Lloh37:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_14:
	mov	x0, x19
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Init_all started\n"

	.comm	_log_ts_exact_interval,4,2      ; @log_ts_exact_interval
	.comm	_volumes,4,2                    ; @volumes
	.comm	_h_users,4,2                    ; @h_users
	.comm	_header,20,2                    ; @header
	.comm	_jump_log_ts,4,2                ; @jump_log_ts
	.comm	_jump_log_pos,4,2               ; @jump_log_pos
	.comm	_jump_log_crc32,4,2             ; @jump_log_crc32
	.comm	_index_users,4,2                ; @index_users
	.comm	_user_cnt,4,2                   ; @user_cnt
	.comm	_total_photos,4,2               ; @total_photos
	.comm	_users,8,3                      ; @users
	.comm	_LRU_head,8,3                   ; @LRU_head
l_.str.1:                               ; @.str.1
	.asciz	"Init_all finished\n"

.subsections_via_symbols
