	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function retstat
_retstat:                               ## @retstat
	.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
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	callq	_luaX_next
	movsbl	(%rbx), %edi
	callq	_block_follow
	xorl	%esi, %esi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%r15d, %r15d
	jmp	LBB0_11
LBB0_2:
	cmpb	$59, (%rbx)
	movl	$0, %r15d
	je	LBB0_11
## %bb.3:
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_explist1
	movl	%eax, %r15d
	movq	-32(%rbp), %rdi
	callq	_hasmultret
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	callq	_luaK_setmultret
	movq	-32(%rbp), %rax
	movq	_VCALL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	cmpl	$1, %r15d
	jne	LBB0_7
## %bb.6:
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_getcode
	movq	_OP_TAILCALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_SET_OPCODE
LBB0_7:
	movl	(%r14), %esi
	movl	$-1, %r15d
	jmp	LBB0_11
LBB0_8:
	cmpl	$1, %r15d
	jne	LBB0_10
## %bb.9:
	callq	_luaK_exp2anyreg
	movl	%eax, %esi
	movl	$1, %r15d
	jmp	LBB0_11
LBB0_10:
	callq	_luaK_exp2nextreg
	movl	(%r14), %esi
LBB0_11:
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_luaK_ret
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VCALL,8,3                      ## @VCALL
	.comm	_OP_TAILCALL,4,2                ## @OP_TAILCALL
	.no_dead_strip	_retstat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function retstat
_retstat:                               ; @retstat
	.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	x20, x0
	ldr	x19, [x0, #8]
	bl	_luaX_next
	ldrsb	w0, [x20]
	bl	_block_follow
	cbnz	x0, LBB0_2
; %bb.1:
	ldrb	w8, [x20]
	cmp	w8, #59
	b.ne	LBB0_4
LBB0_2:
	mov	w1, #0
	mov	w20, #0
LBB0_3:
	mov	x0, x19
	mov	x2, x20
	bl	_luaK_ret
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	add	x1, sp, #8
	mov	x0, x20
	bl	_explist1
	mov	x20, x0
	ldr	x0, [sp, #8]
	bl	_hasmultret
	add	x1, sp, #8
	cbz	x0, LBB0_8
; %bb.5:
	mov	x0, x19
	bl	_luaK_setmultret
	ldr	x8, [sp, #8]
Lloh0:
	adrp	x9, _VCALL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VCALL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	w20, #1, #0, eq
	b.ne	LBB0_7
; %bb.6:
	add	x1, sp, #8
	mov	x0, x19
	bl	_getcode
Lloh3:
	adrp	x8, _OP_TAILCALL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OP_TAILCALL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_SET_OPCODE
LBB0_7:
	ldr	w1, [x19]
	mov	w20, #-1
	b	LBB0_3
LBB0_8:
	mov	x0, x19
	cmp	w20, #1
	b.ne	LBB0_10
; %bb.9:
	bl	_luaK_exp2anyreg
	mov	x1, x0
	b	LBB0_3
LBB0_10:
	bl	_luaK_exp2nextreg
	ldr	w1, [x19]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VCALL,8,3                      ; @VCALL
	.comm	_OP_TAILCALL,4,2                ; @OP_TAILCALL
	.no_dead_strip	_retstat
.subsections_via_symbols
