	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movl	$1, %esi
	callq	_block_follow
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%r12d, %r12d
	jmp	LBB0_11
LBB0_2:
	cmpb	$59, (%r15)
	movl	$0, %r12d
	je	LBB0_11
## %bb.3:
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_explist
	movl	%eax, %r12d
	movq	-40(%rbp), %rdi
	callq	_hasmultret
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	callq	_luaK_setmultret
	movq	-40(%rbp), %rax
	movq	_VCALL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	cmpl	$1, %r12d
	jne	LBB0_7
## %bb.6:
	leaq	-40(%rbp), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_getinstruction
	movq	_OP_TAILCALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_SET_OPCODE
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_getinstruction
	movl	%eax, %edi
	callq	_GETARG_A
	xorl	%edi, %edi
	cmpl	(%r14), %eax
	sete	%dil
	callq	_lua_assert
LBB0_7:
	movl	(%r14), %ebx
	movq	_LUA_MULTRET@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_11
LBB0_8:
	cmpl	$1, %r12d
	jne	LBB0_10
## %bb.9:
	callq	_luaK_exp2anyreg
	movl	%eax, %ebx
	movl	$1, %r12d
	jmp	LBB0_11
LBB0_10:
	callq	_luaK_exp2nextreg
	movl	(%r14), %ebx
	movl	4(%r14), %eax
	subl	%ebx, %eax
	xorl	%edi, %edi
	cmpl	%eax, %r12d
	sete	%dil
	callq	_lua_assert
LBB0_11:
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_luaK_ret
	movq	%r15, %rdi
	movl	$59, %esi
	callq	_testnext
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VCALL,8,3                      ## @VCALL
	.comm	_OP_TAILCALL,4,2                ## @OP_TAILCALL
	.comm	_LUA_MULTRET,4,2                ## @LUA_MULTRET
	.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, #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	x19, x0
	ldr	x20, [x0, #8]
	mov	w1, #1
	bl	_block_follow
	cbnz	x0, LBB0_2
; %bb.1:
	ldrb	w8, [x19]
	cmp	w8, #59
	b.ne	LBB0_4
LBB0_2:
	mov	w22, #0
	mov	w21, #0
LBB0_3:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_luaK_ret
	mov	x0, x19
	mov	w1, #59
	bl	_testnext
	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
LBB0_4:
	add	x1, sp, #8
	mov	x0, x19
	bl	_explist
	mov	x21, x0
	ldr	x0, [sp, #8]
	bl	_hasmultret
	add	x1, sp, #8
	cbz	x0, LBB0_8
; %bb.5:
	mov	x0, x20
	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	w21, #1, #0, eq
	b.ne	LBB0_7
; %bb.6:
	add	x1, sp, #8
	mov	x0, x20
	bl	_getinstruction
Lloh3:
	adrp	x8, _OP_TAILCALL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OP_TAILCALL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_SET_OPCODE
	add	x1, sp, #8
	mov	x0, x20
	bl	_getinstruction
	bl	_GETARG_A
	ldr	w8, [x20]
	cmp	w0, w8
	cset	w0, eq
	bl	_lua_assert
LBB0_7:
	ldr	w22, [x20]
Lloh6:
	adrp	x8, _LUA_MULTRET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LUA_MULTRET@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	b	LBB0_3
LBB0_8:
	mov	x0, x20
	cmp	w21, #1
	b.ne	LBB0_10
; %bb.9:
	bl	_luaK_exp2anyreg
	mov	x22, x0
	b	LBB0_3
LBB0_10:
	bl	_luaK_exp2nextreg
	ldp	w22, w8, [x20]
	sub	w8, w8, w22
	cmp	w21, w8
	cset	w0, eq
	bl	_lua_assert
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_VCALL,8,3                      ; @VCALL
	.comm	_OP_TAILCALL,4,2                ; @OP_TAILCALL
	.comm	_LUA_MULTRET,4,2                ; @LUA_MULTRET
	.no_dead_strip	_retstat
.subsections_via_symbols
