	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function populate_playlist_thumbnail_mode_dropdown_list
_populate_playlist_thumbnail_mode_dropdown_list: ## @populate_playlist_thumbnail_mode_dropdown_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_playlist_get_cached
	testq	%r14, %r14
	je	LBB0_11
## %bb.1:
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_playlist_get_thumbnail_mode
	movq	_PLAYLIST_THUMBNAIL_RIGHT@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jne	LBB0_3
## %bb.4:
	movq	_MENU_SETTING_DROPDOWN_ITEM_PLAYLIST_RIGHT_THUMBNAIL_MODE@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_3:
	movq	_MENU_SETTING_DROPDOWN_ITEM_PLAYLIST_LEFT_THUMBNAIL_MODE@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %r15d
	movl	%eax, %r12d
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	cmpq	$132, %rbx
	je	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leal	-128(%rbx), %ecx
	movq	_MENU_ENUM_LABEL_VALUE_PLAYLIST_MANAGER_THUMBNAIL_MODE_DEFAULT@GOTPCREL(%rip), %rax
	cmpl	$3, %ecx
	ja	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	l_switch.table.populate_playlist_thumbnail_mode_dropdown_list(%rip), %rax
	movq	-1024(%rax,%rbx,8), %rax
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	_MENU_ENUM_LABEL_NO_ITEMS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movl	%eax, %esi
	leaq	L_.str(%rip), %rdx
	movl	%r15d, %r8d
	xorl	%r9d, %r9d
	callq	_menu_entries_append_enum
	cmpq	$1, %rax
	sbbl	$-1, %r13d
	cmpl	%ebx, %r12d
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_menu_entries_set_checked
	jmp	LBB0_10
LBB0_11:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLAYLIST_THUMBNAIL_RIGHT,4,2   ## @PLAYLIST_THUMBNAIL_RIGHT
	.comm	_MENU_SETTING_DROPDOWN_ITEM_PLAYLIST_RIGHT_THUMBNAIL_MODE,4,2 ## @MENU_SETTING_DROPDOWN_ITEM_PLAYLIST_RIGHT_THUMBNAIL_MODE
	.comm	_MENU_SETTING_DROPDOWN_ITEM_PLAYLIST_LEFT_THUMBNAIL_MODE,4,2 ## @MENU_SETTING_DROPDOWN_ITEM_PLAYLIST_LEFT_THUMBNAIL_MODE
	.comm	_MENU_ENUM_LABEL_VALUE_OFF,4,2  ## @MENU_ENUM_LABEL_VALUE_OFF
	.comm	_MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_SCREENSHOTS,4,2 ## @MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_SCREENSHOTS
	.comm	_MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_TITLE_SCREENS,4,2 ## @MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_TITLE_SCREENS
	.comm	_MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_BOXARTS,4,2 ## @MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_BOXARTS
	.comm	_MENU_ENUM_LABEL_VALUE_PLAYLIST_MANAGER_THUMBNAIL_MODE_DEFAULT,4,2 ## @MENU_ENUM_LABEL_VALUE_PLAYLIST_MANAGER_THUMBNAIL_MODE_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_MENU_ENUM_LABEL_NO_ITEMS,4,2   ## @MENU_ENUM_LABEL_NO_ITEMS
	.no_dead_strip	_populate_playlist_thumbnail_mode_dropdown_list
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.populate_playlist_thumbnail_mode_dropdown_list
l_switch.table.populate_playlist_thumbnail_mode_dropdown_list:
	.quad	_MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_TITLE_SCREENS
	.quad	_MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_SCREENSHOTS
	.quad	_MENU_ENUM_LABEL_VALUE_OFF
	.quad	_MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_BOXARTS

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function populate_playlist_thumbnail_mode_dropdown_list
_populate_playlist_thumbnail_mode_dropdown_list: ; @populate_playlist_thumbnail_mode_dropdown_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	x22, x1
	mov	x19, x0
	bl	_playlist_get_cached
	mov	w20, #0
	cbz	x19, LBB0_8
; %bb.1:
	cbz	x0, LBB0_8
; %bb.2:
	mov	x1, x22
	bl	_playlist_get_thumbnail_mode
	mov	w20, #0
	mov	x21, #0
