	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_argv_split                     ## -- Begin function argv_split
	.p2align	4, 0x90
_argv_split:                            ## @argv_split
	.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
	pushq	%rax
	.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, %r13
	callq	_count_argc
	movl	%eax, %r12d
	leal	8(,%r12,8), %edi
	callq	_zalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %r14
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	movl	%r12d, (%r15)
LBB0_3:
	cmpb	$0, (%r13)
	movq	%r14, %r15
	je	LBB0_8
## %bb.4:
	movq	%r14, %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_skip_sep
	cmpb	$0, (%rax)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_skip_arg
	movq	%rax, %r13
	movl	%r13d, %esi
	subl	%ebx, %esi
	movq	%rbx, %rdi
	callq	_strndup
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, (%r15)
	addq	$8, %r15
	cmpb	$0, (%r13)
	jne	LBB0_5
LBB0_8:
	movq	$0, (%r15)
	jmp	LBB0_11
LBB0_9:
	movq	%r14, %rdi
	callq	_argv_free
LBB0_10:
	xorl	%r14d, %r14d
LBB0_11:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_argv_split                     ; -- Begin function argv_split
	.p2align	2
_argv_split:                            ; @argv_split
	.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	x21, x1
	mov	x20, x0
	bl	_count_argc
	mov	x22, x0
	lsl	w8, w0, #3
	add	w0, w8, #8
	bl	_zalloc
	mov	x19, x0
	cbz	x0, LBB0_10
; %bb.1:
	cbz	x21, LBB0_3
; %bb.2:
	str	w22, [x21]
LBB0_3:
	ldrb	w8, [x20]
	mov	x22, x19
	cbz	w8, LBB0_8
; %bb.4:
	mov	x22, x19
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_skip_sep
	ldrb	w8, [x0]
	cbz	w8, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x0
	bl	_skip_arg
	mov	x20, x0
	sub	w1, w20, w21
	mov	x0, x21
	bl	_strndup
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x0, [x22], #8
	ldrb	w8, [x20]
	cbnz	w8, LBB0_5
LBB0_8:
	str	xzr, [x22]
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_argv_free
	mov	x19, #0
LBB0_10:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
