	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scope_new
_scope_new:                             ## @scope_new
	.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
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_mrb_pool_open
	movq	%rax, %r13
	movq	%rax, %rdi
	movl	$152, %esi
	callq	_mrb_pool_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	xorps	%xmm0, %xmm0
	movups	%xmm0, 128(%rax)
	movups	%xmm0, 112(%rax)
	movups	%xmm0, 96(%rax)
	movups	%xmm0, 80(%rax)
	movups	%xmm0, 64(%rax)
	movups	%xmm0, 48(%rax)
	movups	%xmm0, 32(%rax)
	movups	%xmm0, 16(%rax)
	movups	%xmm0, (%rax)
	movq	$0, 144(%rax)
	movq	%r15, 136(%rax)
	movq	%r13, 128(%rax)
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.3:
	movq	%rbx, 120(%r12)
	movl	$-1, (%r12)
	movq	$0, 112(%r12)
	movq	%r15, %rdi
	callq	_mrb_add_irep
	movq	%rax, 48(%r12)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_scope_add_irep
	movl	$8, 4(%r12)
	movq	%r15, %rdi
	movl	$64, %esi
	callq	_mrb_malloc
	movq	48(%r12), %rcx
	movq	%rax, 56(%rcx)
	movl	$1024, 8(%r12)                  ## imm = 0x400
	movq	%r15, %rdi
	movl	$4096, %esi                     ## imm = 0x1000
	callq	_mrb_malloc
	movq	%rax, 104(%r12)
	movq	48(%r12), %rax
	movq	$0, 48(%rax)
	movl	$32, 12(%r12)
	movq	%r15, %rdi
	movl	$128, %esi
	callq	_mrb_malloc
	movq	48(%r12), %rcx
	movq	%rax, 40(%rcx)
	movq	$0, 32(%rcx)
	movl	$256, 16(%r12)                  ## imm = 0x100
	movq	%r15, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_mrb_malloc
	movq	48(%r12), %rcx
	movq	%rax, 24(%rcx)
	movq	$0, 16(%rcx)
	movq	%r14, 96(%r12)
	movq	%r14, %rdi
	callq	_node_len
	movl	20(%r12), %esi
	leal	(%rsi,%rax), %ecx
	incl	%ecx
	movl	%ecx, 20(%r12)
	movl	%ecx, 24(%r12)
	testq	%r14, %r14
	je	LBB0_10
## %bb.4:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	addl	%eax, %esi
	shll	$4, %esi
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_mrb_malloc
	movq	48(%r12), %rcx
	movq	%rax, 8(%rcx)
	movl	$1, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	callq	_lv_name
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_lv_idx
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	48(%r12), %rcx
	movq	8(%rcx), %rcx
	movq	%rax, (%rcx,%rbx)
	movq	(%r14), %r14
	incq	%r13
	addq	$16, %rbx
	testq	%r14, %r14
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_lv_name
	movq	48(%r12), %rcx
	movq	8(%rcx), %rcx
	movq	%rax, 8(%rcx,%rbx)
	movq	%r14, %rdi
	callq	_lv_name
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_1:
	xorl	%r12d, %r12d
	jmp	LBB0_16
LBB0_9:
	movslq	24(%r12), %rax
	xorl	%edi, %edi
	cmpq	%r13, %rax
	sete	%dil
	callq	_mrb_assert
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_10:
	movq	%r15, %rdi
	callq	_mrb_gc_arena_save
	movl	%eax, 88(%r12)
	movq	56(%rbx), %rax
	movq	%rax, 56(%r12)
	testq	%rax, %rax
	je	LBB0_11
## %bb.13:
	movl	8(%r12), %esi
	addl	%esi, %esi
	movq	%r15, %rdi
	callq	_mrb_malloc
	movq	%rax, 80(%r12)
	movl	72(%rbx), %eax
	movl	%eax, 72(%r12)
	movq	$0, 64(%r12)
	cmpq	$0, 56(%r12)
	je	LBB0_12
## %bb.14:
	movq	48(%r12), %rsi
	movq	%r15, %rdi
	callq	_mrb_debug_info_alloc
	jmp	LBB0_15
LBB0_11:
	movl	72(%rbx), %eax
	movl	%eax, 72(%r12)
	movq	$0, 64(%r12)
LBB0_12:
	movq	48(%r12), %rax
	movq	$0, (%rax)