Lloh0:
	adrp	x8, _PLAYLIST_THUMBNAIL_RIGHT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PLAYLIST_THUMBNAIL_RIGHT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MENU_SETTING_DROPDOWN_ITEM_PLAYLIST_RIGHT_THUMBNAIL_MODE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MENU_SETTING_DROPDOWN_ITEM_PLAYLIST_RIGHT_THUMBNAIL_MODE@GOTPAGEOFF]
Lloh5:
	adrp	x10, _MENU_SETTING_DROPDOWN_ITEM_PLAYLIST_LEFT_THUMBNAIL_MODE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MENU_SETTING_DROPDOWN_ITEM_PLAYLIST_LEFT_THUMBNAIL_MODE@GOTPAGEOFF]
	cmp	w8, w22
	csel	x8, x9, x10, eq
	ldr	w22, [x8]
	mov	w24, w0
Lloh7:
	adrp	x25, _MENU_ENUM_LABEL_VALUE_PLAYLIST_MANAGER_THUMBNAIL_MODE_DEFAULT@GOTPAGE
Lloh8:
	ldr	x25, [x25, _MENU_ENUM_LABEL_VALUE_PLAYLIST_MANAGER_THUMBNAIL_MODE_DEFAULT@GOTPAGEOFF]
Lloh9:
	adrp	x26, l_switch.table.populate_playlist_thumbnail_mode_dropdown_list@PAGE
Lloh10:
	add	x26, x26, l_switch.table.populate_playlist_thumbnail_mode_dropdown_list@PAGEOFF
Lloh11:
	adrp	x27, _MENU_ENUM_LABEL_NO_ITEMS@GOTPAGE
Lloh12:
	ldr	x27, [x27, _MENU_ENUM_LABEL_NO_ITEMS@GOTPAGEOFF]
Lloh13:
	adrp	x23, l_.str@PAGE
Lloh14:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	cmp	x21, #132
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w9, w21, #128
	mov	x8, x25
	cmp	w9, #3
	b.hi	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x26, x21, lsl #3
	sub	x8, x8, #1024
	ldr	x8, [x8]
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
	ldr	w3, [x27]
	mov	x0, x19
	mov	x2, x23
	mov	x4, x22
	mov	w5, #0
	mov	w6, #0
	bl	_menu_entries_append_enum
	cmp	x0, #0
	cinc	w20, w20, ne
	cmp	w24, w21
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	bl	_menu_entries_set_checked
	b	LBB0_3
LBB0_8:
	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 AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PLAYLIST_THUMBNAIL_RIGHT,4,2   ; @PLAYLIST_THUMBNAIL_RIGHT
	.comm	_MENU_SETTING_DROPDOWN_ITEM_PLAYLIST_RIGHT_THUMBNAIL_MODE,4,2 ; @MENU_SETTING_DROPDOWN_ITEM_PLAYLIST_RIGHT_THUMBNAIL_MODE
	.comm	_MENU_SETTING_DROPDOWN_ITEM_PLAYLIST_LEFT_THUMBNAIL_MODE,4,2 ; @MENU_SETTING_DROPDOWN_ITEM_PLAYLIST_LEFT_THUMBNAIL_MODE
	.comm	_MENU_ENUM_LABEL_VALUE_OFF,4,2  ; @MENU_ENUM_LABEL_VALUE_OFF
	.comm	_MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_SCREENSHOTS,4,2 ; @MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_SCREENSHOTS
	.comm	_MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_TITLE_SCREENS,4,2 ; @MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_TITLE_SCREENS
	.comm	_MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_BOXARTS,4,2 ; @MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_BOXARTS
	.comm	_MENU_ENUM_LABEL_VALUE_PLAYLIST_MANAGER_THUMBNAIL_MODE_DEFAULT,4,2 ; @MENU_ENUM_LABEL_VALUE_PLAYLIST_MANAGER_THUMBNAIL_MODE_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_MENU_ENUM_LABEL_NO_ITEMS,4,2   ; @MENU_ENUM_LABEL_NO_ITEMS
	.no_dead_strip	_populate_playlist_thumbnail_mode_dropdown_list
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.populate_playlist_thumbnail_mode_dropdown_list
l_switch.table.populate_playlist_thumbnail_mode_dropdown_list:
	.quad	_MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_TITLE_SCREENS
	.quad	_MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_SCREENSHOTS
	.quad	_MENU_ENUM_LABEL_VALUE_OFF
	.quad	_MENU_ENUM_LABEL_VALUE_THUMBNAIL_MODE_BOXARTS

.subsections_via_symbols
