	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	subl	$1, 24(%rdi)
	jae	LBB0_2
## %bb.1:
	movl	28(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_luaL_error
LBB0_2:
	movq	(%r15), %rcx
	cmpq	%r12, %rcx
	je	LBB0_3
## %bb.4:
	leaq	LJTI0_0(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r14
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15), %rcx
	movq	%rbx, %r12
	movq	%r14, %rax
	cmpq	%rcx, %rbx
	je	LBB0_28
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r12), %eax
	cmpl	$36, %eax
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$41, %eax
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$40, %eax
	jne	LBB0_15
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%r12), %rax
	cmpq	%rcx, %rax
	je	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_classend
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%rax, %rcx
	callq	_singlematch
	movsbl	(%rbx), %ecx
	testl	%eax, %eax
	je	LBB0_16
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	addl	$-42, %ecx
	cmpl	$21, %ecx
	ja	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	movslq	(%r13,%rcx,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%r14), %rsi
	incq	%rbx
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_match
	testq	%rax, %rax
	je	LBB0_27
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$63, %cl
	ja	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movzbl	%cl, %eax
	movabsq	$-9223332454436175872, %rcx     ## imm = 0x8000240000000000
	btq	%rax, %rcx
	movl	$0, %eax
	jae	LBB0_28
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	jmp	LBB0_27
LBB0_3:
	movq	%r14, %rax
	jmp	LBB0_28
LBB0_12:
	incq	%r12
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_end_capture
	jmp	LBB0_28
LBB0_8:
	cmpb	$41, 1(%r12)
	jne	LBB0_11
## %bb.9:
	addq	$2, %r12
	movq	_CAP_POSITION@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_14:
	xorl	%eax, %eax
	cmpq	8(%r15), %r14
	cmoveq	%r14, %rax
	jmp	LBB0_28
LBB0_23:
	incq	%r14
LBB0_24:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_max_expand
	jmp	LBB0_28
LBB0_25:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_min_expand
	jmp	LBB0_28
LBB0_11:
	incq	%r12
	movq	_CAP_UNFINISHED@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_start_capture
LBB0_28:
	incl	24(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	xorl	%eax, %eax
	jmp	LBB0_28
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
LJTI0_0:
	.long	L0_0_set_24
	.long	L0_0_set_23
	.long	L0_0_set_26
	.long	L0_0_set_25
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_22
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pattern too complex"

	.comm	_CAP_POSITION,4,2               ## @CAP_POSITION
	.comm	_CAP_UNFINISHED,4,2             ## @CAP_UNFINISHED
	.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	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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0, #24]
	sub	w9, w8, #1
	str	w9, [x0, #24]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	w0, [x19, #28]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_luaL_error
LBB0_2:
	ldr	x8, [x19]
	cmp	x8, x21
	b.eq	LBB0_26
; %bb.3:
	mov	w23, #1
	mov	x24, #39582418599936
	movk	x24, #32768, lsl #48
Lloh2:
	adrp	x25, lJTI0_0@PAGE
Lloh3:
	add	x25, x25, lJTI0_0@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x20, x20, #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	mov	x21, x22
	cmp	x22, x8
	b.eq	LBB0_26
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w9, [x21]
	cmp	w9, #36
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w9, #41
	b.eq	LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w9, #40
	b.ne	LBB0_10
	b	LBB0_17
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x21, #1
	cmp	x9, x8
	b.eq	LBB0_19
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_classend
	mov	x22, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	_singlematch
	ldrsb	w8, [x22]
	cbz	w0, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w8, #42
	cmp	w8, #21
	b.hi	LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	adr	x9, LBB0_4
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x1, x20, #1
	add	x22, x22, #1
	mov	x0, x19
	mov	x2, x22
	bl	_match
	cbz	x0, LBB0_5
	b	LBB0_25
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	and	x9, x8, #0xff
	cmp	w8, #63
	lsl	x8, x23, x9
	and	x8, x8, x24
	ccmp	x8, #0, #4, ls
	b.eq	LBB0_27
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	b	LBB0_5
LBB0_16:
	add	x2, x21, #1
	mov	x0, x19
	mov	x1, x20
	bl	_end_capture
	b	LBB0_25
LBB0_17:
	mov	x2, x21
	ldrb	w8, [x2, #1]!
	cmp	w8, #41
	b.ne	LBB0_23
; %bb.18:
	add	x2, x21, #2
Lloh4:
	adrp	x8, _CAP_POSITION@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CAP_POSITION@GOTPAGEOFF]
	b	LBB0_24
LBB0_19:
	ldr	x8, [x19, #8]
	cmp	x20, x8
	csel	x20, x20, xzr, eq
	b	LBB0_26
LBB0_20:
	add	x20, x20, #1
LBB0_21:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	_max_expand
	b	LBB0_25
LBB0_22:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	_min_expand
	b	LBB0_25
LBB0_23:
Lloh6:
	adrp	x8, _CAP_UNFINISHED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CAP_UNFINISHED@GOTPAGEOFF]
LBB0_24:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_start_capture
LBB0_25:
	mov	x20, x0
LBB0_26:
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
	mov	x0, x20
	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
LBB0_27:
	mov	x20, #0
	b	LBB0_26
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_20-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_22-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pattern too complex"

	.comm	_CAP_POSITION,4,2               ; @CAP_POSITION
	.comm	_CAP_UNFINISHED,4,2             ; @CAP_UNFINISHED
	.no_dead_strip	_match
.subsections_via_symbols
