	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_user_get_albums                ## -- Begin function user_get_albums
	.p2align	4, 0x90
_user_get_albums:                       ## @user_get_albums
	.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	%rcx, %r14
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	%rdi, %r15
	callq	_user_loaded
	movl	%eax, %edi
	callq	_assert
	testl	%r13d, %r13d
	jle	LBB0_1
## %bb.2:
	movq	_MAX_RESULT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	testl	%r12d, %r12d
	cmovgl	%r12d, %ebx
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	cmovgel	%eax, %ebx
	cmpl	%r13d, %eax
	cmovll	%eax, %r13d
	movq	%r15, %rdi
	callq	_user_get_album_data
	movq	%rax, %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_user_get                       ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_RESULT,4,2                 ## @MAX_RESULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_user_get_albums                ; -- Begin function user_get_albums
	.p2align	2
_user_get_albums:                       ; @user_get_albums
	.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	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	bl	_user_loaded
	bl	_assert
	cmp	w21, #1
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MAX_RESULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_RESULT@GOTPAGEOFF]
	cmp	w22, #0
	csel	w9, w22, wzr, gt
Lloh2:
	ldr	w8, [x8]
	cmp	w9, w8
	csel	w22, w9, w8, lt
	cmp	w8, w21
	csel	w21, w8, w21, lt
	mov	x0, x20
	bl	_user_get_album_data
	mov	x1, x21
	mov	x2, x22
	mov	x3, x19
	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
	b	_user_get
LBB0_2:
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_RESULT,4,2                 ; @MAX_RESULT
.subsections_via_symbols
