	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rgui_scan_selected_entry_thumbnail
_rgui_scan_selected_entry_thumbnail:    ## @rgui_scan_selected_entry_thumbnail
	.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, %r12d
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_config_get_ptr
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%rax, %r14
	movq	$0, (%rbx)
	movl	$0, 8(%rbx)
	cmpq	$0, 32(%rbx)
	jne	LBB0_3
## %bb.2:
	cmpq	$0, 8(%r14)
	je	LBB0_14
LBB0_3:
	cmpq	$0, 24(%rbx)
	je	LBB0_14
## %bb.4:
	movl	16(%rbx), %r13d
	xorl	%eax, %eax
	callq	_playlist_get_cached
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_menu_navigation_get_selection
	movl	%r13d, %edi
	movl	%r12d, %r13d
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_menu_thumbnail_set_content_playlist
	testq	%rax, %rax
	je	LBB0_14
## %bb.5:
	movl	16(%rbx), %edi
	movq	_MENU_THUMBNAIL_RIGHT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_menu_thumbnail_is_enabled
	testq	%rax, %rax
	movl	$0, %r12d
	je	LBB0_7
## %bb.6:
	movl	16(%rbx), %edi
	movl	(%r15), %esi
	callq	_menu_thumbnail_update_path
	movl	%eax, %r12d
LBB0_7:
	cmpq	$0, 8(%r14)
	je	LBB0_10
## %bb.8:
	movl	16(%rbx), %edi
	movq	_MENU_THUMBNAIL_LEFT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_menu_thumbnail_is_enabled
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	16(%rbx), %edi
	movl	(%r15), %esi
	callq	_menu_thumbnail_update_path
	xorl	%ecx, %ecx
	orl	%r12d, %eax
	setne	%cl
	movl	%ecx, %r12d
LBB0_10:
	testl	%r12d, %r12d
	je	LBB0_14
## %bb.11:
	testl	%r13d, %r13d
	jne	LBB0_15
## %bb.12:
	cmpq	$0, 16(%r14)
	je	LBB0_15
## %bb.13:
	movl	$1, 8(%rbx)
	xorl	%eax, %eax
	callq	_cpu_features_get_time_usec
	movl	%eax, 12(%rbx)
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rgui_load_current_thumbnails   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MENU_THUMBNAIL_RIGHT,4,2       ## @MENU_THUMBNAIL_RIGHT
	.comm	_MENU_THUMBNAIL_LEFT,4,2        ## @MENU_THUMBNAIL_LEFT
	.no_dead_strip	_rgui_scan_selected_entry_thumbnail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rgui_scan_selected_entry_thumbnail
_rgui_scan_selected_entry_thumbnail:    ; @rgui_scan_selected_entry_thumbnail
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_config_get_ptr
	cbz	x0, LBB0_14
; %bb.1:
	mov	x20, x0
	str	xzr, [x19]
	str	wzr, [x19, #8]
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_14
LBB0_3:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_14
; %bb.4:
	ldr	w22, [x19, #16]
	bl	_playlist_get_cached
	mov	x23, x0
	bl	_menu_navigation_get_selection
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_menu_thumbnail_set_content_playlist
	cbz	x0, LBB0_14
; %bb.5:
	ldr	w0, [x19, #16]
Lloh0:
	adrp	x22, _MENU_THUMBNAIL_RIGHT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MENU_THUMBNAIL_RIGHT@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_menu_thumbnail_is_enabled
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w0, [x19, #16]
	ldr	w1, [x22]
	bl	_menu_thumbnail_update_path
	mov	x22, x0
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_8
	b	LBB0_10
LBB0_7:
	mov	w22, #0
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_10
LBB0_8:
	ldr	w0, [x19, #16]
Lloh2:
	adrp	x23, _MENU_THUMBNAIL_LEFT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MENU_THUMBNAIL_LEFT@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_menu_thumbnail_is_enabled
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w0, [x19, #16]
	ldr	w1, [x23]
	bl	_menu_thumbnail_update_path
	orr	w8, w0, w22
	cmp	w8, #0
	cset	w22, ne
LBB0_10:
	cbz	w22, LBB0_14
; %bb.11:
	cbnz	w21, LBB0_15
; %bb.12:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_15
; %bb.13:
	mov	w8, #1
	str	w8, [x19, #8]
	bl	_cpu_features_get_time_usec
	str	w0, [x19, #12]
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	ldr	w1, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rgui_load_current_thumbnails
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MENU_THUMBNAIL_RIGHT,4,2       ; @MENU_THUMBNAIL_RIGHT
	.comm	_MENU_THUMBNAIL_LEFT,4,2        ; @MENU_THUMBNAIL_LEFT
	.no_dead_strip	_rgui_scan_selected_entry_thumbnail
.subsections_via_symbols
