	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function splitlines
LCPI0_0:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_1:
	.quad	2                               ## 0x2
	.quad	3                               ## 0x3
LCPI0_2:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_3:
	.quad	4                               ## 0x4
	.quad	5                               ## 0x5
LCPI0_4:
	.quad	6                               ## 0x6
	.quad	7                               ## 0x7
LCPI0_5:
	.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_6:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_splitlines:                            ## @splitlines
	.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
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %r12
	movslq	%esi, %r15
	leaq	(%rdi,%r15), %r13
	testl	%r15d, %r15d
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_2
## %bb.3:
	leaq	1(%r12), %rdx
	cmpq	%rdx, %r13
	cmovaq	%r13, %rdx
	leaq	(%r12,%r15), %r9
	decq	%r9
	subq	%r12, %rdx
	movl	$1, %ebx
	movq	%r12, %rcx
	cmpq	$8, %rdx
	jb	LBB0_7
## %bb.4:
	movq	%rdx, %r8
	andq	$-8, %r8
	leaq	(%r12,%r8), %rcx
	movq	%r9, %xmm0
	pshufd	$68, %xmm0, %xmm14              ## xmm14 = xmm0[0,1,0,1]
	pxor	%xmm0, %xmm0
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [1,0,0,0]
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [2,3]
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [4,5]
	movdqa	LCPI0_4(%rip), %xmm11           ## xmm11 = [6,7]
	movdqa	LCPI0_5(%rip), %xmm12           ## xmm12 = <10,10,10,10,u,u,u,u,u,u,u,u,u,u,u,u>
	movaps	LCPI0_6(%rip), %xmm13           ## xmm13 = [1,1,1,1]
	movq	%r8, %rdi
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %xmm4
	pshufd	$68, %xmm4, %xmm6               ## xmm6 = xmm4[0,1,0,1]
	movdqa	%xmm6, %xmm7
	paddq	%xmm8, %xmm7
	movdqa	%xmm6, %xmm5
	paddq	%xmm9, %xmm5
	movdqa	%xmm6, %xmm4
	paddq	%xmm10, %xmm4
	paddq	%xmm11, %xmm6
	movq	%xmm5, %rsi
	movd	(%rsi), %xmm3                   ## xmm3 = mem[0],zero,zero,zero
	movd	4(%rsi), %xmm2                  ## xmm2 = mem[0],zero,zero,zero
	pcmpeqb	%xmm12, %xmm3
	pmovzxbd	%xmm3, %xmm3                    ## xmm3 = xmm3[0],zero,zero,zero,xmm3[1],zero,zero,zero,xmm3[2],zero,zero,zero,xmm3[3],zero,zero,zero
	pcmpeqb	%xmm12, %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
	pcmpeqq	%xmm14, %xmm7
	pcmpeqq	%xmm14, %xmm5
	shufps	$136, %xmm7, %xmm5              ## xmm5 = xmm5[0,2],xmm7[0,2]
	orps	%xmm3, %xmm5
	pcmpeqq	%xmm14, %xmm6
	pcmpeqq	%xmm14, %xmm4
	shufps	$136, %xmm6, %xmm4              ## xmm4 = xmm4[0,2],xmm6[0,2]
	orps	%xmm2, %xmm4
	andps	%xmm13, %xmm5
	paddd	%xmm5, %xmm1
	andps	%xmm13, %xmm4
	paddd	%xmm4, %xmm0
	addq	$8, %rbx
	addq	$-8, %rdi
	jne	LBB0_5
## %bb.6:
	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, %ebx
	cmpq	%r8, %rdx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$10, (%rcx)
	sete	%dl
	cmpq	%r9, %rcx
	sete	%al
	orb	%dl, %al
	movzbl	%al, %eax
	addl	%eax, %ebx
	incq	%rcx
	cmpq	%r13, %rcx
	jb	LBB0_7
	jmp	LBB0_8
LBB0_18:
	leaq	L_.str(%rip), %rdi
	callq	_eprintf
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_2:
	movl	$1, %ebx
LBB0_8:
	leal	(,%rbx,8), %eax
	leal	(%rax,%rax,2), %edi
	callq	_malloc
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	testl	%r14d, %r14d
	jle	LBB0_16
