	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse
_parse:                                 ## @parse
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leal	-1(%rdi), %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx), %edi
	callq	_isspace
	incq	%rbx
	incl	%r13d
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	leaq	-1(%rbx), %r14
	movsbl	-1(%rbx), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_3
LBB0_5:
	movq	_CMD_PLAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_6:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movb	(%r14), %al
	cmpb	$35, %al
	jne	LBB0_8
## %bb.4:
	movsbl	(%rbx), %edi
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_5
## %bb.7:
	movb	(%r14), %al
LBB0_8:
	cmpb	$45, %al
	je	LBB0_18
## %bb.9:
	cmpb	$43, %al
	je	LBB0_16
## %bb.10:
	movq	%r14, %r12
	testb	%al, %al
	je	LBB0_14
## %bb.11:
	movq	%r14, %r12
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movzbl	1(%r12), %eax
	incq	%r12
	testb	%al, %al
	jne	LBB0_12
LBB0_14:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	%r12d, %r15d
	subl	%r13d, %r15d
	jne	LBB0_19
## %bb.15:
	xorl	%r14d, %r14d
	jmp	LBB0_6
LBB0_18:
	movq	_CMD_PREVIOUS@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_16:
	movq	_CMD_NEXT@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%rbx, %r14
	jmp	LBB0_6
LBB0_19:
	cmpb	$0, (%r12)
	je	LBB0_25
## %bb.20:
	movb	$0, (%r12)
	incq	%r12
	movl	$9217, %ecx                     ## imm = 0x2401
	movq	%r12, %rax
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_21 Depth=1
	incq	%rax
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %edx
	cmpq	$13, %rdx
	ja	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	btq	%rdx, %rcx
	jae	LBB0_23
## %bb.24:
	movb	$0, (%rax)
LBB0_25:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$-1, (%rax)
	movq	_cmdtab@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	jne	LBB0_26
	jmp	LBB0_41
LBB0_31:                                ##   in Loop: Header=BB0_26 Depth=1
	movl	%ecx, %eax
LBB0_32:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	24(%rbx), %rsi
	addq	$16, %rbx
	testq	%rsi, %rsi
	je	LBB0_34
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=1
	cmpl	%r15d, 4(%rbx)
	ja	LBB0_33
## %bb.29:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	jne	LBB0_33
## %bb.30:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	(%rbx), %ecx
	cmpl	$-1, %eax
	je	LBB0_31
## %bb.38:                              ##   in Loop: Header=BB0_26 Depth=1
	cmpl	%ecx, %eax
	je	LBB0_32
## %bb.39:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_40
LBB0_27:
	movl	(%rbx), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	jmp	LBB0_35
LBB0_34:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
LBB0_35:
	cmpl	$-1, %eax
	je	LBB0_41
## %bb.36:
	decq	%r12
	movq	%r12, %r14
	.p2align	4, 0x90
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movsbl	1(%r14), %edi
	incq	%r14
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_37
	jmp	LBB0_6
LBB0_41:
	leaq	L_.str.1(%rip), %rdi
LBB0_40:
	callq	_warnx
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_PLAY,4,2                   ## @CMD_PLAY
	.comm	_CMD_NEXT,4,2                   ## @CMD_NEXT
	.comm	_CMD_PREVIOUS,4,2               ## @CMD_PREVIOUS
	.comm	_cmdtab,8,3                     ## @cmdtab
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ambiguous command"

L_.str.1:                               ## @.str.1
	.asciz	"invalid command, enter ``help'' for commands"

	.no_dead_strip	_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse
_parse:                                 ; @parse
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x21, x0
	sub	w23, w21, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x21], #1
	bl	_isspace
	add	w23, w23, #1
	cbnz	x0, LBB0_1
