	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_thumbnail_process_streams ## -- Begin function menu_thumbnail_process_streams
	.p2align	4, 0x90
_menu_thumbnail_process_streams:        ## @menu_thumbnail_process_streams
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rcx, %rcx
	je	LBB0_28
## %bb.1:
	movq	%r8, %r14
	testq	%r8, %r8
	je	LBB0_28
## %bb.2:
	movq	%rcx, %rbx
	movq	(%rcx), %r13
	movq	_MENU_THUMBNAIL_STATUS_UNKNOWN@GOTPCREL(%rip), %r12
	movq	(%r12), %r15
	testl	%r9d, %r9d
	je	LBB0_23
## %bb.3:
	movq	(%r14), %r12
	cmpq	%r15, %r13
	je	LBB0_5
## %bb.4:
	cmpq	%r15, %r12
	jne	LBB0_28
LBB0_5:
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_menu_animation_get_delta_time
	cmpq	%r15, %r13
	jne	LBB0_7
## %bb.6:
	cvtsi2ssq	8(%rbx), %xmm1
	addss	%xmm0, %xmm1
	cvttss2si	%xmm1, %rax
	movq	%rax, 8(%rbx)
	movq	_menu_thumbnail_stream_delay@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	%rax, (%rcx)
	setl	%dl
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
LBB0_7:
	cmpq	%r15, %r12
	jne	LBB0_8
## %bb.9:
	xorps	%xmm1, %xmm1
	cvtsi2ssq	8(%r14), %xmm1
	addss	%xmm1, %xmm0
	cvttss2si	%xmm0, %rax
	movq	%rax, 8(%r14)
	movq	_menu_thumbnail_stream_delay@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	setl	%r12b
	jmp	LBB0_10
LBB0_23:
	cmpq	%r15, %r13
	jne	LBB0_25
## %bb.24:
	movq	$0, 8(%rbx)
	cmpq	%r13, (%r14)
	je	LBB0_27
LBB0_29:
	movq	%r14, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_menu_thumbnail_reset           ## TAILCALL
LBB0_25:
	movq	%rbx, %rdi
	callq	_menu_thumbnail_reset
	movq	(%r12), %r13
	cmpq	%r13, (%r14)
	jne	LBB0_29
LBB0_27:
	movq	$0, 8(%r14)
	jmp	LBB0_28
LBB0_8:
	xorl	%r12d, %r12d
LBB0_10:
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	testl	%r15d, %r15d
	jne	LBB0_12
## %bb.11:
	testb	%r12b, %r12b
	je	LBB0_28
LBB0_12:
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.13:
	testq	%rsi, %rsi
	je	LBB0_28
## %bb.14:
	callq	_menu_thumbnail_set_content_playlist
	testl	%eax, %eax
	je	LBB0_15
## %bb.19:
	testl	%r15d, %r15d
	je	LBB0_21
## %bb.20:
	movq	_MENU_THUMBNAIL_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r8
	callq	_menu_thumbnail_request
LBB0_21:
	testb	%r12b, %r12b
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_28
## %bb.22:
	movq	_MENU_THUMBNAIL_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %r8
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_menu_thumbnail_request         ## TAILCALL
LBB0_15:
	testl	%r15d, %r15d
	je	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	callq	_menu_thumbnail_reset
	movq	_MENU_THUMBNAIL_STATUS_MISSING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_17:
	testb	%r12b, %r12b
	je	LBB0_28
## %bb.18:
	movq	%r14, %rdi
	callq	_menu_thumbnail_reset
	movq	_MENU_THUMBNAIL_STATUS_MISSING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_28:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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
	.comm	_MENU_THUMBNAIL_RIGHT,4,2       ## @MENU_THUMBNAIL_RIGHT
	.comm	_MENU_THUMBNAIL_LEFT,4,2        ## @MENU_THUMBNAIL_LEFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_thumbnail_process_streams ; -- Begin function menu_thumbnail_process_streams
	.p2align	2
_menu_thumbnail_process_streams:        ; @menu_thumbnail_process_streams
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x3, LBB0_27
; %bb.1:
	mov	x19, x4
	cbz	x4, LBB0_27
