	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function star_l
_star_l:                                ## @star_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$2, %esi
	callq	_luaL_checkint
	movl	%eax, %r14d
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_getpatt
	movq	%rax, %r15
	testl	%r14d, %r14d
	js	LBB0_7
## %bb.1:
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	callq	_tocharset
	movq	_ISCHARSET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movl	-32(%rbp), %esi
	movl	-28(%rbp), %edx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	callq	_repeatcharset
	jmp	LBB0_11
LBB0_7:
	movq	%r15, %rdi
	callq	_isheadfail
	negl	%r14d
	movl	-28(%rbp), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	callq	_optionalheadfail
	jmp	LBB0_10
LBB0_3:
	movq	%r15, %rdi
	callq	_isheadfail
	movl	-28(%rbp), %edx
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	%edx, %esi
	movl	%r14d, %edx
	callq	_repeatheadfail
	jmp	LBB0_6
LBB0_9:
	callq	_optionals
	jmp	LBB0_10
LBB0_5:
	movq	%r15, %rsi
	movl	%r14d, %ecx
	callq	_repeats
LBB0_6:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_optimizecaptures
	movq	%rbx, %rdi
	callq	_optimizejumps
LBB0_10:
	movl	$1, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISCHARSET,8,3                  ## @ISCHARSET
	.no_dead_strip	_star_l
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function star_l
_star_l:                                ; @star_l
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	w1, #2
	bl	_luaL_checkint
	mov	x20, x0
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #1
	bl	_getpatt
	mov	x21, x0
	tbnz	w20, #31, LBB0_3
; %bb.1:
	add	x1, sp, #8
	mov	x0, x21
	bl	_tocharset
Lloh0:
	adrp	x8, _ISCHARSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISCHARSET@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	ldp	w1, w2, [sp, #8]
	mov	x0, x19
	mov	x3, x20
	bl	_repeatcharset
	b	LBB0_11
LBB0_3:
	mov	x0, x21
	bl	_isheadfail
	ldr	w1, [sp, #12]
	neg	w2, w20
	cbz	x0, LBB0_7
; %bb.4:
	mov	x0, x19
	bl	_optionalheadfail
	b	LBB0_10
LBB0_5:
	mov	x0, x21
	bl	_isheadfail
	ldr	w2, [sp, #12]
	cbz	x0, LBB0_8
; %bb.6:
	mov	x0, x19
	mov	x1, x2
	mov	x2, x20
	bl	_repeatheadfail
	b	LBB0_9
LBB0_7:
	mov	x0, x19
	bl	_optionals
	b	LBB0_10
LBB0_8:
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	bl	_repeats
LBB0_9:
	mov	x19, x0
	bl	_optimizecaptures
	mov	x0, x19
	bl	_optimizejumps
LBB0_10:
	mov	w0, #1
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ISCHARSET,8,3                  ; @ISCHARSET
	.no_dead_strip	_star_l
.subsections_via_symbols
