	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function captureOutputCallback
_captureOutputCallback:                 ## @captureOutputCallback
	.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	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	%rcx, %rdi
	callq	_UNUSED_PARAMETER
	testq	%r14, %r14
	je	LBB0_11
## %bb.1:
	cmpq	$0, (%r13)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_appendText
LBB0_3:
	testl	%r15d, %r15d
	jle	LBB0_11
## %bb.4:
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_appendText
LBB0_6:
	cmpl	$1, %r15d
	jne	LBB0_7
LBB0_11:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%r15d, %r12d
	movl	$1, %ebx
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_appendText
	movq	(%r14,%rbx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_appendText
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"|"

L_.str.1:                               ## @.str.1
	.asciz	","

	.no_dead_strip	_captureOutputCallback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function captureOutputCallback
_captureOutputCallback:                 ; @captureOutputCallback
	.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, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x3
	bl	_UNUSED_PARAMETER
	cbz	x20, LBB0_7
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #0
	bl	_appendText
LBB0_3:
	cmp	w21, #1
	b.lt	LBB0_7
; %bb.4:
	ldr	x1, [x20]
	cbz	x1, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w2, #0
	bl	_appendText
LBB0_6:
	cmp	w21, #1
	b.ne	LBB0_8
LBB0_7:
	mov	w0, #0
	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_8:
	mov	w8, w21
	add	x21, x20, #8
	sub	x22, x8, #1
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x21, x21, #8
	subs	x22, x22, #1
	b.eq	LBB0_7
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_appendText
	ldr	x1, [x21]
	cbz	x1, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	w2, #0
	bl	_appendText
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"|"

l_.str.1:                               ; @.str.1
	.asciz	","

	.no_dead_strip	_captureOutputCallback
.subsections_via_symbols
