	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_playlist_push_runtime          ## -- Begin function playlist_push_runtime
	.p2align	4, 0x90
_playlist_push_runtime:                 ## @playlist_push_runtime
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movb	$0, (%rbx)
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movb	$0, (%rax)
	xorl	%r15d, %r15d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	testq	%r12, %r12
	je	LBB0_36
## %bb.1:
	testq	%r13, %r13
	je	LBB0_36
## %bb.2:
	movq	(%r13), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	8(%r13), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	8(%r13), %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_strlcpy
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	callq	_path_resolve_realpath
LBB0_6:
	movq	(%r13), %rsi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_strlcpy
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_string_is_equal
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	callq	_path_resolve_realpath
LBB0_8:
	movq	%rbx, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_9
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_RARCH_ERR
LBB0_36:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.37:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	cmpq	$0, (%r14)
	je	LBB0_10
## %bb.11:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_playlist_path_equal
	testq	%rax, %rax
	je	LBB0_19
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	(%rax,%rbx), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_playlist_core_path_equal
	testl	%eax, %eax
	jne	LBB0_16
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%r15
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rax
	addq	$72, %rbx
	cmpq	%rax, %r15
	jae	LBB0_20
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movq	8(%rax,%rbx), %r14
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r14, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_15
	jmp	LBB0_14
LBB0_10:
	xorl	%eax, %eax
LBB0_20:
	movslq	8(%r14), %rcx
	cmpq	%rcx, %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_24
