	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_buildargv                      ## -- Begin function buildargv
	.p2align	4, 0x90
_buildargv:                             ## @buildargv
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_41
## %bb.1:
	movq	%rdi, %rbx
	callq	_strlen
	leaq	1(%rax), %rdi
	callq	_alloca
	movq	%rax, %r13
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_38 Depth 2
	decq	%rbx
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_ISBLANK
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%edx, %eax
	addl	$-1, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	jae	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cltq
	cmpq	%rax, %rcx
	jge	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %r14
	movl	%edx, %esi
	shll	$4, %esi
	movq	%r15, %rdi
	movq	%rdx, %r13
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_40
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	addl	%r13d, %r13d
	movq	%rax, %rcx
	movq	%r13, %rdx
	movq	%r14, %r13
	jmp	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_INITIAL_MAXARGC@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leal	(,%r15,8), %edi
	callq	_malloc
	movq	%r15, %rdx
	movq	%rax, %rcx
	testq	%rax, %rax
	je	LBB0_41
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rcx,%rax,8)
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	movl	-52(%rbp), %r14d                ## 4-byte Reload
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movb	(%rbx), %al
	movq	_EOS@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	jne	LBB0_13
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_13 Depth=2
	movb	%al, (%r13)
	incq	%r13
LBB0_34:                                ##   in Loop: Header=BB0_13 Depth=2
	xorl	%r12d, %r12d
LBB0_35:                                ##   in Loop: Header=BB0_13 Depth=2
	movzbl	1(%rbx), %eax
	incq	%rbx
	movq	_EOS@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	je	LBB0_36
LBB0_13:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%al, %edi
	callq	_ISSPACE
	testq	%rax, %rax
	je	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	testl	%r14d, %r14d
	jne	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	testl	%r15d, %r15d
	jne	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=2
	testl	%r12d, %r12d
	je	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=2
	movzbl	(%rbx), %eax
	testl	%r12d, %r12d
	jne	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_13 Depth=2
	movl	$1, %r12d
	cmpb	$92, %al
	je	LBB0_35
## %bb.21:                              ##   in Loop: Header=BB0_13 Depth=2
	testl	%r14d, %r14d
	jne	LBB0_22
## %bb.25:                              ##   in Loop: Header=BB0_13 Depth=2
	testl	%r15d, %r15d
	jne	LBB0_26
## %bb.28:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpb	$39, %al
	je	LBB0_29
## %bb.30:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpb	$34, %al
	jne	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_13 Depth=2
	movl	$1, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_34
LBB0_22:                                ##   in Loop: Header=BB0_13 Depth=2
	xorl	%r12d, %r12d
	cmpb	$39, %al
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_13 Depth=2
	xorl	%r14d, %r14d
	jmp	LBB0_35
LBB0_26:                                ##   in Loop: Header=BB0_13 Depth=2
	xorl	%r14d, %r14d
	cmpb	$34, %al
	je	LBB0_33
## %bb.27:                              ##   in Loop: Header=BB0_13 Depth=2
	movb	%al, (%r13)
	incq	%r13
	movl	$1, %r15d
	jmp	LBB0_34
LBB0_24:                                ##   in Loop: Header=BB0_13 Depth=2
	movb	%al, (%r13)
	incq	%r13
	movl	$1, %r14d
	jmp	LBB0_35
LBB0_29:                                ##   in Loop: Header=BB0_13 Depth=2
	xorl	%r15d, %r15d
	movl	$1, %r14d
	jmp	LBB0_34
LBB0_32:                                ##   in Loop: Header=BB0_13 Depth=2
	movb	%al, (%r13)
	incq	%r13
	xorl	%r14d, %r14d
LBB0_33:                                ##   in Loop: Header=BB0_13 Depth=2
	xorl	%r15d, %r15d
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_EOS@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
LBB0_36:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movl	%r15d, %r14d
	movb	%al, (%r13)
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_strdup
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%rax, (%r15,%rcx,8)
	testq	%rax, %rax
	je	LBB0_40
## %bb.37:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 8(%r15,%rcx,8)
	incq	%rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	decq	%rbx
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_ISSPACE
	testq	%rax, %rax
	jne	LBB0_38
## %bb.39:                              ##   in Loop: Header=BB0_2 Depth=1
	movb	(%rbx), %al
	movq	_EOS@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	movl	%r14d, %r15d
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	jne	LBB0_2
	jmp	LBB0_42
LBB0_40:
	movq	%r15, %rdi
	callq	_freeargv
LBB0_41:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_42:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INITIAL_MAXARGC,4,2            ## @INITIAL_MAXARGC
	.comm	_EOS,1,0                        ## @EOS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_buildargv                      ; -- Begin function buildargv
	.p2align	2
