	.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_menu_list
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_materialui_render_menu_list:           ## @materialui_render_menu_list
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_menu_entries_get_size
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_menu_display_get_header_height
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_menu_navigation_get_selection
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	cmpl	$0, 36(%rbx)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_4
## %bb.1:
	movss	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	ucomiss	LCPI0_0(%rip), %xmm0
	jae	LBB0_3
## %bb.2:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_4
LBB0_3:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rbx
	xorl	%eax, %eax
	callq	_menu_input_get_pointer_selection
	cmpq	%rax, %rbx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	sete	%al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_4:
	xorl	%edi, %edi
	callq	_menu_entries_get_selection_buf_ptr
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_19
## %bb.5:
	movq	%rbx, %rdi
	movq	16(%rbx), %r12
	movq	24(%rbx), %rax
	cmpq	%r14, %r12
	cmovaeq	%r14, %r12
	cmpq	%r14, %rax
	cmovbq	%rax, %r14
	movq	%r14, -128(%rbp)                ## 8-byte Spill
	cmpq	%r14, %r12
	jbe	LBB0_6
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%r13, %rcx
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_materialui_render_menu_entry_playlist_list
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	addq	$32, %rsp
	incq	%r12
	cmpq	-128(%rbp), %r12                ## 8-byte Folded Reload
	ja	LBB0_18
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%ebx, %ebx
	cmpq	%r12, -144(%rbp)                ## 8-byte Folded Reload
	sete	%r13b
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	8(%rdi), %r12
	sete	%r15b
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r15d, %r15d
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	callq	_file_list_get_userdata_at_offset
	testq	%rax, %rax
	je	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r14
	movb	%r13b, %bl
	movl	%ebx, -116(%rbp)                ## 4-byte Spill
	movzbl	%r15b, %r15d
	leaq	-112(%rbp), %r13
	movq	%r13, %rdi
	callq	_menu_entry_init
	movl	$0, -112(%rbp)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	32(%rbx), %eax
	xorl	%ecx, %ecx
	cmpl	$133, %eax
	sete	%cl
	movl	%ecx, -108(%rbp)
	xorl	%ecx, %ecx
	cmpl	$131, %eax
	setne	%cl
	movl	%ecx, -104(%rbp)
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_menu_entry_get
	movl	-116(%rbp), %r8d                ## 4-byte Reload
	movl	%r15d, %r9d
	movl	32(%rbx), %eax
	leal	-128(%rax), %ecx
	cmpl	$3, %ecx
	jb	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$131, %eax
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$132, %eax
	leaq	-112(%rbp), %r13
	je	LBB0_13
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%r13, %rcx
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_materialui_render_menu_entry_default
	jmp	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	leaq	-112(%rbp), %rcx
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_materialui_render_menu_entry_playlist_dual_icon
	jmp	LBB0_14
LBB0_17:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_18:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_materialui_render_scrollbar
LBB0_19:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_materialui_render_menu_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function materialui_render_menu_list
_materialui_render_menu_list:           ; @materialui_render_menu_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	stp	w4, w2, [sp, #20]               ; 8-byte Folded Spill
	str	w3, [sp, #28]                   ; 4-byte Folded Spill
	mov	x21, x1
	mov	x22, x0
	bl	_menu_entries_get_size
	mov	x23, x0
	bl	_menu_display_get_header_height
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	bl	_menu_navigation_get_selection
	mov	x25, x0
	ldr	w8, [x22, #36]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	s0, [x22]
	fmov	s1, #0.50000000
	fcmp	s0, s1
	b.ge	LBB0_3
LBB0_2:
	mov	w19, #0
	b	LBB0_4
LBB0_3:
	ldr	x19, [x22, #8]
	bl	_menu_input_get_pointer_selection
	cmp	x19, x0
	cset	w19, eq
LBB0_4:
	mov	w0, #0
	bl	_menu_entries_get_selection_buf_ptr
	cbz	x0, LBB0_7
; %bb.5:
	ldp	x8, x9, [x22, #16]
	cmp	x8, x23
	csel	x27, x8, x23, lo
	cmp	x9, x23
	csel	x20, x9, x23, lo
	cmp	x27, x20
	b.ls	LBB0_8
LBB0_6:
	mov	x0, x22
	mov	x1, x21
	ldp	w2, w3, [sp, #24]               ; 8-byte Folded Reload
	bl	_materialui_render_scrollbar
LBB0_7:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_8:
	mov	x26, x0
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	ldp	w6, w9, [sp, #16]               ; 8-byte Folded Reload
	ldp	w7, w8, [sp, #24]               ; 8-byte Folded Reload
	stp	w8, w9, [sp]
	add	x3, sp, #32
	mov	x0, x22
	mov	x1, x21
	mov	x2, x24
	mov	x4, x28
	mov	x5, x23
	bl	_materialui_render_menu_entry_playlist_list
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x27, x27, #1
	cmp	x27, x20
	b.hi	LBB0_6
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	cmp	x25, x27
	cset	w28, eq
	cbz	w19, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x22, #8]
	cmp	x27, x8
	cset	w23, eq
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	w23, #0
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x26
	mov	x1, x27
	bl	_file_list_get_userdata_at_offset
	cbz	x0, LBB0_6
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x24, x0
	add	x0, sp, #32
	bl	_menu_entry_init
	ldr	w8, [x22, #32]
	cmp	w8, #133
	cset	w9, eq
	stp	wzr, w9, [sp, #32]
	cmp	w8, #131
	cset	w8, ne
	str	w8, [sp, #40]
	add	x0, sp, #32
	mov	w1, #0
	mov	x2, x27
	mov	x3, #0
	mov	w4, #1
	bl	_menu_entry_get
	ldr	w8, [x22, #32]
	sub	w9, w8, #128
	cmp	w9, #3
	b.lo	LBB0_9
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w8, #131
	b.eq	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w8, #132
	b.eq	LBB0_9
; %bb.18:                               ;   in Loop: Header=BB0_11 Depth=1
	ldp	w6, w9, [sp, #16]               ; 8-byte Folded Reload
	ldp	w7, w8, [sp, #24]               ; 8-byte Folded Reload
	stp	w8, w9, [sp]
	add	x3, sp, #32
	mov	x0, x22
	mov	x1, x21
	mov	x2, x24
	mov	x4, x28
	mov	x5, x23
	bl	_materialui_render_menu_entry_default
	b	LBB0_10
LBB0_19:                                ;   in Loop: Header=BB0_11 Depth=1
	ldp	w6, w9, [sp, #16]               ; 8-byte Folded Reload
	ldp	w7, w8, [sp, #24]               ; 8-byte Folded Reload
	stp	w8, w9, [sp]
	add	x3, sp, #32
	mov	x0, x22
	mov	x1, x21
	mov	x2, x24
	mov	x4, x28
	mov	x5, x23
	bl	_materialui_render_menu_entry_playlist_dual_icon
	b	LBB0_10
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_materialui_render_menu_list
.subsections_via_symbols