## %bb.11:
	leal	1(%r12), %ecx
	decq	%r15
	xorl	%edi, %edi
	movq	_INT_MAX@GOTPCREL(%rip), %r8
	movq	%r12, %rsi
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	%edi, (%rax)
	movl	%ecx, %edx
	subl	%r12d, %edx
	movl	%edx, 4(%rax)
	movq	%r12, 8(%rax)
	movl	(%r8), %edx
	movl	%edx, 16(%rax)
	addq	$24, %rax
	leaq	1(%rsi), %r12
	xorl	%edi, %edi
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rsi
	incl	%ecx
	decq	%r15
	cmpq	%r13, %rsi
	jae	LBB0_16
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	imull	$1664525, %edi, %edi            ## imm = 0x19660D
	movsbl	(%rsi), %edx
	addl	%edx, %edi
	addl	$1013904223, %edi               ## imm = 0x3C6EF35F
	cmpl	$10, %edx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	testq	%r15, %r15
	jne	LBB0_15
	jmp	LBB0_14
LBB0_16:
	movq	$0, (%rax)
	movq	%r13, 8(%rax)
	decl	%ebx
	jmp	LBB0_17
LBB0_9:
	movl	$-1, %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"null pointer received\n"

	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.no_dead_strip	_splitlines
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function splitlines
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
lCPI0_1:
	.quad	14                              ; 0xe
	.quad	15                              ; 0xf
lCPI0_2:
	.quad	12                              ; 0xc
	.quad	13                              ; 0xd
lCPI0_3:
	.quad	10                              ; 0xa
	.quad	11                              ; 0xb
lCPI0_4:
	.quad	8                               ; 0x8
	.quad	9                               ; 0x9
lCPI0_5:
	.quad	6                               ; 0x6
	.quad	7                               ; 0x7
lCPI0_6:
	.quad	4                               ; 0x4
	.quad	5                               ; 0x5
lCPI0_7:
	.quad	2                               ; 0x2
	.quad	3                               ; 0x3
lCPI0_8:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_splitlines:                            ; @splitlines
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	sxtw	x23, w20
	add	x22, x0, x23
	cmp	w1, #1
	b.lt	LBB0_5
; %bb.2:
	sub	x8, x22, #1
	add	x9, x19, #1
	add	x10, x19, x23
	cmp	x10, x9
	csinc	x9, x10, x19, hi
	sub	x10, x9, x19
	cmp	x10, #16
	b.hs	LBB0_6
; %bb.3:
	mov	w24, #1
	mov	x9, x19
	b	LBB0_9
LBB0_4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
	mov	w8, #0
	b	LBB0_19
LBB0_5:
	mov	w24, #1
	b	LBB0_11
LBB0_6:
	and	x11, x10, #0xfffffffffffffff0
	add	x9, x19, x11
Lloh2:
	adrp	x12, lCPI0_0@PAGE
Lloh3:
	ldr	q0, [x12, lCPI0_0@PAGEOFF]
	movi.2d	v1, #0000000000000000
Lloh4:
	adrp	x12, lCPI0_1@PAGE
Lloh5:
	ldr	q2, [x12, lCPI0_1@PAGEOFF]
Lloh6:
	adrp	x12, lCPI0_2@PAGE
Lloh7:
	ldr	q3, [x12, lCPI0_2@PAGEOFF]
Lloh8:
	adrp	x12, lCPI0_3@PAGE
Lloh9:
	ldr	q4, [x12, lCPI0_3@PAGEOFF]
Lloh10:
	adrp	x12, lCPI0_4@PAGE
Lloh11:
	ldr	q5, [x12, lCPI0_4@PAGEOFF]
Lloh12:
	adrp	x12, lCPI0_5@PAGE
Lloh13:
	ldr	q6, [x12, lCPI0_5@PAGEOFF]
Lloh14:
	adrp	x12, lCPI0_6@PAGE
Lloh15:
	ldr	q7, [x12, lCPI0_6@PAGEOFF]
	movi.16b	v16, #10
	movi.4s	v17, #1
	mov	x12, x11
Lloh16:
	adrp	x13, lCPI0_7@PAGE
Lloh17:
	ldr	q18, [x13, lCPI0_7@PAGEOFF]
Lloh18:
	adrp	x13, lCPI0_8@PAGE
