	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function capconst_l
_capconst_l:                            ## @capconst_l
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_lua_gettop
	movl	%eax, %r14d
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_newpatt
	movq	%rax, %r12
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_lua_createtable
	testl	%r14d, %r14d
	jle	LBB0_6
## %bb.1:
	negl	%r14d
	movl	$1, %ebx
	movq	_IEmptyCaptureIdx@GOTPCREL(%rip), %r13
	movl	$1, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	%r13d, %edx
	xorl	%r8d, %r8d
	callq	_setinstcap
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_lua_pushvalue
	leal	1(%r13), %r14d
	movq	%r15, %rdi
	movl	$-2, %esi
	movl	%r13d, %edx
	callq	_lua_rawseti
	movl	%r14d, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	_IEmptyCaptureIdx@GOTPCREL(%rip), %r13
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	$4, %r12d
	leal	(%r14,%rbx), %eax
	incl	%eax
	movl	%ebx, %ecx
	incl	%ecx
	movl	%ecx, %ebx
	cmpl	$1, %eax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_lua_isnil
	movl	(%r13), %esi
	movq	_Cconst@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r12d, %edi
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_setinstcap
	jmp	LBB0_5
LBB0_6:
	movq	%r15, %rdi
	movl	$-2, %esi
	callq	_lua_setfenv
	movl	$1, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEmptyCaptureIdx,4,2           ## @IEmptyCaptureIdx
	.comm	_Cconst,4,2                     ## @Cconst
	.no_dead_strip	_capconst_l
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function capconst_l
_capconst_l:                            ; @capconst_l
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	bl	_lua_gettop
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_newpatt
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_lua_createtable
	cmp	w20, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w24, #0
	mov	w22, #1
Lloh0:
	adrp	x25, _IEmptyCaptureIdx@GOTPAGE
Lloh1:
	ldr	x25, [x25, _IEmptyCaptureIdx@GOTPAGEOFF]
Lloh2:
	adrp	x26, _Cconst@GOTPAGE
Lloh3:
	ldr	x26, [x26, _Cconst@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x2, x22
	mov	w4, #0
	bl	_setinstcap
	mov	x0, x19
	mov	x1, x23
	bl	_lua_pushvalue
	add	w23, w22, #1
	mov	x0, x19
	mov	w1, #-2
	mov	x2, x22
	bl	_lua_rawseti
	mov	x22, x23
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #4
	add	w24, w24, #1
	cmp	w20, w24
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	w23, w24, #1
	mov	x0, x19
	mov	x1, x23
	bl	_lua_isnil
	ldr	w1, [x25]
	ldr	w3, [x26]
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	w2, #0
	mov	w4, #0
	bl	_setinstcap
	b	LBB0_3
LBB0_6:
	mov	x0, x19
	mov	w1, #-2
	bl	_lua_setfenv
	mov	w0, #1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IEmptyCaptureIdx,4,2           ; @IEmptyCaptureIdx
	.comm	_Cconst,4,2                     ; @Cconst
	.no_dead_strip	_capconst_l
.subsections_via_symbols
