	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_thumbnail_process_stream  ## -- Begin function menu_thumbnail_process_stream
	.p2align	4, 0x90
_menu_thumbnail_process_stream:         ## @menu_thumbnail_process_stream
	.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
	testq	%r8, %r8
	je	LBB0_11
## %bb.1:
	movq	%r8, %rbx
	movq	%rcx, %r14
	movq	(%r8), %rax
	movq	_MENU_THUMBNAIL_STATUS_UNKNOWN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testl	%r9d, %r9d
	je	LBB0_9
## %bb.2:
	cmpq	%rcx, %rax
	jne	LBB0_11
## %bb.3:
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %r13
	xorl	%eax, %eax
	callq	_menu_animation_get_delta_time
	addq	8(%rbx), %rax
	movq	%rax, 8(%rbx)
	movq	_menu_thumbnail_stream_delay@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_11
## %bb.4:
	testq	%r13, %r13
	je	LBB0_11
## %bb.5:
	testq	%r15, %r15
	je	LBB0_11
## %bb.6:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_menu_thumbnail_set_content_playlist
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%rbx, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_menu_thumbnail_request         ## TAILCALL
LBB0_9:
	cmpq	%rcx, %rax
	jne	LBB0_12
## %bb.10:
	movq	$0, 8(%rbx)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_menu_thumbnail_reset           ## TAILCALL
LBB0_7:
	movq	%rbx, %rdi
	callq	_menu_thumbnail_reset
	movq	_MENU_THUMBNAIL_STATUS_MISSING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_MENU_THUMBNAIL_STATUS_UNKNOWN,8,3 ## @MENU_THUMBNAIL_STATUS_UNKNOWN
	.comm	_menu_thumbnail_stream_delay,8,3 ## @menu_thumbnail_stream_delay
	.comm	_MENU_THUMBNAIL_STATUS_MISSING,8,3 ## @MENU_THUMBNAIL_STATUS_MISSING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_thumbnail_process_stream  ; -- Begin function menu_thumbnail_process_stream
	.p2align	2
_menu_thumbnail_process_stream:         ; @menu_thumbnail_process_stream
	.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
	cbz	x4, LBB0_8
; %bb.1:
	mov	x19, x4
	ldr	x8, [x4]
Lloh0:
	adrp	x9, _MENU_THUMBNAIL_STATUS_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MENU_THUMBNAIL_STATUS_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cbz	w5, LBB0_6
; %bb.2:
	b.ne	LBB0_8
; %bb.3:
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	bl	_menu_animation_get_delta_time
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _menu_thumbnail_stream_delay@GOTPAGE
Lloh4:
	ldr	x9, [x9, _menu_thumbnail_stream_delay@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x8, x8, x0
	cmp	x8, x9
	str	x8, [x19, #8]
	ccmp	x23, #0, #4, gt
	ccmp	x21, #0, #4, ne
	b.eq	LBB0_8
; %bb.4:
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	bl	_menu_thumbnail_set_content_playlist
	cbz	w0, LBB0_10
; %bb.5:
	mov	x0, x23
	mov	x1, x22
	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	_menu_thumbnail_request
LBB0_6:
	b.ne	LBB0_9
; %bb.7:
	str	xzr, [x19, #8]
LBB0_8:
	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_9:
	mov	x0, 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	_menu_thumbnail_reset
LBB0_10:
	mov	x0, x19
	bl	_menu_thumbnail_reset
Lloh6:
	adrp	x8, _MENU_THUMBNAIL_STATUS_MISSING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MENU_THUMBNAIL_STATUS_MISSING@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MENU_THUMBNAIL_STATUS_UNKNOWN,8,3 ; @MENU_THUMBNAIL_STATUS_UNKNOWN
	.comm	_menu_thumbnail_stream_delay,8,3 ; @menu_thumbnail_stream_delay
	.comm	_MENU_THUMBNAIL_STATUS_MISSING,8,3 ; @MENU_THUMBNAIL_STATUS_MISSING
.subsections_via_symbols
