	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function menu_displaylist_parse_playlist_manager_list
_menu_displaylist_parse_playlist_manager_list: ## @menu_displaylist_parse_playlist_manager_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_config_get_ptr
	testq	%rax, %rax
	je	LBB0_26
## %bb.1:
	movq	%rax, %rbx
	movl	8(%rax), %edi
	movq	_DIR_LIST_COLLECTIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_dir_list_new_special
	movq	%rax, %r14
	testq	%rax, %rax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.3:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r14)
	je	LBB0_18
## %bb.4:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_dir_list_sort
	cmpl	$0, (%r14)
	je	LBB0_18
## %bb.5:
	xorl	%r15d, %r15d
	movl	$8, %r12d
	movq	_FILE_TYPE_DIRECTORY@GOTPCREL(%rip), %rbx
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_FILE_TYPE_DIRECTORY@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	movl	(%r14), %eax
	addq	$16, %r12
	cmpq	%rax, %r15
	jae	LBB0_18
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%r12), %rcx
	cmpq	(%rbx), %rcx
	je	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-8(%rax,%r12), %r13
	movq	%r13, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	_path_basename
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_path_get_extension
	movl	%eax, %edi
	leaq	L_.str(%rip), %rsi
	callq	_string_is_equal_noncase
	testl	%eax, %eax
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_FILE_PATH_CONTENT_HISTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_file_path_str
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_FILE_PATH_CONTENT_MUSIC_HISTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_file_path_str
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_FILE_PATH_CONTENT_VIDEO_HISTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_file_path_str
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_FILE_PATH_CONTENT_IMAGE_HISTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_file_path_str
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_FILE_PATH_CONTENT_FAVORITES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_file_path_str
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_MENU_ENUM_LABEL_PLAYLIST_MANAGER_SETTINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_MENU_SETTING_ACTION@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$0, (%rsp)
	movq	%r13, %rsi
	leaq	L_.str.1(%rip), %rdx
	xorl	%r9d, %r9d
	callq	_menu_entries_append_enum
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_16
LBB0_2:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_18:
	movq	%r14, %rdi
	callq	_string_list_free
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	movq	_g_defaults@GOTPCREL(%rip), %r14
	je	LBB0_19
## %bb.20:
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.21:
	callq	_playlist_size
	testq	%rax, %rax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jle	LBB0_23
## %bb.22:
	movl	(%r12), %r15d
	movq	8(%r14), %rdi
	callq	_playlist_get_conf_path
	movq	_MENU_ENUM_LABEL_PLAYLIST_MANAGER_SETTINGS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_MENU_SETTING_ACTION@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movl	$0, (%rsp)
	leaq	L_.str.1(%rip), %rdx
	movl	%r15d, %edi
	movq	%rax, %rsi
	xorl	%r9d, %r9d
	callq	_menu_entries_append_enum
	cmpq	$1, %rax
	sbbl	$-1, %r13d
	jmp	LBB0_23
LBB0_19:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_23:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.24:
	callq	_playlist_size
	testq	%rax, %rax
	jle	LBB0_26
## %bb.25:
	movl	(%r12), %r15d
	movq	(%r14), %rdi
	callq	_playlist_get_conf_path
	movq	_MENU_ENUM_LABEL_PLAYLIST_MANAGER_SETTINGS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_MENU_SETTING_ACTION@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movl	$0, (%rsp)
	leaq	L_.str.1(%rip), %rdx
	movl	%r15d, %edi
	movq	%rax, %rsi
	xorl	%r9d, %r9d
	callq	_menu_entries_append_enum
	cmpq	$1, %rax
	sbbl	$-1, %r13d
LBB0_26:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIR_LIST_COLLECTIONS,4,2       ## @DIR_LIST_COLLECTIONS
	.comm	_FILE_TYPE_DIRECTORY,8,3        ## @FILE_TYPE_DIRECTORY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lpl"

	.comm	_FILE_PATH_CONTENT_HISTORY,4,2  ## @FILE_PATH_CONTENT_HISTORY
	.comm	_FILE_PATH_CONTENT_MUSIC_HISTORY,4,2 ## @FILE_PATH_CONTENT_MUSIC_HISTORY
	.comm	_FILE_PATH_CONTENT_VIDEO_HISTORY,4,2 ## @FILE_PATH_CONTENT_VIDEO_HISTORY
	.comm	_FILE_PATH_CONTENT_IMAGE_HISTORY,4,2 ## @FILE_PATH_CONTENT_IMAGE_HISTORY
	.comm	_FILE_PATH_CONTENT_FAVORITES,4,2 ## @FILE_PATH_CONTENT_FAVORITES
