	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function callsys
_callsys:                               ## @callsys
	.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	%rdi, %r14
	movl	$-1, %eax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	incl	%eax
	cmpq	$0, (%r14,%rsi)
	leaq	8(%rsi), %rsi
	jne	LBB0_1
## %bb.2:
	cmpl	%eax, _callsys.argc(%rip)
	jg	LBB0_7
## %bb.3:
	incl	%eax
	movl	%eax, _callsys.argc(%rip)
	movq	_callsys.argv(%rip), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.5:
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_realloc
	jmp	LBB0_6
LBB0_4:
	movl	%esi, %edi
	callq	_malloc
LBB0_6:
	movq	%rax, _callsys.argv(%rip)
	movq	%rax, %rdi
	callq	_assert
LBB0_7:
	xorl	%r12d, %r12d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	__P_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rdx), %rsi
	callq	__spawnvp
	movl	%eax, %ebx
	cmpl	$-1, %eax
	je	LBB0_27
LBB0_28:                                ##   in Loop: Header=BB0_8 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_29
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_23 Depth 2
	movslq	%r12d, %r12
	movq	(%r14,%r12,8), %r13
	testq	%r13, %r13
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_callsys.argv(%rip), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	incq	%r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %r15
	movq	%r13, %rdi
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax,%rbx,8)
	incq	%rbx
	movq	%r15, %r14
	movq	(%r15,%r12,8), %r13
	incq	%r12
	testq	%r13, %r13
	jne	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	decq	%r12
	movq	_stderr@GOTPCREL(%rip), %r15
	leaq	L_.str.2(%rip), %r13
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %r14
	cmpq	%r13, %rax
	jbe	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r14d, %esi
	subl	%r13d, %esi
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rdx
	callq	_stringf
	movq	_callsys.argv(%rip), %rcx
	movl	%ebx, %edx
	incl	%ebx
	movq	%rax, (%rcx,%rdx,8)
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	leaq	L_.str.2(%rip), %r13
	cmpb	$0, 1(%r14)
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_8 Depth=1
	incq	%r14
	movq	%r14, -8(%r15,%r12,8)
	movq	%r15, %r14
	decq	%r12
	jmp	LBB0_19
LBB0_17:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %r14
LBB0_19:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_stderr@GOTPCREL(%rip), %r15
LBB0_20:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_callsys.argv(%rip), %rdx
	movslq	%ebx, %rax
	movq	$0, (%rdx,%rax,8)
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r15), %edi
	movq	(%rdx), %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_callsys.argv(%rip), %rax
	movq	8(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	$16, %ebx
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15), %edi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_callsys.argv(%rip), %rax
	movq	(%rax,%rbx), %rdx
	addq	$8, %rbx
	testq	%rdx, %rdx
	jne	LBB0_23
LBB0_24:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r15), %edi
	xorl	%ebx, %ebx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	jg	LBB0_28
## %bb.25:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_callsys.argv(%rip), %rdx
	jmp	LBB0_26
LBB0_9:
	xorl	%ebx, %ebx
LBB0_29:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	callq	_callsys.cold.1
	movl	$-1, %ebx
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function callsys.cold.1
_callsys.cold.1:                        ## @callsys.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_progname@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_callsys.argv(%rip), %rax
	movq	(%rax), %rdi
	popq	%rbp
	jmp	_perror                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_callsys.argv,8,3 ## @callsys.argv
.zerofill __DATA,__bss,_callsys.argc,4,2 ## @callsys.argc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%.*s"

	.comm	_verbose,4,2                    ## @verbose
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"%s"

L_.str.2:                               ## @.str.2
	.asciz	" %s"

L_.str.3:                               ## @.str.3
	.asciz	"\n"

	.comm	__P_WAIT,4,2                    ## @_P_WAIT
L_.str.4:                               ## @.str.4
	.asciz	"%s: "

	.comm	_progname,8,3                   ## @progname
	.no_dead_strip	_callsys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function callsys
_callsys:                               ; @callsys
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x0
	mov	x1, #0
	mov	w8, #-1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, x1]
	add	w8, w8, #1
	add	x1, x1, #8
	cbnz	x9, LBB0_1
; %bb.2:
	adrp	x9, _callsys.argc@PAGE
	ldr	w10, [x9, _callsys.argc@PAGEOFF]
	adrp	x26, _callsys.argv@PAGE
	cmp	w10, w8
	b.gt	LBB0_7
; %bb.3:
	add	w8, w8, #1
	str	w8, [x9, _callsys.argc@PAGEOFF]
	ldr	x0, [x26, _callsys.argv@PAGEOFF]
	cbz	x0, LBB0_5
