	.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
	subq	$2120, %rsp                     ## imm = 0x848
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movups	L___const.main.tracks(%rip), %xmm0
	movaps	%xmm0, -2160(%rbp)
	movl	%edi, -2124(%rbp)               ## 4-byte Spill
	cmpl	$2, %edi
	jl	LBB0_16
## %bb.1:
	leaq	L_.str(%rip), %rax
	movl	$1, %r15d
	movl	$0, -2100(%rbp)                 ## 4-byte Folded Spill
	xorl	%ebx, %ebx
	movq	%rax, -2136(%rbp)               ## 8-byte Spill
	movq	%rax, -2120(%rbp)               ## 8-byte Spill
	movq	%rax, -2144(%rbp)               ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -2112(%rbp)               ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%r13), %r15d
	movq	8(%r12,%r13,8), %rax
	movq	%rax, -2112(%rbp)               ## 8-byte Spill
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
	cmpl	-2124(%rbp), %r15d              ## 4-byte Folded Reload
	jge	LBB0_22
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r15d, %r13
	movq	(%r12,%r13,8), %r14
	movq	%r14, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$45, (%r14)
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-2112(%rbp), %r8                ## 8-byte Reload
	testq	%r8, %r8
	movl	$0, %eax
	movl	-2100(%rbp), %ecx               ## 4-byte Reload
	cmovel	%eax, %ecx
	leaq	-2160(%rbp), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movl	%ecx, -2100(%rbp)               ## 4-byte Spill
	movq	-2120(%rbp), %r9                ## 8-byte Reload
	callq	_handle_file
	testq	%rax, %rax
	je	LBB0_21
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%r13), %r15d
	movq	8(%r12,%r13,8), %rax
	movq	%rax, -2144(%rbp)               ## 8-byte Spill
	jmp	LBB0_21
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%r13), %r15d
	movq	8(%r12,%r13,8), %rax
	movq	%rax, -2136(%rbp)               ## 8-byte Spill
	jmp	LBB0_21
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %r14d
	leal	1(%r13), %r15d
	movq	8(%r12,%r13,8), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	cmpb	$47, -1(%rax,%rbx)
	jne	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, -2120(%rbp)               ## 8-byte Spill
	jmp	LBB0_20
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %ebx
	jmp	LBB0_21
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-2096(%rbp), %r13
	movq	%r13, %rdi
	movl	$2048, %esi                     ## imm = 0x800
	leaq	L_.str.5(%rip), %rdx
	movq	%rbx, %rcx
	callq	_snprintf
	movq	%r13, -2120(%rbp)               ## 8-byte Spill
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %ebx
	jmp	LBB0_21
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -2100(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_21
LBB0_22:
	cmpl	$0, -2152(%rbp)
	je	LBB0_16
## %bb.23:
	cmpq	$0, -2112(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_25
## %bb.24:
	testl	%ebx, %ebx
	jne	LBB0_25
LBB0_16:
	movq	(%r12), %rdi
	movl	$1, %esi
	callq	_usage
LBB0_28:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_30
## %bb.29:
	addq	$2120, %rsp                     ## imm = 0x848
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	testl	%ebx, %ebx
	movl	%ebx, %r15d
	movq	-2120(%rbp), %rbx               ## 8-byte Reload
	jne	LBB0_27
## %bb.26:
	leaq	-2160(%rbp), %rdi
	movq	-2112(%rbp), %rsi               ## 8-byte Reload
	movq	%rbx, %rdx
	movq	-2144(%rbp), %rcx               ## 8-byte Reload
	movq	-2136(%rbp), %r8                ## 8-byte Reload
	callq	_output_server_manifest
LBB0_27:
	leaq	-2160(%rbp), %r14
	movq	%r14, %rdi
	movq	-2112(%rbp), %rsi               ## 8-byte Reload
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	callq	_output_client_manifest
	movq	%r14, %rdi
	callq	_clean_tracks
	xorl	%eax, %eax
	jmp	LBB0_28
LBB0_18:
	movl	$1, %eax
	jmp	LBB0_28
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @__const.main.tracks
L___const.main.tracks:
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"-n"

L_.str.2:                               ## @.str.2
	.asciz	"-path-prefix"

L_.str.3:                               ## @.str.3
	.asciz	"-ismc-prefix"

L_.str.4:                               ## @.str.4
	.asciz	"-output"

L_.str.5:                               ## @.str.5
	.asciz	"%s/"

L_.str.6:                               ## @.str.6
	.asciz	"-split"

L_.str.7:                               ## @.str.7
	.asciz	"-ismf"

.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:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #2112
	mov	x21, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, l___const.main.tracks@PAGE
Lloh4:
	add	x8, x8, l___const.main.tracks@PAGEOFF
Lloh5:
	ldr	q0, [x8]
	str	q0, [sp, #32]
	cmp	w0, #2
	b.lt	LBB0_24
; %bb.1:
	mov	x23, x0
	mov	w24, #0
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
	mov	x20, #0
Lloh6:
	adrp	x22, l_.str@PAGE
Lloh7:
	add	x22, x22, l_.str@PAGEOFF
	mov	w19, #1
Lloh8:
	adrp	x27, l_.str.1@PAGE
Lloh9:
	add	x27, x27, l_.str.1@PAGEOFF
Lloh10:
	adrp	x28, l_.str.2@PAGE
Lloh11:
	add	x28, x28, l_.str.2@PAGEOFF
	stp	x22, x22, [sp, #16]             ; 16-byte Folded Spill
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x19, x26, #1
	ldr	x20, [x21, x19, lsl #3]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w19, w19, #1
	cmp	w19, w23
	b.ge	LBB0_19
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x26, w19
	ldr	x25, [x21, w19, sxtw #3]
	mov	x0, x25
	mov	x1, x27
	bl	_strcmp
	cbz	w0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	mov	x1, x28
	bl	_strcmp
	cbz	w0, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
Lloh16:
	adrp	x1, l_.str.6@PAGE
Lloh17:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
Lloh18:
	adrp	x1, l_.str.7@PAGE
Lloh19:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_18
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x25]
	cmp	w8, #45
	b.eq	LBB0_24
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	x20, #0
	csel	w24, wzr, w24, eq
	add	x0, sp, #32
	mov	x1, x25
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	mov	x3, x24
	mov	x4, x20
	mov	x5, x22
	bl	_handle_file
	cbz	x0, LBB0_4
	b	LBB0_27
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x19, x26, #1
	ldr	x8, [x21, x19, lsl #3]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x19, x26, #1
	ldr	x8, [x21, x19, lsl #3]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x19, x26, #1
	ldr	x22, [x21, x19, lsl #3]
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	mov	x0, x22
	bl	_strlen
	add	x8, x22, w0, sxtw
	ldurb	w8, [x8, #-1]
	cmp	w8, #47
	b.eq	LBB0_4
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #48
	mov	w1, #2048
Lloh20:
	adrp	x2, l_.str.5@PAGE
Lloh21:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x3, x22
	bl	_snprintf
	add	x22, sp, #48
	b	LBB0_4
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #1
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	b	LBB0_4
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w24, #1
	b	LBB0_4
LBB0_19:
	ldr	w8, [sp, #40]
	ldr	w19, [sp, #12]                  ; 4-byte Folded Reload
	cbz	w8, LBB0_24
; %bb.20:
	cmp	x20, #0
	ccmp	w19, #0, #0, eq
	b.eq	LBB0_24
; %bb.21:
	cbnz	w19, LBB0_23
; %bb.22:
	add	x0, sp, #32
	mov	x1, x20
	mov	x2, x22
	ldp	x4, x3, [sp, #16]               ; 16-byte Folded Reload
	bl	_output_server_manifest
LBB0_23:
	add	x0, sp, #32
	mov	x1, x20
	mov	x2, x22
	mov	x3, x19
	bl	_output_client_manifest
	add	x0, sp, #32
	bl	_clean_tracks
	mov	w0, #0
	b	LBB0_25
LBB0_24:
	ldr	x0, [x21]
	mov	w1, #1
	bl	_usage
LBB0_25:
	ldur	x8, [x29, #-96]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.26:
	add	sp, sp, #2112
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_27:
	mov	w0, #1
	b	LBB0_25
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @__const.main.tracks
l___const.main.tracks:
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"-n"

l_.str.2:                               ; @.str.2
	.asciz	"-path-prefix"

l_.str.3:                               ; @.str.3
	.asciz	"-ismc-prefix"

l_.str.4:                               ; @.str.4
	.asciz	"-output"

l_.str.5:                               ; @.str.5
	.asciz	"%s/"

l_.str.6:                               ; @.str.6
	.asciz	"-split"

l_.str.7:                               ; @.str.7
	.asciz	"-ismf"

.subsections_via_symbols