L_.str.1:                               ## @.str.1
	.space	1

	.comm	_MENU_ENUM_LABEL_PLAYLIST_MANAGER_SETTINGS,4,2 ## @MENU_ENUM_LABEL_PLAYLIST_MANAGER_SETTINGS
	.comm	_MENU_SETTING_ACTION,4,2        ## @MENU_SETTING_ACTION
	.comm	_g_defaults,16,3                ## @g_defaults
	.no_dead_strip	_menu_displaylist_parse_playlist_manager_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function menu_displaylist_parse_playlist_manager_list
_menu_displaylist_parse_playlist_manager_list: ; @menu_displaylist_parse_playlist_manager_list
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	bl	_config_get_ptr
	cbz	x0, LBB0_24
; %bb.1:
	mov	x21, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x8, _DIR_LIST_COLLECTIONS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIR_LIST_COLLECTIONS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_dir_list_new_special
	mov	x22, x0
	cbz	x0, LBB0_16
; %bb.2:
	ldr	w8, [x22]
	cbz	w8, LBB0_16
; %bb.3:
	mov	x0, x22
	mov	w1, #1
	bl	_dir_list_sort
	ldr	w8, [x22]
	cbz	w8, LBB0_16
; %bb.4:
	mov	x27, #0
	mov	x28, #0
	mov	w20, #0
Lloh3:
	adrp	x24, _FILE_TYPE_DIRECTORY@GOTPAGE
Lloh4:
	ldr	x24, [x24, _FILE_TYPE_DIRECTORY@GOTPAGEOFF]
Lloh5:
	adrp	x23, l_.str@PAGE
Lloh6:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x28, x28, #1
	ldr	w8, [x22]
	add	x27, x27, #16
	cmp	x28, x8
	b.hs	LBB0_17
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	add	x8, x8, x27
	ldr	x9, [x8, #8]
	ldr	x10, [x24]
	cmp	x9, x10
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x25, [x8]
	mov	x0, x25
	bl	_string_is_empty
	cbnz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	bl	_path_basename
	mov	x26, x0
	bl	_string_is_empty
	cbnz	x0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	bl	_path_get_extension
	mov	x1, x23
	bl	_string_is_equal_noncase
	cbz	w0, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh7:
	adrp	x8, _FILE_PATH_CONTENT_HISTORY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FILE_PATH_CONTENT_HISTORY@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_file_path_str
	mov	x1, x0
	mov	x0, x26
	bl	_string_is_equal
	cbnz	x0, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh10:
	adrp	x8, _FILE_PATH_CONTENT_MUSIC_HISTORY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FILE_PATH_CONTENT_MUSIC_HISTORY@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_file_path_str
	mov	x1, x0
	mov	x0, x26
	bl	_string_is_equal
	cbnz	x0, LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh13:
	adrp	x8, _FILE_PATH_CONTENT_VIDEO_HISTORY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FILE_PATH_CONTENT_VIDEO_HISTORY@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_file_path_str
	mov	x1, x0
	mov	x0, x26
	bl	_string_is_equal
	cbnz	x0, LBB0_5
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh16:
	adrp	x8, _FILE_PATH_CONTENT_IMAGE_HISTORY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FILE_PATH_CONTENT_IMAGE_HISTORY@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_file_path_str
	mov	x1, x0
	mov	x0, x26
	bl	_string_is_equal
	cbnz	x0, LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh19:
	adrp	x8, _FILE_PATH_CONTENT_FAVORITES@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FILE_PATH_CONTENT_FAVORITES@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_file_path_str
	mov	x1, x0
	mov	x0, x26
	bl	_string_is_equal
	cbnz	x0, LBB0_5
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x19]
Lloh22:
	adrp	x8, _MENU_ENUM_LABEL_PLAYLIST_MANAGER_SETTINGS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MENU_ENUM_LABEL_PLAYLIST_MANAGER_SETTINGS@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
Lloh25:
	adrp	x8, _MENU_SETTING_ACTION@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MENU_SETTING_ACTION@GOTPAGEOFF]
Lloh27:
	ldr	w4, [x8]
	mov	x1, x25
Lloh28:
	adrp	x2, l_.str.1@PAGE
