	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_thumbnail_paths
_get_thumbnail_paths:                   ## @get_thumbnail_paths
	.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	$2136, %rsp                     ## imm = 0x858
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -2152(%rbp)                ## 8-byte Spill
	movq	%rcx, -2160(%rbp)               ## 8-byte Spill
	movq	%rdx, -2168(%rbp)               ## 8-byte Spill
	movq	%rsi, -2176(%rbp)               ## 8-byte Spill
	movq	%rdi, %r15
	movq	%rsp, -2104(%rbp)               ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -2112(%rbp)
	movq	$0, -2144(%rbp)
	movq	$0, -2136(%rbp)
	movq	$0, -2128(%rbp)
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %r14
	movl	(%r14), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	(%r14), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%rbx, -2120(%rbp)               ## 8-byte Spill
	movb	$0, (%rbx)
	movb	$0, -2096(%rbp)
	movb	$0, (%r13)
	xorl	%ecx, %ecx
	cmpl	$0, 8(%r15)
	je	LBB0_3
## %bb.1:
	movq	(%r15), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:
	movq	-2104(%rbp), %rbx               ## 8-byte Reload
	xorl	%ecx, %ecx
	jmp	LBB0_4
LBB0_3:
	movq	-2104(%rbp), %rbx               ## 8-byte Reload
LBB0_4:
	movq	%rbx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.5:
	movl	%ecx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	8(%r15), %edi
	leaq	-2112(%rbp), %rsi
	callq	_menu_thumbnail_get_system
	movl	8(%r15), %edi
	leaq	-2144(%rbp), %rsi
	callq	_menu_thumbnail_get_db_name
	movl	8(%r15), %edi
	leaq	-2136(%rbp), %rsi
	callq	_menu_thumbnail_get_img_name
	testl	%eax, %eax
	je	LBB0_2
## %bb.7:
	movl	12(%r15), %edi
	leaq	-2128(%rbp), %rsi
	callq	_menu_thumbnail_get_sub_directory
	testl	%eax, %eax
	je	LBB0_2
## %bb.8:
	movq	-2144(%rbp), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	movq	-2112(%rbp), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_2
