	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function makeargv
_makeargv:                              ## @makeargv
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_margv@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_margc@GOTPCREL(%rip), %r15
	movl	$0, (%r15)
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movb	$0, (%rax)
	movl	(%r15), %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	_MAX_MARGV@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	decl	%ecx
	cmpl	%ecx, %eax
	jge	LBB0_15
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movsbl	%al, %edi
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=2
	movsbl	1(%rbx), %edi
	incq	%rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, (%r14)
	incl	(%r15)
	addq	$8, %r14
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_11
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$0, -1(%rbx)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movb	$0, -1(%rbx)
	movl	(%r12), %eax
	decl	%eax
	cmpl	%eax, (%r15)
	jl	LBB0_4
LBB0_15:
	movq	$0, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_margv,8,3                      ## @margv
	.comm	_margc,4,2                      ## @margc
	.comm	_MAX_MARGV,4,2                  ## @MAX_MARGV
	.no_dead_strip	_makeargv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function makeargv
_makeargv:                              ; @makeargv
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _margv@GOTPAGE
Lloh1:
	ldr	x8, [x8, _margv@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x21, _margc@GOTPAGE
Lloh4:
	ldr	x21, [x21, _margc@GOTPAGEOFF]
	str	wzr, [x21]
	mov	w1, #10
	bl	_strchr
	cbz	x0, LBB0_2
; %bb.1:
	strb	wzr, [x0]
	ldr	w8, [x21]
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
Lloh5:
	adrp	x22, _MAX_MARGV@GOTPAGE
Lloh6:
	ldr	x22, [x22, _MAX_MARGV@GOTPAGEOFF]
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	ldr	w9, [x22]
	sub	w9, w9, #1
	cmp	w8, w9
	b.ge	LBB0_15
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x19]
	cbz	w8, LBB0_15
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtb	w0, w8
	bl	_isspace
	cbz	x0, LBB0_8
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x19, #1]!
	bl	_isspace
	cbnz	x0, LBB0_7
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x19]
	cbz	w8, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x19, [x20], #8
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	ldrb	w8, [x19]
	cbz	w8, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #1
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w0, w8
	bl	_isspace
	cbnz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldrb	w8, [x19], #1
	cbnz	w8, LBB0_11
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldurb	w8, [x19, #-1]
	cbz	w8, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	sturb	wzr, [x19, #-1]
	ldr	w8, [x21]
	b	LBB0_4
LBB0_15:
	str	xzr, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_margv,8,3                      ; @margv
	.comm	_margc,4,2                      ; @margc
	.comm	_MAX_MARGV,4,2                  ; @MAX_MARGV
	.no_dead_strip	_makeargv
.subsections_via_symbols
