	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function errorlimit
_errorlimit:                            ## @errorlimit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %r8
	movl	%esi, %ecx
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	(%rax), %edx
	movl	16(%rdi), %edi
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_luaO_pushfstring
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movl	%ecx, %edx
	movq	%r8, %rcx
	xorl	%eax, %eax
	callq	_luaO_pushfstring
LBB0_3:
	movl	(%rbx), %edi
	movq	%rax, %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_luaX_lexerror                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"main function has more than %d %s"

L_.str.1:                               ## @.str.1
	.asciz	"function at line %d has more than %d %s"

	.no_dead_strip	_errorlimit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function errorlimit
_errorlimit:                            ; @errorlimit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x1
	mov	x19, x0
	ldr	x9, [x0, #8]
	ldr	w9, [x9]
	ldr	w0, [x0, #16]
	cbz	w9, LBB0_2
; %bb.1:
	stp	x8, x2, [sp]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x9
	b	LBB0_3
LBB0_2:
	str	x2, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
LBB0_3:
	bl	_luaO_pushfstring
	mov	x1, x0
	ldr	w0, [x19]
	mov	w2, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_luaX_lexerror
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"main function has more than %d %s"

l_.str.1:                               ; @.str.1
	.asciz	"function at line %d has more than %d %s"

	.no_dead_strip	_errorlimit
.subsections_via_symbols
