	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmd2argv
_cmd2argv:                              ## @cmd2argv
	.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	%rdi, %r12
	callq	_strlen
	movl	%eax, %ebx
	movl	%eax, %r15d
	sarl	$31, %r15d
	andl	%eax, %r15d
	incq	%rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movsbl	-2(%r12,%rbx), %edi
	callq	_isspace
	decq	%rbx
	testq	%rax, %rax
	jne	LBB0_1
## %bb.4:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r12,%r14), %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%r14
	cmpq	%r14, %rbx
	jne	LBB0_5
	jmp	LBB0_22
LBB0_2:
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_7:
	movl	%ebx, %r15d
LBB0_8:
	xorl	%r13d, %r13d
	movl	%r15d, %eax
	subl	%r14d, %eax
	je	LBB0_22
## %bb.9:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r15d, %ecx
	xorl	%r15d, %r15d
	leal	1(%r14), %eax
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	cmpl	%ecx, %eax
	jge	LBB0_14
## %bb.10:
	movl	%eax, %ebx
	addq	%r12, %rbx
	xorl	%r15d, %r15d
	movl	%r14d, %r13d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	leal	1(%r13), %eax
	incq	%rbx
	addl	$2, %r13d
	cmpl	%r13d, -44(%rbp)                ## 4-byte Folded Reload
	movl	%eax, %r13d
	jle	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx), %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	%r13d, %eax
	movsbl	(%r12,%rax), %edi
	callq	_isspace
	cmpq	$1, %rax
	adcl	$0, %r15d
	jmp	LBB0_13
LBB0_14:
	addl	$2, %r15d
	movl	%r15d, %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, %r13
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	leal	1(%r15), %edi
	movl	$1, %esi
	callq	_calloc
	movq	%rax, %rbx
	movq	%rax, (%r13)
	movl	%r14d, %eax
	addq	%rax, %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_strncpy
	cmpl	$2, %r15d
	jl	LBB0_22
## %bb.15:
	movl	%r15d, %r15d
	incq	%rbx
	decq	%r15
	movl	$1, %r14d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_16 Depth=1
	movb	$0, (%rbx)
LBB0_21:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%rbx
	decq	%r15
	je	LBB0_22
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx), %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpb	$0, -1(%rbx)
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_16 Depth=1
	movslq	%r14d, %rax
	incl	%r14d
	movq	%rbx, (%r13,%rax,8)
	jmp	LBB0_21
LBB0_22:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cmd2argv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmd2argv
_cmd2argv:                              ; @cmd2argv
	.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
	mov	x19, x0
	bl	_strlen
	mov	w8, w0
	cmp	w0, #0
	csel	w21, w0, wzr, lt
	sub	x20, x19, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x22, x8, #1
	ldrsb	w0, [x20, x8]
	bl	_isspace
	mov	x8, x22
	cbnz	x0, LBB0_1
; %bb.3:
	mov	x23, #0
	add	x21, x22, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x19, x23]
	bl	_isspace
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	cmp	x21, x23
	b.ne	LBB0_4
	b	LBB0_8
LBB0_6:
	mov	w23, #0
LBB0_7:
	subs	w20, w21, w23
	b.ne	LBB0_9
LBB0_8:
	mov	x21, #0
	b	LBB0_23
LBB0_9:
	add	w8, w23, #1
	cmp	w8, w21
	b.ge	LBB0_14
; %bb.10:
	mov	w22, #0
	add	x24, x19, w8, uxtw
	mov	x25, x23
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	w8, w25, #2
	add	w25, w25, #1
	add	x24, x24, #1
	cmp	w21, w8
	b.le	LBB0_15
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x24]
	bl	_isspace
	cbz	x0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldrsb	w0, [x19, w25, uxtw]
	bl	_isspace
	cmp	x0, #0
	cinc	w22, w22, eq
	b	LBB0_11
LBB0_14:
	mov	w22, #0
LBB0_15:
	add	w0, w22, #2
	mov	w1, #8
	bl	_calloc
	mov	x21, x0
	add	w0, w20, #1
	mov	w1, #1
	bl	_calloc
	mov	x22, x0
	str	x0, [x21]
	add	x1, x19, w23, uxtw
	mov	x2, x20
	bl	_strncpy
	cmp	w20, #2
	b.lt	LBB0_23
; %bb.16:
	add	x19, x22, #1
	sub	x20, x20, #1
	mov	w22, #1
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
	strb	wzr, [x19]
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x19, x19, #1
	subs	x20, x20, #1
	b.eq	LBB0_23
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x19]
	bl	_isspace
	cbnz	x0, LBB0_17
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldrb	w8, [x19]
	cbz	w8, LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	ldurb	w8, [x19, #-1]
	cbnz	w8, LBB0_18
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	str	x19, [x21, w22, sxtw #3]
	add	w22, w22, #1
	b	LBB0_18
LBB0_23:
	mov	x0, x21
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cmd2argv
.subsections_via_symbols
