	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$5, %edi
	jg	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rsi), %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %eax
	jmp	LBB0_6
LBB0_2:
	movq	8(%rsi), %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rsi), %rbx
	movq	24(%rsi), %r14
	movq	32(%rsi), %r12
	movq	40(%rsi), %r13
	movq	_stderr@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_main_msg_queue_push@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_task_queue_init
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %ecx
	callq	_core_info_init_list
	movq	_main_db_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_task_push_dbscan
	movq	_loop_active@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_task_queue_check
	cmpq	$0, (%rbx)
	jne	LBB0_3
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	xorl	%eax, %eax
	callq	_core_info_deinit_list
	xorl	%eax, %eax
	callq	_task_queue_deinit
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dylib"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Usage: %s <database dir> <core dir> <core info dir> <input dir> <playlist dir>\n"

L_.str.2:                               ## @.str.2
	.asciz	"RDB database dir: %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"Core         dir: %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"Core info    dir: %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"Input        dir: %s\n"

L_.str.6:                               ## @.str.6
	.asciz	"Playlist     dir: %s\n"

	.comm	_main_msg_queue_push,4,2        ## @main_msg_queue_push
	.comm	_main_db_cb,4,2                 ## @main_db_cb
	.comm	_loop_active,8,3                ## @loop_active
L_.str.7:                               ## @.str.7
	.asciz	"Exit loop\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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
	cmp	w0, #5
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x1]
	str	x8, [sp]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	b	LBB0_5
LBB0_2:
	ldp	x19, x22, [x1, #8]
	ldp	x23, x20, [x1, #24]
	ldr	x21, [x1, #40]
Lloh5:
	adrp	x24, _stderr@GOTPAGE
Lloh6:
	ldr	x24, [x24, _stderr@GOTPAGEOFF]
	ldr	w0, [x24]
	str	x19, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	ldr	w0, [x24]
	str	x22, [sp]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	ldr	w0, [x24]
	str	x23, [sp]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
	ldr	w0, [x24]
	str	x20, [sp]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
	ldr	w0, [x24]
	str	x21, [sp]
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
Lloh17:
	adrp	x8, _main_msg_queue_push@GOTPAGE
Lloh18:
	ldr	x8, [x8, _main_msg_queue_push@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_task_queue_init
Lloh20:
	adrp	x2, l_.str@PAGE
Lloh21:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	mov	x1, x22
	mov	w3, #1
	bl	_core_info_init_list
Lloh22:
	adrp	x8, _main_db_cb@GOTPAGE
Lloh23:
	ldr	x8, [x8, _main_db_cb@GOTPAGEOFF]
Lloh24:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	mov	w3, #1
	mov	w4, #1
	bl	_task_push_dbscan
Lloh25:
	adrp	x19, _loop_active@GOTPAGE
Lloh26:
	ldr	x19, [x19, _loop_active@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_task_queue_check
	ldr	x8, [x19]
	cbnz	x8, LBB0_3
LBB0_4:
	ldr	w0, [x24]
Lloh27:
	adrp	x1, l_.str.7@PAGE
Lloh28:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
	bl	_core_info_deinit_list
	bl	_task_queue_deinit
	mov	w0, #0
LBB0_5:
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dylib"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Usage: %s <database dir> <core dir> <core info dir> <input dir> <playlist dir>\n"

l_.str.2:                               ; @.str.2
	.asciz	"RDB database dir: %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"Core         dir: %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"Core info    dir: %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"Input        dir: %s\n"

l_.str.6:                               ; @.str.6
	.asciz	"Playlist     dir: %s\n"

	.comm	_main_msg_queue_push,4,2        ; @main_msg_queue_push
	.comm	_main_db_cb,4,2                 ; @main_db_cb
	.comm	_loop_active,8,3                ; @loop_active
l_.str.7:                               ; @.str.7
	.asciz	"Exit loop\n"

.subsections_via_symbols
