	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rgui_load_current_thumbnails
_rgui_load_current_thumbnails:          ## @rgui_load_current_thumbnails
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	$0, -40(%rbp)
	movq	$0, -32(%rbp)
	movl	$0, -20(%rbp)
	movl	8(%rdi), %edi
	movq	_MENU_THUMBNAIL_RIGHT@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-40(%rbp), %rdx
	callq	_menu_thumbnail_get_path
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpq	$0, 24(%rbx)
	jne	LBB0_2
## %bb.3:
	movq	_mini_thumbnail@GOTPCREL(%rip), %rdi
	jmp	LBB0_4
LBB0_2:
	movq	_fs_thumbnail@GOTPCREL(%rip), %rdi
LBB0_4:
	movl	(%r14), %esi
	leaq	32(%rbx), %rdx
	movq	-40(%rbp), %rcx
	leaq	-20(%rbp), %r8
	callq	_request_thumbnail
	movq	%rax, 40(%rbx)
LBB0_5:
	cmpq	$0, 24(%rbx)
	jne	LBB0_8
## %bb.6:
	movl	8(%rbx), %edi
	movq	_MENU_THUMBNAIL_LEFT@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-32(%rbp), %rdx
	callq	_menu_thumbnail_get_path
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	(%r14), %esi
	leaq	12(%rbx), %rdx
	movq	-32(%rbp), %rcx
	movq	_mini_left_thumbnail@GOTPCREL(%rip), %rdi
	leaq	-20(%rbp), %r8
	callq	_request_thumbnail
	movq	%rax, 16(%rbx)
LBB0_8:
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, (%rbx)
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MENU_THUMBNAIL_RIGHT,4,2       ## @MENU_THUMBNAIL_RIGHT
	.comm	_fs_thumbnail,4,2               ## @fs_thumbnail
	.comm	_mini_thumbnail,4,2             ## @mini_thumbnail
	.comm	_MENU_THUMBNAIL_LEFT,4,2        ## @MENU_THUMBNAIL_LEFT
	.comm	_mini_left_thumbnail,4,2        ## @mini_left_thumbnail
	.no_dead_strip	_rgui_load_current_thumbnails
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function rgui_load_current_thumbnails
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_rgui_load_current_thumbnails:          ; @rgui_load_current_thumbnails
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	stp	xzr, xzr, [sp, #16]
	str	wzr, [sp, #12]
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x20, _MENU_THUMBNAIL_RIGHT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MENU_THUMBNAIL_RIGHT@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #24
	bl	_menu_thumbnail_get_path
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _fs_thumbnail@GOTPAGE
Lloh3:
	ldr	x8, [x8, _fs_thumbnail@GOTPAGEOFF]
Lloh4:
	adrp	x9, _mini_thumbnail@GOTPAGE
Lloh5:
	ldr	x9, [x9, _mini_thumbnail@GOTPAGEOFF]
	ldr	x10, [x19, #24]
	cmp	x10, #0
	csel	x0, x9, x8, eq
	ldr	w1, [x20]
	add	x2, x19, #32
	ldr	x3, [sp, #24]
	add	x4, sp, #12
	bl	_request_thumbnail
	str	x0, [x19, #40]
LBB0_2:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_5
; %bb.3:
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x20, _MENU_THUMBNAIL_LEFT@GOTPAGE
Lloh7:
	ldr	x20, [x20, _MENU_THUMBNAIL_LEFT@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #16
	bl	_menu_thumbnail_get_path
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w1, [x20]
	add	x2, x19, #12
	ldr	x3, [sp, #16]
Lloh8:
	adrp	x0, _mini_left_thumbnail@GOTPAGE
Lloh9:
	ldr	x0, [x0, _mini_left_thumbnail@GOTPAGEOFF]
	add	x4, sp, #12
	bl	_request_thumbnail
	str	x0, [x19, #16]
LBB0_5:
Lloh10:
	adrp	x8, lCPI0_0@PAGE
Lloh11:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdr	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MENU_THUMBNAIL_RIGHT,4,2       ; @MENU_THUMBNAIL_RIGHT
	.comm	_fs_thumbnail,4,2               ; @fs_thumbnail
	.comm	_mini_thumbnail,4,2             ; @mini_thumbnail
	.comm	_MENU_THUMBNAIL_LEFT,4,2        ; @MENU_THUMBNAIL_LEFT
	.comm	_mini_left_thumbnail,4,2        ; @mini_left_thumbnail
	.no_dead_strip	_rgui_load_current_thumbnails
.subsections_via_symbols
