	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_cmd_line
_parse_cmd_line:                        ## @parse_cmd_line
	.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	$24, %rsp
	.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
	movq	(%rsi), %r14
	decq	%rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	cmpb	$0, (%rbx)
	je	LBB0_16
## %bb.3:
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_strtok_r
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:
	movq	%rax, %r12
	movq	_console_cmds@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.5:
	movq	_loop_command@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_6
## %bb.9:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_15
## %bb.10:
	movq	$0, (%rbx)
	jmp	LBB0_16
LBB0_13:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_14
LBB0_6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	16(%rax), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movq	(%r13), %rsi
	addq	$16, %r13
	testq	%rsi, %rsi
	jne	LBB0_7
LBB0_12:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_help_command
	jmp	LBB0_14
LBB0_8:
	movl	%ebx, %ecx
	shlq	$4, %rcx
	leaq	-56(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	callq	*8(%rax,%rcx)
LBB0_14:
	movq	_loop_command@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
LBB0_15:
	leaq	L_.str.4(%rip), %rdi
	movl	$26, %esi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_fwrite
	movq	%r14, %rdi
	callq	_fflush
LBB0_16:
	addq	$24, %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	" \t\n\r"

	.comm	_console_cmds,8,3               ## @console_cmds
	.comm	_loop_command,8,3               ## @loop_command
L_.str.1:                               ## @.str.1
	.asciz	"q"

L_.str.2:                               ## @.str.2
	.asciz	"%s : Command not found\n\n"

L_.str.3:                               ## @.str.3
	.asciz	"Error parsing command line: `%s'\n"

L_.str.4:                               ## @.str.4
	.asciz	"use \"q<ret>\" to quit loop\n"

	.no_dead_strip	_parse_cmd_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_cmd_line
_parse_cmd_line:                        ; @parse_cmd_line
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x1
	ldr	x19, [x1]
	sub	x22, x0, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x22, #1]!
	bl	_isspace
	cbnz	x0, LBB0_1
; %bb.2:
	ldrb	w8, [x22]
	cbz	w8, LBB0_14
; %bb.3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x0, x22
	bl	_strtok_r
Lloh2:
	adrp	x23, _loop_command@GOTPAGE
Lloh3:
	ldr	x23, [x23, _loop_command@GOTPAGEOFF]
	cbz	x0, LBB0_8
; %bb.4:
	mov	x21, x0
Lloh4:
	adrp	x8, _console_cmds@GOTPAGE
Lloh5:
	ldr	x8, [x8, _console_cmds@GOTPAGEOFF]
Lloh6:
	ldr	x22, [x8]
	ldr	x1, [x22]
	cbz	x1, LBB0_12
; %bb.5:
	ldr	x8, [x23]
	cbz	x8, LBB0_9
; %bb.6:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbnz	w0, LBB0_13
; %bb.7:
	str	xzr, [x23]
	b	LBB0_14
LBB0_8:
	str	x22, [sp]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	ldr	x8, [x23]
	cbnz	x8, LBB0_13
	b	LBB0_14
LBB0_9:
	mov	x24, #0
	add	x25, x22, #16
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x24, x24, #1
	ldr	x1, [x25], #16
	cbnz	x1, LBB0_10
LBB0_12:
	str	x21, [sp]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	mov	x0, x19
	mov	w1, #0
	bl	_help_command
	ldr	x8, [x23]
	cbz	x8, LBB0_14
LBB0_13:
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w1, #26
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	mov	x0, x19
	bl	_fflush
LBB0_14:
	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
	add	sp, sp, #96
	ret
LBB0_15:
	add	x8, x22, w24, uxtw #4
	ldr	x8, [x8, #8]
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x19
	blr	x8
	ldr	x8, [x23]
	cbnz	x8, LBB0_13
	b	LBB0_14
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" \t\n\r"

	.comm	_console_cmds,8,3               ; @console_cmds
	.comm	_loop_command,8,3               ; @loop_command
l_.str.1:                               ; @.str.1
	.asciz	"q"

l_.str.2:                               ; @.str.2
	.asciz	"%s : Command not found\n\n"

l_.str.3:                               ; @.str.3
	.asciz	"Error parsing command line: `%s'\n"

l_.str.4:                               ; @.str.4
	.asciz	"use \"q<ret>\" to quit loop\n"

	.no_dead_strip	_parse_cmd_line
.subsections_via_symbols
