	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function match
_match:                                 ## @match
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXBACK@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movl	%eax, %eax
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rcx
	movq	_IMAXCAPTURES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	leaq	16(%rcx), %rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	_giveup@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rcx)
	movq	%r15, (%rcx)
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movl	$0, 8(%rcx)
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	subq	%rbx, %r14
	movq	%r14, -152(%rbp)                ## 8-byte Spill
	movl	$1, %r13d
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_50:                                ##   in Loop: Header=BB0_1 Depth=1
	testq	%r13, %r13
	jle	LBB0_51
## %bb.52:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, -24(%r14)
	setne	%al
LBB0_53:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movzbl	%al, %edi
	callq	_assert
	decq	%r13
LBB0_42:                                ##   in Loop: Header=BB0_1 Depth=1
	movslq	12(%rbx), %rax
LBB0_43:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	(%rax,%rax,2), %rax
	leaq	(%rbx,%rax,8), %rbx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_33 Depth 2
                                        ##     Child Loop BB0_36 Depth 2
                                        ##     Child Loop BB0_64 Depth 2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %eax
	addl	$-128, %eax
	cmpl	$28, %eax
	ja	LBB0_92
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	(,%r13,2), %r12
	addq	%r13, %r12
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%r12,8), %r14
	movl	$1, %ebx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_26:                                ##   in Loop: Header=BB0_1 Depth=1
	movzbl	(%r15), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	44(%rbx), %edi
	callq	_testchar
	testl	%eax, %eax
	je	LBB0_63
## %bb.27:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	1(%r15), %rax
	movq	_CHARSETINSTSIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rbx,%rcx,8), %rbx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	cmpq	-104(%rbp), %r15                ## 8-byte Folded Reload
	movq	%rax, %r15
	jb	LBB0_1
	jmp	LBB0_63
LBB0_28:                                ##   in Loop: Header=BB0_1 Depth=1
	movzbl	(%r15), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	44(%rbx), %edi
	callq	_testchar
	testl	%eax, %eax
	setne	%cl
	cmpq	-104(%rbp), %r15                ## 8-byte Folded Reload
	setb	%al
	andb	%cl, %al
	je	LBB0_29
## %bb.30:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_CHARSETINSTSIZE@GOTPCREL(%rip), %rcx
	jmp	LBB0_31
LBB0_22:                                ##   in Loop: Header=BB0_1 Depth=1
	movzbl	(%r15), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	44(%rbx), %edi
	callq	_testchar
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%al
	je	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_CHARSETINSTSIZE@GOTPCREL(%rip), %rdx
	jmp	LBB0_25
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movsbl	(%r15), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	%eax, 8(%rcx)
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	-104(%rbp), %r15                ## 8-byte Folded Reload
	jb	LBB0_17
	jmp	LBB0_20
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movslq	8(%rdx), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	subq	%r15, %rcx
	cmpq	%rax, %rcx
	jl	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	addq	$24, %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	addq	%rax, %r15
	jmp	LBB0_1
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-104(%rbp), %r14                ## 8-byte Reload
	cmpq	%r14, %r15
	jae	LBB0_4
## %bb.35:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rbx
	subq	%r15, %rbx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_36:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r15), %esi
	movl	44(%r12), %edi
	callq	_testchar
	testl	%eax, %eax
	je	LBB0_39
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=2
	incq	%r15
	decq	%rbx
	jne	LBB0_36
## %bb.38:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %r15
	jmp	LBB0_39
LBB0_32:                                ##   in Loop: Header=BB0_1 Depth=1
	decq	%r15
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_33:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%r15), %esi
	incq	%r15
	movl	44(%rbx), %edi
	callq	_testchar
	testl	%eax, %eax
	jne	LBB0_33
## %bb.34:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_CHARSETINSTSIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	jmp	LBB0_43
LBB0_21:                                ##   in Loop: Header=BB0_1 Depth=1
	movzbl	(%r15), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	44(%rbx), %edi
	callq	_testchar
	incq	%r15
	movq	_CHARSETINSTSIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rbx,%rcx,8), %rbx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	jne	LBB0_1
	jmp	LBB0_63
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	testq	%r13, %r13
	jle	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, -24(%r14)
	sete	%al
	jmp	LBB0_10
LBB0_54:                                ##   in Loop: Header=BB0_1 Depth=1
	testq	%r13, %r13
	jle	LBB0_55
