	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_user_create_photo_force        ## -- Begin function user_create_photo_force
	.p2align	4, 0x90
_user_create_photo_force:               ## @user_create_photo_force
	.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	%ecx, %ebx
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r12
	movl	%ecx, %edi
	callq	_check_photo_id
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	%r15d, %edi
	callq	_check_album_id
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	leal	(%rbx,%r14), %eax
	cmpl	(%r12), %eax
	jle	LBB0_6
LBB0_4:
	movl	$-1, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_write_only@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpq	$0, (%rcx)
	jne	LBB0_7
## %bb.8:
	movq	%r12, %rdi
	callq	_user_loaded
	movl	%eax, %edi
	callq	_assert
	testl	%r15d, %r15d
	jns	LBB0_10
## %bb.9:
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_user_create_album_force
LBB0_10:
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_user_get_photo_data
	testq	%rax, %rax
	je	LBB0_4
## %bb.11:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_data_get_cnt
	movslq	%r14d, %r13
	addq	%rax, %r13
	movl	%r15d, %edi
	callq	_GET_MAX_PHOTOS
	movq	%rax, %rcx
	movl	$-1, %eax
	cmpq	%rcx, %r13
	jg	LBB0_7
## %bb.12:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_user_create_photo_internal     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_write_only,8,3                 ## @write_only
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_user_create_photo_force        ; -- Begin function user_create_photo_force
	.p2align	2
_user_create_photo_force:               ; @user_create_photo_force
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x3
	bl	_check_photo_id
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_check_album_id
	cbz	w0, LBB0_3
; %bb.2:
	ldr	w8, [x22]
	add	w9, w19, w20
	cmp	w9, w8
	b.le	LBB0_5
LBB0_3:
	mov	w0, #-1
LBB0_4:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh0:
	adrp	x8, _write_only@GOTPAGE
Lloh1:
	ldr	x8, [x8, _write_only@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	w0, #1
	b	LBB0_4
LBB0_7:
	mov	x0, x22
	bl	_user_loaded
	bl	_assert
	tbz	w21, #31, LBB0_9
; %bb.8:
	mov	x0, x22
	mov	x1, x21
	bl	_user_create_album_force
LBB0_9:
	mov	x0, x22
	mov	x1, x21
	bl	_user_get_photo_data
	cbz	x0, LBB0_3
; %bb.10:
	mov	x23, x0
	bl	_data_get_cnt
	add	x24, x0, w20, sxtw
	mov	x0, x21
	bl	_GET_MAX_PHOTOS
	cmp	x24, x0
	b.gt	LBB0_3
; %bb.11:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_user_create_photo_internal
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_write_only,8,3                 ; @write_only
.subsections_via_symbols
