	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function forstat
_forstat:                               ## @forstat
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	leaq	-28(%rbp), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_enterblock
	movq	%rbx, %rdi
	callq	_luaX_next
	movq	%rbx, %rdi
	callq	_str_checkname
	movl	(%rbx), %ecx
	cmpl	$44, %ecx
	je	LBB0_4
## %bb.1:
	cmpl	$128, %ecx
	je	LBB0_4
## %bb.2:
	cmpl	$61, %ecx
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	%r14d, %edx
	callq	_fornum
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_forlist
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_luaX_syntaxerror
LBB0_6:
	movq	_TK_END@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TK_FOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	callq	_check_match
	movq	%r15, %rdi
	callq	_leaveblock
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"'=' or 'in' expected"

	.comm	_TK_END,4,2                     ## @TK_END
	.comm	_TK_FOR,4,2                     ## @TK_FOR
	.no_dead_strip	_forstat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function forstat
_forstat:                               ; @forstat
	.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	x20, x1
	mov	x21, x0
	ldr	x19, [x0, #8]
	add	x1, sp, #12
	mov	x0, x19
	mov	w2, #1
	bl	_enterblock
	mov	x0, x21
	bl	_luaX_next
	mov	x0, x21
	bl	_str_checkname
	mov	x1, x0
	ldr	w8, [x21]
	cmp	w8, #44
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #61
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x21
	mov	x2, x20
	bl	_fornum
	b	LBB0_6
LBB0_4:
	mov	x0, x21
	bl	_forlist
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_luaX_syntaxerror
LBB0_6:
Lloh2:
	adrp	x8, _TK_END@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TK_END@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _TK_FOR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TK_FOR@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x3, x20
	bl	_check_match
	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 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	"'=' or 'in' expected"

	.comm	_TK_END,4,2                     ; @TK_END
	.comm	_TK_FOR,4,2                     ; @TK_FOR
	.no_dead_strip	_forstat
.subsections_via_symbols