Lloh19:
	ldr	q19, [x13, lCPI0_8@PAGEOFF]
	mov	x13, x19
	movi.2d	v20, #0000000000000000
	movi.2d	v21, #0000000000000000
	dup.2d	v22, x8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	dup.2d	v23, x13
	add.2d	v24, v23, v2
	add.2d	v25, v23, v3
	add.2d	v26, v23, v4
	add.2d	v27, v23, v5
	add.2d	v28, v23, v6
	add.2d	v29, v23, v7
	add.2d	v30, v23, v18
	add.2d	v23, v23, v19
	cmeq.2d	v31, v23, v22
	fmov	x14, d23
	ldr	q23, [x14]
	cmeq.16b	v23, v23, v16
	cmeq.2d	v30, v30, v22
	uzp1.4s	v30, v31, v30
	cmeq.2d	v29, v29, v22
	cmeq.2d	v28, v28, v22
	uzp1.4s	v28, v29, v28
	uzp1.8h	v28, v30, v28
	xtn.8b	v28, v28
	cmeq.2d	v27, v27, v22
	cmeq.2d	v26, v26, v22
	uzp1.4s	v26, v27, v26
	cmeq.2d	v25, v25, v22
	cmeq.2d	v24, v24, v22
	uzp1.4s	v24, v25, v24
	uzp1.8h	v24, v26, v24
	xtn.8b	v24, v24
	ext.16b	v25, v23, v23, #8
	orr.8b	v24, v25, v24
	zip1.8b	v25, v24, v0
	ushll.4s	v25, v25, #0
	and.16b	v25, v25, v17
	zip2.8b	v24, v24, v0
	ushll.4s	v24, v24, #0
	and.16b	v24, v24, v17
	orr.8b	v23, v23, v28
	zip1.8b	v26, v23, v0
	ushll.4s	v26, v26, #0
	and.16b	v26, v26, v17
	zip2.8b	v23, v23, v0
	ushll.4s	v23, v23, #0
	and.16b	v23, v23, v17
	add.4s	v1, v1, v23
	add.4s	v0, v0, v26
	add.4s	v21, v21, v24
	add.4s	v20, v20, v25
	add	x13, x13, #16
	subs	x12, x12, #16
	b.ne	LBB0_7
; %bb.8:
	add.4s	v0, v0, v20
	add.4s	v1, v1, v21
	add.4s	v0, v0, v1
	addv.4s	s0, v0
	fmov	w24, s0
	cmp	x10, x11
	b.eq	LBB0_11
LBB0_9:
	mov	x10, x9
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x10], #1
	cmp	w11, #10
	ccmp	x9, x8, #4, ne
	cinc	w24, w24, eq
	mov	x9, x10
	cmp	x10, x22
	b.lo	LBB0_10
LBB0_11:
	add	w8, w24, w24, lsl #1
	lsl	w0, w8, #3
	bl	_malloc
	str	x0, [x21]
	cbz	x0, LBB0_18
; %bb.12:
	cmp	w20, #1
	b.lt	LBB0_17
; %bb.13:
	mov	w13, #0
	add	w8, w19, #1
	sub	x9, x23, #1
	mov	w10, #26125
	movk	w10, #25, lsl #16
	mov	w11, #62303
	movk	w11, #15470, lsl #16
Lloh20:
	adrp	x12, _INT_MAX@GOTPAGE
Lloh21:
	ldr	x12, [x12, _INT_MAX@GOTPAGEOFF]
	mov	x14, x19
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x14, x14, #1
	add	w8, w8, #1
	sub	x9, x9, #1
	cmp	x14, x22
	b.hs	LBB0_17
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w15, [x14]
	madd	w13, w13, w10, w15
	add	w13, w13, w11
	cmp	w15, #10
	ccmp	x9, #0, #4, ne
	b.ne	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	sub	w15, w8, w19
	stp	w13, w15, [x0]
	str	x19, [x0, #8]
	ldr	w13, [x12]
	str	w13, [x0, #16]
	add	x0, x0, #24
	add	x19, x14, #1
	mov	w13, #0
	b	LBB0_14
LBB0_17:
	stp	xzr, x22, [x0]
	sub	w8, w24, #1
	b	LBB0_19
LBB0_18:
	mov	w8, #-1
LBB0_19:
	mov	x0, x8
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdr	Lloh18, Lloh19
	.loh AdrpAdrp	Lloh16, Lloh18
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpAdrp	Lloh12, Lloh14
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpAdrp	Lloh10, Lloh12
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpAdrp	Lloh8, Lloh10
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpAdrp	Lloh4, Lloh6
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"null pointer received\n"

	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.no_dead_strip	_splitlines
.subsections_via_symbols
