	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rgui_refresh_thumbnail_image
_rgui_refresh_thumbnail_image:          ## @rgui_refresh_thumbnail_image
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_config_get_ptr
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.1:
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	cmpq	$0, 16(%rbx)
	jne	LBB0_4
## %bb.3:
	cmpq	$0, (%rax)
	je	LBB0_7
LBB0_4:
	movl	8(%rbx), %edi
	movq	_MENU_THUMBNAIL_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_menu_thumbnail_is_enabled
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	8(%rbx), %edi
	movq	_MENU_THUMBNAIL_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_menu_thumbnail_is_enabled
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movq	_fs_thumbnail@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rax)
	movq	8(%rax), %rax
	movb	$0, (%rax)
	movq	_mini_thumbnail@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movups	%xmm0, 16(%rax)
	movq	8(%rax), %rax
	movb	$0, (%rax)
	movq	_mini_left_thumbnail@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movups	%xmm0, 16(%rax)
	movq	8(%rax), %rax
	movb	$0, (%rax)
	cmpq	$0, (%rbx)
	je	LBB0_7
## %bb.8:
	movq	%rbx, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rgui_scan_selected_entry_thumbnail ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MENU_THUMBNAIL_RIGHT,4,2       ## @MENU_THUMBNAIL_RIGHT
	.comm	_MENU_THUMBNAIL_LEFT,4,2        ## @MENU_THUMBNAIL_LEFT
	.comm	_fs_thumbnail,32,3              ## @fs_thumbnail
	.comm	_mini_thumbnail,32,3            ## @mini_thumbnail
	.comm	_mini_left_thumbnail,32,3       ## @mini_left_thumbnail
	.no_dead_strip	_rgui_refresh_thumbnail_image
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rgui_refresh_thumbnail_image
_rgui_refresh_thumbnail_image:          ; @rgui_refresh_thumbnail_image
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_config_get_ptr
	cbz	x19, LBB0_8
; %bb.1:
	cbz	x0, LBB0_8
; %bb.2:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x0]
	cbz	x8, LBB0_8
LBB0_4:
	ldr	w0, [x19, #8]
Lloh0:
	adrp	x8, _MENU_THUMBNAIL_RIGHT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MENU_THUMBNAIL_RIGHT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_menu_thumbnail_is_enabled
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x19, #8]
Lloh3:
	adrp	x8, _MENU_THUMBNAIL_LEFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MENU_THUMBNAIL_LEFT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_menu_thumbnail_is_enabled
	cbz	x0, LBB0_8
LBB0_6:
Lloh6:
	adrp	x8, _fs_thumbnail@GOTPAGE
Lloh7:
	ldr	x8, [x8, _fs_thumbnail@GOTPAGEOFF]
	str	wzr, [x8]
	stp	xzr, xzr, [x8, #16]
	ldr	x8, [x8, #8]
	strb	wzr, [x8]
Lloh8:
	adrp	x8, _mini_thumbnail@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mini_thumbnail@GOTPAGEOFF]
	str	wzr, [x8]
	stp	xzr, xzr, [x8, #16]
	ldr	x8, [x8, #8]
	strb	wzr, [x8]
Lloh10:
	adrp	x8, _mini_left_thumbnail@GOTPAGE
Lloh11:
	ldr	x8, [x8, _mini_left_thumbnail@GOTPAGEOFF]
	str	wzr, [x8]
	stp	xzr, xzr, [x8, #16]
	ldr	x8, [x8, #8]
	strb	wzr, [x8]
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rgui_scan_selected_entry_thumbnail
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MENU_THUMBNAIL_RIGHT,4,2       ; @MENU_THUMBNAIL_RIGHT
	.comm	_MENU_THUMBNAIL_LEFT,4,2        ; @MENU_THUMBNAIL_LEFT
	.comm	_fs_thumbnail,32,3              ; @fs_thumbnail
	.comm	_mini_thumbnail,32,3            ; @mini_thumbnail
	.comm	_mini_left_thumbnail,32,3       ; @mini_left_thumbnail
	.no_dead_strip	_rgui_refresh_thumbnail_image
.subsections_via_symbols
