	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function closegoto
_closegoto:                             ## @closegoto
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	8(%rdi), %r13
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %r14
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movslq	%esi, %r15
	leaq	(%r15,%r15,2), %r12
	movq	16(%r14,%r12,8), %rdi
	movq	16(%rdx), %rsi
	callq	_eqstr
	movl	%eax, %edi
	callq	_lua_assert
	movq	(%r14,%r12,8), %rsi
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	cmpq	(%rbx), %rsi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	jge	LBB0_2
## %bb.1:
	leaq	(%r14,%r12,8), %rax
	addq	$16, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_getlocvar
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_getstr
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	12(%r14,%r12,8), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_getstr
	leaq	L_.str(%rip), %rsi
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r8d
	callq	_luaO_pushfstring
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_semerror
LBB0_2:
	movl	8(%r14,%r12,8), %esi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edx
	movq	%rbx, %rdi
	callq	_luaK_patchlist
	movl	(%r13), %ecx
	decl	%ecx
	cmpl	-60(%rbp), %ecx                 ## 4-byte Folded Reload
	jle	LBB0_5
## %bb.3:
	leaq	(,%r15,8), %rax
	leaq	(%rax,%rax,2), %rax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rcx
	incq	%r15
	movq	40(%rcx,%rax), %rdx
	movq	%rdx, 16(%rcx,%rax)
	movups	24(%rcx,%rax), %xmm0
	movups	%xmm0, (%rcx,%rax)
	movslq	(%r13), %rcx
	decq	%rcx
	addq	$24, %rax
	cmpq	%rcx, %r15
	jl	LBB0_4
LBB0_5:
	movl	%ecx, (%r13)
	addq	$56, %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
	.asciz	"<goto %s> at line %d jumps into the scope of local '%s'"

	.no_dead_strip	_closegoto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function closegoto
_closegoto:                             ; @closegoto
	.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	x20, x2
	mov	x19, x1
	mov	x22, x0
	ldp	x27, x21, [x0, #8]
	ldr	x24, [x27, #8]
	sxtw	x28, w19
	mov	w8, #24
	smaddl	x25, w1, w8, x24
	smull	x23, w1, w8
	ldr	x0, [x25, #16]!
	ldr	x1, [x2, #16]
	bl	_eqstr
	bl	_lua_assert
	ldr	x1, [x24, x23]
	ldr	x8, [x20]
	cmp	x1, x8
	b.ge	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_getlocvar
	ldr	x23, [x0]
	ldr	w8, [x22]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldr	x0, [x25]
	bl	_getstr
	mov	x25, x0
	mov	w8, #24
	madd	x8, x28, x8, x24
	ldr	w26, [x8, #12]
	mov	x0, x23
	bl	_getstr
	mov	x4, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	mov	x2, x25
	mov	x3, x26
	bl	_luaO_pushfstring
	mov	x1, x0
	mov	x0, x22
	bl	_semerror
LBB0_2:
	mov	w8, #24
	madd	x8, x28, x8, x24
	ldr	w1, [x8, #8]
	ldr	w2, [x20, #8]
	mov	x0, x21
	bl	_luaK_patchlist
	ldr	w8, [x27]
	sub	w9, w8, #1
	cmp	w9, w19
	b.le	LBB0_5
; %bb.3:
	add	x8, x28, x28, lsl #1
	lsl	x8, x8, #3
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x27, #8]
	add	x28, x28, #1
	add	x9, x9, x8
	ldur	q0, [x9, #24]
	str	q0, [x9]
	ldr	x10, [x9, #40]
	str	x10, [x9, #16]
	ldrsw	x9, [x27]
	sub	x9, x9, #1
	add	x8, x8, #24
	cmp	x28, x9
	b.lt	LBB0_4
LBB0_5:
	str	w9, [x27]
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<goto %s> at line %d jumps into the scope of local '%s'"

	.no_dead_strip	_closegoto
.subsections_via_symbols
