	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_argv_parse_cmd                 ## -- Begin function argv_parse_cmd
	.p2align	4, 0x90
_argv_parse_cmd:                        ## @argv_parse_cmd
	.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, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PARMS@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	incl	%eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	xorl	%eax, %eax
	callq	_gc_new
	movl	%eax, -56(%rbp)
	movq	%r14, %rdi
	callq	_argv_reset
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_argv_extend
	movl	(%r12), %edx
	movq	_D_ARGV_PARSE_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	subq	$8, %rsp
	leaq	-56(%rbp), %rax
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	movq	%r13, %rsi
	xorl	%r8d, %r8d
	pushq	%rax
	callq	_parse_line
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	jle	LBB0_5
## %bb.2:
	movl	%eax, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx,8), %rdi
	xorl	%esi, %esi
	callq	_string_alloc
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_argv_append
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_3
	jmp	LBB0_5
LBB0_4:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_string_alloc
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_argv_append
LBB0_5:
	leaq	-56(%rbp), %rdi
	callq	_gc_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PARMS,4,2                  ## @MAX_PARMS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SCRIPT-ARGV"

	.comm	_D_ARGV_PARSE_CMD,4,2           ## @D_ARGV_PARSE_CMD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_argv_parse_cmd                 ; -- Begin function argv_parse_cmd
	.p2align	2
_argv_parse_cmd:                        ; @argv_parse_cmd
	.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
	sub	sp, sp, #16
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x22, _MAX_PARMS@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MAX_PARMS@GOTPAGEOFF]
	ldr	w8, [x22]
	add	w8, w8, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	bl	_gc_new
	stur	w0, [x29, #-48]
	mov	x0, x19
	bl	_argv_reset
	mov	x0, x19
	mov	w1, #1
	bl	_argv_extend
	ldr	w2, [x22]
Lloh7:
	adrp	x8, _D_ARGV_PARSE_CMD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _D_ARGV_PARSE_CMD@GOTPAGEOFF]
Lloh9:
	ldr	w5, [x8]
Lloh10:
	adrp	x3, l_.str@PAGE
Lloh11:
	add	x3, x3, l_.str@PAGEOFF
	sub	x6, x29, #48
	mov	x0, x21
	mov	x1, x20
	mov	w4, #0
	bl	_parse_line
	cbz	w0, LBB0_4
; %bb.1:
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.2:
	mov	w21, w0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20], #8
	mov	x1, #0
	bl	_string_alloc
	mov	x1, x0
	mov	x0, x19
	bl	_argv_append
	subs	x21, x21, #1
	b.ne	LBB0_3
	b	LBB0_5
LBB0_4:
	mov	x0, x21
	mov	x1, #0
	bl	_string_alloc
	mov	x1, x0
	mov	x0, x19
	bl	_argv_append
LBB0_5:
	sub	x0, x29, #48
	bl	_gc_free
	ldur	x8, [x29, #-40]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	sub	sp, x29, #32
	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
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PARMS,4,2                  ; @MAX_PARMS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SCRIPT-ARGV"

	.comm	_D_ARGV_PARSE_CMD,4,2           ; @D_ARGV_PARSE_CMD
.subsections_via_symbols
