	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function materialui_render
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_materialui_render:                     ## @materialui_render
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_menu_display_get_header_height
	movl	%eax, %r13d
	xorl	%eax, %eax
	callq	_menu_entries_get_size
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	callq	_menu_entries_get_selection_buf_ptr
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	je	LBB0_67
## %bb.1:
	testq	%r14, %r14
	je	LBB0_67
## %bb.2:
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_67
## %bb.3:
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_menu_display_get_dpi_scale
	ucomiss	(%rbx), %xmm0
	jne	LBB0_8
	jp	LBB0_8
## %bb.4:
	cmpl	%r15d, 4(%rbx)
	jne	LBB0_8
## %bb.5:
	cmpl	%r12d, 8(%rbx)
	jne	LBB0_8
## %bb.6:
	movl	12(%rbx), %eax
	cmpl	8(%r14), %eax
	jne	LBB0_8
## %bb.7:
	movq	(%r14), %rax
	cmpq	16(%rbx), %rax
	je	LBB0_9
LBB0_8:
	movq	_MUI_DIP_BASE_UNIT_SIZE@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	%xmm1, 24(%rbx)
	movss	%xmm0, (%rbx)
	movl	%r15d, 4(%rbx)
	movl	%r12d, 8(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 12(%rbx)
	movq	(%r14), %rax
	movq	%rax, 16(%rbx)
	movq	_MUI_ONSCREEN_ENTRY_CENTRE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_materialui_auto_select_onscreen_entry
	xorl	%eax, %eax
	callq	_video_driver_is_threaded
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_materialui_layout
	xorl	%eax, %eax
	callq	_video_driver_monitor_reset
LBB0_9:
	cmpl	$0, 28(%rbx)
	je	LBB0_14
## %bb.10:
	leaq	32(%rbx), %rax
	movq	%rax, -120(%rbp)
	cmpq	$0, 200(%rbx)
	je	LBB0_13
## %bb.11:
	cmpq	$0, 192(%rbx)
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	callq	_materialui_compute_entries_box
LBB0_13:
	leaq	-120(%rbp), %rdi
	callq	_menu_animation_kill_by_tag
	xorps	%xmm0, %xmm0
	callq	_menu_input_set_pointer_y_accel
	movq	%rbx, %rdi
	callq	_materialui_get_scroll
	movss	%xmm0, 32(%rbx)
	movl	$0, 28(%rbx)
LBB0_14:
	movl	%r15d, %edi
	callq	_menu_display_set_width
	movl	%r12d, %edi
	callq	_menu_display_set_height
	leaq	112(%rbx), %rdi
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	callq	_menu_input_get_pointer_state
	movq	112(%rbx), %rcx
	movq	_MENU_POINTER_DISABLED@GOTPCREL(%rip), %rdx
	movl	%r12d, %eax
	movl	%r13d, %edi
	cmpq	(%rdx), %rcx
	jne	LBB0_16
## %bb.15:
	leaq	32(%rbx), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movss	32(%rbx), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_22
LBB0_16:
	cmpq	$0, 176(%rbx)
	je	LBB0_20
## %bb.17:
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rax, %xmm1
	cvtsi2ss	%rdi, %xmm2
	movl	36(%rbx), %ecx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rcx, %xmm0
	subss	%xmm2, %xmm1
	subss	%xmm0, %xmm1
	movslq	168(%rbx), %rcx
	movq	184(%rbx), %rdx
	leaq	(%rdx,%rcx,2), %rsi
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rsi, %xmm0
	movaps	%xmm1, %xmm3
	subss	%xmm0, %xmm3
	xorps	%xmm0, %xmm0
	ucomiss	%xmm0, %xmm3
	jbe	LBB0_19
## %bb.18:
	xorps	%xmm0, %xmm0
	cvtsi2ssq	120(%rbx), %xmm0
	cvtsi2ss	%rdx, %xmm4
	mulss	LCPI0_0(%rip), %xmm4
	subss	%xmm2, %xmm0
	xorps	%xmm2, %xmm2
	cvtsi2ss	%ecx, %xmm2
	addss	%xmm4, %xmm2
	subss	%xmm2, %xmm0
	movss	40(%rbx), %xmm2                 ## xmm2 = mem[0],zero,zero,zero
	subss	%xmm1, %xmm2
	divss	%xmm3, %xmm0
	mulss	%xmm2, %xmm0
	leaq	32(%rbx), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_21
LBB0_20:
	xorps	%xmm1, %xmm1
	cvtsi2ssq	160(%rbx), %xmm1
	leaq	32(%rbx), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movss	32(%rbx), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	subss	%xmm1, %xmm0
LBB0_21:
	movss	%xmm0, 32(%rbx)
LBB0_22:
	xorps	%xmm1, %xmm1
	ucomiss	%xmm0, %xmm1
	ja	LBB0_23
	jmp	LBB0_24
LBB0_19:
	leaq	32(%rbx), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
LBB0_23:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	$0, (%rcx)
	xorps	%xmm0, %xmm0
LBB0_24:
	xorps	%xmm2, %xmm2
	cvtsi2ss	%rax, %xmm2
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	xorps	%xmm4, %xmm4
	cvtsi2ss	%rdi, %xmm4
	movss	40(%rbx), %xmm1                 ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm3
	subss	%xmm2, %xmm3
	movss	%xmm4, -56(%rbp)                ## 4-byte Spill
	addss	%xmm4, %xmm3
	movl	36(%rbx), %eax
	xorps	%xmm2, %xmm2
	cvtsi2ss	%rax, %xmm2
	addss	%xmm3, %xmm2
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	addl	%r13d, %eax
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movl	%r12d, %ecx
	subl	%eax, %ecx
	ucomiss	%xmm2, %xmm0
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rcx, %xmm0
	ja	LBB0_26
## %bb.25:
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_27
LBB0_26:
	cmpltss	%xmm0, %xmm1
	andnps	%xmm2, %xmm1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movss	%xmm1, (%rax)
LBB0_27:
	leaq	48(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	$0, 48(%rbx)
	xorl	%r13d, %r13d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$0, %ecx
	subq	$1, %rax
	cmovaeq	%rax, %rcx
	movq	%rcx, 56(%rbx)
	jae	LBB0_28
LBB0_66:
	movq	_MENU_ENTRIES_CTL_SET_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_menu_entries_ctl
LBB0_67:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movl	%r15d, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_58:                                ##   in Loop: Header=BB0_29 Depth=1
	testb	%al, %al
	jne	LBB0_66
LBB0_65:                                ##   in Loop: Header=BB0_29 Depth=1
	incq	%r15
	cmpq	%r15, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_66
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_file_list_get_userdata_at_offset
	testq	%rax, %rax
	je	LBB0_66
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	%rax, %r14
	movss	-56(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subss	(%rax), %xmm0
	addss	(%r14), %xmm0
	cvttss2si	%xmm0, %ecx
	testl	%r13d, %r13d
	je	LBB0_31
## %bb.33:                              ##   in Loop: Header=BB0_29 Depth=1
	movl	$1, %edx
	testl	%r12d, %r12d
	jne	LBB0_37
## %bb.34:                              ##   in Loop: Header=BB0_29 Depth=1
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	subl	36(%rbx), %eax
	cmpl	%ecx, %eax
	jge	LBB0_40
## %bb.35:                              ##   in Loop: Header=BB0_29 Depth=1
	testq	%r15, %r15
	je	LBB0_40
## %bb.36:                              ##   in Loop: Header=BB0_29 Depth=1
	leaq	-1(%r15), %rax
	movq	%rax, 56(%rbx)
LBB0_37:                                ##   in Loop: Header=BB0_29 Depth=1
	movl	$1, %esi
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_29 Depth=1
	movl	4(%r14), %eax
	addl	%ecx, %eax
	xorl	%esi, %esi
	cmpl	-112(%rbp), %eax                ## 4-byte Folded Reload
	jle	LBB0_32
## %bb.39:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
	testl	%r12d, %r12d
	je	LBB0_40
## %bb.59:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	88(%rbx), %rax
	movq	_MUI_LIST_VIEW_DEFAULT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_66
## %bb.60:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	_MUI_LIST_VIEW_PLAYLIST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_66
## %bb.61:                              ##   in Loop: Header=BB0_29 Depth=1
	movl	$1, %r13d
	movb	$1, %r8b
	movb	$1, %al
	jmp	LBB0_62
LBB0_32:                                ##   in Loop: Header=BB0_29 Depth=1
	movl	%r12d, %edx
LBB0_38:                                ##   in Loop: Header=BB0_29 Depth=1
	testl	%r13d, %r13d
	setne	%r8b
	testl	%edx, %edx
	setne	%al
	movl	%esi, %r13d
	movl	%edx, %r12d
	jmp	LBB0_56
LBB0_40:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rdx
	xorl	%eax, %eax
	movb	$1, %r8b
	movl	$1, %r13d
	movq	_MENU_POINTER_DISABLED@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_55
## %bb.41:                              ##   in Loop: Header=BB0_29 Depth=1
	xorl	%eax, %eax
	cmpq	$0, 176(%rbx)
	jne	LBB0_55
## %bb.42:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	128(%rbx), %rdx
	movq	64(%rbx), %rsi
	xorl	%eax, %eax
	cmpq	%rsi, %rdx
	jle	LBB0_55
## %bb.43:                              ##   in Loop: Header=BB0_29 Depth=1
	movl	72(%rbx), %eax
	addq	%rax, %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	subq	%rsi, %rdi
	xorl	%eax, %eax
	cmpq	%rdi, %rdx
	jge	LBB0_55
## %bb.44:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	120(%rbx), %rdx
	cmpq	-96(%rbp), %rdx                 ## 8-byte Folded Reload
	jl	LBB0_55
## %bb.45:                              ##   in Loop: Header=BB0_29 Depth=1
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %esi
	subl	36(%rbx), %esi
	xorl	%eax, %eax
	cmpq	%rsi, %rdx
	jg	LBB0_55
## %bb.46:                              ##   in Loop: Header=BB0_29 Depth=1
	movslq	%ecx, %rcx
	cmpq	%rcx, %rdx
	jle	LBB0_55
## %bb.47:                              ##   in Loop: Header=BB0_29 Depth=1
	movslq	4(%r14), %rsi
	addq	%rcx, %rsi
	xorl	%eax, %eax
	cmpq	%rsi, %rdx
	jge	LBB0_55
## %bb.48:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	%r15, %rdi
	callq	_menu_input_set_pointer_selection
	cmpq	$0, 152(%rbx)
	je	LBB0_49
## %bb.50:                              ##   in Loop: Header=BB0_29 Depth=1
	xorl	%eax, %eax
	cmpl	$0, 144(%rbx)
	movb	$1, %r8b
	jne	LBB0_55
## %bb.51:                              ##   in Loop: Header=BB0_29 Depth=1
	cmpl	$0, 76(%rbx)
	je	LBB0_54
## %bb.52:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	%r15, 80(%rbx)
	movq	136(%rbx), %rcx
	xorl	%eax, %eax
	movq	_MENU_INPUT_PRESS_TIME_SHORT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jl	LBB0_55
## %bb.53:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	%r15, %rdi
	callq	_menu_navigation_set_selection
	movb	$1, %r8b
	movl	$0, 76(%rbx)
LBB0_54:                                ##   in Loop: Header=BB0_29 Depth=1
	xorl	%eax, %eax
LBB0_55:                                ##   in Loop: Header=BB0_29 Depth=1
	xorl	%r12d, %r12d
LBB0_56:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	88(%rbx), %rcx
	movq	_MUI_LIST_VIEW_DEFAULT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_58
## %bb.57:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	_MUI_LIST_VIEW_PLAYLIST@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_58
LBB0_62:                                ##   in Loop: Header=BB0_29 Depth=1
	xorb	$1, %al
	andb	%r8b, %al
	movzbl	%al, %r9d
	cmpq	$0, 104(%rbx)
	movl	100(%rbx), %edi
	je	LBB0_64
## %bb.63:                              ##   in Loop: Header=BB0_29 Depth=1
	movl	96(%rbx), %esi
	leaq	8(%r14), %rcx
	addq	$12, %r14
	movq	%r15, %rdx
	movq	%r14, %r8
	callq	_menu_thumbnail_process_streams
	jmp	LBB0_65
	.p2align	4, 0x90
LBB0_64:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	_MENU_THUMBNAIL_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	96(%rbx), %edx
	addq	$8, %r14
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_menu_thumbnail_process_stream
	jmp	LBB0_65
LBB0_49:                                ##   in Loop: Header=BB0_29 Depth=1
	xorl	%eax, %eax
	xorl	%r12d, %r12d
	movb	$1, %r8b
	jmp	LBB0_56
	.cfi_endproc
                                        ## -- End function
	.comm	_MUI_DIP_BASE_UNIT_SIZE,4,2     ## @MUI_DIP_BASE_UNIT_SIZE
	.comm	_MUI_ONSCREEN_ENTRY_CENTRE,4,2  ## @MUI_ONSCREEN_ENTRY_CENTRE
	.comm	_MENU_POINTER_DISABLED,8,3      ## @MENU_POINTER_DISABLED
	.comm	_MENU_INPUT_PRESS_TIME_SHORT,8,3 ## @MENU_INPUT_PRESS_TIME_SHORT
	.comm	_MUI_LIST_VIEW_DEFAULT,8,3      ## @MUI_LIST_VIEW_DEFAULT
	.comm	_MUI_LIST_VIEW_PLAYLIST,8,3     ## @MUI_LIST_VIEW_PLAYLIST
	.comm	_MENU_THUMBNAIL_RIGHT,4,2       ## @MENU_THUMBNAIL_RIGHT
	.comm	_MENU_ENTRIES_CTL_SET_START,4,2 ## @MENU_ENTRIES_CTL_SET_START
	.no_dead_strip	_materialui_render
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function materialui_render
_materialui_render:                     ; @materialui_render
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x2
	mov	x27, x1
	mov	x20, x0
	bl	_config_get_ptr
	mov	x24, x0
	bl	_menu_display_get_header_height
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
	bl	_menu_entries_get_size
	mov	x22, x0
	mov	w0, #0
	bl	_menu_entries_get_selection_buf_ptr
	cbz	x20, LBB0_62
; %bb.1:
	cbz	x24, LBB0_62
; %bb.2:
	mov	x23, x0
	cbz	x0, LBB0_62
; %bb.3:
	mov	x0, x27
	mov	x1, x19
	bl	_menu_display_get_dpi_scale
	ldr	s1, [x20]
	fcmp	s0, s1
	b.ne	LBB0_8
; %bb.4:
	ldr	w8, [x20, #4]
	cmp	w8, w27
	b.ne	LBB0_8
; %bb.5:
	ldr	w8, [x20, #8]
	cmp	w8, w19
	b.ne	LBB0_8
; %bb.6:
	ldr	w8, [x24, #8]
	ldr	w9, [x20, #12]
	cmp	w9, w8
	b.ne	LBB0_8
; %bb.7:
	ldr	x8, [x24]
	ldr	x9, [x20, #16]
	cmp	x8, x9
	b.eq	LBB0_9
LBB0_8:
Lloh0:
	adrp	x8, _MUI_DIP_BASE_UNIT_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MUI_DIP_BASE_UNIT_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	s1, [x8]
	fmul	s1, s0, s1
	str	s1, [x20, #24]
	str	s0, [x20]
	stp	w27, w19, [x20, #4]
	ldp	x9, x8, [x24]
	str	w8, [x20, #12]
	str	x9, [x20, #16]
Lloh3:
	adrp	x8, _MUI_ONSCREEN_ENTRY_CENTRE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MUI_ONSCREEN_ENTRY_CENTRE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_materialui_auto_select_onscreen_entry
	bl	_video_driver_is_threaded
	mov	x1, x0
	mov	x0, x20
	bl	_materialui_layout
	bl	_video_driver_monitor_reset
LBB0_9:
	ldr	w8, [x20, #28]
	cbz	w8, LBB0_14
; %bb.10:
	add	x8, x20, #32
	str	x8, [sp, #40]
	ldr	x8, [x20, #200]
	cbz	x8, LBB0_13
; %bb.11:
	ldr	x8, [x20, #192]
	cbz	x8, LBB0_13
; %bb.12:
	mov	x0, x20
	mov	x1, x27
	mov	x2, x19
	ldr	w3, [sp, #36]                   ; 4-byte Folded Reload
	bl	_materialui_compute_entries_box
LBB0_13:
	add	x0, sp, #40
	bl	_menu_animation_kill_by_tag
	movi	d0, #0000000000000000
	bl	_menu_input_set_pointer_y_accel
	mov	x0, x20
	bl	_materialui_get_scroll
	str	s0, [x20, #32]
	str	wzr, [x20, #28]
LBB0_14:
	mov	x0, x27
	bl	_menu_display_set_width
	mov	x0, x19
	bl	_menu_display_set_height
	add	x0, x20, #112
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	bl	_menu_input_get_pointer_state
	ldr	x8, [x20, #112]
Lloh6:
	adrp	x9, _MENU_POINTER_DISABLED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MENU_POINTER_DISABLED@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.15:
	mov	x28, x20
	ldr	s0, [x28, #32]!
	fcmp	s0, #0.0
	b.mi	LBB0_21
	b	LBB0_22
LBB0_16:
	ldr	x8, [x20, #176]
	cbz	x8, LBB0_19
; %bb.17:
	ucvtf	s0, w19
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	ucvtf	s1, w8
	fsub	s0, s0, s1
	ldr	s2, [x20, #36]
	ucvtf	s2, s2
	fsub	s0, s0, s2
	ldrsw	x8, [x20, #168]
	ldr	x9, [x20, #184]
	add	x10, x9, x8, lsl #1
	scvtf	s2, x10
	fsub	s2, s0, s2
	fcmp	s2, #0.0
	b.le	LBB0_20
; %bb.18:
	ldr	x10, [x20, #120]
	scvtf	s3, x10
	fsub	s1, s3, s1
	scvtf	s3, x9
	fmov	s4, #0.50000000
	fmul	s3, s3, s4
	scvtf	s4, w8
	fadd	s3, s3, s4
	fsub	s1, s1, s3
	ldr	s3, [x20, #40]
	fsub	s0, s3, s0
	fdiv	s1, s1, s2
	fmul	s0, s0, s1
	mov	x28, x20
	str	s0, [x28, #32]!
	fcmp	s0, #0.0
	b.mi	LBB0_21
	b	LBB0_22
LBB0_19:
	mov	x28, x20
	ldr	s0, [x28, #32]!
	ldr	x8, [x28, #128]
	scvtf	s1, x8
	fsub	s0, s0, s1
	str	s0, [x28]
	fcmp	s0, #0.0
	b.mi	LBB0_21
	b	LBB0_22
LBB0_20:
	add	x28, x20, #32
LBB0_21:
	str	wzr, [x28]
	movi	d0, #0000000000000000
LBB0_22:
	ldr	s1, [x20, #40]
	ucvtf	s2, w19
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	ucvtf	s8, w9
	fsub	s2, s1, s2
	fadd	s2, s2, s8
	ldr	w8, [x20, #36]
	ucvtf	s3, w8
	fadd	s2, s2, s3
	add	w8, w9, w8
	sub	w8, w19, w8
	ucvtf	s3, w8
	fcmp	s0, s2
	fccmp	s1, s3, #8, le
	b.pl	LBB0_24
; %bb.23:
	fcmp	s1, s3
	movi	d0, #0000000000000000
	fcsel	s0, s0, s2, mi
	str	s0, [x28]
LBB0_24:
	mov	x25, x20
	sub	x8, x22, #1
	cmp	x22, #0
	csel	x8, xzr, x8, eq
	stp	xzr, x8, [x25, #48]!
	cbz	x22, LBB0_61
; %bb.25:
	mov	w21, #0
	mov	w24, #0
	mov	x26, #0
	mov	w9, w27
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	mov	w8, w8
	stp	x8, x9, [sp, #8]                ; 16-byte Folded Spill
	b	LBB0_28
LBB0_26:                                ;   in Loop: Header=BB0_28 Depth=1
	tbnz	w8, #0, LBB0_61
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=1
	add	x26, x26, #1
	cmp	x22, x26
	b.eq	LBB0_61
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x26
	bl	_file_list_get_userdata_at_offset
	cbz	x0, LBB0_61
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	mov	x27, x0
	ldr	s0, [x28]
	fsub	s0, s8, s0
	ldr	s1, [x0]
	fadd	s0, s0, s1
	fcvtzs	w10, s0
	cbz	w21, LBB0_34
; %bb.30:                               ;   in Loop: Header=BB0_28 Depth=1
	cbnz	w24, LBB0_33
; %bb.31:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	w8, [x20, #36]
	sub	w8, w19, w8
	cmp	w8, w10
	ccmp	x26, #0, #4, lt
	b.eq	LBB0_40
; %bb.32:                               ;   in Loop: Header=BB0_28 Depth=1
	sub	x8, x26, #1
	str	x8, [x20, #56]
LBB0_33:                                ;   in Loop: Header=BB0_28 Depth=1
	mov	w24, #1
	mov	w10, #1
	b	LBB0_39
LBB0_34:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	w8, [x27, #4]
	add	w8, w8, w10
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	cmp	w8, w9
	b.le	LBB0_38
; %bb.35:                               ;   in Loop: Header=BB0_28 Depth=1
	str	x26, [x25]
	cbz	w24, LBB0_40
; %bb.36:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x8, [x20, #88]
Lloh9:
	adrp	x9, _MUI_LIST_VIEW_DEFAULT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MUI_LIST_VIEW_DEFAULT@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _MUI_LIST_VIEW_PLAYLIST@GOTPAGE
Lloh13:
	ldr	x10, [x10, _MUI_LIST_VIEW_PLAYLIST@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_61
; %bb.37:                               ;   in Loop: Header=BB0_28 Depth=1
	mov	w9, #1
	mov	w21, #1
	mov	w8, #1
	b	LBB0_54
LBB0_38:                                ;   in Loop: Header=BB0_28 Depth=1
	mov	w10, #0
LBB0_39:                                ;   in Loop: Header=BB0_28 Depth=1
	cmp	w21, #0
	cset	w9, ne
	cmp	w24, #0
	cset	w8, ne
	mov	x21, x10
	b	LBB0_53
LBB0_40:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _MENU_POINTER_DISABLED@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MENU_POINTER_DISABLED@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_50
; %bb.41:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x8, [x20, #176]
	cbnz	x8, LBB0_50
; %bb.42:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x9, [x20, #128]
	ldr	x11, [x20, #64]
	cmp	x9, x11
	b.le	LBB0_50
; %bb.43:                               ;   in Loop: Header=BB0_28 Depth=1
	mov	w8, #0
	ldr	w12, [x20, #72]
	add	x11, x11, x12
	ldr	x12, [sp, #16]                  ; 8-byte Folded Reload
	sub	x11, x12, x11
	mov	w21, #1
	cmp	x9, x11
	b.ge	LBB0_57
; %bb.44:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x11, [x20, #120]
	mov	w9, #1
	mov	x24, x8
	ldr	x12, [sp, #8]                   ; 8-byte Folded Reload
	cmp	x11, x12
	b.lt	LBB0_53
; %bb.45:                               ;   in Loop: Header=BB0_28 Depth=1
	mov	w8, #0
	ldr	w9, [x20, #36]
	mov	w21, #1
	sub	w9, w19, w9
	cmp	x11, x9
	b.gt	LBB0_57
; %bb.46:                               ;   in Loop: Header=BB0_28 Depth=1
	sxtw	x12, w10
	mov	w9, #1
	mov	x24, x8
	cmp	x11, x12
	b.le	LBB0_53
; %bb.47:                               ;   in Loop: Header=BB0_28 Depth=1
	ldrsw	x8, [x27, #4]
	add	x8, x8, w10, sxtw
	cmp	x11, x8
	b.ge	LBB0_50
; %bb.48:                               ;   in Loop: Header=BB0_28 Depth=1
	mov	x0, x26
	bl	_menu_input_set_pointer_selection
	ldr	x8, [x20, #152]
	cbz	x8, LBB0_51
; %bb.49:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	w8, [x20, #144]
	cbz	w8, LBB0_58
LBB0_50:                                ;   in Loop: Header=BB0_28 Depth=1
	mov	w8, #0
LBB0_51:                                ;   in Loop: Header=BB0_28 Depth=1
	mov	w24, #0
LBB0_52:                                ;   in Loop: Header=BB0_28 Depth=1
	mov	w21, #1
	mov	w9, #1
LBB0_53:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	x10, [x20, #88]
Lloh18:
	adrp	x11, _MUI_LIST_VIEW_DEFAULT@GOTPAGE
Lloh19:
	ldr	x11, [x11, _MUI_LIST_VIEW_DEFAULT@GOTPAGEOFF]
Lloh20:
	ldr	x11, [x11]
Lloh21:
	adrp	x12, _MUI_LIST_VIEW_PLAYLIST@GOTPAGE
Lloh22:
	ldr	x12, [x12, _MUI_LIST_VIEW_PLAYLIST@GOTPAGEOFF]
Lloh23:
	ldr	x12, [x12]
	cmp	x10, x11
	ccmp	x10, x12, #4, ne
	b.eq	LBB0_26
LBB0_54:                                ;   in Loop: Header=BB0_28 Depth=1
	eor	w8, w8, #0x1
	and	w5, w9, w8
	ldr	x8, [x20, #104]
	ldr	w0, [x20, #100]
	cbz	x8, LBB0_56
; %bb.55:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	w1, [x20, #96]
	add	x3, x27, #8
	add	x4, x27, #12
	mov	x2, x26
	bl	_menu_thumbnail_process_streams
	b	LBB0_27
LBB0_56:                                ;   in Loop: Header=BB0_28 Depth=1
Lloh24:
	adrp	x8, _MENU_THUMBNAIL_RIGHT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MENU_THUMBNAIL_RIGHT@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	w2, [x20, #96]
	add	x4, x27, #8
	mov	x3, x26
	bl	_menu_thumbnail_process_stream
	b	LBB0_27
LBB0_57:                                ;   in Loop: Header=BB0_28 Depth=1
	mov	w9, #1
	mov	x24, x8
	b	LBB0_53
LBB0_58:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	w8, [x20, #76]
	cbz	w8, LBB0_51
; %bb.59:                               ;   in Loop: Header=BB0_28 Depth=1
	str	x26, [x20, #80]
	ldr	x8, [x20, #136]
Lloh27:
	adrp	x9, _MENU_INPUT_PRESS_TIME_SHORT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MENU_INPUT_PRESS_TIME_SHORT@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_50
; %bb.60:                               ;   in Loop: Header=BB0_28 Depth=1
	mov	x0, x26
	bl	_menu_navigation_set_selection
	mov	w8, #0
	mov	w24, #0
	str	wzr, [x20, #76]
	b	LBB0_52
LBB0_61:
Lloh30:
	adrp	x8, _MENU_ENTRIES_CTL_SET_START@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MENU_ENTRIES_CTL_SET_START@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	mov	x1, x25
	bl	_menu_entries_ctl
LBB0_62:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_MUI_DIP_BASE_UNIT_SIZE,4,2     ; @MUI_DIP_BASE_UNIT_SIZE
	.comm	_MUI_ONSCREEN_ENTRY_CENTRE,4,2  ; @MUI_ONSCREEN_ENTRY_CENTRE
	.comm	_MENU_POINTER_DISABLED,8,3      ; @MENU_POINTER_DISABLED
	.comm	_MENU_INPUT_PRESS_TIME_SHORT,8,3 ; @MENU_INPUT_PRESS_TIME_SHORT
	.comm	_MUI_LIST_VIEW_DEFAULT,8,3      ; @MUI_LIST_VIEW_DEFAULT
	.comm	_MUI_LIST_VIEW_PLAYLIST,8,3     ; @MUI_LIST_VIEW_PLAYLIST
	.comm	_MENU_THUMBNAIL_RIGHT,4,2       ; @MENU_THUMBNAIL_RIGHT
	.comm	_MENU_ENTRIES_CTL_SET_START,4,2 ; @MENU_ENTRIES_CTL_SET_START
	.no_dead_strip	_materialui_render
.subsections_via_symbols