; %bb.2:
	mov	x20, x21
	ldrsb	w0, [x20, #-1]!
	bl	_isdigit
	cbz	x0, LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _CMD_PLAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_PLAY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldrb	w8, [x20]
	cmp	w8, #35
	b.ne	LBB0_8
; %bb.6:
	ldrsb	w0, [x21]
	bl	_isdigit
	cbnz	x0, LBB0_3
; %bb.7:
	ldrb	w8, [x20]
LBB0_8:
	cmp	w8, #45
	b.eq	LBB0_16
; %bb.9:
	cmp	w8, #43
	b.eq	LBB0_17
; %bb.10:
	mov	x22, x20
	cbz	w8, LBB0_14
; %bb.11:
	mov	x22, x20
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_isspace
	cbnz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldrb	w8, [x22, #1]!
	cbnz	w8, LBB0_12
LBB0_14:
	subs	w21, w22, w23
	b.ne	LBB0_19
; %bb.15:
	mov	x20, #0
	b	LBB0_4
LBB0_16:
Lloh3:
	adrp	x8, _CMD_PREVIOUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMD_PREVIOUS@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh5:
	adrp	x8, _CMD_NEXT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CMD_NEXT@GOTPAGEOFF]
LBB0_18:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	x20, x21
	b	LBB0_4
LBB0_19:
	ldrb	w8, [x22]
	cbz	w8, LBB0_24
; %bb.20:
	strb	wzr, [x22], #1
	mov	w9, #1
	mov	w10, #9217
	mov	x8, x22
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x8]
	cmp	w11, #13
	lsl	w11, w9, w11
	and	w11, w11, w10
	ccmp	w11, #0, #4, ls
	b.ne	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x8, x8, #1
	b	LBB0_21
LBB0_23:
	strb	wzr, [x8]
LBB0_24:
	mov	w8, #-1
	str	w8, [x19]
Lloh7:
	adrp	x8, _cmdtab@GOTPAGE
Lloh8:
	ldr	x8, [x8, _cmdtab@GOTPAGEOFF]
Lloh9:
	ldr	x23, [x8]
	ldr	x1, [x23, #8]
	cbnz	x1, LBB0_28
	b	LBB0_39
LBB0_25:                                ;   in Loop: Header=BB0_28 Depth=1
	mov	x8, x9
LBB0_26:                                ;   in Loop: Header=BB0_28 Depth=1
	str	w8, [x19]
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	x1, [x23, #24]
	add	x23, x23, #16
	cbz	x1, LBB0_35
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_strcasecmp
	cbz	w0, LBB0_34
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	w8, [x23, #4]
	cmp	w8, w21
	b.hi	LBB0_27
; %bb.30:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x1, [x23, #8]
	mov	x0, x20
	mov	x2, x21
	bl	_strncasecmp
	cbnz	w0, LBB0_27
; %bb.31:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	w8, [x19]
	ldr	w9, [x23]
	cmn	w8, #1
	b.eq	LBB0_25
; %bb.32:                               ;   in Loop: Header=BB0_28 Depth=1
	cmp	w8, w9
	b.eq	LBB0_26
; %bb.33:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_40
LBB0_34:
	ldr	w8, [x23]
	str	w8, [x19]
	b	LBB0_36
LBB0_35:
	ldr	w8, [x19]
LBB0_36:
	cmn	w8, #1
	b.eq	LBB0_39
; %bb.37:
	sub	x20, x22, #1
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x20, #1]!
	bl	_isspace
	cbnz	x0, LBB0_38
	b	LBB0_4
LBB0_39:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_40:
	bl	_warnx
	mov	x20, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_PLAY,4,2                   ; @CMD_PLAY
	.comm	_CMD_NEXT,4,2                   ; @CMD_NEXT
	.comm	_CMD_PREVIOUS,4,2               ; @CMD_PREVIOUS
	.comm	_cmdtab,8,3                     ; @cmdtab
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ambiguous command"

l_.str.1:                               ; @.str.1
	.asciz	"invalid command, enter ``help'' for commands"

	.no_dead_strip	_parse
.subsections_via_symbols