## %bb.21:
	movq	16(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_23
## %bb.22:
	leaq	(%rcx,%rcx,8), %rax
	leaq	(%rdx,%rax,8), %rdi
	addq	$-72, %rdi
	callq	_playlist_free_entry
	movq	(%r14), %rax
LBB0_23:
	decq	%rax
	movq	%rax, (%r14)
LBB0_24:
	movq	16(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_34
## %bb.25:
	leaq	72(%rsi), %rdi
	movl	8(%r14), %eax
	leal	(%rax,%rax,8), %eax
	leal	-72(,%rax,8), %edx
	callq	_memmove
	movq	16(%r14), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movq	%rbx, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_27
## %bb.26:
	movq	%rbx, %rdi
	callq	_strdup
	movq	16(%r14), %rcx
	movq	%rax, 8(%rcx)
LBB0_27:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	movq	16(%r14), %rcx
	jmp	LBB0_30
LBB0_16:
	testq	%r15, %r15
	je	LBB0_17
## %bb.18:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	16(%r14), %rsi
	movq	64(%rsi,%rbx), %rax
	movq	%rax, -80(%rbp)
	movups	(%rsi,%rbx), %xmm0
	movups	16(%rsi,%rbx), %xmm1
	movups	32(%rsi,%rbx), %xmm2
	movups	48(%rsi,%rbx), %xmm3
	movaps	%xmm3, -96(%rbp)
	movaps	%xmm2, -112(%rbp)
	movaps	%xmm1, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	leaq	72(%rsi), %rdi
	movl	%ebx, %edx
	callq	_memmove
	movq	16(%r14), %rax
	movaps	-144(%rbp), %xmm0
	movaps	-128(%rbp), %xmm1
	movaps	-112(%rbp), %xmm2
	movaps	-96(%rbp), %xmm3
	movups	%xmm0, (%rax)
	movups	%xmm1, 16(%rax)
	movups	%xmm2, 32(%rax)
	movups	%xmm3, 48(%rax)
	movq	-80(%rbp), %rcx
	movq	%rcx, 64(%rax)
	jmp	LBB0_35
LBB0_29:
	movq	%rbx, %rdi
	callq	_strdup
	movq	16(%r14), %rcx
	movq	%rax, (%rcx)
LBB0_30:
	movl	68(%r13), %eax
	movl	%eax, 68(%rcx)
	movl	64(%r13), %eax
	movl	%eax, 64(%rcx)
	movups	48(%r13), %xmm0
	movups	%xmm0, 48(%rcx)
	movups	32(%r13), %xmm0
	movups	%xmm0, 32(%rcx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rcx)
	movq	16(%r13), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_32
## %bb.31:
	movq	16(%r13), %rdi
	callq	_strdup
	movq	16(%r14), %rcx
	movq	%rax, 16(%rcx)
LBB0_32:
	movq	24(%r13), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_34
## %bb.33:
	movq	24(%r13), %rdi
	callq	_strdup
	movq	16(%r14), %rcx
	movq	%rax, 24(%rcx)
LBB0_34:
	incq	(%r14)
LBB0_35:
	movl	$1, 12(%r14)
	movl	$1, %r15d
	jmp	LBB0_36
LBB0_17:
	xorl	%r15d, %r15d
	jmp	LBB0_36
LBB0_38:
	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	"cannot push NULL or empty core path into the playlist.\n"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_playlist_push_runtime          ; -- Begin function playlist_push_runtime
	.p2align	2
_playlist_push_runtime:                 ; @playlist_push_runtime
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #80
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x9, x23
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x12, x9, #0x1fffffff0
	sub	x22, x8, x12
	mov	sp, x22
	mov	x9, x23
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x21, x8, x12
	mov	sp, x21
	mov	w0, #0
	strb	wzr, [x22]
	strb	wzr, [x21]
	cbz	x19, LBB0_10
; %bb.1:
	cbz	x20, LBB0_10
; %bb.2:
	ldr	x0, [x20]
	bl	_string_is_empty
	cbnz	x0, LBB0_8
; %bb.3:
	ldr	x0, [x20, #8]
	bl	_string_is_empty
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	x1, [x20, #8]
	mov	x0, x22
	mov	x2, x23
	bl	_strlcpy
	mov	x0, x22
	mov	x1, x23
	mov	w2, #1
	bl	_path_resolve_realpath
LBB0_5:
	ldr	x1, [x20]
	mov	x0, x21
	mov	x2, x23
	bl	_strlcpy
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_string_is_equal
	cbnz	w0, LBB0_7
; %bb.6:
	mov	x0, x21
	mov	x1, x23
	mov	w2, #1
	bl	_path_resolve_realpath
LBB0_7:
	mov	x0, x21
	bl	_string_is_empty
	cbz	x0, LBB0_12
LBB0_8:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_RARCH_ERR
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldur	x8, [x29, #-72]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_37
; %bb.11:
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldr	x8, [x19]
	cbz	x8, LBB0_19
; %bb.13:
	mov	x23, #0
	mov	x25, #0
	b	LBB0_17
LBB0_14:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_playlist_path_equal
	cbz	x0, LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x19, #16]
	ldr	x1, [x8, x23]
	mov	x0, x21
	bl	_playlist_core_path_equal
	cbnz	w0, LBB0_28
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x25, x25, #1
	ldr	x8, [x19]
	add	x23, x23, #72
	cmp	x25, x8
	b.hs	LBB0_19
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x8, x8, x23
	ldr	x24, [x8, #8]
	mov	x0, x22
	bl	_string_is_empty
	cbz	x0, LBB0_14
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x24
	bl	_string_is_empty
	cbnz	x0, LBB0_15
	b	LBB0_14
LBB0_19:
	ldrsw	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.20:
	ldr	x10, [x19, #16]
	cbz	x10, LBB0_22
; %bb.21:
	mov	w8, #72
	madd	x8, x9, x8, x10
	sub	x0, x8, #72
	bl	_playlist_free_entry
	ldr	x8, [x19]
LBB0_22:
	sub	x8, x8, #1
	str	x8, [x19]
LBB0_23:
	ldr	x1, [x19, #16]
	cbz	x1, LBB0_35
; %bb.24:
	add	x0, x1, #72
	ldr	w8, [x19, #8]
	mov	w9, #72
	mul	w8, w8, w9
	sub	w2, w8, #72
	bl	_memmove
	ldr	x8, [x19, #16]
	stp	xzr, xzr, [x8]
	mov	x0, x22
	bl	_string_is_empty
	cbnz	x0, LBB0_26
; %bb.25:
	mov	x0, x22
	bl	_strdup
	ldr	x8, [x19, #16]
	str	x0, [x8, #8]
LBB0_26:
	mov	x0, x21
	bl	_string_is_empty
	cbz	x0, LBB0_30
; %bb.27:
	ldr	x8, [x19, #16]
	b	LBB0_31
LBB0_28:
	cbz	x25, LBB0_9
; %bb.29:
	ldr	x1, [x19, #16]
	add	x8, x1, x23
	ldp	q0, q1, [x8, #32]
	stp	q0, q1, [x29, #-112]
	ldr	x9, [x8, #64]
	stur	x9, [x29, #-80]
	ldp	q1, q0, [x8]
	stp	q1, q0, [x29, #-144]
	add	x0, x1, #72
	mov	x2, x23
	bl	_memmove
	ldr	x8, [x19, #16]
	ldur	x9, [x29, #-80]
	str	x9, [x8, #64]
	ldp	q1, q0, [x29, #-112]
	stp	q1, q0, [x8, #32]
	ldp	q0, q1, [x29, #-144]
	stp	q0, q1, [x8]
	b	LBB0_36
LBB0_30:
	mov	x0, x21
	bl	_strdup
	ldr	x8, [x19, #16]
	str	x0, [x8]
LBB0_31:
	ldr	d0, [x20, #64]
	str	d0, [x8, #64]
	ldr	q0, [x20, #48]
	str	q0, [x8, #48]
	ldr	q0, [x20, #32]
	str	q0, [x8, #32]
	stp	xzr, xzr, [x8, #16]
	ldr	x0, [x20, #16]
	bl	_string_is_empty
	cbnz	x0, LBB0_33
; %bb.32:
	ldr	x0, [x20, #16]
	bl	_strdup
	ldr	x8, [x19, #16]
	str	x0, [x8, #16]
LBB0_33:
	ldr	x0, [x20, #24]
	bl	_string_is_empty
	cbnz	x0, LBB0_35
; %bb.34:
	ldr	x0, [x20, #24]
	bl	_strdup
	ldr	x8, [x19, #16]
	str	x0, [x8, #24]
LBB0_35:
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
LBB0_36:
	mov	w0, #1
	str	w0, [x19, #12]
	b	LBB0_10
LBB0_37:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot push NULL or empty core path into the playlist.\n"

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

.subsections_via_symbols
