	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mrb_str_lines
_mrb_str_lines:                         ## @mrb_str_lines
	.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
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	%esi, %edi
	callq	_RSTRING_PTR
	movq	%rax, %r14
	movl	%ebx, %edi
	callq	_RSTRING_LEN
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_mrb_get_args
	movq	%r15, %rdi
	callq	_mrb_ary_new
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_mrb_gc_arena_save
	testl	%ebx, %ebx
	jle	LBB0_7
## %bb.1:
	movl	%eax, %r12d
	movslq	%ebx, %rbx
	addq	%r14, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r13d, %r13d
	cmpb	$10, (%rax)
	sete	%r13b
	addq	%rax, %r13
	movq	%r13, %rdx
	subq	%r14, %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_mrb_str_new
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_mrb_ary_push
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_mrb_gc_arena_restore
	movq	%r13, %r14
	cmpq	%rbx, %r13
	jae	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	%r14, %rax
	cmpq	%rbx, %r14
	jae	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rax
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$10, (%rax)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	incq	%rax
	cmpq	%rbx, %rax
	jb	LBB0_4
	jmp	LBB0_6
LBB0_7:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	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
	.space	1

	.no_dead_strip	_mrb_str_lines
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mrb_str_lines
_mrb_str_lines:                         ; @mrb_str_lines
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_RSTRING_PTR
	mov	x21, x0
	mov	x0, x20
	bl	_RSTRING_LEN
	mov	x23, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_mrb_get_args
	mov	x0, x19
	bl	_mrb_ary_new
	mov	x20, x0
	mov	x0, x19
	bl	_mrb_gc_arena_save
	cmp	w23, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x22, x0
	sxtw	x8, w23
	add	x23, x21, x8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x9, x8
	ldrb	w10, [x9], #1
	cmp	w10, #10
	csel	x24, x8, x9, ne
	sub	x2, x24, x21
	mov	x0, x19
	mov	x1, x21
	bl	_mrb_str_new
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_mrb_ary_push
	mov	x0, x19
	mov	x1, x22
	bl	_mrb_gc_arena_restore
	mov	x21, x24
	cmp	x24, x23
	b.hs	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	x8, x21
	cmp	x21, x23
	b.hs	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x9, x23, x21
	mov	x8, x21
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x8]
	cmp	w10, #10
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x8, x8, #1
	subs	x9, x9, #1
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x23
	b	LBB0_2
LBB0_8:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_mrb_str_lines
.subsections_via_symbols
