	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_playlist_get_db_name           ## -- Begin function playlist_get_db_name
	.p2align	4, 0x90
_playlist_get_db_name:                  ## @playlist_get_db_name
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rdx, %r15
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax,%rsi,8), %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	(%rbx), %edi
	callq	_path_basename
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_11
## %bb.5:
	movq	_FILE_PATH_CONTENT_FAVORITES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_file_path_str
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_string_is_equal
	testl	%eax, %eax
	jne	LBB0_11
## %bb.6:
	movq	_FILE_PATH_CONTENT_HISTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_file_path_str
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_string_is_equal
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:
	movq	_FILE_PATH_CONTENT_IMAGE_HISTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_file_path_str
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_string_is_equal
	testl	%eax, %eax
	jne	LBB0_11
## %bb.8:
	movq	_FILE_PATH_CONTENT_MUSIC_HISTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_file_path_str
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_string_is_equal
	testl	%eax, %eax
	jne	LBB0_11
## %bb.9:
	movq	_FILE_PATH_CONTENT_VIDEO_HISTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_file_path_str
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_string_is_equal
	testl	%eax, %eax
	jne	LBB0_11
	jmp	LBB0_10
LBB0_3:
	movq	8(%rbx), %rax
	movq	(%rax,%r14,8), %r14
LBB0_10:
	movq	%r14, (%r15)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FILE_PATH_CONTENT_FAVORITES,4,2 ## @FILE_PATH_CONTENT_FAVORITES
	.comm	_FILE_PATH_CONTENT_HISTORY,4,2  ## @FILE_PATH_CONTENT_HISTORY
	.comm	_FILE_PATH_CONTENT_IMAGE_HISTORY,4,2 ## @FILE_PATH_CONTENT_IMAGE_HISTORY
	.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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_playlist_get_db_name           ; -- Begin function playlist_get_db_name
	.p2align	2
_playlist_get_db_name:                  ; @playlist_get_db_name
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x2
	cbz	x2, LBB0_11
; %bb.2:
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	x0, [x8, x1, lsl #3]
	bl	_string_is_empty
	cbz	w0, LBB0_9
; %bb.3:
	ldr	w0, [x21]
	bl	_path_basename
	mov	x20, x0
	bl	_string_is_empty
	cbnz	w0, LBB0_11
; %bb.4:
Lloh0:
	adrp	x8, _FILE_PATH_CONTENT_FAVORITES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FILE_PATH_CONTENT_FAVORITES@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_file_path_str
	mov	x1, x0
	mov	x0, x20
	bl	_string_is_equal
	cbnz	w0, LBB0_11
; %bb.5:
Lloh3:
	adrp	x8, _FILE_PATH_CONTENT_HISTORY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FILE_PATH_CONTENT_HISTORY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_file_path_str
	mov	x1, x0
	mov	x0, x20
	bl	_string_is_equal
	cbnz	w0, LBB0_11
; %bb.6:
Lloh6:
	adrp	x8, _FILE_PATH_CONTENT_IMAGE_HISTORY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FILE_PATH_CONTENT_IMAGE_HISTORY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_file_path_str
	mov	x1, x0
	mov	x0, x20
	bl	_string_is_equal
	cbnz	w0, LBB0_11
; %bb.7:
Lloh9:
	adrp	x8, _FILE_PATH_CONTENT_MUSIC_HISTORY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FILE_PATH_CONTENT_MUSIC_HISTORY@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_file_path_str
	mov	x1, x0
	mov	x0, x20
	bl	_string_is_equal
	cbnz	w0, LBB0_11
; %bb.8:
Lloh12:
	adrp	x8, _FILE_PATH_CONTENT_VIDEO_HISTORY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FILE_PATH_CONTENT_VIDEO_HISTORY@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_file_path_str
	mov	x1, x0
	mov	x0, x20
	bl	_string_is_equal
	cbnz	w0, LBB0_11
	b	LBB0_10
LBB0_9:
	ldr	x8, [x21, #8]
	ldr	x20, [x8, x20, lsl #3]
LBB0_10:
	str	x20, [x19]
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_FILE_PATH_CONTENT_FAVORITES,4,2 ; @FILE_PATH_CONTENT_FAVORITES
	.comm	_FILE_PATH_CONTENT_HISTORY,4,2  ; @FILE_PATH_CONTENT_HISTORY
	.comm	_FILE_PATH_CONTENT_IMAGE_HISTORY,4,2 ; @FILE_PATH_CONTENT_IMAGE_HISTORY
	.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
.subsections_via_symbols