; %bb.4:
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_realloc
	b	LBB0_6
LBB0_5:
	mov	x0, x1
	bl	_malloc
LBB0_6:
	str	x0, [x26, _callsys.argv@PAGEOFF]
	bl	_assert
LBB0_7:
	mov	x21, #0
	add	x8, x19, #8
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh0:
	adrp	x23, _stderr@GOTPAGE
Lloh1:
	ldr	x23, [x23, _stderr@GOTPAGEOFF]
Lloh2:
	adrp	x22, l_.str.2@PAGE
Lloh3:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_11 Depth=1
	ldr	x2, [x26, _callsys.argv@PAGEOFF]
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
Lloh4:
	adrp	x8, __P_WAIT@GOTPAGE
Lloh5:
	ldr	x8, [x8, __P_WAIT@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	x1, [x2]
	bl	__spawnvp
	cmn	w0, #1
	b.eq	LBB0_29
; %bb.10:                               ;   in Loop: Header=BB0_11 Depth=1
	cbnz	w0, LBB0_28
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_24 Depth 2
	sbfiz	x8, x21, #3, #32
	ldr	x24, [x19, x8]
	cbz	x24, LBB0_27
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x28, #0
	sxtw	x21, w21
	ldr	x27, [x26, _callsys.argv@PAGEOFF]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x20, x8, x21, lsl #3
LBB0_13:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x24
	mov	w1, #10
	bl	_strchr
	cbnz	x0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	add	x8, x28, #1
	str	x24, [x27, x28, lsl #3]
	ldr	x24, [x20], #8
	mov	x28, x8
	cbnz	x24, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x21, x21, x8
	b	LBB0_21
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x25, x0
	cmp	x0, x24
	b.ls	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	w1, w25, w24
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x24
	bl	_stringf
	ldr	x9, [x26, _callsys.argv@PAGEOFF]
	add	w8, w28, #1
	str	x0, [x9, w28, uxtw #3]
	ldrb	w9, [x25, #1]!
	cbz	w9, LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x21, x21, x28
	stur	x25, [x20, #-8]
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x8, x28
	ldrb	w9, [x25, #1]!
	cbnz	w9, LBB0_18
LBB0_20:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x9, x21, x28
	add	x21, x9, #1
LBB0_21:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x2, [x26, _callsys.argv@PAGEOFF]
	str	xzr, [x2, w8, sxtw #3]
Lloh9:
	adrp	x8, _verbose@GOTPAGE
Lloh10:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.22:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x23]
	ldr	x8, [x2]
	str	x8, [sp]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	ldr	x8, [x26, _callsys.argv@PAGEOFF]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	w20, #16
LBB0_24:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x23]
	str	x8, [sp]
	mov	x1, x22
	bl	_fprintf
	ldr	x8, [x26, _callsys.argv@PAGEOFF]
	ldr	x8, [x8, x20]
	add	x20, x20, #8
	cbnz	x8, LBB0_24
LBB0_25:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x23]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
Lloh16:
	adrp	x8, _verbose@GOTPAGE
Lloh17:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w8, #1
	b.le	LBB0_8
; %bb.26:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	w0, #0
	cbz	w0, LBB0_11
	b	LBB0_28
LBB0_27:
	mov	w0, #0
LBB0_28:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_29:
	bl	_callsys.cold.1
	mov	w0, #-1
	b	LBB0_28
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function callsys.cold.1
_callsys.cold.1:                        ; @callsys.cold.1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh19:
	adrp	x8, _stderr@GOTPAGE
Lloh20:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x8, _progname@GOTPAGE
Lloh23:
	ldr	x8, [x8, _progname@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
Lloh27:
	adrp	x8, _callsys.argv@PAGE
Lloh28:
	ldr	x8, [x8, _callsys.argv@PAGEOFF]
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_perror
	.loh AdrpLdr	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_callsys.argv,8,3 ; @callsys.argv
.zerofill __DATA,__bss,_callsys.argc,4,2 ; @callsys.argc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%.*s"

	.comm	_verbose,4,2                    ; @verbose
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"%s"

l_.str.2:                               ; @.str.2
	.asciz	" %s"

l_.str.3:                               ; @.str.3
	.asciz	"\n"

	.comm	__P_WAIT,4,2                    ; @_P_WAIT
l_.str.4:                               ; @.str.4
	.asciz	"%s: "

	.comm	_progname,8,3                   ; @progname
	.no_dead_strip	_callsys
.subsections_via_symbols
