	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdx, -48(%rbp)
	movq	%rcx, %rsi
	callq	_luaS_new
	leaq	-56(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_luaX_setinput
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_open_func
	movq	_VARARG_ISVARARG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-40(%rbp), %rcx
	movl	%eax, 8(%rcx)
	movq	%r15, %rdi
	callq	_luaX_next
	movq	%r15, %rdi
	callq	_chunk
	movq	_TK_EOS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_check
	movq	%r15, %rdi
	callq	_close_func
	xorl	%edi, %edi
	cmpq	$0, -32(%rbp)
	sete	%dil
	callq	_lua_assert
	movq	-40(%rbp), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_lua_assert
	xorl	%edi, %edi
	cmpq	$0, -56(%rbp)
	sete	%dil
	callq	_lua_assert
	movq	-40(%rbp), %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VARARG_ISVARARG,4,2            ## @VARARG_ISVARARG
	.comm	_TK_EOS,4,2                     ## @TK_EOS
.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, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	mov	x20, x0
	str	x2, [sp, #24]
	mov	x1, x3
	bl	_luaS_new
	mov	x3, x0
	add	x1, sp, #16
	mov	x0, x20
	mov	x2, x19
	bl	_luaX_setinput
	add	x0, sp, #16
	mov	x1, sp
	bl	_open_func
Lloh0:
	adrp	x8, _VARARG_ISVARARG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VARARG_ISVARARG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [sp]
	str	w8, [x9, #8]
	add	x0, sp, #16
	bl	_luaX_next
	add	x0, sp, #16
	bl	_chunk
Lloh3:
	adrp	x8, _TK_EOS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TK_EOS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x0, sp, #16
	bl	_check
	add	x0, sp, #16
	bl	_close_func
	ldr	x8, [sp, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_lua_assert
	ldr	x8, [sp]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, eq
	bl	_lua_assert
	ldr	x8, [sp, #16]
	cmp	x8, #0
	cset	w0, eq
	bl	_lua_assert
	ldr	x0, [sp]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VARARG_ISVARARG,4,2            ; @VARARG_ISVARARG
	.comm	_TK_EOS,4,2                     ; @TK_EOS
.subsections_via_symbols
