	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function line_split
LCPI0_0:
	.byte	10                              ## 0xa
	.byte	10                              ## 0xa
	.byte	10                              ## 0xa
	.byte	10                              ## 0xa
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_1:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_line_split:                            ## @line_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	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %rbx
	xorl	%r13d, %r13d
	movl	$0, %r14d
	testl	%esi, %esi
	jle	LBB0_11
## %bb.1:
	movl	%r15d, %eax
	cmpl	$8, %r15d
	jae	LBB0_3
## %bb.2:
	xorl	%ecx, %ecx
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_3:
	movl	%eax, %ecx
	andl	$-8, %ecx
	leaq	-8(%rcx), %rsi
	movq	%rsi, %rdx
	shrq	$3, %rdx
	incq	%rdx
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.5:
	movq	%rdx, %rdi
	andq	$-2, %rdi
	pxor	%xmm0, %xmm0
	xorl	%esi, %esi
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = <10,10,10,10,u,u,u,u,u,u,u,u,u,u,u,u>
	movdqa	LCPI0_1(%rip), %xmm3            ## xmm3 = [1,1,1,1]
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movd	(%rbx,%rsi), %xmm4              ## xmm4 = mem[0],zero,zero,zero
	movd	4(%rbx,%rsi), %xmm5             ## xmm5 = mem[0],zero,zero,zero
	pcmpeqb	%xmm2, %xmm4
	pmovzxbd	%xmm4, %xmm4                    ## xmm4 = xmm4[0],zero,zero,zero,xmm4[1],zero,zero,zero,xmm4[2],zero,zero,zero,xmm4[3],zero,zero,zero
	pand	%xmm3, %xmm4
	paddd	%xmm0, %xmm4
	pcmpeqb	%xmm2, %xmm5
	pmovzxbd	%xmm5, %xmm5                    ## xmm5 = xmm5[0],zero,zero,zero,xmm5[1],zero,zero,zero,xmm5[2],zero,zero,zero,xmm5[3],zero,zero,zero
	pand	%xmm3, %xmm5
	paddd	%xmm1, %xmm5
	movd	8(%rbx,%rsi), %xmm0             ## xmm0 = mem[0],zero,zero,zero
	movd	12(%rbx,%rsi), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	pcmpeqb	%xmm2, %xmm0
	pmovzxbd	%xmm0, %xmm0                    ## xmm0 = xmm0[0],zero,zero,zero,xmm0[1],zero,zero,zero,xmm0[2],zero,zero,zero,xmm0[3],zero,zero,zero
	pand	%xmm3, %xmm0
	paddd	%xmm4, %xmm0
	pcmpeqb	%xmm2, %xmm1
	pmovzxbd	%xmm1, %xmm1                    ## xmm1 = xmm1[0],zero,zero,zero,xmm1[1],zero,zero,zero,xmm1[2],zero,zero,zero,xmm1[3],zero,zero,zero
	pand	%xmm3, %xmm1
	paddd	%xmm5, %xmm1
	addq	$16, %rsi
	addq	$-2, %rdi
	jne	LBB0_6
## %bb.7:
	testb	$1, %dl
	je	LBB0_9
LBB0_8:
	movd	(%rbx,%rsi), %xmm2              ## xmm2 = mem[0],zero,zero,zero
	movd	4(%rbx,%rsi), %xmm3             ## xmm3 = mem[0],zero,zero,zero
	movdqa	LCPI0_0(%rip), %xmm4            ## xmm4 = <10,10,10,10,u,u,u,u,u,u,u,u,u,u,u,u>
	pcmpeqb	%xmm4, %xmm2
	pmovzxbd	%xmm2, %xmm2                    ## xmm2 = xmm2[0],zero,zero,zero,xmm2[1],zero,zero,zero,xmm2[2],zero,zero,zero,xmm2[3],zero,zero,zero
	movdqa	LCPI0_1(%rip), %xmm5            ## xmm5 = [1,1,1,1]
	pand	%xmm5, %xmm2
	paddd	%xmm2, %xmm0
	pcmpeqb	%xmm4, %xmm3
	pmovzxbd	%xmm3, %xmm2                    ## xmm2 = xmm3[0],zero,zero,zero,xmm3[1],zero,zero,zero,xmm3[2],zero,zero,zero,xmm3[3],zero,zero,zero
	pand	%xmm5, %xmm2
	paddd	%xmm2, %xmm1
LBB0_9:
	paddd	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	paddd	%xmm1, %xmm0
	movd	%xmm0, %r14d
	cmpq	%rax, %rcx
	je	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	xorl	%edx, %edx
	cmpb	$10, (%rbx,%rcx)
	sete	%dl
	addl	%edx, %r14d
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_10
LBB0_11:
	leal	8(,%r14,8), %edi
	callq	_zmalloc
	movq	%rax, %r12
	movl	$0, %eax
	cmpl	$2, %r15d
	jl	LBB0_17
## %bb.12:
	leal	-1(%r15), %ecx
	xorl	%edx, %edx
	xorl	%eax, %eax
	xorl	%r13d, %r13d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	cltq
	movl	%r13d, (%r12,%rax,8)
	incq	%rdx
	movl	%edx, %esi
	subl	%r13d, %esi
	movl	%esi, 4(%r12,%rax,8)
	incl	%eax
	movl	%edx, %r13d
	cmpq	%rcx, %rdx
	je	LBB0_17
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$10, (%rbx,%rdx)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%rdx
	cmpq	%rcx, %rdx
	jne	LBB0_13
