	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chopup_args                    ## -- Begin function chopup_args
	.p2align	4, 0x90
_chopup_args:                           ## @chopup_args
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, (%rdi)
	cmpl	$0, 8(%rdi)
	jne	LBB0_2
## %bb.1:
	movl	$20, 8(%r14)
	leaq	L_.str(%rip), %rsi
	movl	$160, %edi
	callq	_app_malloc
	movq	%rax, 16(%r14)
LBB0_2:
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_21
## %bb.3:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_23 Depth 2
	movsbl	%al, %edi
	callq	__UC
	movl	%eax, %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movb	1(%rbx), %al
	incq	%rbx
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	testb	%al, %al
	jne	LBB0_4
	jmp	LBB0_21
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_21
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	8(%r14), %rcx
	cmpq	%rcx, (%r14)
	jb	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	leal	20(%rcx), %eax
	movl	%eax, 8(%r14)
	movq	16(%r14), %rdi
	leal	160(,%rcx,8), %esi
	callq	_OPENSSL_realloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, 16(%r14)
	movb	(%rbx), %al
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$34, %al
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$39, %al
	jne	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movl	%eax, %r15d
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rcx
	movq	16(%r14), %rdx
	leaq	1(%rcx), %rsi
	movq	%rsi, (%r14)
	movq	%rbx, (%rdx,%rcx,8)
	cmpb	$39, %al
	je	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$34, %al
	jne	LBB0_17
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=2
	cmpb	%r15b, %al
	jne	LBB0_23
	jmp	LBB0_25
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%al, %edi
	callq	__UC
	movl	%eax, %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_26
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=2
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_19
	jmp	LBB0_21
LBB0_26:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$0, -1(%rbx)
	je	LBB0_21
LBB0_25:                                ##   in Loop: Header=BB0_4 Depth=1
	movb	$0, -1(%rbx)
	movb	(%rbx), %al
	jmp	LBB0_6
LBB0_21:
	movq	(%r14), %rax
	movq	16(%r14), %rcx
	movq	$0, (%rcx,%rax,8)
	movl	$1, %eax
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"argv space"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chopup_args                    ; -- Begin function chopup_args
	.p2align	2
_chopup_args:                           ; @chopup_args
	.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	x20, x1
	mov	x19, x0
	str	xzr, [x0]
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_2
; %bb.1:
	ldrb	w8, [x20]
	cbnz	w8, LBB0_3
	b	LBB0_22
LBB0_2:
	mov	w8, #20
	str	w8, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #160
	bl	_app_malloc
	str	x0, [x19, #16]
	ldrb	w8, [x20]
	cbz	w8, LBB0_22
LBB0_3:
	mov	w21, #0
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
	sxtb	w0, w8
	bl	__UC
	bl	_isspace
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x20, #1]!
	cbnz	w8, LBB0_4
	b	LBB0_22
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x20]
	cbz	w8, LBB0_22
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x19]
	ldrsw	x9, [x19, #8]
	cmp	x10, x9
	b.lo	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w9, #20
	str	w8, [x19, #8]
	ldr	x0, [x19, #16]
	lsl	w1, w8, #3
	bl	_OPENSSL_realloc
	cbz	x0, LBB0_23
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x0, [x19, #16]
	ldrb	w8, [x20]
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #34
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #39
	b.ne	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	mov	x21, x8
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x19, #16]
	ldr	x10, [x19]
	add	x11, x10, #1
	str	x11, [x19]
	str	x20, [x9, x10, lsl #3]
	cmp	w8, #39
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #34
	b.ne	LBB0_17
LBB0_15:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x20], #1
	cmp	w8, #0
	ccmp	w8, w21, #4, ne
	b.ne	LBB0_15
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	sturb	wzr, [x20, #-1]
	ldrb	w8, [x20]
	cbnz	w8, LBB0_4
	b	LBB0_22
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x20]
	cbz	w8, LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
LBB0_19:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w0, w8
	bl	__UC
	bl	_isspace
	cbnz	x0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	ldrb	w8, [x20], #1
	cbnz	w8, LBB0_19
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	ldurb	w8, [x20, #-1]
	cbnz	w8, LBB0_16
LBB0_22:
	ldr	x8, [x19, #16]
	ldr	x9, [x19]
	str	xzr, [x8, x9, lsl #3]
	mov	w0, #1
LBB0_23:
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"argv space"

.subsections_via_symbols
