	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_runtime_update_playlist        ## -- Begin function runtime_update_playlist
	.p2align	4, 0x90
_runtime_update_playlist:               ## @runtime_update_playlist
	.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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	$0, -184(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -200(%rbp)
	movups	%xmm0, -216(%rbp)
	movups	%xmm0, -232(%rbp)
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.1:
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	%rbx, %rdi
	callq	_playlist_get_size
	cmpq	%r14, %rax
	jbe	LBB0_11
## %bb.3:
	movq	_PLAYLIST_RUNTIME_MISSING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -256(%rbp)
	movq	_PLAYLIST_LAST_PLAYED_STYLE_YMD_HMS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movb	$0, -112(%rbp)
	movb	$0, -176(%rbp)
	leaq	-112(%rbp), %rax
	movq	%rax, -248(%rbp)
	leaq	-176(%rbp), %rax
	movq	%rax, -240(%rbp)
	leaq	-184(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_playlist_get_index
	movq	-184(%rbp), %rax
	movl	60(%rax), %esi
	movl	64(%rax), %edi
	movq	8(%r12), %rax
	movq	_PLAYLIST_RUNTIME_PER_CORE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	callq	_runtime_log_init
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_runtime_log_has_runtime
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	-200(%rbp), %rsi
	leaq	-204(%rbp), %rdx
	leaq	-208(%rbp), %rcx
	movq	%r13, %rdi
	callq	_runtime_log_get_runtime_hms
	leaq	-112(%rbp), %rsi
	movq	%r13, %rdi
	movl	$64, %edx
	callq	_runtime_log_get_runtime_str
	leaq	-212(%rbp), %rsi
	leaq	-216(%rbp), %rdx
	leaq	-220(%rbp), %rcx
	leaq	-224(%rbp), %r8
	leaq	-228(%rbp), %r9
	leaq	-232(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r13, %rdi
	callq	_runtime_log_get_last_played
	leaq	-176(%rbp), %rsi
	movq	%r13, %rdi
	movl	$64, %edx
	movl	%r15d, %ecx
	callq	_runtime_log_get_last_played_str
	movq	_PLAYLIST_RUNTIME_VALID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -256(%rbp)
LBB0_6:
	movq	%r13, %rdi
	callq	_free
LBB0_7:
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	-256(%rbp), %rax
	movq	_PLAYLIST_RUNTIME_VALID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.9:
	leaq	-112(%rbp), %rsi
	xorl	%edi, %edi
	movl	$64, %edx
	callq	_runtime_log_get_runtime_str
	leaq	-176(%rbp), %rsi
	xorl	%edi, %edi
	movl	$64, %edx
	movl	%r15d, %ecx
	callq	_runtime_log_get_last_played_str
LBB0_10:
	leaq	-256(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_playlist_update_runtime
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PLAYLIST_RUNTIME_MISSING,8,3   ## @PLAYLIST_RUNTIME_MISSING
	.comm	_PLAYLIST_LAST_PLAYED_STYLE_YMD_HMS,4,2 ## @PLAYLIST_LAST_PLAYED_STYLE_YMD_HMS
	.comm	_PLAYLIST_RUNTIME_PER_CORE,8,3  ## @PLAYLIST_RUNTIME_PER_CORE
	.comm	_PLAYLIST_RUNTIME_VALID,8,3     ## @PLAYLIST_RUNTIME_VALID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ozone"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_runtime_update_playlist        ; -- Begin function runtime_update_playlist
	.p2align	2
_runtime_update_playlist:               ; @runtime_update_playlist
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x28, x27, [sp, #224]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #240]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #256]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_config_get_ptr
	str	xzr, [sp, #80]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #48]
	stur	q0, [sp, #32]
	cbz	x20, LBB0_11
; %bb.1:
	mov	x22, x0
	cbz	x0, LBB0_11
; %bb.2:
	mov	x0, x20
	bl	_playlist_get_size
	cmp	x0, x19
	b.ls	LBB0_11
; %bb.3:
Lloh3:
	adrp	x8, _PLAYLIST_RUNTIME_MISSING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PLAYLIST_RUNTIME_MISSING@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _PLAYLIST_LAST_PLAYED_STYLE_YMD_HMS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PLAYLIST_LAST_PLAYED_STYLE_YMD_HMS@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x9]
	strb	wzr, [sp, #152]
	strb	wzr, [sp, #88]
	add	x9, sp, #152
	stp	x8, x9, [sp, #8]
	add	x8, sp, #88
	str	x8, [sp, #24]
	add	x2, sp, #80
	mov	x0, x20
	mov	x1, x19
	bl	_playlist_get_index
	ldr	x8, [sp, #80]
	ldp	w1, w0, [x8, #60]
	ldr	x8, [x22, #8]
Lloh9:
	adrp	x9, _PLAYLIST_RUNTIME_PER_CORE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PLAYLIST_RUNTIME_PER_CORE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w2, eq
	bl	_runtime_log_init
Lloh12:
	adrp	x25, _PLAYLIST_RUNTIME_VALID@GOTPAGE
Lloh13:
	ldr	x25, [x25, _PLAYLIST_RUNTIME_VALID@GOTPAGEOFF]
	cbz	x0, LBB0_7
; %bb.4:
	mov	x23, x0
	bl	_runtime_log_has_runtime
	cbz	x0, LBB0_6
; %bb.5:
	add	x8, sp, #8
	add	x24, x8, #24
	add	x26, sp, #8
	add	x1, x26, #56
	add	x2, x26, #52
	add	x3, x26, #48
	mov	x0, x23
	bl	_runtime_log_get_runtime_hms
	add	x1, sp, #152
	mov	x0, x23
	mov	w2, #64
	bl	_runtime_log_get_runtime_str
	add	x1, x26, #44
	add	x2, x26, #40
	add	x3, x26, #36
	add	x4, x26, #32
	add	x5, x26, #28
	mov	x0, x23
	mov	x6, x24
	bl	_runtime_log_get_last_played
	add	x1, sp, #88
	mov	x0, x23
	mov	w2, #64
	mov	x3, x21
	bl	_runtime_log_get_last_played_str
	ldr	x8, [x25]
	str	x8, [sp, #8]
LBB0_6:
	mov	x0, x23
	bl	_free
LBB0_7:
	ldr	w0, [x22]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_10
; %bb.8:
	ldr	x8, [sp, #8]
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.9:
	add	x1, sp, #152
	mov	x0, #0
	mov	w2, #64
	bl	_runtime_log_get_runtime_str
	add	x1, sp, #88
	mov	x0, #0
	mov	w2, #64
	mov	x3, x21
	bl	_runtime_log_get_last_played_str
LBB0_10:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_playlist_update_runtime
LBB0_11:
	ldur	x8, [x29, #-88]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #256]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #240]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #224]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_PLAYLIST_RUNTIME_MISSING,8,3   ; @PLAYLIST_RUNTIME_MISSING
	.comm	_PLAYLIST_LAST_PLAYED_STYLE_YMD_HMS,4,2 ; @PLAYLIST_LAST_PLAYED_STYLE_YMD_HMS
	.comm	_PLAYLIST_RUNTIME_PER_CORE,8,3  ; @PLAYLIST_RUNTIME_PER_CORE
	.comm	_PLAYLIST_RUNTIME_VALID,8,3     ; @PLAYLIST_RUNTIME_VALID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ozone"

.subsections_via_symbols
