	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaY_parser                    ## -- Begin function luaY_parser
	.p2align	4, 0x90
_luaY_parser:                           ## @luaY_parser
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, %r13
	movq	%rcx, %r15
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	$1, %esi
	callq	_luaF_newLclosure
	movq	%rax, %r14
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_setclLvalue
	movq	%rbx, %rdi
	callq	_luaD_inctop
	movq	%rbx, %rdi
	callq	_luaH_new
	movl	%eax, -88(%rbp)
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_sethvalue
	movq	%rbx, %rdi
	callq	_luaD_inctop
	movq	%rbx, %rdi
	callq	_luaF_newproto
	movq	%rax, %r12
	movq	%rax, (%r14)
	movq	%rax, -72(%rbp)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_luaS_new
	movl	%eax, (%r12)
	movq	%r12, %rdi
	callq	_iswhite
	movl	%eax, %edi
	callq	_lua_assert
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -96(%rbp)
	movq	%r15, -104(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r15)
	movq	$0, 16(%r15)
	movl	(%r12), %ecx
	leaq	-112(%rbp), %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_luaX_setinput
	leaq	-80(%rbp), %rsi
	movq	%r12, %rdi
	callq	_mainfunc
	movl	-80(%rbp), %eax
	xorl	$1, %eax
	orl	-76(%rbp), %eax
	xorl	%edi, %edi
	orl	-112(%rbp), %eax
	sete	%dil
	callq	_lua_assert
	xorl	%edi, %edi
	cmpq	$0, 16(%r15)
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 8(%r15)
	jne	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, (%r15)
	sete	%dil
LBB0_3:
	callq	_lua_assert
	decl	(%rbx)
	movq	%r14, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaY_parser                    ; -- Begin function luaY_parser
	.p2align	2
_luaY_parser:                           ; @luaY_parser
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x5
	mov	x25, x4
	mov	x21, x3
	mov	x24, x2
	mov	x23, x1
	mov	x19, x0
	mov	w1, #1
	bl	_luaF_newLclosure
	mov	x20, x0
	ldr	w1, [x19]
	mov	x0, x19
	mov	x2, x20
	bl	_setclLvalue
	mov	x0, x19
	bl	_luaD_inctop
	mov	x0, x19
	bl	_luaH_new
	mov	x2, x0
	str	w0, [sp, #40]
	ldr	w1, [x19]
	mov	x0, x19
	bl	_sethvalue
	mov	x0, x19
	bl	_luaD_inctop
	mov	x0, x19
	bl	_luaF_newproto
	mov	x26, x0
	str	x0, [x20]
	str	x0, [sp, #8]
	mov	x0, x19
	mov	x1, x25
	bl	_luaS_new
	str	w0, [x26]
	mov	x0, x26
	bl	_iswhite
	bl	_lua_assert
	stp	x21, x24, [sp, #24]
	stp	xzr, xzr, [x21, #8]
	str	xzr, [x21]
	ldr	w3, [x26]
	add	x1, sp, #16
	mov	x0, x19
	mov	x2, x23
	mov	x4, x22
	bl	_luaX_setinput
	add	x0, sp, #16
	mov	x1, sp
	bl	_mainfunc
	ldp	w9, w8, [sp]
	cmp	w8, #0
	ccmp	w9, #1, #0, eq
	ldr	w8, [sp, #16]
	ccmp	w8, #0, #0, eq
	cset	w0, eq
	bl	_lua_assert
	ldr	x8, [x21, #16]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_lua_assert
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w0, eq
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
