	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function repeats
_repeats:                               ## @repeats
	.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
	movl	%ecx, %r13d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leal	1(%r13), %esi
	imull	%edx, %esi
	addl	$2, %esi
	callq	_newpatt
	movq	%rax, %r14
	movslq	%r15d, %rax
	leaq	(%rbx,%rax,4), %rcx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_verify
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_luaL_error
LBB0_2:
	movq	%r14, %rbx
	testl	%r13d, %r13d
	jle	LBB0_5
## %bb.3:
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_addpatt
	cltq
	leaq	(%rbx,%rax,4), %rbx
	decl	%r13d
	jne	LBB0_4
LBB0_5:
	leaq	4(%rbx), %r13
	movq	_IChoice@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	2(%r15), %edx
	movq	%rbx, %rdi
	callq	_setinst
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_addpatt
	cltq
	leaq	(%rbx,%rax,4), %rdi
	addq	$4, %rdi
	movq	_IPartialCommit@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	negl	%r15d
	movl	%r15d, %edx
	callq	_setinst
	movq	%r14, %rax
	addq	$8, %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	"loop body may accept empty string"

	.comm	_IChoice,4,2                    ## @IChoice
	.comm	_IPartialCommit,4,2             ## @IPartialCommit
	.no_dead_strip	_repeats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function repeats
_repeats:                               ; @repeats
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x19, x2
	mov	x23, x1
	mov	x21, x0
	madd	w8, w2, w3, w2
	add	w1, w8, #2
	bl	_newpatt
	mov	x20, x0
	add	x3, x23, w19, sxtw #2
	mov	x0, x21
	mov	x1, x23
	mov	x2, x23
	mov	w4, #0
	mov	w5, #0
	bl	_verify
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_luaL_error
LBB0_2:
	mov	x23, x20
	cmp	w22, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x23, x20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x23
	mov	w2, #1
	bl	_addpatt
	add	x23, x23, w0, sxtw #2
	subs	w22, w22, #1
	b.ne	LBB0_4
LBB0_5:
	add	x22, x23, #4
Lloh2:
	adrp	x8, _IChoice@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IChoice@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	w2, w19, #2
	mov	x0, x23
	bl	_setinst
	mov	x0, x21
	mov	x1, x22
	mov	w2, #1
	bl	_addpatt
	add	x0, x22, w0, sxtw #2
Lloh5:
	adrp	x8, _IPartialCommit@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IPartialCommit@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	neg	w2, w19
	bl	_setinst
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"loop body may accept empty string"

	.comm	_IChoice,4,2                    ; @IChoice
	.comm	_IPartialCommit,4,2             ; @IPartialCommit
	.no_dead_strip	_repeats
.subsections_via_symbols
