	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jv_string_split                ## -- Begin function jv_string_split
	.p2align	4, 0x90
_jv_string_split:                       ## @jv_string_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movl	%edi, %ebx
	movq	_JV_KIND_STRING@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_JVP_HAS_KIND
	movl	%eax, %edi
	callq	_assert
	movl	(%r14), %esi
	movl	%r15d, %edi
	callq	_JVP_HAS_KIND
	movl	%eax, %edi
	callq	_assert
	movl	%ebx, %edi
	callq	_jv_string_value
	movq	%rax, %r14
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_jv_copy
	movl	%eax, %edi
	callq	_jv_string_length_bytes
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movslq	%eax, %r12
	addq	%r14, %r12
	movl	%r15d, %edi
	callq	_jv_string_value
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	movl	%r15d, %edi
	callq	_jv_copy
	movl	%eax, %edi
	callq	_jv_string_length_bytes
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_jv_array
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_jv_get_refcnt
	xorl	%edi, %edi
	cmpl	$1, %eax
	sete	%dil
	callq	_assert
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.1:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_9
## %bb.2:
	movslq	-44(%rbp), %r15                 ## 4-byte Folded Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r12, %r14
	jae	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %esi
	subl	%r14d, %esi
	movq	%r14, %rdi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	__jq_memmem
	movq	%rax, %rbx
	testq	%rax, %rax
	cmoveq	%r12, %rbx
	movl	%ebx, %esi
	subl	%r14d, %esi
	movq	%r14, %rdi
	callq	_jv_string_sized
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_jv_array_append
	movl	%eax, %r13d
	movq	%rbx, %r14
	addq	%r15, %r14
	cmpq	%r12, %r14
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_jv_string
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_jv_array_append
	movl	%eax, %r13d
	jmp	LBB0_5
LBB0_6:
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_jvp_utf8_next
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %r14
	leaq	-48(%rbp), %r15
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_jv_string
	movl	-48(%rbp), %esi
	movl	%eax, %edi
	callq	_jv_string_append_codepoint
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_jv_array_append
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_jvp_utf8_next
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
LBB0_9:
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_jv_free
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_jv_free
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JV_KIND_STRING,4,2             ## @JV_KIND_STRING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jv_string_split                ; -- Begin function jv_string_split
	.p2align	2
_jv_string_split:                       ; @jv_string_split
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _JV_KIND_STRING@GOTPAGE
Lloh1:
	ldr	x21, [x21, _JV_KIND_STRING@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_JVP_HAS_KIND
	bl	_assert
	ldr	w1, [x21]
	mov	x0, x19
	bl	_JVP_HAS_KIND
	bl	_assert
	mov	x0, x20
	bl	_jv_string_value
	mov	x23, x0
	mov	x0, x20
	bl	_jv_copy
	bl	_jv_string_length_bytes
	mov	x26, x0
	add	x21, x23, w0, sxtw
	mov	x0, x19
	bl	_jv_string_value
	mov	x24, x0
	mov	x0, x19
	bl	_jv_copy
	bl	_jv_string_length_bytes
	mov	x25, x0
	bl	_jv_array
	mov	x22, x0
	bl	_jv_get_refcnt
	cmp	w0, #1
	cset	w0, eq
	bl	_assert
	cbz	w25, LBB0_6
; %bb.1:
	cmp	w26, #1
	b.lt	LBB0_9
; %bb.2:
	sxtw	x27, w25
Lloh2:
	adrp	x26, l_.str@PAGE
Lloh3:
	add	x26, x26, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x23, x21
	b.hs	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w1, w21, w23
	mov	x0, x23
	mov	x2, x24
	mov	x3, x25
	bl	__jq_memmem
	cmp	x0, #0
	csel	x28, x21, x0, eq
	sub	w1, w28, w23
	mov	x0, x23
	bl	_jv_string_sized
	mov	x1, x0
	mov	x0, x22
	bl	_jv_array_append
	mov	x22, x0
	add	x23, x28, x27
	cmp	x23, x21
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_jv_string
	mov	x1, x0
	mov	x0, x22
	bl	_jv_array_append
	mov	x22, x0
	b	LBB0_3
LBB0_6:
	add	x2, sp, #12
	mov	x0, x23
	mov	x1, x21
	bl	_jvp_utf8_next
	cbz	x0, LBB0_9
; %bb.7:
	mov	x23, x0
Lloh4:
	adrp	x24, l_.str@PAGE
Lloh5:
	add	x24, x24, l_.str@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_jv_string
	ldr	w1, [sp, #12]
	bl	_jv_string_append_codepoint
	mov	x1, x0
	mov	x0, x22
	bl	_jv_array_append
	mov	x22, x0
	add	x2, sp, #12
	mov	x0, x23
	mov	x1, x21
	bl	_jvp_utf8_next
	mov	x23, x0
	cbnz	x0, LBB0_8
LBB0_9:
	mov	x0, x20
	bl	_jv_free
	mov	x0, x19
	bl	_jv_free
	mov	x0, x22
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_JV_KIND_STRING,4,2             ; @JV_KIND_STRING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

.subsections_via_symbols