Lloh29:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w5, #0
	mov	w6, #0
	bl	_menu_entries_append_enum
	add	w20, w20, #1
	b	LBB0_5
LBB0_16:
	mov	w20, #0
LBB0_17:
	mov	x0, x22
	bl	_string_list_free
	ldr	x8, [x21]
Lloh30:
	adrp	x22, _g_defaults@GOTPAGE
Lloh31:
	ldr	x22, [x22, _g_defaults@GOTPAGEOFF]
	cbz	x8, LBB0_21
; %bb.18:
	ldr	x0, [x22, #8]
	cbz	x0, LBB0_21
; %bb.19:
	bl	_playlist_size
	cmp	x0, #1
	b.lt	LBB0_21
; %bb.20:
	ldr	w21, [x19]
	ldr	x0, [x22, #8]
	bl	_playlist_get_conf_path
	mov	x1, x0
Lloh32:
	adrp	x8, _MENU_ENUM_LABEL_PLAYLIST_MANAGER_SETTINGS@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MENU_ENUM_LABEL_PLAYLIST_MANAGER_SETTINGS@GOTPAGEOFF]
Lloh34:
	ldr	w3, [x8]
Lloh35:
	adrp	x8, _MENU_SETTING_ACTION@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MENU_SETTING_ACTION@GOTPAGEOFF]
Lloh37:
	ldr	w4, [x8]
Lloh38:
	adrp	x2, l_.str.1@PAGE
Lloh39:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w5, #0
	mov	w6, #0
	bl	_menu_entries_append_enum
	cmp	x0, #0
	cinc	w20, w20, ne
LBB0_21:
	ldr	x0, [x22]
	cbz	x0, LBB0_25
; %bb.22:
	bl	_playlist_size
	cmp	x0, #1
	b.lt	LBB0_25
; %bb.23:
	ldr	w19, [x19]
	ldr	x0, [x22]
	bl	_playlist_get_conf_path
	mov	x1, x0
Lloh40:
	adrp	x8, _MENU_ENUM_LABEL_PLAYLIST_MANAGER_SETTINGS@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MENU_ENUM_LABEL_PLAYLIST_MANAGER_SETTINGS@GOTPAGEOFF]
Lloh42:
	ldr	w3, [x8]
Lloh43:
	adrp	x8, _MENU_SETTING_ACTION@GOTPAGE
Lloh44:
	ldr	x8, [x8, _MENU_SETTING_ACTION@GOTPAGEOFF]
Lloh45:
	ldr	w4, [x8]
Lloh46:
	adrp	x2, l_.str.1@PAGE
Lloh47:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w5, #0
	mov	w6, #0
	bl	_menu_entries_append_enum
	cmp	x0, #0
	cinc	w20, w20, ne
	b	LBB0_25
LBB0_24:
	mov	w20, #0
LBB0_25:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_DIR_LIST_COLLECTIONS,4,2       ; @DIR_LIST_COLLECTIONS
	.comm	_FILE_TYPE_DIRECTORY,8,3        ; @FILE_TYPE_DIRECTORY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lpl"

	.comm	_FILE_PATH_CONTENT_HISTORY,4,2  ; @FILE_PATH_CONTENT_HISTORY
	.comm	_FILE_PATH_CONTENT_MUSIC_HISTORY,4,2 ; @FILE_PATH_CONTENT_MUSIC_HISTORY
	.comm	_FILE_PATH_CONTENT_VIDEO_HISTORY,4,2 ; @FILE_PATH_CONTENT_VIDEO_HISTORY
	.comm	_FILE_PATH_CONTENT_IMAGE_HISTORY,4,2 ; @FILE_PATH_CONTENT_IMAGE_HISTORY
	.comm	_FILE_PATH_CONTENT_FAVORITES,4,2 ; @FILE_PATH_CONTENT_FAVORITES
l_.str.1:                               ; @.str.1
	.space	1

	.comm	_MENU_ENUM_LABEL_PLAYLIST_MANAGER_SETTINGS,4,2 ; @MENU_ENUM_LABEL_PLAYLIST_MANAGER_SETTINGS
	.comm	_MENU_SETTING_ACTION,4,2        ; @MENU_SETTING_ACTION
	.comm	_g_defaults,16,3                ; @g_defaults
	.no_dead_strip	_menu_displaylist_parse_playlist_manager_list
.subsections_via_symbols
