	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_conv_uid                       ## -- Begin function conv_uid
	.p2align	4, 0x90
_conv_uid:                              ## @conv_uid
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, -28(%rbp)
	testl	%edi, %edi
	je	LBB0_6
## %bb.1:
	callq	_dl_abs
	movq	_log_split_mod@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movq	_log_split_min@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_6
## %bb.2:
	movq	_import_dump_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.3:
	movq	_users@GOTPCREL(%rip), %rbx
LBB0_4:
	movq	(%rbx), %rax
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_h_users@GOTPCREL(%rip), %rdi
	leaq	-28(%rbp), %r14
	movq	%r14, %rsi
	callq	_set_intp_add
	movq	%rax, %rbx
	movq	(%rax), %rax
	cmpq	%r14, %rax
	jne	LBB0_7
## %bb.9:
	movq	_cur_local_id@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	incl	%eax
	movq	_user_cnt@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setl	%dil
	callq	_assert
	movq	_users@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movslq	(%r14), %rax
	incq	%rax
	movl	%eax, (%r14)
	leaq	(%rax,%rax,4), %rdx
	leaq	(%rcx,%rdx,4), %rax
	movq	%rax, (%rbx)
	movl	-28(%rbp), %esi
	movl	%esi, (%rcx,%rdx,4)
	movl	(%r14), %esi
	movl	%esi, 4(%rcx,%rdx,4)
	movslq	(%r14), %rsi
	movq	_header@GOTPCREL(%rip), %r15
	cmpl	(%r15), %esi
	jle	LBB0_11
## %bb.10:
	movq	_MIN_NEW_PHOTO_ID@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 16(%rcx,%rdx,4)
	movq	_MIN_NEW_ALBUM_ID@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 12(%rcx,%rdx,4)
	jmp	LBB0_12
LBB0_11:
	movl	-28(%rbp), %eax
	movq	8(%r15), %rcx
	leaq	(%rsi,%rsi,2), %rdx
	xorl	%edi, %edi
	cmpl	(%rcx,%rdx,4), %eax
	sete	%dil
	callq	_assert
	movq	8(%r15), %rcx
	movslq	(%r14), %rax
	leaq	(%rax,%rax,2), %rdx
	movl	8(%rcx,%rdx,4), %esi
	movq	(%rbx), %rax
	movl	%esi, 16(%rax)
	movl	4(%rcx,%rdx,4), %ecx
	movl	%ecx, 12(%rax)
LBB0_12:
	movq	_write_only@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_7
## %bb.13:
	addq	$8, %rax
	movq	_album_func@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	callq	_data_init
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_log_split_mod,4,2              ## @log_split_mod
	.comm	_log_split_min,4,2              ## @log_split_min
	.comm	_import_dump_mode,8,3           ## @import_dump_mode
	.comm	_users,8,3                      ## @users
	.comm	_h_users,4,2                    ## @h_users
	.comm	_cur_local_id,4,2               ## @cur_local_id
	.comm	_user_cnt,4,2                   ## @user_cnt
	.comm	_header,16,3                    ## @header
	.comm	_MIN_NEW_PHOTO_ID,4,2           ## @MIN_NEW_PHOTO_ID
	.comm	_MIN_NEW_ALBUM_ID,4,2           ## @MIN_NEW_ALBUM_ID
	.comm	_write_only,4,2                 ## @write_only
	.comm	_album_func,4,2                 ## @album_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_conv_uid                       ; -- Begin function conv_uid
	.p2align	2