LBB0_17:
	cltq
	movl	%r13d, (%r12,%rax,8)
	subl	%r13d, %r15d
	movl	%r15d, 4(%r12,%rax,8)
	leal	1(%rax), %ebx
	xorl	%edi, %edi
	cmpl	%r14d, %eax
	setle	%dil
	callq	_assert
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	pxor	%xmm0, %xmm0
	xorl	%esi, %esi
	pxor	%xmm1, %xmm1
	testb	$1, %dl
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_line_split
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function line_split
_line_split:                            ; @line_split
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w8, w20
	cmp	w20, #8
	b.hs	LBB0_4
; %bb.2:
	mov	x9, #0
	mov	w23, #0
	b	LBB0_13
LBB0_3:
	mov	w23, #0
	b	LBB0_15
LBB0_4:
	cmp	w20, #32
	b.hs	LBB0_6
; %bb.5:
	mov	w23, #0
	mov	x9, #0
	b	LBB0_10
LBB0_6:
	movi.2d	v0, #0000000000000000
	and	x9, x8, #0xffffffe0
	movi.16b	v1, #10
	add	x10, x21, #16
	movi.4s	v2, #1
	mov	x11, x9
	movi.2d	v4, #0000000000000000
	movi.2d	v3, #0000000000000000
	movi.2d	v5, #0000000000000000
	movi.2d	v6, #0000000000000000
	movi.2d	v16, #0000000000000000
	movi.2d	v7, #0000000000000000
	movi.2d	v17, #0000000000000000
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q18, q19, [x10, #-16]
	cmeq.16b	v18, v18, v1
	ushll.8h	v20, v18, #0
	ushll.4s	v21, v20, #0
	and.16b	v21, v21, v2
	ushll2.4s	v20, v20, #0
	and.16b	v20, v20, v2
	ushll2.8h	v18, v18, #0
	ushll.4s	v22, v18, #0
	and.16b	v22, v22, v2
	ushll2.4s	v18, v18, #0
	and.16b	v18, v18, v2
	cmeq.16b	v19, v19, v1
	ushll.8h	v23, v19, #0
	ushll.4s	v24, v23, #0
	and.16b	v24, v24, v2
	ushll2.4s	v23, v23, #0
	and.16b	v23, v23, v2
	ushll2.8h	v19, v19, #0
	ushll.4s	v25, v19, #0
	and.16b	v25, v25, v2
	ushll2.4s	v19, v19, #0
	and.16b	v19, v19, v2
	add.4s	v5, v5, v18
	add.4s	v3, v3, v22
	add.4s	v4, v4, v20
	add.4s	v0, v0, v21
	add.4s	v17, v17, v19
	add.4s	v7, v7, v25
	add.4s	v16, v16, v23
	add.4s	v6, v6, v24
	add	x10, x10, #32
	subs	x11, x11, #32
	b.ne	LBB0_7
; %bb.8:
	add.4s	v1, v16, v4
	add.4s	v2, v17, v5
	add.4s	v0, v6, v0
	add.4s	v3, v7, v3
	add.4s	v0, v0, v3
	add.4s	v1, v1, v2
	add.4s	v0, v0, v1
	addv.4s	s0, v0
	fmov	w23, s0
	cmp	x9, x8
	b.eq	LBB0_15
; %bb.9:
	tst	x8, #0x18
	b.eq	LBB0_13
LBB0_10:
	mov	x11, x9
	and	x9, x8, #0xfffffff8
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.s	v1[0], w23
	add	x10, x21, x11
	sub	x11, x11, x9
	movi.8b	v2, #10
	movi.4s	v3, #1
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	d4, [x10], #8
	cmeq.8b	v4, v4, v2
	ushll.8h	v4, v4, #0
	ushll.4s	v5, v4, #0
	and.16b	v5, v5, v3
	ushll2.4s	v4, v4, #0
	and.16b	v4, v4, v3
	add.4s	v0, v0, v4
	add.4s	v1, v1, v5
	adds	x11, x11, #8
	b.ne	LBB0_11
; %bb.12:
	add.4s	v0, v1, v0
	addv.4s	s0, v0
	fmov	w23, s0
	cmp	x9, x8
	b.eq	LBB0_15
LBB0_13:
	add	x10, x21, x9
	sub	x8, x8, x9
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x10], #1
	cmp	w9, #10
	cinc	w23, w23, eq
	subs	x8, x8, #1
	b.ne	LBB0_14
LBB0_15:
	lsl	w8, w23, #3
	add	w0, w8, #8
	bl	_zmalloc
	mov	x22, x0
	subs	w9, w20, #1
	b.le	LBB0_20
; %bb.16:
	mov	x11, #0
	mov	w8, #0
	mov	w10, #0
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x12, x22, w8, sxtw #3
	add	x11, x11, #1
	sub	w13, w11, w10
	stp	w10, w13, [x12]
	add	w8, w8, #1
	mov	x10, x11
	cmp	x11, x9
	b.eq	LBB0_21
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x21, x11]
	cmp	w12, #10
	b.eq	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x11, x11, #1
	cmp	x11, x9
	b.ne	LBB0_18
	b	LBB0_21
LBB0_20:
	mov	w10, #0
	mov	w8, #0
LBB0_21:
	add	x9, x22, w8, sxtw #3
	sub	w11, w20, w10
	stp	w10, w11, [x9]
	add	w20, w8, #1
	cmp	w8, w23
	cset	w0, le
	bl	_assert
	str	x22, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_line_split
.subsections_via_symbols