; %bb.2:
	mov	x20, x3
	ldr	x25, [x3]
Lloh0:
	adrp	x26, _MENU_THUMBNAIL_STATUS_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x26, [x26, _MENU_THUMBNAIL_STATUS_UNKNOWN@GOTPAGEOFF]
	ldr	x24, [x26]
	cbz	w5, LBB0_7
; %bb.3:
	ldr	x26, [x19]
	cmp	x25, x24
	ccmp	x26, x24, #4, ne
	b.ne	LBB0_27
; %bb.4:
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	bl	_menu_animation_get_delta_time
Lloh2:
	adrp	x8, _menu_thumbnail_stream_delay@GOTPAGE
Lloh3:
	ldr	x8, [x8, _menu_thumbnail_stream_delay@GOTPAGEOFF]
	cmp	x25, x24
	b.ne	LBB0_13
; %bb.5:
	ldr	x9, [x20, #8]
	scvtf	s1, x9
	fadd	s1, s0, s1
	fcvtzs	x9, s1
	str	x9, [x20, #8]
	ldr	x10, [x8]
	cmp	x10, x9
	cset	w25, lt
	cmp	x26, x24
	b.eq	LBB0_14
LBB0_6:
	mov	w24, #0
	cbz	w25, LBB0_15
	b	LBB0_16
LBB0_7:
	cmp	x25, x24
	b.ne	LBB0_9
; %bb.8:
	str	xzr, [x20, #8]
	b	LBB0_10
LBB0_9:
	mov	x0, x20
	bl	_menu_thumbnail_reset
	ldr	x25, [x26]
LBB0_10:
	ldr	x8, [x19]
	cmp	x8, x25
	b.ne	LBB0_12
; %bb.11:
	str	xzr, [x19, #8]
	b	LBB0_27
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_menu_thumbnail_reset
LBB0_13:
	mov	w25, #0
	cmp	x26, x24
	b.ne	LBB0_6
LBB0_14:
	ldr	x9, [x19, #8]
	scvtf	s1, x9
	fadd	s0, s0, s1
	fcvtzs	x9, s0
	str	x9, [x19, #8]
	ldr	x8, [x8]
	cmp	x8, x9
	cset	w24, lt
	cbnz	w25, LBB0_16
LBB0_15:
	cbz	w24, LBB0_27
LBB0_16:
	cbz	x23, LBB0_27
; %bb.17:
	cbz	x22, LBB0_27
; %bb.18:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	bl	_menu_thumbnail_set_content_playlist
	cbz	w0, LBB0_23
; %bb.19:
	cbz	w25, LBB0_21
; %bb.20:
Lloh4:
	adrp	x8, _MENU_THUMBNAIL_RIGHT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MENU_THUMBNAIL_RIGHT@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	bl	_menu_thumbnail_request
LBB0_21:
	cbz	w24, LBB0_27
; %bb.22:
Lloh7:
	adrp	x8, _MENU_THUMBNAIL_LEFT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MENU_THUMBNAIL_LEFT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_menu_thumbnail_request
LBB0_23:
Lloh10:
	adrp	x21, _MENU_THUMBNAIL_STATUS_MISSING@GOTPAGE
Lloh11:
	ldr	x21, [x21, _MENU_THUMBNAIL_STATUS_MISSING@GOTPAGEOFF]
	cbz	w25, LBB0_25
; %bb.24:
	mov	x0, x20
	bl	_menu_thumbnail_reset
	ldr	x8, [x21]
	str	x8, [x20]
LBB0_25:
	cbz	w24, LBB0_27
; %bb.26:
	mov	x0, x19
	bl	_menu_thumbnail_reset
	ldr	x8, [x21]
	str	x8, [x19]
LBB0_27:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.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
	.comm	_MENU_THUMBNAIL_RIGHT,4,2       ; @MENU_THUMBNAIL_RIGHT
	.comm	_MENU_THUMBNAIL_LEFT,4,2        ; @MENU_THUMBNAIL_LEFT
.subsections_via_symbols
