	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_user_get_photo_data            ## -- Begin function user_get_photo_data
	.p2align	4, 0x90
_user_get_photo_data:                   ## @user_get_photo_data
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_user_get_album_data
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_data_get_local_id_by_id
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	leaq	32(%rbx), %rdi
	movl	%r15d, %esi
	callq	_map_int_vptr_add
	movq	%rax, %r14
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	jne	LBB0_4
## %bb.3:
	movl	$4, %edi
	callq	_dl_malloc
	movq	%rax, (%r14)
	movq	_photo_func@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	callq	_data_init
	movq	(%r14), %rdi
LBB0_4:
	callq	_data_loaded
	testl	%eax, %eax
	jne	LBB0_11
## %bb.5:
	movl	(%rbx), %r12d
	leaq	28(%rbx), %rdi
	movl	%r15d, %esi
	callq	_set_int_get
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movl	(%rbx), %esi
	movl	24(%rbx), %edi
	movl	%r15d, %edx
	callq	_dl_find_int
	movl	%eax, %r12d
LBB0_7:
	movq	(%r14), %rdi
	cmpl	(%rbx), %r12d
	jne	LBB0_8
## %bb.9:
	movq	_EMPTY__METAFILE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_EMPTY__METAFILE_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	jmp	LBB0_10
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	callq	_dbg
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_8:
	movq	8(%rbx), %rax
	movslq	%r12d, %rcx
	movq	(%rax,%rcx,8), %r8
	movq	8(%rax,%rcx,8), %rdx
	movq	16(%rbx), %rsi
	addq	%r8, %rsi
	subq	%r8, %rdx
LBB0_10:
	callq	_data_load
LBB0_11:
	movq	(%r14), %rax
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexisted album %d\n"

	.comm	_photo_func,4,2                 ## @photo_func
	.comm	_EMPTY__METAFILE,8,3            ## @EMPTY__METAFILE
	.comm	_EMPTY__METAFILE_LEN,8,3        ## @EMPTY__METAFILE_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_user_get_photo_data            ; -- Begin function user_get_photo_data
	.p2align	2
_user_get_photo_data:                   ; @user_get_photo_data
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x20, x0
	bl	_user_get_album_data
	mov	x1, x21
	bl	_data_get_local_id_by_id
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
	add	x0, x20, #32
	mov	x1, x21
	bl	_map_int_vptr_add
	mov	x19, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_4
; %bb.2:
	bl	_data_loaded
	cbnz	w0, LBB0_11
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_dbg
	mov	x0, #0
	b	LBB0_12
LBB0_4:
	mov	w0, #4
	bl	_dl_malloc
	str	x0, [x19]
Lloh2:
	adrp	x1, _photo_func@GOTPAGE
Lloh3:
	ldr	x1, [x1, _photo_func@GOTPAGEOFF]
	bl	_data_init
	ldr	x0, [x19]
	bl	_data_loaded
	cbnz	w0, LBB0_11
LBB0_5:
	mov	x0, x20
	ldr	w22, [x0], #28
	mov	x1, x21
	bl	_set_int_get
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	w0, [x20, #24]
	ldr	w1, [x20]
	mov	x2, x21
	bl	_dl_find_int
	mov	x22, x0
LBB0_7:
	ldr	w8, [x20]
	ldr	x0, [x19]
	cmp	w22, w8
	b.ne	LBB0_9
; %bb.8:
Lloh4:
	adrp	x8, _EMPTY__METAFILE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EMPTY__METAFILE@GOTPAGEOFF]
Lloh6:
	ldr	x1, [x8]
Lloh7:
	adrp	x8, _EMPTY__METAFILE_LEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EMPTY__METAFILE_LEN@GOTPAGEOFF]
Lloh9:
	ldr	x2, [x8]
	b	LBB0_10
LBB0_9:
	ldp	x9, x8, [x20, #8]
	add	x9, x9, w22, sxtw #3
	ldp	x10, x9, [x9]
	add	x1, x10, x8
	sub	x2, x9, x10
LBB0_10:
	bl	_data_load
LBB0_11:
	ldr	x0, [x19]
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexisted album %d\n"

	.comm	_photo_func,4,2                 ; @photo_func
	.comm	_EMPTY__METAFILE,8,3            ; @EMPTY__METAFILE
	.comm	_EMPTY__METAFILE_LEN,8,3        ; @EMPTY__METAFILE_LEN
.subsections_via_symbols
