	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function repeatstat
_repeatstat:                            ## @repeatstat
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	movq	%r15, %rdi
	callq	_luaK_getlabel
	movl	%eax, %r14d
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_enterblock
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_enterblock
	movq	%rbx, %rdi
	callq	_luaX_next
	movq	%rbx, %rdi
	callq	_chunk
	movq	_TK_UNTIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TK_REPEAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r12d, %ecx
	callq	_check_match
	movq	%rbx, %rdi
	callq	_cond
	movl	%eax, %r12d
	cmpl	$0, -40(%rbp)
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_breakstat
	movq	(%rbx), %rdi
	movl	%r12d, %esi
	callq	_luaK_patchtohere
	movq	%r15, %rdi
	callq	_leaveblock
	movq	(%rbx), %rbx
	movq	%r15, %rdi
	callq	_luaK_jump
	movq	%rbx, %rdi
	movl	%eax, %esi
	jmp	LBB0_3
LBB0_1:
	movq	%r15, %rdi
	callq	_leaveblock
	movq	(%rbx), %rdi
	movl	%r12d, %esi
LBB0_3:
	movl	%r14d, %edx
	callq	_luaK_patchlist
	movq	%r15, %rdi
	callq	_leaveblock
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TK_UNTIL,4,2                   ## @TK_UNTIL
	.comm	_TK_REPEAT,4,2                  ## @TK_REPEAT
	.no_dead_strip	_repeatstat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function repeatstat
_repeatstat:                            ; @repeatstat
	.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	x22, x1
	mov	x21, x0
	ldr	x19, [x0]
	mov	x0, x19
	bl	_luaK_getlabel
	mov	x20, x0
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	bl	_enterblock
	mov	x1, sp
	mov	x0, x19
	mov	w2, #0
	bl	_enterblock
	mov	x0, x21
	bl	_luaX_next
	mov	x0, x21
	bl	_chunk
Lloh0:
	adrp	x8, _TK_UNTIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TK_UNTIL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _TK_REPEAT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TK_REPEAT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x3, x22
	bl	_check_match
	mov	x0, x21
	bl	_cond
	mov	x22, x0
	ldr	w8, [sp]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_breakstat
	ldr	x0, [x21]
	mov	x1, x22
	bl	_luaK_patchtohere
	mov	x0, x19
	bl	_leaveblock
	ldr	x21, [x21]
	mov	x0, x19
	bl	_luaK_jump
	mov	x1, x0
	mov	x0, x21
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_leaveblock
	ldr	x0, [x21]
	mov	x1, x22
LBB0_3:
	mov	x2, x20
	bl	_luaK_patchlist
	mov	x0, x19
	bl	_leaveblock
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TK_UNTIL,4,2                   ; @TK_UNTIL
	.comm	_TK_REPEAT,4,2                  ; @TK_REPEAT
	.no_dead_strip	_repeatstat
.subsections_via_symbols
