	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function moveresults
_moveresults:                           ## @moveresults
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r13
	cmpl	$128, %r8d
	je	LBB0_8
## %bb.1:
	movl	%r8d, %r15d
	cmpl	$1, %r8d
	je	LBB0_11
## %bb.2:
	testl	%r15d, %r15d
	jne	LBB0_3
LBB0_22:
	movl	$1, %eax
	jmp	LBB0_10
LBB0_8:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jle	LBB0_9
## %bb.14:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r15d
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_setobjs2s
	addq	$4, %r14
	incq	%rbx
	decq	%r15
	jne	LBB0_15
## %bb.16:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_11:
	testl	%ecx, %ecx
	jne	LBB0_13
## %bb.12:
	movq	_luaO_nilobject@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_13:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_setobjs2s
	movl	$1, %eax
	jmp	LBB0_10
LBB0_3:
	cmpl	%ecx, %r15d
	jle	LBB0_4
## %bb.17:
	testl	%ecx, %ecx
	jle	LBB0_18
## %bb.23:
	movq	%r12, %rbx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r12d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_setobjs2s
	addq	$4, %r14
	incq	%rbx
	decq	%r12
	jne	LBB0_24
## %bb.25:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_19
LBB0_4:
	movl	$1, %eax
	testl	%r15d, %r15d
	jle	LBB0_10
## %bb.5:
	movq	%r12, %rbx
	movl	%r15d, %r12d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_setobjs2s
	addq	$4, %r14
	incq	%rbx
	decq	%r12
	jne	LBB0_6
## %bb.7:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	$1, %eax
	jmp	LBB0_10
LBB0_9:
	movl	%ecx, %r15d
	jmp	LBB0_10
LBB0_18:
	xorl	%ecx, %ecx
LBB0_19:
	movl	$1, %eax
	cmpl	%r15d, %ecx
	jge	LBB0_10
## %bb.20:
	movl	%ecx, %eax
	movl	%r15d, %r14d
	leaq	(%r12,%rax), %rbx
	subq	%rax, %r14
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_setnilvalue
	incq	%rbx
	decq	%r14
	jne	LBB0_21
	jmp	LBB0_22
LBB0_10:
	movslq	%r15d, %rcx
	addq	%rcx, %r12
	movq	%r12, (%r13)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_luaO_nilobject,8,3             ## @luaO_nilobject
	.no_dead_strip	_moveresults
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function moveresults
_moveresults:                           ; @moveresults
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	cmp	w4, #128
	b.eq	LBB0_8
; %bb.1:
	mov	x21, x4
	cmp	w4, #1
	b.eq	LBB0_12
; %bb.2:
	cbz	w21, LBB0_19
; %bb.3:
	cmp	w21, w23
	b.le	LBB0_13
; %bb.4:
	cmp	w23, #1
	b.lt	LBB0_16
; %bb.5:
	mov	w25, w23
	mov	x24, x19
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	bl	_setobjs2s
	add	x22, x22, #4
	add	x24, x24, #1
	subs	x25, x25, #1
	b.ne	LBB0_6
; %bb.7:
	cmp	w23, w21
	b.lt	LBB0_17
	b	LBB0_19
LBB0_8:
	cmp	w23, #1
	b.lt	LBB0_11
; %bb.9:
	mov	w24, w23
	mov	x21, x19
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_setobjs2s
	add	x22, x22, #4
	add	x21, x21, #1
	subs	x24, x24, #1
	b.ne	LBB0_10
LBB0_11:
	mov	w0, #0
	mov	x21, x23
	b	LBB0_20
LBB0_12:
Lloh0:
	adrp	x8, _luaO_nilobject@GOTPAGE
Lloh1:
	ldr	x8, [x8, _luaO_nilobject@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	w23, #0
	csel	x2, x8, x22, eq
	mov	x0, x20
	mov	x1, x19
	bl	_setobjs2s
	b	LBB0_19
LBB0_13:
	cmp	w21, #1
	b.lt	LBB0_19
; %bb.14:
	mov	w24, w21
	mov	x23, x19
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	bl	_setobjs2s
	add	x22, x22, #4
	add	x23, x23, #1
	subs	x24, x24, #1
	b.ne	LBB0_15
	b	LBB0_19
LBB0_16:
	mov	w23, #0
	cmp	w23, w21
	b.ge	LBB0_19
LBB0_17:
	mov	w8, w23
	mov	w9, w21
	add	x22, x19, x8
	sub	x23, x9, x8
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_setnilvalue
	add	x22, x22, #1
	subs	x23, x23, #1
	b.ne	LBB0_18
LBB0_19:
	mov	w0, #1
LBB0_20:
	add	x8, x19, w21, sxtw
	str	x8, [x20]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_luaO_nilobject,8,3             ; @luaO_nilobject
	.no_dead_strip	_moveresults
.subsections_via_symbols
