	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_split_cmdline                  ## -- Begin function split_cmdline
	.p2align	4, 0x90
_split_cmdline:                         ## @split_cmdline
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	(%rsi), %rdi
	movl	$16, %esi
	callq	_ALLOC_ARRAY
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movq	%r13, (%rax)
	movb	(%r13), %bl
	testb	%bl, %bl
	je	LBB0_23
## %bb.1:
	leaq	1(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	$1, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	xorl	%r15d, %r15d
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r14d, %rax
	movb	(%r13,%rax), %bl
	testb	%bl, %bl
	je	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testb	%r15b, %r15b
	je	LBB0_3
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpb	%r15b, %bl
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$92, %bl
	jne	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$39, %r15b
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r14d, %r14
	movb	1(%r13,%r14), %bl
	testb	%bl, %bl
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	%edi, %rax
	incl	%edi
	movb	%bl, (%r13,%rax)
	incl	%r14d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, %r12d
	movsbl	%bl, %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r12d, %rax
	incl	%r12d
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movb	$0, (%r13,%rax)
	movslq	%r14d, %rbx
	leal	1(%rbx), %ecx
	addq	-72(%rbp), %rbx                 ## 8-byte Folded Reload
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ecx, %r14d
	movzbl	(%rbx), %eax
	testb	%al, %al
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movsbl	%al, %edi
	callq	_isspace
	leal	1(%r14), %ecx
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_5
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	leal	1(%rbx), %r12d
	movl	%r12d, %esi
	movl	$16, %edx
	callq	_ALLOC_GROW
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movslq	%edi, %rax
	addq	%r13, %rax
	movq	(%r15), %rcx
	movslq	%ebx, %rdx
	movq	%rax, (%rcx,%rdx,8)
	xorl	%r15d, %r15d
	movl	%r12d, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$39, %bl
	movl	%r12d, %edi
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$34, %bl
	jne	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	movl	%ebx, %r15d
	jmp	LBB0_8
LBB0_9:
	movslq	%edi, %rax
	movb	$0, (%r13,%rax)
	testb	%r15b, %r15b
	je	LBB0_24
## %bb.10:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_FREE_AND_NULL
	movq	_SPLIT_CMDLINE_UNCLOSED_QUOTE@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_23:
	movb	$0, (%r13)
	movl	$1, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_24:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	leal	1(%rbx), %esi
	movl	$16, %edx
	callq	_ALLOC_GROW
	movq	(%r14), %rax
	movslq	%ebx, %rcx
	movq	$0, (%rax,%rcx,8)
	jmp	LBB0_25
LBB0_21:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_FREE_AND_NULL
	movq	_SPLIT_CMDLINE_BAD_ENDING@GOTPCREL(%rip), %rax
LBB0_22:
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
LBB0_25:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPLIT_CMDLINE_BAD_ENDING,4,2   ## @SPLIT_CMDLINE_BAD_ENDING
	.comm	_SPLIT_CMDLINE_UNCLOSED_QUOTE,4,2 ## @SPLIT_CMDLINE_UNCLOSED_QUOTE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_split_cmdline                  ; -- Begin function split_cmdline
	.p2align	2
_split_cmdline:                         ; @split_cmdline
	.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, x1
	mov	x21, x0
	ldr	x0, [x1]
	mov	w1, #16
	bl	_ALLOC_ARRAY
	ldr	x8, [x19]
	str	x21, [x8]
	ldrb	w22, [x21]
	cbz	w22, LBB0_21
; %bb.1:
	mov	w26, #0
	mov	w24, #0
	mov	w25, #0
	add	x23, x21, #1
	mov	w20, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
	add	w25, w25, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w22, [x21, w25, sxtw]
	cbz	w22, LBB0_19
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	tst	w26, #0xff
	b.eq	LBB0_11
LBB0_5:                                 ;   in Loop: Header=BB0_4 Depth=1
	and	w8, w22, #0xff
	cmp	w8, w26, uxtb
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #92
	b.ne	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w8, w26, #0xff
	cmp	w8, #39
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x8, w25
	add	x25, x8, #1
	ldrb	w22, [x21, x25]
	cbz	w22, LBB0_23
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	w22, [x21, w24, sxtw]
	add	w8, w24, #1
	add	w25, w25, #1
	mov	x24, x8
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtb	w0, w22
	bl	_isspace
	cbz	x0, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	sxtw	x8, w24
	add	x24, x8, #1
	strb	wzr, [x21, x8]
	add	w8, w25, #1
	add	x22, x23, w25, sxtw
LBB0_13:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x25, x8
	ldrb	w8, [x22]
	cbz	w8, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	sxtb	w0, w8
	bl	_isspace
	add	w8, w25, #1
	add	x22, x22, #1
	cbnz	x0, LBB0_13
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19]
	add	w22, w20, #1
	mov	x1, x22
	mov	w2, #16
	bl	_ALLOC_GROW
	mov	w26, #0
	add	x8, x21, x24
	ldr	x9, [x19]
	str	x8, [x9, w20, sxtw #3]
	mov	x20, x22
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w8, w22, #0xff
	cmp	w8, #39
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #34
	b.ne	LBB0_5
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w25, w25, #1
	mov	x26, x22
	b	LBB0_3
LBB0_19:
	strb	wzr, [x21, w24, sxtw]
	tst	w26, #0xff
	b.eq	LBB0_22
; %bb.20:
	ldr	x0, [x19]
	bl	_FREE_AND_NULL
Lloh0:
	adrp	x8, _SPLIT_CMDLINE_UNCLOSED_QUOTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPLIT_CMDLINE_UNCLOSED_QUOTE@GOTPAGEOFF]
	b	LBB0_24
LBB0_21:
	strb	wzr, [x21]
	mov	w20, #1
LBB0_22:
	ldr	x0, [x19]
	add	w1, w20, #1
	mov	w2, #16
	bl	_ALLOC_GROW
	ldr	x8, [x19]
	str	xzr, [x8, w20, sxtw #3]
	b	LBB0_25
LBB0_23:
	ldr	x0, [x19]
	bl	_FREE_AND_NULL
Lloh2:
	adrp	x8, _SPLIT_CMDLINE_BAD_ENDING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SPLIT_CMDLINE_BAD_ENDING@GOTPAGEOFF]
LBB0_24:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_25:
	mov	x0, x20
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_SPLIT_CMDLINE_BAD_ENDING,4,2   ; @SPLIT_CMDLINE_BAD_ENDING
	.comm	_SPLIT_CMDLINE_UNCLOSED_QUOTE,4,2 ; @SPLIT_CMDLINE_UNCLOSED_QUOTE
.subsections_via_symbols
