	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_task_push_pl_thumbnail_download ## -- Begin function task_push_pl_thumbnail_download
	.p2align	4, 0x90
_task_push_pl_thumbnail_download:       ## @task_push_pl_thumbnail_download
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_task_init
	movq	%rax, %rbx
	movl	$1, %edi
	movl	$112, %esi
	callq	_calloc
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_path_basename
	testq	%r12, %r12
	je	LBB0_17
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.2:
	testq	%r14, %r14
	je	LBB0_17
## %bb.3:
	movq	%rax, %r13
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_17
## %bb.4:
	movq	%r15, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_17
## %bb.5:
	movq	%r13, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_17
## %bb.6:
	movq	(%r12), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_17
## %bb.7:
	movq	_FILE_PATH_CONTENT_HISTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_file_path_str
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_17
## %bb.8:
	movq	_FILE_PATH_CONTENT_FAVORITES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_file_path_str
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_17
## %bb.9:
	movq	_FILE_PATH_CONTENT_MUSIC_HISTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_file_path_str
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_17
## %bb.10:
	movq	_FILE_PATH_CONTENT_VIDEO_HISTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_file_path_str
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_17
## %bb.11:
	movq	_FILE_PATH_CONTENT_IMAGE_HISTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_file_path_str
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_17
## %bb.12:
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_17
## %bb.13:
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_17
## %bb.14:
	leaq	L_.str.2(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_17
## %bb.15:
	movq	_task_pl_thumbnail_finder@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	%r15, -64(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_task_queue_find
	testq	%rax, %rax
	je	LBB0_16
LBB0_17:
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.18:
	movq	%rbx, %rdi
	callq	_free
LBB0_19:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	je	LBB0_21
## %bb.20:
	movq	%r14, %rdi
	callq	_free
LBB0_21:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_task_pl_thumbnail_download_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 104(%rbx)
	movq	%r14, 96(%rbx)
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_strdup
	movq	%rax, 88(%rbx)
	movl	$1, (%rbx)
	movq	$0, 80(%rbx)
	movq	%r13, %rdi
	callq	_strdup
	movq	%rax, 72(%r14)
	movq	%r15, %rdi
	callq	_strdup
	movq	%rax, 64(%r14)
	movq	(%r12), %rdi
	callq	_strdup
	movq	%rax, 56(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r14)
	movups	%xmm0, 32(%r14)
	movq	$0, 48(%r14)
	movq	$1, 4(%r14)
	movq	_PL_THUMB_BEGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movq	%rbx, %rdi
	callq	_task_queue_push
	movl	$1, %ebx
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_FILE_PATH_CONTENT_HISTORY,4,2  ## @FILE_PATH_CONTENT_HISTORY
	.comm	_FILE_PATH_CONTENT_FAVORITES,4,2 ## @FILE_PATH_CONTENT_FAVORITES
	.comm	_FILE_PATH_CONTENT_MUSIC_HISTORY,4,2 ## @FILE_PATH_CONTENT_MUSIC_HISTORY
	.comm	_FILE_PATH_CONTENT_VIDEO_HISTORY,4,2 ## @FILE_PATH_CONTENT_VIDEO_HISTORY
	.comm	_FILE_PATH_CONTENT_IMAGE_HISTORY,4,2 ## @FILE_PATH_CONTENT_IMAGE_HISTORY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"history"

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

L_.str.2:                               ## @.str.2
	.asciz	"images_history"

	.comm	_task_pl_thumbnail_finder,4,2   ## @task_pl_thumbnail_finder
	.comm	_task_pl_thumbnail_download_handler,4,2 ## @task_pl_thumbnail_download_handler
	.comm	_PL_THUMB_BEGIN,4,2             ## @PL_THUMB_BEGIN
.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 task_push_pl_thumbnail_download
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_task_push_pl_thumbnail_download
	.p2align	2
_task_push_pl_thumbnail_download:       ; @task_push_pl_thumbnail_download
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x1
	mov	x23, x0
	bl	_config_get_ptr
	mov	x21, x0
	bl	_task_init
	mov	x19, x0
	mov	w0, #1
	mov	w1, #112
	bl	_calloc
	mov	x20, x0
	mov	x0, x22
	bl	_path_basename
	cbz	x21, LBB0_16
; %bb.1:
	cbz	x19, LBB0_16
; %bb.2:
	cbz	x20, LBB0_16
; %bb.3:
	mov	x24, x0
	mov	x0, x23
	bl	_string_is_empty
	cbnz	x0, LBB0_16
; %bb.4:
	mov	x0, x22
	bl	_string_is_empty
	cbnz	x0, LBB0_16
; %bb.5:
	mov	x0, x24
	bl	_string_is_empty
	cbnz	x0, LBB0_16
; %bb.6:
	ldr	x0, [x21]
	bl	_string_is_empty
	cbnz	x0, LBB0_16
; %bb.7:
Lloh0:
	adrp	x8, _FILE_PATH_CONTENT_HISTORY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FILE_PATH_CONTENT_HISTORY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_file_path_str
	mov	x1, x0
	mov	x0, x24
	bl	_string_is_equal
	cbnz	x0, LBB0_16
; %bb.8:
Lloh3:
	adrp	x8, _FILE_PATH_CONTENT_FAVORITES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FILE_PATH_CONTENT_FAVORITES@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_file_path_str
	mov	x1, x0
	mov	x0, x24
	bl	_string_is_equal
	cbnz	x0, LBB0_16
; %bb.9:
Lloh6:
	adrp	x8, _FILE_PATH_CONTENT_MUSIC_HISTORY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FILE_PATH_CONTENT_MUSIC_HISTORY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_file_path_str
	mov	x1, x0
	mov	x0, x24
	bl	_string_is_equal
	cbnz	x0, LBB0_16
; %bb.10:
Lloh9:
	adrp	x8, _FILE_PATH_CONTENT_VIDEO_HISTORY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FILE_PATH_CONTENT_VIDEO_HISTORY@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_file_path_str
	mov	x1, x0
	mov	x0, x24
	bl	_string_is_equal
	cbnz	x0, LBB0_16
; %bb.11:
Lloh12:
	adrp	x8, _FILE_PATH_CONTENT_IMAGE_HISTORY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FILE_PATH_CONTENT_IMAGE_HISTORY@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_file_path_str
	mov	x1, x0
	mov	x0, x24
	bl	_string_is_equal
	cbnz	x0, LBB0_16
; %bb.12:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_string_is_equal
	cbnz	x0, LBB0_16
; %bb.13:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_string_is_equal
	cbnz	x0, LBB0_16
; %bb.14:
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_string_is_equal
	cbnz	x0, LBB0_16
; %bb.15:
Lloh21:
	adrp	x8, _task_pl_thumbnail_finder@GOTPAGE
Lloh22:
	ldr	x8, [x8, _task_pl_thumbnail_finder@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	str	x22, [sp]
	mov	x0, sp
	bl	_task_queue_find
	cbz	x0, LBB0_22
LBB0_16:
	cbz	x19, LBB0_18
; %bb.17:
	mov	x0, x19
	bl	_free
LBB0_18:
	cbz	x20, LBB0_20
; %bb.19:
	mov	x0, x20
	bl	_free
LBB0_20:
	mov	w24, #0
LBB0_21:
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_22:
Lloh24:
	adrp	x8, _task_pl_thumbnail_download_handler@GOTPAGE
Lloh25:
	ldr	x8, [x8, _task_pl_thumbnail_download_handler@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x19, #104]
	str	x20, [x19, #96]
	mov	x0, x23
	bl	_strdup
	mov	w24, #1
	str	w24, [x19]
	stp	xzr, x0, [x19, #80]
	mov	x0, x23
	bl	_strdup
	str	x0, [x20, #72]
	mov	x0, x22
	bl	_strdup
	str	x0, [x20, #64]
	ldr	x0, [x21]
	bl	_strdup
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x20, #16]
	stp	xzr, x0, [x20, #48]
Lloh27:
	adrp	x8, lCPI0_0@PAGE
Lloh28:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x20, #4]
Lloh29:
	adrp	x8, _PL_THUMB_BEGIN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PL_THUMB_BEGIN@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	str	w8, [x20, #12]
	mov	x0, x19
	bl	_task_queue_push
	b	LBB0_21
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdrp	Lloh27, Lloh29
	.loh AdrpLdr	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_FILE_PATH_CONTENT_HISTORY,4,2  ; @FILE_PATH_CONTENT_HISTORY
	.comm	_FILE_PATH_CONTENT_FAVORITES,4,2 ; @FILE_PATH_CONTENT_FAVORITES
	.comm	_FILE_PATH_CONTENT_MUSIC_HISTORY,4,2 ; @FILE_PATH_CONTENT_MUSIC_HISTORY
	.comm	_FILE_PATH_CONTENT_VIDEO_HISTORY,4,2 ; @FILE_PATH_CONTENT_VIDEO_HISTORY
	.comm	_FILE_PATH_CONTENT_IMAGE_HISTORY,4,2 ; @FILE_PATH_CONTENT_IMAGE_HISTORY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"history"

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

l_.str.2:                               ; @.str.2
	.asciz	"images_history"

	.comm	_task_pl_thumbnail_finder,4,2   ; @task_pl_thumbnail_finder
	.comm	_task_pl_thumbnail_download_handler,4,2 ; @task_pl_thumbnail_download_handler
	.comm	_PL_THUMB_BEGIN,4,2             ; @PL_THUMB_BEGIN
.subsections_via_symbols