## %bb.56:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, -24(%r14)
	setne	%al
	jmp	LBB0_57
LBB0_86:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_88
LBB0_44:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	movslq	12(%rcx), %rax
	leaq	(%rax,%rax,2), %rax
	leaq	(%rcx,%rax,8), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_40:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	68(%rbx), %edi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	%r15, %rdx
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	callq	*24(%rbx)
	testq	%rax, %rax
	je	LBB0_63
## %bb.41:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r15
	jmp	LBB0_42
LBB0_87:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_getoff
	movl	%eax, %ebx
	incl	%ebx
	jmp	LBB0_88
LBB0_62:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edi, %edi
	testq	%r13, %r13
	setg	%dil
	callq	_assert
	decq	%r13
	jmp	LBB0_63
LBB0_66:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_lua_gettop
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	leal	1(%rax), %r14d
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	movslq	-72(%rbp), %rax                 ## 4-byte Folded Reload
	leaq	(%rax,%rax,2), %rax
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rax,8), %rsi
	movq	%rbx, %rdi
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rcx
	movq	%r15, %r8
	movl	16(%rbp), %r9d
	callq	_runtimecap
	movl	%eax, -132(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_lua_tointeger
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_lua_gettop
	movl	-60(%rbp), %esi                 ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	subl	$1, %r14d
	jae	LBB0_73
## %bb.67:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%esi, %r14d
	callq	_lua_toboolean
	movq	%rbx, %rdi
	testl	%eax, %eax
	je	LBB0_68
## %bb.69:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %esi
	callq	_lua_isboolean
	testl	%eax, %eax
	je	LBB0_70
## %bb.71:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %r14d
	movq	-112(%rbp), %r12                ## 8-byte Reload
	subl	%r12d, %r14d
	jmp	LBB0_72
LBB0_83:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_getoff
	movl	%eax, %r14d
	xorl	%edi, %edi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	testl	%r12d, %r12d
	setg	%dil
	callq	_assert
	leal	-1(%r12), %eax
	cltq
	leaq	(%rax,%rax,2), %rax
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	cmpl	$0, 8(%rsi,%rax,8)
	jne	LBB0_88
## %bb.84:                              ##   in Loop: Header=BB0_1 Depth=1
	movslq	%r14d, %rdx
	movq	%r15, %rcx
	subq	%rdx, %rcx
	subq	(%rsi,%rax,8), %rcx
	movq	_UCHAR_MAX@GOTPCREL(%rip), %rdx
	cmpq	%rcx, (%rdx)
	jbe	LBB0_88
## %bb.85:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rax,8), %rax
	addq	$8, %rax
	incl	%ecx
	movl	%ecx, (%rax)
	addq	$24, -56(%rbp)                  ## 8-byte Folded Spill
	jmp	LBB0_1
LBB0_88:                                ##   in Loop: Header=BB0_1 Depth=1
	movslq	-72(%rbp), %rax                 ## 4-byte Folded Reload
	leaq	(%rax,%rax,2), %r14
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movl	%ebx, 8(%r12,%r14,8)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_getoff
	cltq
	movq	%r15, %rcx
	subq	%rax, %rcx
	movq	%rcx, (%r12,%r14,8)
	movl	12(%rbx), %eax
	movl	%eax, 16(%r12,%r14,8)
	movq	%rbx, %rdi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	callq	_getkind
	movl	%eax, 12(%r12,%r14,8)
	incl	%ebx
	cmpl	-84(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jl	LBB0_90
## %bb.89:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%ebx, %edx
	movl	16(%rbp), %ecx
	callq	_doublecap
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leal	(%rbx,%rbx), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
LBB0_90:                                ##   in Loop: Header=BB0_1 Depth=1
	addq	$24, -56(%rbp)                  ## 8-byte Folded Spill
	jmp	LBB0_1
LBB0_45:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	-144(%rbp), %r13                ## 8-byte Folded Reload
	jge	LBB0_46
## %bb.47:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edi, %edi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_dest
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	movq	%rax, 16(%rdx,%r12,8)
	movslq	8(%rbx), %rax
	movq	%r15, %rcx
	subq	%rax, %rcx
	movq	%rcx, (%r14)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 8(%rdx,%r12,8)
	incq	%r13
	addq	$24, %rbx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movsbl	(%r15), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	%eax, 8(%rcx)
	jne	LBB0_63
## %bb.16:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	-104(%rbp), %r15                ## 8-byte Folded Reload
	jae	LBB0_63
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	addq	$24, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	incq	%r15
	jmp	LBB0_1
LBB0_48:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	-144(%rbp), %r13                ## 8-byte Folded Reload
	jge	LBB0_46
## %bb.49:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, (%r14)
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	24(%rdx), %rax
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, 16(%rcx,%r12,8)
	incq	%r13
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movslq	12(%rdx), %rax
	leaq	(%rax,%rax,2), %rax
	leaq	(%rdx,%rax,8), %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_58:                                ##   in Loop: Header=BB0_1 Depth=1
	testq	%r13, %r13
	jle	LBB0_59
## %bb.60:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, -24(%r14)
	setne	%al
	jmp	LBB0_61
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movslq	8(%rdx), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	subq	%r15, %rcx
	addq	$24, %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	addq	%rax, %r15
	cmpq	%rax, %rcx
	jge	LBB0_1
	jmp	LBB0_63
LBB0_29:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	12(%rbx), %rcx
LBB0_31:                                ##   in Loop: Header=BB0_1 Depth=1
	movzbl	%al, %eax
	addq	%rax, %r15
	movslq	(%rcx), %rax
	jmp	LBB0_43
LBB0_23:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	12(%rbx), %rdx
LBB0_25:                                ##   in Loop: Header=BB0_1 Depth=1
	movb	%al, %cl
	addq	%rcx, %r15
	movslq	(%rdx), %rax
	jmp	LBB0_43
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_39:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_CHARSETINSTSIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rax,%rax,2), %rax
	leaq	(%r12,%rax,8), %r12
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_51:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_53
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movzbl	%al, %edi
	callq	_assert
	decq	%r13
	movq	-8(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_55:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
LBB0_57:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movzbl	%al, %edi
	callq	_assert
	movq	%r15, -24(%r14)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, -16(%r14)
	jmp	LBB0_42
LBB0_59:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
LBB0_61:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movzbl	%al, %edi
	callq	_assert
	decq	%r13
	leaq	(,%r13,2), %rax
	addq	%r13, %rax
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx,%rax,8), %r15
	jmp	LBB0_42
LBB0_68:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-160(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_lua_settop
LBB0_63:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	(,%r13,2), %rax
	addq	%r13, %rax
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rbx
	.p2align	4, 0x90
LBB0_64:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%edi, %edi
	testq	%r13, %r13
	setg	%dil
	callq	_assert
	decq	%r13
	movq	-40(%rbx), %r15
	addq	$-24, %rbx
	testq	%r15, %r15
	je	LBB0_64
## %bb.65:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-8(%rbx), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_70:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$-1, %r14d
	movq	-112(%rbp), %r12                ## 8-byte Reload
LBB0_72:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movq	-120(%rbp), %rax                ## 8-byte Reload
LBB0_73:                                ##   in Loop: Header=BB0_1 Depth=1
	subl	%esi, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movslq	%r14d, %r14
	subq	%r12, %r15
	cmpq	%r14, %r15
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	jg	LBB0_75
## %bb.74:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%r14, -152(%rbp)                ## 8-byte Folded Reload
	jge	LBB0_76
LBB0_75:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_luaL_error
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movq	-112(%rbp), %r12                ## 8-byte Reload
LBB0_76:                                ##   in Loop: Header=BB0_1 Depth=1
	addq	%r12, %r14
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	subl	-132(%rbp), %r12d               ## 4-byte Folded Reload
	movq	%rbx, %rdi
	callq	_lua_remove
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	testl	%ebx, %ebx
	jle	LBB0_77
## %bb.78:                              ##   in Loop: Header=BB0_1 Depth=1
	addl	%ebx, %r12d
	incl	%r12d
	cmpl	-84(%rbp), %r12d                ## 4-byte Folded Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jge	LBB0_80
## %bb.79:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_81
LBB0_77:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_82
LBB0_80:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	movl	16(%rbp), %ecx
	callq	_doublecap
	leal	(%r12,%r12), %ecx
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
LBB0_81:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movslq	%r12d, %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rdx,8), %rax
	movl	%ebx, %edx
	negq	%rdx
	leaq	(%rdx,%rdx,2), %rdx
	leaq	(%rax,%rdx,8), %rsi
	addq	$-24, %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_adddyncaptures
LBB0_82:                                ##   in Loop: Header=BB0_1 Depth=1
	addq	$24, %r15
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %r15
	jmp	LBB0_1
LBB0_46:
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_luaL_error
	jmp	LBB0_93
LBB0_91:
	movl	16(%rbp), %edi
	callq	_penvidx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	12(%rcx), %edx
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_lua_rawgeti
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_val2str
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_luaL_error
LBB0_92:
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_assert
	jmp	LBB0_93
LBB0_6:
	xorl	%edi, %edi
	testq	%r13, %r13
	sete	%dil
	callq	_assert
	xorl	%r15d, %r15d
	jmp	LBB0_93
LBB0_5:
	xorl	%edi, %edi
	cmpq	$1, %r13
	sete	%dil
	callq	_assert
	movq	_Cclose@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movslq	-72(%rbp), %rcx                 ## 4-byte Folded Reload
	leaq	(%rcx,%rcx,2), %rcx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, 12(%rdx,%rcx,8)
	movq	$0, (%rdx,%rcx,8)
LBB0_93:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_95
## %bb.94:
	movq	%r15, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_95:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_54, LBB0_54-LJTI0_0
.set L0_0_set_86, LBB0_86-LJTI0_0
.set L0_0_set_91, LBB0_91-LJTI0_0
.set L0_0_set_44, LBB0_44-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_87, LBB0_87-LJTI0_0
.set L0_0_set_62, LBB0_62-LJTI0_0
.set L0_0_set_63, LBB0_63-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_88, LBB0_88-LJTI0_0
.set L0_0_set_50, LBB0_50-LJTI0_0
.set L0_0_set_66, LBB0_66-LJTI0_0
.set L0_0_set_83, LBB0_83-LJTI0_0
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_48, LBB0_48-LJTI0_0
.set L0_0_set_58, LBB0_58-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_26
	.long	L0_0_set_28
	.long	L0_0_set_22
	.long	L0_0_set_18
	.long	L0_0_set_12
	.long	L0_0_set_3
	.long	L0_0_set_32
	.long	L0_0_set_21
	.long	L0_0_set_7
	.long	L0_0_set_54
	.long	L0_0_set_86
	.long	L0_0_set_91
	.long	L0_0_set_44
	.long	L0_0_set_6
	.long	L0_0_set_40
	.long	L0_0_set_87
	.long	L0_0_set_62
	.long	L0_0_set_63
	.long	L0_0_set_5
	.long	L0_0_set_88
	.long	L0_0_set_88
	.long	L0_0_set_50
	.long	L0_0_set_66
	.long	L0_0_set_83
	.long	L0_0_set_45
	.long	L0_0_set_15
	.long	L0_0_set_48
	.long	L0_0_set_58
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_MAXBACK,4,2                    ## @MAXBACK
	.comm	_IMAXCAPTURES,4,2               ## @IMAXCAPTURES
	.comm	_giveup,24,3                    ## @giveup
	.comm	_Cclose,4,2                     ## @Cclose
	.comm	_CHARSETINSTSIZE,4,2            ## @CHARSETINSTSIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too many pending calls/choices"

L_.str.1:                               ## @.str.1
	.asciz	"invalid position returned by match-time capture"

	.comm	_UCHAR_MAX,8,3                  ## @UCHAR_MAX
L_.str.2:                               ## @.str.2
	.asciz	"reference to %s outside a grammar"

	.no_dead_strip	_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function match
_match:                                 ; @match
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #80
	mov	x28, x6
	mov	x27, x5
	mov	x26, x4
	mov	x20, x3
	mov	x25, x2
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXBACK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXBACK@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x8]
	and	x8, x9, #0xffffffff
	stur	x9, [x29, #-128]                ; 8-byte Folded Spill
	add	x8, x8, w9, uxtw #1
	lsl	x9, x8, #3
	add	x8, x9, #15
	and	x8, x8, #0x3ffffffff0
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x22, x9, x8
	mov	sp, x22
	mov	w24, #0
Lloh8:
	adrp	x8, _IMAXCAPTURES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IMAXCAPTURES@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	stur	w8, [x29, #-92]                 ; 4-byte Folded Spill
Lloh11:
	adrp	x8, _giveup@GOTPAGE
Lloh12:
	ldr	x8, [x8, _giveup@GOTPAGEOFF]
	mov	x9, x22
	str	x8, [x9, #16]!
	stp	x1, x9, [x29, #-112]            ; 16-byte Folded Spill
	str	x2, [x22]
	str	wzr, [x22, #8]
	sub	x8, x3, x1
	stp	x8, x0, [x29, #-160]            ; 16-byte Folded Spill
	mov	w21, #1
	stur	x3, [x29, #-136]                ; 8-byte Folded Spill
	stur	w6, [x29, #-144]                ; 4-byte Folded Spill
	b	LBB0_6
LBB0_1:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	x21, #1
	b.lt	LBB0_57
; %bb.2:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x19, #-24]
	cmp	x8, #0
	cset	w0, ne
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_assert
	stur	x25, [x19, #-24]
	stur	w24, [x19, #-16]
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrsw	x8, [x26, #12]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w9, #24
	madd	x26, x8, x9, x26
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_71 Depth 2
	ldr	w8, [x26, #16]
	sub	w9, w8, #128
	cmp	w9, #28
	b.hi	LBB0_76
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #24
	madd	x19, x21, x8, x22
	mov	w8, #1
Lloh13:
	adrp	x12, lJTI0_0@PAGE
Lloh14:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x10, LBB0_1
	ldrh	w11, [x12, x9, lsl #1]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x19, x25
	ldrb	w1, [x19], #1
	ldr	w0, [x26, #44]
	bl	_testchar
	cbz	w0, LBB0_70
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh15:
	adrp	x8, _CHARSETINSTSIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CHARSETINSTSIZE@GOTPAGEOFF]
Lloh17:
	ldrsw	x8, [x8]
	mov	w9, #24
	madd	x26, x8, x9, x26
	cmp	x25, x20
	mov	x25, x19
	b.lo	LBB0_6
	b	LBB0_70
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w1, [x25]
	ldr	w0, [x26, #44]
	bl	_testchar
	cmp	w0, #0
	cset	w8, ne
	cmp	x25, x20
	cset	w9, lo
	add	x10, x26, #12
Lloh18:
	adrp	x11, _CHARSETINSTSIZE@GOTPAGE
Lloh19:
	ldr	x11, [x11, _CHARSETINSTSIZE@GOTPAGEOFF]
	ands	w8, w8, w9
	csel	x9, x11, x10, ne
	add	x25, x25, x8
	ldrsw	x8, [x9]
	b	LBB0_5
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x19, x25
	ldrb	w1, [x19], #1
	ldr	w0, [x26, #44]
	bl	_testchar
	add	x8, x26, #12
Lloh20:
	adrp	x9, _CHARSETINSTSIZE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CHARSETINSTSIZE@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x8, x9, eq
	csel	x25, x25, x19, eq
	ldrsw	x8, [x8]
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrsb	w8, [x25]
	ldr	w9, [x26, #8]
	cmp	w9, w8
	ccmp	x25, x20, #2, eq
	b.hs	LBB0_4
	b	LBB0_47
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrsw	x8, [x26, #8]
	sub	x9, x20, x25
	cmp	x9, x8
	b.lt	LBB0_4
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x26, x26, #24
	add	x25, x25, x8
	b	LBB0_6
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x25, x20
	b.hs	LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	x19, x20, x25
LBB0_17:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w1, [x25]
	ldr	w0, [x26, #44]
	bl	_testchar
	cbz	w0, LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	add	x25, x25, #1
	subs	x19, x19, #1
	b.ne	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x20
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x25, x25, #1
LBB0_21:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w1, [x25, #1]!
	ldr	w0, [x26, #44]
	bl	_testchar
	cbnz	w0, LBB0_21
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh22:
	adrp	x8, _CHARSETINSTSIZE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CHARSETINSTSIZE@GOTPAGEOFF]
Lloh24:
	ldrsw	x8, [x8]
	b	LBB0_5
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w1, [x25], #1
	ldr	w0, [x26, #44]
	bl	_testchar
Lloh25:
	adrp	x8, _CHARSETINSTSIZE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CHARSETINSTSIZE@GOTPAGEOFF]
Lloh27:
	ldrsw	x8, [x8]
	mov	w9, #24
	madd	x26, x8, x9, x26
	cbnz	w0, LBB0_6
	b	LBB0_70
LBB0_24:                                ;   in Loop: Header=BB0_6 Depth=1
	subs	x21, x21, #1
	b.lt	LBB0_58
; %bb.25:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x19, #-24]
	cmp	x8, #0
	cset	w0, eq
	b	LBB0_59
LBB0_26:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #0
	b	LBB0_54
LBB0_27:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x26, #24]
	ldr	w0, [x26, #68]
	ldur	x1, [x29, #-112]                ; 8-byte Folded Reload
	mov	x2, x25
	mov	x3, x20
	blr	x8
	cbz	x0, LBB0_70
; %bb.28:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x0
	b	LBB0_4
LBB0_29:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	bl	_getoff
	add	w8, w0, #1
	b	LBB0_54
LBB0_30:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x21, #0
	cset	w0, gt
	bl	_assert
	sub	x21, x21, #1
	b	LBB0_70
LBB0_31:                                ;   in Loop: Header=BB0_6 Depth=1
	subs	x21, x21, #1
	b.lt	LBB0_60
; %bb.32:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x19, #-24]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	b	LBB0_4
LBB0_33:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_lua_gettop
	mov	x20, x0
	mov	x2, x27
	add	w27, w0, #1
	mov	w8, #24
	smaddl	x1, w24, w8, x2
	mov	x0, x23
	stur	x2, [x29, #-120]                ; 8-byte Folded Spill
	ldur	x3, [x29, #-112]                ; 8-byte Folded Reload
	mov	x4, x25
	mov	x5, x28
	bl	_runtimecap
	stur	w0, [x29, #-140]                ; 4-byte Folded Spill
	mov	x0, x23
	mov	x1, x27
	bl	_lua_tointeger
	mov	x19, x0
	mov	x0, x23
	bl	_lua_gettop
	mov	x28, x0
	cbz	w19, LBB0_61
; %bb.34:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w19, #1
LBB0_35:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w20, w28, w27
	sxtw	x19, w8
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	sub	x8, x25, x8
	cmp	x8, x19
	ldur	x23, [x29, #-152]               ; 8-byte Folded Reload
	b.gt	LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	cmp	x8, x19
	b.ge	LBB0_38
LBB0_37:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_luaL_error
LBB0_38:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	add	x25, x8, x19
	ldur	w8, [x29, #-140]                ; 4-byte Folded Reload
	sub	w24, w24, w8
	mov	x0, x23
	mov	x1, x27
	bl	_lua_remove
	cmp	w20, #1
	ldur	w28, [x29, #-144]               ; 4-byte Folded Reload
	b.lt	LBB0_68
; %bb.39:                               ;   in Loop: Header=BB0_6 Depth=1
	add	w8, w24, w20
	add	w24, w8, #1
	ldur	w8, [x29, #-92]                 ; 4-byte Folded Reload
	cmp	w24, w8
	b.ge	LBB0_66
; %bb.40:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x0, [x29, #-120]                ; 8-byte Folded Reload
	b	LBB0_67
LBB0_41:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	bl	_getoff
	mov	x20, x0
	cmp	w24, #0
	cset	w0, gt
	bl	_assert
	sxtw	x8, w24
	sub	x9, x8, #1
	mov	w8, #24
	madd	x8, x9, x8, x27
	ldr	w10, [x8, #8]!
	cbnz	w10, LBB0_53
; %bb.42:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w10, #24
	mul	x9, x9, x10
	ldr	x9, [x27, x9]
	sub	x10, x25, w20, sxtw
Lloh30:
	adrp	x11, _UCHAR_MAX@GOTPAGE
Lloh31:
	ldr	x11, [x11, _UCHAR_MAX@GOTPAGEOFF]
Lloh32:
	ldr	x11, [x11]
	sub	x9, x10, x9
	cmp	x11, x9
	b.ls	LBB0_53
; %bb.43:                               ;   in Loop: Header=BB0_6 Depth=1
	add	w9, w9, #1
	str	w9, [x8]
	add	x26, x26, #24
	ldur	x20, [x29, #-136]               ; 8-byte Folded Reload
	b	LBB0_6
LBB0_44:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	cmp	x21, x8
	b.ge	LBB0_74
; %bb.45:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #0
	mov	x1, x26
	bl	_dest
	mov	w8, #24
	madd	x8, x21, x8, x22
	str	x0, [x8, #16]
	ldrsw	x9, [x26, #8]
	sub	x9, x25, x9
	str	x9, [x19]
	str	w24, [x8, #8]
	add	x21, x21, #1
	add	x26, x26, #24
	b	LBB0_6
LBB0_46:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrsb	w8, [x25]
	ldr	w9, [x26, #8]
	cmp	w9, w8
	ccmp	x25, x20, #2, eq
	b.hs	LBB0_70
LBB0_47:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x26, x26, #24
	add	x25, x25, #1
	b	LBB0_6
LBB0_48:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	cmp	x21, x8
	b.ge	LBB0_74
; %bb.49:                               ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [x19]
	add	x8, x26, #24
	mov	w9, #24
	madd	x10, x21, x9, x22
	str	x8, [x10, #16]
	add	x21, x21, #1
	ldrsw	x8, [x26, #12]
	madd	x26, x8, x9, x26
	b	LBB0_6
LBB0_50:                                ;   in Loop: Header=BB0_6 Depth=1
	subs	x21, x21, #1
	b.lt	LBB0_64
; %bb.51:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x19, #-24]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_65
LBB0_52:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrsw	x8, [x26, #8]
	add	x26, x26, #24
	sub	x9, x20, x25
	add	x25, x25, x8
	cmp	x9, x8
	b.ge	LBB0_6
	b	LBB0_70
LBB0_53:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #1
	ldur	x20, [x29, #-136]               ; 8-byte Folded Reload
LBB0_54:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w9, #24
	smaddl	x19, w24, w9, x27
	str	w8, [x19, #8]
	mov	x0, x26
	bl	_getoff
	sub	x8, x25, w0, sxtw
	str	x8, [x19]
	ldr	w8, [x26, #12]
	str	w8, [x19, #16]
	mov	x0, x26
	bl	_getkind
	str	w0, [x19, #12]
	add	w24, w24, #1
	ldur	w8, [x29, #-92]                 ; 4-byte Folded Reload
	cmp	w24, w8
	b.lt	LBB0_56
; %bb.55:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	mov	x1, x27
	mov	x2, x24
	mov	x3, x28
	bl	_doublecap
	mov	x27, x0
	lsl	w8, w24, #1
	stur	w8, [x29, #-92]                 ; 4-byte Folded Spill
LBB0_56:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x26, x26, #24
	b	LBB0_6
LBB0_57:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #0
	b	LBB0_3
LBB0_58:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #0
LBB0_59:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_assert
	ldur	x26, [x19, #-8]
	b	LBB0_6
LBB0_60:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #0
	bl	_assert
	b	LBB0_4
LBB0_61:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	mov	x1, x27
	bl	_lua_toboolean
	cbz	w0, LBB0_69
; %bb.62:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	mov	x1, x27
	bl	_lua_isboolean
	cbz	w0, LBB0_73
; %bb.63:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	sub	w8, w25, w8
	b	LBB0_35
LBB0_64:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #0
LBB0_65:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_assert
	mov	w8, #24
	mul	x9, x21, x8
	ldr	x25, [x22, x9]
	ldrsw	x9, [x26, #12]
	madd	x26, x9, x8, x26
	b	LBB0_6
LBB0_66:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	ldur	x1, [x29, #-120]                ; 8-byte Folded Reload
	mov	x2, x24
	mov	x3, x28
	bl	_doublecap
	lsl	w8, w24, #1
	stur	w8, [x29, #-92]                 ; 4-byte Folded Spill
LBB0_67:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #24
	stur	x0, [x29, #-120]                ; 8-byte Folded Spill
	smaddl	x9, w24, w8, x0
	mneg	x8, x20, x8
	add	x8, x9, x8
	sub	x1, x8, #24
	mov	x0, x25
	mov	x2, x20
	mov	x3, x27
	bl	_adddyncaptures
LBB0_68:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x26, x26, #24
	ldur	x27, [x29, #-120]               ; 8-byte Folded Reload
	ldur	x20, [x29, #-136]               ; 8-byte Folded Reload
	b	LBB0_6
LBB0_69:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	mov	x1, x20
	bl	_lua_settop
	ldur	w28, [x29, #-144]               ; 4-byte Folded Reload
	ldur	x27, [x29, #-120]               ; 8-byte Folded Reload
	ldur	x20, [x29, #-136]               ; 8-byte Folded Reload
LBB0_70:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #24
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	madd	x19, x21, x8, x9
LBB0_71:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x21, #0
	cset	w0, gt
	bl	_assert
	sub	x21, x21, #1
	ldur	x25, [x19, #-40]
	sub	x19, x19, #24
	cbz	x25, LBB0_71
; %bb.72:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	w24, [x19, #-8]
	ldr	x26, [x19]
	b	LBB0_6
LBB0_73:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #-1
	b	LBB0_35
LBB0_74:
Lloh33:
	adrp	x1, l_.str@PAGE
Lloh34:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_luaL_error
	b	LBB0_79
LBB0_75:
	mov	x0, x28
	bl	_penvidx
	mov	x1, x0
	ldr	w2, [x26, #12]
	mov	x0, x23
	bl	_lua_rawgeti
	mov	x0, x23
	mov	w1, #-1
	bl	_val2str
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_luaL_error
	add	sp, sp, #16
LBB0_76:
	mov	w0, #0
	b	LBB0_78
LBB0_77:
	cmp	x21, #0
	cset	w0, eq
LBB0_78:
	bl	_assert
LBB0_79:
	mov	x25, #0
LBB0_80:
	ldur	x8, [x29, #-88]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_83
; %bb.81:
	mov	x0, x25
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_82:
	cmp	x21, #1
	cset	w0, eq
	bl	_assert
Lloh40:
	adrp	x8, _Cclose@GOTPAGE
Lloh41:
	ldr	x8, [x8, _Cclose@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	mov	w9, #24
	smaddl	x9, w24, w9, x27
	str	w8, [x9, #12]
	str	xzr, [x9]
	b	LBB0_80
LBB0_83:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
	.section	__TEXT,__const
	.p2align	1
lJTI0_0:
	.short	(LBB0_8-LBB0_1)>>2
	.short	(LBB0_10-LBB0_1)>>2
	.short	(LBB0_11-LBB0_1)>>2
	.short	(LBB0_12-LBB0_1)>>2
	.short	(LBB0_13-LBB0_1)>>2
	.short	(LBB0_15-LBB0_1)>>2
	.short	(LBB0_20-LBB0_1)>>2
	.short	(LBB0_23-LBB0_1)>>2
	.short	(LBB0_24-LBB0_1)>>2
	.short	(LBB0_1-LBB0_1)>>2
	.short	(LBB0_26-LBB0_1)>>2
	.short	(LBB0_75-LBB0_1)>>2
	.short	(LBB0_4-LBB0_1)>>2
	.short	(LBB0_77-LBB0_1)>>2
	.short	(LBB0_27-LBB0_1)>>2
	.short	(LBB0_29-LBB0_1)>>2
	.short	(LBB0_30-LBB0_1)>>2
	.short	(LBB0_70-LBB0_1)>>2
	.short	(LBB0_82-LBB0_1)>>2
	.short	(LBB0_54-LBB0_1)>>2
	.short	(LBB0_54-LBB0_1)>>2
	.short	(LBB0_31-LBB0_1)>>2
	.short	(LBB0_33-LBB0_1)>>2
	.short	(LBB0_41-LBB0_1)>>2
	.short	(LBB0_44-LBB0_1)>>2
	.short	(LBB0_46-LBB0_1)>>2
	.short	(LBB0_48-LBB0_1)>>2
	.short	(LBB0_50-LBB0_1)>>2
	.short	(LBB0_52-LBB0_1)>>2
                                        ; -- End function
	.comm	_MAXBACK,4,2                    ; @MAXBACK
	.comm	_IMAXCAPTURES,4,2               ; @IMAXCAPTURES
	.comm	_giveup,24,3                    ; @giveup
	.comm	_Cclose,4,2                     ; @Cclose
	.comm	_CHARSETINSTSIZE,4,2            ; @CHARSETINSTSIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too many pending calls/choices"

l_.str.1:                               ; @.str.1
	.asciz	"invalid position returned by match-time capture"

	.comm	_UCHAR_MAX,8,3                  ; @UCHAR_MAX
l_.str.2:                               ; @.str.2
	.asciz	"reference to %s outside a grammar"

	.no_dead_strip	_match
.subsections_via_symbols