_buildargv:                             ; @buildargv
	.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
	cbz	x0, LBB0_41
; %bb.1:
	mov	x21, x0
	bl	_strlen
	add	x0, x0, #1
	bl	_alloca
	mov	x25, x0
	mov	x22, #0
	mov	w27, #0
	mov	w26, #0
	mov	w28, #0
	mov	w23, #0
	mov	x20, #0
Lloh0:
	adrp	x24, _EOS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _EOS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_38 Depth 2
	sub	x21, x21, #1
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x21, #1]!
	bl	_ISBLANK
	cbnz	x0, LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	subs	w8, w23, #1
	b.lo	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	sxtw	x8, w8
	cmp	x22, x8
	b.lt	LBB0_11
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	x20, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	lsl	w1, w23, #4
	mov	x0, x20
	bl	_realloc
	cbz	x0, LBB0_40
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	lsl	w23, w23, #1
	mov	x20, x0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh2:
	adrp	x8, _INITIAL_MAXARGC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INITIAL_MAXARGC@GOTPAGEOFF]
Lloh4:
	ldr	w23, [x8]
	lsl	w0, w23, #3
	bl	_malloc
	mov	x20, x0
	cbz	x0, LBB0_42
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	str	xzr, [x20, x22, lsl #3]
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x21]
	ldrb	w9, [x24]
	mov	x19, x25
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_15 Depth=2
	mov	w27, #0
	mov	w26, #0
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=2
	mov	w28, #0
	strb	w8, [x19], #1
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	ldrb	w8, [x21, #1]!
	ldrb	w9, [x24]
LBB0_15:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w8, w9
	b.eq	LBB0_36
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	sxtb	w0, w8
	bl	_ISSPACE
	cbz	x0, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=2
	cbnz	w27, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=2
	cbnz	w26, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=2
	cbz	w28, LBB0_35
LBB0_20:                                ;   in Loop: Header=BB0_15 Depth=2
	ldrb	w8, [x21]
	cbnz	w28, LBB0_13
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=2
	cmp	w8, #92
	b.ne	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	w28, #1
	b	LBB0_14
LBB0_23:                                ;   in Loop: Header=BB0_15 Depth=2
	cbnz	w27, LBB0_28
; %bb.24:                               ;   in Loop: Header=BB0_15 Depth=2
	cbnz	w26, LBB0_30
; %bb.25:                               ;   in Loop: Header=BB0_15 Depth=2
	cmp	w8, #39
	b.eq	LBB0_33
; %bb.26:                               ;   in Loop: Header=BB0_15 Depth=2
	cmp	w8, #34
	b.ne	LBB0_12
; %bb.27:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	w27, #0
	mov	w28, #0
	mov	w26, #1
	b	LBB0_14
LBB0_28:                                ;   in Loop: Header=BB0_15 Depth=2
	cmp	w8, #39
	b.ne	LBB0_32
; %bb.29:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	w27, #0
	mov	w28, #0
	b	LBB0_14
LBB0_30:                                ;   in Loop: Header=BB0_15 Depth=2
	cmp	w8, #34
	b.ne	LBB0_34
; %bb.31:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	w27, #0
	mov	w26, #0
	mov	w28, #0
	b	LBB0_14
LBB0_32:                                ;   in Loop: Header=BB0_15 Depth=2
	mov	w28, #0
	strb	w8, [x19], #1
	mov	w27, #1
	b	LBB0_14
LBB0_33:                                ;   in Loop: Header=BB0_15 Depth=2
	mov	w26, #0
	mov	w28, #0
	mov	w27, #1
	b	LBB0_14
LBB0_34:                                ;   in Loop: Header=BB0_15 Depth=2
	mov	w27, #0
	mov	w28, #0
	strb	w8, [x19], #1
	mov	w26, #1
	b	LBB0_14
LBB0_35:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w27, #0
	mov	w26, #0
	ldrb	w8, [x24]
LBB0_36:                                ;   in Loop: Header=BB0_2 Depth=1
	strb	w8, [x19]
	mov	x0, x25
	bl	_strdup
	str	x0, [x20, x22, lsl #3]
	cbz	x0, LBB0_40
; %bb.37:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	str	xzr, [x20, x22, lsl #3]
	sub	x21, x21, #1
LBB0_38:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x21, #1]!
	bl	_ISSPACE
	cbnz	x0, LBB0_38
; %bb.39:                               ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x21]
	ldrb	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_2
	b	LBB0_42
LBB0_40:
	mov	x0, x20
	bl	_freeargv
LBB0_41:
	mov	x20, #0
LBB0_42:
	mov	x0, x20
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_INITIAL_MAXARGC,4,2            ; @INITIAL_MAXARGC
	.comm	_EOS,1,0                        ; @EOS
.subsections_via_symbols
