	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scope_finish
_scope_finish:                          ## @scope_finish
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	40(%rdi), %r15
	movq	$0, 64(%r15)
	movq	64(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edx
	shll	$2, %edx
	movq	%rbx, %rdi
	callq	_codegen_realloc
	movq	%rax, 56(%r15)
	movl	(%rbx), %eax
	movl	%eax, (%r15)
LBB0_2:
	movq	48(%r15), %rsi
	movl	4(%r15), %edx
	shll	$3, %edx
	movq	%rbx, %rdi
	callq	_codegen_realloc
	movq	%rax, 48(%r15)
	movq	40(%r15), %rsi
	movl	8(%r15), %edx
	shll	$3, %edx
	movq	%rbx, %rdi
	callq	_codegen_realloc
	movq	%rax, 40(%r15)
	movq	32(%r15), %rsi
	movl	12(%r15), %edx
	shll	$3, %edx
	movq	%rbx, %rdi
	callq	_codegen_realloc
	movq	%rax, 32(%r15)
	cmpq	$0, 56(%rbx)
	je	LBB0_4
## %bb.3:
	movl	48(%rbx), %esi
	movl	52(%rbx), %edi
	callq	_mrb_parser_get_filename
	movq	24(%rbx), %rdi
	movq	40(%rbx), %rcx
	movl	24(%rcx), %esi
	movl	(%rbx), %r9d
	movl	20(%rbx), %ecx
	movl	32(%rbx), %r8d
	movq	%rax, %rdx
	callq	_mrb_debug_info_append_file
LBB0_4:
	movq	24(%rbx), %rdi
	movl	20(%rbx), %esi
	callq	_mrb_free
	movl	16(%rbx), %eax
	movl	%eax, 20(%r15)
	movl	12(%rbx), %eax
	movl	%eax, 16(%r15)
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_mrb_gc_arena_restore
	movl	4(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mrb_pool_close                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_scope_finish
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scope_finish
_scope_finish:                          ; @scope_finish
	.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
	mov	x19, x0
	ldr	x20, [x0, #24]
	ldr	x21, [x0, #40]
	str	xzr, [x21, #64]
	ldr	x1, [x0, #64]
	cbz	x1, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	lsl	w2, w8, #2
	mov	x0, x19
	bl	_codegen_realloc
	str	x0, [x21, #56]
	ldr	w8, [x19]
	str	w8, [x21]
LBB0_2:
	ldr	x1, [x21, #48]
	ldr	w8, [x21, #4]
	lsl	w2, w8, #3
	mov	x0, x19
	bl	_codegen_realloc
	str	x0, [x21, #48]
	ldr	x1, [x21, #40]
	ldr	w8, [x21, #8]
	lsl	w2, w8, #3
	mov	x0, x19
	bl	_codegen_realloc
	str	x0, [x21, #40]
	ldr	x1, [x21, #32]
	ldr	w8, [x21, #12]
	lsl	w2, w8, #3
	mov	x0, x19
	bl	_codegen_realloc
	str	x0, [x21, #32]
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_4
; %bb.3:
	ldp	w1, w0, [x19, #48]
	bl	_mrb_parser_get_filename
	mov	x2, x0
	ldr	x0, [x19, #24]
	ldr	x8, [x19, #40]
	ldr	w1, [x8, #24]
	ldr	w3, [x19, #20]
	ldr	w4, [x19, #32]
	ldr	w5, [x19]
	bl	_mrb_debug_info_append_file
LBB0_4:
	ldr	x0, [x19, #24]
	ldr	w1, [x19, #20]
	bl	_mrb_free
	ldur	d0, [x19, #12]
	str	d0, [x21, #16]
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_mrb_gc_arena_restore
	ldr	w0, [x19, #4]
	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
	b	_mrb_pool_close
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_scope_finish
.subsections_via_symbols