## %bb.10:
	movq	-2112(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movq	-2112(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_20
LBB0_12:
	movl	8(%r15), %edi
	movq	-2120(%rbp), %rsi               ## 8-byte Reload
	movl	%r12d, %edx
	movq	%rsi, %r12
	callq	_menu_thumbnail_get_content_dir
	testl	%eax, %eax
	movq	-2104(%rbp), %rbx               ## 8-byte Reload
	jne	LBB0_16
	jmp	LBB0_13
LBB0_14:
	movq	-2144(%rbp), %r12
LBB0_15:
	movq	-2104(%rbp), %rbx               ## 8-byte Reload
LBB0_16:
	movq	(%r15), %rsi
	movq	-2176(%rbp), %r15               ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r12, -2120(%rbp)               ## 8-byte Spill
	movq	%r12, %rdx
	movq	-2168(%rbp), %r12               ## 8-byte Reload
	movq	%r12, %rcx
	callq	_fill_pathname_join
	movq	-2128(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_fill_pathname_join
	movq	-2136(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r12, %rcx
	callq	_fill_pathname_join
	movq	%r15, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_18
LBB0_13:
	xorl	%ecx, %ecx
	jmp	LBB0_4
LBB0_18:
	movq	_FILE_PATH_CORE_THUMBNAILS_URL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_file_path_str
	leaq	-2096(%rbp), %r14
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_strlcpy
	leaq	L_.str.2(%rip), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_strlcat
	movq	%r14, %rdi
	movq	-2120(%rbp), %rsi               ## 8-byte Reload
	movl	$2048, %edx                     ## imm = 0x800
	callq	_strlcat
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_strlcat
	movq	-2128(%rbp), %rsi
	movq	%r14, %rdi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_strlcat
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_strlcat
	movq	-2136(%rbp), %rsi
	movq	%r14, %rdi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_strlcat
	movq	%r14, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	movl	$0, %ecx
	jne	LBB0_4
## %bb.19:
	leaq	-2096(%rbp), %rsi
	movq	-2160(%rbp), %r14               ## 8-byte Reload
	movq	%r14, %rdi
	movq	-2152(%rbp), %rdx               ## 8-byte Reload
	callq	_net_http_urlencode_full
	movq	%r14, %rdi
	callq	_string_is_empty
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	jmp	LBB0_4
LBB0_20:
	movq	-2112(%rbp), %r12
	jmp	LBB0_15
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"history"

L_.str.1:                               ## @.str.1
	.asciz	"favorites"

	.comm	_FILE_PATH_CORE_THUMBNAILS_URL,4,2 ## @FILE_PATH_CORE_THUMBNAILS_URL
L_.str.2:                               ## @.str.2
	.asciz	"/"

	.no_dead_strip	_get_thumbnail_paths
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_thumbnail_paths
_get_thumbnail_paths:                   ; @get_thumbnail_paths
	.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
	sub	sp, sp, #2112
	mov	x19, sp
	mov	x21, x4
	mov	x24, x2
	mov	x23, x1
	mov	x25, x0
	mov	x20, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	stp	xzr, xzr, [x19, #32]
	stp	xzr, xzr, [x19, #16]
Lloh3:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
	ldr	w28, [x8]
	mov	x9, x28
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x28, #15
	and	x10, x10, #0x1fffffff0
	sub	x22, x9, x10
	mov	sp, x22
	ldr	w26, [x8]
	mov	x9, x26
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x26, #15
	and	x9, x9, #0x1fffffff0
	sub	x27, x8, x9
	mov	sp, x27
	strb	wzr, [x22]
	strb	wzr, [x19, #48]
	strb	wzr, [x27]
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_2
; %bb.1:
	str	x3, [x19, #8]                   ; 8-byte Folded Spill
	ldr	x0, [x25]
	bl	_string_is_empty
	cbz	x0, LBB0_5
LBB0_2:
	mov	w0, #0
LBB0_3:
	mov	sp, x20
	ldur	x8, [x29, #-96]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.4:
	sub	sp, x29, #80
	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
LBB0_5:
	ldr	w0, [x25, #8]
	add	x1, x19, #40
	bl	_menu_thumbnail_get_system
	ldr	w0, [x25, #8]
	add	x1, x19, #32
	bl	_menu_thumbnail_get_db_name
	ldr	w0, [x25, #8]
	add	x1, x19, #24
	bl	_menu_thumbnail_get_img_name
	cbz	w0, LBB0_3
; %bb.6:
	ldr	w0, [x25, #12]
	add	x1, x19, #16
	bl	_menu_thumbnail_get_sub_directory
	cbz	w0, LBB0_3
; %bb.7:
	ldr	x0, [x19, #32]
	bl	_string_is_empty
	cbz	x0, LBB0_12
; %bb.8:
	ldr	x0, [x19, #40]
	bl	_string_is_empty
	cbnz	x0, LBB0_2
; %bb.9:
	ldr	x0, [x19, #40]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_string_is_equal
	cbnz	x0, LBB0_11
; %bb.10:
	ldr	x0, [x19, #40]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_16
LBB0_11:
	ldr	w0, [x25, #8]
	mov	x1, x22
	mov	x2, x28
	bl	_menu_thumbnail_get_content_dir
	cbnz	w0, LBB0_13
	b	LBB0_3
LBB0_12:
	ldr	x22, [x19, #32]
LBB0_13:
	ldr	x1, [x25]
	mov	x0, x23
	mov	x2, x22
	mov	x3, x24
	bl	_fill_pathname_join
	ldr	x2, [x19, #16]
	mov	x0, x27
	mov	x1, x23
	mov	x3, x26
	bl	_fill_pathname_join
	ldr	x2, [x19, #24]
	mov	x0, x23
	mov	x1, x27
	mov	x3, x24
	bl	_fill_pathname_join
	mov	x0, x23
	bl	_string_is_empty
	cbnz	x0, LBB0_2
; %bb.14:
Lloh16:
	adrp	x8, _FILE_PATH_CORE_THUMBNAILS_URL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FILE_PATH_CORE_THUMBNAILS_URL@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_file_path_str
	mov	x1, x0
	add	x0, x19, #48
	mov	w2, #2048
	bl	_strlcpy
Lloh19:
	adrp	x23, l_.str.2@PAGE
Lloh20:
	add	x23, x23, l_.str.2@PAGEOFF
	add	x0, x19, #48
	mov	x1, x23
	mov	w2, #2048
	bl	_strlcat
	add	x0, x19, #48
	mov	x1, x22
	mov	w2, #2048
	bl	_strlcat
	add	x0, x19, #48
	mov	x1, x23
	mov	w2, #2048
	bl	_strlcat
	ldr	x1, [x19, #16]
	add	x0, x19, #48
	mov	w2, #2048
	bl	_strlcat
	add	x0, x19, #48
	mov	x1, x23
	mov	w2, #2048
	bl	_strlcat
	ldr	x1, [x19, #24]
	add	x0, x19, #48
	mov	w2, #2048
	bl	_strlcat
	add	x0, x19, #48
	bl	_string_is_empty
	cbnz	x0, LBB0_2
; %bb.15:
	add	x1, x19, #48
	ldr	x22, [x19, #8]                  ; 8-byte Folded Reload
	mov	x0, x22
	mov	x2, x21
	bl	_net_http_urlencode_full
	mov	x0, x22
	bl	_string_is_empty
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_3
LBB0_16:
	ldr	x22, [x19, #40]
	b	LBB0_13
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"history"

l_.str.1:                               ; @.str.1
	.asciz	"favorites"

	.comm	_FILE_PATH_CORE_THUMBNAILS_URL,4,2 ; @FILE_PATH_CORE_THUMBNAILS_URL
l_.str.2:                               ; @.str.2
	.asciz	"/"

	.no_dead_strip	_get_thumbnail_paths
.subsections_via_symbols
