	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function split_msg
_split_msg:                             ## @split_msg
	.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
	movslq	(%rdx), %r13
	movl	(%rdi), %ebx
	xorl	%r12d, %r12d
	cmpl	%r13d, %ebx
	jle	LBB0_6
## %bb.1:
	subl	%r13d, %ebx
	cmpl	$5, %ebx
	jb	LBB0_6
## %bb.2:
	movq	%rdx, %r15
	movq	%rsi, %r14
	addq	8(%rdi), %r13
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_starts_with
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movslq	%ebx, %rbx
	movq	%r13, %rdi
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	incq	%rax
	movq	%rax, %rcx
	subq	%r13, %rcx
	subq	%rcx, %rbx
	addl	%ecx, (%r15)
	movq	%rax, %r13
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_strstr
	movq	%rax, %r12
	subq	%r13, %r12
	incq	%r12
	testq	%rax, %rax
	cmoveq	%rbx, %r12
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_strbuf_add
	addl	%r12d, (%r15)
	movl	$1, %r12d
LBB0_6:
	movl	%r12d, %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	"From "

L_.str.1:                               ## @.str.1
	.asciz	"\nFrom "

	.no_dead_strip	_split_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function split_msg
_split_msg:                             ; @split_msg
	.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
	ldrsw	x8, [x2]
	ldr	w9, [x0]
	cmp	w9, w8
	b.le	LBB0_2
; %bb.1:
	sub	w22, w9, w8
	cmp	w22, #5
	b.hs	LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	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_4:
	mov	x19, x2
	mov	x20, x1
	ldr	x9, [x0, #8]
	add	x21, x9, x8
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_starts_with
	cbz	w0, LBB0_3
; %bb.5:
	sxtw	x22, w22
	mov	x0, x21
	mov	w1, #10
	bl	_strchr
	cbz	x0, LBB0_7
; %bb.6:
	add	x8, x0, #1
	sub	x9, x8, x21
	sub	x22, x22, x9
	ldr	w10, [x19]
	add	w9, w10, w9
	str	w9, [x19]
	mov	x21, x8
LBB0_7:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strstr
	sub	x8, x0, x21
	cmp	x0, #0
	csinc	x22, x22, x8, eq
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_strbuf_add
	ldr	w8, [x19]
	add	w8, w8, w22
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"From "

l_.str.1:                               ; @.str.1
	.asciz	"\nFrom "

	.no_dead_strip	_split_msg
.subsections_via_symbols
