	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function string_split
_string_split:                          ## @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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r13
	movl	%esi, -88(%rbp)
	xorl	%eax, %eax
	callq	_mrb_nil_value
	movl	%eax, -48(%rbp)
	movl	$0, -52(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	movq	%r13, %rdi
	callq	_mrb_get_args
	movl	%eax, %ebx
	cmpl	$2, %eax
	setne	-41(%rbp)                       ## 1-byte Folded Spill
	cmpl	$0, -52(%rbp)
	setle	%r14b
	movl	-48(%rbp), %edi
	callq	_mrb_nil_p
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_mrb_intern_lit
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_mrb_gv_get
	movl	%eax, -48(%rbp)
	movl	%eax, %edi
	callq	_mrb_nil_p
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_mrb_str_new_lit
	movl	%eax, -48(%rbp)
	jmp	LBB0_7
LBB0_3:
	movl	%ebx, %r15d
	jmp	LBB0_8
LBB0_4:
	movl	-48(%rbp), %edi
	callq	_mrb_string_p
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	movl	-48(%rbp), %edi
	callq	_ONIG_REGEXP_P
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	_E_TYPE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r13, %rdi
	callq	_mrb_raise
LBB0_7:
	testl	%ebx, %ebx
	movl	$1, %r15d
	cmovnel	%ebx, %r15d
LBB0_8:
	movl	-48(%rbp), %edi
	callq	_ONIG_REGEXP_P
	testl	%eax, %eax
	je	LBB0_12
LBB0_9:
	movl	%r12d, %edi
	callq	_RSTRING_LEN
	testq	%rax, %rax
	je	LBB0_17
## %bb.10:
	cmpl	$1, -52(%rbp)
	jne	LBB0_20
## %bb.11:
	leaq	-88(%rbp), %rdx
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_mrb_ary_new_from_values
	jmp	LBB0_18
LBB0_12:
	movl	-48(%rbp), %edi
	callq	_mrb_nil_p
	movl	-48(%rbp), %esi
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	movq	%r13, %rdi
	callq	_mrb_string_type
	movl	%eax, %esi
	movl	%eax, -48(%rbp)
LBB0_14:
	movl	%esi, %edi
	callq	_mrb_string_p
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movl	-48(%rbp), %edi
	callq	_RSTRING_LEN
	testq	%rax, %rax
	je	LBB0_46
LBB0_16:
	movl	-48(%rbp), %ebx
	movl	-52(%rbp), %edi
	callq	_mrb_fixnum_value
	leaq	L_.str.6(%rip), %rdx
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_mrb_funcall
	jmp	LBB0_18
LBB0_17:
	movq	%r13, %rdi
	callq	_mrb_ary_new
LBB0_18:
	movl	%eax, %r15d
LBB0_19:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	orb	%r14b, -41(%rbp)                ## 1-byte Folded Spill
	movq	%r13, %rdi
	callq	_mrb_ary_new
	movl	%eax, %r15d
	movl	-48(%rbp), %esi
	movq	_mrb_onig_regexp_type@GOTPCREL(%rip), %rdx
	movq	%r13, %rdi
	callq	_Data_Get_Struct
	movl	-48(%rbp), %edx
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_create_onig_region
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_DATA_PTR
	movq	%rax, %r14
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_mrb_str_to_cstr
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edi
	callq	_RSTRING_LEN
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edx
	xorl	%ebx, %ebx
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movl	%r12d, %ecx
	xorl	%r8d, %r8d
	callq	_onig_match_common
	testl	%eax, %eax
	js	LBB0_50
## %bb.21:
	movl	%eax, %r12d
	xorl	%eax, %eax
	cmpl	$2, -56(%rbp)                   ## 4-byte Folded Reload
	sete	%al
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movslq	%eax, %rcx
	addq	-80(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	incl	%eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	movl	%r15d, -64(%rbp)                ## 4-byte Spill
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	%r13, %rdi
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	movl	%r12d, %ecx
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %r8d
	callq	_onig_match_common
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_50
LBB0_23:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_40 Depth 2
	cmpl	%r12d, %ebx
	jne	LBB0_33
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movl	(%rax), %eax
	cmpl	(%rcx), %eax
	jne	LBB0_33
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=1
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_48
## %bb.26:                              ##   in Loop: Header=BB0_23 Depth=1
	movl	-84(%rbp), %r15d                ## 4-byte Reload
	cmpl	-104(%rbp), %r12d               ## 4-byte Folded Reload
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_23 Depth=1
	movl	%r12d, %edi
	addq	-80(%rbp), %rdi                 ## 8-byte Folded Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_utf8len
	movl	%eax, %r15d
	addl	%r12d, %r15d
LBB0_28:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	%r13, %rdi
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r8d
	callq	_onig_match_common
	testl	%eax, %eax
	js	LBB0_49
## %bb.29:                              ##   in Loop: Header=BB0_23 Depth=1
	cmpl	%eax, %r15d
	jne	LBB0_34
## %bb.30:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movl	(%rax), %eax
	cmpl	(%rcx), %eax
	jne	LBB0_45
## %bb.31:                              ##   in Loop: Header=BB0_23 Depth=1
	movl	%r12d, %edi
	addq	-80(%rbp), %rdi                 ## 8-byte Folded Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_utf8len
	movslq	%eax, %rcx
	movq	%r13, %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	%esi, %r12d
	callq	_str_substr
	movq	%r13, %rdi
	movl	-64(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_mrb_ary_push
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	movl	%ebx, %r15d
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_23 Depth=1
	movl	%r12d, %eax
LBB0_34:                                ##   in Loop: Header=BB0_23 Depth=1
	subl	%ebx, %eax
	movslq	%eax, %rcx
	movq	%r13, %rdi
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_str_substr
	movq	%r13, %rdi
	movl	-64(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_mrb_ary_push
	movq	8(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
LBB0_35:                                ##   in Loop: Header=BB0_23 Depth=1
	movl	16(%r14), %eax
	cmpl	$2, %eax
	jl	LBB0_43
## %bb.36:                              ##   in Loop: Header=BB0_23 Depth=1
	movl	$1, %ebx
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_40 Depth=2
	movslq	%eax, %rcx
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_str_substr
LBB0_38:                                ##   in Loop: Header=BB0_40 Depth=2
	movl	%eax, %edx
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_mrb_ary_push
	movl	16(%r14), %eax
LBB0_39:                                ##   in Loop: Header=BB0_40 Depth=2
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_43
LBB0_40:                                ##   Parent Loop BB0_23 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14), %rcx
	movl	(%rcx,%rbx,4), %edx
	cmpl	$-1, %edx
	je	LBB0_39
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=2
	movq	8(%r14), %rax
	movl	(%rax,%rbx,4), %eax
	subl	%edx, %eax
	jne	LBB0_37
## %bb.42:                              ##   in Loop: Header=BB0_40 Depth=2
	movq	%r13, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_mrb_str_new_lit
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_23 Depth=1
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_22
## %bb.44:                              ##   in Loop: Header=BB0_23 Depth=1
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	cmpl	%eax, -52(%rbp)
	jg	LBB0_22
	jmp	LBB0_47
LBB0_45:                                ##   in Loop: Header=BB0_23 Depth=1
	movl	%r15d, %eax
	jmp	LBB0_34
LBB0_46:
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_mrb_class_get
	movl	%eax, %edi
	callq	_mrb_obj_value
	movl	-48(%rbp), %r8d
	leaq	L_.str.5(%rip), %rdx
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$1, %ecx
	xorl	%eax, %eax
	callq	_mrb_funcall
	movl	%eax, -48(%rbp)
	jmp	LBB0_9
LBB0_47:
	movl	%r12d, %edi
	callq	_RSTRING_LEN
	testq	%rax, %rax
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	jg	LBB0_54
	jmp	LBB0_19
LBB0_48:
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdi
	callq	_mrb_str_new_lit
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_mrb_ary_push
	movl	%r12d, %ebx
	jmp	LBB0_50
LBB0_49:
	movl	%r12d, %ebx
	movl	-64(%rbp), %r15d                ## 4-byte Reload
LBB0_50:
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edi
	callq	_RSTRING_LEN
	testq	%rax, %rax
	jle	LBB0_58
## %bb.51:
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_54
## %bb.52:
	movl	%r12d, %edi
	callq	_RSTRING_LEN
	movslq	%ebx, %rcx
	cmpq	%rcx, %rax
	jg	LBB0_54
## %bb.53:
	cmpl	$0, -52(%rbp)
	jns	LBB0_58
LBB0_54:
	movl	%r12d, %edi
	callq	_RSTRING_LEN
	movslq	%ebx, %rbx
	cmpq	%rbx, %rax
	jne	LBB0_56
## %bb.55:
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdi
	callq	_mrb_str_new_lit
	jmp	LBB0_57
LBB0_56:
	movl	%r12d, %edi
	callq	_RSTRING_LEN
	subq	%rbx, %rax
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movq	%rax, %rcx
	callq	_str_substr
LBB0_57:
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_mrb_ary_push
LBB0_58:
	cmpl	$0, -52(%rbp)
	sete	%al
	movb	-41(%rbp), %cl                  ## 1-byte Reload
	andb	%al, %cl
	cmpb	$1, %cl
	jne	LBB0_19
	.p2align	4, 0x90
LBB0_59:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	callq	_RARRAY_LEN
	testl	%eax, %eax
	jle	LBB0_19
## %bb.60:                              ##   in Loop: Header=BB0_59 Depth=1
	decl	%eax
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_mrb_ary_ref
	movl	%eax, %edi
	callq	_RSTRING_LEN
	testq	%rax, %rax
	jne	LBB0_19
## %bb.61:                              ##   in Loop: Header=BB0_59 Depth=1
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_mrb_ary_pop
	jmp	LBB0_59
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"|oi"

L_.str.1:                               ## @.str.1
	.asciz	"$;"

L_.str.2:                               ## @.str.2
	.asciz	" "

	.comm	_E_TYPE_ERROR,4,2               ## @E_TYPE_ERROR
L_.str.3:                               ## @.str.3
	.asciz	"value of $; must be String or Regexp"

L_.str.4:                               ## @.str.4
	.asciz	"OnigRegexp"

L_.str.5:                               ## @.str.5
	.asciz	"new"

L_.str.6:                               ## @.str.6
	.asciz	"string_split"

	.comm	_mrb_onig_regexp_type,4,2       ## @mrb_onig_regexp_type
L_.str.7:                               ## @.str.7
	.space	1

	.no_dead_strip	_string_split
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function string_split
_string_split:                          ; @string_split
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x20, x1
	mov	x19, x0
	str	w1, [sp, #60]
	bl	_mrb_nil_value
	stp	wzr, w0, [sp, #52]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #56
	add	x3, sp, #52
	mov	x0, x19
	bl	_mrb_get_args
	mov	x27, x0
	cmp	w0, #2
	ldp	w8, w0, [sp, #52]
	ccmp	w8, #1, #8, eq
	cset	w8, lt
	str	w8, [sp, #48]                   ; 4-byte Folded Spill
	bl	_mrb_nil_p
	cbz	x0, LBB0_7
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mrb_intern_lit
	mov	x1, x0
	mov	x0, x19
	bl	_mrb_gv_get
	str	w0, [sp, #56]
	bl	_mrb_nil_p
	cbz	x0, LBB0_3
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_mrb_str_new_lit
	str	w0, [sp, #56]
	b	LBB0_6
LBB0_3:
	ldr	w0, [sp, #56]
	bl	_mrb_string_p
	cbnz	x0, LBB0_6
; %bb.4:
	ldr	w0, [sp, #56]
	bl	_ONIG_REGEXP_P
	cbnz	w0, LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _E_TYPE_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E_TYPE_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_mrb_raise
LBB0_6:
	cmp	w27, #0
	csinc	w27, w27, wzr, ne
LBB0_7:
	ldr	w0, [sp, #56]
	bl	_ONIG_REGEXP_P
	cbz	w0, LBB0_11
LBB0_8:
	mov	x0, x20
	bl	_RSTRING_LEN
	cbz	x0, LBB0_16
; %bb.9:
	ldr	w8, [sp, #52]
	cmp	w8, #1
	b.ne	LBB0_17
; %bb.10:
	add	x2, sp, #60
	mov	x0, x19
	mov	w1, #1
	bl	_mrb_ary_new_from_values
	mov	x21, x0
	b	LBB0_59
LBB0_11:
	ldr	w0, [sp, #56]
	bl	_mrb_nil_p
	ldr	w1, [sp, #56]
	cbnz	x0, LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_mrb_string_type
	mov	x1, x0
	str	w0, [sp, #56]
LBB0_13:
	mov	x0, x1
	bl	_mrb_string_p
	cbz	x0, LBB0_15
; %bb.14:
	ldr	w0, [sp, #56]
	bl	_RSTRING_LEN
	cbz	x0, LBB0_42
LBB0_15:
	ldp	w0, w21, [sp, #52]
	bl	_mrb_fixnum_value
                                        ; kill: def $w0 killed $w0 def $x0
Lloh11:
	adrp	x2, l_.str.6@PAGE
Lloh12:
	add	x2, x2, l_.str.6@PAGEOFF
	str	x0, [sp]
	mov	x0, x19
	mov	x1, x20
	mov	x3, x27
	mov	x4, x21
	bl	_mrb_funcall
	mov	x21, x0
	b	LBB0_59
LBB0_16:
	mov	x0, x19
	bl	_mrb_ary_new
	mov	x21, x0
	b	LBB0_59
LBB0_17:
	mov	x0, x19
	bl	_mrb_ary_new
	mov	x21, x0
	ldr	w1, [sp, #56]
Lloh13:
	adrp	x2, _mrb_onig_regexp_type@GOTPAGE
Lloh14:
	ldr	x2, [x2, _mrb_onig_regexp_type@GOTPAGEOFF]
	mov	x0, x19
	bl	_Data_Get_Struct
	ldr	w2, [sp, #56]
	mov	x0, x19
	mov	x1, x20
	bl	_create_onig_region
	mov	x22, x0
	bl	_DATA_PTR
	mov	x23, x0
	mov	x0, x19
	mov	x1, x20
	bl	_mrb_str_to_cstr
	mov	x28, x0
	mov	x0, x20
	bl	_RSTRING_LEN
	mov	x24, x0
	mov	x0, x19
	mov	x2, x22
	mov	x3, x20
	mov	w4, #0
	bl	_onig_match_common
	tbnz	w0, #31, LBB0_43
; %bb.18:
	mov	x26, x0
	mov	x8, x24
	mov	w24, #0
	cmp	w27, #2
	cset	w25, eq
	stp	x8, x28, [sp, #32]              ; 16-byte Folded Spill
	add	x9, x28, w8, sxtw
	str	x9, [sp, #16]                   ; 8-byte Folded Spill
	add	w8, w8, #1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
Lloh15:
	adrp	x28, l_.str.7@PAGE
Lloh16:
	add	x28, x28, l_.str.7@PAGEOFF
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x19
	mov	x2, x22
	mov	x3, x20
	mov	x4, x24
	bl	_onig_match_common
	mov	x26, x0
	tbnz	w0, #31, LBB0_47
LBB0_20:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_36 Depth 2
	cmp	w24, w26
	b.ne	LBB0_29
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldp	x8, x9, [x23]
	ldr	w8, [x8]
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_29
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_45
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	w27, [sp, #28]                  ; 4-byte Folded Reload
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	cmp	w26, w8
	b.eq	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x0, x8, w26, uxtw
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_utf8len
	add	w27, w0, w26
LBB0_25:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x19
	mov	x2, x22
	mov	x3, x20
	mov	x4, x27
	bl	_onig_match_common
	tbnz	w0, #31, LBB0_46
; %bb.26:                               ;   in Loop: Header=BB0_20 Depth=1
	cmp	w27, w0
	b.ne	LBB0_30
; %bb.27:                               ;   in Loop: Header=BB0_20 Depth=1
	ldp	x8, x9, [x23]
	ldr	w8, [x8]
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_41
; %bb.28:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x0, x8, w26, uxtw
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_utf8len
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x3, w0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x26
	bl	_str_substr
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_mrb_ary_push
	mov	x24, x27
	b	LBB0_31
LBB0_29:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x26
LBB0_30:                                ;   in Loop: Header=BB0_20 Depth=1
	sub	w8, w0, w24
	sxtw	x3, w8
	mov	x0, x19
	mov	x1, x20
	mov	x2, x24
	bl	_str_substr
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_mrb_ary_push
	ldr	x8, [x23, #8]
	ldr	w24, [x8]
LBB0_31:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	w8, [x23, #16]
	cmp	w8, #2
	b.lt	LBB0_39
; %bb.32:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	w26, #1
	b	LBB0_36
LBB0_33:                                ;   in Loop: Header=BB0_36 Depth=2
	sxtw	x3, w8
	mov	x0, x19
	mov	x1, x20
	bl	_str_substr
LBB0_34:                                ;   in Loop: Header=BB0_36 Depth=2
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_mrb_ary_push
	ldr	w8, [x23, #16]
LBB0_35:                                ;   in Loop: Header=BB0_36 Depth=2
	add	x26, x26, #1
	cmp	x26, w8, sxtw
	b.ge	LBB0_39
LBB0_36:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x23]
	ldr	w2, [x9, x26, lsl #2]
	cmn	w2, #1
	b.eq	LBB0_35
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=2
	ldr	x8, [x23, #8]
	ldr	w8, [x8, x26, lsl #2]
	subs	w8, w8, w2
	b.ne	LBB0_33
; %bb.38:                               ;   in Loop: Header=BB0_36 Depth=2
	mov	x0, x19
	mov	x1, x28
	bl	_mrb_str_new_lit
	b	LBB0_34
LBB0_39:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	w8, [sp, #48]                   ; 4-byte Folded Reload
	tbnz	w8, #0, LBB0_19
; %bb.40:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	w8, [sp, #52]
	add	w25, w25, #1
	cmp	w8, w25
	b.gt	LBB0_19
	b	LBB0_44
LBB0_41:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x27
	b	LBB0_30
LBB0_42:
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_mrb_class_get
	bl	_mrb_obj_value
	mov	x1, x0
	ldr	w4, [sp, #56]
Lloh19:
	adrp	x2, l_.str.5@PAGE
Lloh20:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w3, #1
	bl	_mrb_funcall
	str	w0, [sp, #56]
	b	LBB0_8
LBB0_43:
	mov	w24, #0
	b	LBB0_47
LBB0_44:
	mov	x0, x20
	bl	_RSTRING_LEN
	cmp	x0, #0
	b.gt	LBB0_51
	b	LBB0_59
LBB0_45:
Lloh21:
	adrp	x1, l_.str.7@PAGE
Lloh22:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_mrb_str_new_lit
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_mrb_ary_push
LBB0_46:
	mov	x24, x26
LBB0_47:
	mov	x0, x20
	bl	_RSTRING_LEN
	cmp	x0, #0
	b.le	LBB0_55
; %bb.48:
	ldr	w8, [sp, #48]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_51
; %bb.49:
	mov	x0, x20
	bl	_RSTRING_LEN
	cmp	x0, w24, sxtw
	b.gt	LBB0_51
; %bb.50:
	ldr	w8, [sp, #52]
	tbz	w8, #31, LBB0_55
LBB0_51:
	mov	x0, x20
	bl	_RSTRING_LEN
	sxtw	x22, w24
	cmp	x0, x22
	b.ne	LBB0_53
; %bb.52:
Lloh23:
	adrp	x1, l_.str.7@PAGE
Lloh24:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_mrb_str_new_lit
	b	LBB0_54
LBB0_53:
	mov	x0, x20
	bl	_RSTRING_LEN
	sub	x3, x0, x22
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_str_substr
LBB0_54:
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_mrb_ary_push
LBB0_55:
	ldp	w9, w8, [sp, #48]               ; 4-byte Folded Reload
	cmp	w8, #0
	cset	w8, eq
	and	w8, w9, w8
	cmp	w8, #1
	b.ne	LBB0_59
; %bb.56:
	mov	x0, x21
	bl	_RARRAY_LEN
	cmp	w0, #1
	b.lt	LBB0_59
LBB0_57:                                ; =>This Inner Loop Header: Depth=1
	sub	w2, w0, #1
	mov	x0, x19
	mov	x1, x21
	bl	_mrb_ary_ref
	bl	_RSTRING_LEN
	cbnz	x0, LBB0_59
; %bb.58:                               ;   in Loop: Header=BB0_57 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_mrb_ary_pop
	mov	x0, x21
	bl	_RARRAY_LEN
	cmp	w0, #0
	b.gt	LBB0_57
LBB0_59:
	mov	x0, x21
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"|oi"

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

l_.str.2:                               ; @.str.2
	.asciz	" "

	.comm	_E_TYPE_ERROR,4,2               ; @E_TYPE_ERROR
l_.str.3:                               ; @.str.3
	.asciz	"value of $; must be String or Regexp"

l_.str.4:                               ; @.str.4
	.asciz	"OnigRegexp"

l_.str.5:                               ; @.str.5
	.asciz	"new"

l_.str.6:                               ; @.str.6
	.asciz	"string_split"

	.comm	_mrb_onig_regexp_type,4,2       ; @mrb_onig_regexp_type
l_.str.7:                               ; @.str.7
	.space	1

	.no_dead_strip	_string_split
.subsections_via_symbols