_conv_uid:                              ; @conv_uid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	str	w0, [sp, #12]
	cbz	w0, LBB0_4
; %bb.1:
	bl	_dl_abs
Lloh0:
	adrp	x8, _log_split_mod@GOTPAGE
Lloh1:
	ldr	x8, [x8, _log_split_mod@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sdiv	w9, w0, w8
	msub	w8, w9, w8, w0
Lloh3:
	adrp	x9, _log_split_min@GOTPAGE
Lloh4:
	ldr	x9, [x9, _log_split_min@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _import_dump_mode@GOTPAGE
Lloh7:
	ldr	x8, [x8, _import_dump_mode@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x21, _users@GOTPAGE
Lloh10:
	ldr	x21, [x21, _users@GOTPAGEOFF]
	cbz	x8, LBB0_6
LBB0_3:
	ldr	x0, [x21]
	b	LBB0_5
LBB0_4:
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
Lloh11:
	adrp	x0, _h_users@GOTPAGE
Lloh12:
	ldr	x0, [x0, _h_users@GOTPAGEOFF]
	add	x20, sp, #12
	add	x1, sp, #12
	bl	_set_intp_add
	mov	x19, x0
	ldr	x0, [x0]
	cmp	x0, x20
	b.ne	LBB0_5
; %bb.7:
Lloh13:
	adrp	x20, _cur_local_id@GOTPAGE
Lloh14:
	ldr	x20, [x20, _cur_local_id@GOTPAGEOFF]
	ldr	w8, [x20]
	add	w8, w8, #1
Lloh15:
	adrp	x9, _user_cnt@GOTPAGE
Lloh16:
	ldr	x9, [x9, _user_cnt@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, lt
	bl	_assert
	ldr	x8, [x21]
	ldrsw	x9, [x20]
	add	x9, x9, #1
	str	w9, [x20]
	mov	w10, #20
	madd	x0, x9, x10, x8
	str	x0, [x19]
	ldr	w10, [sp, #12]
	str	w10, [x0]
	ldr	w10, [x20]
	str	w10, [x0, #4]
	ldrsw	x10, [x20]
Lloh18:
	adrp	x21, _header@GOTPAGE
Lloh19:
	ldr	x21, [x21, _header@GOTPAGEOFF]
	ldr	w11, [x21]
	cmp	w10, w11
	b.le	LBB0_9
; %bb.8:
Lloh20:
	adrp	x10, _MIN_NEW_PHOTO_ID@GOTPAGE
Lloh21:
	ldr	x10, [x10, _MIN_NEW_PHOTO_ID@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	mov	w11, #20
	madd	x8, x9, x11, x8
	str	w10, [x8, #16]
Lloh23:
	adrp	x9, _MIN_NEW_ALBUM_ID@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MIN_NEW_ALBUM_ID@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	str	w9, [x8, #12]
	b	LBB0_10
LBB0_9:
	ldr	w8, [sp, #12]
	ldr	x9, [x21, #8]
	mov	w22, #12
	mul	x10, x10, x22
	ldr	w9, [x9, x10]
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
	ldr	x8, [x21, #8]
	ldrsw	x9, [x20]
	ldr	x0, [x19]
	madd	x8, x9, x22, x8
	ldur	d0, [x8, #4]
	stur	d0, [x0, #12]
LBB0_10:
Lloh26:
	adrp	x8, _write_only@GOTPAGE
Lloh27:
	ldr	x8, [x8, _write_only@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cbnz	w8, LBB0_5
; %bb.11:
	add	x0, x0, #8
Lloh29:
	adrp	x1, _album_func@GOTPAGE
Lloh30:
	ldr	x1, [x1, _album_func@GOTPAGEOFF]
	bl	_data_init
	mov	x21, x19
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_log_split_mod,4,2              ; @log_split_mod
	.comm	_log_split_min,4,2              ; @log_split_min
	.comm	_import_dump_mode,8,3           ; @import_dump_mode
	.comm	_users,8,3                      ; @users
	.comm	_h_users,4,2                    ; @h_users
	.comm	_cur_local_id,4,2               ; @cur_local_id
	.comm	_user_cnt,4,2                   ; @user_cnt
	.comm	_header,16,3                    ; @header
	.comm	_MIN_NEW_PHOTO_ID,4,2           ; @MIN_NEW_PHOTO_ID
	.comm	_MIN_NEW_ALBUM_ID,4,2           ; @MIN_NEW_ALBUM_ID
	.comm	_write_only,4,2                 ; @write_only
	.comm	_album_func,4,2                 ; @album_func
.subsections_via_symbols