LBB0_15:
	movl	44(%rbx), %eax
	movl	%eax, 44(%r12)
	movl	40(%rbx), %eax
	movl	%eax, 40(%r12)
	movq	32(%rbx), %rax
	incq	%rax
	movq	%rax, 32(%r12)
LBB0_16:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_scope_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scope_new
_scope_new:                             ; @scope_new
	.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	x22, x2
	mov	x19, x1
	mov	x21, x0
	bl	_mrb_pool_open
	mov	x23, x0
	mov	w1, #152
	bl	_mrb_pool_alloc
	mov	x20, x0
	cbz	x0, LBB0_14
; %bb.1:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x20, #112]
	stp	x21, xzr, [x20, #136]
	stp	q0, q0, [x20, #80]
	stp	q0, q0, [x20, #48]
	stp	q0, q0, [x20, #16]
	str	q0, [x20]
	str	x23, [x20, #128]
	cbz	x19, LBB0_14
; %bb.2:
	mov	w8, #-1
	str	w8, [x20]
	stp	xzr, x19, [x20, #112]
	mov	x0, x21
	bl	_mrb_add_irep
	mov	x1, x0
	str	x0, [x20, #48]
	mov	x0, x19
	bl	_scope_add_irep
	mov	w8, #8
	str	w8, [x20, #4]
	mov	x0, x21
	mov	w1, #64
	bl	_mrb_malloc
	ldr	x8, [x20, #48]
	str	x0, [x8, #56]
	mov	w8, #1024
	str	w8, [x20, #8]
	mov	x0, x21
	mov	w1, #4096
	bl	_mrb_malloc
	str	x0, [x20, #104]
	ldr	x8, [x20, #48]
	str	xzr, [x8, #48]
	mov	w8, #32
	str	w8, [x20, #12]
	mov	x0, x21
	mov	w1, #128
	bl	_mrb_malloc
	ldr	x8, [x20, #48]
	stp	xzr, x0, [x8, #32]
	mov	w8, #256
	str	w8, [x20, #16]
	mov	x0, x21
	mov	w1, #1024
	bl	_mrb_malloc
	ldr	x8, [x20, #48]
	stp	xzr, x0, [x8, #16]
	str	x22, [x20, #96]
	mov	x0, x22
	bl	_node_len
	ldr	w8, [x20, #20]
	add	w8, w8, w0
	add	w9, w8, #1
	stp	w9, w9, [x20, #20]
	cbz	x22, LBB0_8
; %bb.3:
	lsl	w1, w8, #4
	mov	x0, x21
	bl	_mrb_malloc
	mov	x23, #0
	ldr	x8, [x20, #48]
	str	x0, [x8, #8]
	mov	w24, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #48]
	ldr	x8, [x8, #8]
	str	x0, [x8, x23]
	ldr	x22, [x22]
	add	x24, x24, #1
	add	x23, x23, #16
	cbz	x22, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_lv_name
	ldr	x8, [x20, #48]
	ldr	x8, [x8, #8]
	add	x8, x8, x23
	str	x0, [x8, #8]
	mov	x0, x22
	bl	_lv_name
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_lv_name
	mov	x1, x0
	mov	x0, x20
	bl	_lv_idx
	b	LBB0_4
LBB0_7:
	ldrsw	x8, [x20, #24]
	cmp	x8, x24
	cset	w0, eq
	bl	_mrb_assert
LBB0_8:
	mov	x0, x21
	bl	_mrb_gc_arena_save
	str	w0, [x20, #88]
	ldr	x8, [x19, #56]
	str	x8, [x20, #56]
	cbz	x8, LBB0_11
; %bb.9:
	ldr	w8, [x20, #8]
	lsl	w1, w8, #1
	mov	x0, x21
	bl	_mrb_malloc
	str	x0, [x20, #80]
	ldr	x8, [x20, #56]
	ldr	w9, [x19, #72]
	str	w9, [x20, #72]
	str	xzr, [x20, #64]
	cbz	x8, LBB0_12
; %bb.10:
	ldr	x1, [x20, #48]
	mov	x0, x21
	bl	_mrb_debug_info_alloc
	b	LBB0_13
LBB0_11:
	ldr	w8, [x19, #72]
	str	w8, [x20, #72]
	str	xzr, [x20, #64]
LBB0_12:
	ldr	x8, [x20, #48]
	str	xzr, [x8]
LBB0_13:
	ldr	d0, [x19, #40]
	str	d0, [x20, #40]
	ldr	x8, [x19, #32]
	add	x8, x8, #1
	str	x8, [x20, #32]
LBB0_14:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_scope_new
.subsections_via_symbols
